@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.form-control.readonly{
    background: #EEEEEE;
}
html{
    height: -webkit-fill-available;
}
body{
    color: var(--text-default);
}
ul{
    padding-inline-start: 17px;
}
.ibox-content{
    padding: 15px 10px 20px 10px;
}
.ui-widget-content a{
    color: #FFFFFF;
}
:root{
    --appheight: 100vh;
    --white:#FFFFFF;
    --black:#000000;

    --danger:#F44336;
    --danger-light:#EF5350;
    --warning:#FFA726;
    --warning-light:#FFB74D;
    --success:#4DB6AC;
    --success-light:#80CBC4;
    --valider:#4CAF50;
    --valider-light:#66BB6A;
    --default:#E0E0E0;
    --default-light:#BDBDBD;
    --info: #64B5F6;
    --info-light: #90CAF9;

    --edit:#4DB6AC;
    --edit-light:#80CBC4;

    --purple:#9575CD;
    --purple-light:#B39DDB;
    --action:#9575CD;
    --action-light:#B39DDB;

    --gray-light: #F0F0F0;

    /*deprecated*/
    --REA---jaune:#000000;
    --REA---jaune-light: #000000;
    --primary: #000000;
    --primary-light: #000000;
    --secondary:#000000;

    --text-default:#9E9E9E;
    --text-dark:#212121;
    --text-light:#EEEEEE;

    --bg-default:#F5F5F5;
/*
    --warning:#D9712E;
    --warning-light: #f78d2f;
    --default:#5C5C5C;
    --REA---jaune:#E7CD55;
    --REA---jaune-light: #ffe552;
    --primary: hsl(168 75% 40% / 1);
    --primary-light: hsl(168 75% 43% / 1);
    --gray-light: #F0F0F0;

 */
}
.btn-primary{
    background-color: var(--edit);
    border-color: var(--edit);
}
.btn-danger{
    background-color: var(--danger);
    border-color: var(--danger);
}
.btn-info{
    background-color: var(--info);
    border-color: var(--info);
}

.text-danger{ color: var(--danger); }
.text-warning{ color: var(--warning); }
.text-success{ color: var(--success); }
.text-valider{ color: var(--valider); }
.text-default{ color: var(--text-default); }
.text-dark{ color: var(--text-dark); }
.text-light{ color: var(--text-light); }
.text-info{ color: var(--info); }
.text-purple{ color: var(--purple); }
.text-action{ color: var(--action); }
.primary{ color: var(--primary); }
.secondary{ color: var(--secondary); }
.bg-disabled{ background-color: var(--gray-light);}
.bold{
    font-weight: bold;
}
.center{
    display: flex;
    align-content: center;
    justify-content: center;
}
.block{
    display: block;
}

.groupe_color1{
    color:var(--groupe-color-1);
}
.groupe_color2{
    color:var(--groupe-color-2);
}

.title1{
    margin: 12px 0px;
    font-size: 19px;
    line-height: normal;
    font-weight: bold;
}
.title2{
    margin: 12px 0px;
    font-size: 17px;
    line-height: normal;
    font-weight: bold;
}
.title3{
    margin: 12px 0px;
    font-size: 15px;
    line-height: normal;
    font-weight: bold;
}

.buttons{
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.button{
    display: inline-block;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 4px;
    #background-color: var(--REA---jaune, #E7CD55);
    color: #FFF;
    text-align: center;
    padding: 8px 20px;
    align-content: center;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.button.small{
    padding: 8px 10px;
}
.button.large{
    padding: 20px 20px;
}
.button.square{
    width: 140px;
    height: 140px;
    /*aspect-ratio: 1 / 1;*/
    padding: 10px 10px;
}
.button.edit{
    background-color: var(--edit);
    color: #FFF;
}

.button.orange{
    background-color: var(--warning, #D9712E);
    color: #FFF;
}

.button.primary{
    background-color: var(--primary);
    color: #FFF;
}
.button.info{
    background-color: var(--info);
    color: #FFF;
}
.button.success{
    background-color: var(--success);
    color: #FFF;
}
.button.warning{
    background-color: var(--warning);
    color: #FFF;
}
.button.danger{
    background-color: var(--danger);
    color: #FFF;
}
.button.purple{
    background-color: var(--purple);
    color: #FFF;
}
.button.default{
    background-color: var(--default);
    color: #FFF;
}
.button.valider{
    background-color: var(--valider);
    color: #FFF;
}
.button.action{
    background-color: var(--action);
    color: #FFF;
}
.button.disabled{
    background-color: var(--text-light);
    pointer-events: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.progressbarNumber{
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}
.progressbar{
    display: inline-block;
    width: 140px;
    height: 8px;
    background-color: #C5C5C5;
    border-radius: 68px;
    /*overflow: hidden;*/
}
.progressbar .bar{
    position: relative;
    height: inherit;
    border-radius: 68px;
    background: rgb(237,85,101);
    width: 100%;
    /*background: linear-gradient(90deg, rgba(237,85,101,1) 0%, rgba(200,175,28,1) 50%, rgba(26,179,148,1) 100%);*/
    background: var(--info);
}
.email-warning{
    color: var(--danger);
    font-size: 24px;
    vertical-align: sub;
    margin-right: 10px;
}

.projets{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.projet{
    display: flex;
    flex-direction: column;
    width: 300px;
    border-radius: 16px;
    background: var(--bg-default);
    color: var(--text-dark);
    font-family: "Open Sans";
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    overflow: hidden;
}
.projet>.body{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
}
.projet>.image{
    width: inherit;
    height: 120px;
    background-size: cover;
}
.projet>.body>.nom{
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.projet>.body>.cpville{
    font-family: "Open Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--text-default);
}
.projet>.body>.status{
    color: var(--info);
    font-family: "Open Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}
.projet>.body>.button{
    margin: 20px auto;
}
.progressContainer{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    width: 100%;
    color: var(--text-default);

}
.progressContainer>.title{
    font-family: "Open Sans";
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.projetdisposition{
    display: grid;
    grid-template-columns: auto 1fr 250px;
    grid-gap: 30px;
}
/*
.projetdisposition .buttons{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}
.projetdisposition .buttons a{
    display: flex;
    align-items: center;
}

.projetdisposition .buttons a>i{
    margin-right: 20px;
    font-size: 30px;
    position: relative;
}
i.subiconlock>i{
    position: absolute;
    left: 23px;
    bottom: 25px;
    font-size: 15px;
    color: inherit;
}
*/

.tachesModule{
    font-family: "Open Sans";
    font-style: normal;
    font-weight: normal;
    line-height: normal;
}
.tachesModule>.head{
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
}
.tachesModule>.head span{
    font-size: 12px;
}
.tachesModule>.filters{
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}
.tachesModule>.filters>*{
    display: inline-block;
}
.tachesContainer{
    height: calc(100vh - 340px);
    overflow-y: auto;
}
.taches{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 0 10px 0 0;
}
.tache{

}
.tache>.head{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 10px;
    font-size: 13px;
    line-height: 16px;
    align-items: center;
    justify-content: space-between;
}
.tache>.head b{
    color: var(--info);
}
.tache>.head>.buttons{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.tache>.head>.buttons>*{
    display: inline-block;
}
.tache>.head b.me{
    color: #F00;
}
.tache a.button{
    font-size: 12px;
    line-height: 6px;
}
.tache>.title{
    margin-top: 10px;
    font-size: 15px;
    line-height: 18px;
    color: var(--text-dark);
}
.tache>a.title{
    text-decoration: underline;
}
.tache>.desc{
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
    text-align: justify;
}
.tache>.link{
    display: inline-block;
    margin-top: 10px;
}

.taches>hr{
    width: 40%;
    height: 1px;
    background-color: var(--text-default);
    margin: 20px auto;
}
.taches>hr:last-of-type{
    display: none;
}
.pagination.small-inline{
    margin: 0px;
}
.pagination.small-inline > li > a, .pagination.small-inline > li > span{
    line-height: 14px;
}

.documents{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}
.document{
    display: flex;
    flex-direction: column;
    width: 300px;
    border-radius: 16px;
    background: var(--bg-default);
    color: var(--text-default);
    font-family: "Open Sans";
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    overflow: hidden;
}
.document>.body{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 20px;
}
.document>.fileorimage{
    width: inherit;
    height: 120px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    color: var(--text-default);
}
.document>.body>.actions{
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}
.document>.body>.type{
    color: var(--info);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
}
.document>.body>.title{
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    color: var(--text-dark);
}
.document>.body>.desc{
    font-family: "Open Sans";
    font-size: 13px;
    font-weight: normal;
    line-height: normal;
}

.accesslinks{
    margin: 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}
.accesslink{

}
.accesslink>i{
    width: 36px;
    font-size: 20px;
    position: relative;
}

.simulateur{

}
.simulateur .split2{
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-gap: 15px;
    align-items: center;
}
.simulateur .split2{
    grid-template-columns: 5fr 8fr;
}
.simulateur .split3{
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    grid-gap: 15px;
    align-items: center;
}
.simulateur .split4{
    display: grid;
    grid-template-columns: 180px 1fr 1fr 1fr;
    grid-gap: 15px;
    align-items: center;
}
.simulateur .lots>.ui-accordion-header{
    padding-left: 30px !important;
    padding-right: 11px;
}
.simulateur .lots .title{
    color: var(--text-dark);
    font-size: 17px;
    font-weight: bold;
    line-height: normal;
}
.simulation{

}
.synthese{
    padding-left: 26px;
    padding-right: 14px;
}
.synthese .split2,.synthese .split3,.synthese .split4{
    color: var(--text-dark);
    margin: 20px 0;
}
.simulateur .pieces>.ui-accordion-header{
    padding-left: 27px !important;
}
.simulateur .pieces .title{
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
}
.simulateur .price{
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
    text-align: right;
}
.simulateur .price>div{
    display: none;
}

.simulateur .ui-accordion-header>div>.price>div{
    display: inline-block;
    float: left;
}
.synthese .price>div{
    display: inline-block;
    float: left;
}


.simulateur .articles{
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.simulateur .article{
    margin: 10px 0px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #AAAAAA;
}

.simulateur .article .title{
    display: flex;
    flex-direction: row;
    gap: 8px;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 10px;
    align-items: center;
}
.simulateur .article .title i{
    font-size: 22px;

}
.simulateur .article .image{
    width: 100%;
    aspect-ratio: 4 /2;
    background-size: contain;
    background-position: 0 0;
    background-repeat: no-repeat;
    max-width: 300px;
}
.simulateur .article select{
    width: 100%;
}
.simulateur .article .price{
    /*margin-top: 20px;*/
}
.simulateur .text1{
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
}
.simulateur select{
    height: 36px;
}

.simulation_stats{

}
.simulation_stats>.tab{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-column-gap: 20px;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
}
.simulation_stats>.tab>*:nth-child(even){
    justify-self: end;
    font-size: 15px;
    line-height: normal;
    font-weight: bold;
}
@media (max-width: 500px) {
    .simulateur .split2{
        grid-template-columns: initial;
        grid-template-rows: 260px 1fr;
        grid-gap: 15px;
    }
    .simulateur .split3{
        grid-template-columns: initial;
        grid-template-rows: 260px 1fr 1fr;
        grid-gap: 15px;
    }
    .simulateur .split4{
        grid-template-columns: initial;
        grid-template-rows: 260px 1fr 1fr 1fr;
        grid-gap: 15px;
    }
    .simulationBlock{
        display: flex;
        flex-direction: column-reverse;
    }
    .simulateur .price>div{
        display: inline-block;
    }
}


.simulations_choices{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.simulations_choice{
    display: flex;
    flex-direction: column;
    width: auto;
    border-radius: 16px;
    background: var(--bg-default);
    color: var(--text-default);
    font-family: "Open Sans";
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    padding: 20px 20px;
}
.simulations_choice.selected{
    -webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 5px var(--purple);
    -moz-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 5px var(--purple);
    box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 5px var(--purple);
}
.simulations_choice.selected.ok{
    -webkit-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 5px var(--primary);
    -moz-box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 5px var(--primary);
    box-shadow: 3px 3px 5px 3px rgba(0,0,0,0.1), inset 0px 0px 0px 5px var(--primary);
}
.simulations_choices.canselect .simulations_choice{
    cursor: pointer;
}
.simulations_choice> .title{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}
.panel{
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    background: var(--bg-default);
    color: var(--text-default);
    font-family: "Open Sans";
    font-style: normal;
    font-size: 15px;
    font-weight: normal;
    line-height: normal;
    padding: 20px 20px;
    height: fit-content;
}
.adresseBloc{
    width: auto;
}
.adresseBloc .nom{
    color: var(--text-dark);
    font-size: 16px;
    font-weight: normal;
}
.adresseBloc .adresse{
}
.adresseBloc .cpville{
}
.adresseBloc .pays{
}
.adresseBloc .mails{
    word-break: break-word;
}
.adresseBloc .tels{
}
.adresseBloc>.buttons{
    margin-top: 20px;
}

.adresseBloc>.button{
    width: fit-content;
}
.proprietaire{
    flex: 1 0 min(400px,100%);
}
.proprietaire .lots{
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}
.proprietaire .lot{
    flex: 1 0 400px;
    max-width: 480px;
}
.proprietaire .lot>.title{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.proprietaire .lot .dlplan{
    color: var(--success);
    float: right;
}
.proprietaire .lot>.plan{
}
.proprietaire .lot>.plan>img{
}
.proprietaire .lot .planinfo{
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
}
.proprietaire .lot>.info{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
    justify-content: space-between;
}
.commentairesContainer{
    flex: 1 0 340px;
}
.commentaires{
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    width: -webkit-fill-available;
}
.commentaires .header{
    font-weight: bold;
    font-size: 16px;
}
.commentaires .body{
    max-height: calc(100vh - 390px);
    overflow: auto;
    padding: 0 10px;
}
.commentaires .commentaire{
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}
.commentaires .commentaire .photos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.commentaires .commentaire .photo{
    flex: 0 0 calc(33% - 10px);
    display: inline-block;
    border: 1px solid var(--gray-light);
    width: 100%;
    max-width: 120px;
    height: 120px;
    background-position: center center;
    background-size: cover;
}
.commentaires .commentaire .date{
    font-weight: bold;
}
.commentaires .commentaire .desc{
}
.commentaires .reserve{
    display: inline-block;
    border: 1px dashed var(--danger);
    border-radius: 8px;
    padding: 5px;
    margin-left: 10px;
    color: var(--danger);
}
.commentaires .reserve i{
    margin-right: 5px;
    font-size: 20px;
}
.commentaires .actions{
    float: right;
}

.commentaires .intervenant{
    color: var(--warning);
}
.commentaires .intervention{
    color: var(--warning);
}
.commentaires hr{
    width: 100%;
    height: 1px;
    background-color: var(--gray-light);
    margin: 0px 0px 4px 0;
}

/*
.commentaires  hr:last-of-type{
    display: none;
}
*/
.dimension{
    font-size: 11px;
    font-style: italic;
    color: #888888;
}

.coproprietaireinfo{
     display: block;
     width: 100%;
 }

.stats{
    margin-top: 30px;
    display: inline-flex;
    flex-direction: row;
    column-gap: 20px;
    flex-wrap: wrap;
}
.stats .stat{
    margin-bottom: 20px;
    flex:1 1 240px;

    display: inline-flex;
    flex-direction: column;
    flex-wrap: wrap;

    padding: 5px 10px;
    border-radius: 10px;
    background: var(--bg-default);
}
.stats .stat>.title{
    font-size: 18px;
}
.stats .stat>.value{
    font-size: 26px;
    font-weight: bold;
    color: var(--info);
    text-align: right;

}
.stats .stat>.desc{
    font-size: 12.5px;
}