@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-Thin.ttf);
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-ThinItalic.ttf);
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-Light.ttf);
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-LightItalic.ttf);
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-Italic.ttf);
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-Medium.ttf);
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-MediumItalic.ttf);
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Work';
    src: url(/assets/font/work/WorkSans-BoldItalic.ttf);
    font-weight: bold;
    font-style: italic;
}



/* SCROLLBAR */

* {
    --sb-track-color: #f3f4e2;
    --sb-thumb-color: #dadcc7;
    --sb-size: 7px;
}

*::-webkit-scrollbar {
    width: var(--sb-size)
}

*::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
}

*::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

/* FIN SCROLLBAR */


.hidden {
    display: none !important;
}

html {
    font-size: 16px;
}

* {
    margin: 0;
    box-sizing: border-box;
    font-family: Work;
}

body {
    background-color: #F3F4E2;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* HEADER */
header {
    display: flex;
    padding: 30px 40px;
    height: 110px;
    justify-content: left;
    align-items: center;
}

header>* {
    flex-shrink: 1;
    flex-grow: 0;
}

#logoHeader {
    height: 50px;
}

h1 {
    color: #6D6D6D;
    font-weight: 500;
    font-size: 1.3rem;
    align-content: center;
    padding-left: 30px;
}

#profilBtn {
    height: 80%;
    margin-left: auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    position: relative;
}

#profilBtn img {
    height: 100%;
}

#profilBtn p {
    font-size: 1rem;
    font-weight: 500;
    color: #5CB74E;

}

/* FIN HEADER */

/* MAIN */
main {
    padding: 20px 80px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

h2 {
    color: #5CB74E;
    font-weight: normal;
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: flex;
    gap: 40px;
}

/* FIN MAIN */

/* PAGE CONNEXION */
#connexionPage {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#headerCo {
    display: flex;
    height: 42px;
    justify-content: space-between;
    align-items: center;
}

#headerCo h3 {
    font-size: 1.7rem;
    font-weight: normal;
    color: #5CB74E;
}

#headerCo img {
    height: 100%;
}

#wrapperCo,
#coForm {
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.inputWrapper {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    width: calc(100% - 5px);
}

.inputWrapper label {
    font-size: 0.8rem;
    color: #F46024;
    font-weight: 500;
}

.inputWrapper input,
.itemSectionData li input,
#batTypeSelect {
    border: none;
    border-bottom: solid 1px #E6E6E6;
    min-width: 0;
}

#deconnexion {
    position: absolute;
    height: 35px;
    bottom: -35px;
    left: 0;
    right: 60px;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: #7F7F7F;
    border: 1px solid #7F7F7F;
    transition: 0.2s;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
}

#deconnexion:hover {
    color: white;
    background-color: #7F7F7F;
    cursor: pointer;
}

#connectBtn,
#connexion {
    display: flex;
    flex-direction: column;
    height: 60px;
    background-color: #F3F4E2;
    border-radius: 10px;
    padding: 14px 26px;
    border: solid 1px #E6E6E6;
    justify-content: center;
    align-items: center;
    transition: 0.1 ease-in-out;
}

#connectBtn:hover,
#connexion:hover {
    background-color: #5CB74E;
    cursor: pointer;
    color: white;
}

#connectBtn p {
    font-size: 1rem;
    color: #6D6D6D;
    font-weight: 500;
}

#connectBtn:hover p {
    color: white;
}

/* FIN PAGE CONNEXION */


/* FOOTER */
footer {
    min-height: 70px;
    height: 70px;
}

/* FIN FOOTER */


/* PAGE PROJETS */
#projets {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 160px;
}

#wrapperProjetsListe {
    width: 100%;
    background-color: none;
    border: 1px solid #DADCC7;
    height: 360px;
    border-radius: 30px;
    padding: 20px;
}

#innerProjetsListe {
    padding: 3px 3px 20px 3px;
    display: flex;
    gap: 20px;
    flex-grow: 1;
    height: 100%;
    overflow: auto;
    border-radius: 10px;
}

.itemProjet {
    width: 230px;
    border-radius: 10px 0 0 0;
    background-color: white;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease-in-out;
    position: relative;
}

.itemProjet::before {
    content: " ";

    border-radius: 12px 0 0 0;
    background-color: #F46024;
    position: absolute;
    transition: 0.1s ease-in-out;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;

    z-index: -1;
}

.itemProjet:hover::before {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.itemProjet * {
    transition: 0.2s ease-in-out;
}

.itemProjet:hover {
    cursor: pointer;
}

.itemProjet:after {
    content: "";
    background-color: #F3F4E2;
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-radius: 10px;
}

.itemProjet h3 {
    color: #5CB74E;
    font-size: 1rem;
    font-weight: normal;
}

.itemProjet h4 {
    color: #6D6D6D;
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    padding-left: 15px;
}

.itemProjet .wrapperDateCrea {
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    padding: 10px;
    height: 50px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 15px;
}

.itemProjet .calendarPicto {
    height: 100%;
}

.wrapperInfosDateCrea {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wrapperInfosDateCrea h5,
.wrapperHeaderAPE h5 {
    font-size: 0.8rem;
    font-weight: normal;
    color: #5CB74E;
}

.wrapperInfosDateCrea p {
    font-size: 0.8rem;
    font-weight: normal;
    color: #6D6D6D;
}

.itemProjet .listeAPE {
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    padding: 10px;
    height: 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    flex-grow: 1;
}

.wrapperHeaderAPE {
    height: 28px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px
}

.wrapperHeaderAPE img {
    height: 100%;
}

.listeItemsWrapper {
    overflow: auto;
    display: flex;
    gap: 5px;
    flex-direction: column;
    padding-right: 5px;
}

.listeItemAPE {
    border-radius: 5px;
    background-color: #E6E6E6;
    width: 100%;
    padding: 5px 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.listeItemAPE p {
    font-size: 0.8rem;
    border-radius: 5px;
    color: #6D6D6D;
}

#addProject {
    width: 230px;
    border-radius: 10px 0 0 0;
    background-color: white;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease-in-out;
    position: relative;
}

#addProject h3 {
    font-weight: normal;
    font-style: italic;
    color: #6D6D6D;
    text-align: center;
    margin-bottom: 15px;
}

#addProjectP {
    font-weight: 100;
    font-style: normal;
    color: #E6E6E6;
    font-size: 10rem;
    flex-grow: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.1s;
    border-radius: 5px;
}

#addProjectP:hover {
    cursor: pointer;
    background-color: #E6E6E6;
    color: #F46024;
}

/* FIN PAGE PROJETS */


/* PAGE TYPE BATIMENT */
#BG_typeBat {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: contain;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

#typeBatiment {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 160px;
    flex-direction: column;
    gap: 20px;
}

/*#wrapper_typeBat {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    width: auto;
    background-color: #f3f4e2;
    border: 1px solid #DADCC7;
    height: 360px;
    border-radius: 30px;
    padding: 20px;
}*/

#wrapper_typeBat {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 15px;
    width: auto;
    background-color: #f3f4e2;
    border: 1px solid #DADCC7;
    height: 360px;
    border-radius: 30px;
    padding: 20px;
    overflow: auto;
    scrollbar-width: none;
}

/*.elem_batType {
    height: 30%;
    width: 270px;
    border-radius: 10px;
    border: 1px solid #DADCC7;
    padding: 10px;
    background-color: #f3f4e2;
    transition: 0.05s;
}*/
.elem_batType {
    height: 84px;
    width: 270px;
    border-radius: 10px;
    border: 1px solid #DADCC7;
    padding: 10px;
    background-color: #f3f4e2;
    transition: 0.05s;
    flex-shrink: 0;
}

.elem_batType:hover {
    cursor: pointer;
    background-color: #DADCC7;
}

.elem_batType[data-active="true"] {
    background-color: #5CB74E;
}

.elem_batType[data-active="true"] p {
    color: white;
}

.elem_batType p {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #5CB74E;
}

#confirm_typeBat {
    width: 150px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.8rem;

    border: 1px solid #F46024;
    background-color: #f3f4e2;
    color: #F46024;
}

#confirm_typeBat:hover {
    border: 1px solid #F46024;
    background-color: #F46024;
    color: #f3f4e2;
    cursor: pointer;
}

.ghost {
    pointer-events: none !important;
    background-color: #E6E6E6 !important;
    color: #b3b3b3 !important;
    border: 0px solid #a3a3a3 !important;
}

.ghost:hover {
    cursor: not-allowed !important;
}

/* FIN PAGE TYPE BATIMENT */


/* PAGE CONFIG */
#configProjet {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    flex-grow: 1;
    flex-wrap: wrap;
    row-gap: 0.11%;
    margin-top: 20px;
    height: 500px;
}

#save {
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #5CB74E 1px solid;
    border-radius: 10px;
    background-color: transparent;
    transition: 0.1s;
    padding: 0 20px;
}
#save:hover {
    background-color: #5CB74E;
    color: white;
    cursor: pointer;
}


#retourVersProjets {
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #6D6D6D 1px solid;
    border-radius: 10px;
    background-color: transparent;
    transition: 0.1s;
    padding: 0 20px;
    text-decoration: none;
    color: #6D6D6D;
}
#retourVersProjets:hover {
    background-color: #F46024;
    color: white;
    cursor: pointer;
    border: #F46024 1px solid;
}
#formDelete{
    display: flex;
    margin-left: auto;
}
#delete {
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: #ee2d0b 1px solid;
    border-radius: 10px;
    background-color: transparent;
    transition: 0.1s;
    padding: 0 20px;
    text-decoration: none;
    color: #ee2d0b;
}
#delete:hover {
    background-color: #ee2d0b;
    color: white;
    cursor: pointer;
    border: #ee2d0b 1px solid;
}


.sectionConfig h3 {
    font-size: 0.8rem;
    height: 15px;
    font-weight: 500;
    color: #F46024;
    width: 100%;
    text-align: left;
    position: relative;
    margin-bottom: 15px;
}

.sectionConfig h3:after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #DADCC7;

}

.synthese {
    padding: 20px;
    width: 100%;
    flex-shrink: 0;
    border: 1px solid #F46024;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    position: relative;
}

.synthese .wrapperItemsData {
    position: absolute;
    overflow: auto;
    top: 50px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    flex-direction: column;
    display: none;
}

#innerGestionEq {
    width: 66%;
    flex-shrink: 0;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
}

#equipHeaderWrapper {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 10px;
}

.itemEquipHeader {
    border-radius: 5px;
    background-color: #FFAD8B;
    color: white;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    height: 25px;
    margin-bottom: 5px;
    gap: 5px;
    cursor: pointer;
}

.equipSelected {
    background-color: #F46024 !important;
}

.removeEquipActif {
    height: 100%;
    width: 15px;
    display: flex;
    flex-direction: row;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 3px;
}

.removeEquipActif:hover {
    background-color: #DADCC7;
    color: #6D6D6D;
}

.dataEq {
    border: solid 1px #F46024;
    border-radius: 10px;
    flex-grow: 1;

    display: none;
    flex-direction: row;
    gap: 10px;
    padding: 10px;

    position: relative;
    overflow: auto;
}

.activeSectionData {
    display: flex !important;
}

#previs {
    /*///////////////////////////////////////////////////////////////////*/
    width: 700px;
}

#previs {
    /*///////////////////////////////////////////////////////////////////*/
    width: 700px;
}

#dataEq::-webkit-scrollbar-track,
.contentSectionData::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 10px;
}

#dataEq::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.wrapperItemsData {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.contentSectionData {
    position: relative;
    overflow: auto;
    flex-grow: 1;
}

ul,
li {
    list-style-type: none;
    padding: 0;
}

.sectionData {
    border: 1px solid #DADCC7;
    border-radius: 10px;
    display: flex;
    flex-direction: column;

}

.headerSectionData li,
.itemSectionData li {
    color: #7f7f7f;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding: 5px;
}

.headerSectionData li {
    font-weight: 500;
}

.headerSectionData li:nth-child(1) {
    color: #F46024;
}

.itemSectionData li {
    background-color: white;
}

.headerSectionData li:nth-child(1),
.itemSectionData li:nth-child(1) {
    width: 250px;
}

.headerSectionData li:nth-child(2),
.headerSectionData li:nth-child(3),
.itemSectionData li:nth-child(2),
.itemSectionData li:nth-child(3) {
    width: 100px;
    justify-content: right !important;
}

.dataUnit {
    font-weight: 500;
    margin-left: 10px;
    color: #F46024;
    position: relative;
}

.dataUnit::after {
    position: absolute;
    content: "";
    left: -5px;
    width: 2px;
    height: 100%;
    color: #7f7f7f;
}

.headerSectionData,
.itemSectionData {
    display: flex;
    flex-direction: row;
    padding: 10px;
    gap: 10px;
    justify-content: space-between;
}

.headerSectionData {
    border-bottom: 1px solid #DADCC7;
}

#innerSynthese {
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    width: 33%;
    gap: 20px;
    justify-content: space-between;
}

.sectionConfig {
    width: 22%;
    flex-shrink: 0;
    padding: 20px;
    border: 1px solid #DADCC7;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    position: relative;

}

#eqDispo {
    flex-grow: 1;
}

#infos {
    margin-top: 20px;
}

.sectionConfig:nth-child(1),
.sectionConfig:nth-child(2) {
    margin-right: auto;
    flex-grow: 1;
}

.sectionConfig:nth-child(3) {
    height: 100%;
    width: 75% !important;
    flex-direction: row !important;

}

.sectionConfig:nth-child(4),
.sectionConfig:nth-child(5) {
    border-color: #F46024;
}

.sectionConfig:nth-child(4) h3:after,
.sectionConfig:nth-child(5) h3:after {
    background-color: #F46024;
}

.sectionConfig:nth-child(4),
.sectionConfig:nth-child(5),
.sectionConfig:nth-child(6) {
    margin-left: auto
}

#stuffDispo {
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: auto;
    position: absolute;
    top: 70px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    align-content: flex-start;
}

.stuffItem {
    width: calc(50% - 10px);
    flex-shrink: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #7F7F7F;
    background-color: #E6E6E6;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    transition: 0.05s;
    max-height: fit-content;
}

.stuffItem:hover {
    color: white;
    background-color: #FFAD8B;
    cursor: pointer;
}

#launchApp {
    background-color: #f3f4e2;
    color: #5CB74E;
    border: 1px solid #5CB74E;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    border-radius: 10px;
    transition: 0.05s;
    height: 50px;
    flex-grow: 0;
}

#launchApp:hover {
    background-color: #5CB74E;
    color: white;
    cursor: pointer;
}

#dateTravauxWrapper {
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #F46024;
    font-weight: 500;
    margin-left: 10px;
}

#calendarsTravaux {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#calendarsTravaux .inputWrapper {
    padding: 7px 10px;
}

#calendarsTravaux .inputWrapper input {
    font-size: 0.6rem !important;
}

.wrapperInfos {
    position: absolute;
    display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: auto;
    position: absolute;
    top: 70px;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

/* FIN PAGE CONFIG */