:root {
    --safer-green: rgb(111, 156, 28);
}

html {
    color: #3e3e3e;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
}

p {
    font-size: 1.2rem;
}

.badge[data-toggle] {
    cursor: pointer;
}

table .number {
    text-align: right;
}

.text-safer-green {
    color: var(--safer-green);
}

.text-safer-marron {
    color: rgb(126, 69, 28);
}

.text-safer-orange {
    color: rgb(243, 151, 0);
}

.text-gris-fonce {
    color: rgb(97, 98, 96);
}

.text-gris-clair {
    color: rgb(158, 158, 157);
}

.bg-safer-brown {
    background-color: rgb(242, 236, 233);
}

.bg-safer-green {
    background-color: var(--safer-green);
}

.btn-safer-green {
    color: #fff;
    background-color: var(--safer-green);
    border-color: var(--safer-green);
}

.nav-link-top-menu {
    color: #000000;
}

#main-menu li {
    padding-left: 20px;
    padding-right: 20px;
}

#main-menu a:hover {
    color: grey;
}

#div-photo:hover {
    cursor: pointer;
}

#text-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-weight: bold;
    font-size: 2.3em;
}

#text-photo .crochet {
    width: 60px;
    position: relative;
}

#text-photo .crochet-gauche {
    top: -20px;
    left: -20px;
}

#text-photo .crochet-droit {
    top: 10px;
    right: -20px;
}

.vignette {
    min-height: 21em;
}

.vignette-pourquoi-bg {
    background-image: url("../ressources/imgs/pourquoi-background.jpg");
    position: relative;
}

.vignette-pourquoi {
    background-color: rgba(126, 69, 28, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vignette-pourquoi:hover {
    cursor: pointer;
}

.vignette-comment-bg {
    background-image: url("../ressources/imgs/comment-background.jpg");
    position: relative;
}

.vignette-comment {
    background-color: rgba(111, 156, 28, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vignette-comment:hover {
    cursor: pointer;
}

.vignette-stats {
    background-color: rgb(243, 151, 0);
}

/*****
 * VIGNETTE Présentation Vidéo.
 *****/

.vignette-video-presentation-bg {
    background-image: url("../ressources/imgs/video-presentation-background.jpg");
    position: relative;
}

.vignette-video-presentation {
    background-color: rgba(243, 151, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vignette-video-presentation > div.icon-video {
    position: absolute;
    width: calc(100% - 2rem);
    top: calc(50% - 50px);
    text-align: center;
}

.vignette-video-presentation:hover {
    cursor: pointer;
}

.vignette-video-presentation > div.icon-video:hover {
    color: rgb(243, 151, 0);
}

.vignette-title {
    font-size: 1.25em;
}

.vignette-liste {
    list-style: none;
    padding-left: 0;
}

.vignette-liste li {
    position: relative;
    padding-left: 35px;
}

.vignette-liste li img {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0px;
    top: 5px;
}

.vignette-liste li line {
    background-color: #ffffff;
    border: 1px solid red;
    width: 1px;
    height: 24px;
    position: absolute;
    left: 0px;
    top: 20px;
}

.vignette-liste li:before { background-position: 0px -16px; }

#partenariat {
    padding-top: 3em;
    padding-bottom: 3em;
}

#partenariat .crochet {
    position: absolute;
    width: 100px;
}

#partenariat .crochet-gauche {
    top: 8px;
    left: 16px;
}

#partenariat .crochet-droit {
    bottom: 8px;
    right: 16px;
}

/*****
 * VIGNETTE Qui sommes-nous ?
 *****/

 .vignette-qui-bg {
    background-image: url("../ressources/imgs/qui-background.jpg");
    position: relative;
}

.vignette-qui {
    background-color: rgba(243, 151, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vignette-qui > div.icon-video {
    position: absolute;
    width: calc(100% - 2rem);
    top: calc(50% - 50px);
    text-align: center;
}

.vignette-qui:hover {
    cursor: pointer;
}

.vignette-qui > div.icon-video:hover {
    color: rgb(243, 151, 0);
}

.vignette-inscription-bg {
    background-image: url("../ressources/imgs/deposer-background.jpg");
    position: relative;
}

.vignette-inscription {
    background-color: rgba(111, 156, 28, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#vignette-inscription:hover {
    cursor: pointer;
}

.vignette-login-bg {
    background-image: url("../ressources/imgs/mon-compte-background.jpg");
    position: relative;
}

.vignette-login {
    background-color: rgba(126, 69, 28, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#vignette-login:hover {
    cursor: pointer;
}

#btn-deposer-annonce, #btn-mon-compte {
    display: inline-block;
    text-align: left;
    position: relative;
    font-weight: bold;
    padding-left: 80px;
    padding-right: 20px;
    font-size: 0.85em;
}

#btn-deposer-annonce {
    color: rgb(126, 69, 28);
    padding-top: 13px;
    padding-bottom: 12px;
}

#btn-deposer-annonce:hover {
    background-color: rgb(126, 69, 28);
    color: white;
    text-underline: none;
}

#btn-deposer-annonce img {
    background-color: rgb(126, 69, 28);
    width: 65px;
    height: 65px;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px;
}

#btn-mon-compte {
    color: rgb(111, 156, 28);
    padding-top: 23px;
    padding-bottom: 22px;
}

#btn-mon-compte:hover {
    background-color: rgb(111, 156, 28);
    color: white;
    text-underline: none;
}

#btn-mon-compte img {
    background-color: rgb(111, 156, 28);
    width: 65px;
    height: 65px;
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px;
}

#btn-deconnexion {
    display: inline-block;
    text-align: left;
    position: relative;
    font-weight: bold;
    font-size: 0.85em;
    background-color: rgb(255, 0, 0);
    color: white;
    padding-top: 23px;
    padding-bottom: 22px;
}

#btn-backto {
    display: inline-block;
    text-align: left;
    position: relative;
    font-weight: bold;
    font-size: 0.85em;
    background-color: rgb(127, 127, 127);
    color: white;
    padding-top: 23px;
    padding-bottom: 22px;
}

#btn-backoffice {
    display: inline-block;
    text-align: left;
    position: relative;
    font-weight: bold;
    font-size: 0.85em;
    background-color: rgb(170, 170, 0);
    color: white;
    padding-top: 23px;
    padding-bottom: 22px;
}


#picto-facebook, #picto-linkedin, #picto-youtube {
    width: 25px;
}

/********************
 * Bootstrap override.
 ********************/

.alert {
    font-size: 1.2rem;
}

.alert h3 {
    font-size: 1.3rem;
}

/* Un petit bouton collé à un <input> doit s'afficher normalement. */
.input-group-append .btn-sm {
    font-size: 1rem;
    padding: .375rem .75rem;
}

.popover-big {
    min-width: 250px;
    max-width: 400px;
}

.popover-header > a:not(:last-child) {
    margin-left: 7px;
}

.custom-select.only-one-value {
    background-image: none;
}

/********************
 * Styles pour la "modal inscription" et le "géo-popup".
 ********************/

#inscription-modal .modal-body,
.geo.popover-big .popover-body {
    display: grid;
    grid-template-columns: fit-content(400px) auto;
    gap: 0.25rem 1rem;
}

.geo.popover-big .popover-body:empty {
    display: none;
}

#inscription-modal .modal-body > b,
.geo.popover-big .popover-body > b {
    grid-column: 1;
}

.geo.popover-big .popover-body > span {
    grid-column: 2;
}

/********************
 * Mise en surbrillance d'un élément.
 ********************/

.highlight {
    background: #ffffcc !important;
}

/********************
 * Bannière principale d'une page.
 ********************/

#banner {
    width: 100%;
    margin: 2rem 15px;
    position: relative;
    text-align: center;
}
#banner > * {
    width: 100%;
}
#banner > h1 {
    position: absolute;
    top: 0;
    height: 240px;
    display: grid;
    align-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
}

/********************
 * Sections organisées via des `cards` Bootstrap.
 ********************/

.card-header > h2 {
    margin: 0;
    font-size: 1.5rem;
}
.card-header > h2 > * {
    margin-right: 0.5rem;
}

.card-body > h3 {
    margin-bottom: 1.5rem;
    color: #999;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.card-body > h3:not(:first-of-type) {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #ccc;
}

/********************
 * Affichage d'un conseiller foncier et de ses coordonées.
 ********************/

#conseiller {
    display: grid;
    justify-items: center;
    row-gap: 0.2rem;
}

#conseiller [data-icon] {
    margin-right: 0.5rem;
}