html, body{
    height: 100%;
    margin: 0;
    padding: 0;
}

h1{
    margin: 30px auto;
    padding: 15px 25px;
    border-radius: 15px;
    background-color: black;
    color: white;
    width: fit-content;
}
#conn_form{
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#expense_report_form{
    width: fit-content;
    display: flex;
    flex-direction: column;
}
.submit{
    transition: 0.2s;
    margin-left: 30px;
    margin-right: 30px;
    padding: 10px 5px;
    background-color: black;
    color: rgb(249, 249, 249);
    border: none;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.submit:hover{
    opacity: 0.95;
    transform: scale(0.96);
}
.submit:active{
    opacity: 0.95;
    transform: scale(0.96);
}
label{
    font-weight: 600;
    font-size: 12px;
    text-align: start;
}
input{
    border: 2px solid lightgray;
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
    margin: 3px;
}
select{
    border: 2px solid lightgray;
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
    margin: 3px;
    height: 40px;
}

.error_msg{
    max-width: 250px;
    font-size: 10px;
    color: red;
    margin: 5px;
}
.label_input_group{
    display: flex;
    flex-direction: column;
}
.search_form{
    display: flex;
    justify-content: center;
}
.required{
    font-size: 20px;
    color: red;
}
.required_hide{
    font-size: 20px;
    color: white;
}
.feucon_form{
    width: fit-content;
    padding: 20px;
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.body_feucon_form{
    display: flex;
    justify-content: center;
}
tbody td {
    padding: 10px;
    font-weight: 400;
}
tfoot td {
    padding: 10px;
}
tbody tr{
    background-color: rgb(230, 230, 230);
}
.left{
    text-align: end;
}
.res_feucon{
    position: relative;
}
table{
    margin: 0px auto;
}
table {
    position: relative;
    border-collapse: collapse; 
}
th {
    position: sticky;
    top: 0;
  }
table td:not(:first-child,:last-child){
    border-left: 2px solid white;
    border-right: 2px solid white;
}
thead{
    background-color: black;
    position: sticky;
    top: 0px;
}
thead th {
    text-align: left;
    padding: 10px;
    position: sticky;
    top: 0px;
}
th{
    color: white;
}
textarea{
    margin: 3px;
    border: 2px solid lightgray;
    padding: 2px;
}
#code_client, #contact_client{
    width: 100%;
}
.ctn_code_client, .ctn_contact{
    margin: 3px;
    position: relative;
}
.code_client{
    max-width: 350px;
}
/*////////// img et logos //////////*/
.logo_nielsen_header{
    width: 120px;
    cursor: pointer;
    margin: 0 25px;
}
.logo_nielsen{
    max-height: 100px;
}
.logo_search{
    width: 20px;
    margin-left: -35px;
}
.logo_loupe{
    position: absolute;
    width: 20px;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
.table_prospect{
    white-space: nowrap;
}
/*////////// éléments perso //////////*/
.container{
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    justify-content: center;
}
.cards_container{
    justify-content: center;
    align-items: center;
}
.cards_container a{
    text-decoration: none;
}
.card{
    width: 200px;
    height: 200px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    border: 2px solid transparent;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    margin: 20px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.card:hover{
    border: 2px solid black;
    background-color: aliceblue;
}
.card:active{
    border: 2px solid black;
}
.card_title{
    font-size: 15px;
    text-align: center;
    color: black;
}
.card_img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: black;
}
.button_container{
    justify-content: center;
    align-items: center;
}
.button{
    margin: 10px;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    background-color: white;
    font-weight: 600;
}
.button:hover{
    background-color: black;
    color: white;
}
.bloc_filter_container{
    /* flex-direction: column; */
    align-items: center;
}
.bloc_filter{
    margin: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.loading{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    margin: 30px auto;
}
header{
    padding: 12px 0;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 60px;
}
.ul_header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin-left: 20px;
    flex-wrap: wrap;
}
.header_link{
    color: white;
    text-decoration: none;
    margin: 0 2px;
    padding: 6px;
    font-size: 14px;
}
.header_link:hover{
    border-bottom: 2px solid #ffffff;
}
.actif_link{
    border-bottom: 2px solid #ffffff;
}
.connection_container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
}
.horizontal_shaking{
    animation: horizontal_shaking 0.25s 2;
}
@keyframes horizontal_shaking {
    0% {transform: translateX(0);}
    25% {transform: translateX(5px);}
    50% {transform: translateX(-5px);}
    75% {transform: translateX(5px);}
    100% {transform: translateX(0);}
}
.animRot{
    animation: rot 10s linear infinite;
}
@keyframes rot {
    from{rotate: 0deg;}
    to{rotate: 3600deg;}
}
.mb50{
    margin-bottom: 50px;
}
.mt50{
    margin-top: 50px;
}
.ml20{
    margin-left: 20px;
}
.hide{
    display: none;
}
.flexbox{
    display: flex;
}
.tot{
    font-weight: 600;
    font-size: 18px;
}
.align_center{
    align-items: center;
    justify-content: center;
}
.h1custom{
    display: block;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: fit-content;
    margin: 20px auto;
    padding: 20px;
}
.rot180{
    transform: rotate(180deg);
}
#scroll_top{
    position: absolute;
    top: 80px;
    right: 20px;
    font-size: 50px;
    cursor: pointer;
}
#gen_pdf{
    font-size: 40px;
    margin: 0px;
    cursor: pointer;
}
.displayNone{
    display: none;
}
#dp{
    height: 40px;
    margin: 3px;
    width: 100px;
}
.bold{
    font-weight: 600;
}
.h40{
    height: 40px;
}
.flex_center{
    display: flex;
    justify-content: center;
    align-items: center;
}
.pointer{
    cursor: pointer;
}
.searchbar_container{
    position: relative;
}
.pointer:hover{
    background-color: rgb(171, 210, 255);
}
.overlay_prospect{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 500;
    padding-bottom: 100px;
    overflow: auto;
}
.btn_close_overlay{
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}
.overlay_prospect_infos{
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin: 20px auto;
    padding: 25px;
    width: fit-content;
    width: 500px;
}
.show_prospect, .get_customers, .res_zclirdet, .res_historique{
    overflow: auto;
    max-width: 95%;
    width: fit-content;
    margin: 20px auto;
    max-height: 80%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
h3{
    text-align: center;
}
.overlay_prospect_infos input{
    width: 350px;
    height: 40px;
    margin: 5px;
    padding: 5px;
}
.overlay_prospect_infos select{
    width: 350px;
    height: 40px;
    margin: 5px;
    padding: 5px;
}
.overlay_prospect_infos textarea{
    width: 100%;
    height: 250px;
    margin: 5px;
}
.ctn_button{
    margin: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.btn{
    transition: 0.2s;
    margin: 5px;
    padding: 5px 10px;
    background-color: black;
    color: rgb(249, 249, 249);
    border: none;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.btn_export{
    background-color: green;
}
.btn:hover{
    opacity: 0.95;
    transform: scale(0.96);
}
.btn:active{
    opacity: 0.95;
    transform: scale(0.96);
}
.popup{
    font-weight: 600;
    position: absolute;
    top: 80px;
    left: 15px;
    padding: 10px 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}
.fa-check-circle{
    margin-left: 15px;
}
.green{
    color: green;
}
.red{
    color: red;
}
.orange{
    color: orange;
}
.white{
    color: white;
}
.mt50{
    margin-top: 50px;
}
.space_between{
    display: flex;
    justify-content: space-between;
}
.mauto{
    margin: 10px auto;
    text-align: center;
}
.show_user_name{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}
.logo_deco{
    width: 25px;
    margin-left: 20px;
    margin-right: 20px;
}
li{
    text-decoration: none;
    list-style: none;
}
.btn_del, .btn_update{
    cursor: pointer;
}
.btn_reactive{
    cursor: pointer;
    color: green;
}
.td_btn_del{
    color: red;
}
.msg_success{
    color: green;
    font-size: 25px;
    text-align: center;
    margin: 10px auto;
}
.success{
    color: green;
    font-weight: 600;
}
.msg_error{
    color: red;
    font-size: 25px;
    text-align: center;
    margin: 10px auto;
}
#input_dep{
    height: 40px;
}
.td_zclirdet{
    text-align: end;
    white-space: nowrap;
}
.td_zclirdet_tot{
    text-align: end;
    font-size: 20px;
}
.titre{
    margin: 10px auto;
    font-size: 20px;
    font-weight: 600;
}
.btn_extract_csv{
    height: 40px;
    margin: 3px;
    padding: 5px;
    cursor: pointer;
}
.comment2, .commentaire{
    padding: 10px;
}
.commentaire_rapport{
    max-width: 400px
}
.calendar{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    padding: 20px;
    border-radius: 10px;
    margin: auto;
}
.calendar_body{
    display: grid;
    grid-template-columns: repeat(7, 120px);
    grid-template-rows: repeat(5, 220px);
    grid-column-gap: 4px;
    grid-row-gap: 4px;
}
.case_day{
    width: 120px;
    height: 220px;
    cursor: pointer;
    z-index: 0;
}
.name_day{
    display: flex;
    width: 120px;
    margin: 2px;
}
.Monday, .Tuesday, .Wednesday, .Thursday, .Friday{
    background-color: rgb(201, 234, 255);
}
.Saturday, .Sunday{
    background-color: rgb(216, 216, 216);
}
.visite_client, .visite_prospect, .autre, .conge, .absence, .implantation, .AC{
    padding: 5px;
    margin: 1px auto;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    width: 90%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    justify-content: space-between;
}
.implantation{
    background-color: rgb(255, 121, 37);
    color: white;
}
.visite_client{
    background-color: green;
    color: white;
    font-size: 10px;
}
.visite_prospect{
    background-color: rgb(212, 255, 0);
    color: black;
    font-size: 10px;
}
.conge{
    background-color: rgba(255, 0, 0, 0.881);
    color: white;
}
.absence{
    background-color: rgb(68, 28, 121);
    color: white;
}
.autre{
    background-color: rgb(41, 255, 241);
    color: black;
}
.fa-trash{
    color: red;
}
.link_customer{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%,-50%);
}
.ctn_link_contact{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
}
.cursor{
    cursor: pointer;
}
.overlay_update_contact{
    position: absolute;
    top: 50%;left: 50%;
    width: fit-content;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: white;
    padding: 20px;
    z-index: 50;
    overflow: auto;
    max-width: 80%;
    max-height: 80vh;
}
.mask_overlay_update_contact{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(245, 245, 245);
    opacity: 0.8;
    z-index: 40;
}
.overlay_add_contact{
    position: absolute;
    top: 50%;left: 50%;
    width: fit-content;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: white;
    padding: 20px;
    z-index: 80;
    overflow: auto;
    max-width: 80%;
    max-height: 80vh;
}
.mask_overlay_add_contact{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(245, 245, 245);
    opacity: 0.8;
    z-index: 70;
}
.legende_table{
    color: white;
    background-color: rgb(28, 28, 28);
}
#searchbar_postal{
    width: 150px;
}

.menu_mobile{
    display: none;
}
.btn_menu_mobile{
    font-size: 30px;
    margin-right: 15px;
    cursor: pointer;
}
.ctn_link_mobile{
    transition: 0.2s;
    position: absolute;
    background-color: black;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0%;
    overflow: hidden;
    z-index: 10000;
}
.open{
    transition: 0.2s;
    height: calc(100vh - 60px);
}
.header_link_mobile{
    color: white;
    text-decoration: none;
    margin: 10px;
}
.ctn_stat_visite{
    margin: 5px auto;
    width: fit-content;
    padding: 20px 0;
    display: flex;
    align-items: end;
}
.ctn_stat_visite2{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}
.barre_visite{
    background-color: royalblue;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
}
.barre_visite01{
    background-color: royalblue;
    width: 20px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
}
.sect01{
    background-color: royalblue;
    width: 20px;
    height: 20px;
}
.barre_visite02{
    background-color: rgb(37, 219, 31);
    width: 20px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
}
.sect02{
    background-color: rgb(37, 219, 31);
    width: 20px;
    height: 20px;
}
.barre_visite03{
    background-color: rgb(210, 39, 39);
    width: 20px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
}
.sect03{
    background-color: rgb(210, 39, 39);
    width: 20px;
    height: 20px;
}
.barre_visite05{
    background-color: rgb(255, 169, 30);
    width: 20px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
}
.sect05{
    background-color: rgb(255, 169, 30);
    width: 20px;
    height: 20px;
}
.nb_visite{
    text-align: center;
}
.ctn_barre{
    width: fit-content;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.periode_visite{
    padding: 10px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flex_end{
    justify-content: flex-end;
    margin: 0 2px;
}
.legende{
    margin: 5px;
    align-items: center;
    font-size: 12px;
}
.mb30{
    margin-bottom: 30px;
}
.search_article, .search_des{
    display: flex;
    flex-direction: column;
    align-items: start;
}
.search_itmref{
    cursor: pointer;
    margin-top: 5;
    margin-bottom: 5px;
}
.search_itmref:hover{
    background-color: aliceblue;
}
.search_div{
    display: flex;
    flex-direction: column;
    max-height: 200px;
    overflow: auto;

}
.fonction{
    max-width: 60px;
    overflow: hidden;
}
.customer_table td{
    font-size: 12px;
}
.error_msg2{
    color: red;
}
.ml-10{
    margin-left: -20px;
}
.mw100{
    max-width: 100px;
}
.mw60{
    max-width: 60px;
}
.order_infos{
    cursor: pointer;
}
.AC{
    background-color: rgb(0, 157, 255);
}
.liens_utiles{
    color: black;
}
.ctn_liens{
    border-radius: 15px;
    background-color: rgb(255, 255, 255);
    margin: 20px;
    padding: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    
}
.h3_custom{
    text-align: start;
    margin-bottom: 20px;
}
@media screen and (max-width: 1000px) { /* iPad des commerciaux 1024px de large */
    /*///////////////////// MENU ///////////////////////*/
    .show_user_name{
        display: none;
    }
    .ul_header{
        display: none;
    }
    .menu_mobile{
        display: block;
    }
    
    /*///////////////////// ACCUEIL ///////////////////////*/
    .card{
        width: 120px;
        height: 120px;
    }
    .card_img{
        font-size: 30px;
    }
    .card_title{
        font-size: 12px;
    }
    .notes_de{
        display: none;
    }
}
  

@media screen and (max-width: 425px) { /* iPhone des commerciaux ???px de large */



}

#map_page .filters{
    width: 90%;
    margin: 0 5% 20px 5%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 7px;
    row-gap: 7px;
}
#map_page input, #map_page select{
    margin: 0;
}
#map_page #map {
    height: 600px;
    width: 90%;
    margin: 0 5%;
}
#map_page .map_footer{
    width: 90%;
    margin: 20px 5% 25px 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 15px;
    flex-wrap: wrap;
}

#map_page .map_footer .info{
display: flex;
align-items: center;
column-gap: 5px;
flex-wrap: nowrap;
}

#map_page .map_footer .info img{
    width: 20px;
    height: 30px;
}

#map_page .checkbox {
    width: 60px;
    height: 30px;
    font-size: 15px;
}

.form_map{
    display: flex;
    align-items: start;
    justify-content: center;
    width: 120px;
}

.form_map button, .filter_date, .maj_map, .add_prospect, .btn_remove_prospect{
    background: #000;
    width: 120px;
    color: #fff;
    border: none;
    border-radius: 3px;
    height: 40px;
    transition: 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    margin: 5px;
}
.btn_remove_prospect{
    background: rgb(161, 27, 27);
    height: 30px;
}

.form_map button:hover, .filter_date:hover{
    background: #444;
}

#date_start, #date_end{
    height: 40px;
}

.container_add_map{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
    margin: 7px 0;
}
.container_add_map input{
    width: 15px;
    height: 15px;
    margin: 0 5px 0 0;
    padding: 0;
}

.modal_container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal_container .modal{
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal_container.modal_new_prospect_map{
    align-items: flex-start;
    padding: 40px 0;
    overflow-y: scroll;
}

.modal_new_prospect_map input, .modal_new_prospect_map select, .modal_new_prospect_map textarea, .modal_new_prospect_map #code_client{
    width: 100%;
    max-width: none;
    resize: none;
    height: 40px;
}

.modal_new_prospect_map .commentaire{
    height: 100px;
}

.modal_new_prospect_map h3{
    margin: 20px 0 20px 0;
}

.modal_new_prospect_map .container_add_map{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5px;
    margin: 7px 0;
    column-gap: 5px;
}
.modal_new_prospect_map .container_add_map input{
    width: 15px;
}
.modal_new_prospect_map .btn{
    background: #000;
    width: 100%;
    max-width: 250px;
    color: #fff;
    border: none;
    border-radius: 3px;
    height: 40px;
    transition: 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    margin-top: 25px;
}
.modal_new_prospect_map p{
    margin: 3px 0;
}

.leaflet-control-attribution{
    display: none !important;
}

tbody tr.row_fam_detail{
    background: #ccc !important;
}

tbody tr.row_fam_detail_header{
    background: #000 !important;
    color: #fff !important;
    padding: 10px;
}

tbody tr button{
    background: none;
    border: none;
    cursor: pointer;
}

.link_no_decoration {
    text-decoration: none;
    color: #000;
}

.link_no_decoration:hover {
    color: #fff;
}