@font-face {
    font-family: 'Prototype';
    src: url('../polices/Prototype.woff2') format('woff2'),
        url('../polices/Prototype.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------- */
/*
/* HTML
/*
/* --------------------------------------------------------------- */
* {
	box-sizing:border-box;
}

html, body {
	margin:0; padding:0;
	width:100%; height:100%;
	font-family:"Open Sans", sans-serif; font-size:15px;
}

body {
	text-align:center;
}

#main {
	position:relative; top:0; left:0;
	width:100%; min-height:100%;
	margin:0 auto;
	text-align:left;
	color: #000;
	background-color:#fff;
}

/* --------------------------------------------------------------- */
/*
/* Header
/*
/* --------------------------------------------------------------- */
#entete {
    /*position: relative; top: 0; left: 0;*/
    background-color: rgba(255,255,255,0.8);
}

#entete_haut {
    position: relative; top: 0; left: 0;
    padding:20px 0;
    z-index:10;
}

@media (max-width: 991.98px) {
    #entete_haut {
        padding:0;
    }

    #entete .logo {
        text-align: center;
        padding:15px 0;
    }
}

/* --------------------------------------------------------------- */
/*
/* Diaporama
/*
/* --------------------------------------------------------------- */
#diaporama {
    position: relative; top: 0px; left: 0;
    width:100%;
    height: 420px;
    z-index:5;
}

#diaporama img {
    width:100%; height:100%;
    object-fit: cover;
}

#diaporama .overlay {
    position: absolute; top: 0; left: 150px;
    width:395px; height:100%;
    background: url('../img/logo_diaporama.png') no-repeat center center;
}

@media (max-width: 991.98px) {
    #diaporama {
        height:150px;
    }

    #diaporama .overlay {
        left:0;
        width: 225px;
        background-size: contain;

        display: none;
    }
}

@media (max-height: 750px) {
    #diaporama {
        height:250px;
    }

    #diaporama .overlay {
        background-size: contain;
    }
}


/* --------------------------------------------------------------- */
/*
/* Menu
/*
/* --------------------------------------------------------------- */
#menu {
    position: relative; top: 0; left: 0;
    margin-top:-10px;
}

#menu ul {
    padding: 0; margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items:center;
    width:100%;
}

#menu ul li {
    position: relative; top: 0; left: 0;
}

#menu ul li a {
    position: relative; top: 0; left: 0;
    text-decoration: none;
    color:#000;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 50px;
}

#menu ul li a.btn-projet {
    position: relative; top: 0; left: 0;
    padding:5px 7px;
    color:#FFF;
    background-color: #9e0b0f;
    border-radius: 5px;
}

#menu ul li:hover ul, #menu ul li a.hover + ul {
    display: block;
}

#menu ul li ul {
    position: absolute; top: 50px; left: 50%;
    width:220px; margin-left:-110px;
    display:none;
    background-color: #b6afab;
    text-align: center;
    padding:10px 0;
    border-bottom:2px solid #9e0b0f;
}

#menu ul li ul li a {
    line-height: normal;
    padding:10px 30px;
    color:#FFF;
    font-size: 95%;
    display: inline-block;
}



/* --------------------------------------------------------------- */
/*
/* Menu responsive
/*
/* --------------------------------------------------------------- */
.navbar {
    display: block !important;
    padding:0;
}
.navbar-toggler {
    text-transform: uppercase;
    color:#FFF;
}
.navbar-toggler i {
    margin-right:5px;
}

@media (max-width: 991.98px) {
    #menu {
        margin-top:0;
    }

    #menu ul {
        display: block;
    }

    #menu ul li {
        border-bottom:1px solid #b6afab;
    }
    #menu ul li:last-child {
        border-bottom:none;
    }

    #menu ul li a {
        display: block;
        text-align: center;
    }

    .bg-navbar {
        background-color: #8c817c;
    }

    .bg-menu {
        background-color: #fff;
        padding:0;
    }
    .bg-menu .show {
        border-bottom:5px solid #9e0b0f;
    }

    #menu ul li ul {
        position: relative; top:0; left: 0;
        margin-left: 0;
        width:100%;
    }

}
/* --------------------------------------------------------------- */
/*
/* Language switcher
/*
/* --------------------------------------------------------------- */
.conteneur_locale {
	position: relative;
	height: 50px;
}

.languagepicker {
	position: absolute; top: 0; left: 0;
	display: inline-block;
	padding: 0;
	height: 40px;
	overflow: hidden;
	transition: all .3s ease;
	margin: 0 0;
    background-color: transparent;
}

.languagepicker:hover, .languagepicker.hover {
	/* don't forget the 1px border */
	height: 122px;
}

.languagepicker a {
	color: #000;
	text-decoration: none;
}

.languagepicker li {
	display: block;
	padding: 0px 20px;
	line-height: 40px;
	border-top: 1px solid #5b5b5b;
}

.languagepicker li:hover{
	background-color: #EEE;
}

.languagepicker li:first-child {
	border: none;
}

.languagepicker li img {
	margin-right: 5px;
	width: 16px;
}

.roundborders {
	border-radius: 5px;
}

.large:hover {
	/*
	don't forget the 1px border!
	The first language is 40px heigh,
	the others are 41px
	*/
	height: 245px;
}

@media (max-width: 991.98px) {
    .conteneur_locale {
        height:39px;
    }

    .languagepicker li:first-child a {
        pointer-events: none;
    }
}



/* --------------------------------------------------------------- */
/*
/* Page
/*
/* --------------------------------------------------------------- */
#page {
    position: relative; top: 0; left: 0;
}

#page .section_page {
    padding:80px 0;
}
#page .section_page.no_bottom {
    padding-bottom:0px;
}

#page .section_page.logo_societe {
    background: url('../img/logo_societe.png') no-repeat;
    background-position: calc(100% / 2 + 380px) bottom;
    background-color: #e2dddb;
}

#page .sur_titre {
    font-size: 14px;
    display:flex;
    align-items:center;
}
#page .sur_titre span {
    display: inline-block;
    width:70px; height:1px;
    border-top:1px solid #939598;
    margin:0 10px;
}

#page h1, #page h2 {
    position: relative; top: 0; left: 0;
    font-family: "Prototype";
    color:#9e0b0f;
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom:60px;

}

#page h1.h1-stroke {
    position: relative; top: 0; left: 0;
    font-family: "Open Sans";
    font-weight: bold;
    font-size: 70px;
    -webkit-text-stroke-width:1px;
    -webkit-text-stroke-color:#8c827e;
    color:transparent;
    margin-bottom:10px;

}
#page h1.h1-stroke span {
    position: relative;
}
/* -- IE 11 hack -- */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #page h1.h1-stroke {
        color:#8c827e;
    }
}
#page h1.h1-stroke:before {
    content:"";
    position: absolute; top: 45px; left: -15px;
    width:120px; height:120px;
    background-color: #e2dddb;

}
#page h1.h1-stroke + div.texte {
    position: relative;
    margin-left:20px;
}

#page .texte h3 {
    font-size: 24px;
    color:#8c817c;
    font-weight: normal;
    margin-bottom:10px;
}

#page .section_page .image.carre_rouge {
    position: relative; top: 0; left: 0;
}
#page .section_page .image.carre_rouge:before {
    content:"";
    position: absolute; bottom: -16px; right: -16px;
    width:46px; height:46px;
    background-color: #9e0b0f;
}
#page .section_page .image.carre_rouge img {
    position: relative;
}

@media (max-width: 991.98px) {
    #page h1, #page h2 {
        margin-bottom:25px;
    }

    #page h1.h1-stroke {
        font-size: 50px;
    }

    #page .section_page {
        padding:50px 0;
    }
}

/* --------------------------------------------------------------- */
/*
/* Footer
/*
/* --------------------------------------------------------------- */
#pied {
    position: relative; top: 0; left: 0;
    background-color: #ccc2c0;
    padding-top:65px;
    padding-bottom:10px;
}

#pied #newsletter_footer {
    top:-115px;
    margin-top:-115px;
    margin-bottom:35px;
}

#pied #newsletter_footer .conteneur_newsletter {
    padding:35px 0;
    background-color: #e2dddb;
}

#pied #newsletter_footer .conteneur_newsletter #input_newsletter_footer {
    padding:7px 15px;
    border:none;
    width:320px;
}

#pied #newsletter_footer .conteneur_newsletter .btn-rouge {
    background-color: #9e0b0f;
    color:#FFF;
    font-weight: bold;
    text-transform: uppercase;
    border:none;
    padding:7px 10px;
    margin-left:-3px;
}

#pied #footer_haut {
    padding-bottom:35px;
    border-bottom:1px solid #9e0b0f;
}

#pied #logo_texys {
    margin-top:185px;
}

#pied .box_pied h4 {
    font-family: "Prototype";
    font-size: 25px;
    color:#9e0b0f;
    margin-bottom:15px;
}

#pied .box_pied ul {
    padding:0; margin:0;
    list-style-type: none;
}

#pied .box_pied ul li {
    margin:15px 0;
}

#pied .box_pied p {
    font-size: 16px;
}

#pied .box_pied a {
    color:#000;
    text-decoration: none;
    font-size: 16px;
}

#pied #reseaux_footer {
    display: flex;
    justify-content: space-around;
    margin-top:25px;
}

#pied #reseaux_footer a {
    font-size: 25px;
    width:45px; height:45px;
    display: block;
    border:1px solid #000;
    border-radius:50%;
    text-align: center;
    line-height: 43px;
}


#pied #footer_bas {
    position: relative; top: 0; left: 0;
    padding:30px 0;
    font-size: 14px;
}

#pied #footer_bas a {
    color:#000;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    #pied #newsletter_footer .conteneur_newsletter {
        padding:15px;
    }

    #pied #newsletter_footer .conteneur_newsletter #input_newsletter_footer {
        margin-top:15px;
        padding-right:49px;
        width:100%;
    }

    #pied #newsletter_footer .conteneur_newsletter .btn-rouge {
        position: absolute; top: 15px; right: 10px;
    }

    #pied .box_pied ul li {
        margin:5px 0;
    }

    #pied #reseaux_footer {
        margin-top:0;
    }

    #pied #logo_texys {
        margin-top:0;
    }
}

/* --------------------------------------------------------------- */
/*
/* Popup
/*
/* --------------------------------------------------------------- */
#OptelPopupModal {
	text-align: left;
}
#OptelPopupModal h2{
	font-family: "Prototype";
	color: #9e0b0f;
	font-size:29px;
	margin: 0;
	font-weight: 400;
	padding-bottom: 1px;
	border-bottom: #CCC 1px solid;
	width:100%;
}

#OptelPopupModal .modal-header, #OptelPopupModal .modal-footer {
	border:none;
}

#OptelPopupModal .bouton {
	background-color: #9e0b0f;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    margin: 0;
    margin-top: 10px;
	border:none;
    padding:7px 15px;
}

html body .grecaptcha-badge {
	z-index : 10 !important;
	visibility: visible !important;
}
