/* Page login */
#login .login-box,
#mdpOublie .login-box,
#passwordReset .login-box,
#compte .login-box,
#creationCompte .login-box {
    max-width: 420px; 
    height: 100vh;
    float: right;
}

#login .login-msg,
#compte .login-msg,
#mdpOublie .login-msg,
#passwordReset .login-msg,
#creationCompte .login-msg {
    padding: 0;
    font-weight: 600;
    margin-bottom: 10px;
}

#login .login-box .card,
#compte .login-box .card,
#mdpOublie .login-box .card,
#passwordReset .login-box .card,
#creationCompte .login-box .card {
    height: 100%;
    background: inherit;
}

#login .login-box .card .login-card-body,
#compte .login-box .card .login-card-body,
#mdpOublie .login-box .card .login-card-body,
#passwordReset .login-box .card .login-card-body,
#creationCompte .login-box .card .login-card-body {
    background: rgba(255,255,255,1);
}

#login .login-box .logo,
#compte .login-box .logo,
#mdpOublie .login-box .logo,
#passwordReset .login-box .logo,
#creationCompte .login-box .logo {
    width: 100%;
    min-height: 120px;
    margin-top: 20px;
    margin-bottom: 40px;
}

#login .login-box .logo > img, 
#compte .login-box .logo > img, 
#mdpOublie .login-box .logo > img,
#passwordReset .login-box .logo > img,
#creationCompte .login-box .logo > img  {
    max-width: 100%;
}

#login, #mdpOublie, #passwordReset, #creationCompte, #compte {
    background-color: lightgrey;
}

#login .container-fluid,
#login .content-wrapper > .content,
#compte .container-fluid,
#compte .content-wrapper > .content,
#mdpOublie .container-fluid,
#mdpOublie .content-wrapper > .content,
#passwordReset .content-wrapper > .content,
#passwordReset .container-fluid,
#creationCompte .content-wrapper > .content,
#creationCompte .container-fluid{
    padding: 0;
}

body {
    position: relative;
}

body#login, body#mdpOublie, body#passwordReset, body#creationCompte, body#compte {
    width: 100%;
    height: 100%;
    display: block;
    /*background: url('/public/img/background/default.jpg');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#login .content-wrapper, 
#compte .content-wrapper, 
#mdpOublie .content-wrapper,
#passwordReset .content-wrapper,
#creationCompte .content-wrapper{
    background-color: transparent!important;
}

i.card-top {
    font-size: 50px;
    width: 100%;
    text-align: center;
    background-color: rgb(240, 240, 240);
    height: 150px;
    line-height: 150px;
}

img.card-img-top {
    height: 150px;
    background-color: rgb(240, 240, 240);
}

i.card-top.fa-folder {
    color: orange;
}

#files .card:hover {
    cursor:pointer;
}

i.fa-check {
    background-color: white !important;
    border: 2px solid #28a745;
    color: #28a745 !important;
}

.carousel-item > img {
    max-height: 400px;
    object-fit: cover;
}

.imgPreview{
    max-width: 150px;
}
.fileGimiweb, .openPhoto{
    object-fit: contain;
}

#home .info-box {
    min-height: 120px;
}

.minSizeCarousel{
    min-height: 400px;
}

/* Timeline */
.timeline > div::before {
    display: table;
    position: absolute;
    background-color: #dee2e6;
    bottom: 0;
    content: "";
    left: 31px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
}

.timeline > div > .fa, .timeline > div > .fas, .timeline > div > .far, .timeline > div > .fab, .timeline > div > .fal, .timeline > div > .fad, .timeline > div > .svg-inline--fa, .timeline > div > .ion {
    z-index: 2;
}

.timeline::before {
    background-color: transparent;
}

.timeline > div {
    margin-bottom: 0;
    padding-bottom: 15px;
}

.timeline > div.valid::before {
    background-color: #28a745;
}

.timeline > div:last-child:before {
    width: 0;
    height: 0;
} 
/* Timeline */


.pourcentageDejaRegle {
    background-color: rgb(236, 108, 108);
}
.pourcentageSolde {
    background-color: rgb(236, 183, 183);
}
.pourcentageResteRegle {
    background-color: rgb(238, 230, 230);
}
.pourcentageFacture {
    background-color: rgb(62, 165, 76);
}
.pourcentageResteFacture {
    background-color: rgb(200, 240, 205);
}
.pourcentageLegend {
    width: 50px;
    height: 23.98px;
}

.progressPourcentage {
    height: 23.98px!important;
}

.noWrap {
    white-space: nowrap;
}

@media screen AND (max-width:780px) {
    #login .login-box,
    #compte .login-box,
    #mdpOublie .login-box,
    #passwordReset .login-box,
    #creationCompte .login-box {
        float: none;
        margin: auto;
        height: auto;
    }

    #login .login-box .card .login-card-body,
    #compte .login-box .card .login-card-body,
    #mdpOublie .login-box .card .login-card-body,
    #passwordReset .login-box .card .login-card-body,
    #creationCompte .login-box .card .login-card-body {
        background: rgba(255,255,255,0.8);
    }

    #login .login-box .card .card-body,
    #compte .login-box .card .card-body,
    #mdpOublie .login-box .card .card-body,
    #passwordReset .login-box .card .card-body,
    #creationCompte .login-box .card .card-body {
        border-radius: 10px;
    }

    #login .container-fluid,
    #compte .container-fluid,
    #mdpOublie .container-fluid,
    #passwordReset .container-fluid,
    #creationCompte .container-fluid {
        padding: 10px;
    }

    /* .timeline.d-flex {
        display: block !important;
    } */
    
    .fontTable {
        font-size: 70%;
    }  
    .fontTitle {
        font-size: 95%;
    } 
    h3.phraseAccueil{
        font-size: 1.2rem;
    }
    .chart {
        position: relative;
        width: 200px;
        height: 100px;
        overflow: hidden;
    }
    /*
    .pourcentageLegend {
        width: 30px!important;
        height: 16px!important;
    }
    
    .progressPourcentage {
        height: 16px!important;
    }
    */
    .blocFixeTel {
        width: 100%;
        margin-top: 1em;
    }
    .minSizeCarousel{
        min-height: 200px;
    }
}


/* Timeline PC */
/* @media screen and (min-width: 779px) {
    .timeline {
        display: flex !important;
    }

    .timeline > div > .timeline-item {
        margin-left: 20px;
    }

    .timeline > div::before {
        display: table;
        position: absolute;
        background-color: #dee2e6;
        bottom: 0;
        content: "";
        left: 31px;
        margin: 0;
        position: absolute;
        top: 12px;
        width: 100%;
        height: 4px;
    }

    .timeline > div {
        padding-top: 37px;
    }

    .timeline-header > span {
        white-space: nowrap;
    }

    .timelineWrapper {
        overflow: hidden;
    }

    .timelineWrapper .timeline {
        margin-right: -16px;
    }
  
    .chart {
        position: relative;
        width: 350px;
        height: 175px;
        overflow: hidden;
    }
} */
/* !Timeline PC */

.tailleFixe {
    height:145.59px;
}

.info-box-icon-large {
    border-radius: 0.25rem;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.875rem;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 170px;
}

/* style des demi cercle */  
.chart {
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    position: relative;
}

.chart *,  .chart::before {
    box-sizing: border-box;
}
    
.chart::before, .chart::after {
    position: absolute;
}
    
.chart::before {
    content: '';
    width: inherit;
    height: inherit;
    border: 45px solid #aeaeae;
    border-bottom: none;
    border-top-left-radius: 175px;
    border-top-right-radius: 175px;
}

.chart div {
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: inherit;
    border: 45px solid #aeaeae;
    border-top: none;
    border-bottom-left-radius: 175px;
    border-bottom-right-radius: 175px;
    transform-origin: 50% 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-duration: .4s;
    animation-timing-function: linear;
    
}
  
.chart div:nth-child(2) {
    z-index: 4;
    border-color: rgb(4, 0, 255); 
    transition: all 2s; 
}

.chart span {
    position: absolute;
    font-size: 18px;
    backface-visibility: hidden;
    color: white;
    animation: fade-in .4s linear forwards;
}
    
.chart .candidate-one-percentage {
    top: 10px;
    left: -35px;
    transform: rotate(-90deg);
}

.chart .candidate-two-percentage {
    top: -35px;
    left: -35px;
    transform: rotate(-90deg);
}

/* .pourcentage {
    color: red;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    text-align: center;
} */

.bloc-couleur {
    display:inline-block; width:150px; height:150px;
    border:1px solid grey;
    position:relative;  
    overflow:hidden;
    text-align:center;
    vertical-align:middle;
    line-height:150px;
  }
  .bloc-double:before,
  .couleur-remplissage:after{
    content:'';  display:block;
    position:absolute; bottom:0; top:0; left:0; right:0; z-index:1;
    background-color: rgb(171,220,40);
    transition : 0.35s ease-in-out;
    transition-property : top, bottom, left,right, border-width;
  }
  #enarriere:checked ~ .bloc-couleur div{
    position:relative; z-index:3;
  }
.to-right-top:after{ right:100%; top:100%; }
.to-right-top:hover:after{ right:0; top:0; }

#pdfPreview {
    width: 100%;
    height: 80vh;
}

#imgPreview {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.fixeSize{
    max-height: 500px;
    overflow-x: auto;
}

.signatureImg{
    max-height: 150px;
}

.logoPreview {
    max-height: 150px;
    max-width: 200px;
}
.uploadImg {
    display: none;
}

.bg-primary, .btn-primary, .card-header, .nav-link.active,.btn-primary:hover,.nav-link:hover, .blocSombre, .card-primary {
    border-radius: 10px !important;
}
.card-header {
    border-radius: 10px 10px 0px 0px !important;
}

.blocSombreAngleBas{
    border-radius: 0px 0px 10px 10px !important;
}

.btnDeleteContact, .btnDeleteFrise, .btnDeletePhase, .deleteImg{
    color:red;
    cursor:pointer
}

.moveLine, .btnInsertFrise, .btnInsertPhase, .btnDesactivePhase, .imgPreview{
    cursor:pointer;
}

.desactivePhase {
    width:40px;
}
.moveLine{
    width: 42px;
}

.blocImg{
    position: relative;
    max-height: 150px;
    max-width: 200px;
}
.deleteImg{
    position: absolute;
    top:0;
    right:0;
}
.filepdf{
    color: red;
}

/* Documents */
.blocDoc {
    cursor: pointer;
}

.blocDoc > i {
    font-size: 30px;
}

/* .iconeDos {
    color: orange;
} */

.blocDoc > img:hover,  .blocDoc > h5:not(.nonCliquable):hover, .blocDoc > a > h5:hover   {
    opacity: 0.7;
}

.blocDoc > h5, .nomFile {
    font-size: 17px;
    font-weight: 500;
}

/* .btnTelecharger{
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    
}
.blocDoc:hover .btnTelecharger{
    display:block;

} */

.sizeNomFile {
    max-width: 200px;
    max-height: 20px;
    overflow: hidden;
}
.nonCliquable {
    cursor:default;
}
.iconeDownload {
    cursor: pointer;
}

/* Facturation */

.pourcentageLegend {
    width: 20px;
    height: 20px;
    border-radius: 20px !important;
}

#selectDateFrise:hover, .btnInsertFrise:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* Timeline */
.timeline-header > span {
    color:#FFFFFF;
    font-size: 1rem;
    font-weight: 400;
}
.timeline-header{
    border-radius: 5px 5px 0px 0px !important;
}

.messageAlert{
    font-size: 15px;
    text-align: center;
}

.visuClient{
    cursor: pointer;
}
.fixed-button {
    position: fixed;      /* Rend le bouton fixe par rapport à la fenêtre */
    bottom: 20px;         /* Distance du bas de la page */
    right: 20px;          /* Distance de la droite de la page */
    padding: 10px 20px;   /* Ajoute un peu de padding pour le style */
    border: none;         /* Supprime les bordures */
    cursor: pointer;      /* Change le curseur au survol */

}

#spinnerDocument {
    display: none; 
    text-align: center; 

}

.files-wrapper {
    position: relative;
}
.spinner-overlay > i {
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);

}
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}