
:root {
  --rouge: #B43041;
  --jaune: #ebc319;
  --jaunetexte: #cca916;
  --fondnavbar: #030303;
  --rougegris: #8E1606;
  --blanc: #fff;
  --noir: #030303;
}

/*------------------editeur-----------------*/
.editeur h2, .editeur h3{
    font-size: 1.6rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700; 
}

.editeur h3{
    font-size: 1.2rem;  
}


.noir {
   color:var(--noir);
}
.rouge{
    color: var(--rouge);
}
.jaune{
    color: var(--jaune);
}
.fondnavbar{
    color: var(--fondnavbar);
}
.rougegris{
    color: var(--rougegris);
}

.sous-titre{
    font-size: 1.6rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.editeur a{
    color:var(--rouge);
}
.editeur a:hover{
    color:var(--jaunetexte);
}
.editeur .jaune{
    color:var(--jaunetexte);
}


/*----------------classes récurentes--------*/
body {
    font-size: 17px;
    color: var(--noir);
    min-width: 320px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    line-height:1.2;
}
.bg-jaune{
    background: var(--jaune);
}

.bg-noir{
    background: var(--noir);
    color: var(--blanc);
}
.bg-rouge{
    background: var(--rouge);
}
.blanc{
    color: var(--blanc);
}

a {
    transition: .3s all ease;
    text-decoration: none; }
a:hover {
    text-decoration: none; }

h1, h2, h3, h4, h5 {
    color: var(--noir);
    line-height: 1.5;
    font-family: "Montserrat", sans-serif;
    font-weight: 700; }


.haut1,
.haut10,
.haut20,
.haut30,
.haut40,
.haut60,
.haut100{
	display:block;
}
.haut1{
	height:1px;
}
.haut10{
	height:10px;
}
.haut20{
	height:20px;
}
.haut30{
	height:30px;
}
.haut40{
	height:40px;
}
.haut60{
	height:60px;
}
.haut100{
	height:100px;
}
.visuel img{
    max-width:100%;  
    height:auto;
}
.line{
    line-height: 1.2;
}
.line, .line img{
    min-height: 560px;
}

img.img-resp, .img-resp img{
    max-width: 100%;
    height: auto;
}
.tabs--primary li{
    padding:0 10px;
    border-top:1px solid #ccc;
    border-right:1px solid #ccc;
}
.tabs--primary li:first-child{
    border-left:1px solid #ccc;
}
.tabs--primary {
    margin-top:20px;
    margin-bottom:20px;
}

#toolbar-bar {
    position: fixed;
    width: 100%;
    z-index: 10000;
}

nav{
    z-index: 600;
}

.captcha{
	display:inline-block;
	margin-top:20px;
	width:100%;
	text-align:center;
        margin-bottom: 20px;
}
.g-recaptcha{
	display:block;
	margin:auto;
	width:301px;
}
.legende-avant, .legende-apres{
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    background: var(--rouge);
    color:var(--blanc);
    padding: 3px;
    font-weight: 700;
}
.legende-apres{
    background: var(--jaune);
    color:var(--noir);
}

.form-select {
	display: inline-block;
	width: auto;
}
.bouton-lien{
    background: var(--jaune);
    color:var(--noir);
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    display: flex;
    width: 220px;
    padding: 10px;
    justify-content: center;
    align-content: center;
    margin: auto;
    border-radius: 5px;
}
.bouton-lien:hover{
    background: var(--rouge);
    color:var(--blanc);
}

.lettre:first-letter {
  font-size:3rem;
  font-weight: bold;
}
/*-------------------------slider---------------------------*/
.slider-accueil img{
    filter: brightness(0.7);
}
.carousel-caption {
    right: 10%;
    top: 60%; 
    transform: translateY(-60%); 
    left: 10%;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
}

.inner-page .slider-item:before{
    content:'';
    display: block;
    background: rgba(50,50,50, 0.2);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;   
}
/*-------------------------navigation---------------------------*/
.logo-reseaux img:hover{
    filter: invert(23%) sepia(58%) saturate(2114%) hue-rotate(326deg) brightness(96%) contrast(92%);
}

.entete{
    padding-top: 10px;
    padding-bottom: 10px;
}
.entete p{
    margin-bottom: 1px;
}
.adresse-entete{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.titre_slider{
    font-size: 50px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0px 0px 11px rgba(41, 41, 41, 0.8);
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}


.titre_slider span{
    font-size: 40px;
}

.navbar-brand {
    display: none;   
}


.navbar-brand p{
    margin-bottom: 0;
}
.bg-nav{
    background: var(--fondnavbar); 
    color:var(--blanc);
}


.dropdown-item a{
    color: var(--noir);
    font-size: 17px;
}
.dropdown-item:hover a, .dropdown-item a:hover{
    color: var(--blanc);
}


.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1.7rem;
    padding-left: 1.7rem; 
    color:var(--blanc);
}
.navbar-expand-md .navbar-nav .nav-link:hover {
    color:var(--jaune)
}

.button-menu{
    border: none;
    background: none;
    color: var(--blanc);
    padding:0;
    margin: auto;
}


.tel_logo a, .tel_logo{
    font-size:26px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    margin-top: 10px;
    color: var(--noir);
}
.tel_logo a:hover, .tel_logo:hover{
    color: var(--rouge);
}

.titre_accueil{
    font-size:34px;
    color: var(--rouge);
    font-weight: 700;
    line-height: 34px;
    margin-bottom: 0;
}
.soustitre_accueil{
    font-size:24px;
    color:var(--noir);
    font-weight: 400;
    display:block;
    font-family: "Montserrat", sans-serif;
}


.bg-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler {
  border: 1px solid var(--blanc);
}

.bg-image{
    height: 300px;
    background-image: url(../img/entreprise.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top:40px;
    padding-bottom: 30px;
    color:var(--blanc);
    font-size: 24px;
    margin-top: 100px;
}
.bg-image h2{
    font-size: 50px;
    color:var(--blanc);
    line-height: 56px;
}

.bg-image a{
    display: inline-block;
    color:var(--rougegris);
    background-color: var(--blanc);
    border-radius: 30px;
    padding:5px 30px 8px;
    font-size: 26px;
}
   
.bg-image a:hover{
    color:var(--blanc);
    background-color:var(--jaune); 
}
.petit{
    font-size: 20px;
    margin-top: -10px;
}
.partenaires img{
    border:1px solid #ccc;
}



/*-------------------réalisations-------------------*/
.modal-title{
    font-family: "Montserrat", sans-serif;
}

.infos{
    background: var(--jaune);
    color:var(--noir);
    display: inline-block;
    padding: 5px 10px;
}
/*-----------------------page entreprise----------------------------*/
.feature-1 .bg-feature{
    background:#F4F4F4;
    padding:30px;
    height:100%;
    color:var(--rouge);
}
.feature-1:nth-child(2) .bg-feature,
.feature-1:nth-child(3) .bg-feature{
    background: var(--rougegris);
    color:var(--blanc);
}

.feature-1:nth-child(2) h3,
.feature-1:nth-child(3) h3{
    color:var(--blanc);
}


.gallery img, .gallery-modal img{
    max-width:100%;
    height:auto;
    margin-bottom:15px;
}
.gallery {
    column-count: 4;
}
.gallery-modal {
    column-count: 3;
}
.box img:hover{
    filter: brightness(0.5);	
    transition: all 0.3s ease 0s;
}
.box img:hover{
    cursor:zoom-in;
}


/*-----------------------formulaires----------------------------*/

.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire input[type="tel"],
.formulaire textarea{
	width:100%;
	border:1px solid var(--rouge);
	margin-bottom:30px;
	padding: 10px 8px;
}

.formulaire input[type="submit"]{
	border:1px solid var(--rouge);
	width:114px;
	padding:10px;
	margin:auto;
	text-align:center;
	background:var(--rouge);
        color:var(--blanc);
        font-weight: 700;
}
.formulaire input[type="submit"]:hover{
    background-color:  var(--jaune);
    border:1px solid var(--jaune);
    color: var(--blanc);
    cursor: pointer;
}
.titre_contact{
    font-size: 24px;
    color: var(--rouge);
}

/*---------------------footer-----------------------------*/
.site-footer{
    color:var(--blanc);
    background: var(--noir);
}
.site-footer .dropdown-item, 
.site-footer .dropdown-item:hover{
    width: auto;
    padding: 2px;
    display: inline-block;
    background: none;
}
.site-footer .dropdown-item:hover a{
    color: var(--jaune);
}
.site-footer .dropdown-item a{
    color: var(--blanc);
}
.site-footer p{
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size:18px;
    font-weight: 700;
}
.site-footer .prestations .views-row,
.site-footer .prestations .views-row div{
    display: inline-block;
    width:auto;
}
.site-footer .prestations .views-row div:after{
    content:' - ';
}
.site-footer .prestations .views-row:last-child div:after{
    content:'';
}
.site-footer ul li a{
    color: var(--blanc);
}







@media (max-width: 1399px) {

    .line, .line img{
        min-height: 480px;
    }
    .titre_slider{
        font-size: 44px;
    }
    .titre_slider span{
        font-size: 34px;
    }
}

@media (max-width: 1199px) {
    
    /*-------------------------page accueil 1199---------------------------*/
    
    .titre_slider{
        line-height: 1.3;
    }
    /*-------------------------page entreprise 1199---------------------------*/
    
    .gallery {
        column-count: 3;
    }
    .gallery-modal {
        column-count: 2;
    }
    
    .line, .line img{
        min-height: 402px;
    }
    
}



@media (max-width: 991px) {
    
    
  /*-------------------------page accueil 991---------------------------*/
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }
    
    .titre_accueil{
        font-size:28px;
    } 
    .soustitre_accueil{
        font-size:20px;
    } 
    
    .tel_logo a {
	font-size: 24px;
    }
    .titre_slider{
        font-size: 34px;
    }
    .titre_slider span{
        font-size: 24px;
    }
    
   

    .link-thumbnail::before {
        opacity: 1;
        visibility: hidden;
        transition: unset;
        top: auto;
        left:  auto;
        right:  auto;
        bottom:  auto;
        position:static;

    }
    
    .link-thumbnail h3 {
	opacity: 1;
	visibility: visible;
	transition: unset;
	width: 100%;
        position: absolute; /* postulat de départ */
        top: 60%; left: 50%; /* à 50%/50% du parent référent */
        transform: translate(-50%, -60%); /* décalage de 50% de sa propre taille */
        text-shadow: 0px 0px 11px rgba(41, 41, 41, 0.8);
    }
    
    
    /*.link-thumbnail .icon {
	position:static;
	display:none;
    }*/
    
    .link-thumbnail:hover img {
	transform: scale(1);
    }
    
    .link-thumbnail:hover h3 {
        opacity: 1;
        visibility: visible; 
        position:static;
    }
    .link-thumbnail{
        margin-bottom: 30px;
    }
    .inner-page .slider-item {
	min-height: 450px;
    }
    .inner-page .slider-item .slider-text {
	min-height: 450px;
    }
    
    .line, .line img{
        min-height: 523px;
    }
    
    
}


@media (max-width: 767px) {

    /*-------------------------page accueil 767---------------------------*/
    .header .navbar {
	text-align: center;
    }
    .navbar, .navbar-brand{
      padding-top:0;
        padding-bottom: 0;  
    }
    .navbar-brand{
        display: flex;    
    }
    .btn-close {
	--bs-btn-close-bg: url(../img/close.png);
        --bs-btn-close-opacity: 0.9;
	--bs-btn-close-hover-opacity: 1;
    }
    .logo{
        display: none;
    }
    
    .dropdown-menu,
    .nav-item{
        text-align: center;
        margin-top: 10px;
    }
    
    header .navbar .dropdown-menu {
        margin-top: 0;
    }

    
    .titre_slider{
        font-size: 32px;
        top:50%;
        transform: translateY(-50%);
    }
    .titre_slider span{
        font-size: 22px;
    }
    .entete{
    padding-top: 2px;
    padding-left: 5px;
    padding-right: 5px;
    }
    .adresse-entete{
        padding-top:10px;
    }
    .titre_accueil{
        font-size:30px;
    }
    
    .bg-image{
        height: 320px;
    }
    
    .inner-page .slider-item {
	min-height: 400px;
    }
    .inner-page .slider-item .slider-text {
	min-height: 400px;
    }
    .line, .line img{
        min-height: 387px;
    }
    .tel_logo a, .tel_logo {
	font-size: 26px;
        margin-bottom:8px;
    }
    .gallery {
        column-count: 2;
    }
    .gallery-modal {
        column-count: 1;
    }
    
}

@media (max-width: 575px) {
    
    .logo-reseaux img{
        max-width: 100%;
    }

    /*-------------------------page accueil 575---------------------------*/
    .navbar-brand > p{
        font-size: 18px;
    }
    .titre_slider{
        font-size: 30px;
        line-height: 1.1;
    }
    .titre_slider span{
        font-size: 20px;
    }
   
    
     /*-------------------------page entreprise 575---------------------------*/
    .feature-1:nth-child(3) .bg-feature{
	background:#F4F4F4;
	color:var(--rouge);
    }
    .feature-1:nth-child(4) .bg-feature{
        background:var(--rougegris);
        color:var(--blanc);
    }
    .gallery{
        column-count: 1;
    }
    .bg-image{
        height:auto;
        margin-top: 30px;
        padding-top:15px;
    }
    .block-41 .block-41-heading {
	font-size: 28px;
    }
    .inner-page .slider-item {
	min-height: 300px;
    }
    .inner-page .slider-item .slider-text {
	min-height: 300px;
    }
    .line, .line img{
        min-height: 250px;
    }
    
}

@media (max-width: 360px) {
    .navbar-brand > p{
        font-size: 16px;
    }
    .titre_accueil{
        font-size:22px;
    }
    .soustitre_accueil {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 5px;
    }
    
    .titre_slider{
        font-size: 22px;
    }
    .titre_slider span{
        font-size: 18px;
    }
    
    
    .slider-item .slider-text h1,
    .slider-item .slider-text h2{
	font-size: 32px;
    }
    .sous-titre{
        font-size: 1.3rem;
    }
    
}


#scroll-up{
    position: fixed;
    z-index: 8000;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 22px;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    background-color: #3A3A3A;
    color:var(--jaune);
    border-radius: 100%;
    cursor: pointer;
    display: none;
    transition: all 0.3s;
    
}

#scroll-up:hover {
    background-color: var(--jaune);
    color: #3A3A3A;
}

/*------------------------ user login-----------------------------*/
#user-login-form label{
    display: block;
}
#user-login-form {
    margin-top: 20px;
}
#user-login-form input{
    margin:10px 0 15px;
}
