@import url('https://fonts.googleapis.com/css?family=Open+Sans:100,300,400|Work+Sans:300,400,700');

 @import url('https://fonts.googleapis.com/css?family=Caveat');

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
a{
    color:#506d55;
    text-decoration: none;
    border-bottom:dotted 1px;
} 
a:hover{
    color:#659b65;
    border-bottom:solid 1px;
}
#content a{
    color:#9c0707;
    border-bottom:none;
}
#content a:hover{
    color:#c5371f;
    border-bottom:dotted 1px;
}
body{
    font-size:1em;
    color:#555;
    line-height: 1em;
    background: #FEFEFE;    
    font-family: 'Work Sans', sans-serif;
    font-weight:400;
    padding-top:50px;
}
strong,b{
    font-weight:700;
}
.italic{
    font-style:italic
}
.center{
    text-align:center;
}
.pleft{    
    padding-left: 44%;
    text-align: left;
}
.texte{
    max-width:1200px;
    margin: 15px auto;
    overflow: hidden;
}
.auto{
    margin: auto;
    max-width:800px;
}
#content ul{
    padding:10px 0 20px 0px;
    list-style-type: none;
}
#content ul li{
    padding:5px 0;
}
#content ul li::before{
    content:'\25BA';
    color:#9c0707;
    font-size: 8px;
    position: relative;
    top: -2px;
    margin-right: 5px;
}
#content ul ul{
    padding-left: 25px;
}
ul.enligne li{
    display: inline;
    padding: 0 5px;
}
h1{
	font-size:1.75em;
    line-height: 1em;
    font-weight:400;
    padding:10px 0;
    text-align:center;
    color:#5A6684;
}
h2{
	font-size:1.25em;
    line-height: 1em;
    font-weight:300;
    padding:0 0 5px;
    text-align:center;
	color:#506d55;
}

h2.cyan{
	color:#CFF9E2
}
h2.marron{
	color:#6D5C51
}
h2.vertfonce{
	color:#506d55
}

h2.vert{
	color:#659b65
}


h2.rose{
	color:#C7247F;
}
h2.bleu{
	color:#5A6684
}

 
 

#menu{
    position:fixed;
    z-index:999;
    top:0;
    left:0;
    right:0;
    height:50px;
    border-bottom:solid 1px #6D5C51;
    text-align: center;
    background:white;
}
    #menu a{
    	border-bottom:none;
    }
    #menu.table .colonne {
        vertical-align: bottom;
        text-align: center;
    }
#menu.table #logo.colonne {
    vertical-align: middle;
    text-align: left;
}
#menu.table #logo.colonne {
    background: url('./images/logoEC.jpg') no-repeat 0 center;
    background-size:auto 60%;
    padding-left: 50px;
}

#logo a span{
    font-size: 0.8em;
    display: block;
}
#logo a p{
    font-size: 0.6em;
    display: block;
}
#menu.table #logo.colonne,#telephone{
    max-width:25%;
    width:255px;
}
#menu.table #telephone.colonne {
    vertical-align: top;
    padding-top: 10px;
}
#telephone div{
    color:#214c81;
    font-size: 0.8em;
}
#telephone p strong{
    color:#AAAAAA;
    font-size:0.75em;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    padding:3px 0 5px;
    display: block;
}

#telephone .picto{
    background: url(./images/picto-telephone.png) no-repeat 0 0;
    background-size: cover;
    display:inline-block;
    width:25px;
    height: 25px;
    margin-right: 10px;
    position: relative;
    top:3px;
    
}

#facebook{
    position: absolute;
    top:35px;
    right: 18px;
    color:#5A6684;
    display:block;
    width: 140px;
    text-align: left;
    font-size: 12px;
    line-height: 1em;

}

#facebook .picto{
    background: url(./images/lien-facebook.png) no-repeat 0 0;
    background-size: cover;
    display:block;
    float:left;
    width:25px;
    height: 25px;
    margin-right: 10px;
}
#colonneMenu > ul{
    font-size:0.75em;
    float: right;
}
#colonneMenu > ul li{
    position: relative;
    float: left;
    list-style-type: none;
    padding:5px 10px;
    border-bottom: solid 2px white;
}
#colonneMenu > ul li.active{
    border-bottom: solid;
}

#colonneMenu > ul li > ul{
    display: none;
}

#colonneMenu > ul li:hover > ul{
    display: block;
    position: absolute;
    z-index: 99;
    left:0;
    background: white;
}
#colonneMenu > ul li > ul li{
    padding:10px;
    display: block;
    white-space: nowrap;
    border-top: solid 1px #CECECE;
}
.center{
    text-align: center;
}
.table{
    display:table;
    table-layout: fixed;
    width:100%;
    /*max-width:1680px;*/
    margin: auto;
    padding:0 20px;
}
.tableAuto{
    display:table;
    /*max-width:1680px;*/
    margin:20px auto;
}
.table > .colonne,.tableAuto > .colonne{
    display:table-cell;
    vertical-align: top;
}
.table > h2,.tableAuto > h2{
    text-align:center;
}

#footer{
    background:#313233;
    color:#cccccc;
    font-size:0.75em;
    /*margin-top:10px;*/
    clear:both;
}
    #footer a{
    	border-bottom:none;
    }
#footer h2{
    color:#777777;
    font-weight: 300;
    padding-bottom: 15px;
}

#footer .bgclair{
    color:#313233;
    background:#f5f5f5;
    padding: 10px 0;
}
#footer .gris{
    color:#e8e8e8;
    background:#595959;
}
#footer .table{
    padding: 30px;
}
#footer .gris h2{
    color:#e8e8e8;
    font-weight: 400;
}
#footer #partenaires .table{
    table-layout:initial;
}
#footer #partenaires a img{
    width: 50%;
}
#footer #partenaires a{
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}
#footer #partenaires a:hover{
    opacity:0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
    border-bottom:solid 1px #f5f5f5;
}
#footer #partenaires li{
    text-align: center;
}
#footer strong{
    font-weight: 400;
}
#localiser{
    width:90%;
    height:150px;
    display: block;
    text-indent: -999px;
    overflow: hidden;
    background: url('./images/map.jpg') no-repeat center right;
    margin: auto;
}

#content ul.video{
    max-width: 100%;
    width: 1250px;
    overflow: auto;
    margin: auto;
}
#content ul.video li{
    width:33%;
    display: inline-block;
    vertical-align:top;
    padding: 10px;
}
#content ul.video li#liContact a{
    background-color: #e4ecff;
    display: table-cell;
    vertical-align: middle;
    padding: 0 16%;
    transition: background-color 1.5s ease;
}
#content ul.video li#liContact a:hover{
  background-color: #b3c4ed;
}
@media screen and (max-width:1250px){
    #content ul.video{
        width:850px;
    }
    #content ul.video li{
        width: 420px;
    }
}
#content ul.video li::before{
    display: none;
}
#content ul.video li a{
    display: block;
    width:100%;
    height: 400px;
}
#content ul.video li a:hover{
    border: none;
}
#content ul.video li div.video{
    background-size:cover;
    width:100%;
    height: 300px;
    padding: 0;
}
#content ul.video li div.video video{
    display: none;
}
#content ul.video li div.video:hover video{
    display: block;
}
#content ul.video li h3{
    padding-top: 5px;
}
#content ul.video li p{
    color:black;
}
@media screen and (max-width:700px){
    #content ul.video{
        width:100%;
    }
    #content ul.video li{
        width:100%;
    }
    #content ul.video li div.video{
        height:66vw;
        min-height: 150px;
        margin-bottom: 20px;
    }
    #content ul.video li div.video video{
        height:66vw !important;
        height: 170px;
    }
    
    #content ul.video li a{
        height: inherit;
    }
}


#content{
    width:100%;
    /*max-width:1680px;*/
    margin: auto;
    color:#313233;
    background:#f5f5f5;
    font-size:0.8em;
}
#content div{
    /**/
    line-height:1.7em;
    padding:10px 0;
}
#content .article{
	padding:30px 20px 40px;
}
#content div.texte img{
    max-width:100%;
}
#content div.texte img.fleft{
    float: left;
    margin: 5px 15px 5px 0;
}
#content div.texte img.fright{
    float: right;
    margin: 5px 0 5px 15px;
}
#content div.texte img.pleft{
    padding-left: 20%;
}


#content div.texte .col3{
    width:33%;
    padding:0 5px;
    display: inline-block;
    vertical-align: top;
}
#content div.texte .img{
    overflow: hidden;
}
#content div.texte .img img{
    float: left;
}
#content div.texte .img span{
    font-style: italic; 
    text-align: center;
    display: block;
    clear: both;
}

#content div.texte blockquote{
    font-style: italic; 
    line-height: 2em;
    padding:0 15px;
    margin:30px 0 ;
    color:#888;
    border-left:solid 3px;
    overflow: hidden;
}





.bandeau{
    width:100%;
    height:230px;
}

.bandeau ul,.bandeau ul li{
    width:100%;
    height:100%;
}
.bandeau ul li:first-child{
    background:url('./images/bandeau.jpg') no-repeat;
    background-size:cover;
    text-indent: -999px;
    overflow: hidden;
}

.imagePuisTexte{
	padding:0 10px;
}

.imagePuisTexte img{
	width:100%;
	padding:0 0 10px 0;
}
.texteSurImage a,.imagePuisTexte a{
    color:#313233;
    border:none;
}

.texteSurImage{
	padding:10px;
	position:relative;
	height:25vw;
}



.texteSurImage img{
	position:absolute;
	width:100%;
	height:100%;
	padding:10px;
}

.texteSurImage h2{
	position:absolute;
	top:20px;
    text-shadow:1px 1px 4px black;
	left:10px;
	right:10px;
	height:auto;
	text-align:center;
	font-size:1.5em;
}
#content .texteSurImage p{
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	height:auto;
	padding:10px 50px;
}




/* POUR FORM CONTACT */

#txtPerso{
	font-size:1.5em;   
	width: 500px;
    max-width: 100%;
    margin: auto;
    padding-right: 100px;
	padding-bottom:15px;
        line-height:1em;
    font-family: 'Caveat', cursive;
	overflow:hidden;
}

#txtPerso span{
    float:right;
}

.alterneBg{
    max-width:1680px;
    margin:auto;
}    
.alterneBg .texte.bgwhite{
	width: 98%;
	margin:5px 1%;
	float: left;
}
.alterneBg .texte.bgwhite.col3{
	width: 31%;/*(31 + 2) * 3 = 33*3*/
	margin:5px 1%;
}
.alterneBg .texte.bgwhite.col3Compl{
	width: 63%;
	margin:5px 1%;
}


form,form table{
    width:500px;
    max-width:100%;
    margin: auto;
}
@media screen and (max-width:500px){
	
		
	form{
		max-width:100%;
		width:100%;
	}
	form table{
		max-width:100%;
		width:100%;
	}


}
#submit{
	cursor:pointer;
    margin:15px auto;
	display:block;
	background:#F4A426;
	border:none;
	color:white;
	padding:10px 60px;
	font-size:1.2em;
    font-family: 'Lato', sans-serif;
}
#submit.ok{
	background:green;
	cursor:inherit;
}
#submit.ok:before{
	content:'\2713';
}
.demander{
	cursor:pointer;
    margin:15px auto;
	display:block;
	text-align:center;
	background:#b11880;
	border:none;
	color:white;
	padding:10px 60px;
	font-size:1.2em;
    font-family: 'Lato', sans-serif;
}
form div{
    overflow: hidden;
    padding: 0 0 10px 0;
}
form input[type="text"],form textarea{
    width:100%;
    background: white;
    border:solid 1px #CECECE;
    padding:10px 15px;
    display:block;
    margin:5px 0;
}
form label{
    display:block;
    width:100%;
    padding-top:10px;
}
form textarea{
    height:200px;
}
.cadre{
	padding:5px 15px;
    border:solid 1px #CECECE;
}
#erreurMail.active{
	border:solid 1px red;
	padding:15px;
	font-weight:700;
	text-align:center;
}

ul.images{
    box-sizing: border-box;
}
ul.images li{
    display:inline-block;
    width:20vw;
    margin:0 10px 10px 10px;
    text-align: center;
    vertical-align:top;
}
ul.images li div{
    width:100%;
}
ul.images li img{
    max-height: 550px;
    width: auto;
    max-width: 100%;
}

#content ul.conference{
    list-style-type: none;
    width:1200px;
    max-width: 100%;
    margin: auto;
}
#content ul.conference li{
    height: 400px;
    background-size:auto 380px;
    background-repeat:no-repeat;
    padding-left:50%;
    margin-bottom: 20px;
    padding-bottom:20px;
    border-bottom: solid 1px #CECECE;
}
#content ul.conference li:nth-child(even){
    background-position:right;
    padding-right:50%;
    padding-left:0px;
}


@media screen and (max-width:1450px){
    #menu.table #logo.colonne{
        width:170px;
    }
    #logo a p{
        line-height: 1em;
    }
    #telephone{
        width:95px;
    }
}/*
@media screen and (max-width:1280px){
    #menu.table #logo.colonne{
        width:130px;
    }
    #telephone{
        display: none;
    }
}*/
@media screen and (max-width:1100px){
    #content div.texte .col3{
        width: 32%;
        padding: 0 2px;
    }
    .ifBig{
        display: none;
    }
    #menu.table #logo.colonne, #telephone {
        max-width:47%;
        width:inherit;display: block;
        float: left;
    }
    #telephone p{
        display: inherit;
    }
    #colonneMenu{
        display: block;
        width: 100%;
    }
}
@media screen and (max-width:920px){
    #content div.texte .col3{
        width: 100%;
        padding: 0;
    }
    #menu.table{
        padding:0;
    }
    #telephone{
        /*white-space: nowrap;*/
    }
    #footer .colonne{
        display: block;
        padding: 20px 0;
        text-align: center;
    }
    .alterneBg{
        display: table;
        max-width:95%;
        width:95%;
    }
    #txtPerso{
        max-width:95%;
        width:95%;
        padding: 0;
    }
    .alterneBg .texte.bgwhite.col3Compl{
        display:table-header-group;
    }
    .alterneBg .texte.bgwhite.col3Compl,.alterneBg .texte.bgwhite.col3{
        width: 100%;
        float:none;
        margin: auto;
        
    }
}
#menuResponsive{
	display:none;
}
@media screen and (max-width:700px){
        .ifBig{
            display: inherit;
        }

        #colonneMenu > ul li:hover > ul{
            display: none;
        }
	#menuResponsive{
		display:block;
		position:fixed;
		z-index:999;
		right:0px;
		top:0px;
		cursor:pointer;
		width: 33px;
		height: 58px;
		padding: 5px;

	}
	#menuResponsive::after,	#menuResponsive::before{
		position:absolute;
		content:'';
		display:block;
		height:5px;
		right:4px;
		width:59%;
		border-top:solid 2px black;
		border-bottom:solid 2px black;
		
	}
	#menuResponsive::before{
		top:21px;
	}
	#menuResponsive::after{
		border-top:none;
		top:30px;
	}
	#colonneMenu ul{
		display: none;
		background: white;
		left: 0;
		width:90%;
		padding:10px;
		box-shadow: 0px 2px 3px -1px #656565;
		z-index:1;
		top:0;
	}
	#colonneMenu ul li{
		display:block;
                float:none;
	}
	#colonneMenu ul li a{
		display:block;
		padding:2px;
		height:auto;
	}
	#colonneMenu ul li a.iconAccueil,
	#colonneMenu ul li.contact a{
		padding-bottom:18px;
	}
	#colonneMenu ul li a.iconAccueil span,
	#colonneMenu ul li.contact a span{
		width:100%;
		text-indent:35px;
		background-size:30px 100%;
	}
	#colonneMenu ul li.active a{
		background:maroon;
		color:white;
	}

	#colonneMenu{
            display: none;
            overflow: auto;
		position:fixed;
		left:0;
		right:0;
		background:rgba(255,255,255,0.8);
		/*height:60px;*/
                bottom:0;
                top:0;
	}
	#colonneMenu.vue{
            display: block;
        }
    img{
        max-width: 100%;
    }
    body{
        padding-top:50px;
    }
    #menu.table{
        display:block;
        height:50px;
    }
    #logo a{
        background-size: auto 100%;
        width: 107px;
        height: 65px;
    }
    #telephone{
        /*font-size:10px;*/
    }
    #telephone p strong{
        padding: 5px;
    }
    #ssmenu{
        position: absolute;
        bottom:15px;
        right:0;
        left:0;
    }
    #ssmenu #facebook{
        display: none;
    }
}

@media screen and (max-width:400px){
    #menu.table #logo.colonne{
        padding-left: 20px;
        margin-top: 17px;
        margin-left: 5px;
    }
    #logo a p{
        display: none;
    }
}