@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Black.eot");
    src: local("Roboto Black"), local("Roboto-Black"), url("../fonts/Roboto-Blackd41d.eot?#iefix") format("embedded-opentype"), url("../fonts/Roboto-Black.html") format("woff2"), url("../fonts/Roboto-Black.woff") format("woff"), url("../fonts/Roboto-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Regular.eot");
    src: local("Roboto"), local("Roboto-Regular"), url("../fonts/Roboto-Regulard41d.eot?#iefix") format("embedded-opentype"), url("../fonts/Roboto-Regular.html") format("woff2"), url("../fonts/Roboto-Regular.woff") format("woff"), url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Bold.eot");
    src: local("Roboto Bold"), local("Roboto-Bold"), url("../fonts/Roboto-Boldd41d.eot?#iefix") format("embedded-opentype"), url("../fonts/Roboto-Bold.html") format("woff2"), url("../fonts/Roboto-Bold.woff") format("woff"), url("../fonts/Roboto-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/Roboto-Medium.eot");
    src: local("Roboto Medium"), local("Roboto-Medium"), url("../fonts/Roboto-Mediumd41d.eot?#iefix") format("embedded-opentype"), url("../fonts/Roboto-Medium.html") format("woff2"), url("../fonts/Roboto-Medium.woff") format("woff"), url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal
}

@font-face {
    font-family: 'Luciole';
    src: url("../fonts/Lucieole-Regular.html");
    src: url("../fonts/Lucieole-Regulard41d.html?#iefix") format("embedded-opentype"), url("../fonts/Lucieole-Regular-2.html") format("woff2"), url("../fonts/Lucieole-Regular-3.html") format("woff"), url("../fonts/Lucieole-Regular-4.html") format("truetype");
    font-weight: normal;
    font-style: normal
}

body {
    font-family: 'Roboto', sans-serif;
    color: #3b3a50;
    background: #efefef;
    font-size: 14px;
}

/* Global */

main h2 {
    font-size: 24px;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
}

main h3 {
    font-size: 18px;
    font-weight: 500;
}

p {
    margin: 0;
}

a:hover {
    text-decoration: none;
}

/* Header */

.max-width {
    max-width: 1800px;
    width: 90%;
    margin: 0 auto;
}

.max-max-width {
    max-width: 1600px !important;
}

.top-nav > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.top-nav img.logo {
    width: 16rem;
}

header {
    border-bottom: 3px solid #eaeaea;
    background: #ffffff;
}

header hr {
    margin: 0 auto;
    max-width: 1800px;
    width: 90%;
}

.top-nav .user-tool {
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    padding: .25rem .75rem;
    cursor: pointer;
}

.top-nav .user-tool img {
    margin-left: .5rem;
}

header .menu {
    max-width: 1800px;
    font-size: 16px;
}

nav.navbar {
    background: unset;
    height: 3.5rem;
}

nav li > *:first-child {
    color: rgba(59, 58, 80, 0.5);
    text-decoration: none;
    cursor: pointer;
}

nav li > *:first-child.active {
    color: #3B3A50;
    font-weight: 500;
}

nav li {
    margin-right: 1rem;
}

nav li img {
    opacity: .5;
    margin-left: .25rem;
}

nav li ul {
    position: absolute;
    display: none;
    background: #ffffff;
    z-index: 999;
    border: 1px solid #eaeaea;
    top: 56px;
    align-items: center;
    height: 3rem;
}

.sous-menu.gestion-contenu {
    margin-left: -13rem;
}

.sous-menu.donne-user {
    margin-left: -15rem;
}

.sous-menu li {
    list-style-type: none;
    position: relative;
    left: -1.5rem;
    margin-right: 1rem;
}

.sous-menu li:hover a, .sous-menu-active:hover, ul.navbar-nav a:hover {
    color: #3B3A50;
}

.sous-menu li:last-child {
    margin-right: -.5rem;
}

nav ul li:hover ul {
    display: flex;
}

nav li:hover ul li {
    float: none;
}

nav .sous-menu-active {
    padding-bottom: 20px;
}

.user-tool-open {
    position: absolute;
    text-align: end;
    top: 47px;
    border: 1px solid #dfdfdf;
    background: white;
}

.user-tool-open a {
    padding: .25rem .75rem .25rem;
    z-index: 999;
    color: rgba(59, 58, 80, 0.75);
}

.user-tool-open a:hover {
    background: #3b3a50;
    color: white;
    text-decoration: none;
}

/* Fin Header */

/* HOMEPAGE */
/* Tableau de bord */

.dashboard {
    display: flex;
    justify-content: space-between;
}

.bloc-admin > div {
    background: #FFFFFF;
    height: fit-content;
    border-radius: 3px;
}

.dashboard .notifications {
    width: 36%;
    height: max-content;
}

.dashboard .statistiques {
    width: 63%;
}

.dashboard .notifications .circle-pop {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard .notifications .blue-pop {
    background: rgba(118, 200, 236, .53);
}

.dashboard .notifications .red-pop {
    background: rgba(236, 118, 118, .53);
}

.dashboard .notifications .purple-pop {
    background: rgba(219, 131, 232, 0.53);
}


.dashboard .notifications .cyan-pop {
    background: rgba(122, 120, 232, 0.53);
}

.dashboard .notifications .green-pop {
    background: rgba(94, 220, 83, .53);
}

.dashboard .notifications .line-notif {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.dashboard .notifications .line-notif:last-child {
    margin-bottom: 0;
}

.dashboard .notifications .line-notif a {
    text-decoration: underline;
    font-weight: 500;
    color: unset;
}

.dashboard .notifications .line-notif.avis a:hover {
    color: rgb(118, 200, 236);
}

.dashboard .notifications .line-notif.photos a:hover {
    color: rgb(236, 118, 118);
}

.dashboard .notifications .line-notif.infos a:hover {
    color: rgb(94, 220, 83);
}

.statistiques .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.statistiques .head a {
    font-style: italic;
    color: #3B3A50;
}

.statistiques .head a:hover {
    text-decoration: underline;
}

.statistiques .list-box-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.statistiques .list-box-stats .box-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.statistiques .list-box-stats .box-stats p {
    margin: 0;
}

.statistiques .list-box-stats .box-stats p:last-child {
    font-style: italic;
    color: rgba(59, 58, 80, 0.7);
}

.statistiques .list-box-stats .box-stats span {
    margin: .75rem 0;
    font-size: 36px;
    font-weight: 500;
}

/* Shortcuts */

.shortcuts .fast-menu {
    width: 100%;
}

.shortcuts .fast-menu .head-type h3 {
    margin: 0;
    font-size: 16px;
}

.shortcuts .fast-menu .head-type, .shortcuts .fast-menu .head-type .title {
    display: flex;
    align-items: center;
}

.shortcuts .fast-menu .head-type {
    justify-content: space-between;
    padding-bottom: .75rem;
    border-bottom: 1px solid #e7e7e7;
    cursor: pointer;
}

.shortcuts .fast-menu .head-type .title img {
    margin-right: .75rem;
    width: 17px;
    height: 18px;
}

.shortcuts .fast-menu .head-type img.dropdown {
    width: 12px;
}

.shortcuts .fast-menu .list-bloc-short {
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.shortcuts .fast-menu .list-bloc-short a article {
    height: 8.5rem;
    width: 14rem;
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 3px;
    margin-right: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: .5rem;
}

.shortcuts .fast-menu .list-bloc-short a {
    text-decoration: none;
    color: #3B3A50;
}

.shortcuts .fast-menu .list-bloc-short a article img {
    width: 29px;
}

.shortcuts .fast-menu .list-bloc-short a article h4 {
    font-size: 14px;
    margin: .5rem 0;
    color: #3B3A50;
    text-transform: uppercase;
}

.shortcuts .fast-menu .list-bloc-short a article p {
    color: rgba(59, 58, 80, 0.8);
    margin: 0;
    max-width: 90%;
}

.shortcuts .fast-menu .list-bloc-short a:hover article {
    background: #ffffff;
}

.open-short {
    animation-name: openShort;
    animation-duration: .5s;
}

.close-short {
    animation-name: closeShort;
    animation-duration: .5s;
}

@keyframes openShort {
    from {
        height: 0;
    }

    to {
        height: 8.5rem;
    }
}

@keyframes closeShort {
    from {
        height: 8.5rem;
    }

    to {
        height: 0;
    }
}

/* FIN HOMEPAGE */
/* LISTE ANNONCES */

.h2-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h2-head .btn-add {
    background: #ffffff;
    border: 1px solid rgba(59, 58, 80, .5);
    border-radius: 3px;
    padding: .25rem .5rem;
    color: rgba(59, 58, 80, .75);
    font-weight: 500;
    transition: all .3s ease;
}

.h2-head a:hover {
    text-decoration: none;
}

.h2-head a:hover .btn-add {
    background: #3B3A50;
    color: white;
}

.head-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3B3A50;
    height: 3rem;
    border-radius: 3px 3px 0 0;
    color: white;
    padding: 0 1rem;
}

.head-list p {
    font-weight: 500;
}

.stats-mois .head-list p {
    font-size: 16px;
}

.stats-mois th.ehpad {
    background: #ee7420;
}

.stats-mois th.rs {
    background: #E14A6E;
}

.stats-mois th.hf {
    background: #9D3F90;
}

.stats-mois th.invest {
    background: #D92828;
}

.stats-mois th.sad {
    background: #485FA9;
}

.stats-mois th {
    color: white;
    border: 2px solid white;
    padding: .5rem .75rem;
    text-align: center;
}

.title-bg {
    background: rgba(59, 58, 80, .75);
    color: white;
}

.stats-mois tr td {
    width: 16.6667%;
}

.stats-mois .sous-table tr td:nth-child(1) {
    width: 35%;
    background: rgba(59, 58, 80, .4);
    color: white;
    font-weight: 500;
}

.stats-mois .sous-table tr td:nth-child(2), .sous-table tr td:nth-child(3) {
    width: 32.5%;
}

.stats-mois .total-tr td:first-child {
    background: rgba(59, 58, 80, .75) !important;
}

.sous-table tr td {
    text-align: center;
}

.stats-mois tr {
    height: 1.75rem;
    border: 1px solid rgba(59, 58, 80, .2);
    border-left: none;
}

.title-bg td {
    text-align: center;
    padding: .3rem;
    border: 2px solid white;
}

.type-title {
    border: 1px solid rgba(59, 58, 80, .75);
}

.list-annonces .head-list .right-side, .list-annonces .head-list .right-side .number-field, .list-annonces .head-list .wait-search, .list-annonces .head-list .all-search {
    display: flex;
    align-items: center;
    background-color: initial;
}

.list-annonces label {
    margin-bottom: 0 !important;
}

.list-annonces .head-list .separator {
    width: 1px;
    height: 28px;
    background: white;
    margin: 0 .75rem;
}

.list-annonces .head-list select {
    border-radius: 3px;
    padding: .35rem 0;
    width: 3.5rem;
    margin: 0 .5rem;
}

.list-annonces .head-list input {
    border-radius: 3px;
    padding: .35rem 0 .35rem .5rem;
    width: 9.5rem;
    margin-left: .5rem;
    border: none;
}

.list-annonces table {
    width: 100%;
}

.list-annonces table .actions {
    display: flex;
    align-items: center;
    width: 20%;
}

.list-annonces table .actions .action-btn {
    background: white;
    border: 1px solid #ececec;
    border-radius: 3px;
    padding: .25rem .5rem;
    display: flex;
    align-items: center;
}

.list-annonces table .actions .action-btn img {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.list-annonces table .actions a {
    color: #3B3A50;
    font-weight: normal;
}

.list-annonces table tr {
    height: 2.75rem;
    padding: 0 1rem;
}

.list-annonces table tr:nth-child(even) {
    background: #f4f4f4;
}

.list-annonces table tr:nth-child(odd) {

}

.list-annonces table .head-table {
    background: rgba(59, 58, 80, .75);
    color: white;
    font-weight: 400;
}

.list-annonces tr th {
    font-weight: 500;
    border-right: 1px solid rgba(59, 58, 80, .75);
    padding-left: 1rem;
}

.list-annonces tr td {
    border-right: 1px solid #e3e3e3;
    padding-left: 1rem;
}

.list-annonces tr td:first-child, .list-annonces tr th:first-child {
    padding-left: 1rem;
}

.list-annonces tr td:last-child, .list-annonces tr th:last-child {
    padding-right: 1rem;
    border-right: none;
}

.list-annonces tr td:nth-child(1), .list-annonces tr th:nth-child(1) {
    width: 6%;
}

.list-annonces tr td:nth-child(2), .list-annonces tr th:nth-child(2) {
    width: 38%;
}

.list-annonces tr td:nth-child(3), .list-annonces tr th:nth-child(3) {
    width: 23%;
}

.list-annonces tr td:nth-child(4), .list-annonces tr th:nth-child(4) {
    width: 8%;
}

.list-annonces tr td:nth-child(5), .list-annonces tr th:nth-child(5) {
    width: 6%;
}

.list-annonces .date-table tr td:nth-child(1), .list-annonces .date-table tr th:nth-child(1) {
    width: 6%;
}

.list-annonces .date-table tr td:nth-child(2), .list-annonces .date-table tr th:nth-child(2) {
    width: 30%;
}

.list-annonces .date-table tr td:nth-child(3), .list-annonces .date-table tr th:nth-child(3) {
    width: 10%;
}

.list-annonces .date-table tr td:nth-child(4), .list-annonces .date-table tr th:nth-child(4) {
    width: 10%;
}

.list-annonces .date-table tr td:nth-child(5), .list-annonces .date-table tr th:nth-child(5) {
    width: 11%;
}

.list-annonces .date-table tr td:nth-child(6), .list-annonces .date-table tr th:nth-child(6) {
    width: 8%;
}

.list-annonces .date-table tr td:nth-child(7), .list-annonces .date-table tr th:nth-child(7) {
    width: 6%;
}

.list-annonces tr td:nth-child(5) {
    padding-left: unset;
}

.list-annonces .date-table tr td:nth-child(7) {
    padding-left: unset;
}

.list-annonces .date-table tr td:nth-child(5) {
    padding-left: 1rem;
}

.statut-round {
    width: 14px;
    height: 14px;
    border-radius: 100%;
    margin: 0 auto;
}

.statut-waiting {
    background: #ff7a21;
}

.statut-disabled {
    background: #D92828;
}

.statut-enabled {
    background: #53c407;
}

.bottom-table {
    background: rgba(59, 58, 80, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 3rem;
    border-radius: 0 0 3px 3px;
    padding: 0 1rem;
}

.bottom-table .pagination {
    height: 2.5rem;
    display: flex;
    align-items: center;
}

.bottom-table .pagination .num {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    color: rgba(59, 58, 80, .35);
    padding: .3rem 1rem;
    font-weight: 500;
    border-right: 1px solid #dfdfdf;
    overflow: hidden;
    cursor: pointer;
}

.bottom-table .pagination .num.active {
    background: #3B3A50;
    color: white;
}

.bottom-table .pagination .num:first-child {
    border-radius: 2px 0 0 2px;
}

.bottom-table .pagination .num:last-child {
    border-right: none;
    border-radius: 0 2px 2px 0;
}

/* FIN LISTE ANNONCES */
/* ADD ANNONCE */

.add-annonce .head-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3rem;
    background: #3B3A50;
    color: white;
    border-radius: 3px 3px 0 0;
    padding: 0 1rem;
}

.add-annonce .head-list p {
    font-weight: 500;
}

.add-annonce .head-list .btn-edit {
    background: #ffffff;
    border: 1px solid rgba(59, 58, 80, .5);
    border-radius: 3px;
    padding: .25rem .5rem;
    color: rgba(59, 58, 80, .75);
    font-weight: 500;
    transition: all .3s ease;
}

.add-annonce .head-list a:hover .btn-edit {
    background: #ededed;
    color: rgba(59, 58, 80, 1);
}

.section-form-annonce {
    padding: 0 3rem;
    margin-top: 2rem;
}

.section-form-annonce h4 {
    background: rgba(59,58,80,0.75);
    color: white;
    padding: .7rem .85rem;
    font-size: 16px;
    font-weight: 500;
}

.section-form-annonce label span, .section-form-annonce .checkbox span {
    color: #D92828;
}

.section-form-annonce input, .section-form-annonce select, .section-form-annonce .custom-file-label, .cke_top {
    background: #fcfcfc !important;
    border: 1px solid rgba(59,58,80,0.1) !important;
}

.custom-file input, .section-form-annonce .custom-file .custom-file-label {
    cursor: pointer;
}

.custom-file .custom-file-label::after {
    content: "Sélectionner" !important;
}

.section-form-annonce .px-3 {
    margin-bottom: .75rem;
}

.section-form-annonce .form-check {
    position: relative;
    display: block;
    padding: .5rem 0 .5rem 2rem;
    background: #FCFCFC;
    border: 1px solid rgba(59,58,80,.1);
    border-radius: 2px;
}

.nodisplay {
    display: none;
}

.section-form-annonce .btn-primary {
    background: #53c407;
    margin: 0 auto;
    border: none;
}

.section-form-annonce .btn-primary:hover {
    background: #5bd608;
}

/* Liste Avis */

.list-annonces .avis-table tr td:nth-child(1), .list-annonces .avis-table tr th:nth-child(1) {
    width: 6%;
}

.list-annonces .avis-table tr td:nth-child(2), .list-annonces .avis-table tr th:nth-child(2) {
    width: 9%;
}

.list-annonces .avis-table tr td:nth-child(3), .list-annonces .avis-table tr th:nth-child(3) {
    width: 17%;
}

.list-annonces .avis-table tr td:nth-child(4), .list-annonces .avis-table tr th:nth-child(4) {
    width: 14%;
}

.list-annonces .avis-table tr td:nth-child(5), .list-annonces .avis-table tr th:nth-child(5) {
    width: 15%;
}

.list-annonces .avis-table tr td:nth-child(6), .list-annonces .avis-table tr th:nth-child(6) {
    width: 6%;
}

.list-annonces .avis-table tr td:nth-child(7), .list-annonces .avis-table tr th:nth-child(7) {
    width: 8%;
}

.list-annonces .avis-table tr td:nth-child(8), .list-annonces .avis-table tr th:nth-child(8) {
    width: 5%;
}

.list-annonces .avis-table tr td:nth-child(9), .list-annonces .avis-table tr th:nth-child(9) {
    width: 20%;
}

.list-annonces .avis-table tr td:nth-child(8) {
    padding-left: unset;
}

.list-annonces .avis-table tr td:nth-child(5) {
    padding-left: 1rem;
}

.tarifs-type {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 16px;
    margin-top: 12px;
}

.tarifs-type article {
    border: 1px solid #D4D4D4;
    background: #FFFFFF;
    padding: 16px 0;
    width: 150px;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 0 9px rgb(0 0 0 / 11%);
    border-radius: 4px;
}

.tarifs-type article .type {
    padding: 8px 12px;
    background: rgba(245, 88, 123, 0.5) !important;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
}

.tarifs-type article .removeTypeTarif {
    position: absolute;
    height: 32px;
    width: 32px;
    border-radius: 100%;
    background: white;
    border: 1px solid #D4D4D4;
    right: -8px;
    top: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.tarifs-type article .removeTypeTarif img {
    width: 50%;
}

.tarifs-type article .removeTypeTarif:hover {
    background: #f99;
    cursor: pointer;
}

.tarifs-type article p {
    text-align: center;
    font-size: 16px;
    margin: 0;
    color: #3E3E3E;
}

.tarifs-type article p:first-of-type {
    margin-top: 16px;
}

.tarifs-type article .price {
    font-weight: 700;
    font-size: 24px;
    width: 80%;
    background: white !important;
    border-radius: 4px;
    padding: 4px 0;
    text-align: center;
    margin: 6px 0;
}

.tarifs-type article .row-price {
    display: flex;
    gap: 4px;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    justify-content: center;
}

.new-feature {
    padding: 3px 8px 4px;
    background: #ff4e4e;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: white !important;
}

#addTypeTarif {
    border: 1px solid #D4D4D4;
    background: #FFFFFF;
    padding: 24px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 9px rgb(0 0 0 / 11%);
    border-radius: 4px;
}

#addTypeTarif:hover {
    background: #f8f8f8;
    cursor: pointer;
}

#addTypeTarif:hover span {
    color: #414141;
}

#addTypeTarif span {
    width: 40px;
    height: 40px;
    background: #eaeaea;
    border-radius: 100%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

/* Footer */

footer {
    margin-top: 3rem;
    height: 5rem;
    border-top: 1px solid #d7d7d7;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer p {
    margin-bottom: 0;
    color: rgba(59, 58, 80, 0.8);
}
