@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
.myCustomClass {
    border-color: #404040;
    background-color: #404040;
    color: white;
}

/* Khalil rajouter pour fixer la taille des collonnes de la table */
* {
    scroll-behavior: smooth;
}

.table.table-striped.table-bordered {
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}

.table.table-striped.table-bordered .dateRange {
    position: relative;
    width: 100%;
    padding: 5px;
}

/* changement de la recherche selon l'état */
#stateFilleul {
    padding: 5px;
}

/* changement du date picker */
.date-picker-wrapper .footer {
    position: relative;
    background: none;
    height: auto;
    width: auto;
}

.date-picker-wrapper .footer .shortcuts {
    display: grid;
    grid-template-columns: max-content min-content;
}

.dateRangeSelection {
    gap: 5px;
    display: grid;
    grid-template-columns: 90% min-content;
    align-items: baseline;
}

#initDateRange {
    display: none;
    position: relative;
}

#initDateRange:hover {
    color: #7fae37;
}

#initDateRange .initDateRangeTooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    font-family: Inter,Source Sans Pro,sans-serif;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    transition: visibility 0.5s, opacity 0.5s;
}

#initDateRange:hover .initDateRangeTooltip {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.5s, opacity 0.5s;
}

.dateRangeSelection span {
    position: relative;
}

.dateRangeSelection span #dateCreatedTooltip {
    visibility: hidden;
    opacity: 0;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    transition: visibility 0.5s, opacity 0.5s;
}

.dateRangeSelection span:hover #dateCreatedTooltip {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s linear;
}

#pointName {
    font-size: 0.8em;
}

#noResult {
    display: none;
}

/* Paiement Automatique */
#montantPaiementAuto::-moz-range-progress  {
    background: #93c840;
}
#montantPaiementAuto::-webkit-slider-thumb   {
    background: #93c840;
}

.range-value {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}
/* .fileUpload{
    position: relative;
    display: flex;
    justify-content: center;
    width: 80%;
    margin-left: 5%;
} */
.range-value input[type=range] {
    width: 60%;
}

.range-tooltip {
    position: absolute;
    right: 5%;
    bottom: -15%;
}

.range-tooltip span {
    width: 50px;
    height: 30px;
    line-height: 24px;
    text-align: center;
    background: #93c840;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    display: block;
    position: absolute;
    bottom: 80%;
    transform: translate(-50%, 0);
    border-radius: 6px;
}

.range-tooltip span:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 10px solid #93c840;
    bottom: 40%;
    right: 100%;
    margin-left: -5px;
    margin-top: -1px;
}

.autoActivated input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}

.autoActivated label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.autoActivated label:after {
    content: '';
    position: absolute;
    /* top: 5px; */
    left: 0px;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    border: #00000035 1px solid;
}

.autoActivated input:checked+label {
    background: #93c840;

}

.activation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.modal-dialog {
    margin: 15% auto;
}

.btnAuto {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.autoActivated input:checked+label:after {
    left: calc(100%);
    transform: translateX(-100%);
}
#invoiceAlert.active{
    bottom: 40px;
    animation-name: invoiceAlertShow;
    animation-duration: 0.7s;
    transition: 0.5s;
}
#invoiceAlert{
    position: fixed;
    bottom: -100px;
    right: 20px;
    width: 300px;
    z-index: 2;
    transition: 0.5s;
}
#invoiceAlert a {
    color: inherit;
    text-decoration: none;
    font-size: 16px;
}
@keyframes invoiceAlertShow{
    from {bottom:-100px;}
    to {bottom:40px;}
}
.transfertButton{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.confirmationMsg{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}
.detailRow{
    width: 2%;
}
.fixedCol{
    width: 10%;
}
/* Spinner */
.lds-ring {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    /* height: 80px; */
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid rgb(3, 3, 3);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #7fae37 transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  

/* fin des rajout de Khalil */
.row-eq-height {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
#filleulTable thead tr th:first-child{
    width: 2%;
}
#filleulTable thead tr th:nth-child(4),
#filleulTable thead tr th:nth-child(5),
#filleulTable thead tr th:nth-child(6){
    width:5%;
}
#filleulTable tbody tr td:nth-child(5),
#filleulTable tbody tr td:nth-child(6) {
    white-space: nowrap;
}

#filleulTable tbody tr td:nth-child(6) {
    width: 100%;
}

@media (min-width: 768px) {
    .row-eq-height-sm {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media (min-width: 993px) {
    .row-eq-height-md {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media (min-width: 1200px) {
    .row-eq-height-lg {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

html {
    min-height: 100%;
    position: relative;
}

body {
    font-family: Inter,Source Sans Pro,sans-serif;
    font-weight: 300;
    padding-top: 145px;
    margin-bottom: 60px;
}

body.login {
    background: url('../img/concept-partenariat-reunion-amis-unite-equipe.jpg') no-repeat top left / cover;
    padding-top: 0;
    margin-bottom: 0;
}


a {
    color: #1E1E1E;
    text-decoration: underline;
}

a:hover{
    color: #7fae37;
}

.green {
    color: #7fae37;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.hv-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.navbar {
    background:#fff;
    border: none;
    margin-bottom: 0;
}

.navbar-brand {
    background-image: url("../img/shopmind-full-black.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    line-height: 600;
    margin: 10px 15px 5px 0px !important;
    width: 280px;
    padding: 0;
}

.navbar-nav>li>a {
    padding-bottom: 22px;
    padding-top: 23px;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
    background-color: #93c840;
    color: #fff;
}
#bs-example-navbar-collapse-2 {background:#fff;}
#bs-example-navbar-collapse-1 .navbar-nav>li>a {
    color: rgba(255, 255, 255, 0.7) !important;
    background: none !important;
    transition: all .5s ease;
    font-size: 15px;
    text-decoration:none;
}

#bs-example-navbar-collapse-1 .navbar-nav>li>a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

#bs-example-navbar-collapse-2 .navbar-nav>li>a {
    color: #1E1E1E;
    text-decoration:none;
}
#bs-example-navbar-collapse-2 .dropdown-menu > li > a {
    text-decoration:none;
}
#bs-example-navbar-collapse-1 {
    background: #1E1E1E none repeat scroll 0 0;
    color: #ffffff;
    padding-left: 40px;
}

h1 {
    font-family: Inter,Source Sans Pro,sans-serif;
    font-weight: 300;
    margin: 0 0 30px;
    ;
    padding: 10px 15px;
    line-height: 2em;
    font-size: 2em;
}
h2 {
    font-family: Inter,Source Sans Pro,sans-serif;
    font-weight: 300;
    margin: 0 0 30px;
;
    padding: 10px 15px;
    line-height: 1.5em;
    font-size: 1.5em;
}
.login-box {
    padding: 40px;
    max-width: 440px;
    opacity: 1;
    left: 0;
    position: absolute;
    height: 100%;
    margin: 0;
    width: 420px;
    background-color: #ffffff;
    color:#1E1E1E;
}

.form-login {
    margin: 25px 0;
}

.btn.btn-default {
    background: #1E1E1E !important;
    color: #fff;
}

.btn.btn-default:hover {
    background: #93c83d !important;
    color: #ffffff;
}

.bold {
    font-weight: bold;
}

.grey {
    color: #707070 !important;
}

.login h1 {
    background: none;
    padding: 0;
    margin-bottom: 15px;
}

.logo-login {
    max-width: 270px;
    margin-bottom: 25px;
}

.login-form {
    margin-top: 15px;
}

.login-form label {
    color: #999;
    font-family: Inter,Source Sans Pro,sans-serif;
    font-weight: 300;
}

#resultat,#resultatPaiement {
    padding: 10px;
    color: #000000;
    margin-bottom: 15px;
    display: none;
}
#messagesForm {
    padding: 10px;
    color: #000000;
    margin-bottom: 15px;
}


.form-control {
    height: auto !important;
    padding: 10px 12px !important;
    border-radius: 4px !important;
}

input.form-control,
input[type="submit"],
.btn {
    border-radius: 0px;
}

.btn {
    -webkit-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
    text-decoration: none;
}

.btn-spm {
    background: #1E1E1E;
    color: #ffffff;
}

.btn-spm:hover {
    background: #7fae37;
    color: #ffffff;
}

.legend {
    padding-bottom: 15px;
}

.current-commission h3 {
    margin-bottom: 10px;
}

h3 {
    display: inline-block;
    margin-top: 0;
}

#commissionCurrent {
    font-size: 6em;
    color: #93c840;
    line-height: 1em;
}

.btn-float-left {
    float: left;
}

.btn-float-right {
    float: right;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: #222;
    color: #777;
    padding: 10px 0;
    z-index: 10;
}

.footer a {
    color: #93c840 !important;
}

@media all and (max-width: 767px) {
    body {
        padding-top: 50px;
    }

    body.login {
        margin-bottom: 0;
        padding-top: 0;
    }

    .login-box {
        width: 100%;
        min-width: 0px;
        height: 100%;
        border-radius: 0;
    }

    .logo-login {
        max-width: 270px;
        margin-bottom: 30px;
    }

    .login h1 {
        background: none;
        padding: 0;
        margin-bottom: 15px;
        font-size: 1.5em;
    }

    .navbar .container-fluid {
        padding: 0;
    }

    .container>.navbar-header,
    .container-fluid>.navbar-header,
    .container>.navbar-collapse,
    .container-fluid>.navbar-collapse {
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-fixed-top .navbar-collapse,
    .navbar-fixed-bottom .navbar-collapse {
        max-height: 100%;
    }

    .navbar-nav>li>a {
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .navbar-brand {
        margin: 0px 15px 0px 15px !important;
        width: 200px;
    }

    h3,
    .h3 {
        font-size: 1.5em;
    }

    #commissionCurrent {
        margin-bottom: 30px;
        font-size: 4em;
    }
}

#btnRandomCode {
    position: absolute;
    top: 0;
    z-index: 100;
    right: 10px;
    outline: none !important;
}

.dataTable .child .text-center, .dataTable .child .text-center {text-align: left!important;}

.loader-container {
    margin: 20px auto;
    width: 100px; /* Largeur de l'indicateur de chargement */
}

.loader-container p {
    margin-top: 10px; /* Marge au-dessus du message de chargement */
}

/* Animation de rotation de l'icône de chargement */
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-animation spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}
#current_commission_bloc {display:inline-block;padding:5px;background:#fff;border-radius: 5px;color:#1E1E1E;margin-top:17px;float:right;margin-right:20px;}
#current_commission_bloc span {font-weight: bold;}

.navbar-toggle .icon-bar {background:#1E1E1E;}

.chart_container {margin-bottom:30px;min-height:300px;}
.chart_container:not(.col-sm-12) .inner {max-width: 900px;
    margin: 0 auto;}

.datatable_container {width:100%;}

a.disabled {
    text-decoration: none;
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.button-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #3498db;
    animation: spin 1s linear infinite;
    margin-left: 5px;
}

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

.ai-button {
    display: inline-block;
    cursor: pointer;
    font-size: 25px;
    line-height: 25px;
    height: 25px;
    width: 25px;
    text-align: center;
    margin-bottom: 2px;
    border: 3px solid transparent;
    border-radius: 5px;
    background: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)) padding-box, linear-gradient(167deg, rgb(148, 200, 64) 0%, rgb(0, 153, 120) 50%, rgb(0, 114, 142) 100%) border-box;
    color: rgb(186, 191, 196);
    box-sizing: initial;
}
.ai-button i {
    color:#009978!important;
    font-size: 20px;
}
