/******************  Global css  ********************/

span[class~=btn] {
    cursor: pointer;
}


/******************  index.php  ********************/

#content {
    min-height: 600px;
}

.container-fluid h1 {
    padding-top: 15px;
    padding-bottom: 10px;
}


/******************  menu.php  ********************/

.sidebar-brand {
    margin-top: 16px;
    margin-bottom: 10px;
}

.sidebar-brand-icon img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    background-color: white;
}

.nav-link {
    /* height: 42px !important; */
    padding: 7px 16px !important;
    vertical-align: middle;
}

.date-menu {
    height: 55px !important;
    padding-top: 0px !important;
}

.sidebar-divider {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}


/******************  login.php  ********************/

.login-container {
    border-radius: 8%;
    padding: 15px;
}

@media only screen and (max-width: 600px) {
    .login-container {
        border-radius: 4%;
        padding: 0px;
    }
}


/******************  tableau_de_bord.php  ********************/

.chart-li {
    cursor: pointer;
}


/******************  caisse.php  ********************/


/*****************  especescaiss.php  *******************/

.hidden-controls::-webkit-calendar-picker-indicator {
    display: none;
}


/******************  cmdvendeur.php  ********************/

.table-commandes td:nth-child(7) {
    width: 180px;
}

.table-commandes td:nth-child(7) .btn {
    font-size: 14px;
}

.table-commandes td:nth-child(7) .btn i {
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-self: center;
}


/******************  Rapid.php  ********************/


/*container global */

.container-fluid {
    padding: 0px 10px;
    background-color: #EBEBEB;
}

.container-caisse {
    position: relative;
    /* top: -24px */
}

.section {
    text-align: center;
    font-size: 14px;
    border: 1px solid gray;
    min-height: 600px;
}

.row {
    margin-bottom: 0px;
}

.innerSection {
    text-align: center;
    border-bottom: 1px solid gray;
    /* justify-content: center; */
}


/*bnt modifier cmd*/

.btnModifCmd {
    text-align: center;
    padding: 0px;
    padding-top: 6px;
    font-size: 16px;
    position: absolute;
    right: 0px;
    top: 0%;
    /* top: 10px; */
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #ffc107;
    color: white;
    font-size: 13px;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
}

.btnModifCmd:active {
    background-color: #f7bd0f;
}

.btnModifCmd.disabled {
    /* cursor: not-allowed;
    background-color: #858796; */
    display: none !important;
}

.liCmd:hover {
    background-color: #486DDA;
    color: white;
}


/*categorie*/

.sectionTop {
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 20px;
}

.categorie {
    width: 75px;
    height: 100px;
    cursor: pointer;
    justify-content: center;
    transition: transform .2s;
    overflow-wrap: break-word;
    /*unselectable*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-right: 10px;
    line-height: 125%;
}

.categorie div {
    border: 1px solid gray;
    width: 75px;
    height: 75px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    image-rendering: optimizeQuality;
    border-radius: 50%;
}

.categorie span {
    inline-size: min-content;
    color: black;
    justify-content: center;
    font-weight: bold;
}

.categorie:hover {
    transform: scale(1.20);
    opacity: 1;
    z-index: 2;
}

.current {
    transform: scale(1.20);
}

.current div {
    border-width: 3px;
    border-color: #486DDA;
}


/*Produits*/

.sectionBottom {
    border: none;
    /* padding: 10px 5px; */
    padding: 10px 7px;
    margin: 0px;
    overflow: hidden;
}

.Produit-containter {
    /* margin: auto; */
    padding: 0px !important;
    margin: 0px !important;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    overflow: visible;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateY(-1000%);
    }
    100% {
        transform: translateY(0);
    }
}

.Produit-containter form {
    padding: 0px;
    min-width: 141px;
    animation: slideInFromLeft ease 0.3s;
    overflow: visible;
}

.produits {
    text-align: center;
    height: 140px;
    width: 140px;
    min-width: 140px;
    font-size: 14px;
    padding: 0px;
    border: 1px solid gray;
    cursor: pointer;
    float: left;
    margin: 5px 0px;
    overflow-wrap: break-word;
    transition: transform .2s;
    background-color: rgb(235, 235, 235);
    background-size: contain;
    background-repeat: no-repeat;
    /* background-size: cover; */
    background-position: center center;
    display: grid;
    grid-template-rows: 1fr 2fr 1fr;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    align-self: center;
    border-radius: 10%;
    overflow: hidden;
    position: relative;
}

.produits:focus,
.Produit-containter form:focus {
    border-radius: 10%;
    outline: 0;
    box-shadow: 0 0 0 3px #486DDA;
}

.produits:hover {
    transform: scale(1.1);
    opacity: 1;
    z-index: 2;
}

.produit-Lib {
    display: block;
    color: black;
    grid-row: 1;
    font-weight: bold;
}

.produit-prix {
    display: block;
    background-color: white;
    color: red;
    margin-top: 25px;
    grid-row: 3;
    border-top: 1px solid gray;
    font-style: italic;
}

.produit-image {
    width: 100%;
    height: 100%;
}


/*Facture*/

.facture {
    background-color: #F1F1F1;
    padding: 0px;
}

.listFacture {
    height: 70%;
    width: 100%;
    overflow: scroll;
}

.listFacture tr {
    border: 1px solid lightgray;
    background-color: white;
    min-height: 40px;
    padding: 0px 5px;
    width: 100%;
    display: flex;
    align-items: center;
}

.listFacture tr:hover,
.listFacture tr:hover div {
    background-color: #486DDA;
    color: white;
    cursor: pointer;
}

.listFacture tr td:nth-child(3) {
    width: 60%;
    /* width: 150px; */
    text-align: left;
}

.listFacture tr td:nth-child(4) {
    width: 15%;
    min-width: 50px;
    padding: 0px;
    margin: 0px;
}

.listFacture tr td:nth-child(5) {
    width: 25%;
    min-width: 53px;
    padding: 0px;
    margin: 0px;
}

.listFacture tr td:nth-child(6) {
    width: 5%;
    min-width: 13px;
}

.quantite {
    width: 50px;
    height: 25px;
    padding: 0px;
    text-align: right;
}

.prixProduitFacture {
    color: black;
    font-weight: bold;
}

.listFacture .btn {
    color: red;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: fit-content;
    height: fit-content;
    padding: 0px;
    box-shadow: none;
}

.divtotal {
    /*position: absolute;

    bottom: 0px;*/
    margin: 15px 15px;
}

.total {
    font-size: 16px;
    float: left;
    text-align: left;
}

.total div {
    color: red;
    float: right;
}


/*.total span {}*/

.totalbtn {
    width: 100%;
}

.totalbtn span {
    width: 97px;
    /* margin: 0px 5px; */
    margin-left: 5px;
    font-weight: bold;
}

.totalbtn .disabled {
    cursor: not-allowed;
}


/******************  role.php  ********************/

.list-role {
    border-radius: 5px;
    background-color: white;
    padding: 20px;
    margin-left: 0px;
}

.selected-chart-li {
    background-color: #486DDA;
    color: white;
}

.selected-chart-li:hover {
    background-color: #486DDA;
    color: white;
}