
.section-hidden {
    display:block;
    position:absolute;
    top:-9999;
    opacity:0;
    width:0;
    height:0;
}

.k2c-hidden {
    display:none;
}

.w-25pc,
.w-50pc {
    width: 100%;
}

/* 640 / 768 / 1024 / 1280 / 1536 */

@media (min-width: 767px) {
    .w-25pc,
     .w-50pc {
        width: 33%;
    }
}

@media (min-width: 1440px) {
    .w-25pc {
        width: 25%;
    }
    
    .w-50pc {
        width: 50%;
    }
}

.form-test-wrapper {
    position: relative;
    padding: 0;
}

#previze-wrapper {
    position: relative;
    height: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgb(253, 252, 240);
}

.form-test-wrapper a:hover {
    color: #141F24;
}

.rate {
    color: orange;
}

.rate > img {
    display:none;
}

.k2c-test-previze,
.k2c_test-main-content {
    display:block;
    position: relative;
    width:100%;
}

/* .k2c-test-previze {
    height: 0;
} */

.k2c-test-previze.--previze {
    height: auto;
}
.k2c_test-main-content.--previze,
#cpt-test-form.--previze,
#cpt-test-edit-form.--previze {
    height: 0;
}

.k2c-test-previze .test-menu-wrapper,
.k2c_test-main-content .test-menu-wrapper {
    display: none;
    position: absolute !important;
    top: 0;
    left: 0;
}

.k2c-test-previze .test-menu-wrapper-mobile,
.k2c_test-main-content .test-menu-wrapper-mobile {
    position: absolute !important;
    top: 0;
    z-index: 9999;
}

.k2c-test-previze .test-menu-wrapper-mobile.--fixed,
.k2c_test-main-content .test-menu-wrapper-mobile.--fixed {
    position: fixed !important;
    top: 0;
}

.k2c-test-previze .test-menu-wrapper-mobile .nav-menu-mobile,
.k2c_test-main-content .test-menu-wrapper-mobile .nav-menu-mobile {
    position: absolute;
    right: -50px;
    top: 0;
    background: #FFF;
    padding: 10px;
    display: flex;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.k2c-test-previze .test-menu-wrapper-mobile .nav-menu-mobile .collapsed-nav-icon-close, 
.k2c_test-main-content .test-menu-wrapper-mobile .nav-menu-mobile .collapsed-nav-icon-close{
    display: none;
}

.k2c-test-previze .test-menu-wrapper .test-menu,
.k2c-test-previze .test-menu-wrapper-mobile .test-menu,
.k2c_test-main-content .test-menu-wrapper .test-menu,
.k2c_test-main-content .test-menu-wrapper-mobile .test-menu {
    padding: 39px 31px;
    width: 300px;
    height: fit-content;
    z-index: 9999;
    background: white;
}

.k2c-test-previze .test-menu-wrapper-mobile .test-menu,
.k2c_test-main-content .test-menu-wrapper-mobile .test-menu {
    position: relative;
    right: calc(300px + (100vw * 8 / 100));
    top: 150px;
    transition: right .5s ease-out ;
}

.k2c-test-previze .test-menu-wrapper-mobile .test-menu.--open,
.k2c_test-main-content .test-menu-wrapper-mobile .test-menu.--open {
    right: 0 !important;
}

.k2c-test-previze .test-menu-wrapper-mobile .test-menu.--open .nav-menu-mobile,
.k2c_test-main-content .test-menu-wrapper-mobile .test-menu.--open .nav-menu-mobile {
    right: 0;
}

.k2c-test-previze .test-menu-wrapper-mobile .test-menu.--open .nav-menu-mobile .collapsed-nav-icon-close,
.k2c_test-main-content .test-menu-wrapper-mobile .test-menu.--open .nav-menu-mobile .collapsed-nav-icon-close {
    display: inline-block;
}

.k2c-test-previze .test-menu-wrapper-mobile .test-menu.--open .nav-menu-mobile .collapsed-nav-icon-open,
.k2c_test-main-content .test-menu-wrapper-mobile .test-menu.--open .nav-menu-mobile .collapsed-nav-icon-open {
    display: none;
}

.k2c-test-previze .test-menu ul,
.k2c_test-main-content .test-menu ul {
    padding: 0;
    margin: 0;
    font-size: 1.125rem;
    text-transform: uppercase;
    list-style: none;
}

.k2c-test-previze .test-menu ul a,
.k2c_test-main-content .test-menu ul a {
    text-decoration: none;
}

.k2c-test-previze .test-menu ul a:hover,
.k2c_test-main-content .test-menu ul a:hover {
    text-decoration: underline;
    color: #141F24;
}

.k2c-test-previze .test-menu ul a.current-item,
.k2c_test-main-content .test-menu ul a.current-item {
    text-decoration: underline;
    font-weight: bold;;
}

.k2c-test-previze .test-post-content,
.k2c_test-main-content .test-post-content {
    position: relative;
    margin: 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .form-test-wrapper {
        padding: 0 45px 0 85px;
    }
}

@media (min-width: 1024px) {

    .k2c-test-previze,
    .k2c_test-main-content {
        display: flex;
        gap: 15px;
    }

    .k2c-test-previze .test-menu-wrapper,
    .k2c_test-main-content .test-menu-wrapper {
        display: block;
        position: relative !important;
        right: unset;
        top: unset;
        width: 30%;
    }

    .k2c-test-previze .test-menu-wrapper-mobile,
    .k2c_test-main-content .test-menu-wrapper-mobile {
        display: none;
        position: absolute;
        top:-100%;
    }

    .k2c-test-previze .test-menu-wrapper .test-menu,
    .k2c_test-main-content .test-menu-wrapper .test-menu {
        padding: 20px;
        width: 100%;
        height: fit-content;
    }

    .k2c-test-previze .test-post-content,
    .k2c_test-main-content .test-post-content {
        margin: 0;
        width: 70%;
    }
}

@media (min-width: 1280px) {
    .k2c-test-previze,
    .k2c_test-main-content {
        gap: 25px;
    }

    .k2c-test-previze .test-menu-wrapper,
    .k2c_test-main-content .test-menu-wrapper {
        display: block;
    }

    .k2c-test-previze .test-menu-wrapper .test-menu,
    .k2c_test-main-content .test-menu-wrapper .test-menu {
        padding: 39px 31px;
    }

    .k2c-test-previze .test-menu-wrapper .test-menu ul,
    .k2c_test-main-content .test-menu-wrapper .test-menu ul {
        font-size: 1.25rem;
    }
}

.k2c-test-previze .test-post-content .post-title,
.k2c_test-main-content .test-post-content .post-title {
    margin-bottom: 20px;
    font-size: 1.5rem !important;
    line-height: normal !important;
    font-weight: bold;
    text-transform: uppercase !important;
}

@media (min-width: 768px) {
    .k2c-test-previze .test-post-content .post-title,
    .k2c_test-main-content .test-post-content .post-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }
}

.k2c-test-previze .test-post-content .test-rate-author,
.k2c_test-main-content .test-post-content .test-rate-author {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    margin-bottom: 15px;
}

.k2c-test-previze .test-post-content .generale-rate,
.k2c_test-main-content .test-post-content .generale-rate {
    display:flex;
    margin: 0 25px 0 0;
    color:#FBBC51;
    font-size: 0.9rem;
}

.k2c-test-previze .test-post-content .test-rate
.k2c_test-main-content .test-post-content .test-rate {
    margin-right: 10px;
    color:orange;
    font-size: .8rem;
}

.k2c-test-previze .test-post-content .test-note,
.k2c_test-main-content .test-post-content .test-note {
    font-size: 1.125rem;
    color:#FBBC51;
}

.k2c-test-previze .test-post-content .test-author,
.k2c_test-main-content .test-post-content .test-author {
    font-size: 1.125rem;
}

.k2c-test-previze .test-post-content .test-count-comments,
.k2c_test-main-content .test-post-content .test-count-comments {
    font-size: 1.125rem;
}

.k2c-test-previze .test-post-content .test-count-comments i,
.k2c_test-main-content .test-post-content .test-count-comments i {
    position: relative;
    top: 0;
    margin-right: 5px;
}

@media (min-width: 768px) {
    .k2c-test-previze .test-post-content .test-rate-author,
    .k2c_test-main-content .test-post-content .test-rate-author {
        flex-wrap: nowrap;
    }

    .k2c-test-previze .test-post-content .test-count-comments,
    .k2c_test-main-content .test-post-content .test-count-comments {
        text-align: right;
    }
}

.k2c-test-previze .test-post-content .test-terms,
.k2c_test-main-content .test-post-content .test-terms {
    margin-bottom: 20px !important;
    text-transform: uppercase;
    line-height: normal;
}

.k2c-test-previze .test-post-content .test-image,
.k2c_test-main-content .test-post-content .test-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #008BA2;
    overflow: hidden;
}

.k2c-test-previze .test-post-content .test-image img,
.k2c_test-main-content .test-post-content .test-image img {
    object-fit: contain;
    max-width: unset;
    height: 100%;
    width: 100%;
}

.k2c-test-previze .test-post-content .test-informations-base,
.k2c_test-main-content .test-post-content .test-informations-base {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    line-height: 1.2;
    padding: 20px;
    font-size: 1rem;
    background-color: #FBBC51;
    color: #141F24;
}

.k2c-test-previze .test-post-content .test-informations-base > div,
.k2c_test-main-content .test-post-content .test-informations-base > div {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.k2c-test-previze .test-post-content .test-informations-base > div > div,
.k2c_test-main-content .test-post-content .test-informations-base > div > div {
    padding: 0 14px;
}

/* .test-post-content .test-informations-base > div.border-right:after {
    display: inline-block;
    width: 2px;
    height: 40%;
    background-color: #141F24;
    content: "";
    position: absolute;
    left: 90%;
    top: 34%;
} */

.k2c-test-previze .test-post-content .test-informations-base .base-label,
.k2c_test-main-content .test-post-content .test-informations-base .base-label {
    text-align: left;
    text-transform: uppercase;
}

.k2c-test-previze .test-post-content .test-informations-base .base-infos,
.k2c_test-main-content .test-post-content .test-informations-base .base-infos {
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .k2c-test-previze .test-post-content .test-informations-base > div,
    .k2c_test-main-content .test-post-content .test-informations-base > div {
        padding-left: 20px;
    }

    .k2c-test-previze .test-post-content .test-informations-base > div.border-right:after
    .k2c_test-main-content .test-post-content .test-informations-base > div.border-right:after {
        display: inline-block;
        width: 2px;
        height: 40%;
        background-color: #141F24;
        content: "";
        position: absolute;
        left: 96.5%;
        top: 34%;
    }

    .k2c-test-previze .test-post-content .test-informations-base > div.border-right:nth-child(even):after,
    .k2c_test-main-content .test-post-content .test-informations-base > div.border-right:nth-child(even):after {
        display: none;
    }
}

@media (min-width: 1024px) {
    .k2c-test-previze .test-post-content .test-informations-base,
    .k2c_test-main-content .test-post-content .test-informations-base {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .k2c-test-previze .test-post-content .test-informations-base > div.border-right:after,
    .k2c-test-previze .test-post-content .test-informations-base > div.border-right:nth-child(even):after,
    .k2c_test-main-content .test-post-content .test-informations-base > div.border-right:after,
    .k2c_test-main-content .test-post-content .test-informations-base > div.border-right:nth-child(even):after {
        display: inline-block;
        left: 90%;
    }
    
}

.k2c-test-previze .test-post-content .test-plus-moins,
.k2c_test-main-content .test-post-content .test-plus-moins {
    display:flex;
    justify-content: space-around;
    margin:0 0 20px 0;
    padding:10px;
    background: #FFF;
    gap:20px;
}

.k2c-test-previze .test-post-content .test-plus-moins div,
.k2c_test-main-content .test-post-content .test-plus-moins div {
    padding:10px;
    width:50%;
}

.k2c-test-previze .test-post-content .test-plus-moins div:first-child
.k2c_test-main-content .test-post-content .test-plus-moins div:first-child {
    border-right: 1px currentColor solid;
}

.k2c-test-previze .test-post-content .test-plus-moins h5,
.k2c_test-main-content .test-post-content .test-plus-moins h5 {
    margin:0 0 25px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.k2c-test-previze .test-post-content .test-plus-moins .points-forts ul,
.k2c-test-previze .test-post-content .test-plus-moins .points-faibles ul,
.k2c_test-main-content .test-post-content .test-plus-moins .points-forts ul,
.k2c_test-main-content .test-post-content .test-plus-moins .points-faibles ul {
    list-style-type: none;
}

.k2c-test-previze .test-post-content .test-plus-moins .points-forts ul li,
.k2c-test-previze .test-post-content .test-plus-moins .points-faibles ul li,
.k2c_test-main-content .test-post-content .test-plus-moins .points-forts ul li,
.k2c_test-main-content .test-post-content .test-plus-moins .points-faibles ul li {
    padding-left: 2rem;
    background-image: url(../images/fa6-solid_plus.svg);
    background-position: 0 center;
    background-size: 1.3rem 1.3rem;
    background-repeat: no-repeat;
}

.k2c-test-previze .test-post-content .test-plus-moins .points-faibles ul li,
.k2c_test-main-content .test-post-content .test-plus-moins .points-faibles ul li {
    background-image: url(../images/fa6-solid_minus.svg);
}

.k2c-test-previze .test-post-content .test-item h4,
.k2c_test-main-content .test-post-content .test-item h4 {
    font-size: 1.25rem;
    text-transform: uppercase;
}

.k2c-test-previze .test-post-content .test-item p,
.k2c_test-main-content .test-post-content .test-item p {
    line-height: normal;
    margin: 10px auto 15px !important
}

.k2c-test-previze .test-post-content .test-conclusion,
.k2c_test-main-content .test-post-content .test-conclusion {
    margin: 40px 0 20px;
    padding: 40px;
    background: #FFF;
}

.k2c-test-previze .test-post-content .test-conclusion h4,
.k2c_test-main-content .test-post-content .test-conclusion h4 {
    font-size: 1.25rem;
    line-height: 1rem;
    margin:0 0 25px;
    text-transform: uppercase;
}

.k2c-test-previze .test-post-content .test-conclusion p,
.k2c_test-main-content .test-post-content .test-conclusion p {
    line-height: 1.6rem;
}

/* FORM */

.section-title {
    font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif !important;
    font-weight: bold !important;
    font-size: 32px !important;
    color: #FBBC51 !important;
    margin-top: 30px;
    margin-bottom: 5px;
    text-transform: uppercase !important;
}

#placeholder-equipement {
    margin: 25px 0 !important;
    font-size: 1.5rem;
    color: #FBBC10;
}

#cpt-test-form .--previze,
#cpt-test-edit-form .--previze {
    height: 0;
    width: 0;
    overflow: hidden;
}

#cpt-test-form label,
#cpt-test-edit-form label {
    display: block;
    font-weight: bold;
    margin: 10px 0;
}

#cpt-test-form input,
#cpt-test-form textarea,
#cpt-test-edit-form input,
#cpt-test-edit-form textarea {
    margin-bottom: 10px;
    background-color: #FFF;
    border-radius: 5px;
    border: 2px solid #B8C3B9;
}

#cpt-test-form input::placeholder,
#cpt-test-edit-form input::placeholder {
    color:#C8C8C8;
}
#cpt-test-form textarea::placeholder,
#cpt-test-edit-form textarea::placeholder {
    color:#C8C8C8;
}

#cpt-test-form .input-error input,
#cpt-test-form .input-error textarea,
#cpt-test-form .input-error select,
#cpt-test-edit-form .input-error input,
#cpt-test-edit-form .input-error textarea,
#cpt-test-edit-form .input-error select {
    border-color:red;
}

.input-error .error-text {
    color: red;
    font-size: 14px;
    margin:0px 10px !important;
}

.input-error .rate {
    color: red;
}

.main-error {
    display: none;
    padding: 10px 20px;
    text-align: center;
    background: #f3c4c4;
    color: red;
    margin: 15px 0;
}

.login-error {
    padding: 10px 20px;
    text-align: center;
    background: #f3c4c4;
    color: red;
    margin: 15px 0;
}
.login-error > p {
    margin: 0;
}

input[type='password'] + .show-password-input .show-password-btn .fa-eye {
    display:inline;
}
input[type='password'] + .show-password-input .show-password-btn .fa-eye-slash {
    display:none;
}
input[type='text'] + .show-password-input .show-password-btn .fa-eye {
    display:none;
}
input[type='text'] + .show-password-input .show-password-btn .fa-eye-slash {
    display:inline;
}

.show-password-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 50px;
    width: 40px;
    top: -50px;
    left: calc(100% - 40px);
    border-left: 1px solid rgb(184, 195, 185);
    color: rgb(184, 195, 185);
    cursor: pointer;
}
.show-password-btn:hover {
    color:#141F24;
}

#cpt-test-form .input-error .select2-container .select2-selection,
#cpt-test-edit-form .input-error .select2-container .select2-selection {
    border-color: red;
}

#cpt-test-form label .required,
#cpt-test-edit-form label .required {
    color: #FF0000;
}

#cpt-test-form .label-item,
#cpt-test-edit-form .label-item {
    font-size: 20px;
    text-transform: uppercase;
    line-height: normal;
}

#cpt-test-form .select2-container,
#cpt-test-edit-form .select2-container {
    display: block !important;
    max-width: 100% !important;
}

#cpt-test-form .select2-container .select2-selection--multiple,
#cpt-test-edit-form .select2-container .select2-selection--multiple {
    height: 50px;
}

#cpt-test-form .select2-container .select2-selection,
#cpt-test-edit-form .select2-container .select2-selection {
    border: 2px solid #B8C3B9;
    border-radius: 5px;
    background-color: #FFF;
}

#cpt-test-form .select2-container .select2-search--dropdown,
#cpt-test-form .select2-container .select2-results__option,
#cpt-test-edit-form .select2-container .select2-search--dropdown,
#cpt-test-edit-form .select2-container .select2-results__option {
    background-color: #FFF;
}


#cpt-test-form .select2-container.select2-container--disabled,
#cpt-test-edit-form .select2-container.select2-container--disabled {
    opacity: 0.5;
}

.form-test-section {
    display: flex;
    flex-direction: column;
}

.form-test-col-33pc,
.form-test-col-50pc,
.form-test-col-66pc {
    width: 100%;
}

.form-test-col-33pc {
    order: 2;
}

.form-test-2-col {
    display: block;
}

.form-test-2-col.--equipement {
    margin-bottom: 25px;
}

.form-test-2-col.--additional {
    display: block;
    background-color: transparent;
    padding: 20px;
}

.form-test-2-col.--additional.--visible {
    background-color: #f1f1f1;
    margin-bottom: 25px;
}

#additional_wrapper {
    margin-bottom: 15px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.test-add-points {
    display: flex;
    align-items: center;
    margin:15px 10px;
    font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif !important;
    font-size: 1.25rem;
    color: #FBBD51;
    border: none;
    background-color: #FFF;
    line-height: unset;
    /* font-weight: bold; */
    border-radius: 5px;
    cursor: pointer;
}
.test-add-points:hover {
    background-color: #FBBD51;
    color: #FFF;
}

.test-add-points span{
    font-size: 3rem;
    margin-right: 11px;
    line-height: 0;
    cursor: pointer;
    /* font-weight: normal */
}

.input-with-remove-icon {
    position: relative;
    margin-top: 15px;
}

.input-with-remove-icon button{
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #B8C3B9;
    border-right: none;
    border-top: none;
    border-bottom: none;
    background: transparent;
    height: 50px;
    width: 40px;
    color: #FBBD51;
    cursor: pointer;
}

.input-with-remove-icon button span {
    /* color:#141F24; */
    font-size: 1.5rem;
    position: absolute;
    top: 13px;
    left: 9px;
}

.spinner {
    width: 28px;
    height: 28px;
    border: 4px solid #141F24;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    margin: 0 10px 0 -20px;
    vertical-align: bottom;
    animation: rotation 1s linear infinite;
}

.k2c-progress-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 20px;
    width: 95%;
    align-items: center;
    gap: 20px;
    margin: 20px auto 0;
}

.k2c-progress-wrapper .k2c-progress-bar {
    background-color: #D8D8D8;
    border-radius: 6px;
    width: 100%;
    height: 20px;
    overflow: hidden;
}

.k2c-progress-wrapper .k2c-progress-bar > div{
    background-color: #008BA2;
    border-radius: 6px;
    width: 0;
    height: 100%;
    transition: width 0.5s ease-out;
}

.k2c-progress-btns {
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

/* FILE INPUT */
#cpt-test-form .file-input-text,
#cpt-test-edit-form .file-input-text {
    position: relative;
    padding: 7px 15px;
    border: 2px solid #B8C3B9;
    border-radius: 5px;
    background-color: #FFF;
    background-image: url(../images/fa6-solid_upload.svg);
    background-position: 97% center;
    background-size: 32px 32px;
    background-repeat: no-repeat;
}

#cpt-test-form  .help-input,
#cpt-test-edit-form  .help-input {
    margin: -10px 0 -5px !important;
    color: #CCC;
    font-size: 0.75rem;
    font-style: italic;
    position: relative;
    height: 0px;
}

#cpt-test-form .input-error .file-input-text,
#cpt-test-edit-form .input-error .file-input-text {
    border-color: red;
}

#cpt-test-form .file-input-text.--equipement,
#cpt-test-edit-form .file-input-text.--equipement {
    width: 60%;
}

#cpt-test-form .input-file-wrapper,
#cpt-test-edit-form .input-file-wrapper {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}

#cpt-test-form .file-input-text.--aka-file,
#cpt-test-edit-form .file-input-text.--aka-file {
    cursor: pointer;
    flex-grow: 1;
    max-width: 330px;
}

#cpt-test-form .input-file-wrapper .crop-action,
#cpt-test-form .input-file-wrapper .reset-img,
#cpt-test-edit-form .input-file-wrapper .crop-action,
#cpt-test-edit-form .input-file-wrapper .reset-img {
    flex-grow: 0;
    flex-shrink: 0;
    display: inline-flex;
    width: 50px;
    background-color: #FFF;
    border: 2px solid #CCC;
    height: 50px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    opacity: 0.5;
}

#cpt-test-form .input-file-wrapper .reset-img,
#cpt-test-edit-form .input-file-wrapper .reset-img {
    font-size: 1.3rem;
}

#cpt-test-form .rate.--in-form,
#cpt-test-edit-form .rate.--in-form {
    font-size: 0.9rem;
    display: inline-block;
}

#cpt-test-form  #test_generale_note,
#cpt-test-edit-form  #test_generale_note {
    pointer-events: none !important;
}

#cpt-test-form .file-input-file,
#cpt-test-edit-form .file-input-file {
    opacity: 0;
    height: 0;
    width: 0;
}

#cpt-test-form .photo-container,
#cpt-test-edit-form .photo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C8C8C8;
    width: 100%;
    height: 380px;
    margin: 15px auto 15px;
}

#cpt-test-form .photo-container img,
#cpt-test-edit-form .photo-container img {
    object-fit: contain;
    max-width: unset;
    height: 100%;
    width: 100%;
}

.cpt-test-default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-family: "PT Sans Narrow", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    border: 1px solid #141F24;
    border-radius: 12px;
    background-color: #FFF;
    padding: 0 25px;
    cursor: pointer;
    min-width: 200px;
}

.cpt-test-primary-btn {
    border: none;
    background-color: #FBBD51;
}

.cpt-test-small-btn {
    min-width: unset !important;
    padding: 5px;
    height: auto;
    border-radius: 7px;
}

.cpt-test-default-btn:disabled {
    color: #AAA !important;
    background-color: #EEE !important;
    cursor: not-allowed !important;
}

#success-msg {
    margin: 40px 0;
}

#success-msg p {
    margin-bottom: 20px !important;
    font-size: 2rem;
}

@media (min-width: 640px) {
    .k2c-progress-btns {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    
    .form-test-col-50pc {
        width: 50%;
    }

    .form-test-2-col {
        display: flex;
        gap:20px;
        justify-content: space-between;
    }

    .k2c-progress-wrapper .k2c-progress-bar {
        width: 80%;
    }

    .k2c-progress-btns {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .k2c-progress-wrapper {
        flex-direction: row;
    }

    .form-test-section {
        display: flex;
        flex-direction: row;
        gap:40px;
    }

    .form-test-col-33pc {
        width: 33%;
        order: unset;
    }

    .form-test-col-66pc {
        width: 66%;
        gap: 20px;
    }
}

/* ARCHIVES */

.k2c-archive-test {
    margin-top: -5%;
}

.k2c-archive-test .archive-articles {
    display: grid;
    /* grid-template-rows: repeat(3, minmax(0, 1fr)); */
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 640px) {
    .k2c-archive-test .archive-articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .k2c-archive-test .archive-articles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.k2c-archive-test .archive-articles .article-test-item {
    background-color: #FFF;
}

.k2c-archive-test .archive-articles .article-test-item .article-thumb-wrapper {
    display: block;
    position: relative;
    aspect-ratio: 386/300;
    overflow: hidden;
    background: #008BA2 url(../images/Visuel.png) center center no-repeat;
    background-size: 100% 100%;
}

.k2c-archive-test .archive-articles .article-test-item .article-thumb-wrapper .article-thumb {
    position: relative;
    width: 100%;
    height: 100%
}

.k2c-archive-test .archive-articles .article-test-item.tests-by-lolo .article-thumb-wrapper .article-thumb:before {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 62px;
    height: 62px;
    content: url(../images/lolo.png);
}

.k2c-archive-test .archive-articles .article-test-item .article-thumb-wrapper .article-thumb > img{
    object-fit: cover;
    width: 100%;
    object-position: center center;
    height: 100%;
}

.k2c-archive-test .archive-articles .article-test-item .article-thumb-over {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -100%;
    left: 0;
    aspect-ratio: 386/300;
    width: 100%;
    z-index: 99;
    background-image: linear-gradient(to top, rgba(3, 3, 3, 0) 0px, rgba(3, 3, 3, 0.85) 100%);
    transition: top .5s ease-out;
    cursor: pointer;
}

.k2c-archive-test .archive-articles .article-test-item .article-thumb-over:after {
    display: block;
    content: '\f06e' !important;
    font-family: 'awb-icons';
    color: #FFF;
    font-size: 2.3rem;
}

.k2c-archive-test .archive-articles .article-test-item:hover .article-thumb-over {
    top: 0;
}

.k2c-archive-test .archive-articles .article-content {
    padding: 40px 32px 0;
}

.k2c-archive-test .archive-articles .title {
    margin: 0 auto 15px;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: normal;
    text-transform: uppercase;
}

.k2c-archive-test .archive-articles .article-content .article-content-content {
    padding-bottom: 20px;
    margin-bottom: 20px;
    line-height: normal;
    border-bottom: 1px solid #999;
}

.k2c-archive-test .archive-articles .article-content .article-infos {
    display: flex;
    justify-content: space-between;
    color: #008BA2;
    font-size: .9rem;
    margin-bottom: 20px;
}

.k2c-archive-test .archive-articles .article-content .article-infos .the-date {
    color:#141F24 !important;
}

.k2c-archive-test .archive-articles .article-content .article-infos .generale-rate {
    display: flex;
    align-items: center;
    color: #FBBC51;
    font-size: 0.8rem;
}

.k2c-archive-test .archive-articles .article-content .article-infos .generale-rate .test-note{
    font-size: 0.9rem;
}

.k2c-archive-test .archive-articles .article-content .article-infos .nb_comments {
    color:#141F24;
}

.k2c-archive-test .archive-nav {
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 0;
}

.k2c-archive-test .archive-nav > nav {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .k2c-archive-test .archive-nav {
        flex-direction: row;
    }
}

.k2c-archive-test .archive-nav ul {
    display:inline-flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
}

.k2c-archive-test .archive-nav ul li {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    cursor: pointer;
}

.k2c-archive-test .archive-nav ul li.current-term::before {
    display: block;
    position: absolute;
    top: -3px;
    width: 100%;
    height: 3px;
    background-color: #141F24;
    content:"";
}

.k2c-archive-test article.tests-by-lolo .test-author {
    color: #FBBC51;
}

.archive-test-load-more {
    display: flex;
    justify-content: center;
    margin: 50px auto 30px;
}

#submit-guest-wrapper,
#submit-auth-wrapper {
    height: 0 !important;
    overflow: hidden;
    padding: 0 !important;
}

.preview-btns-wrapper {
    display: flex;
    justify-content: center;
    margin: 35px auto;
    gap: 40px;
}

/* CROP MODAL */

.crop-modal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff76;
}

.crop-modal-wrapper.--active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.crop-modal-wrapper .crop-modal-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: -7%;
    width: 80%;
    height: 60%;
    max-width: 1024px;
    background-color: #FFF;
    border: 1px solid #141F24;
    border-radius: 5px;
}

.crop-modal-wrapper .crop-modal-content .crop-modal-header,
.crop-modal-wrapper .crop-modal-content .crop-modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 5px;
    min-height: 50px;
    align-items: center;
    border-bottom: 1px solid #141F24;
}
.crop-modal-wrapper .crop-modal-content .crop-modal-footer {
    justify-content: end;
    border-bottom: unset;
    border-top: 1px solid #141F24;
}

.crop-modal-wrapper .crop-modal-content .crop-modal-header h5 {
    margin-left: 25px;
}

.crop-modal-wrapper .crop-modal-content .crop-modal-body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: calc(100% - 100px);
}

.crop-modal-wrapper .crop-modal-content .crop-modal-body .crop-wrapper {
    display: block;
    aspect-ratio: 1;
    width: 60%;
    overflow: hidden;
    background: #008BA2;
    border: 1px solid #141F24;
    height: 90%;
}

.crop-modal-wrapper .crop-modal-content .crop-modal-body .crop-wrapper > img {
    display: block;
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.crop-modal-wrapper .crop-modal-content .crop-modal-body .crop-preview {
    display: block;
    aspect-ratio: 386/300;
    width: 30%;
    overflow: hidden;
    background: #008BA2;
    border: 1px solid #141F24;
}

/* MODAL CONFIRM */

.modal-confirm-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff76;
}
.modal-confirm-wrapper.--active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

.modal-confirm-wrapper.--warning #modal-submit-test{
    display: none
}

.modal-confirm-wrapper .modal-confirm-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 90%;
    /* height: 60%; */
    background-color: #FFF;
    border: 1px solid #141F24;
    border-radius: 5px;
}

.modal-confirm-wrapper .modal-confirm-content .modal-confirm-header,
.modal-confirm-wrapper .modal-confirm-content .modal-confirm-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 5px;
    min-height: 50px;
    align-items: center;
    border-bottom: 1px solid #141F24;
}

.modal-confirm-wrapper .modal-confirm-content .modal-confirm-footer {
    flex-direction: column;
    justify-content: center;
    border-bottom: unset;
    border-top: 1px solid #141F24;
    gap: 5px;
}

.modal-confirm-wrapper .modal-confirm-content .modal-confirm-header h5 {
    margin-left: 25px;
    font-size: 18px;
}

.modal-confirm-wrapper .modal-confirm-content .modal-confirm-body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: calc(100% - 100px);
}

.modal-confirm-wrapper .modal-confirm-content .modal-confirm-body #modal-message {
    margin: 10px auto;
    width: 80%;
    line-height: normal;
}


@media (min-width: 640px) {
    .modal-confirm-wrapper .modal-confirm-content {
        margin-top: -7%;
        width: 550px;
    }

    .modal-confirm-wrapper .modal-confirm-content .modal-confirm-body #modal-message {
        margin: 40px auto;
        width: 70%;
    }

    .modal-confirm-wrapper .modal-confirm-content .modal-confirm-footer {
        flex-direction: row;
        /* justify-content: space-between; */
        gap: 20px;
        padding: 5px;
        min-height: 50px;
        align-items: center;
        border-bottom: unset;
        border-top: 1px solid #141F24;
    }
}

/* Editable */
.cpt-editable-wrapper {
    margin-bottom: 20px;
    text-align:center;
}