/*--------- IF USER IS IMPERSONATED -----------*/
.user-impersonated {
    background-color: #ffc107;
    color: white;
    max-height: 120px;
}

/*-------accueil-------*/

#main_root2 {
    display: flex;
    flex-direction: column;
}

pas vraiment une maladie c'est une rage de dent
 .container-truncate {
    height: 280px;
    overflow: hidden;
}

.text-truncate {
    line-height: 1.2em;
    padding-top: 0;
    margin-top: 2px;
    white-space: pre-wrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*--------- ToutAgence -----------*/
/*  CLASSE MAIN UTILISEE POUR LISTE COMMANDES, CONTRATS, FACTURES */

.main {
    max-width: 1260px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-right: 50px;
    padding-left: 50px;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    text-align: justify;
    text-justify: inter-word;
    font-size: 1.02em;
    font-weight: normal;
    /*line-height: 22px;*/
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    color: #555;

}

/* FIN MAIN  */

/* since bootstrap 5 dropped this class */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

footer {
    /* min-height: 210px; */
}

.vignette {
    width: 40px;
    height: 40px;

}

.logo {
    max-width: 120px;
    max-height: 65px;
    min-width: 120px;
    min-height: 65px;
    background-position: center;
    background-size: contain;
}

.btn-logout {
    margin-top: -36px;
    margin-right: 39px;
}

.bottom-shadow {
    box-shadow: 0 8px 6px -7px #00000047;
}

.top-shadow {
    box-shadow: 0 -7px 10px -6px #00000047;
}

.bg-white-opacity {
    background-color: #ffffff96;
    border-radius: 1px solid white;
}

.full-size {
    min-height: 650px;
}

/* a voir si utiliser RH */
.flip-horizontally {
    transform: scaleX(-1);
}

.arrow {
    max-width: 27px;
    max-height: 19px;
}

.icones {
    max-height: 40px;
}

.spacing {
    margin-left: 3rem;
    padding-top: 42px;
    min-height: 120px;
}

/* a voir RH */
.zoom {
    transition: transform .2s;
    /* Animation */
    /* margin: 0 auto; */
}

.zoom:hover {
    transform: scale(1.1);
    box-shadow: -14px 8px 6px -3px rgba(97, 97, 101, 0.2);
    background-color: #ffffff69;
}

/*---------- USER dropdown navbar --------  */
/*.dropdown-user {*/
/*    left: 50% !important;*/
/*    right: auto !important;*/
/*    text-align: center !important;*/
/*    transform: translate(-50%, 0) !important;*/
/*}*/

.dropdown-user a {
    padding: .3rem 1rem !important;
    height: 1.8rem !important;
    text-align: center;
}



/*----------Planning -- indispo --------  */
/* PlanningJquery */

.calendar .header {
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.calendar .month {
    display: inline-block;
    font-weight: bold;
}

.calendar button {
    background: none;
    color: inherit;
    cursor: pointer;
    font-family: Consolas;
    height: 100%;
    padding: 0 15px;
}

.calendar button:first-child {
    float: left;
}

.calendar button:last-child {
    float: right;
}

.calendar .cell {
    color: #5d5d5d;
    box-sizing: border-box;
    display: inline-block;
    padding: 10px 0;
    text-align: center;
    border-radius: 0rem !important;
    width: calc(100% / 7);
    height: 60px;
}

.calendar .day {
    font-size: .75rem;
    padding: 8px 0;
}

.calendar.cell.btn {
    background-color: gainsboro;
    opacity: 0.7;
}

.calendar .cell.btn:hover {
    background-color: gainsboro;
    opacity: 1;
}

.alert-success {
    background-color: #5df3b5 !important;
    color: #007b1c !important;
}

.alert-danger {
    background-color: #e20e22 !important;
    color: #f7dcdc !important;
}

.bg-white-calendar {
    background-color: #ffffff96;
    border-radius: 1px solid white;
}

/* FinPlanningJquery */

.padding-perso {
    padding-left: 2rem !important;
}

.legende-cube {
    height: 10px;
    width: 10px;
    margin-bottom: 2%;
}

.indispo-color {
    background-color: #ff2e2e;
    border-top: 1px solid #ffd3d3 !important;
    border-left: 1px solid #ffd3d3 !important;
    border-right: 1px solid #4f0606 !important;
    border-bottom: 1px solid #4f0606 !important;
}

.contrat-color {
    background-color: #f8c19d !important;
    /*cursor: not-allowed;*/
}

.contrat-souplesse-color {
    background-color: #d8b423 !important;
}

.font-size-indispo {
    font-size: 0.8rem !important;
}

/*---Fin planning-----  */
/*---apparition bloc aide-----  */
.border-end-grey {
    border-Right: dashed 1px grey;
}

.hidden {
    width: 0px;
    height: 0px;
    visibility: hidden;
}

.visible {
    width: 100%;
    visibility: visible;
}


/* affiche 'Choisir' et non pas 'Browse' sur le bouton de chargement de fichier bootstrap */
.custom-file-input~.custom-file-label::after {
    content: "Choisir...";
}

.hide {
    display: none;
}

#sem-releve {
    margin-bottom: 5px;
}

.table th,
.table td {

    border-top: 0px solid !important;
}

th {

    border-bottom: 0px solid !important;
}

/* page profil */

/* .custom-file-input ~ .custom-file-label:lang(fr)::after {
    content: "Choisir...";
    padding pour bien arrondir l'image
  } */

.padding-rounded {
    padding: 5%;
}

.border-grey-dashed {
    border: 1px dashed #54575a !important;
}

.border-end-hidden {
    border-Right: dashed 1px grey;
    visibility: visible;
}

/*  #social-icons {*/
/*    display: inline-block;*/
/*}*/

/*  #social-icons img{*/
/*      max-height: 50px;*/
/*      max-width: 50px;*/
/*      display: inline-block;*/
/*  }*/
/*  */


/* end page profil */
/* Progressebar */
#progressBar {
    position: relative;
    width: 100%;
    height: 30px;
    background-color: #ddd;
}

.jauge {
    height: 12px;
}

.securitynone {
    width: 25%;
    background: rgb(153, 10, 10);
    background: linear-gradient(90deg, rgba(153, 10, 10, 1) 0%, rgba(253, 29, 29, 1) 72%, rgba(252, 127, 69, 1) 100%);
}

.securityMiddle {
    width: 50%;
    background: rgb(255, 2, 2);
    background: linear-gradient(90deg, rgba(255, 2, 2, 1) 0%, rgba(253, 209, 29, 1) 50%, rgba(236, 252, 69, 1) 100%);
}

.securityStronge {
    width: 90%;
    background: rgb(255, 2, 2);
    background: linear-gradient(90deg, rgba(255, 2, 2, 1) 0%, rgba(253, 209, 29, 1) 50%, rgba(69, 252, 173, 1) 100%);
}

.jaugeColorChecked {
    color: #13f18c;
}

.jaugeColorFalse {
    color: rgb(255, 2, 2);
}

.flex-grow-password {
    flex-grow: 1;
}

.margin_view_password {
    margin-top: 1.9em;
    margin-bottom: 3.6em;
    max-height: 2.6em;
}


/* Fin Progressebar */
.invisible {
    color: transparent;
}

/* Nouvelles règles si la fenêtre fait au plus 1024px de large */
@media screen and (min-width: 1580px) {
    .padding-perso {
        padding-left: 6rem !important;
    }

    .spacing {
        margin-left: 3.5em;
        min-height: 130px;
    }


}

@media screen and (max-width: 1390px) {

    .padding-perso {
        padding-left: 0rem !important;
    }

    .border-end-hidden {
        border-Right: dashed 1px #80808000;

    }
}

@media screen and (max-width: 1200px) {

    .hidden {
        width: 100%;
        height: 0px;
        visibility: hidden;
    }
}

@media screen and (max-width: 991px) {
    .spacing {
        margin-left: 0;
    }

    .py-3 {
        padding-top: 0.5rem !important;
        text-align: center;
        padding-bottom: 0.5rem !important;
    }

    .dropdown-list {
        margin-left: 20%;
        margin-right: 20%;
        position: relative !important;

    }



}

/* TODO empêcher le zoom sur la photo sur de petits écrans */
/* ce code ne marche pas */
@media screen and (max-width: 768px) {
    .vignette-md .zoom .zoom:hover {

        transition: none;
        transform: none;
    }

}

@media only screen and (min-width: 480px) and (max-width: 989px) {

    .dropdown-user {
        left: 20% !important;
        right: 20% !important;

    }
}

@media only screen and (max-width: 480px) {
    .dropdown-user {
        left: 2% !important;
        right: 2% !important;

    }
}

/*login*/



/* ///////////////////////////////////////////////
// FRC Indispo
////////////////////////////////////////////////*/

@media print {
    body {
        -webkit-print-color-adjust: exact;
    }
}

.disable_div {
    cursor: wait;
    /*background-color: #797979;*/
    pointer-events: none;
    opacity: 0.3;

}

.btn {
    border: 1px solid #b7b7b7;
}

#parent {
    border: none;
}

/*User Dropdown large screen */

@media screen and (min-width: 978px) {
    .user-profile {
        padding-right: 15px;
    }

}

.dropdown-item:hover {
    color: #2b2b2b !important;
}

/*table rows with link */
.clickable-row-commande:hover {
    cursor: pointer;
}

.clickable-row-contrat:hover {
    cursor: pointer;
}

/* RELEVE STAR RATING */

.rating {
    display: flex;
    flex-direction: row-reverse;



}

.rating>input {
    display: none
}

.rating>label {
    position: relative;
    width: 1em;
    font-size: 2vw;
    color: #FFD600;
    cursor: pointer;
}

.rating>label::before {
    content: "\2605";
    position: absolute;
    opacity: 0
}

.rating>label:hover:before,
.rating>label:hover~label:before {
    opacity: 1 !important
}

.rating>input:checked~label:before {
    opacity: 1
}

.rating:hover>input:checked~label:before {
    opacity: 0.4
}

.rating-div {
    width: 100%;
}

/*body {*/
/*    background: #222225;*/
/*    color: white*/
/*}*/

h6,
p {
    text-align: center
}



p {
    font-size: 1.2rem
}

.modal-header {
    border-bottom: 0px !important;
    font-style: italic;
    margin-bottom: -5px !important;
}

.modal-footer {
    border-top: 0px !important;
    margin-top: -25px !important;
}

textarea {
    min-height: 120px;
}


@media only screen and (max-width: 768px) {
    .user-impersonated {
        max-height: 220px;
    }

    #main_root {
        margin-top: 45px !important;
    }

    .rating {
        margin-top: -10px;
    }

    .rating>label {
        width: 1em;
        font-size: 1.6rem;

    }

    /* hauteur navbar sur petits écrans */
    .navbar-collapse {
        height: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .rating {
        margin-top: -10px;
    }

    .h6-avis {
        margin-top: -5px !important;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .rating {
        margin-top: -10px;
    }

    .h6-avis {
        margin-top: 10px !important;
    }
}

@media (min-width: 1200px) {

    .h6-avis {
        margin-top: 17px !important;
    }
}

/*dataTable bg*/

table.dataTable thead .sorting_desc {
    background-image: url(../images/icones/isort-down.png) !important;
}

table.dataTable thead .sorting_asc {
    background-image: url(../images/icones/isort-up.png) !important;
}

.dataTables_info {
    text-align: left !important;
    font-size: 14px !important;
}

.dataTables_length {
    font-size: 14px !important;
}

.dataTables_filter {
    font-size: 14px !important;
}

.dataTables_paginate {
    font-size: 14px !important;
}