.elementcontainer
{
	/*width:90%;*/
	width:100%;
	max-width:700px;
	box-sizing: border-box;
}

.elementcontainer.error {border-color:#FF0000;}

.element { margin-bottom:25px; }
.element p {margin-bottom:5px;margin-top:5px;height:75px;overflow: hidden;}
.element .img-container {width:100%;height:150px;overflow:hidden;position:relative;}
.element .img-container img {position:absolute;}
.element .radios { margin-top:10px; margin-bottom:10px;}




a.close {margin-right:10px;}

.elementcontainer h3 {display:inline-block; margin:0; margin-bottom:5px; font-size:14px;text-transform:uppercase;}
.elementcontainer h4,h5 {margin-top:0px; margin-bottom:5px;display:block;margin-left:0px;}

.elementcontainer .field {margin-bottom:3px; margin-top:3px;}
.elementcontainer .field label { margin-bottom:2px; }
.elementcontainer .field input[type=text] {margin-bottom:10px; width:100%;box-sizing:border-box;}
.elementcontainer .field select {margin-bottom:10px;}



/**.elementcontainer .elementoptions { position:absolute; bottom:0px; left:0px; margin-left:10px; margin-bottom:10px; margin-top:20px;}**/
.elementcontainer .elementoptions { margin-top:5px; bottom:0;height:20px;}

.elementcontainer .elementoptions.right {left:auto;right:0px;margin-right:10px;}
.elementcontainer .elementoptions.right {left:auto;right:0px;margin-right:10px;}
.elementcontainer .elementoptions a { display:inline-block; margin-right:5px;}

.partenaires .elementcontainer {height:200px; padding-bottom:25px;}
.partenaires .elementoptions {position:absolute;bottom:3px;}

.cineastes .elementcontainer {height:220px;width:150px;float:left;margin-right:10px;margin-bottom:10px;padding-bottom:25px;}
.cineastes .elementoptions {position:absolute;bottom:3px;}

.elementcontainer.blocs {min-height:100px;padding-bottom:30px;}

.blocs .elementcontainer {height:100%; width:200px;float:left; margin-right:10px; margin-bottom:10px;}


/** IMAGE DE BLOC **/
.elementcontainer .img-container
{
	width:100%;
	height:130px;
	overflow:hidden;
}

.elementcontainer img { width: 100%; height: auto;}


.element.event { min-height:300px; overflow: hidden;}


/******************************************/
/** PAGE D'ACCUEIL SLIDER
/******************************************/


.add_slider .elementcontainer {background-color:#f7f7f7;}
.add_slider .elementcontainer h3 {text-transform:uppercase;}
.add_slider .element.img {margin-bottom:10px;}
.add_slider .elementoptions { position:relative; margin-bottom:0; margin-top:15px;}
.add_slider .elementoptions a {color:#999999;}


/******************************************/
/** PAGE D'ACCUEIL MAGAZINE
/******************************************/

/** **/
.magazine .elementcontainer {height:300px; width:200px;float:left; margin-right:10px; margin-bottom:10px;}
.magazine .article select {display:none;} /** on affiche page la taille du bloc **/
.magazine .article .element p.article-title {line-height:100%;max-height:30px;overflow:hidden;}
.magazine .article .elementoptions {position:absolute;bottom:10px;left:10px;}


/******************************************/
/** PAGE D'ACCUEIL PARTENAIRES
/******************************************/

.partenaires .elementcontainer {height:250px;}
.partenaires .element p {height:40px;line-height:100%;overflow: hidden;}

/******************************************/
/** PAGE D'ACCUEIL AGENDA
/******************************************/

.agenda .elementcontainer {height:300px; width:200px;float:left; margin-right:10px; margin-bottom:10px;}
.agenda .elementcontainer p.titre {max-height:30px;overflow:hidden;line-height:100%;}
.agenda .elementcontainer .elementoptions {position:absolute;bottom:10px;left:10px;}
.agenda .event select {display:none;} /** on affiche page la taille du bloc **/


/******************************************/
/** EDITION DE PAGE **/
/******************************************/

/** IMAGE **/
.image img, .download img {max-width:300px;display:block;}
.texte .trumbowyg-box, .texte .trumbowyg-editor {max-width:700px;}
.embed textarea {max-width:700px;}
.download input[type='text'] {width:100%;max-width:700px;}
.download img { max-width:300px; margin-bottom:10px;}
.video { max-width:300px; }

/** VIDEO **/
.videoWrapper
{
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.videoWrapper iframe, .videoWrapper img
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.elementoptions a {display:inline-block;}




