/*
CUSTOM CSS CODE
*/

.sp-form-errors{
    color: #d31212;
    font-weight: 600;
}
.cs_margin_20{
    margin-top: 20px;
}
.not-correct-q {
    margin: 2em 0;
    font-weight: normal;
}
.not-correct-q li{
    text-align: left;
    font-size: 14px;
}
.not-correct-q table{
    margin-top: 1em;
    border-collapse: collapse;
    border: 1px solid #ccc;
    width: 100%;
}
.not-correct-q td{
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    padding: 4px;
    border: none;
}
.not-correct-q table td:nth-child(1){
    width: 24px!important;
    text-align: center;
}
#countdownTest {margin:0 0 1em 0;}
.box {
    margin: 1em auto;
    padding: 1em;
}
.box_error {
    color: red;
    border: 1px solid red;
}
.box_success {
    color: green;
    border: 1px solid green;
}
.ccl-item-body .box {
    margin-top: 0;
}
/* modals start*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    background: rgba(24, 24, 27, 0.98);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    display: none;
    overflow-y: auto;
    height: -webkit-fill-available;
    height: var(--app-height);
}

.modal {
    /*display: none;*/
    background: #FFFFFF;
    box-shadow: 0px 8px 40px rgb(255 255 255 / 20%);
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    padding: 40px;
    position: relative;
}

.modal-title {
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    color: #171717;
    margin-bottom: 20px;
    max-width: 92%;
}

.modal-title + p {
    margin-bottom: 25px;
}

.modal button,
.modal input:not([type="file"]),
.modal textarea {
    width: 100%;
    margin-bottom: 25px;
}

.modal textarea {
    height: 145px;
    resize: none;
}

.modal a,
.modal p {
    font-size: 14px;
    line-height: 22px;
    color: #6B6B6B;
}

.modal a:hover {
    text-decoration: none;
}

.modal-success {
    display: none;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 25px;
    height: 25px;
    background: url(/assets/img/close-cross.svg) center no-repeat;
    background-size: contain;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
    opacity: 1;
}

.modal-close:hover {
    opacity: 0.7;
}

@media (min-width: 320px) and (max-width: 767px) {
    .modal {
        padding: 30px 20px;
        width: calc(100% - 30px);
    }
}

/* modals end */

a.get_certificate_link {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0.5em;
}
a.get_certificate_link:before {
    content: '';
    width: 18px;
    height: 23px;
    background: url(/assets/img/mail-blue-icon.svg) center no-repeat;
    display: inline-block;
    background-size: contain;
    margin-right: 10px;
}
a.get_certificate_link:hover{
    color: #6B6B6B;
}
a.get_certificate_link:hover:before {
    background-image: url(/assets/img/mail-icon.svg);
}