@charset "utf-8";
@import 'color.css';
@import '../fonts/Roboto-Regular.ttf';
@import '../fonts/Kalam-Regular.ttf';

/* Custom fonts */

/*End custom fonts*/

/* loader */

/* */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--black);
    font-family: 'Roboto-Regular', sans-serif;
}
a{
    text-decoration: none;
}
p, strong, ul li{
    color: var(--grey);
}
p{
    text-align: justify;
}
/*span*/
span, .navbar-nav .nav-item {
    font-weight: 400;
}
.nav-item a{
    text-transform: uppercase;
}
.red{
    color: red;
}
.follow-black{
    color: var(--black);
}
.blue{
    color: var(--primary-color);
	    background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.orange{
    color: var(--secondary-color);
	    background: -webkit-linear-gradient(-90deg, #ae3024 0%, #ec6525 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/*end span*/
/*Navbar*/
nav, .dropdown-menu{
    font-weight: 500;
    border: 3px solid var(--primary-color);
}
nav .navbar{
    position: fixed;
    width: 100%;
}

ul{width:80%;display: block}
main{display:block;width:100%;max-width:1920px;margin:0px auto;position:relative;}
video, .video{width: 100%; padding: 30px;}

.height-fill {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.contact{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20%;
}
.contact img{
    width: 100%;
}
nav img{
    width: 15%;
}
.navbar-toggler{
    margin-right: 30px;outline: none!important;
}
.navbar-toggler.collapsed,.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none!important;
    box-shadow: none!important;
}
.contact img{
    margin: 0 8px 0 8px;
    padding: 5px;
    border: 1px solid var(--black);
}
.min-vh-100 {
    max-height: 100vh!important;
}/*
.carousel-item.slide1{background: url(../img/GOT-extension/landing-resize-extention-egcm.jpg) center center / cover no-repeat;
    width: 100%;
    min-height: 100vh;display:block;position: relative;
}
.carousel-item.slide2{background: url(../img/Odil-gros-oeuvre/odil-EGCM-landing-resize.jpg) center center / cover no-repeat;
    width: 100%;
    min-height: 100vh;
}
.carousel-item.slide3{background: url(../img/La-biere-michelaise-indus/georgette-EGCM-landing-resize.jpg) center center / cover no-repeat;
    width: 100%;
    min-height: 100vh;
}*/
.dropdown-item.active, .dropdown-item:active{
    background-color: var(--primary-color);
}
.navbar-nav .btn-skills{
    padding: 0;
    color: var(--grey);
    font-family: 'Roboto-Regular', sans-serif;
}
.js-fancybox-index, .js-fancybox-count{color:#fff}
@media (max-width: 511px){
	.mb-5.callage {
    margin-top: 0px!important;
}
	.imgIndex{display:none;}
    .contact{
        width: 40%;
    }
    .link-logo{
         width: 10%;
     }
    nav img{
        width: 100% ;
    }
    .logos{
        margin: 10px;
    }
    .contact img{
        width: 100%;
    }
}

@media (min-width: 512px){
    nav, .dropdown-menu{
        font-size: 1.5rem;
    }
}
@media (min-width: 768px){
    .btn-skills{
        font-size: 1.5rem;
    }
}
@media(min-width: 992px){
    .navbar-expand-lg .navbar-nav .dropdown-menu{
        position: absolute;
    }
}
@media (min-width: 1024px){
    .navbar-collapse{
        font-size: 1.2rem;
    }
    .navbar-expand-lg .navbar-nav .nav-link{
        margin: 0 8px 0 8px;
    }
    .contact{
        align-self: end;
        justify-content: end;
        width: min-content;
    }
    .contact img{
        width: 100%;
    }
    nav, .dropdown-menu{
        font-size: 1.5rem;
        font-weight: 700;
    }
    .container-fluid > .contact{
        order: 3;
    }
    .container-fluid .logo-nav{
        margin-right: 30px;
    }
    .navbar-collapse{
        flex-grow: initial;
        width: 100%;
    }
    .navbar-nav{
        justify-content: center;
        margin: auto;
    }
    .nav-item{
        margin: 0 10px 0 10px;
    }
    .logo-nav{
        width: 50%;
    }
}
/*End navbar*/

/*Begin hero banner*/

.carousel-landing{
    filter: brightness(0.5);
    padding: 0;
    box-shadow: none;
    max-height: 100vh;
}
#carouselLandingSlidesOnly{
    display: none;
}
@media(min-width: 1201px){
    #carouselExampleSlidesOnly{
        display: none;
    }
    #carouselLandingSlidesOnly{
        display: block;
    }
}
.hero-banner .row{
    backdrop-filter: brightness(0.5);
}
.content-landing{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    min-height: 100vh;
    background-repeat: no-repeat;
}
.accroche img {display:block;width:100%;height:auto;max-width:100px;margin:0px auto 10px auto;}
.content-landing .accroche{
    font-size: 1.8rem;
}
.carousel-landing img{
    max-height: 100vh;
}
.content-landing h1{
    font-size: 2.5rem;
}
.content-landing h1, .content-landing h2{
    color: var(--white);
}
.btn-contact{
    width: fit-content;
    text-decoration: none;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
	    background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
}

@media (max-width: 450px){
	.mb-5.callage {
    margin-top: -80px!important;
}}
	@media (max-width: 400px){
	.mb-5.callage {
    margin-top: -160px!important;
}
.content-landing {
    justify-content: start;
    align-items: flex-start;
    margin-top: 50px;
}}
	@media (max-width: 350px){
	.mb-5.callage {
    margin-top: -240px!important;
}

}
	@media (max-width: 320px){
	.mb-5.callage {
    margin-top: -280px!important;
}

}

@media (max-width: 512px){
    .hero-banner{
        justify-content: center;
    }
    .carousel-landing{
       /* min-height: 100vh;*/
        width: auto;
    }
}

@media (min-width: 1024px) {
    .content-landing h1{
        font-size: 4rem;
    }
    .content-landing h2{
        font-size: 2rem;
    }
    .btn-contact{
        font-size: 1rem;
        margin-top: 30px;
		    margin-left: 10px;
    margin-right: 10px;

    }
    }

@media (min-width: 1400px) {
    .content-landing{
        margin-right: 20px;
        align-items: center;
        text-align: center;
    }
    .btn-contact:hover{
        color: var(--white);
        filter: brightness(0.85);
        transition: 1s;
    }
}
 /*END HERO BANNER*/
@media (max-width: 567px){
.btn-contact{
    display:block;
	margin:15px auto 15px auto;min-width:100%;
}
	video, .video{width: 100%; padding: 0px;margin:10px auto}
	.ratio{margin-bottom:40px;}
	}
 /*BEGIN ABOUT LANDING PAGE*/
.about h3{
    color: #78a7ad;
    font-weight: 600;
	background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.line{
    /*border: 3px solid var(--secondary-color);*/
    margin: 10px 0 10px 0;
    width: 50%;height:6px;
	background: rgb(236,101,37);
background: linear-gradient(90deg, rgba(236,101,37,1) 50%, rgba(174,48,36,1) 100%);
}
@media (min-width: 1024px){
    .about h3{
        font-size: 2rem;
    }
    .about p{
        font-size: 1.2rem;
    }
}


@media (min-width: 1400px){
    .about p{
        font-size: 1.3rem;
    }
    .about-img{
        width: 35%;
    }
    .about-img img{
        box-shadow: 60px 60px #78a7ad9e;
    }
    .info-landing, .info-landing .container-fluid .row{
        min-height: 100vh;
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin: auto;
    }
}
 /*END ABOUT LANDING PAGE*/

    /*BEGIN PROJECTS LANDING PAGE*/
.projects-container{
    margin: 40px 0;
}
.main-card{
    background-color: var(--white);
    padding: 10px;
}
.projects-title{
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}
.projects-title h3{
    font-weight: 600;
    color: var(--primary-color);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 39px;
	background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.projects-title h4{
    font-weight: 100;
    font-size: 1rem;
    color: var(--secondary-color);
}
:root {
    --d: 700ms;
    --e: cubic-bezier(0.19, 1, 0.22, 1);
}
body {
    display: grid;
    place-items: center;
}
.page-content {
    display: grid;
    grid-gap: 1rem;
    padding: 1rem;
    max-width: 1024px;
    margin: 0 auto;
}

@media (max-width: 500px) {
.projects-title h3 {
    font-size: 1.8rem;
    padding: 0px 20px;
}
	}

@media (min-width: 600px) {
    .page-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 800px) {
    .page-content {
        grid-template-columns: repeat(3, 1fr);
    }
}
.card .title{
    color: var(--white);
}
.card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
    text-align: center;
    color: whitesmoke;
    background-color: whitesmoke;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
    .card {
        height: 400px;
    }
}
@media (max-width: 600px) {
    .card {
        min-height: 300px;
    }
}
.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: 0 0;
    transition: transform calc(var(--d) * 1.5) var(--e);
    pointer-events: none;
}
.card:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    pointer-events: none;/*
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.320) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.540) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.790) 100%);*/
    transform: translateY(-50%);
    transition: transform calc(var(--d) * 2) var(--e);
}
.card:nth-child(1):before {
    background-image: url('../img/Odil-gros-oeuvre/odil-EGCM-construction-generale-rpyan-card-2-min.jpg');
    filter: brightness(0.5);
}
.card:nth-child(2):before {
    background-image: url('../img/extension/extension-egcm-construction-generale-royan-mini.jpg');
    filter: brightness(0.5);
}
.card:nth-child(3):before {
    background-image: url('../img/GOT-extension/extension-egcm-construction-generale-royan-card-2-min.jpg');
    filter: brightness(0.5);
}
.card:nth-child(4):before {
    background-image: url('../img/La-biere-michelaise-indus/georgette-EGCM-construction-generale-royan-card-min.jpg');
    filter: brightness(0.5);
}
.card:nth-child(5):before {
    background-image: url('../img/GOT-extension/extension-egcm-construction-generale-royan-3-min.jpg');
    filter: brightness(0.5);
}
.card:nth-child(6):before {
    background-image: url('../img/lido-demolition-gros-oeuvre/lido-EGCM-construction-generale-royan-card.jpg');
    filter: brightness(0.5);
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    transition: transform var(--d) var(--e);
    z-index: 1;
}
.card-realisation .content{display: flex;
  align-items: center;
  justify-content: center;height:100%;}
.card-realisation .content a{position: absolute;top:0%;height:100%;width:100%;opacity: 1;display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;}
.card-realisation .content a h2{margin-top:30px;}
.content > * + * {
    margin-top: 1rem;
}
.card-realisation .content a button {
    opacity: 0!important;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
}
.card-realisation .content a:hover button {
    opacity: 1!important;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
}
.title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
}
.copy {
    color: var(--white);
    font-size: 1.125rem;
    line-height: 1.35;
}
.btn-more {
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 0.025rem;
    text-transform: uppercase;
    color: var(--white);
    background-color: var(--primary-color);
    border: none;
    border-radius: 10px;
}
.btn-more:hover {
    color: var(--white);
    filter: brightness(0.85);
    transition: 1s;
}
.btn-more:focus {
    outline: 1px dashed yellow;
    outline-offset: 3px;
}
@media (hover: hover) and (min-width: 600px) {
    .card:after {
        transform: translateY(0);
    }
   /* .content {
        transform: translateY(calc(100% - 4.5rem));
    }*/
    .content > *:not(.title) {
        opacity: 0;
        transform: translateY(1rem);
        transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    }
    .card:hover, .card:focus-within {
        align-items: center;
    }
    .card:hover:before, .card:focus-within:before {
        transform: translateY(-4%);
    }
    .card:hover:after, .card:focus-within:after {
        transform: translateY(-50%);
    }
    .card:hover .content, .card:focus-within .content {
        transform: translateY(0);
    }
    .card:hover .content > *:not(.title), .card:focus-within .content > *:not(.title) {
        opacity: 1;
        transform: translateY(0);
        transition-delay: calc(var(--d) / 8);
    }
    .card:focus-within:before, .card:focus-within:after, .card:focus-within .content, .card:focus-within .content > *:not(.title) {
        transition-duration: 0s;
    }
}


    @media (min-width: 1400px){
        .projects{
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
        }
        .cards{
            padding: 10px;
        }
    }
/*END PROJECTS*/
/* PAGE REALISATION */
.avant{padding-bottom:30px;}
.avant img{
    max-width: 100%;
    padding: 15px 15px;
}
.avant a img:hover{
    opacity: 0.7;transition: all 0.4s ease-in-out;
}
.avant h2{
    color: var(--primary-color);
    font-size: 2.5rem;
	background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.avant .line{
    align-self: center;
    width: 10%;
}
.banner-realisation{
    background-image: url("../img/Odil-gros-oeuvre/odil-egcm-construction-generale-royan-2.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-1{
    background-image: url("../img/lido-demolition-gros-oeuvre/odil-EGCM-construction-generale-2.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-construction-batiments-logements{
    background-image: url("../img/batiments-logements/FERRY-construction-batiments-logements-EGCM-BTP-Royan-Charente-Maritime-01.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-construction-batiments-industriels{
    background-image: url("../img/batiments-industriels/georgette-construction-batiments-industriels-EGCM-BTP-Royan-Charente-Maritime-03.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-construction-batiments-industriels-1{
    background-image: url("../img/batiments-industriels/egcm-BTP-Royan-batiments-industriels-Netto-03.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-construction-maisons-individuelles{
    background-image: url("../img/constructions-maisons-individuelles/GATIN-construction-maisons-individuelles-EGCM-BTP-Royan-Charente-Maritime-02.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-extensions-batiments{
    background-image: url("../img/extension/NICOLLE-extension-egcm-construction-generale-royan-01.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-travaux-marches-publics{
    background-image: url("../img/travaux-marches-publics/seudre-travaux-marches-publics-EGCM-BTP-Royan-05.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-extensions-batiments-1{
    background-image: url("../img/renovation/GOT-renovation-batiments--EGCM-BTP-Royan-Charente-Maritime-12.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.banner-realisation-renovation-batiments{
    background-image: url("../img/renovation/SIBRAN-renovation-batiments--EGCM-BTP-Royan-Charente-Maritime-24.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.contain-realisation{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-realisation h1{
    position: absolute;
    color: var(--white);
}
/* FIN PAGE REALISATION */

/* BEGIN COMPETENCES PAGES*/
.renovation h1{
    color: #78a7ad;
    font-weight: 600;
	background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.renovation, .competences-content{
    margin-top: 30px;
}

.contact-follow{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 768px){
    .competences-content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-follow{
        justify-content: center;
    }
    .follow-black{
         font-size: 1.5rem;
         margin-left: 30px;
     }
    /*.renovation{
        min-height: 90vh;
    }*/
}
@media (min-width: 1024px){
    .renovation h1{
        font-size: 2rem;padding: 0px 0px 0px 55px;
    }
   /* .renovation{
        min-height: 90vh;
    }*/
    .contact-follow .logos{
        margin: 30px 0 0 30px;
    }
    .follow-black{
        font-size: 1rem;
    }
}
@media (min-width: 1400px){
    .contact-follow{
        justify-content: start;
    }
    .row-renovation{
        min-height: 100vh;
        justify-content: center;
        flex-direction: row-reverse;
        align-items: center;
    }
    .row-renovation-right{
        min-height: 100vh;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .row-renovation-right .contact-follow{
        justify-content: end;
    }
    .row-renovation-right .competences-content h1, .row-renovation-right .competences-content .line{
        align-self: end;
    }
    .competences-content{
        margin: 0;
    }
    .competences-content h1, .competences-content .line{
        font-size: 3rem;
        align-self: center;
    }
    .competences-content p{
        font-size: 1.2rem;
        width: 85%;
    }
}

/*END COMPETENCES PAGES*/
    /* PAGE RENOVATION */
.banner-renovation{
    background-image: url("../img/GOT-extension/extension-egcm-construction-generale-royan-2-x.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.contain-renovation h1, .contain-individuelle h1, .contain-industriel h1,
.contain-logement h1, .contain-gros-oeuvre h1, .contain-extension h1{
    text-transform: uppercase;
}
.contain-renovation{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-renovation h1{
    position: absolute;
    color: var(--white);
}
/* FIN PAGE RENOVATION */
/* PAGE EXTENSION */
.banner-extension{
    background-image: url("../img/GOT-extension/extension-egcm-construction-generale-royan-2-x.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
    background-position: bottom;
}
.contain-extension{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-extension h1{
    position: absolute;
    color: var(--white);
}
/* FIN EXTENSION */
/* PAGE MAISON INDIVIDUELLE */
.banner-individuelle{
    background-image: url("../img/GOT-extension/extension-egcm-construction-generale-royan-2-x.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.contain-individuelle{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-individuelle h1{
    position: absolute;
    color: var(--white);
}
/* FIN MAISON INDIVIDUELLE */
/* BATIMENT INDUSTRIEL */
.banner-industriel{
    background-image: url("../img/batiment-industriel/egcm-BTP-Royan-batiments-industriels-Vignerons-oleron-04.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
    background-position: bottom;
}
.contain-industriel{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-industriel h1{
    position: absolute;
    color: var(--white);
}
/* FIN BATIMENT INDUSTRIEL */
/* BATIMENT DE LOGEMENT */
.banner-logement{
    background-image: url("../img/logement.jpeg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.contain-logement{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-logement h1{
    position: absolute;
    color: var(--white);
}
/* FIN BATIMENT DE LOGEMENT */
/* GROS-OEUVRE */
.banner-gros-oeuvre{
    background-image: url("../img/Odil-gros-oeuvre/odil-EGCM-construction-generale-banner.jpg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
    background-position: bottom;
}
.contain-gros-oeuvre{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-gros-oeuvre h1{
    position: absolute;
    color: var(--white);
}
/* FIN GROS-OEUVRES */
/* SLIDER */
.renovation {
    /*background: #f4f4f4;*/
    padding: 50px 50px 100px 50px;
}
.iframe{width: 80%;max-width: 1920px;margin: 50px auto;}
@media (max-width: 720px) {
	.mb-5 {
    margin-bottom: 1rem!important;}
		.iframe{width: 100%;max-width: 1920px;margin: 50px auto;}

   .renovation {
    padding: 20px 10px 50px 10px;
}
}
.container-renovation {
    max-width: 1044px;
    margin: 0 auto;
    padding: 0 20px;
}
.liens{margin-top:100px;}
@media (max-width: 1400px){
	.about h3, .about h1 {margin-top: 50px;}
	.liens {margin-top: 30px;}
}
.carousel {
    display: block;
    text-align: left;
    position: relative;
    margin-bottom: 22px;
    box-shadow: 50px 50px var(--primary-color);
}
	.carousel {box-shadow: none;padding:10px;}
	.carousel:before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 64px;
    right: -37px;
    bottom: -37px;
    left: 60px;
    background: linear-gradient(0deg, #69979c 0%, #91c9cd 100% );
   /* transform: translate3d(0px, 20px, 0) scale(0.95);
    filter: blur(0px);
    opacity: var(0.7);
    transition: opacity 0.3s;
    border-radius: inherit;*/
}
.carouselIndex.carousel:before{display:none!important;}
.carouselIndex.carousel{padding:0!important;}

.carousel > input {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}
.carousel > input:nth-of-type(6):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -500%;
}
.carousel > input:nth-of-type(5):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -400%;
}
.carousel > input:nth-of-type(4):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -300%;
}
.carousel > input:nth-of-type(3):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -200%;
}
.carousel > input:nth-of-type(2):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -100%;
}
.carousel > input:nth-of-type(1):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: 0%;
}
.carousel > input:nth-of-type(1):checked ~ .carousel__thumbnails li:nth-of-type(1) {
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(2):checked ~ .carousel__thumbnails li:nth-of-type(2) {
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(3):checked ~ .carousel__thumbnails li:nth-of-type(3) {
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(4):checked ~ .carousel__thumbnails li:nth-of-type(4) {
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(5):checked ~ .carousel__thumbnails li:nth-of-type(5) {
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel > input:nth-of-type(6):checked ~ .carousel__thumbnails li:nth-of-type(6) {
    box-shadow: 0px 0px 0px 5px rgba(0, 0, 255, 0.5);
}
.carousel__slides {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    display: flex;
}
.carousel__slide {
    position: relative;
    display: block;
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 300ms ease-out;
    vertical-align: top;
    box-sizing: border-box;
    white-space: normal;
}
.carousel__slide figure {
    display: flex;
    margin: 0;
}
.carousel__slide div {
    position: relative;
    width: 100%;
}
.carousel__slide div:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 66.6666666667%;
}
.carousel__slide div > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.carousel__slide img {
    display: block;
    flex: 1 1 auto;
    object-fit: cover;
}
.carousel__slide figcaption {
    align-self: flex-end;
    padding: 20px 20px 0 20px;
    flex: 0 0 auto;
    width: 25%;
    min-width: 150px;
}
.carousel__slide .credit {
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.5);
    display: block;
}
.carousel__slide.scrollable {
    overflow-y: scroll;
}
.carousel__thumbnails {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin: 0 -10px;
}
.carousel__slides + .carousel__thumbnails {
    margin-top: 20px;
}
.carousel__thumbnails li {
    flex: 1 1 auto;
    max-width: calc((100% / 6) - 20px);
    margin: 0 10px;
    transition: all 300ms ease-in-out;
}
.carousel__thumbnails label {
    display: block;
    position: relative;
}
.carousel__thumbnails label:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%;
}
.carousel__thumbnails label > img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.carousel__thumbnails label:hover, .carousel__thumbnails label:focus {
    cursor: pointer;
}
.carousel__thumbnails label:hover img, .carousel__thumbnails label:focus img {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.25);
    transition: all 300ms ease-in-out;
}
.carousel__thumbnails img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* END SLIDER */
/* PAGE COMPETENCES */
/*.banner-competences{
    background-image: url("../img/renovation.jpeg");
    height: 50vh;
    width: 100%;
    background-attachment: fixed;
    background-size: cover;
    filter: brightness(0.5);
}
.contain-competences{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contain-competences h1{
    position: absolute;
    color: var(--white);
}*/
.line-competences{
    border: 0px solid var(--secondary-color);
    margin: 10px 0 10px 0;
    width: 10%;
    margin: auto;
	height:6px;
	background: rgb(236,101,37);
background: linear-gradient(90deg, rgba(236,101,37,1) 50%, rgba(174,48,36,1) 100%);
}
#timeline h1, .realisation h1{
    color: var(--primary-color);
	background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@media (min-width: 1000px) {
    #timeline .demo-card:nth-child(odd) .head::after, #timeline .demo-card:nth-child(even) .head::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
    }
    #timeline .demo-card:nth-child(odd) .head::before, #timeline .demo-card:nth-child(even) .head::before {
        position: absolute;
        content: "";
        width: 9px;
        height: 9px;
        background-color: #bdbdbd;
        border-radius: 9px;
        box-shadow: 0px 0px 2px 8px #f7f7f7;
    }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
    order: 1;
}
.demo-card:nth-child(2) {
    order: 4;
}
.demo-card:nth-child(3) {
    order: 2;
}
.demo-card:nth-child(4) {
    order: 5;
}
.demo-card:nth-child(5) {
    order: 3;
}
.demo-card:nth-child(6) {
    order: 6;
}
/* Border Box */
* {
    box-sizing: border-box;
}
/* Fonts */
#timeline {
    padding: 70px 0 100px 0;
    background: #f7f7f7;
    border-top: 1px solid rgba(191, 191, 191, 0.4);
    border-bottom: 1px solid rgba(191, 191, 191, 0.4);
}
#timeline h1, .realisation h1 {
    text-align: center;
    font-size: 3.0rem;
    font-weight: 200;
    margin-bottom: 20px;
    /*text-transform: uppercase;*/
}
#timeline p.leader {
    text-align: center;
    max-width: 90%;
    margin: auto;
    margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
    position: relative;
    margin: auto;
}
@media (min-width: 1000px) {
    #timeline .demo-card-wrapper {
        display: flex;
        flex-flow: column wrap;
        width: 1170px;
        height: 1650px;
		/*height: 2000px;*/
        margin: 0 auto;
    }
	#timeline .demo-card-wrapper.serie2 {
        display: flex;
        flex-flow: column wrap;
        width: 1170px;
        height: 550px;
        margin: 0 auto;
		margin-top: -180px;
    }
}
#timeline .demo-card-wrapper::after {
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid rgba(191, 191, 191, 0.4);
}
@media (min-width: 1000px) {
    #timeline .demo-card-wrapper::after {
        border-left: 1px solid #bdbdbd;
    }
}
#timeline .demo-card {
    position: relative;
    display: block;
    margin: 10px auto 80px;
    max-width: 94%;
    z-index: 2;
}
@media (min-width: 480px) {
    #timeline .demo-card {
        max-width: 60%;
        box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
    }
}
@media (min-width: 720px) {
    #timeline .demo-card {
        max-width: 40%;
    }
}

@media (max-width: 720px) {
#timeline .demo-card {
    margin: 10px auto 30px;
}
}

@media (min-width: 1000px) {
    #timeline .demo-card {
        max-width: 450px;
        height: 400px;
        margin: 90px;
        margin-top: 45px;
        margin-bottom: 45px;
    }
    #timeline .demo-card:nth-child(odd) {
        margin-right: 45px;
    }
    #timeline .demo-card:nth-child(odd) .head::after {
        border-left-width: 15px;
        border-left-style: solid;
        left: 100%;
    }
    #timeline .demo-card:nth-child(odd) .head::before {
        left: 491.5px;
    }
    #timeline .demo-card:nth-child(even) {
        margin-left: 45px;
    }
    #timeline .demo-card:nth-child(even) .head::after {
        border-right-width: 15px;
        border-right-style: solid;
        right: 100%;
    }
    #timeline .demo-card:nth-child(even) .head::before {
        right: 489.5px;
    }
    #timeline .demo-card:nth-child(2) {
        margin-top: 180px;
    }
}
#timeline .demo-card .head {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 400;
    background-color: var(--primary-color);
	    background: linear-gradient(90deg, #91c9cd 0%, #69979c 100% );
}
#timeline .demo-card .head .number-box {
    display: inline;
    float: left;
    margin: 15px;
    padding: 10px;
    font-size: 35px;
    line-height: 35px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.17);
}
#timeline .demo-card .head h2 {
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: inherit;
    letter-spacing: 2px;
    margin: 0;
    padding-bottom: 6px;
    line-height: 1.5rem;
}
@media (min-width: 480px) {
    #timeline .demo-card .head h2 {
        font-size: 165%;
        line-height: 1.5rem;
    }
}
#timeline .demo-card .head h2 span {
    display: block;
    font-size: 0.6rem;
    margin: 0;
}
@media (min-width: 480px) {
    #timeline .demo-card .head h2 span {
        font-size: 0.8rem;
    }
}
#timeline .demo-card .body {
    background: #fff;
    border: 1px solid rgba(191, 191, 191, 0.4);
    border-top: 0;
    padding: 15px;
}
@media (min-width: 1000px) {
    #timeline .demo-card .body {
        height: 350px;
        overflow: hidden;
    }
}
#timeline .demo-card .body p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px;
}
#timeline .demo-card .body img {
    display: block;
    width: 100%;
}
#timeline .demo-card--step1 {
    background-color: #f7f7f7;
}
#timeline .demo-card--step1 .head::after {
    border-color: var(--primary-color);
	border-color: #69979c;
}
#timeline .demo-card--step2 {
    background-color: #f7f7f7;
	
}
#timeline .demo-card--step2 .head::after {
    border-color: var(--primary-color);
	border-color: #91c9cd;
}
#timeline .demo-card--step3 {
    border-color: var(--primary-color);
}
#timeline .demo-card--step3 .head::after {
    border-color: var(--primary-color);
	border-color: #69979c;
}
#timeline .demo-card--step4 {
    background-color: #f7f7f7;
}
#timeline .demo-card--step4 .head::after {
    border-color: var(--primary-color);
	border-color: #91c9cd;
}
#timeline .demo-card--step5 {
    background-color: #f7f7f7;
}
#timeline .demo-card--step5 .head::after {
    border-color: var(--primary-color);
	border-color: #69979c;
}
#timeline .demo-card--step7 {
    background-color: #f7f7f7;
}
#timeline .demo-card--step7 .head::after {
    border-color: var(--primary-color);
	border-color: #69979c;
}
#timeline .demo-card--step6 {
    background-color: #f7f7f7;
}
#timeline .demo-card--step6 .head::after {
    border-color: var(--primary-color);
	border-color: #91c9cd;
}
#timeline .demo-card--step1:hover{
    transition: 1s;
    filter: brightness(75%);
}
#timeline .demo-card--step2:hover{
    transition: 1s;
    filter: brightness(75%);
}
#timeline .demo-card--step3:hover{
    transition: 1s;
    filter: brightness(75%);
}
#timeline .demo-card--step4:hover{
    transition: 1s;
    filter: brightness(75%);
}
#timeline .demo-card--step5:hover{
     transition: 1s;
     filter: brightness(75%);
 }
#timeline .demo-card--step6:hover{
    transition: 1s;
    filter: brightness(75%);
}
#timeline .demo-card--step7:hover{
     transition: 1s;
     filter: brightness(75%);
 }

/* FIN PAGE COMPETENCES */
@media (max-width: 567px) {
	.about h3, .about h1 {margin-top: 30px;}
	.avant {padding-bottom: 0px;}
	.carousel {padding: 0px;}
    #timeline {
		padding: 20px 0 20px 0;}
}
 /*DEBUT PAGE REALISATION*/
.realisation h1{
    padding-top: 50px;
    text-align: center;
    margin-top: 50px;
}
.realisation h1 span{display:block;font-size:0.5em;text-transform: none;color:var(--secondary-color);
background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;}
.realisation h1 span i{font-size:1.2em;color:var(--secondary-color);
background: -webkit-linear-gradient(90deg, #69979c 0%, #91c9cd 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;}

@media (max-width:600px){
#timeline h1, .realisation h1{font-size:2.5rem;
    padding-top: 0px;
    text-align: center;
    margin-top: 20px;
}
}

.card-realisation:nth-child(1):before {
    background-image: url('../img/renovation/GOT-renovation-batiments--EGCM-BTP-Royan-Charente-Maritime-12v.jpg');
    filter: brightness(0.5);
}
.card-realisation:nth-child(2):before {
    background-image: url('../img/extension/NICOLLE-extension-egcm-construction-generale-royan-01v.jpg');
    filter: brightness(0.5);
}
.card-realisation:nth-child(3):before {
    background-image: url('../img/constructions-maisons-individuelles/GATIN-construction-maisons-individuelles-EGCM-BTP-Royan-Charente-Maritime-02v.jpg');
    filter: brightness(0.5);
}
.card-realisation:nth-child(4):before {
    background-image: url('../img/La-biere-michelaise-indus/georgette-EGCM-construction-generale-royan-card-min.jpg');
    filter: brightness(0.5);
}
.card-realisation:nth-child(5):before {
    background-image: url('../img/batiments-logements/FERRY-construction-batiments-logements-EGCM-BTP-Royan-Charente-Maritime-07v.jpg');
    filter: brightness(0.5);
}
.card-realisation:nth-child(6):before {
    background-image: url('../img/lido-demolition-gros-oeuvre/lido-EGCM-construction-generale-royan-card-v.jpg');
    filter: brightness(0.5);
}
.card-realisation:nth-child(7):before {
    background-image: url('../img/travaux-marches-publics/mairie-travaux-marches-publics-EGCM-BTP-Royan-v06.jpg');
    filter: brightness(0.5);
}
/*FIN PAGE REALISATION*/
/*BEGIN CONTACT PAGE*/
.main-contact{
    /*flex-direction: column-reverse;*/
}
.main-contact .form h1, .main-contact .form form{
    margin-top: 30px;
}
.contact-content p{
    line-height: 2
}
.contact-content .about{
    display: none;
}
@media (min-width: 768px){
    .main-contact .form{
        margin: auto;
    }
    .main-contact .contact-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
        font-size: 1.5rem;

    }
    .main-contact .contact-content iframe{
        margin-top: 30px;
    }
}
@media (min-width: 1024px){
    .main-contact .form label, .main-contact .form button{
        font-size: 1.8rem;
    }
}
@media (min-width: 1400px){
    .main-contact{
        flex-direction: row-reverse;
    }
    .main-contact .line{
        display: none;
    }
    .main-contact .form label, .main-contact .form button{
        font-size: 1rem;
    }
    .main-contact .form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }
    .main-contact .form form{
        width: 65%;
    }
    .contact-content{
        justify-content: space-around;
        padding: 25px;
    }
    .contact-content .about{
        display: initial;
        width: 70%;
    }
    .contact-content .about p{
        font-size: 1.2rem;
        line-height: 1.6;
        text-align: left;
    }
    .about .info-contact{
        font-size: 1.6rem;
    }
}



/*END CONTACT PAGE*/


    /* BEGIN FOOTER */
footer{
    background-color: var(--white);padding-bottom:30px;
}
footer strong{display:block;}
.logos{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin: 5px;
}
.logos p{
    margin: 5px 0 0 5px;
}
.footer-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer-content img{
    width: 20%;
}
.logos-footer img{
    width: 19px;margin-right:5px;
}
.mentions{
    text-align: center;
}
.mentions img{
    width: 5%;
}
.blue-content{
    color: var(--primary-color);
}
.footer-content .accroche{
    text-align: center;
    font-size: 1rem;
}
footer h2.accroche{
    text-align: center!important;

}
@media (min-width: 768px){
    .footer-content{
        flex-direction: row;
    }
    .footer-content img{
        width: 12%;
        margin: 0 30px 30px 0;
    }
    .footer-content .accroche{
        text-align: start;
    }
    .logos-footer img{
        width: 19px;
    }
    .mentions img{
        width: 3%;
    }
    .footer-contact{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .logos-footer{
       /* display: flex;
        justify-content: center;
        align-items: center;*/
    }
}
@media (min-width: 1024px){
    .footer-contact{
        font-size: 1.5rem;
    }
    .accroche{
        font-size: 1rem;text-align: center;
    }
}
@media (min-width: 1400px){
    .footer-contact{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .footer-content h2{
        font-size: 1.4rem;
    }
    .footer-content img, .logos-footer img{
        width: 19px;
    }
    .logos p{
        font-size: 1rem;
    }
    .mentions img{
        width: 1%;
    }
    .fb-logo{
        width: 9%;
    }
}
    /*END FOOTER*//*
@media (max-width: 500px){
.logos{
    margin: 5px;
}
	}*/