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

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

.soreftec_font,
.soreftec-font {
    font-family: avenirMedium;
}

.soreftec_font_bold,
.soreftec-font-bold {
    font-family: avenirMediumCondensed;
}

h3 {
    font-size: 45px;
    font-family: avenirMediumCondensed;
}


#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;
    }
}



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

.soreftec_logo {
    margin: auto;
}

.soreftec_logo_title {
    margin: auto;
}

.soreftec_logo_title {
    /* This value is the OPPOSITE color of our background */
    color: rgb(22, 37, 165);
    mix-blend-mode: difference;
}

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

.soreftec-recherche {
    font-size: calc(1rem + 1.5vw);
}

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


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

@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%);
}

.nav-link {
    color: white;
    font-family: avenirMedium;
}

.nav-link:hover {
    color: #c6c3d3;
}

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


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

.navbar-toggler {
    margin-left: auto;
    border-color: rgb(48, 48, 48);
    color: #0a0a24;
}

.navbar-brand {
    align-self: center;
}

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

.navbar-nav-align-right {
    margin-right: 30%;
    margin-left: auto;
}

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

.pop_up:hover {
    background-color: white;
}

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

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

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


.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;
}

.encart-soreftec {
    color: #0a0a24;
}

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

.soreftec-list li {
    display: table-row;
    color: white;
}

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


.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;
}


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

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

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

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

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

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

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

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

body,
.backgound_soreftec {
    background-color: #0a0a24;
    color: white;
}

.section-title {
    color: #bfb28b;
    font-family: avenirMedium;
    text-transform: uppercase;
}

.section-title i {
    font-family: avenirMedium;
    text-transform: none;
    font-style: normal;
    font-size: medium;
    text-transform: uppercase;
    font-size: 20px;
}

.description-services {
    display: grid;
    align-items: flex-end;
    justify-items: end;
    align-content: center;
}

.description-services-alt {
    display: grid;
    align-items: flex-start;
    justify-items: start;
    align-content: center;
}

.description-services p {
    text-align: end;
}


.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;

}

.contact ul li {
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-left: 1rem;
}

.contact ul li::before {
    margin-left: -40px;
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.media {
    justify-content: end;
}

.address::before {
    background-image: url("../icons/address.png");
}

.phone::before {
    background-image: url("../icons/phone.png");
}

.email::before {
    background-image: url("../icons/email.png");
}

.modal .modal-dialog.modal-bottom {
    bottom: 0;
}

.modal .modal-frame {
    position: absolute;
    max-width: 100%;
    width: 100%;
    margin: 0;
    overflow-y: auto;
}

.modal-consentement {
    background-color: #0a0a24;
    color: white;
}

/* balise i integrate a star on icons/star.png */
.fa-star {
    background-image: url("../icons/star.png");
    background-size: contain;
    background-repeat: no-repeat;
    padding: 14px;
    width: 42px;
    height: 42px;
}

.deroulement .card img {
    max-height: 200px;
    width: 100%;
    object-fit: contain;

}

.deroulement .card {
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    /* i want the text reduce with the page size */
    font-size: min(3vw, 1rem);
}

.deroulement .card h5 {
    font-size: min(5vw, 1.25rem);
}

.deroulement .card img {
    /*  size of the img depending of the size of the screen*/
    max-height: 200px;
    width: 100%;
    object-fit: contain;

}

.empty-footer-col {
    background-color: #0a0a24;
    max-width: 40px;
    height: 250px;
}

.footer-col {
    background-color: #0a0a24;
    color: white;
    height: 250px;
    padding: 5px;
    border-left: 0px solid black;
    border-right: 0px solid black;
    margin: 0px;
}

.footer-col ul {
    list-style: none;
    padding: 0px 0px 0px 10px;
    display: table;
    width: 100%;
}

.footer-col ul li {
    text-wrap: nowrap;
    padding: 5px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
}

.footer-contact ul li::before {
    margin-left: -40px;
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    width: 20px;
    height: 20px;
    margin-right: 10px;

}

.logo-footer {
    margin-left: auto;
    margin-right: 20px;

}

.logo-footer img {
    width: 100%;
    max-width: 200px;
}

.media-footer {
    justify-content: center;
}

.link-contact {
    color: white;
    text-decoration: none;
}

.vh-75 {
    height: 75vh !important;
}

.vh-presentation {
    height: 400vh !important;
}

.vh-400 {
    height: 400vh !important;
}

.vh-500 {
    height: 500vh !important;
}

.vh-1000 {
    height: 1000vh !important;
}

.container-full {
    width: 100%;
    height: 100%;
}

.presentation-video {
    width: 100%;
    display: inline-block;
    margin: 0 auto;
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
}

.container-sticky {
    margin-top: 5rem;
    position: sticky;
    position: -webkit-sticky;
    top: 10rem;
    z-index: 1;
    height: 75vh;
    border-style: solid;
    border-color: white;
    border-width: 1px;
}

.items-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.item-picto {
    translate: 0 900px;
    cursor: pointer;
    transition: 0.5s;
}