/*======================================
   Custom styles for PROFIZIENZ
   by Generation Digitale
   Start: 26-04-21 / US
======================================*/

.umbraco-forms-form select {
  max-width: 400px !important;
  max-height: 35px;
  padding:0 5px;
  display: block;
  width: 95%;
}


/*====================================== 
Typography
======================================*/
/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/roboto-v27-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/roboto-v27-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/roboto-v27-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/roboto-v27-latin-300.woff') format('woff'), /* Modern Browsers */
         url('fonts/roboto-v27-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/roboto-v27-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-regular - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/roboto-v27-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/roboto-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/roboto-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/roboto-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/roboto-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/roboto-v27-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-500 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/roboto-v27-latin-500.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/roboto-v27-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/roboto-v27-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/roboto-v27-latin-500.woff') format('woff'), /* Modern Browsers */
         url('fonts/roboto-v27-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/roboto-v27-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-700 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/roboto-v27-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/roboto-v27-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/roboto-v27-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/roboto-v27-latin-700.woff') format('woff'), /* Modern Browsers */
         url('fonts/roboto-v27-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/roboto-v27-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-900 - latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/roboto-v27-latin-900.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('fonts/roboto-v27-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/roboto-v27-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
         url('fonts/roboto-v27-latin-900.woff') format('woff'), /* Modern Browsers */
         url('fonts/roboto-v27-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/roboto-v27-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  
a {
    color: #4a4a4a;
}

/*======================================
  #Utilitie classes
======================================*/

.red {
  color: red;
}

@media screen and (max-width: 768px) {
    .shrink-image-mobile img {
    /* shrink image on mobile */
        max-width: 50%;
    }
}

.text-shadow {
    text-shadow: 1px 1px black;
}

.help-block { /* Umbraco forms */
    font-size: .8em;
    line-height: 1.3;
    padding-top: 1em;
}

.block.grid.theme-alt-bg,
.block.grid.theme-alt-bg .pre-head,
.block.grid.theme-alt-bg h1 {
    color: white;
}

.pre-head {
    font-size: 1.5em !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Boxed content without background-color */
.ghost-box .grid-item--box {
    background: transparent;
}

.white-bg blockquote::before { /* Quote Icon correcting wrong color on whtie backgrounds */
    color: #022954;
}

blockquote {
    margin: 3em auto;
}

figcaption { /* Theme uses caption also for alt-Tags */
    display: none;
}

.umbraco-forms-form a {
    text-decoration: underline;
}

/* Mobile correction for image order of rows */
@media screen and (max-width: 768px) {
    .mobile.txt-img .row {
        flex-direction: column-reverse;
    }
    .mobile.txt-img img {
        width: 100vw;
    }
}

@media screen and (max-width: 768px) {
/* clears column heights on mobile */
    .mobile-reset-height * {
        min-height: unset !important;
    }
}

/*======================================
  #Typography
======================================*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .act-heading {
  line-height: 1.1;
}

h3, h3.h5, h4 {
    font-size: 1.95rem;
}

/*======================================
  #Icons/Images
======================================*/

.carKey img { /* Custom icon for landingpages */
    max-width: 90px;
}

/*======================================
  #Button
======================================*/

.button.button--theme-alt:hover,
input[type="submit"].button--theme-alt:hover,
input[type="button"].button--theme-alt:hover {
    background: var(--theme-alt-lighter) !important;
    border-color: var(--theme-alt-darker) !important;
    color: var(--theme-alt) !important;
}

.cta-slider a.button.button--default.button--theme {
    background-color: #F5251E;
    border: 2px solid #F5251E;
    color: #FFFFFF !important;
}

.cta-slider a.button.button--default.button--theme:focus,
.cta-slider a.button.button--default.button--theme:hover {
    background-color: #FFFFFF !important;
    color: #F5251E !important;
}

.red-button .button.button--default.button--theme-alt {
    background: #F5251E;
    border-color: #F5251E;
}

.red-button .button.button--theme-alt:hover, .red-button input[type="submit"].button--theme-alt:hover, .red-button  input[type="button"].button--theme-alt:hover {
    border-color: #F5251E !important;
    color: #F5251E !important;
}

/*======================================
  #Hero
======================================*/


.hero__inner h1,
.hero__inner .hero__text h1,
.hero__inner h2,
.hero__inner .hero__text h2 {
  line-height: 1.1;
}

.hero__inner.light-color {/* Shadow for light text on images
    text-shadow: 2px 1px rgb(26, 78, 126);*/
    font-size: inherit;/* can be deleted when other rules are available*/
}

.gd-overlay1.hero .hero__inner .container .row .hero__inner {
    /* Slider with heroes: left content same margin like logo above */
    padding-left: 45px;
}

.overlay {
    background: #112835;
}

.slider .slide .hero__inner.light-color h5, 
.slider .slide .hero__inner.light-color h1,
.slider .slide .hero__inner.light-color h2, 
.slide .hero__inner.light-color .hero__text p {
    /* Set a text shadow on light typo in slides */
    text-shadow: 1px 1px black;
}


/*======================================
  #Hero Grid Example
======================================*/

.heroGrid {
    min-height: 80vh;
}

.heroGrid .card__bg:first-of-type {
    background-size: contain;
    margin: 15vh 0;
}


/*======================================
  #Header
======================================*/

/* Logo */
a.logo {
    display: flex;
    justify-content: center;
    padding: 0;
}
a.logo img {
   max-height: 90%;
}

header .logo::before {
    opacity: 0;
    content: "";
}

/* Top navigation */

.main-nav__li > .main-nav__a,
.main-nav__li.selected > .main-nav__a {
  color: rgba(0,0,0,.8) !important;
}

/* Search icon */
.main-nav .toggle-search .main-nav__a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top__right {
/* Hiding language switch / MR-0906 */
    display: none;
}

@media screen and (min-width: 993px) {
/* Global style for all main navi on light bg */
    .top--light .main-nav__li {
        background: none;
        border-top: 3px solid #FFFFFF;
    }
    .top--light .main-nav__li:focus,
    .top--light .main-nav__li:hover,
    .top--light .main-nav__li.selected {
        background: none;
        border-top: 3px solid var(--theme-alt);
    }
 
 /* Individual styles for contact button in main nav */  
 
    /* Hiding border-top on list item */
    .top--light .main-nav__li:last-child:focus,
    .top--light .main-nav__li:last-child:hover,
    .top--light .main-nav__li:last-child.selected{
        border-color: #fff;
    }

/* Anchor style for /kontakt should look like a button */
    .main-nav__li > .main-nav__a[href^="/kontakt/"] {
        color: #fff !important;
        padding-left: 1em;
        margin-left: 1em;
    }
    .main-nav__li > .main-nav__a[href^="/kontakt/"]::before {
        background: var(--theme-alt);
        content: "";
        display: inline-block;
        width: 100%;
        height: 2em;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        z-index: -1;
        border-radius: 80px;
        padding: .15em;
    }
    .main-nav__li > .main-nav__a[href^="/kontakt/"]:focus::before,
    .main-nav__li > .main-nav__a[href^="/kontakt/"]:hover::before {
/* Kontakt button li a::before change background-color on hover */
        background: var(--theme-darker);
    }
    .main-nav__li:nth-child(5):hover {
/* Kontakt button li no background-color on hover */
        color: #fff !important;
        background-color: transparent !important;
    }
}
@media only screen and (max-width: 992px) {
  .main-nav__li {
    width: 100%;
    border-left: 4px solid #FFF;
  }
  .main-nav__li.selected {
    border-left: 4px solid #F5251E;
  }
}
/*======================================
  Categorie Page
======================================*/

.category .columns2 .navigation li.selected > div a {
  color: #4a4a4a;
  text-decoration: underline;
}
.category .columns2 .navigation li.selected > div a:hover {
  color: #4a4a4a;
  text-decoration: none;
}

/*======================================
  Kontakt Teaser
======================================*/

.teaser.teaser__form--std .pod .pod__text {
  margin-top: 0;
}

.teaser.teaser__form--std .pod .pod__text .h5 {
  display: none;
}

.teaser.teaser__form--std h2 {
  line-height: 1.3;
}

.teaser.teaser__form--std {
  padding-bottom: 0;
}

.umbraco-forms-field label a[href^="/datenschutz"],
.teaser.teaser__form--std a {
  color: #4a4a4a; /* TMP Color Styles */
  text-decoration: underline;
}

.umbraco-forms-field label a[href^="/datenschutz"]:hover,
.teaser.teaser__form--std a:hover {
  text-decoration: none;
}

.umbraco-forms-navigation.row input.button.button--block {
    width: auto;
    padding-left: 2em;
    padding-right: 2em;
    display: block;
    margin: 0;
}

.teaser.teaser__form--std .cb-wrap .checkmark {
  border: 1px solid #4a4a4a;
  background-color: #fff;
}

.is-required {
  padding-bottom: 80px !important;
}

.is-required .grid-item--text {
  height: auto; /* origin: 100%, Bug in iOS iPad Safari Columns stretches to viewport heigt */
}

.is-required p {
  padding-left: 1rem;
}

.field-validation-error {
    padding-top: 1.5em;
}

.umbraco-forms-indicator {
    color: #fff;
}

/* PFZ-Anpassung, wenn Section dunkle Farbe nutzt (als Theme-Alternative) 
   Ist die Theme-Alternative hell, müssen die nachfolgenden Regeln gelöscht/
   ausgeblendet werden.
*/

.teaser.teaser__form--std.grid.theme-alt-bg,
.teaser.teaser__form--std.theme-alt-bg h2,
.teaser.teaser__form--std.theme-alt-bg .pod__text a,
.teaser.teaser__form--std.theme-alt-bg .umbraco-forms-page .umbraco-forms-caption,
.teaser.teaser__form--std.theme-alt-bg .umbraco-forms-page a,
.is-required.theme-alt-bg p
 {
    color: #fff;
}

/* Radiobutton checked/selected Style */
.rb-wrap input:checked ~ .radiobtn:after {
    display: block;
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    background-color: black !important;
}

/*======================================
  Footer
======================================*/

/* custom footer */

.da-footer .pod,
.da-footer .grid-item--links {
    margin-bottom: 0 !important;
}

.da-footer .da-logo {
  position: relative;
  background-color: transparent;
  display: inline-block;
  padding: 1em;
}

.da-footer.da-footer__std img { /*Logo*/
  max-width: 138px;
  margin: 0;
}

.da-footer .da-logo .caption {
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  width: 138px;
  color: #4a4a4a;
}

.da-footer.da-footer__std nav.navigation ul,
.da-footer.da-footer__xs nav.navigation ul,
.da-footer.da-footer__dark.da-footer__xs .navigation ul{ /* Navigation */
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 100px;
}

.copyright {
    min-height: 100px;
    display: flex;
    align-items: center;
    font-size: .8rem;
}

.da-footer.da-footer__xs nav.navigation ul{
    min-height: auto;
    justify-content: center;
    align-items: flex-start;
}
.da-footer.white-bg.light-color,
.da-footer.white-bg.light-color .navigation a {
    color: #4a4a4a;
}
.da-footer.da-footer__dark {
    color: #fff;
}
.da-footer.da-footer__dark .navigation ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 30px;
}
/*generic footer of theme*/
.footer { 
  padding: 0;
}

.container.footer-grid {
  padding: 0;
}

.da-footer.da-footer__xs p {
    font-size: 0.875rem;
    line-height: 2.5;
    text-align: right;
    padding-right: 2rem;
}

/*======================================
  Home Counter Section
======================================*/

@media (min-width: 993px) {
    .gd-counts .grid-item--boxed .pod__text {
        height: calc(140px + 60px);
        font-size: .9rem
    }
    .gd-counts h3.h5 {
        font-size: 35px
    }
}

/*======================================
  Home Jobs Section
======================================*/

.cta.cta__red {
    background-color: rgba(180,37,30,.7);
}

.cta__red .card__text,
.cta__red .card__header.act-heading {
    color: white;
}

/*======================================
  Home Logo Wall Section
======================================*/

@media screen and (max-width: 768px) {
    .brand-wall .col-s-100 {
        flex-basis: 50%;
        max-width: 50%;
    }
}


/*======================================
  Karriere Subnavi for landing pages
======================================*/

.subNav-lp article {
    display: flex;
    padding: 1em 0;
}

.subNav-lp .grid-item article .pod__image a img {
    height: 65px !important;
    width: auto;
    display: block;
}
.subNav-lp .row > [class*='col-'] .grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.career_hero.block.grid {
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.career_hero {
    background-color: rgba(0, 0, 0, .5);
}

.career_hero .card__text, 
.career_hero .card__text .card__text-inner,
.career_hero .card__text .card__header.act-heading {
    color: white !important;
}

.tsrLP .button-wrap {
    display: flex;
    justify-content: center;
}

.tsrLP .button.button--default.button--white {
    background-color: rgb(245,37,30);
    border-color: rgb(245,37,30);
    color: #fff !important;
    text-transform: uppercase;
}
.tsrLP .button.button--default.button--white:hover,
.tsrLP .button.button--default.button--white:focus {
    background-color: #fff;
    border-color: rgb(245,37,30);
    color: rgb(245,37,30) !important;
}

/* Hide the Language Switcher on mobile Devices*/
li.main-nav__li.main-nav__li--lang.show--m {display: none !important}

/* Recruting form */
.recrutingForm form .umbraco-forms-page {
    display: flex;
    flex-direction: column;
}
.recrutingForm .umbraco-forms-navigation {
    margin: 0 auto;
    /*min-width: 50vw;*/
}
.recrutingForm .radiobtn, .recrutingForm .checkmark {
    background-color: #fff;
}
.recrutingForm .radiobtn {
    display: inline-block;
}
.recrutingForm .rb-wrap {
    margin-right: 1em;
}
.recrutingForm .consentforstoringsubmitteddata {
    margin-top: 2em;
}
.recrutingForm .wunschort .umbraco-forms-field-wrapper {
    margin-top: .6em;
    display: block;
}
.recrutingForm .umbraco-forms-navigation input[type="submit"] {
    /* Correcting button width and position behavior
       changing style
    */
    width: auto;
    padding-left: 2em;
    padding-right: 2em;
    display: block;
}

.recdefault .help-block {
/* Limit text length */
    max-width: 450px;
}

.recruiting__form .radiobuttonlist {
    margin-top: 1em;
    display:flex;
    flex-wrap:wrap;
}

.recruiting__form .radiobuttonlist .rb-wrap,
.recruiting__form .radiobuttonlist .rb-wrap {
    /*display: block;*/
    flex: 1 0 calc(50% - 1rem);
}
.recruiting__form .standort{
    margin-top:20px;
}

@media screen and (min-width: 769px) {
    .recdefault .umbraco-forms-navigation.row input.button.button--block {
        margin: 0 calc(50% - 5rem);
    }
}


.checkmark, .radiobtn {
/* Set a small accent border on input radio/checkbox 
   in the color of umbraco default input border-color */
    border: 1px solid #bbb;
}

/* Agree 'Datenschutz' in form */
.umbraco-forms-field.datenschutz {
    margin-top: 1.5em;
    position: relative;
}

.datenschutz .umbraco-forms-label {
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}

.umbraco-forms-field.checkbox label {
    display: block;
}

.umbraco-forms-field.pflichtfeld p {
    font-size: .8em;
}

.datenschutz .umbraco-forms-label a {
    color: #fff !important;
}

.datenschutz.mandatory .field-validation-error {
    /* Error notification if user has not checked the mandatory 'Datenschutz' checkbox */
    margin-top: 1em;
    padding: .5em;
    display: block;
    background-color: #fff !important;
}
.datenschutz.mandatory span.field-validation-error::before {
    content: "\25b2";
    display: inline-block;
    margin-right: .5em;
    font-size: 1.4em;
}

/* Recruting form landingpage fahr bmw */
.lp_bmw .bewerbungMail a {
    color: #FFF;
    text-decoration: underline;
}
.lp_bmw .bewerbungMail a:focus,
.lp_bmw .bewerbungMail a:hover {
    text-decoration: underline;
}

.lp_bmw .datenschutz .umbraco-forms-label a {
    color: #0653b6 !important;
    text-decoration: none;
}
.lp_bmw .datenschutz .umbraco-forms-label a:focus,
.lp_bmw .datenschutz .umbraco-forms-label a:hover {
    text-decoration: underline !important;
    cursor: pointer;
}

/* Recruting form landingpage Lexus */
.lp_lexus .bewerbungMail a {
    color: #FFF;
    text-decoration: underline;
}
.lp_lexus .bewerbungMail a:focus,
.lp_lexus .bewerbungMail a:hover {
    text-decoration: underline;
}
.lp_lexus .recrutingForm .umbraco-forms-navigation input[type="submit"] {
    text-transform: uppercase;
}
.lp_lexus .datenschutz .umbraco-forms-label a {
    color: #000 !important;
    text-decoration: none;
}
.lp_lexus .datenschutz .umbraco-forms-label a:focus,
.lp_lexus .datenschutz .umbraco-forms-label a:hover {
    text-decoration: underline !important;
    cursor: pointer;
}

.lp_lexus .recrutingForm a {
    color: #FFF;
    text-decoration: underline;
}

.umbraco-forms a {text-decoration: underline;}

.recfahrbmw a {
    color: #FFF;
    text-decoration: underline;
}

/* Datenschutz label anchor color for default recruiting forms */
.recdefault .datenschutz .umbraco-forms-label a {
    color: #F5251E !important;
    text-decoration: none;
}
.recdefault .datenschutz .umbraco-forms-label a:focus,
.crew .datenschutz .umbraco-forms-label a:hover {
    text-decoration: underline !important;
    cursor: pointer;
}

/* Hide the browser's default checkbox - overwrite of igloo rules */
.cb-wrap input {
  left: 0;
}
.cb-wrap input:checked ~ .checkmark:after {
    background: #022954;
}

.umbraco-forms-submitmessage .success-color {
    color: #FFF !important;
}
.lp_bmw .umbraco-forms-submitmessage .success-color,
.lp_lexus .umbraco-forms-submitmessage .success-color,
.lp_lexus.toyota .umbraco-forms-submitmessage .success-color {
    color: #111 !important;
}

.lp_mini .bewerbungMail a,
.lp_mini a[href="/datenschutz"] {
    color: #fff;
    text-decoration: underline;
}

/*======================================
  Milestones
======================================*/

.milestones .pod.pod--compact .pod__text h5,
.milestones .pod.pod--compact .pod__text .h5,
.milestones h3 {
    position: relative;
    font-size: 1.8rem;
    width: 100%;
}

.milestones .grid-item.grid-item--pod.pod.pod--compact {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.milestones .col-20.col-m-33.col-s-100 {
    flex: 1 1 50%;
}

.milestones .grid-item--header {
    margin-bottom: 3rem;
}

@media screen and (min-width: 993px) {
    .milestones .grid-item.grid-item--pod.pod.pod--compact {
        padding-left: 1.75em;
    }
    .milestones .pod .pod__image i { font-size: 1rem; }
    .milestones .fa-arrow-right:before {
        content: "\f061";
        left: -10px;
        position: relative;
    }
}
/*======================================
  Social Media Icons + Links
======================================*/

.socmed-img {
    display: flex;
    justify-content: center;
}

.socmed-img img {
    max-width: 40px;
    margin: 0 1em !important;
    display: inline-block !important;
    transition: all .2s ease-in-out;
}

.socmed-img a:hover img {
    opacity: .8;
}


/*======================================
  Media queries
======================================*/

@media screen and (max-width: 768px) {
    .socmed-img {
        margin-bottom: 4rem !important;
    }
}

@media only screen and (max-width: 768px) {
    /* Image always on top of the rows */
    .teaser.teaser_img--rgt .row .col-s-100:nth-child(2) {
        order: -1;
    }
}

@media (min-width: 801px) {
    /*  Recruting forms has 2 columns when wider as 800px */
    .recrutingForm form .umbraco-forms-page {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .recrutingForm form .umbraco-forms-page h4.umbraco-forms-caption {
        flex: 0 0 100%;
    }
    .recrutingForm form .umbraco-forms-page fieldset {
        flex: 0 0 50%;
    }
}

/*======================================
  RTE Formats for User
======================================*/

