@font-face {
    font-family: "Montserrat-Regular";
    src: url("../fonts/montserrat/Montserrat-Regular.ttf");
}

@font-face {
    font-family: "Montserrat-Medium";
    src: url("../fonts/montserrat/Montserrat-Medium.ttf");
}

@font-face {
    font-family: "ElMessiri-SemiBold.ttf";
    src: url("../fonts/el_messiri/ElMessiri-SemiBold.ttf");
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat-Regular";
    font-size: 15px;
    color: #666;
    margin: 0;
}

p, h1, h2, h3, h4, h5, h6, ul {
    margin: 0;
}

img {
    max-width: 100%;
}

ul {
    padding-left: 0;
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

input, textarea, select, button {
    font-family: "Montserrat-Regular";
    font-size: 15px;
    color: #666;
}

textarea {
    resize: none;
}

:focus {
    outline: none;
}

.wrapper {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    background-position: center;
    background-size: contain;
}

.inner {
    min-width: 700px;
    /* transform: translateX(47px); */
    margin: auto;
    display: flex;
    background: #fff;
    border-radius: 20px;
    padding-top: 35px;
    padding-bottom: 35px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

.image-holder img {
    border-radius: 15px;
    transform: translateX(-94px);
}

form {
    padding-right: 20px;
    padding-top: 42px;
    min-width: 63.88%;
}
/*.form-transform {
    transform: translateX(-34px); 
  }*/

h3 {
    text-align: center;
    margin-bottom: 21px;
    font-family: "Constantia";
}

.form-control {
    height: 47px;
    display: block;
    border: 1px solid #e6e6e6;
    background: none;
    border-radius: 5px;
    padding: 0 19px;
}

    .form-control:focus {
        border: 1px solid #f4d5cc;
    }

    .form-control::-webkit-input-placeholder {
        color: #999;
    }

    .form-control::-moz-placeholder {
        color: #999;
    }

    .form-control:-ms-input-placeholder {
        color: #999;
    }

    .form-control:-moz-placeholder {
        color: #999;
    }

.form-text {
    display: block;
}

select.form-control {
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color: #999;
}

    select.form-control option[value=""][disabled] {
        display: none;
    }

textarea.form-control {
    width: 100%;
    padding-top: 13px;
    padding-bottom: 13px;
}

.form-row {
    display: flex;
    margin-bottom: 20px;
}

    .form-row .form-control {
        width: 100%;
    }

    .form-row .form-text {
        width: 50%;
        padding-left: 1.8rem !important;
    }

    .form-row .form-holder {
        width: 100%;
    }

        .form-row .form-holder .form-control {
            width: 100%;
        }

.form-holder {
    position: relative;
}

    .form-holder i {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

button {
    height: 47px;
    width: 174px;
    display: flex;
    border: none;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 30px;
    cursor: pointer;
    font-family: "Montserrat-Medium";
    text-transform: uppercase;
    background: #84cde1;
    border-radius: 5px;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    overflow: hidden;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-property: color, background-color;
    transition-property: color, background-color;
}

    button i {
        margin-left: 8px;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
/* button:hover {
    -webkit-animation-name: hvr-back-pulse;
    animation-name: hvr-back-pulse;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    background-color: #17c8f8;
    color: white; }
    button:hover i {
      -webkit-animation-name: hvr-icon-buzz-out;
      animation-name: hvr-icon-buzz-out;
      -webkit-animation-duration: 0.75s;
      animation-duration: 0.75s;
      -webkit-animation-timing-function: linear;
      animation-timing-function: linear;
      -webkit-animation-iteration-count: infinite;
      animation-iteration-count: infinite; } */

@-webkit-keyframes hvr-back-pulse {
    50% {
        background-color: rgba(32, 152, 209, 0.75);
    }
}

@keyframes hvr-back-pulse {
    50% {
        background-color: rgba(32, 152, 209, 0.75);
    }
}

@-webkit-keyframes hvr-icon-buzz-out {
    10% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }

    20% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }

    30% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }

    40% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }

    50% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }

    60% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }

    70% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }

    80% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }

    90% {
        -webkit-transform: translateX(1px) rotate(0);
        transform: translateX(1px) rotate(0);
    }

    100% {
        -webkit-transform: translateX(-1px) rotate(0);
        transform: translateX(-1px) rotate(0);
    }
}

@keyframes hvr-icon-buzz-out {
    10% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }

    20% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }

    30% {
        -webkit-transform: translateX(3px) rotate(2deg);
        transform: translateX(3px) rotate(2deg);
    }

    40% {
        -webkit-transform: translateX(-3px) rotate(-2deg);
        transform: translateX(-3px) rotate(-2deg);
    }

    50% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }

    60% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }

    70% {
        -webkit-transform: translateX(2px) rotate(1deg);
        transform: translateX(2px) rotate(1deg);
    }

    80% {
        -webkit-transform: translateX(-2px) rotate(-1deg);
        transform: translateX(-2px) rotate(-1deg);
    }

    90% {
        -webkit-transform: translateX(1px) rotate(0);
        transform: translateX(1px) rotate(0);
    }

    100% {
        -webkit-transform: translateX(-1px) rotate(0);
        transform: translateX(-1px) rotate(0);
    }
}

@media (max-width: 991px) {
    .inner {
        min-width: auto;
        max-width: 660px;
    }

    form {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .inner {
        display: block;
        transform: translateX(0);
        border-radius: 0;
        box-shadow: none;
    }

    .image-holder img {
        transform: translateX(0);
        border-radius: 0;
        width: 50%;
    }

    .image-holder {
        text-align: center;
    }

    form {
        transform: translateX(0);
        padding-top: 40px;
    }

    .form-row {
        display: block;
    }

        .form-row .form-control, .form-row .form-holder {
            width: 100%;
        }

    .form-control {
        margin-bottom: 20px;
    }

    .wrapper {
        background: none;
    }
}


.fw-thin {
    font-weight: 100 !important;
}

.fw-lighter {
    font-weight: 200 !important;
}

.fw-light {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-bolder {
    font-weight: 800 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.ml-3 {
    margin-left: 3%;
}

/***Radio*/
.radio {
    display: inline-block;
    /* cursor: pointer; */
}

    .radio input {
        display: none;
    }

        .radio input + span {
            line-height: 20px;
            height: 20px;
            padding-left: 20px;
            display: block;
            position: relative;
        }

            .radio input + span:not(:empty) {
                padding-left: 28px;
            }

            .radio input + span:before, .radio input + span:after {
                content: '';
                width: 20px;
                height: 20px;
                display: block;
                border-radius: 50%;
                left: 0;
                top: 0;
                position: absolute;
            }

            .radio input + span:before {
                background: #d4c9ff;
            }

            .radio input + span:after {
                background: #fff;
                transform: scale(0.87);
                transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.4);
            }

        .radio input:checked + span:before {
            transform: scale(1.04);
            background: #e09df2;
        }

        .radio input:checked + span:after {
            transform: scale(0.4);
            transition: transform 0.3s ease;
        }

    .radio:hover input + span:before {
        transform: scale(0.92);
    }

    .radio:hover input + span:after {
        transform: scale(0.74);
    }

    .radio:hover input:checked + span:after {
        transform: scale(0.4);
    }

/***User**/
.navbar-nav {
    position: absolute;
    left: 3.75rem;
}

.user-link {
    border-color: #4a63bd;
    color: #4a63bd;
    position: absolute;
    right: 2.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.question-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

    .question-list li {
        float: left;
        width: 3rem;
    }

        .question-list li button {
            display: block;
            text-decoration: none;
            margin: auto !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

.prenext-buttons {
    position: absolute;
    top: 1.5rem;
    right: 3rem;
}

    .prenext-buttons button {
        text-transform: capitalize !important;
        display: inline-block !important;
        height: 35px;
        width: 70px;
        margin: 0 0.25rem;
    }

.active-question {
    border-color: #a28aff !important;
    color: #fff !important;
    background: #a28aff !important;
}

.answered-question {
    background: #edf1ff;
    border-color: #4a63bd;
    color: #4a63bd;
}

.subject {
    width: 100%;
    min-height: 150px;
    text-transform: unset;
    font-family: "Montserrat-Regular";
}

.w-100 {
    width: 100%;
}

.btn_answer {
    border-color: #a28aff !important;
    color: #fff !important;
    background: #a28aff !important;
}
}
/*.choice {
    padding: 1.3rem 0;
}*/
.btn-a {
    height: 47px;
    width: 174px;
    display: flex;
    border: none;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-transform: uppercase;
    border-radius: 5px;
    overflow: hidden;
}

.textarea-length {
    resize: none;
    overflow: hidden;
    min-height: 50px;
}

.display-none {
    display: none;
}

#buttonhide {
    background: transparent;
    border: none !important;
    font-size: 0;
}

.small-button {
    margin: 0;
    padding: 0;
    width: 100px;
    height: 40px;
}

.partButton {
    border: 1px solid;
    padding: 8px 20px;
    border-radius: 5px;
}

#html_element div {
    margin: auto;
}

@media (min-width: 500px) {
    .form-transform {
        text-align: center;
    }

    .image-holder {
        text-align: center;
    }

        .image-holder img {
            max-width: 30%;
        }

    .button-StepBack button {
        width: 150px;
        margin-bottom: 0.5rem;
    }

    .button-StepNext button {
        width: 150px;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 767px) {
    .form-transform {
        text-align: center;
    }

    .image-holder {
    }

        .image-holder img {
            max-width: 100%;
        }

    .button-StepBack button {
        width: 150px;
        margin-bottom: 0.5rem;
    }

    .button-StepNext button {
        width: 150px;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 992px) {
    .form-transform {
        transform: translateX(-34px);
    }

    .image-holder {
    }

        .image-holder img {
            max-width: 100%;
        }

    .button-StepBack {
        position: absolute;
        left: 2rem;
    }

        .button-StepBack button {
            width: 150px;
        }

    .button-StepNext {
        position: absolute;
        right: 5rem;
    }

        .button-StepNext button {
            width: 150px;
        }
}

@media (min-width: 1200px) {
    .form-transform {
        transform: translateX(-34px);
    }

    .image-holder {
    }

        .image-holder img {
            max-width: 100%;
        }

    .button-StepBack {
        position: absolute;
        left: 2rem;
    }

        .button-StepBack button {
            width: 150px;
        }

    .button-StepNext {
        position: absolute;
        right: 5rem;
    }

        .button-StepNext button {
            width: 150px;
        }
}

@media (min-width: 1540px) {
    .form-transform {
        transform: translateX(-34px);
    }

    .image-holder {
    }

        .image-holder img {
            max-width: 100%;
        }

    .button-StepBack {
        position: absolute;
        left: 2rem;
    }

        .button-StepBack button {
            width: 150px;
        }

    .button-StepNext {
        position: absolute;
        right: 5rem;
    }

        .button-StepNext button {
            width: 150px;
        }
}
