@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900");
@import url(../main/scss/icons/font-awesome/css/font-awesome.min.css);

:root {
    --black: #33313B;
    --darkblue: #364656;
    --grey: #455A64;
    --littlegrey: #99abb4;
    --lightgrey: #EEEEEE;
    --lightblue: #00B0DC;
    --blue: #4164D0;
    --gold: #E1C3A7;
    --red: #DC3545;
    --green: #28A745;
    --violet: #8517B8;
    --orange: #f6ba06;
}
::selection { background: #e3e3e3; }
::-moz-selection { background: #e3e3e3; }

*::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

*::-webkit-scrollbar
{
    width: 1em;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb
{
    background-color: var(--black);
}

select::-webkit-scrollbar
{
    width: 0.4em;
    background-color: #F5F5F5;
}

h1,h2,h3,h4,h5,h6,p {
    margin: 0;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.6em;
    font-weight: 600;
    padding-left: 0.6em;
    border-left: solid 0.2em var(--lightblue);
}

#swal2-title {
    border-left: none!important;
}

h3 {
    font-size: 2.5em;
}

h4 {
    font-size: 2.2em;
    color: var(--grey);
    font-weight: 500;
}

h5 {
    font-size: 2.2em;
}

h6 {
    font-size: 2em;
    color: var(--littlegrey);
    font-weight: 400;
}

p {
    color: var(--black);
    font-size: 1.85em;
    font-weight: 300;
}

label {
    color: var(--grey);
    font-size: 1.85em;
}

a {
    color: inherit;
}

button {
    cursor: pointer;
}

a:hover {
    color: var(--lightblue);
    text-decoration: none;
}

.custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    width: 2.5em;
    height: 2.5em;
    background-color: white;
    cursor: pointer;
    border-radius: 0.5em;
    border: solid 0.1em var(--littlegrey);
}

.custom-checkbox:checked {
    background-color: var(--lightblue);
    border: none;
}

.custom-checkbox:checked:after {
    content: '\2713';
    font-size: 1.85em;
    display: block;
    text-align: center;
    font-weight: 1000;
    color: white;
    position: relative;
}

body {
    background: #EEF5F9;
    font-family: "Poppins", sans-serif;
    color: var(--grey);
    font-size: 0.42vw;
}
@media (max-width: 1550px) {
    body {
        font-size: 0.46vw;
    }

    #website body {
        font-size: 0.5vw;
    }
}

@media (max-width: 1200px) {
    body {
        font-size: 0.52vw;
    }

    #website body {
        font-size: 0.6vw;
    }
}

@media (max-width: 800px) {
    body {
        font-size: 0.72vw;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 1.62vw;
    }
}

div,span {
    display: flex;
    display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}

#app-body table {
    width: 100%;
    border-radius: 0.5em;
    overflow:hidden;
}

.dataTables_wrapper {
    display: inline;
    flex: 1;
}

#app-body table tbody,#website table tbody {
    font-size: inherit!important;
}

#app-body table thead,#website table thead {
    font-size: 1.75em;
    padding: 0 1em;
    background-color: var(--darkblue);
    color: white;
}

#app-body table.tableau-contacts thead {
    color: var(--grey);
    border-bottom: solid 0.05em var(--grey);
    background-color: transparent;
}

#app-body table td,#website table td {
    font-weight: 300;
    font-size: 1.85em;
    color: var(--grey);
    padding: 0.5em;
}

#app-body table.tableau-contacts td {
    padding: 0.75em 0.3em;
}

#app-body table th,#website table th {
    padding: 0.75em 0.25em 0.75em 0.4em;
    fill: white;
}

#app-body table th:first-of-type,#website table th:first-of-type {
    padding-left: 1em;
}

#app-body table td > *,#website table td > * {
    vertical-align : middle;
}

#app-body table.dataTable thead .sorting:after {
    content: "\f0dc";
    margin-left: 10px;
    font-family: fontawesome !important;
    cursor: pointer;
    color: #67747B;
}

#app-body table.dataTable {
   margin: 1em 0 2em 0;
}

#app-body table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    margin-left: 10px;
    font-family: fontawesome;
    cursor: pointer;
    color: white;
}

#app-body table.tableau-contacts.dataTable thead .sorting_asc:after {
    color: var(--lightblue);
}

#app-body table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    margin-left: 10px;
    font-family: fontawesome;
    cursor: pointer;
    color: white;
}

#app-body table.tableau-contacts.dataTable thead .sorting_desc:after {
    color: var(--lightblue);
}

#app-body .dataTables_wrapper label, #app-body .dataTables_info,#app-body .dataTables_paginate  {
    font-size: 1.6em;
    margin-top: 1em;
}

#app-body .dataTables_wrapper input,#app-body .dataTables_wrapper select {
    font-size: inherit!important;
    margin: 0 1em 1em 1em;
}

#app-body .dataTables_filter {
    margin-left: auto;
}

#app-body .dataTables_paginate {
    margin-left: auto;
}

#app-body .dataTables_paginate .paginate_button {
    margin: 0 0.5em;
}

#app-body .dataTables_paginate .paginate_button.active{
    color: var(--lightblue);
    font-weight: 500;
}

#app-body .dataTables_paginate .paginate_button.previous, #app-body .dataTables_paginate .paginate_button.next {
    border: solid 0.1em var(--grey);
    background: transparent;
    padding: 0 0.65em;
    border-radius: 5em;
}

#app-body .dataTables_paginate .paginate_button.previous:hover, #app-body .dataTables_paginate .paginate_button.next:hover {
    border: solid 0.1em var(--lightblue);
    color: var(--lightblue);
    cursor: pointer;
    font-weight: 500;
}

#app-body input[type='search'],#app-body input[type='text'],#app-body input[type='password'],#app-body input[type='date'],#app-body input[type='number'],#app-body select,#app-body textarea, #app-body input[type='time'] {
    line-height: 1.6em;
    font-size: 2em;
    display: flex;
    border: none;
    border-bottom: solid 1px var(--grey);
    color: var(--grey);
    border-radius: 0;
    padding: 0 0 0.2em 0;
    background: none;
    height: inherit;
}

#app-body input[type='search']:focus,#app-body input[type='text']:focus,#app-body input[type='password']:focus,#app-body input[type='date']:focus,#app-body input[type='number']:focus, #app-body select:focus ,#app-body textarea:focus, #app-body input[type='time']:focus{
    outline: none;
    box-shadow: none;
    border-bottom: solid 2px var(--lightblue);
}

.form-box {
    gap: 0;
    flex-direction: column;
    flex: 1;
}

label > input[type="radio"] {
    display: none;
}
label > input[type="radio"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.3em;
    border-radius: 50%;
    border-style: solid;
    border-width: 0.18em;
    border-color: gray;
}
label > input[type="radio"]:checked + * {
    color: var(--lightblue);
}
label > input[type="radio"]:checked + *::before {
    background: radial-gradient(var(--lightblue) 0%, var(--lightblue) 40%, transparent 50%, transparent);
    border: solid 0.2em var(--lightblue);
}

label > input[type="radio"].radio-tous + *::before {
    border-color: var(--grey);
}
label > input[type="radio"].radio-tous:checked + * {
    color: var(--grey);
}
label > input[type="radio"].radio-tous:checked + *::before {
    background: radial-gradient(var(--grey) 0%, var(--grey) 40%, transparent 50%, transparent);
    border: solid 0.2em var(--grey);
}

label > input[type="radio"].radio-white + *::before {
    border-color: white;
}
label > input[type="radio"].radio-white:checked + * {
    color: white;
}
label > input[type="radio"].radio-white:checked + *::before {
    background: radial-gradient(white 0%, white 40%, transparent 50%, transparent);
    border: solid 0.2em white;
}

label > input[type="radio"].radio-disponible + *::before {
    border-color: var(--green);
}
label > input[type="radio"].radio-disponible:checked + * {
    color: var(--green);
}
label > input[type="radio"].radio-disponible:checked + *::before {
    background: radial-gradient(var(--green) 0%, var(--green) 40%, transparent 50%, transparent);
    border: solid 0.2em var(--green);
}

label > input[type="radio"].radio-indisponible + *::before {
    border-color: var(--orange);
}
label > input[type="radio"].radio-indisponible:checked + * {
    color: var(--orange);
}
label > input[type="radio"].radio-indisponible:checked + *::before {
    background: radial-gradient(var(--orange) 0%, var(--orange) 40%, transparent 50%, transparent);
    border: solid 0.2em var(--orange);
}

label > input[type="radio"].radio-non-rendu + *::before {
    border-color: var(--red);
}
label > input[type="radio"].radio-non-rendu:checked + * {
    color: var(--red);
}
label > input[type="radio"].radio-non-rendu:checked + *::before {
    background: radial-gradient(var(--red) 0%, var(--red) 40%, transparent 50%, transparent);
    border: solid 0.2em var(--red);
}

label > input[type="radio"].radio-reserve + *::before {
    border-color: var(--violet);
}
label > input[type="radio"].radio-reserve:checked + * {
    color: var(--violet);
}
label > input[type="radio"].radio-reserve:checked + *::before {
    background: radial-gradient(var(--violet) 0%, var(--violet) 40%, transparent 50%, transparent);
    border: solid 0.2em var(--violet);
}

.switch .label{
    font-size: 1.8em;
    margin: 0 0.25em;
}

.switch input[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch label{
    cursor: pointer;
    width: 2.4em;
    height: 1.2em;
    background: grey;
    border-radius: 10em;
    position: relative;
}

.switch label:after {
    content: '';
    position: absolute;
    width: 0.9em;
    height: 0.9em;
    left: 9%;
    top: 10%;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + label {
    background: var(--lightblue);
}

.switch input:checked + label:after {
    left: calc(100% - 0.18em);
    transform: translateX(-100%);
}

.to-hide {
    display: none;
}

.full-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vertical-center {
    display: flex;
    align-items: center;
}

.horizontal-center {
    display: flex;
    justify-content: center;
}

.flex-col {
    flex-direction: column;
    flex: 1;
}

.flex-row {
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    height: fit-content;
    flex: 1;
}

.hover {
    cursor: pointer;
}

.color-grey {
    color:var(--grey)  ;
}

.color-gold {
    color:var(--gold)  ;
}

.m-t-025 {
    margin-top: 0.25em;
}

.m-t-05 {
    margin-top: 0.5em;
}

.m-t-075 {
    margin-top: 0.75em;
}

.m-t-1 {
    margin-top: 1em;
}

.m-t-2 {
    margin-top: 2em;
}

.m-t-3 {
    margin-top: 3em;
}

.m-t-4 {
    margin-top: 4em;
}

.m-t-5 {
    margin-top: 5em;
}

.m-t-10 {
    margin-top: 10em;
}

.m-l-025 {
    margin-left: 0.25em;
}

.m-l-05 {
    margin-left: 0.5em;
}

.m-l-075 {
    margin-left: 0.75em;
}

.m-l-1 {
    margin-left: 1em;
}

.m-l-2 {
    margin-left: 2em;
}

.m-l-3 {
    margin-left: 3em;
}

.m-l-4 {
    margin-left: 4em;
}

.m-l-5 {
    margin-left: 5em;
}

.m-l-10 {
    margin-left: 10em;
}

.m-b-025 {
    margin-bottom: 0.25em;
}

.m-b-05 {
    margin-bottom: 0.5em;
}

.m-b-075 {
    margin-bottom: 0.75em;
}

.m-b-1 {
    margin-bottom: 1em;
}

.m-b-2 {
    margin-bottom: 2em;
}

.m-b-3 {
    margin-bottom: 3em;
}

.m-b-4 {
    margin-bottom: 4em;
}

.m-b-5 {
    margin-bottom: 5em;
}

.m-b-10 {
    margin-bottom: 10em;
}

.m-r-025 {
    margin-right: 0.25em;
}

.m-r-05 {
    margin-right: 0.5em;
}

.m-r-075 {
    margin-right: 0.75em;
}

.m-r-1 {
    margin-right: 1em;
}

.m-r-2 {
    margin-right: 2em;
}

.m-r-3 {
    margin-right: 3em;
}

.m-r-4 {
    margin-right: 4em;
}

.m-r-5 {
    margin-right: 5em;
}

.m-r-10 {
    margin-right: 10em;
}

.p-h-1, .btn-outline.p-h-1,.btn-fill.p-h-1, .card-flex.p-h-1 {
    padding-right: 1em;
    padding-left: 1em;
}

.p-h-2, .btn-outline.p-h-2,.btn-fill.p-h-2, .card-flex.p-h-2 {
    padding-right: 2em;
    padding-left: 2em;
}

.p-h-3, .btn-outline.p-h-3,.btn-fill.p-h-3, .card-flex.p-h-3 {
    padding-right: 3em;
    padding-left: 3em;
}

.p-h-4, .btn-outline.p-h-4,.btn-fill.p-h-4, .card-flex.p-h-4{
    padding-right: 4em;
    padding-left: 4em;
}

.p-h-5, .btn-outline.p-h-5,.btn-fill.p-h-5, .card-flex.p-h-5{
    padding-right: 5em;
    padding-left: 5em;
}

.p-v-1, .btn-outline.p-v-1,.btn-fill.p-v-1, .card-flex.p-v-1 {
    padding-top: 1em;
    padding-bottom: 1em;
}

.p-v-2, .btn-outline.p-v-2,.btn-fill.p-v-2, .card-flex.p-v-2 {
    padding-top: 2em;
    padding-bottom: 2em;
}

.p-v-3, .btn-outline.p-v-3,.btn-fill.p-v-3, .card-flex.p-v-3 {
    padding-top: 3em;
    padding-bottom: 3em;
}

.p-v-4, .btn-outline.p-v-4,.btn-fill.p-v-4, .card-flex.p-v-4 {
    padding-top: 4em;
    padding-bottom: 4em;
}

.p-v-5, .btn-outline.p-v-5,.btn-fill.p-v-5, .card-flex.p-v-5 {
    padding-top: 5em;
    padding-bottom: 5em;
}

.m-l-auto {
    margin-left: auto;
}

.p-1 {
    padding: 1em;
}

.p-2 {
    padding: 2em;
}

.p-3 {
    padding: 3em;
}

.p-4 {
    padding: 4em;
}

.p-5 {
    padding: 5em;
}

.p-6 {
    padding: 6em;
}

.p-7 {
    padding: 7em;
}

.p-8 {
    padding: 8em;
}

.p-9 {
    padding: 9em;
}

.p-10 {
    padding: 10em;
}

.p-15 {
    padding: 15em;
}

.p-b-1, .card-flex.p-b-1 {
    padding-bottom: 1em;
}

.p-b-2, .card-flex.p-b-2 {
    padding-bottom: 2em;
}

.p-b-3, .card-flex.p-b-3 {
    padding-bottom: 3em;
}

.p-b-4, .card-flex.p-b-4 {
    padding-bottom: 4em;
}

.p-b-5, .card-flex.p-b-5 {
    padding-bottom: 5em;
}

p-b-8, .card-flex.p-b-8 {
    padding-bottom: 8em;
}

.p-l-1, .card-flex.p-l-1 {
    padding-left: 1em;
}

.p-l-2, .card-flex.p-l-2 {
    padding-left: 2em;
}

.p-l-3, .card-flex.p-l-3 {
    padding-left: 3em;
}

.p-l-4, .card-flex.p-l-4 {
    padding-left: 4em;
}

.p-l-5, .card-flex.p-l-5 {
    padding-left: 5em;
}


#app-body .gap-05 .flex-row,#app-body .gap-05 .flex-col{
    gap: 0.5em;
}

#app-body .gap-1 .flex-row,#app-body .gap-1 .flex-col{
    gap: 1em;
}

.gap-2 .flex-row, .gap-2 .flex-col{
    gap: 2em;
}

.hover {
    cursor: pointer;
}

#app-body.desktop-body {
    position: fixed;
    margin-left: 28em;
    margin-top: 8em;
    height: calc(100vh - 8em);
    width: calc(100vw - 28em);
}

#overlay-loader, #overlay-loader-2 {
    z-index: 10;
    backdrop-filter: blur(5px);
    position: absolute;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.5);
}

#overlay-loader-2 {
    left: 0!important;
    top: 0!important;
    background-color: rgba(255, 255, 255, 0.8)!important;
}

#content {
    overflow: auto;
    width: 100%;
    flex-direction: column;
    gap: 2em;
    padding: 1.5em;
}

#website #content {
    padding: 0;
}

.preloader {
    display: none;
}

.sidebar-nav {
    position: fixed;
    z-index: 3;
    background-color: white;
    width: 28em;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 0 18px rgba(0,0,0,0.08);
}

.sidebar-nav img{
    width: 80%;
    margin: 2em auto 4em;
}

.sidebar-nav ul {
    list-style-type: none;
    padding-left: 2em;
}

.sidebar-nav li {
    padding: 0.65em 1em;
    font-size: 2em;
    margin: 0.5em 0;
    font-weight: 300;
}

.sidebar-nav li:hover .append-icon {
    fill: var(--lightblue)!important;
    color: var(--lightblue)!important;
}

.sidebar-nav li.active {
    border-left: solid 0.3em var(--lightblue);
    background-color: var(--black);
    font-weight: 500;
    color: var(--lightblue);
}

.sidebar-nav button {
    align-self: center;
    margin-top: auto;
    margin-bottom: 2em;
}

.sidebar-nav .icon-sidebar {
    margin-right: 0.5em;
    display: flex;
    margin-bottom: 0.25em;
    fill: var(--grey);
    color: var(--grey);
}

.sidebar-nav li.active .icon-sidebar svg{
    color: var(--lightblue);
    fill: var(--lightblue);
}

.sidebar-nav li:hover, .sidebar-nav li:hover .icon-sidebar svg{
    color: var(--lightblue);
    fill: var(--lightblue);
    cursor: pointer;
}

.header-nav {
    position: fixed;
    justify-content: space-between;
    padding-left: 16%;
    padding-right: 2%;
    z-index: 2;
    height: 8em;
    width: 100%;
    background-color: var(--black);
    color: white;
    display: flex;
    align-items: center;
}

.header-nav .right-nav{
    gap: 1.5em;
    align-items: center;
    justify-content: flex-end;
}

.header-nav .btn-outline {
    border: solid 0.1em white;
    color:white;
    font-size: 1.5em;
}

.header-nav hr {
    background-color:white;
    margin: 0 1em;
    height: 4.5em;
    width: 0.14em;
}

.header-nav .session {
    font-size: 1.6em;
    align-items: center;
    display: flex;
}

.header-nav .session p{
    font-size: 1em;
    color: white;
}

.header-nav p.etablissement {
    font-weight: 700;
    color: var(--gold);
}

.header-nav img {
    border-radius: 50%;
    height: 2.8em;
    width: 2.8em;
    object-fit: cover;
    margin-right: 1em;
}

.header-nav .btn-outline {
    padding: 0.25em 1em;
}

.header-nav .btn-outline span {
    display: flex;
    margin-right: 0.5em;
}
.btn-outline {
    outline: none;
    border: solid 0.2em var(--black);
    color: var(--black);
    background: transparent;
    padding: 0.5em 2em;
    border-radius: 0.5em;
    justify-content: center;
    align-items: center;
    display: flex;
}

.btn-outline p {
    font-size: 1.8em;
    font-weight: 400;
}

.form-typeahead .btn-outline.btn-selection {
    color: white;
    background-color: var(--darkblue);
}

.form-typeahead .btn-outline.btn-selection svg, .form-typeahead .btn-outline.btn-selection h6, .form-typeahead .btn-outline.btn-selection p{
    color: white;
    fill: white;
}

.btn-outline.btn-outline-selected {
    background-color: var(--black);
    color: white;
}

.btn-outline.btn-outline-selected h6, .btn-outline.btn-outline-selected p, .btn-outline.btn-outline-selected svg{
    color: white;
    fill: white;
}

.btn-fill {
    outline: none;
    border: none;
    background-color: var(--black);
    color: white;
    padding: 0.5em 2em;
    border-radius: 0.5em;
    justify-content: center;
    align-items: center;
    display: flex;
}

.btn-fill.btn-radio {
    border: solid 0.2em var(--darkblue);
    background-color: var(--darkblue);
}

.btn-fill p {
    color: white;
    font-size: 1.8em;
    font-weight: 500;
}

.btn-fill.btn-radio p{
    color: white;
}

.btn-fill.btn-radio.btn-fill-selected {
    background-color: var(--darkblue);
    color: white;
}

.btn-fill:hover p{
    color: var(--lightblue);
}

.btn-fill.btn-radio:hover p{
    color: white;
}

.btn-card {
    color: var(--black);
    background-color: white;
    justify-content: center;
    align-items: center;
    flex: 1;
    border-radius: 0.5em;
    cursor: pointer;
    padding: 4em 2em;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.25);
}

.btn-card p {
    font-size: 2em;
    font-weight: 400;
}

.btn-card.card-cles p {
    font-size: 1.85em;
    font-weight: 300;
}

.btn-outline:hover, .btn-card:hover {
    background-color: var(--black);
    color: white;
}

.btn-card:hover svg, .btn-card:hover p, .btn-card:hover h6, .btn-outline:hover svg, .btn-outline:hover p, .btn-outline:hover h6{
    color: white;
    fill: white;
}

.card-flex {
    background-color: white;
    border-radius: 0.5em;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.25);
    padding: 2em;
    flex: 1;
    position: relative;
}

.dashboard-stats .card-flex .flex-row {
    justify-content: space-between;
}

.bulb-box {
    background-color: var(--black);
    width: fit-content;
    padding: 1em 1.2em;
    border-radius: 1.5em;
}

.border-bottom-lightgrey {
    border-bottom: solid 0.4em var(--lightgrey);
}

.border-right-dashed-lightgrey{
    border-right: dashed 0.4em var(--lightgrey);
}

.border-inventaire {
    border-top: solid 1em #d9d6d6;
}

.case-trousseau {
    position: relative;
    display: flex;
    padding: 1vh 1em;
    align-items: center;
    flex: 1;
    min-height: 5vw;
}

.case-trousseau .suppression-trousseau {
    position: absolute;
    right: 1.5em;
    top: 1.5em;
}

.case-trousseau #cles {
    align-items: baseline;
}

.case-trousseau .reference-bien {
    line-height: 1em;
}

.case-trousseau .type-bien{
    font-size: 1.5em;
    line-height: 1em;
    font-weight: 500;
}

.reference-trousseau {
    background-color: var(--lightgrey);
    color: var(--grey);
    border-radius: 1em;
    text-align: center;
    padding: 0.2em 0;
    font-size: 2em;
}

.emprunts-col > .flex-row {
    justify-content: space-between;
}

.emprunts-col h5, #details-emprunt h5{
    border-radius: 5em;
    padding: 0.25em 2em;
    justify-content: center;
    display: flex;
    align-items: center;
}

#emprunts_prevus.emprunts-col h5,#emprunt-prochain.emprunts-col h5, #emprunt-1[data-type-emprunt="emprunt-prochain"].emprunts-col h5{
    background-color: #e7d2f1;
    color:var(--violet);
}

#emprunts_en_cours.emprunts-col h5,#emprunt_en_cours.emprunts-col h5, #emprunt-en-cours.emprunts-col h5,#emprunt-1[data-type-emprunt="emprunt-en-cours"].emprunts-col h5, #details-emprunt.emprunt-en-cours h5{
    background-color: #fff0d9;
    color:var(--orange);
}

#emprunts_effectues.emprunts-col h5, #emprunts-effectues.emprunts-col h5,#emprunt-effectue.emprunts-col h5,#details-emprunt.emprunt-termine h5{
    background-color: #cfefd7;
    color:var(--green);
}

.emprunts-col .nombre-emprunts{
    background-color: var(--lightgrey);
    border-radius: 50%;
    width: 2em;
    height: 2em;
}

.emprunts-col .data-emprunt {
    overflow-y: auto;
    overflow-x: hidden;
    height: 55vh;
    max-height: 40vw;
    margin: 2em 1.5em;
    padding: 0 3%;
    flex:initial;
}

.row-emprunt {
    width: 100%;
    cursor: pointer;
    margin-bottom: 1em;
    height: 5vw;
    min-height: 10em;
    gap:1em;
}

#emprunt-1 .row-emprunt, #emprunts-effectues .row-emprunt, #emprunt-prochain .row-emprunt, #emprunt-effectue .row-emprunt {
    height: initial;
}

.row-emprunt hr {
    border-right:2px dotted;
    height:100%;
    margin-right: 2em;
}

.row-emprunt .part-2 {
    justify-content: center;
    align-items: center;
    flex: 1
}

.custom-modal {
    z-index: 10;
    display: none;
    backdrop-filter: blur(4px);
    position: absolute;
    height: calc(100vh - 8em);
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    justify-content: flex-end;
}

.custom-modal .content-modal {
    overflow: auto;
    background-color: white;
    padding: 3em;
    width: 30%;
    box-shadow: 1px 0 18px rgba(0,0,0,0.08);
    flex-direction: column;
}

#calendrier-modal .content-modal {
    border-radius: 0.5em;
}

#calendrier-modal table{
    table-layout: fixed;
}

#calendrier-modal td, #calendrier-modal th {
    padding-left: 0.5em!important;
    text-align: inherit!important;
    vertical-align: initial!important;
}

#calendrier-modal .day {
    height: 5em;
    cursor: pointer;
}

#calendrier-modal .day:hover {
    background-color: var(--lightblue);
}

#calendrier-modal .day span {
    z-index: 10;
    position: relative;
}

#calendrier-modal .case-before-today {
    background-color: #c9c9c9;
    cursor: not-allowed;
}

#calendrier-modal .case-today {
    background-color: #c7e5f4;
}

#calendrier-modal .case-ferie {
    background-color: var(--lightgrey);
}

#calendrier-modal .selection, #calendrier-modal .selection .reservation, #calendrier-modal .selection .emprunt-en-cours{
    background-color: var(--lightblue)!important;
}

#calendrier-modal .reservation, #calendrier-modal .reservation.day:hover {
    background-color: #E7D2F1;
    cursor: not-allowed;
}

#calendrier-modal .emprunt-en-cours, #calendrier-modal .emprunt-en-cours.day:hover {
    background-color: #efdac0;
    cursor: not-allowed;
}

.body-modal {
    padding: 2em 3em;
    margin-top: 2em;
    flex: 1;
}

.custom-modal #type_emprunt {
    width: fit-content;
    margin-bottom: 2em;
}

#container-cards-contact {
    max-height: 86vh;
    padding-right: 2em;
    overflow: auto;
}

.card-contact {
    flex: 1;
    max-height: 18em;
}

.card-contact.card-flex {
    padding: 4em 2em 4em 4em;
    align-items: center;
}

.card-contact .flex-col{
    gap : 0;
    justify-content: center;
}

.card-contact #type-contact {
    font-weight: 600;
    color: var(--gold);
}

.card-contact #societe {
    font-weight: 500;
    color: var(--darkblue);
}

.card-contact .border-inside {
    border-left: solid 0.4em var(--littlegrey);
}

.chips {
    border-radius: 10em;
    background-color: var(--lightgrey);
    color: var(--grey);
    padding: 0.4em 2em;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.chips p {
    font-size: 1.75em;
}

#menu-creation img {
    width: 20em;
}

#menu-creation p {
    font-size: 2.15em;
}

#menu-creation  p b{
    color: var(--lightblue);
}

#menu-creation .btn-card p {
    font-weight: 400;
    margin: 3em 0.5em;
}

#dupliquer-cles img {
    width: 10em;
}

.btn-card.card-cles {
    padding: 2em 1em 2em 0;
    cursor:pointer;
    max-height: 19em;
    justify-content: initial;
}

.btn-card.card-cles .flex-col, .btn-card.card-cles .flex-row{
    gap:0;
}

.btn-card.card-cles h6 {
    line-height: 1.2em;
}

.card-cles.btn-card .cle-type {
    color: var(--gold);
    font-weight: 500;
}

.card-cles.btn-card .bien-type, .card-cles.btn-card .proprietaire-identite {
    color: var(--gold);
    line-height: 1em;
    font-weight: 500;
}

.card-cles #icon-selection.cle-selected svg{
    fill: #96D19A;
    color: #96D19A;
}

.card-cles #icon-selection.cle-unselected svg{
    fill: #ff8484;
    color: #ff8484;
}

.case-trousseau .suppression-trousseau svg{
    fill: var(--littlegrey);
    color: var(--littlegrey);
}

.case-trousseau .suppression-trousseau.to-delete svg{
    fill: #ff8484;
    color: #ff8484;
}

#dupliquer-cles .card-flex hr {
    background: var(--lightgrey);
    height: 0.1em;
    width: 30%;
}

.btn-card.btn-back {
    padding: 2em;
}

.card-flex .overlay-card {
    z-index: 10;
    backdrop-filter: blur(4px);
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 0.5em;
    width: 100%;
    background-color: #eeeeee6b;
    display: flex;
    flex-direction: column;
}

.card-flex .overlay-card .chips {
    background-color: var(--littlegrey);
    padding: 1.5em 4em;
}

.card-flex .overlay-card .chips h6, .card-flex .overlay-card .chips p{
    color: white;
}

.form-typeahead .back-to-choice {
    text-decoration: underline;
    cursor: pointer;
}

.form-typeahead .choice-selected {
    font-weight: 400;
}

.form-typeahead .affichage-selection h5{
    color: var(--lightblue);
}

.typeahead {
    width: 100%!important;
}

.tt-dataset {
    display: block!important;
}

.horaires-support {
    border: solid 0.1em var(--littlegrey);
    border-radius: 1em;
    margin: 1em 2em;
    flex: initial!important;
}

.box-photo img {
    border-radius: 0.5em;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.box-photo .btn-fill{
    position: absolute;
}

.box-photo .btn-fill svg{
    fill: white;
    color: white;
}

.informations-box {
    padding:2em;
    border-radius: 0.5em;
    background-color: var(--lightgrey);
}

.informations-box p{
    color: var(--grey);
}

.informations-box p b, .avertissements-box p b{
    font-weight: 500;
}

.avertissements-box {
    padding:2em;
    border-radius: 0.5em;
    background-color: #fff6e7;
    align-items: center;
}

.avertissements-box p{
    color: #FFC937;
}

#section-contrat #contrat p, #section-contrat #contrat li {
    font-family: "Poppins", sans-serif!important;
}

#section-contrat #contrat .h4 {
    font-size: 2.5em;
}

#section-contrat #contrat li {
    font-size: 1.9em;
}

#details-notifications #container-rows-notifications {
    flex: initial;
    max-height: 68vh;
    gap: 4em;
    padding-right: 3em;
    overflow: auto;
}

.buttons-impression {
    padding: 1.5em;
    border-radius: 0.5em;
    cursor: pointer;
    border:solid 0.25em var(--darkblue);
}

.buttons-impression p{
    color: var(--darkblue);
    font-size: 2em;
    font-weight: 500;
    margin-left: 2em
}

.utilisateur-button {
    cursor: pointer;
    gap: 0.5em!important;
    flex: initial;
    padding-bottom: 0.5em;
    display: none;
}

.utilisateur-button h6{
    text-align: center;
    font-size: 1.6em;
}

.utilisateur-button.active {
    border-bottom: solid 0.5em var(--lightblue);
}

.utilisateur-button img{
    background-color: #3F4A5A;
    width: 5em;
    height: 5em;
    border-radius:50%;
    object-fit: cover
}

.acces-limit {
    opacity: 0.5;
    cursor: not-allowed;
}

#website {
    padding: 2em 10vw;
}

#website .full-row {
    margin-left: -10vw;
    width: 99.4vw;
}

#website body{
    background-color: white;
}

#website h2{
    font-weight: 700;
    color: var(--darkblue);
    font-size: 3.4em;
    border: none;
    line-height: 1.5;
    padding-left: 0;
}

#website h3{
    font-weight: 500;
    color: var(--darkblue);
    font-size: 2.8em;
    line-height: 1.5;
}

#website p {
    font-size: 2em;
    line-height: 1.8;
}

#website p b {
    font-weight: 600;
}

#website .discover-app {
    border-radius: 1em;
    padding: 2em 4em;
    display: flex;
    margin-right: 10vw;
    margin-left: 10vw;
    align-items: center;
}

#website .discover-app legend {
    width: fit-content;
    padding: 0 1em;
    font-size: 2.5em;
}

.tt-menu .tt-suggestion{
    white-space: pre-line;
}

@media (max-width: 1250px) {

    #website {
        padding: 2em 8vw;
    }

    #website .full-row {
        margin-left: -8vw;
        width: 99.4vw;
    }

    .tablette-hide {
        display: none;
    }

    #cles-liees .card-cles {
        width: 31%!important;
    }

    #cles-liees .card-cles img {
        display: none;
    }
}

@media (max-width: 850px) {

    #website {
        padding: 2em 5vw;
    }

    #website .full-row {
        margin-left: -5vw;
        width: 99.4vw;
    }
}

@media (max-width: 700px) {
    html {
        height: -webkit-fill-available;
    }
    body {
        padding: 0;
        margin: 0;
        min-height: 100vh;
    }

    /* Avoid Chrome to see Safari hack */
    @supports (-webkit-touch-callout: none) {
        body {
            /* The hack for Safari */
            min-height: -webkit-fill-available;
        }
    }
    .m-b-30-mobile {
        margin-bottom: 40vh!important;
    }

    #website h1, #website h2, #website h3, #website h4, #website h5, #website h6, #website p {
        text-align: center;
    }

    #website p {
        font-size: 1.8em !important;
    }

    #website h2{
        font-size: 3.2em;
    }

    #website .discover-app {
        margin-left: 4vw;
        margin-right: 4vw;
    }

    #website {
        padding: 0 2vw;
    }

    #website .full-row {
        margin-left: -2vw;
        width: 99.4vw;
    }

    #website body {
        font-size: 1.75vw !important;
    }

    #website .card-services {
        height: 36em !important;
        margin: 5em;
    }

    #website .card-inscription {
        width: 100% !important;
    }

    #website .card-services img {
        margin: 2em auto 1em auto;
        width: 20% !important;
    }

    #website .mobile-hide {
        display: none;
    }

    #website .card-tarifs {
        height: 30em !important;
    }

    #website .offres-abo {
        width: 45% !important;
    }

    .custom-modal {
        height: inherit;
    }

    .custom-modal .content-modal {
        width: 100% !important;
        max-height: 100vh !important;
        height: 100vh;
    }

    .card-compte {
        display: flex;
        background-color: var(--black);
        border-radius: 5em;
        padding: 1% 2% 1% 1.5%;
        flex-direction: row;
        width: 50%;
        height: 6vh;
    }

    .round-btn-black {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--black);
        height: 5vh;
        width: 5vh;
    }

    .navbar-mobile {
        background-color: white;
        z-index: 2;
        height: 8vh;
        box-shadow: 0 1px 12px rgba(205, 205, 205, 0.75);
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    #utilisateur-img {
        border-radius: 10em;
    }

    #content {
        height: 85vh;
        padding-bottom: 10vh!important;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

    #website #content {
        height: inherit;
    }

    #content::-webkit-scrollbar {
        display: none;
    }

    .header-navbar {
        gap: 2em;
        padding: 1em;
        align-items: center;
        height: 7vh;
        background-color: var(--black)
    }

    .gap-2 .flex-row, .gap-2 .flex-col {
        gap: 1.5em;
    }

    .navbar-mobile .active svg {
        color: var(--lightblue);
        fill: var(--lightblue);
    }

    .filtres-statuts label {
        margin-bottom: 0;
    }

    .card-cles #key-card {
        width: 6.75em !important;
    }

    .card-cles #cle-part {
        flex: 1 !important;
    }

    #container-trousseau .card-flex {
        padding: 2em;
    }

    .tt-dropdown-menu, .tt-menu {
        font-size: 1.8em !important;
    }

    #container-form-typeahead-emprunteur .btn-selection, #section-bien .btn-selection, #section-proprietaire .btn-selection {
        padding: 2em;
        width: 48%;
        margin: 2em 0;
    }

    #container-form-typeahead-emprunteur .affichage-recherche .form-box, #section-bien .affichage-recherche .form-box, #section-proprietaire .affichage-recherche .form-box,#section-trousseau .affichage-recherche .form-box {
        flex: 0.8 !important;
        margin: 4em 0;
    }

    #container-form-typeahead-emprunteur .affichage-selection,#section-bien .affichage-selection, #section-proprietaire .affichage-selection,#section-trousseau .affichage-selection {
        margin: 4em 0;
    }

    #section-dates .btn-radio {
        width: 48% !important;
        padding: 2em;
    }

    #nav-chips {
        cursor: pointer;
        gap: 1em;
        margin-left: 0.5em;
    }

    #nav-chips h5.chips {
        padding: 0.2em 0.75em;
        line-height: 1.8em;
    }

    #nav-chips h5.chips.selected {
        background-color: var(--lightblue);
        color: white;
    }

    .hide-scrollbar {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }

    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .swal2-modal {
        width: 90%!important;
    }

    .swal2-modal .swal2-title {
        font-size: 1.65em!important;
    }

    .swal2-modal .swal2-content {
        font-size: 1em!important;
    }

    label > input[type="radio"] + *::before {
        width: 1.75em;
        height: 1.75em;
    }

}

#website header{
    display:flex;
    height: 10em;
}

#website header img{
    width: 100%;
}

#website header #btns-sign {
    margin-left: auto;
    justify-content: flex-end;
    gap: 2em;
}

#website h1 {
    font-size: 4em;
    color: var(--black);
    font-weight: 600;
}

#website h4 {
    font-size: 3.5em;
    font-weight: 500;
    line-height: 1.5em;
    color: var(--black);
}

#website h4.white {
    color: white;
}

#website h4::after {
    content: '';
    display: block;
    background: rgb(178,229,240);
    background: linear-gradient(90deg, rgba(178,229,240,0) 0%, rgba(178,229,242,1) 100%);
    width: 45%;
    height: 0.75em;
    position: relative;
    margin-top: 1vh;
    border-radius: 0.75em;
}

#website h4.white::after {
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(178,229,240,0) 0%, rgba(255,255,255,1) 100%);    width: 40%;

}

#website .card-services {
    background: white;
    width: 40em;
    height: 40em;
    border-radius: 1em;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2em;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.25);
}

#website .card-services h6 {
    font-weight: 500;
    color: var(--darkblue);
    font-size: 2.5em;
    margin-top: 1em;
    text-align: center;
}

#website .card-services p {
    color: var(--grey);
    margin-top: 0.5em;
    text-align: center;
}


#website .card-services img{
    width: 25%;
}

#website .accordion-section {
   flex-direction: column;
    margin: 1.5em 0;
    cursor: pointer;
    border-bottom: solid 0.5em var(--littlegrey);
    padding-bottom: 1em;
    border-radius: 0.5em;
}

#website .accordion-section.active {
    border-bottom: solid 0.5em var(--lightblue);
}

#website .accordion-section p{
    display: none;
}

#website .accordion-section.active p{
    display: block;
}

#website .accordion-section.active .arrow-up{
    display: block;
}

#website .accordion-section.active .arrow-down{
    display: none;
}

#website .accordion-section .arrow-up{
    display: none;
}

#website .accordion-section .arrow-down{
    display: block;
}

#website .accordion-section  h6 {
    font-weight: 500;
    font-size: 2.5em;
    color: var(--darkblue);
}

#website .accordion-section.active  h6 {
    color: var(--lightblue);
}

#website .accordion-section  p {
    margin-top: 0.5em;
    font-size: 2.1em;
}

#website .accordion-section  svg {
    width: 3.5em;
    margin-left: auto;
    margin-right:1em;
}

#website .card-tarifs {
    width: 23%;
    height: 75em;
    border-radius: 1em;
    background-color: white;
    align-items: center;
    flex-direction: column;
    padding: 2em;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.25);
}


#website .card-tarifs img {
    width: 25%;
    margin-top: 1.5em;
    margin-bottom: 2.5em;
}


#website .card-tarifs h6 {
    text-transform: uppercase;
    color: var(--darkblue);
    font-size: 2.75em;
    margin-bottom: 0.5em;
}

#website .card-tarifs p {
    font-size: 2.2em;
    margin: 0.1em;
    text-align: center;
    padding: 0.2em 1em;
}

#website .card-tarifs b{
    color: var(--lightblue);
    font-weight: 500;
}

#website .card-tarifs .price {
    text-transform: uppercase;
    font-size: 2.75em;
    margin-top: auto;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1em;
}

#website input, #website select {
    border-radius: 50em;
    border:none;
    padding: 0.3em 1em;
    font-size: 2.5em;
}

#website input.line, #website select.line {
    margin: 0.5em 1em;
    line-height: 1.6em;
    font-size: 2em;
    display: flex;
    border: none;
    border-bottom: solid 1px var(--grey);
    color: var(--grey);
    border-radius: 0;
    padding: 0 0 0.2em 0;
    background: none;
    height: inherit;
}

#website select {
    color: var(--littlegrey);
}

#website select option{
    color: var(--black);
}

#website input::placeholder {
    color: var(--littlegrey);
}

#website input:focus, #website textarea:focus, #website select:focus{
    outline: none;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.35);
}

#website #content {
    overflow: initial;
}

#website .card-inscription {
    width: 65%;
    border-radius: 1em;
    background-color: white;
    flex-direction: column;
    padding: 4em;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.25);
}

 #website .card-inscription input, #website .card-inscription select{
     border: solid 0.1em var(--littlegrey);
 }

#website .offres-abo {
    gap: 1em;
    align-items: center;
}

 #website .offres-abo .type-offre {
     color: var(--darkblue);
     font-size: 2.5em;
     font-weight: 400;
 }

#website .offres-abo .prix-offre {
    color: var(--gold);
    font-weight: 500;
    font-size: 2.2em;
    text-transform: capitalize;
}

#website .custom-modal {
    z-index: 8;
    display: none;
    backdrop-filter: blur(4px);
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    justify-content: flex-end;
    background-color: rgba(255, 255, 255, 0.3);
}

#website input[type="checkbox"] {
    width: 1em;
    height: 1em;
}

#website #text-contrat h2 {
    margin-top: 0.25em;
}

#website #text-contrat h3 {
    margin-bottom: 0.5em;
    margin-top: 1em;
    font-weight: 500;
}

#website #text-contrat h6 {
    color: var(--darkblue);
    font-size: 2em;
    margin-top: 1em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

#website #text-contrat p {
    margin-bottom: 0.4em;
}

#website .card-informations {
    border-radius: 2em;
    background-color: white;
    box-shadow: 1px 5px 12px rgba(205,205,205,0.25);
    padding: 4em 4em 6em 4em;
    width: 100%;
    flex-direction: column;
}

#website .card-informations h2 {
    margin-top: 2em;
    margin-bottom: 1em;
}

#website .nextArrowBtn{
    position: absolute;
    z-index: 100;
    top: 50%;
    right: -2em;
    color: var(--littlegrey);
}

#website .prevArrowBtn{
    position: absolute;
    z-index: 100;
    top: 50%;
    color: var(--littlegrey);
    left: -2em;
}

#website #overlay-loader {
    top: 0;
    left: 0;
    z-index: 9999;
    backdrop-filter: blur(5px);
    position: absolute;
    height: 100vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.5);
}

#header-list-etablissements h6 {
    color: white;
    text-align: center;
}

#header-list-biens h6 {
    color: white;
}

#container-etablissements .rows-etablissement p{
    text-align: center;
}

#heure-debut option:disabled, #heure-fin option:disabled {
    background-color: #C9C9C9;
}

.skeleton {
    background-color: #f1f1f1;
    width: 100%;
    border-radius: 0.5em;
}

.emprunts-emprunteurs .row-emprunt #emprunt-date_debut, .emprunts-emprunteurs .row-emprunt #emprunt-date_fin{
    font-size: 1.7em;
}

.label-required {
    font-weight: 550;
}

.keybox {
    border: solid 0.3em var(--darkblue);
    border-radius: 1em;
    padding: 1em 2em;
    flex: initial!important;
    cursor: pointer;
    gap: 0!important;
    margin-bottom: 2em;
}

.keybox.selected {
    background-color: var(--darkblue);
}

.keybox.selected p, .keybox.selected svg{
    color: white;
    fill: white;
}
