/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/* Gerneral ------------------------------------------------------------------- */
@font-face{
    font-family: 'BMWTypeNext';
    font-weight: normal;
    font-style: normal;
    src:url('./../fonts/BMWTypeNextLatin.woff') format('woff'),
        url('./../fonts/BMWTypeNextLatin.ttf') format('truetype');
}
@font-face{
    font-family: 'BMWTypeNextLight';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    src:url('./../fonts/BMWTypeNextLatin-Light.woff') format('woff'),
        url('./../fonts/BMWTypeNextLatin-Light.ttf') format('truetype');
}

.font-bmwtypenext { 
    font-family: 'BMWTypeNext';
}

.font-bmwtypenext-light { 
    font-family: 'BMWTypeNextLight';
}

html,
body {
    font-family: 'BMWTypeNextLight';
}

.navbar.bg-light { 
    background-color: #fff !important;
}
.navbar.border-bottom { 
    border-bottom: 3px solid #d6d6d6 !important;
}
.navbar .logo-container > img { 
    padding: 5px 15px 5px 0;
    max-height: 70px;
}

@media( min-width: 768px) { 
    .navbar .logo-container > img { 
        max-height: 110px;
    }
}
    
#footer { 
    font-size: 1rem;
    background-color: #e6e6e6;
    padding-top: 2em;
    padding-bottom: 2em;
}

#footer .nav a { 
    color: #8e8e8e;
    
}

/* Views > Survey list -------------------------------------------------------- */

#surveys-list-container { 
    margin-top: calc(var(--bs-gutter-y)*-1);
}

/* Views > Suvery ------------------------------------------------------------- */

.survey-name {
    font-family: 'BMWTypeNext', sans-serif;
}

@media only screen and (max-device-width: 760px) {
    .survey-name   {
        font-size: 2rem;
    }
}


.group-container .group-title {
    font-family: 'BMWTypeNext', sans-serif;
    text-transform: uppercase;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.group-container > .row > .question-container:last-of-type { 
    margin-bottom: 0;
}

.question-container { 
    font-family: 'BMWTypeNextLight', sans-serif;   
    background-color: #fff;
    border: 0;
}

.question-container .question-title-container { 
    padding: 1em 0 .5em;
}

.question-container .question-text { 
    font-family: 'BMWTypeNext', sans-serif;
    /*font-size: calc(1.275rem + .3vw);*/
}

.question-container .question-text > .h4 { 
    margin: 0;
}

.question-container .question-text .asterisk { 
    color: #777;
    font-size: 1rem;
    display: inline;
    margin-left: .25em;
}

.question-container .answer-container + .question-help-container > .ls-questionhelp {
    margin-left: 0;
}

.question-container .answer-container + .question-help-container > .ls-questionhelp::before { 
    display: none;
}

.question-container.array-yes-uncertain-no .answer-container + .question-help-container {
    padding-top: 8px;
}
 
.question-container.yes-no .answer-container {
    display: flex;
}

.question-container.yes-no .answer-container > .answers-list {
    padding-bottom: 0;
}

@media( max-width: 768px) { 
    .question-container.yes-no .answer-container > .answers-list {
        width: 100%;
    }
}

@media( min-width: 768px) { 
    .question-container.yes-no[class*="col-"] .yesno-button {
        float: none;
        width: 100%;
        padding-bottom: 0;
    }
}
