/* ===== LOGIN ====== */

#formulaire-connexion label, #formulaire-connexion i, .card-projet, .projet-historique, .tableau-de-bord p, .document-recherche i{
    color: #8A8A8A;
}

#formulaire-connexion .btn:hover, #formulaire-connexion .btn:active, #formulaire-connexion .btn:focus{
    border-color: transparent;
}

h1{
    color: #333;
    font-weight: bold;
}

.h2, h2{
    color: #333;
    font-size: 1.6rem;
}

.login{  
    border-radius: 5px;
    margin: 0 auto;
    width: 450px;
    text-align: center;
    padding: 30px;
}


.form-signin{
    width:300px;
    margin:10px auto;
}

.row.row-login{
    margin: 0;
    height: 100vh;
    align-items: center;
}

.row.row-login .col-lg-6{
    margin: auto;
}

.card.login-card{
    padding-top: 50px;
    padding-bottom: 50px;
    box-shadow: 0 0 5px 0 #ddd;
}

.login .card-title{
    margin: 30px 0;
}

.login .list-group{
    margin-bottom: 30px;
}

.login label{
    text-align: left;
}

.form-erreur{
    display: none;
}

.customCheckboxMdp{
    position: absolute;
    top: 1px;
    right: 1px;
    z-index: 1;
    height: calc(100% - 2px);
    width: 38px;
    display: flex;
    align-items: center;
}

.customCheckboxMdp i{
    cursor: pointer;
    margin: auto;
}

.customCheckboxMdp i:hover, .customCheckboxMdp i:active, .customCheckboxMdp i:focus{
    color: #000;
}

.form-control{
    border: 2px solid #ddd;
    border-radius: 0;  
    padding: 0.6rem 0.75rem;
    height: auto;
}

.list-group-item i{
    color: #0c5460;
}

/* HISTORIQUE DE PROJET */

.projet-historique{
    position: relative;
    text-align: left;
}

.projet-historique::before{
    content: "";
    height: 100%;
    width: 5px;
    background: #333;
    position: absolute;
    top: 0;
    left: 0;
}

.projet-historique-infos{
    margin-bottom: 20px;
}

.projet-historique-point{
    background: #8dc63f;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    left: -12.5px;
    top: 20px;
    position: relative;
    display: block;
}

.projet-historique-texte{
    display: inline-block;
    font-size: 12px;
    padding-left: 30px;  
    position: relative;
    top: -20px;
    left: 0;
}

.projet-historique-titre{
    font-size: 16px;
}

.card-projet .card-header-titre{
    font-size: 24px;
}

.lien {
  color:#3f6ad8;
  text-decoration:none;
  background-color:transparent;
  cursor: pointer;
}

.lien:hover {
  color:#0056b3;
  text-decoration:underline;
}

.card-projet .card-header{
    position: relative;
    background: #fff;
}

.card-projet .card-header .lien{
    text-transform: none;
    position: absolute;
    right: 1.25rem;  
    top: 1.25rem;
}

/*-----------------------------------------------------------------------------*/
/*-------------------MODULE DE CREATION DE FORMULAIRE--------------------------*/
/*-----------------------------------------------------------------------------*/


#pop_up, .pop_up_filtre_noir{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) );
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
}

.pop_up_filtre_noir{
    display: block;
    opacity: 1;
}

#pop_up_suppression{
    display: block;
    width: calc(100% - 490px);
    height: calc(100% - 270px);
    position: fixed;
    left: 385px;
    top: 165px;
}

.pop_up{
    display: flex;
    width: 60%;
    height: calc(100% - 120px);
    position: fixed;
    top: 60px;
    left: 20%;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 0 30px #495057;
    padding: 25px 50px;
    justify-content: left;
    align-items: center;
    overflow-y: auto;
    font-size: 1rem;
}

#champs_pop_up{
    display: block;
    width: 100%;
}

@media (max-width: 991px) {
    .pop_up{
        width: 80% !important;
        left: 10% !important;
        top: 10% !important;
        padding: 20px 30px;
    }
}

.contenu_pop_up{
    width: calc(100% - 90px);
    margin: auto;
}

.pop_up i.fa-times{
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
}

.pop_up .btn i.fa-times{
    position: relative;
    top: auto;
    right: auto;
    font-size: 1em;
}

.pop_up .btn i.fa-times:hover, .pop_up .btn i.fa-times:active, .pop_up .btn i.fa-times:focus{
    color: #fff;
}

.pop_up .btn-lg{
    font-size: 1.3rem;
}

.pop_up .contenu{
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.pop_up .contenu-lg{
    font-size: 1.3rem;
}

.pop_up .centrage_vertical{
    width: calc(100% - 90px);
    margin: auto;
}

.pop_up .contenu-lg label, .pop_up .contenu-lg em, .pop_up .contenu-lg .form-error{
    text-align: left;
    font-size: 1rem;
    line-height: 1rem;
    width: 100%;
}

.pop_up .contenu-lg em{
    display: block;
    line-height: 1.1rem;
}

.pop_up .contenu-lg label em{
    display: inline;
}

@media (max-width: 992px) {
    .pop_up .centrage_vertical{
        width: 100%;
    }
}

@media (max-width: 480px) {
    #pop_up_creneau_actuel .btn, #div_pop_up_creneaux .btn{
        width: 100%;
        margin-bottom: 20px;
    }
}

.custom-input-file-card a, .custom-input-file-card a i{
    color: #fff !important;
}

.card-document{
    box-shadow: 0 0 5px 0 #ddd;
    margin-bottom: 20px;
    display: block;
    border-radius: 5px;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    position: relative;
}

.card-document img{
    max-height: 225px;
    object-fit: cover;
}

.card-document .fa-file-pdf{
    font-size: 100px;
    color: #0050A4;
}

.card-document .card-document-titre{
    margin-top: 20px;
    display: inline-block;
    text-align: center;
    color: #333;
    font-weight: bold;
}

.card-document .card-document-poids{
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #333;
    font-weight: bold;
}

.document-recherche .fa-search{
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 24px;
}

.card-document .btn{
    padding: 7px 10px;
}

.menu-mobile{
    display: none;
}


a.form-retour-lien, a.form-retour-lien:hover, a.form-retour-lien:focus, a.form-retour-lien:active{
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.tableau-de-bord-etape, .tableau-de-bord-etape p{
    color: #000;
}

/* AIDE FICHE PROJET */

.card-aide, .card-lot-travaux, .card-entreprise{
    margin: 0 auto 20px auto;
    width: 100%;
    min-height: 200px;
    box-shadow: 0 0 7px #ddd;
    border-radius: 7px;
    overflow: auto;
}

.card-entreprise{
    position: relative;
}

.card-lot-travaux, .card-entreprise{
    min-height: 175px;
}

.card-aide .aide-infos-titre, .card-lot-travaux .lot-travaux-infos-titre, .card-entreprise .lot-entreprise-infos-titre{
    background: #E3F4FB;
    padding: 20px 15px;
}

.card-aide .aide-infos-date, .card-lot-travaux .lot-travaux-infos-date, .card-entreprise .lot-entreprise-infos-date{
    background: white;
    padding: 20px 15px;
}

.card-aide p, .card-lot-travaux p, .card-entreprise p{
    color: #333333;
    line-height: 16px;
}

.card-entreprise .lot-entreprise-infos-titre .row{
    height: 100%;
    align-items: center;
}

.card-aide .aide-infos-titre strong, .card-aide .aide-infos-date strong,
.card-lot-travaux .lot-travaux-infos-titre strong, .card-lot-travaux .lot-travaux-infos-date strong,
.card-entreprise .lot-entreprise-infos-titre strong, .card-entreprise .lot-entreprise-infos-date strong{
    font-size: 18px;
}

.hr-aide, .hr-lot-travaux, .hr-entreprise{
    border-bottom: 1px solid #ddd;
    margin-top: 20px;
}

.hr-entreprise{
    width: 100%;
}

.card-entreprise .selectize-input{
    background: #fff !important;
}

.card-entreprise .lot-entreprise-infos-classement{
    font-size: 42px;
    color: #495057;
    font-weight: 900;
    height: 100%;
    align-items: center;
    padding-left: 10px;
}

.card-entreprise .lot-entreprise-infos-classement-chiffre{
    height: 50px;
    line-height: 42px;
    width: 50px;
    border: 2px solid #333333;
    border-radius: 100px;
    text-align: center;
}

.card-entreprise .dropdown-toggle::after{
    display: none;
}

.card-entreprise .dropdown-card-entreprise{
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9;
}

.selectize-entreprise-choix-lot .selectize-dropdown [data-selectable]{
    padding: 7px 15px;
}

.card-entreprise-choisir .row{
    height: 100%;
    align-items: center;
}

.card-entreprise-choisir input[type="radio"]{
    display: none;
}

.card-entreprise-choisir .custom_radio{
    width: 30px;
    height: 30px;
    border: 1px solid #333;
    border-radius: 100px;
    position: relative;
}

.card-entreprise.active{
    border: 2px solid #8dc63f;
}

.card-entreprise-choisir .custom_radio.active::before{
    content: "";
    height: 22px;
    width: 22px;
    border-radius: 100px;
    background: #8dc63f;
    display: block;
    position: absolute;
    top: 3px;
    left: 3px;
}

.projet-lot-travaux-centrer{
    margin: auto;
    max-width: fit-content;
}

@media (min-width: 992px) {
    .projet-creer-boutons{
        position: fixed;
        bottom: 15px;
        left: calc(25% + 30px);
    }
}

@media (min-width: 850px) {
    .projet-creer-boutons .btn.background-orange, .projet-creer-boutons .btn.background-bleu{
        margin-left: 10px;
    }
}

.projet-creer-boutons .btn{
    margin-bottom: 20px;
}

.mb-100{
    margin-bottom: 100px;
}