#test .overlay {
    display: none;
    z-index: 50000;
}

#test .overlay.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    display: block;
}

#test .clear:after {
    content: '';
    display: block;
    clear: both;
}

#test .test-modal {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-height: 100%;
    top: 100px;
    width: 100%;
    max-width: 740px;
    border-radius: 3px;
    background: #f2f2f2;
    min-height: 562px;
}

#test .btn-close {
    width: 27px;
    border: 2px solid #444;
    position: absolute;
    right: 20px;
    top: 20px;
    height: 27px;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, .3);
}

#test .btn-close:before, #test .btn-close:after {
    content: '';
    display: block;
    width: 2px;
    height: 13px;
    background: #444;
    position: absolute;
    left: 12px;
    top: 8px;
    box-shadow: 0 0 3px rgba(255, 255, 255, .9);
}

#test .btn-close:before {
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476);
    transform: rotate(45deg);
}

#test .btn-close:after {
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=0.7071067811865475, M21=-0.7071067811865475, M22=0.7071067811865476);
    transform: rotate(-45deg);
}

#test .cover {
    background-color: #555;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#test .img {
    width: 100%;
    height: 99px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#test .question {
    padding: 18px 20px 0;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2em;
    width: 65%;
    font-family: sans-serif;
    background: transparent;
    color: #000;
}

#test .broker {
    position: absolute;
    top: 99px;
    right: 0;
    width: 35%;
    bottom: 0;
    background: #fff;
}

#test .broker-const {
    float: none;
    background: #fff;
    max-width: 100%;
    text-align: left;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#test .broker-img {
    border-radius: 50%;
    height: 80px;
    width: 80px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    margin: 0;
}

#test .broker-name {
    position: absolute;
    top: 20px;
    left: 111px;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-size: 18px;
    color: #111;
    letter-spacing: 0px;
    font-weight: 500;
    line-height: 20px;
}

#test .broker-text {
    position: relative;
    background: #fff;
    margin: 0;
    border-radius: 0;
    padding: 20px;
    color: #555;
    font-size: 14.5px;
    line-height: 1.25em;
}

#test .answer-list {
    background: transparent;
    width: 65%;
}

#test .answer {
    background: transparent;
    padding: 0 20px;
    display: none;
    overflow: hidden;
}

#test .answer.show {
    display: block;
    min-height: 142px;
}

#test .answer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#test .answer li {
    background: #efefef;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 10px 20px 10px 45px;
    margin: 0 0 10px;
    color: #111;
}

#test .answer li:before {
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 19px;
    height: 19px;
    background: #ddd;
    color: #fff;
    transition: .2s linear;
}

#test .one li:before {
    border-radius: 50%;
}

#test .answer li:hover, #test .answer li.active {
    background: #fff;
}

#test .answer li:hover:before, #test .answer li.active:before {
    content: '\f00c';
    font-family: FontAwesome;
    text-align: center;
}

#test .answer li.active:before {
    background: #0094DE;
}

#test .buttons {
    background: #fff;
    position: absolute;
    bottom: 0;
    width: 65%;
    padding: 0;
}

#test .buttons button {
    display: block;
    width: 50%;
    border: none;
    float: left;
    padding: 15px 0;
    height: 65px;
    margin: 0;
    font-size: 16px;
}

#test .btn-cancel {
    background: #fff;
}

#test .btn-cancel:hover {
    background: #f7f7f7;
    color: #000;
}

#test .btn-next, #test .btn-test-send {
    background: #0094DE;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.8) !important;
    position: relative;
    overflow: hidden;
}

#test .btn-next:hover, #test .btn-test-send:hover {
    background-color: #0C80D2;
}

@keyframes glare {
    0% {
        left: -25%;
    }
    30% {
        left: 125%;
    }
    100% {
        left: 125%;
    }
}

#test .btn-next:before, #test .btn-test-send:before {
    content: ' ';
    width: 30px;
    height: 135px;
    background: #fff;
    animation-delay: 0.05s;
    position: absolute;
    left: -25%;
    top: -35px;
    animation-timing-function: ease-in-out;
    transition: all 0.1s;
    -moz-transition: all 0.1s;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    -khtml-transition: all 0.1s;
    -ms-transition: all 0.1s;
    animation-name: glare;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -khtml-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

#test .quest_bar_holder {
    margin-bottom: 0px;
    height: 20px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
    background: #dedede;
    position: relative;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 75%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0));
    background-size: 30px 30px;
}

#test .progresser {
    width: 50%;
    position: relative;
    height: 100%;
    background-color: #0094DE;
    transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -khtml-transition: all 0.4s;
    -ms-transition: all 0.4s;
}

#test .quest_bar_holder .progresser span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

#test .progresser_round {
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-size: 14px;
    color: #111;
    letter-spacing: 0px;
    font-weight: 500;
    line-height: 17px;
    color: #fff;
    position: absolute;
    left: 50%;
    margin-top: 2px;
    margin-left: -13px;
    z-index: 99;
    opacity: 1;
}

#test .quest_bar_wrap {
    display: table;
    width: 100%;
    table-layout: fixed;
    height: 100%;
    position: absolute;
    top: 0;
}

#test .progress-wraper {
    width: 60%;
    padding: 0 20px;
}

#test .broker-name-extantion {
    position: absolute;
    top: 44px;
    left: 111px;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    color: #666;
    letter-spacing: 0px;
    font-weight: 500;
    line-height: 1.2em;
    font-size: 13px;
}

#test .answer.form {
    padding-top: 35px
}

#test .phone-block {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

#test .phone-block div {
    padding: 6px 20px;
    font-size: 11px;
}

#test .phone-block button {
    width: 100%;
    height: 65px;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    font-size: 18px;
    font-weight: bold;
}

#test .phone-block button:hover {
    background: #f7f7f7;
    color: #000;
}

#test .last-screen p {
    max-width: 400px;
    margin: 0 auto;
    font-size: 18px;
    padding: 0 0 20px;
}

#test .last-screen label {
    display: block;
    font-size: 14px;
}

#test .last-screen input {
    height: 40px;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #999;
}

#test .last-screen input:focus {
    border-color: #0094DE;
}

#test #test-send {
    display: none;
}

#test .buttons-final {
    position: absolute;
    bottom: 0;
    width: 65%;
}

#test .btn-test-send {
    height: 65px;
    width: 100%;
    border: none;
    font-size: 16px;
}

#test .quest_bar_count {
    position: absolute;
    top: 93px;
    left: 111px;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-size: 16px;
    color: #888;
    letter-spacing: 0px;
    font-weight: normal;
    line-height: 20px;
}

@keyframes circul {
    from {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#test .test-loader.active {
    display: block;
    position: absolute;
    top: 50%;
    width: 80%;
    height: 100px;
    background: #fff;
    border: 1px solid #efefef;
    left: 10%;
    margin-top: -50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#test .test-loader.active:after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    border: 3px solid gray;
    border-top: 3px solid black;
    border-radius: 50%;
    position: absolute;
    animation-duration: .35s;
    animation-timing-function: linear;
    animation-name: circul;
    animation-iteration-count: infinite
}

#test .buttons button.btn-cancel {
    width: 45%;
}

#test .buttons button.btn-prev {
    width: 5%;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    fill: #373a3c;
    text-align: center;
    padding: 20px 0;
    transition: .2s linear;
}

#test .buttons button.btn-prev:hover {
    fill: #0094DE;
}

#test .last-screen p.like-question {
    padding: 0 0 10px;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2em;
    font-family: sans-serif;
    background: transparent;
    color: #000;
}

@media screen and (max-width: 740px) {
    #test .broker {
        width: 45%;
    }

    #test .progress-wraper, #test .answer-list, #test .buttons, #test .buttons-final, #test .question {
        width: 55%;
    }

    #test .question {
        font-size: 21px;
    }
}

@media screen and (max-width: 640px) {
    #test .broker, #test .progress-wraper, #test .answer-list, #test .buttons, #test .buttons-final, #test .question {
        width: 100%;
    }

    #test .test-modal {
        min-height: 100%;
    }

    #test .question {
        width: 100%;
        padding: 10px 20px;
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        box-sizing: border-box;
    }

    #test .broker {
        position: static;
        width: 100%;
    }

    #test .broker-const {
        padding: 10px 20px;
    }

    #test .broker-img {
        height: 70px;
        width: 70px;
    }

    #test .broker-name {
        top: 11px;
        font-size: 16px;
    }

    #test .broker-name-extantion {
        font-size: 14px;
        top: 31px;
    }

    #test .quest_bar_count {
        font-size: 14px;
        top: 65px;
    }

    #test .broker-text {
        font-size: 14px;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        padding: 10px 20px;
    }

    #test .phone-block, #test .progress-wraper {
        display: none;
    }

    #test .answer-list {
        padding-bottom: 50px;
    }

    #test .buttons, #test .buttons-final {
        /*position: fixed;*/
    }

    #test .buttons button, #test .buttons-final button {
        height: 50px;
    }

    #test .last-screen p {
        font-size: 15px;
        padding: 0 0 10px;
    }

    #test .answer.form {
        padding: 10px 20px 0;
    }
}