/* GLOBAL STYLES
-------------------------------------------------- */
/* Specific fonts */
@font-face {
    font-family: RedHatDisplay;
    src: url("../webfonts/RedHatDisplay-Regular.ttf");
}
@font-face {
    font-family: RedHatDisplay;
    src: url("../webfonts/RedHatDisplay-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: RedHatDisplay;
    src: url("../webfonts/RedHatDisplay-Italic.ttf");
    font-style: italic;
}
@font-face {
    font-family: RedHatDisplay;
    src: url("../webfonts/RedHatDisplay-BoldItalic.ttf");
    font-weight: bold;
    font-style: italic;
}


/* Padding below the footer and lighter body text */

html {
    scroll-padding-top: 175px; /* height of sticky header */
}

body {
    font-family: RedHatDisplay, sans-serif;
    color: #5a5a5a;
    --bs-body-font-size: 1.2rem;
}

.cyan {
    color: #39a0ad;
}

.green {
    color: #475b3e;
}

.orange {
    color: #f39977;
}

.taupe {
    color: #ab997f;
}

.bg-cyan {
    background-color: #39a0ad;
}

.bg-green {
    background-color: #475b3e;
}

.bg-orange {
    background-color: #f39977;
}

.bg-taupe {
    background-color: #ab997f;
}

.btn-green {
    --bs-btn-color: #fff;
    --bs-btn-bg: #475b3e;
    --bs-btn-border-color: #475b3e;
    --bs-btn-hover-color: #475b3e;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #475b3e;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #475b3e;
    --bs-btn-active-border-color: #475b3e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #475b3e;
    --bs-btn-disabled-border-color: #475b3e;
}

.form-check-green:checked {
    background-color: #475b3e;
    border-color: #475b3e;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: #475b3e;
}

.cursor-pointer{
    cursor: pointer;
}

.text-justify {
    text-align: justify;
}

/* CUSTOMIZE THE HEADER
-------------------------------------------------- */

header img {
    height: 5rem;
}

header a, header a:hover {
    text-decoration: none;
}

.icon-media {
    min-width: 40px;
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 10px;
    text-align: center;
    font-size: 40px;
    line-height: 36px;
}

.icon-col {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid #fff;
    float: left;
    margin-right: 10px;
    text-align: center;
    font-size: 20px;
    line-height: 36px;
}

.navbar {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}

.navbar, .nav-item a, .nav-item a:hover {
    font-weight: bold;
}

.nav-item.active, .nav-item.show, .nav-item:hover {
    margin-bottom: -0.5rem;
    border-bottom: 2px solid #475b3e;
}

.navbar .nav-item .dropdown-item.active, .navbar .nav-item .dropdown-item:active {
    background: none;
    color: rgba(0, 0, 0, 0.9);
}

.navbar .nav-item .dropdown-item.active:hover {
    background: #f8f9fa;
}

.navbar-toggler {
    --bs-navbar-toggler-border-color: white;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

@media (max-width: 991.98px) {
    .navbar .nav-item .dropdown-item.active:hover {
        background: #475b3e;
    }
    .nav-link {
        --bs-nav-link-color: white;
    }
    .btn-navbar-green {
        --bs-btn-bg: #f39977;
        --bs-btn-color: #fff;
        --bs-btn-border-color: #f39977;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #f39977;
        --bs-btn-hover-border-color: #f39977;
        --bs-btn-focus-shadow-rgb: 25,135,84;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #f39977;
        --bs-btn-active-border-color: #f39977;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #f39977;
        --bs-btn-disabled-bg: transparent;
        --bs-btn-disabled-border-color: #f39977;
        --bs-gradient: none;
    }
    .icon-media {
        color: #fff;
    }
}
@media (min-width: 992px) {
    .navbar {
        background-color: rgba(var(--bs-tertiary-bg-rgb), 1) !important;
    }
    .btn-navbar-green {
        --bs-btn-color: #475b3e;
        --bs-btn-border-color: #475b3e;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #475b3e;
        --bs-btn-hover-border-color: #475b3e;
        --bs-btn-focus-shadow-rgb: 25,135,84;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #475b3e;
        --bs-btn-active-border-color: #475b3e;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #475b3e;
        --bs-btn-disabled-bg: transparent;
        --bs-btn-disabled-border-color: #475b3e;
        --bs-gradient: none;
    }
    .icon-media {
        color: #475b3e;
    }
}


.parallax {
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Text over image
------------------------- */

.container-img {
    position: relative;
    text-align: center;
    color: white;
}

/* Bottom left text */
.img-text-bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

/* Top left text */
.img-text-top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

/* Top right text */
.img-text-top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

/* Bottom right text */
.img-text-bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

/* Centered text */
.img-text-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}

/* Contact page
-------------------------------------------------- */
.text-banner {
    padding: 30px;
    position: relative;
}
::before, ::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.text-banner::before {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0px;
    height: 0px;
    border-bottom: 20px solid rgba(0, 0, 0, .1);
    border-right: 20px solid transparent;
}
.text-banner::after {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0px;
    height: 0px;
    border-top: 19px solid #fff;
    border-left: 19px solid transparent;
}
.working-hours {
    list-style-type: none;
    margin: 10px 0 0 0;
    padding: 0;
}
.working-hours li {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 10px 0;
    color: #fff;
}
.working-hours li::after {
    clear: both;
}
.working-hours li::before, .working-hours li::after {
    content: "";
    display: table;
}
.working-hours li span, .working-hours li strong {
    float: left;
    width: 50%;
    opacity: .8;
}
.working-hours li strong {
    text-align: right;
}

/* Devis page
-------------------------------------------------- */
.connected-blocks {
    border-left: 1px solid #e6e6e6;
    padding: 0 0 30px 40px;
    position: relative;
    margin-left: 20px;
}
.connected-blocks .icon {
    position: absolute;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid #e6e6e6;
    z-index: 1;
    background: #fff;
    text-align: center;
    line-height: 36px;
}

.custom-file-label::after {
    content: "Parcourir";
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (max-width: 767.98px) {

    .nav-item.active, .nav-item:hover {
        margin-bottom: -2px;
    }
}

