/* rwriting sb menu min */
/*
#081F5C
#334EAC
#7096D1
#D0E3FF
#E7F1FF
#F9FCFF
*/
.bg-gradient-primary{
    background-color: #334EAC !important; /*334EAC*/ 
    background-image: linear-gradient(180deg, #7096D1 40%, #334EAC 100%) !important;
    background-size: cover !important;
}
.btn-primary{
    background-color: #334EAC !important;
}
.btn-secondary,.nav-pills .nav-link.active,.nav-pills .show>.nav-link {
    background-color: #7096D1 !important;
}
/*
https: //fontawesome.com/v5/search?p=2&o=r&m=free
*/
.menu_item_active {
    background: #F1F1F1 !important;
    color: black;
    font-weight: 700 !important;
}


/* Style pour les étiquettes */
.custom-icon {
    width: 150px !important;
    display: flex;
    justify-Content: flex-start;
}

.custom-icon .label-etab {
    color: black;
    font-size: 0;
}

.custom-icon:hover {
    cursor: pointer
}

.custom-icon i {
    margin-right: 5px;
}

.legend {
    padding: 8px 8px;
    font: 14px / 16px Roboto, Helvetica, sans-serif;
    background: rgb(144, 143, 143);
    /*background: rgba(255, 255, 255, 0.8);*/
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 200px;
}

.control-aire {
    padding: 6px 8px;
    background: white;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #999;
    border-radius: 5px;
    /*min-width: 105px;*/
}

/************* Tooltip *********************/
.custom-tooltip {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #333;
    border-radius: 5px;
    padding: 10px;
}

.custom-tooltip::before {
    border-left-color: rgba(255, 255, 255, 0.5);
}


/************** animation spin **************/
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-left: 50%;
    margin-top: 10%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/****************** CUSTOM sbadmin css ****************/

.nav-item>.collapse {
    z-index: 9999 !important;
}

.nav-item>.dropdown-menu.show {
    z-index: 9999 !important;
}

/************** PRINT *******************/
@media print {
    @page {
        size: landscape;
        margin: 0;
    }

    body {
        page-break-after: always;
    }
}

#div-map {
    display: block;
    page-break-before: always;
}

/***************** check box *************************/
/* Style du champ de case */
/*input[type="checkbox"] */
/* Style du champ de case custom-checkbox*/
input[type="checkbox"] {
    /* Masquer le champ de case par défaut */
    appearance: none;
    -webkit-appearance: none;

    /* Créer une boîte personnalisée */
    width: 15px;
    height: 15px;
    background-color: #e9efeafc;
    border-radius: 5px;
    border: 1px solid #4b8996;

    /* Style pour l'état coché */
    &:checked {
        background-color: #e09c35;
        border: 2px solid #2abc1f;
    }
}



/* Style du label */
.custom-checkbox-label {
    margin-left: 8px;
    font-size: 16px;
    color: #333;
}

#check-move {
    /* Masquer le champ de case par défaut */
    appearance: none;
    -webkit-appearance: none;

    /* Créer une boîte personnalisée */
    width: 30px;
    height: 30px;
    background-color: #e9efeafc;
    border-radius: 15px;
    border: 2px solid #000;

    /* Style pour l'état coché */
    &:checked {
        background-color: #e09c35;
        border: 2px solid #2abc1f;
    }
}

/* Style du label */
#lbl-chkmv,
#table_EtabNonPointe_body tr {
    cursor: pointer;
}

/* FORMULAIRE FILTRE ************************************ */
.filter-form {
    background: #ffffff;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    /*max-width: 500px;*/
    margin: 2rem auto;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
}
.label {
    font-size: 8px;
    font-family: "Roboto", 'Courier New', Courier, monospace;
}
.form-control {
    border-radius: 8px !important;
    border: 2px solid #e9ecef !important;
    transition: all 0.3s ease;
    height: calc(1.5em + .75rem + 2px) !important;
    padding:.375rem .75rem !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5 !important;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
}

.form-control:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.btn-apply {
    /*background: linear-gradient(45deg, #007bff, #00b4d8);*/
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/*********** RADIUS *************/
.range_radius {
    display: flex;
    align-items: center;
}
#radius_value{
    margin-left: 10px;
    font-weight: bold;
}