.modal-content {
    background-color: #fff;
}
.eltis-test {
    margin-bottom: 20px;
    margin-top: 10px;
}

.eltis-test .alert {
    font-size: 0.875rem;
    padding: 10px;
}

.eltis-test .question-wrap {
    width: 100%;
}

.eltis-test .question-wrap + .question-wrap {
    border-top: 1px solid #ccc;
    padding-top: 1.5rem;
    margin-top: 1rem;
}
.eltis-test .question-wrap .passage {
    font-size: 0.9rem;
    border: 1px solid #dee2e6;
    padding: 0.7rem;
}

.eltis-test .question-wrap .passage > p {
    margin-bottom: 0;
}

.eltis-test .progress-box.active {
    color: #007fbe;
}
.eltis-test .question-list {
    border: 1px solid #dee2e6;
    /* padding: 0.7rem; */
    border-radius: 4px;
    background: #fff;
    min-height: 395px;
}

.eltis-test .owl-carousel .owl-item label img {
    display: inline-block;
    width: auto;
}

.eltis-test .question-list .item {
    width: 100%;
    padding: 0.7rem;
}

.eltis-test .question-list .owl-item {
    width: 100%;
}

.eltis-test .alert-secondary {
    background: #ebf5f9;
    border-radius: 0;
    border-color: #d2dce0;
}

.eltis-test .graph {
    max-height: 350px;
}

.eltis-test textarea {
    min-height: 250px;
}

.eltis-test .alert-warning {
    margin-bottom: 0.7rem;
}

.eltis-test .alert-warning p {
    margin: 0;
}

.eltis-test .question-wrap .img-fluid {
    width: 350px;
    border: 1px solid #ccc;
}

.eltis-test .answerList {
    padding: 0;
    margin-bottom: 0 !important;
    margin-top: 10px !important;
}

.eltis-test .answerList li label {
    padding: 0;
}

.eltis-test #test-title,
.eltis-test .time-remaining {
    font-size: 14px;
}

.eltis-test #test-description:empty {
    display: none;
}

.questionsBox {
    display: block;
    border: solid 1px #e3e3e3;
    padding: 0.7rem 0.7rem 0 0.7rem;
    box-shadow: inset 0 0 30px rgba(000, 000, 000, 0.1),
        inset 0 0 4px rgba(255, 255, 255, 1);
    border-radius: 3px;
    margin: 0 10px;
}
.questions {
    background: #007fbe;
    color: #fff;
    padding: 6px 10px;
    font-weight: 300;
    position: relative;
}
/*.questions:after {
    background: url(../img/icon.png) no-repeat left 0;
    display: block;
    position: absolute;
    top: 100%;
    width: 9px;
    height: 7px;
    content: '.';
    left: 0;
    text-align: left;
    font-size: 0;
}
.questions:after {
    left: auto;
    right: 0;
    background-position: -10px 0;
}
.questions:before, .questions:after {
    background: black;
    display: block;
    position: absolute;
    top: 100%;
    width: 9px;
    height: 7px;
    content: '.';
    left: 0;
    text-align: left;
    font-size: 0;
}*/

.answerList li:first-child {
    border-top-width: 0;
}

.answerList li {
    padding: 4px 0;
}
.answerList label {
    display: block;
    padding: 6px 6px 6px 0;
    color: #333;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
}
.eltis-test input[type="checkbox"],
input[type="radio"] {
    margin-right: 6px;
}
.questionsRow {
    background: #dee3e6;
    margin: 0 -0.7rem;
    padding: 10px 20px;
    border-radius: 0 0 3px 3px;
}

.eltis-test .content-area {
    padding: 0.7rem;
    margin-top: 0.7rem;
    border: 2px solid #007fbe;
    height: 500px;
    overflow-y: auto;
}

.eltis-test .question-wrap > h3 {
    font-size: 1rem;
}

.eltis-test .button,
.eltis-test .greyButton {
    background-color: #cf2124;
    color: #fff;
    display: inline-block;
    border: solid 2px #a02729;
    vertical-align: middle;
    line-height: 27px;
    min-width: 160px;
    text-align: center;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 0px;
    text-transform: capitalize;
}
.eltis-test .button:disabled,
.eltis-test .greyButton:disabled,
.eltis-test .button[disabled],
.eltis-test .greyButton[disabled] {
    border: solid 2px #a09f9f;
    background: #ccc;
}

.questionsRow > span {
    display: inline-block;
    line-height: 30px;
    /* border: solid 1px #aeb9c0; */
    padding: 0 10px;
    /* background: #fff; */
    margin-top: 6px;
    color: #7c7c7c;
    margin-right: 0.7rem;
}

/* Custom register */
#user_pass_field input[type="password"] {
    display: none;
}
.ur-frontend-form .ur-form-row .ur-form-grid .ur-field-item {
    font-size: 15px;
    margin-bottom: 10px;
}

.ur-frontend-form .ur-form-row .ur-form-grid label,
.ur-frontend-form .ur-form-row .ur-form-grid legend {
    margin-bottom: 4px;
}

.page-template-page-tpl-sign-in .login-username input#user_login,
.page-template-page-tpl-sign-in .login-password input#user_pass,
.ur-frontend-form .ur-form-row .ur-form-grid input[type="date"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="email"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="number"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="password"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="phone"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="text"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="timepicker"],
.ur-frontend-form .ur-form-row .ur-form-grid input[type="url"],
.ur-frontend-form .ur-form-row .ur-form-grid select,
.ur-frontend-form .ur-form-row .ur-form-grid textarea {
    padding: 0.375rem 0.75rem;
    border: 1px solid #ccc;
}

.ur-frontend-form .user-registration-error {
    width: 100%;
}

.ur-frontend-form .ur-button-container {
    padding: 0;
}

.ur-frontend-form .ur-button-container .btn {
    padding: 8px 25px;
    line-height: 1.2;
    margin-right: 0;
}

#loginform {
    border: 1px solid #ddd;
    padding: 20px;
}

@media screen and (min-width: 768px) {
    #loginform,
    #login_error {
        width: 50%;
        margin: 0 auto;
    }
    #loginform .login-username label,
    #loginform .login-password label {
        display: block;
    }

    #loginform .login-username input,
    #loginform .login-password input {
        width: 100%;
        padding: 0.375rem 0.75rem;
        display: block;
        width: 100%;
        border-radius: 0;
        min-height: 36px;
        margin-bottom: 10px;
        line-height: 1.5;
        outline: none !important;
    }
}

.eltis-test .progress-box {
    background-repeat: no-repeat;
    display: block;
    background-size: contain;
    padding-left: 35px;
}

.eltis-test #listening-progress.progress-box {
    width: auto;
    height: 30px;
    background-image: url("/wp-content/themes/world-edu/dist/images/ico-listening-black.png");
}

.eltis-test #listening-progress.active.progress-box {
    background-image: url("/wp-content/themes/world-edu/dist/images/ico-listening.png");
}

.eltis-test #reading-progress.active.progress-box {
    background-image: url("/wp-content/themes/world-edu/dist/images/ico-reading.png");
}

.eltis-test #reading-progress.progress-box {
    background-image: url("/wp-content/themes/world-edu/dist/images/ico-reading-black.png");
}

.eltis-test #writing-progress.active.progress-box {
    background-image: url("/wp-content/themes/world-edu/dist/images/ico-writing.png");
}

.eltis-test #writing-progress.progress-box {
    background-image: url("/wp-content/themes/world-edu/dist/images/ico-writing-black.png");
}

.flatpickr-calendar .numInputWrapper span {
    opacity: 1 !important;
}

.flatpickr-calendar .flatpickr-months .flatpickr-month {
    height: 32px;
}
.animated {
    -webkit-animation-duration: 0 ms !important;
    animation-duration: 0 ms !important;
    -webkit-animation-fill-mode: both !important;
    animation-fill-mode: both !important;
}

.fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
}
@-webkit-keyframes fadeOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Custom css front-page */
.section-title.centered h1:before, .section-title.centered h2:before {
    left: calc(50% - 40px);
}
