/**
 * JEA Smart template stylesheet by Sylvain Philip (http://www.sphilip.com) 
 * This work is licensed under the 
 * Creative Commons Attribution-NonCommercial 3.0 Unported License. 
 * To view a copy of this license, visit :
 * http://creativecommons.org/licenses/by-nc/3.0/
*/



/*********************** test **********************/
.grid_6 a {
  position: relative;
  display: block;
  width: 300px;
  height: 121px;
  margin: 10px auto;
  background-position: -140px 400px;
}
.grid_6 a::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: -webkit-radial-gradient(0 0,circle farthest-side, rgba(255,255,255,0) 90%,rgba(255,255,255,.8) 98%,rgba(255,255,255,0) 100%) no-repeat;
  background: -moz-radial-gradient(0 0,circle farthest-side, rgba(255,255,255,0) 90%,rgba(255,255,255,.8) 98%,rgba(255,255,255,0) 100%) no-repeat;
  background: radial-gradient(circle farthest-side at 0 0,  rgba(255,255,255,0) 90%,rgba(255,255,255,.8) 98%,rgba(255,255,250,0) 100%) no-repeat;
  background-position: inherit;
  -webkit-mask: url('../../../images/logo-mr-construction-300x121Bleu.png') center;
  mask: url('#mask-firefox');
}

.grid_6 a{
  -webkit-animation: logo 7s infinite;
  animation: logo 7s infinite;
    animation-iteration-count: infinite;
    animation-delay: 0s;
}

a.jea_modal{
	animation:none;
	display: inline-block;
	height: initial;
	width:initial;
}
@-webkit-keyframes logo{
  from{background-position: -3000px 0}
  50%{background-position: 10px 0}
  to{background-position: 400px 0}
}
@keyframes logo{
  from{background-position: -3000px 0}
  50%{background-position: 10px 0}
  to{background-position: 400px 0}
}

/*************************** fin ***********************************/

body#component {
	min-width: 300px;
	padding: 20px;
}

#header{
	padding-top: 20px;
}

#logo, #header-1, #header-2 {
	min-height: 100px;
}

#logo {
	margin-bottom: 10px;
}

#logo a {
	font-size: 30px;
}

#logo a:HOVER {
	text-decoration: none;
}

#logo p {
	font-family: Verdana,sans-serif;
	font-size: 14px;
}

.selectnav {
	display: none;
}

#featured-1 {
	  margin-bottom: 10px;
  margin-top: 70px;
  width: 294px;
  border-right: 1px solid;
}

#featured-2 {
	width: 315px;
	margin-bottom: 10px;
}

#featured-2 .moduletable {
	margin: 10px;
}

#featured-3 {
	margin-bottom: 10px;
	overflow: hidden;
}


#mainnav .container_12 {
  /* position: absolute; */
  margin: 0 auto;
  /* margin-left: 21%; */
  width: 100%;
  background-color: white;
}

#mainnav .container_12_1 {
  /* position: absolute; */
  margin: 0 auto;
  /* margin-left: 21%; */
  width: 100%;
  background-color: white;
}

#extra {
	/*position : absolute;
	right: 0;
	padding: 2px;*/
}

section#main {
	min-height: 500px;
	/*padding-top: 20px;*/
}

#content {
	margin-top:40px;
	margin-bottom: 40px;
}

#content p, 
#content ul, 
#content li{
color:white;
font-weight: 500;
font-family: 'Quicksand', sans-serif;
}

#bottom {
	overflow: hidden;
	padding-top: 10px;
	border-top: 1px solid #ccc;
	display: inline-flex;
}

#footer {
	position: relative;
}

#footer, #footer-nav {
	margin-top: 10px;
	margin-bottom: 10px;
}

#top-scroll {
	position: absolute;
	right: 0;
	bottom: 10px;
	display:none;
}

#top-scroll a {
	display: inline-block;
	padding: 5px 10px;
}

/* -------------------- FORM LAYOUT -------------------- */
form#adminForm legend {
	padding: 3px 5px;
	font-size: 25px;
}

form#adminForm fieldset {
	margin: 10px 0 15px;
	padding: 20px 15px;
	border: 1px solid #ccc;
}

.formelm {
	margin: 5px 0;
}

.formelm label {
	display: inline-block;
	vertical-align: top;
	width: 13em;
}

form#adminForm .formelm-area {
	padding: 5px 0;
}



.formelm-buttons {
	margin-bottom: 10px;
	text-align: right;
}

.tip {
	font-size: 0.8em;
	max-width: 400px;
	padding: 3px;
	text-align: left;
	background: #fff298;
	border: 1px solid #606060;
}

.tip-title {
	font-weight: bold;
}
.toggle-editor {
	margin: 5px 0;
}

#editor-xtd-buttons {
	overflow: hidden;
	line-height: 2.5em;
	margin: 5px 0;
}

#editor-xtd-buttons > div {
	float: left;
	margin-right: 5px;
}

/* -------------------- BLOG LAYOUT -------------------- */
.blog-featured h2 {
	font-size: 19px;
	margin: 0;
}

.cols-1 {
	display: block;
	float: none !important;
	margin: 0 !important;
}

.cols-2 .column-1 {
	/*width: 46%;
	float: left;*/
}

.cols-2 .column-2 {
	*width: 46%;
	*float: right;
	margin: 0
}

.cols-3 .column-1 {
	float: left;
	width: 29%;
	padding: 0px 5px;
	margin-right: 4%
}

.cols-3 .column-2 {
	float: left;
	width: 29%;
	margin-left: 0;
	padding: 0px 5px
}

.cols-3 .column-3 {
	float: right;
	width: 29%;
	padding: 0px 5px
}

.items-row {
	overflow: hidden;
	margin-bottom: 10px !important;
}

.column-1,.column-2,.column-3 {
	padding: 10px 5px
}

.column-2 {
	width: 55%;
	margin-left: 40%;
}

.column-3 {
	width: 30%
}

.blog-more {
	padding: 10px 5px
}

/*** ARTICLE Layout***/
ul.actions,ul.actions li {
	list-style: none;
	text-align: right;
	margin: 0;
}

ul.actions li {
	display: inline-block;
}

ul.pagenav,ul.pagenav li {
	list-style: none;
	margin: 0;
	text-align: center;
}

ul.pagenav li {
	display: inline-block;
	margin: 0 15px;
}

.img-intro-left,.img-fulltext-left {
	float: left;
	margin: 0 10px 10px 0;
}

.img-intro-right,.img-fulltext-right {
	float: right;
	margin: 0 0 10px 10px;
}



/* -------------------- MAX-WIDTH 640px --------------------*/

@media screen and (max-width: 640px) {
header {
	background-image: none !important;
}

#right,
#left,
#top-template-selector {
	display: none;
}

#featured-2 {
	width: auto;
}

#main,
#footer {
	padding-left: 10px;
	padding-right: 10px;
}
#logo {
	margin-bottom: 0;
	float: left;
}

.grid_6 a{
	animation:none;
	-webkit-animation:none;
}

#logo img {
	width: 100%;
}

.custom{
	width:89%;
}
.clearfix, .container_12_1{
	width:110% !important;
}

.moduletablerechercheAccueil .jea-search-form select{
	width:100% !important;
}

.container_12_1 .grid_6{
	margin-left: 10px !important;
}

.informationsmr{
	margin: 0 10px !important;
}

.icones{
	display:none;
}

.infos{
	border-left: none !important;
}

#mainnav{
	width:100% !important;
}

.texteAccueil{
	width:89% !important;
}

 .container_12_1{
	width:100% !important;
 }
 
#bottom{
	display:inline !important;
}

.container_12_1 .grid_6{
	width:100% !important;
}

.sp-full-text{
	white-space:normal !important;
	width: 76% !important;
    font-size: 19px !important;
}

#content img{
	width:100%;
	height: auto;
}

.imageEquipe{
	width:150px !important;
	height:150px !important;
	float:left !important;
}

.Intgauche, .Intdroite{
	float:left !important;
	width: 256px !important;
	border-left: 4px #376cba solid !important;
	border-right:none !important;
}

.Ensgauche, .Ensdroite{
	margin-left:20px;
}

.gauche, .droite{
	margin:6px !important;
	width: 83% !important;
}

article.jea_item a.image img{
	margin-top:20px;
}

.part1{
	width:100% !important;
}

#jea-search-form select{
	width:95% !important;
}

.button, .button2-left a{
	margin: 3px 0px 0 0;
    position: relative;
    margin-right: 131px !important;
	padding-left: 15px !important;
    padding-right: 15px !important;
}

#right, #left, #top-template-selector{
	display:block !important;
}
#contact{
	width:42% !important;
}

iframe{
	width:100%;
}

.form-horizontal .control-group{
	width:80%;
}

.imgdroite{
	float:left !important;
}


footer{
	width:100% !important;
}

.ContenuFooter{
	width: 100% !important;
    margin-left: 10px !important;
}

#footer{
	width:100% !important;
}

#footer-nav{
	margin-left:10px !important;
}

#logo, #header-1, #header-2 {
	min-height: 0;
}

#header-1, #header-2 {
	float: right;
	font-size: 11px;
}

#mainnav ul.menu {
	display: none
}

#top-scroll {
	right: 10px;
}

.slideshow_outer, .slider_outer {
	display: none;
}

.selectnav { display: block; }

article.jea_item {
  padding-top: 55px;
  position: relative;
}

article.jea_item h2.title {
  position: absolute;
  top: 10px ;
  left:0;
}

article.jea_item:FIRST-CHILD {
	padding-top: 55px;
}

article.jea_item span.slogan {
  float: none;
  display: inline;
}

#jea-preview-img {
	border: none !important;
	width: 100%;
}

.jea_dpe img {
	width: 250px;
}


/** Forms **/
.formelm label {
	display: block;
}

form#adminForm legend {
	font-size: 15px;
}

form#adminForm fieldset {
	padding: 20px 5px;
}

ul#amenities li {
	float: none;
	margin: 0 0 10px 0 !important;
	width: auto;
}

ul#amenities li label {
	font-size: 12px !important;
}

input[type="file"],
input#jform_title,
textarea#jform_description,
textarea#jform_notes,
input#jform_address {
	width: 250px;
}

#adminForm .gallery input[type="text"] {
	width: 210px;
}

} /* End @media screen and (max-width: 640px) */
