#nose-flip{
    display: none;
}

.chatbot h2 {
    font-size: 21px;
}

.chatbot p {
    font-size: 18px;
    margin-bottom: 20px;
}

.widget .cta {
    font-weight: 100;
}

.chatbot .crossline {
    display: none;
}

.widget .loader-chatbot {
    background: rgba(255, 255, 255, .8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.widget .loader-chatbot span {
    background: url(../../../../../../frontend/Magento/blank/en_GB/Nose_Diagnostic/images/nose-loader.gif) no-repeat center center;
    background-size: cover;
    height: 80px;
    width: 80px;
    position: absolute;
    left: 50%;
    margin-left: -40px;
    top: 50%;
    margin-top: -40px;
}

.cta-fixed {
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    padding: 0 30px;
}

.chatbot .opener,
.widget .chatbot-state {
    position: fixed;
    z-index: 1000;
    bottom: 30px;
    right: 30px;
    overflow: hidden;
}

.chatbot .front, .chatbot .back {
    cursor: pointer;
}

.widget .chatbot-state {
    bottom: 100px;
    padding: 30px;
    max-width: 400px;
    min-height: 600px;
    width: 100%;
    border: solid 1px #EEE;
    background: #fff;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    -webkit-box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.07);
    box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.07);
    display: none;
}

.chatbot .chatbot-content {
    position: relative;
}

.widget .chatbot-state .headline {
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 24px;
    letter-spacing: 0.2em;
    border-bottom: solid 1px #D7D7D7;
}

.widget .chatbot-state .headline span {
    font-weight: 100;
}

/* === INTRO === */

.chatbot .intro .cta {
    display: block;
    width: 100%;
    margin-top: 30px;
}

/* === CONNEXION === */

.chatbot .connexion .signin {
    margin-top: 20px;
}

.chatbot .connexion .anonymous {
    margin-top: 20px;
}

.chatbot .connexion .cta img {
    display: none;
}

.chatbot .connexion .cta {
    width: 100%;
    margin-top: 20px;
    height: 45px;
}

.chatbot .error-msg {
    margin-bottom: 20px;
    margin-top: 0 !important;
}

.chatbot .button-facebook {
    border: solid 1px #000;
}

/* === REGISTRATION === */

.chatbot .registration .gender-box,
.chatbot .registration .line-input,
.chatbot .registration .dob-box,
.chatbot .registration .dob-box div,
.chatbot .cta-box {
    letter-spacing: -0.31em;
}

.validation-advice:before {
    display: none;
}

/* Gender */

.chatbot .registration .gender-box .radio_box {
    width: 46%;
    max-width: inherit;
    display: inline-block;
}

.chatbot .registration .gender-box label:first-child,
.chatbot .registration .line-input div:first-child {
    margin-right: 2%;
}

.chatbot .registration .gender-box label:last-child,
.chatbot .registration .line-input div:last-child {
    margin-left: 2%;
}

.chatbot .registration .gender-box .radio-box__label {
    border: 1px solid rgba(0, 0, 0, 1);
    letter-spacing: 0.2em;
}

.chatbot .registration .gender-box .radio__input {
    width: 1px;
    position: absolute;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.chatbot .registration .gender-box .radio__input:checked + .radio-box__label span {
    opacity: 1;
}

.chatbot .registration .gender-box .radio__input.mage-error:before {
    content: '';
    width: 12px;
    height: 12px;
    border: red 10px solid;
}


.chatbot .registration .radio-homme span,
.chatbot .registration .radio-femme span {
    position: relative;
    padding-left: 30px;
    opacity: .4;
}

.chatbot .registration .line-input > div {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.gender-box .radio-box__label {
    max-width: initial;
}

.chatbot .registration .radio-wrapper-female .validation-advice,
.chatbot .registration .radio-wrapper-male .validation-advice {
    left: 0;
    top: -18px;
    border: solid 1px #FF5F5F;
    width: 162px;
    height: 38px;
    right: auto;
}

.chatbot .registration .radio-wrapper-male .validation-advice {
    left: 7px;
}

/* DOB */

#chatbot_dob {
    display: inline-block;
    width: 88%;
}

.chatbot .registration .dob-box label,
.chatbot .registration .dob-box div {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    margin: 0 0 30px;
}

.chatbot .registration .dob-box label {
    letter-spacing: 0.2em;
    padding-top: 2px;
}

.chatbot .registration .dob-box div div {
    width: 31.33%;
    margin-left: 2%;
}

.chatbot .registration select {
    color: #000 !important;
    letter-spacing: 0.2em;
    height: 36px;
}

.chatbot .registration .dob-box select {
    text-align-last: center;
}

.chatbot .cta-box {
    margin-top: 30px;
}

.chatbot .cta-box a,
.chatbot .cta-box button {
    width: 33%;
    display: inline-block;
    min-width: initial;
    margin-left: 0;
    vertical-align: top;
    height: 46px;
}

.chatbot .cta-box button {
    width: 63%;
}

.chatbot [type="checkbox"]:checked + label,
.chatbot [type="checkbox"]:not(:checked) + label {
    color: #000;
}

.chatbot [type="checkbox"] + label:before {
    content: '';
}

.chatbot [type="checkbox"] + label:before,
#chatbot_term_of_use-error {
    border: 1px solid #000;
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    left: -2px;
    bottom: 9px;
}

.chatbot [type="checkbox"]:checked + label:after {
    background: black;
    top: auto;
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    left: 3px;
    bottom: 14px;
}

.chatbot .input-wrapper div.mage-error[generated],
.chatbot .select-wrapper div.mage-error[generated],
.chatbot .customer-dob div.mage-error[generated] {
    display: none !important;
}

.chatbot div.mage-error[generated] {
    display: none !important;
}


.chatbot [type="checkbox"].mage-error + label:before,
.chatbot [type="radio"].mage-error + label {
    border: red solid 3px;
    display: block;
    font-size: 0;
}

.chatbot #chatbot_condition-label span {
    font-size: 18px;
}

.chatbot .registration .gender-box,
.chatbot .registration .customer-dob,
.chatbot .input-wrapper {
    margin: 0 1% 10px;
}

.chatbot .input-wrapper,
.chatbot .plain-select,
.chatbot .cta,
.dob-box label,
.input-box.customer-dob {
    width: 46%;
    display: inline-block;
    vertical-align: top;
}

#chatbot_condition {
    display: inline;
    margin-right: 15px;
}


.chatbot input {
    font-family: 'Josefin Sans', helvetica, sans-serif !important;
    font-weight: 100;
    letter-spacing: 0.2em;
    text-transform: lowercase;
}

#chatbot-login .input-wrapper {
    width: 100%;
}

.chatbot .registration .gender-box .radio__input.mage-error + div {
    border-color: red;
}

/* === RESPONSIVE === */

@media only screen and (max-width: 480px) {
    .chatbot .opener,
    .widget .chatbot-state {
        bottom: 20px;
        right: 20px;
    }

    .widget .chatbot-state {
        bottom: 90px;
    }
}


@media only screen and (max-width: 440px) {
    .widget .chatbot-state {
        padding: 20px;
        max-width: 335px;
    }

    .cta-fixed {
        bottom: 20px;
        padding: 0 20px;
    }

    .chatbot .registration .radio-wrapper-female .validation-advice,
    .chatbot .registration .radio-wrapper-male .validation-advice {
        width: 141px;
    }

    .chatbot .registration .radio-wrapper-male .validation-advice {
        left: 6px;
    }

}

@media only screen and (max-width: 320px) {
    .chatbot .opener {
        height: 50px;
        width: 50px;
        background-size: 50px;
        -moz-background-size: 40px;
        -webkit-background-size: 40px;
        -ms-background-size: 40px;
        -o-background-size: 40px;
    }

    .widget .chatbot-state {
        padding: 20px;
        max-width: 280px;
        height: 480px;
        bottom: 80px;
    }

    .cta-fixed {
        bottom: 20px;
        padding: 0 20px;
    }

    .chatbot input,
    .chatbot .registration .customer-dob,
    .widget .chatbot-state .headline {
        margin-bottom: 20px;
    }

    .widget input,
    .widget textarea,
    .widget select,
    .widget label {
        font-size: 16px !important;
    }

    .widget .chatbot-state .headline {
        font-size: 20px;
    }

    .chatbot .registration .radio-wrapper-female .validation-advice,
    .chatbot .registration .radio-wrapper-male .validation-advice {
        width: 114px;
        top: -21px;
    }

    .chatbot .registration .radio-wrapper-male .validation-advice {
        left: 5px;
    }

    .chatbot .registration .gender-box,
    .chatbot .registration .customer-dob,
    .chatbot input[type="text"],
    .chatbot input,
    .chatbot .registration .dob-box label {
        margin-bottom: 20px;
    }

    .chatbot .registration .dob-box label,
    .chatbot .registration .dob-box div,
    .chatbot .registration .dob-box div {
        width: 100%;
    }

    .chatbot .registration .dob-box label {
        margin-bottom: 10px;
        text-align: center;
    }

    .chatbot select,
    .chatbot input[type="text"],
    .chatbot input {
        padding: 0 0 10px 0 !important;
    }

    .chatbot .registration select {
        height: 30px;
    }

    .chatbot .registration .dob-box div {
        margin: 0 0 20px;
    }


}