/* --------------------------------------------------------------- */
/*
/* HTML
/*
/* --------------------------------------------------------------- */
* {
	box-sizing:border-box;	
}

html, body {
	margin:0; padding:0; width:100%; height:100%;
	font-family:"Roboto"; font-size:14px;
}

body {
	color:#363636;
	background-color:#ccc;
	text-align:center;
}

#main {
	position:relative; top:0; left:0; width:100%; min-height:100%; margin:0 auto;
	text-align:justify;  background-color:#f5f5f5;
}
@media (max-width:767px){
	#main{
		text-align:center;
	}
}

.test {
	background-color: rgba(200,240,210,0.3);
}

/* --------------------------------------------------------------- */
/*
/* Header
/*
/* --------------------------------------------------------------- */
#entete {
	position: fixed;
	top:0; 
	left:0;
	background:#fff;
	padding: 10px 0 0 0;
	z-index:10000;
	width:100%;
	display:block;
	height: auto;
	transition: height 0.15s ease-in-out;
}

@media screen and (min-width: 992px){
	#entete{
		height: 165px;
	}
	#entete.fixed{
		height: 110px;
	}
}
@media screen and (min-width: 1200px){
	#entete.fixed{
		height: 100px;
	}
}

@media(max-width: 991px){
	#entete{
		display:flex;
		justify-content:center;
		padding-top: 0;
	}
}

@media(max-width: 991px){
	header>.container{
		padding:0;
		margin:0;
	}
}

#entete .container{
	width:100%;
}

#entete #logo img{
	width: 185px;
	padding-bottom:10px;
}
@media(max-width: 991px){
	#entete img{
		padding:0;
	}
}

#entete #logo {
	position:relative;
	display: block;  
	-webkit-transition: width 0.3s, height 0.3s;
    transition: width 0.3s, height 0.3s;
}
#logo img{
	transition: 0.15s ease-in-out;
}
@media screen and (min-width: 992px){	
	#entete.fixed #logo img{
		width: 100px;
	}
}

@media(max-width: 991px){
	#entete #logo {
		display:none;
	}
}

#entete #logo-portable{
	display:none;
	width:100%;
}

@media (max-width:991px){
	#entete .container{
		max-width: none;
		width: 100%;
	}
	#entete #logo-portable{
		display: block;
		width: 90px;
		height: 70px;
		margin-bottom: 10px;
	}
}

/* --------------------------------------------------------------- */
/*
/* Menu
/*
/* --------------------------------------------------------------- */
#menu {
	position:relative; top:0px; left:0;
	width:100%;
}
@media (max-width:991px){
	#menu{
		display:flex;
		justify-content: space-between;
		padding:5px 20px;
	}
}

@media(min-width:768px) and (max-width:991px){
	#menu{
		width:100%;
	}
}
#menu ul {
	list-style-type:none; margin:0; padding:0;
	display:flex;
	justify-content:space-between;
	width:100%;
}
@media (max-width: 991px){
	#menu ul{
		display:block;
		width:100%;
		z-index:1000;
		max-height: calc(100vh - 90px);
		overflow-x: auto;
	}
}

#menu ul li {
	position: relative; top: 0; left: 0;
	margin:0px; padding:0 0 10px 0;
	text-align:center;
}
@media (max-width: 991px){
	#menu ul li{
		width:100%;
		background: #b4d012;
		padding:5px 0 0 0;
		border-bottom:1px solid #1c307e;
	}
}

#menu ul li a {
	text-decoration:none;
	display:block;
	padding:15px 10px;
	font-size: 14px;
	font-weight: bold;
	color:#1c307e;
	text-transform: uppercase;
	text-align: center;
}
@media (max-width: 991px){
	#menu ul li a{
		width:100%;
		padding:5px;
	}
}

#menu ul li ul {
	position: absolute; top: 86px; left:50%;
	width:220px; margin-left:-110px;
	display: none;
	padding:3px;
}

#menu ul li:hover ul {
	display: block;
}
#menu ul li ul:hover {
	display: block;
}
@media (max-width: 911px){
	#menu ul li ul {
 		position: relative !important;
 		top: 0 !important; 
 		left: 0 !important; 
		width:100%;
		height:100%;
		margin:0;
		padding:3px 1px 0 1px;
	}
}
@media (min-width:768px) and (max-width: 911px){
	#menu ul li ul{
 		left: 0 !important;
	}	
}
@media (min-width: 991px){
	#menu ul li ul{
		background:none;
	}
}

#menu ul li ul li{
	position: relative;
	padding:0;
	border-bottom:1px solid #b4d012;
	background-color: #1c307e;
}
@media (min-width: 991px){
	#menu ul li ul li{
		border-radius:10px;
	}
}

#menu ul li ul li a {
	color:#FFF;
	padding:15px;
}
@media (min-width: 991px){
	#menu ul li ul li a{
		border-radius:15px;
	}
}

@media (max-width: 991px){
	#entete #menu .navbar-toggler{
		position:relative;
		width: auto;
		display:flex;
		justify-content:center;
		align-items:center;
		color:#b4d012;
		padding:10px 25px;
		margin:0;
		outline: none;
		text-decoration: none;
	}
	#entete .navbar-collapse{
		margin: 0 -20px -5px -20px;
	}
}

/* --------------------------------------------------------------- */
/*
/* Page
/*
/* --------------------------------------------------------------- */
#page {
	position:relative; top:0; left:0;
	min-height:350px;
	padding-top: 165px;
}
@media screen and (max-width: 991px){
	#page{
		padding-top: 90px;
	}
}

#bandeau_haut {
	position: relative; top: 0; left: 0;
	width:100%;
	height:370px;
}

#bandeau_haut img {
	width:100%; height:100%;
	object-fit:cover;
}

#texte_bandeau {
	position: absolute; top: 0; left: 0;
	width:100%; height:100%;
	background-color: rgba(0,0,0,0.3);
	z-index:1000;
	color:#FFF;
	display:flex;
	align-items:center;
	justify-content:center;
}

#page h1 {
	font-family:'Roboto';
	font-size: 55px;
	color:#FFF;
	text-transform: uppercase;
	padding-right:60px;
	width:100%;
}
@media (max-width:767px){
	#page h1{
		font-size:37px;
		display:block;
		padding-right:5%;
		padding-left:5%;
	}
}

#page h1 span {
	display: block;
	font-weight: bold;
	font-size: 35px;
	color:#b4d012;
}


#page h2 {
	position: relative; top: 0; left: 0;
	font-weight: 300;
	font-size: 33px;
	padding-left:70px;
	counter-increment: h1;
	margin-bottom:15px;
	padding-bottom:50px;
	display: inline-block;
}
@media (max-width:767px){
	#page h2{
		font-size:23px;
	}
}
#page h2:after {
	content:"0"counter(h1);
	position: absolute; top: 0; left: 0;
	width:45px; height:45px;
	font-size: 27px;
	color:#FFF;
	background-color: #b4d012;
	display:flex;
	justify-content:center;
	align-items:center;	
}
#page h2:before {
	content:"";
	position: absolute; top: 0; left: 21.5px;
	width:2px; height:100%;
	background-color: #b4d012;
}

#page h2.right {
	padding-left:0;
	padding-right:70px;
}
#page h2.right:after {
	left:auto; right:0;
}
#page h2.right:before {
	left:auto; right:21.5px;
}
@media (max-width:767px){
	#page h2.right{
		font-size:23px;
		text-align:left;
		padding-right:55px;
	}
}
#page h2 span {
	font-weight: bold;
	color:#b4d012;
}

#page h3 {
	font-size: 20px;
	color:#1c307e;
	padding-bottom:7px;
	border-bottom:1px dotted #1c307e;
	font-weight: bold;
}


#page .bouton {
	display: inline-block;
	padding:7px 15px;
	border-radius:3px;
	color:#FFF;
	text-decoration: none;
	font-style: italic;
	font-size: 13px;
	margin-top:25px;
	text-transform: none;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#49115d+0,60177b+100 */
	background: rgb(73,17,93); /* Old browsers */
	background: -moz-linear-gradient(left, rgba(73,17,93,1) 0%, rgba(96,23,123,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(73,17,93,1) 0%,rgba(96,23,123,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(73,17,93,1) 0%,rgba(96,23,123,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#49115d', endColorstr='#60177b',GradientType=1 ); /* IE6-9 */
}


/* --------------------------------------------------------------- */
/*
/* Pied
/*
/* --------------------------------------------------------------- */
#pied {
	position:relative; top:0; left:0;
	text-align:center;

}

#footer_haut {
	padding:25px 0;
	background-color: #1c307e;
	color:#FFF;
}

#footer_haut a {
	color:#FFF;
	text-decoration: none;
}

#footer_haut .titre {
	margin:10px 0;
	font-size: 18px;
	font-weight: bold;
}
#footer_haut p {
	line-height: 25px;
}

#footer_haut p i {
	margin-right:7px;
}

#footer_bas {
	padding:15px 0;
	font-size: 13px;
}

#footer_bas a {
	text-decoration: none;
	color:#363636;
}


/* --------------------------------------------------------------- */
/*
/* Général
/*
/* --------------------------------------------------------------- */
a img {
	border:none;	
}

.cache { display:none; position:absolute; width:1px; height:1px; overflow:hidden; }
.print { display:none; }
.noprint { }


/* ------ Formulaire ------ */
#page form {
	margin:0; padding:0;
	text-align: left;	
}

#page form label {
	text-align: left;
	font-weight: normal;
}

#page form b {
	color:#F00;	
}

#page form input[type="text"], #page form input[type="tel"], #page form input[type="email"], #page form select {
	border:1px solid #337ab7;
	border-radius:5px;
	padding:3px;
}
#page form textarea {
	border-radius:5px;	
	border:1px solid #337ab7;
}


/* -- Bouton submit -- */



/* -- Bouton submit avec icone --*/
#page form button {
    position: relative;
    padding: 15px 15px;
    margin-bottom:10px;
    display: inline-block;    
    font-family: 'Roboto';
    font-size: 18px;
    letter-spacing: 2px;
    color: #FFF;
    text-transform: uppercase;
    background: #1c307e;
    border: none;
    border-radius: 10px;    
    text-decoration: none;    
    -webkit-transition: 0.2s;    
    -o-transition: 0.2s;    
    transition: 0.2s;
    cursor: pointer;
    outline: none;
}

#page form button i {
	margin-right:10px;	
}

#page form b {
	position: absolute; top: 0; right: 0px;	
}



#page form .obligatoire {
	float:left;
	display: inline-block;
	margin-top:15px;
}

#page form .obligatoire b {
	position:relative;	
}



/* ------- Zoom DW ------- */
#z_ombre { 
	background-color:#222; 
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity:90); opacity:0.9; 
}
#z_image {
	border:10px solid #fff; 
	visibility:hidden; 
}
#z_titre { 
	height:10px; 
	color:#FFF; 
	background-color:#000;  
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity:70); 
	opacity:0.7; 
}
#z_close { 
	visibility:hidden;
}
