
/* Style form client */

/* Colors */
.bg_charcoal{
    background-color: var(--charcoal-color);
}
.bg_secondary{
    background-color: var(--secondary-color);

}
.bg_black{
    background-color: black;
}
.bg_white{
    background-color: white;
}
.cl_service{
    color: rgba(68, 68, 68, 0.65);
}
.cl_title{
    color: #1B1D21;
}
.cl_danger{
    color: #FF0000;
}
.cl_white{
    color: white;
}
.cl_black{
    color: black;
}
.cl_secondary{
    color: var(--secondary-color);

}

/* Fonts */
.Corporate_regular{
    font-family: 'Corporate S Pro';
}
.Corporate_bold{
    font-family: 'Corporate S Bold';
}
.Montserrat_regular{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.Second_font{
    font-family: 'MB Corpo A Title Cond';
}
.fs-8{
    font-size: 0.8rem;
}
.border-r{
    border-right: 1px solid #44444433;
}
.border_blue{
    border-left: 6px solid var(--secondary-color);
}
.border_black{
    border: 1px solid black;
}
.border_cl_second{
    border: 1px solid var(--secondary-color);
}
.hover_opacity{
    transition: 0.3 ease opacity;
}
.hover_opacity:hover{
    opacity: 75%;
}
.shadow_col{
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.pb_5{
    padding-bottom: 5rem;
}
.pt_5{
    padding-top: 5rem !important;
}
.rounded_br{
    border-bottom-right-radius: 8px;
}
.cursor{
    cursor: pointer;
}
.opacity_50{
    opacity: 50%;
}
.w-20{
    width: 20%;
}
.num_step{
    background: #444;
    width: 2rem;
    height: 2rem;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col_step:not(:last-child):after {
    content: '';
    width: 1px;
    height: 100%;
    background: #444;
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
}

.wp_step.active,
.wp_step.active .num_step{
    background: var(--secondary-color);
    border-radius: 50px;
}

.icone_step{
    display: none;
}

.progress_bar{
    height: .8rem;
    width: 85%;
}

.progress_bar_content{
    background-color: #D2D2D2;
    height: .4rem;
}

.progress_content_color{
    height: .4rem;
    width: 5%;
    transition: width 0.7s ease;

}
.progress_bar_cnt{
    position: sticky;
    top: 0;
    z-index: 20;
}

.col_detail_car{
    border: 1px solid #44444433;
    border-radius: 10px;
}

.btn_step2{
    width: 2rem;
    height: 2rem;
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--secondary-color);
    color: white;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

.table_packs{
    background: #262626;
    color: white;
    border-radius: 10px;
}

.table_packs td{
    padding: .7rem 1rem;
}

.table_packs tr:not(:last-child){
    border-bottom: 2px solid rgba(255, 255, 255, 0.40);
}
.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgb(13 110 253 / 10%);
}
.row_services .form-check{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 10px 25px;
}
.active_service .checked {
    background-color: var(--secondary-color);
    border-radius: 8px;
}
.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
    border: 0.667px solid rgba(68, 68, 68, 0.48);
}

.row_services .wp_img{
    width: 125px;
    height: 125px;
    margin: 0 auto;
}

.row_services .wp_img svg{
    display: block;
}

.row_services .form-check label{
    font-family: var(--Corporate-S-B-fonts);
    width: 100%;
}
.part3 .form-check .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.part3 .form-check{
    display: flex;
    align-items: center;
    position: relative;
}

.part3 .form-check.checked::after {
    content: '';
    width: 115%;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 120, 214, 0.50);
    background: rgba(0, 120, 214, 0.05);
}
input[type="range"] {
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    box-shadow: none;
    background-color: black;
}
input[type="range"]::-webkit-slider-runnable-track {
    outline: none;
    box-shadow: none;
    background: #D2D2D2;
}
input[type="range"]:focus::-webkit-slider-runnable-track{
    background: #D2D2D2;
}
input[type="range"]:focus::-webkit-slider-thumb{
    box-shadow: none;
}
.quantity{
    width: 1.75rem;
    height: 1rem;
    font-size: .85rem;
    top: 3rem;
}

/* Login */
.login .w-full{
    border: 1px solid #E0E0E0;
    padding: 1rem;
    background: #FFF;
    border-radius: 8px;
}
.login .w-full:focus-visible{
    outline: 0;
    border-color: var(--secondary-color);
}
.login #remember_me{
    width: 2rem;
    height: 2rem;
}
.login .form-check-input:checked {
    background-color: #0079d622;
    border-color: var(--secondary-color);
}
.login .form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: none;
}
.login .form-check-input:checked[type=checkbox]::after{
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
}
.col_connection{
    background-image: url('/assets/images/img-connexion.jpg') ;
    background-color: black;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}


/* Backoffice */

.backoffice_layout .accordion.custom-accordion .accordion-button{
    background: #3D414D;
    color: white;
}
.backoffice_layout .accordion.custom-accordion .accordion-button[aria-expanded="false"]{
    background: transparent;
}

.backoffice_layout .accordion-button::after,
.backoffice_layout .accordion-button:not(.collapsed)::after{
    background-image: none;
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    color: white;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) !important;
}
.backoffice_layout .accordion-button:not(.collapsed)::after{
    content: '\f077';
}
.backoffice_layout .accordion-body a{
    color: white;
    text-decoration: none;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 8px;
}
.backoffice_layout .accordion-body a.active{
    background: var(--secondary-color);
}
.nav-item-icon{
    width: 22px;
    height: 24px;
    display: block;
}
.nav-item-icon svg{
    width: 100%;
    height: 100%;
}
.nav_bar a{
    display: flex;
    align-items: center;
}
.user-edit{
    border-top: 1px solid rgba(255, 255, 255, 0.201);
}
.toggle_btn{
    width: 3rem;
    height: 3rem;
    background: var(--secondary-color);
    border-radius: 50px;
    position: absolute;
    z-index: 22;
    display: none;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 18rem;
    color: white;
    cursor: pointer;
    transition: left 0.5s ease-in-out;
}
tr.filter td {
    padding: 1.5rem 1rem 1.5rem 0rem;
}
.wp_input_search::before {
    content: '\f002';
    font-family: 'FontAwesome';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #424b5442;
}
.wp_input_search::after{
    content: '';
    width: 1px;
    height: 1.3rem;
    position: absolute;
    right: 2.1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #424b5442;
}
.visibility_btn.active{
    background: var(--secondary-color);
    color: white;
    opacity: 100%;
}
.custom_table th span{
    position: relative;
}
.custom_table th span::after{
    content: url('/assets/images/after_th.png');
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
}
.custom_table th,
.custom_table td{
    padding: 1rem .5rem;
}
.custom_table td{
    color: #333;
}
.btn_close_one{
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 0;
    background-color: #E2E2E2;
    border-color: #E2E2E2;
    color: black;
    padding: .5rem .85rem;
}
.input_style{
    padding: .5rem 1rem;
    border-radius: 5px;
    border: 1px solid #E8E8E8;
    font-family: 'Corporate S Pro';
}
.input_style::placeholder{
    color: rgba(0, 0, 0, 0.75);
}
.input_style[readonly] {
    background: #E8E8E8;
    pointer-events: none;
}
.form-control:focus,
.form-select:focus{
    box-shadow: none;
}
body .select2-container {
   height: 100%;
}
body .select2-container--default .select2-selection--single {
    border: 1px solid #E8E8E8;
    height: 3rem;
    padding: .45rem 0.5rem;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 100%;
    display: flex;
    align-items: center;
}
body .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}
.wp_img_model ::-webkit-file-upload-button {
    display: none;
}
.wp_img_model input::before{
    content: '';
    width: 2.5rem;
    height: 100%;
    background: #F6F6F6;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.wp_img_model input::after{
    content: '\e09a';
    font-family: 'FontAwesome';
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
}
.custom_table tr:nth-child(odd):not(:first-child):not(:nth-child(2)) td {
    background: #FAFAFA;
}
.custom_table tr{
    border-radius: 8px;
}
.custom_table tr:not(:first-child),
.custom_table td{
    border: 0;
}
.custom_table td:first-child{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.custom_table td:last-child{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.file-name-span {
    position: absolute;
    left: 3.8rem;
    background: white;
    bottom: 5px;
    width: 75%;
    overflow: hidden;
    cursor: default;
    z-index: 1;
    pointer-events: none;
}
#addPrices .modal-content{
    height: 32rem;
    overflow: auto;
}
#addPrices .modal-content::-webkit-scrollbar {
    width: 10px;
}

#addPrices .modal-content::-webkit-scrollbar-track {
    background: white;
}

#addPrices .modal-content::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
}

#addPrices .modal-content::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary-color);
}
.prices_table table tr:not(.filter) td:not(:nth-child(1)):not(:last-child){
    padding: 0;
}
.prices_table table tr:not(.filter) td div:nth-child(odd){
    background-color: #FAFAFA;
}
.prices_table table tr:not(.filter) td div:nth-child(even),
.prices_table .custom_table tr:nth-child(odd):not(:first-child):not(:nth-child(2)) td{
    background: white;
}
.prices_table table tr:not(.filter) td div{
    padding: 1rem .5rem;
}
.nav_bar a{
    transition: 0.3s ease background;
}
.nav_bar a:hover{
    background: #3D414D;
}
.nav_bar a:hover span.ps-3{
    color: #ffffffb5;
}
.nav_bar a.active{
    background: var(--secondary-color);
}
.nav_bar a.active:hover span{
    color: white;
}




/* Media query */

@media (max-width: 1198.98px) {
    .nav_bar a,
    .nav_bar button{
        font-size: .85rem;
    }
    .backoffice_layout .accordion-body a {
        padding: 1rem 1rem 1rem 2rem;
    }
    .backoffice_layout .accordion-button::after,
    .backoffice_layout .accordion-button:not(.collapsed)::after{
        right: 0px;
    }
    .user-edit div.lh-1{
        font-size: 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .col_step:not(:last-child):after{
        display: none;
    }
    .toggle_btn{
        display: flex;
    }
    .col_nav {
        position: fixed;
        z-index: 11;
        background: black;
        width: 40%;
        overflow-y: auto;
        height: 100%;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0.5s;
    }

    .col_nav.show {
        transform: translateX(0%);
        visibility: visible;
        opacity: 1;
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0s 0s;
    }
}

@media (max-width: 767.98px) {
    .wp_step {
        font-size: .8rem;
    }
    .num_step{
        width: 1.6rem;
        height: 1.6rem;
    }
    .row_services .form-check{
        padding-left: 0;
    }
    .part3 .form-check .form-check-input {
        width: 1rem;
        height: 1rem;
    }
    .part3 .form-check.checked::after {
        width: 103%;
    }
}

@media (max-width: 575.98px) {
    .icone_step{
        display: inline-block;
    }
    .content_step{
        display: none;
    }
    .wp_step {
        font-size: 1.35rem;
        padding: 0.5rem;
    }
    .num_step{
        width: 2rem;
        height: 2rem;
    }
    .num_step{
        font-size: 1.1rem;
    }
    .col_step {
        width: 22%;
    }
    .part3 .form-check .form-check-label{
        font-size: .85rem;
    }
    .col_nav {
        width: 55%;
    }
}

@media (max-width: 475.98px) {
    .wp_step {
        font-size: 1.1rem;
        padding: 0.75rem;
    }
    .num_step{
        font-size: 1rem;
    }
    .num_step {
        height: 1.5rem;
        font-size: .85rem;
    }
    .col_detail_car .col-4,
    .col_detail_car .col-7{
        width: 100%;
        border-right: 0;
    }
    p.cl_service{
        font-size: .8rem;
    }
    .part3 .form-check.checked::after {
        width: 108%;
    }
    .col_nav {
        width: 80%;
    }
    .content_layout .wp_btn button span{
        font-size: .8rem;
    }
    .content_layout .wp_btn button svg{
        transform: scale(.75);
    }
    .custom_table th{
        padding: 1rem .75rem;
    }
}

@media (max-width: 375.98px) {
    .col_step {
        width: 23%;
    }
    .table_packs td {
        padding: .5rem .5rem;
    }
}