/* Add here all your CSS customizations */

/*style video iframe de qui somme nous + carousel+ifram map*/
.iframe-map {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.iframe-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Desktop */
.carousel-page {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

/* Mobile */
@media (max-width: 768px) {
    .carousel-page {
        background-size: contain;
        height: auto;
        min-height: 70vh;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===============================
   FIX HEADER MOBILE
   =============================== */

@media (max-width: 991px) {
    #header,
    #header .header-body,
    #header .header-container {
        background-color: #ffffff!important;
    }

    body {
        padding-top: 80px;
    }

    .header-row.d-lg-none {
        align-items: center;
        min-height: 80px;
        background-color: #ffffff!important;
    }

    .header-logo img {
        max-height: 45px;
    }
}
@media (max-width: 991px) {
    main,
    .main,
    #main {
        padding-top: 120px;
    }
}

/*Remonté contact*/

div:target,
section:target {
    padding-top: 170px !important;
}

/*Sélection du texte*/

::selection {
    background-color: #003b49;
    color: white;
}

::-moz-selection {
    background-color: #003b49;
    color: white;
}

/*img-fluid afficherArticles*/
.articleTexte img {
    max-width: 100%;
}

/*Tailles badges*/
.FacebookLogo,
.MyBusinessLogo {
    max-width: 100%;
    height: 4em;
    margin:0px 10px;
}

/*Sections éditables*/
.edit p{
    font-size: 1.2em;
	line-height: 1.8;
    text-align: justify;
    opacity: 1 !important;
}

.edit h2{
    margin-bottom: 1rem !important;
}

.edit h3{
   font-weight: 700 !important;
}

.edit ul {
    list-style: none;
    font-size: 1.2em;
    line-height: 1.8;
    padding-left: 1rem !important;
    padding-bottom: 1rem !important;
    text-align: justify;
}

.articleTexte a{
    color: #003b49;
    font-weight: 500;
}

@media (max-width: 991px) {
    html #header .header-nav-main nav > ul > li:hover > a{
        color: #003b49;
    }
}

#header .header-nav-main.header-nav-main-dark nav > ul > li > .btn {
    color: #fff !important;
}

#header .header-nav-main.header-nav-main-dark nav > ul > li > .btn:hover {
    color: #003b49 !important;
    background-color: #fff;
}

.box-slider{
    max-width: 50%;
    background-color: rgba(255,255,255,0.7) !important;
}

@media (max-width: 991px) {
    .box-slider{
        max-width: 100%;
        background-color: rgba(255,255,255,0.7) !important;
    }
}

.owl-carousel .owl-item .temoignage {
    width: 150px;
}

.nav-tabs .nav-item .nav-link.active {
    color: #cf6700;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a:not(.btn).active{
    color: #003b49;
    transform: translate3d(10px, 0, 0);
}

.btn-realisation:hover {
    background-color: #003b49 !important;
    color: #fff !important;
    border-color: #003b49;
}

.btn-realisation.active {
    background-color: #003b49 !important;
    color: #fff !important;
    border-color: #003b49;
}

.btn-realisation {
    background-color: #fff !important;
    color: #003b49 !important;
    border-color: #003b49;
}

#header .header-nav-main nav > ul > li > a{
    padding: 1em 0.56em !important;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}