body.single-quiz{
    max-width: unset;
}

body.single-quiz .header{
    background-color: #ffffff;
}

.ks-header__content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}


.ks-header__title{
    color: #000000;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 35px;
    position: relative;
}

.ks-header__title:after {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #229EB6;
    content: "";
    left: 0;
    bottom: -20px;
}


.ks-header__logo img{
    height: 90px;
    width: auto;
}

.ks-header__logo-last{
    margin-left: 50px;
}

.ks-header__list-item span{
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 21px;
    cursor: pointer;
}

.ks-header__list-item strong{
    color: #000000;
    font-size: 4px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 21px;
    vertical-align: middle;
}

.ks-header__list-item{
    position: relative;
}

.ks-header__list-item img{
    height: 7px;
    width: auto;
}

.ks-header__list-content{
    position: absolute;
    top: 100%;
    width: 300px;
    background: #fafafa;
    border: 1px solid #D1D1D1;
    left: 0;
    padding: 20px 30px;
    z-index: 11;
    display: none;
}
.ks-header__list-content.active{
    display: block;
}




.header.is-active .ks-header__logo img{
    height: 40px;
}
.header.is-active .ks-header__title{
    font-size: 20px;
}

.header.is-active .ks-header__title:after{
    bottom: -10px;
    height: 2px;
}





body.single-quiz .footer__navigation{
    max-width: 40%;
    min-width: 40%;
}


.ks-quiz__intro{
    background: #9D61BB;
}

.ks-quiz__intro--second{
    background: #229EB6;
}

.ks-quiz__intro--form{
    background: #fff;
}

.ks-quiz__intro-contact{
    width: 860px;
    max-width: 100%;
    margin: 30px auto;
    background: #F7F7F7;
    padding: 30px;

}

.ks-quiz__intro-contact .js-response-send{
    display: none;
}

.ks-quiz__intro-contact h2{
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 21px;
    margin-bottom: 15px;
}

.ks-quiz__intro-contact p{
    color: #000000;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
    margin-bottom: 15px;
}

.ks-quiz__intro-contact hr{
    margin-bottom: 25px;
    margin-top: 25px;
}

.ks-quiz__intro-contact a{
    text-decoration: underline;
}

.ks-quiz__intro-contact .ks-mail__inputs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ks-quiz__intro-contact .ks-mail__inputs label {
    width: calc(50% - 15px);
    margin-bottom: 20px;
}

.ks-quiz__intro-contact .ks-mail__inputs label input {
    width: 100%;
    display: block;
    margin-top: 10px;
    padding: 15px 20px;
    border: 1px solid #D1D1D1;
}
.ks-quiz__intro-contact .wpcf7-list-item {
    margin: 0;
}

.ks-quiz__intro-contact .wpcf7-acceptance {
    margin-bottom: 10px;
    display: block;
}

.ks-quiz__intro-contact input[type=submit] {
    background-color: #229EB6;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    padding: 18px 25px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 30px;
    border: 1px solid #229EB6;
    transition: all 0.3s linear;
    width: 170px;
    cursor: pointer;
}

.ks-quiz__intro-contact input[type=submit]:hover {
    color: #229EB6;
    background-color: #ffffff;
    transition: all 0.3s linear;
}



.ks-quiz__intro--second .ks-quiz__desc-text{
    padding: 50px 0;
    padding-left: 100px;
}

.ks-quiz__intro--second .ks-quiz__desc-text .link-button:hover{
    background: #9D61BB;
}

.ks-quiz__desc-text{
    padding-left: 100px;
    padding-top: 60px;
    padding-bottom: 32px;
    position: relative;
}
.ks-quiz__image{
    position: absolute;
    right: -135px;
    top: 0;
    width: 535px;
    height: 550px;
}


.ks-quiz__title{
    color: #FFFFFF;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 38px;
    width: 450px;
    max-width: 100%;
    position: relative;
    margin-bottom: 22px;
}

.ks-quiz__title:before{
    position: absolute;
    background-color: #2EBE9C;
    width: 8px;
    height: calc(100% + 14px);
    top: -7px;
    left: -30px;
    content: "";
}


.ks-quiz__desc{
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 26px;
    width: 620px;
    max-width: 100%;
    margin-bottom: 22px;
}

.ks-quiz__desc p:not(:last-of-type){
    margin-bottom: 20px;
}

.ks-quiz__desc-text a:not(.link-button){
    text-decoration: underline;
}

.ks-quiz__desc-text .link-button{
    color: #229EB6;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
    background-color: #ffffff;
    padding: 18px 25px;
    text-transform: uppercase;
    display: inline-block;
}

.ks-quiz__desc-text .link-button:hover{
    background-color: #229EB6;
    color: #ffffff;
    text-decoration: none;
}


.ks-quiz__desc-image{}
.ks-quiz__desc-image img{}



.ks-wrapper{
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
}

.ks-upper{
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
}


.ks-quiz{}
.ks-quiz__section{
    padding: 50px 0;
}



.ks-quiz__section:nth-child(odd) {
    background: #ffffff;
}

.ks-quiz__section:nth-child(even) {
    background: #F7F7F7;
}


.ks-quiz__header{
    color: #000000;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 38px;
    margin-bottom: 50px;
}
.ks-question{
    display: flex;
    flex-direction: row;
    position: relative;
}
.ks-question__label{
    padding: 45px 15px;
    width: 25%;
    background-color: #2EBE9C;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 26px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ks-quiz__section:nth-child(even) .ks-question__label{
    background-color: #229EB6;
}

.ks-quiz__section:nth-child(odd) .ks-question__answers{
    background-color: #F7F7F7;
}

.ks-quiz__section:nth-child(even) .ks-question__answers{
    background-color: #ffffff;
}





.ks-question__content{
    width: 75%;
}
.ks-question__tip{
    background-color: #e8e7e7;
    color: #000000;
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0;
    line-height: 18px;
    text-align: center;
    padding: 35px;
}
.ks-question__answers{
    padding: 40px 20px;
}

.ks-question__answers--images{
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.ks-answer__single--image{
    flex: 1;

}

.ks-quiz__section input[type=checkbox]{
    position: relative;
    z-index: 12;
}

.ks-question__answers label{
    color: #000000;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21px;
}

.ks-answer__single--image label{
    width: 100%;
    height: 260px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
}


.ks-quiz__section input:checked + span {
    color: #9D61BB;
}
.ks-quiz__section .ks-answer__single--image input:checked + span {
    color: #fff;
}

.ks-answer__single--image label{
    position: relative;
}

.ks-answer__single--image label.active:before{
    position: absolute;
    opacity: 0.6;
    background-color: #9D61BB;
    height: 100%;
    width: 100%;
    content: "";
    top: 0;
    left: 0;
    z-index: 1;
}

.ks-quiz__section .ks-overlay{
    z-index: 13;
}

.ks-answer__single input[type=checkbox]{
    margin-right: 10px;
}


.ks-answer__single--one-column{}

.ks-answer__single--one-column:not(:last-of-type){
    margin-bottom: 20px;
}

.ks-answer__single--two-column{
    width: 49%;
    display: inline-block;
}

.ks-answer__single--two-column:not(:last-of-type){
    margin-bottom: 60px;
}


.ks-answer__subquestion{
    color: #000000;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21px;
    margin-bottom: 10px;
}

.ks-answer__subanswers label{
    color: #000000;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 21px;
    font-weight: 700;
    margin-right: 15px;
}


.ks-quiz__next {
    margin-top: 55px;
}
.ks-quiz__next img{
    height: 7px;
    width: auto;
}

.ks-quiz__next a{
    color: #229EB6;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 19px;
    text-align: center;
    position: relative;
    padding-left: 10px;
}

.ks-quiz__next a:before{
    position: absolute;
    content: "";
    height: 100%;
    width: 1px;
    background-color: #229EB6;
    left: 0;
}

.ks-quiz__next a:hover{
    text-decoration: none;
}

.ks-quiz__next a strong{
    font-size: 6px;
    vertical-align: middle;
    margin-left: 20px;
}

.ks-quiz__footer{
    background: #9D61BB;
    text-align: center;
    padding: 65px 0;
}

.ks-quiz__footer-title{
    color: #FFFFFF;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 38px;
    text-align: center;
    margin-bottom: 10px;
}

.ks-quiz__footer-text{
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
}

.ks-quiz__footer-link{
    margin-top: 20px;
    min-width: 170px;
    color: #229EB6;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
    background-color: #ffffff;
    padding: 18px 25px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.ks-quiz__footer-link:hover{
    background-color: #229EB6;
    color: #ffffff;
    text-decoration: none;
}


.ks-quiz__result{
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 26px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.ks-quiz__result span{
    color: #FFFFFF;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 19px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-left: 30px;
    vertical-align: middle;
}

.ks-quiz__result span:before{
    height: 65px;
    width: 65px;
    border-radius: 50%;
    background-color: #2EBE9C;
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}


.ks-quiz__error-tip{
    display: none;
    background-color: red;
    color: #fff;
    padding: 11px;
    font-size: 16px;
    text-align: center;
}

.ks-quiz__error-button{
    display: none;
    background-color: #ffbf00;
    color: #fff;
    padding: 11px;
    font-size: 16px;
    text-align: center;
}
.ks-quiz__success-button{
    display: none;
    background-color: #28a745;
    color: #fff;
    padding: 11px;
    font-size: 16px;
    text-align: center;
}

.wpcf7-form-control-wrap.signup-to-newsletter{
    margin-bottom: 10px;
    display: block;
}

/* RWD */

@media(max-width: 1199px){
    .ks-quiz__next{
        text-align: center;
    }
    .ks-quiz__header{
        padding: 0 30px;
    }
    .ks-header__content{
        padding: 25px;
    }
    .ks-quiz__image{
        display: none;
    }
}

@media(max-width: 991px){
    body.single-quiz{
        padding-top: 85px;
    }
    .ks-answer__single--two-column{
        width: 100%;
    }
    .ks-header__logo{
        display: none;
    }
    .ks-header__list-content {
        position: fixed;
        top: 85px;
        width: 100%;
    }

}


@media(max-width: 767px){
    body.single-quiz{
        padding-top: 100px;
    }
    .ks-header__content{
        flex-direction: column;
    }
    .ks-header__title{
        font-size: 18px;
    }
    .ks-header__title:after{
        bottom: 2px;
        height: 2px;
    }
    .ks-header__list{
        margin-top: 10px;
    }


    .ks-quiz__desc-text{
        padding: 30px;
    }

    .ks-question{
        flex-direction: column;
    }

    .ks-question__label, .ks-question__content{
        width: 100%;
    }

    .ks-header__list-content {
        top: 100px;
    }

    .ks-question__answers--images{
        flex-direction: column;
    }

    body.single-quiz .footer__navigation{
        max-width: 100%;
        min-width: 100%;
    }

    .ks-quiz__intro-contact .ks-mail__inputs label{
        width: 100%;
    }
}
