#hideMe {
    -webkit-animation: cssAnimation 5s forwards;
    animation: cssAnimation 5s forwards;
}

@keyframes cssAnimation {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes cssAnimation {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@font-face {
    font-family: avenirNext;
    src: url(../avenir-next-condensed-regular.ttf);
}

@font-face {
    font-family: avenirNextBold;
    src: url(../avenir-next-bold.ttf);
}

/** LOGO, & TITRE */
.cerf_font_bold {
    font-family: avenirNextBold;
}

/** Restant */
.cerf_font {
    font-family: avenirNext;
}

.cerf-titre {
    font-size: calc(1rem + 3vw);
}

.cerf-entancheite {
    font-size: calc(1rem + 2vw);
}

.slogan {
    font-size: 1.5rem;
    /** white-space: nowrap;
    /** background-color: rgba(155, 113, 13, 0.2);*/
}

.slogan img {
    margin: auto;
    height: 50vh;
    filter: invert(100%);
}

.pop_up {
    position: fixed;
    bottom: 5vh;
    right: 5vw;
    background: #0d3954;
    font-size: xx-large;
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    align-items: center;
    z-index: 1040;
    transition: 0.3s;
    color: white;
}

.pop_up:hover {
    background-color: #d4625d;
}

.navbar-brand img {
    max-height: 50px;
    margin-right: auto;
    margin-left: 0px;
    filter: invert(100%);
}

.cerf_nav {
    background-image: url("../bandeau.png");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
}

.pt-5rem {
    padding-top: 5rem;
}

.main-content {
    background-image: url("../photos/cerf-couv-tuyau.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
    height: 100vh;
}

.devanture {
    background-image: url("../photos/devanture.jpg");
}

.devanture img {
    display: none;
}

@media (max-width:1100px) {
    .main-content {
        height: 65vh;
    }

    .slogan img {
        height: 35vh;
    }
}


@media (max-width: 767px) {
    .main-content {
        height: 50vh;
    }

    .slogan img {
        height: 30vh;
    }
}

.alert {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0%);

}

.div_bas {
    position: relative;
    bottom: 0;
}

.container-nav {
    display: flex;
    width: 100%;
    flex-wrap: inherit;
}

.navbar-toggler {
    margin-left: auto;
}

.navbar-brand img {
    max-height: 50px;
    margin-right: auto;
    margin-left: 0px;
}

.navbar-nav-align-right {
    margin-right: 0px;
    margin-left: auto;
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: lightgrey;
}

.nav-item {
    margin-right: 20px;
}

footer {
    background-color: black;
    color: white;
}

.xx-small {
    font-size: xx-small;
}

.cerf-list ul {
    display: table-row;
    list-style: none;
}

.cerf-list li {
    display: table-row;
    color: black;
}

.cerf-list li::before {
    display: table-cell;
    text-align: right;
    content: "+";
    font-size: 1em;
    font-weight: bold;
    color: red;
    padding-right: 12px;
}

.inline li {
    display: inline;
    padding-left: 12px;
}

.encart-ombre-italic {
    margin: 10px;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

.service-div {
    height: 30vh;
    cursor: pointer;
    width: 100%;
}

.service-div:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    transition: 0.5s;
    background-position: -50px;
    opacity: .7;
}

.service-div .title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.service-div h4 {
    backdrop-filter: blur(8px);
    padding: 5px;
    width: fit-content;
    border-radius: 5px;
    color: white;
    white-space: nowrap;
    text-transform: uppercase;
}


.service-div p {
    color: white;
    text-align: justify;
    backdrop-filter: blur(8px);
    padding: 5px;
    border-radius: 5px;
}

.service-fuite {
    background-image: url("../photos/recherche-fuite-low.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
}

.service-etancheite {
    background-image: url("../photos/etancheite.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
}

.service-bardage {
    background-image: url("../photos/bardage.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
}

.service-clos-couvert {
    background-image: url("../photos/clos-couvert-low.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
}

.service-enveloppe {
    background-image: url("../photos/enveloppe-batiment-low.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f5f5f5;
    background-clip: border-box;
}

.encart-flotant {
    display: none;
    position: fixed;
    top: 10vh;
    left: 5vw;
    background: #d88d8d;
    font-size: xx-small;
    padding: 0px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    align-items: center;
    z-index: 1040;
    transition: 0.3s;
    color: white;
    width: 200px;
}


#qui-sommes-nous:before,
#references:before {
    display: block;
    content: "";
    height: 50px;
    margin: -50px 0 0;
}

#expertises:before,
#metiers:before {
    display: block;
    content: "";
    height: 150px;
    margin: -50px 0 0;
}

main {
    padding-bottom: 10px;
}

.partenaires-logos {
    max-height: 5dvh;
}

.partenaires-logos-svg {
    width: 100%;
    max-height: 5dvh;
}

.partenaire {
    cursor: pointer;
}

.partenaire:hover {
    border-color: rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    transition: 0.5s;
    opacity: .7;

}

.expertises {
    text-align: center;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    border-width: 2px;
    padding: 20px 0px 20px 0px;

}

.expertises:hover {
    transform-style: preserve-3d;
    transition: 1s ease-in-out;
    transform: scale(1.025, 1.025);
}

.expertises img {
    width: 100px;
    height: 100px;
}

.section-title,
.blue-cerf,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0d3954;
}

.section-title {
    text-transform: uppercase;
}


.section-title i,
.section-title strong {
    text-transform: none;
    font-style: normal;
    font-size: medium;
    font-family: avenirNext;
}

.cerf-background {
    background-color: #0d3954;
    color: white;
}