/* cmsms stylesheet: templateB modified: 26/02/2017 08:38:44 */




* {
   margin:0;
   padding:0;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 1.2em; line-height: 100%; }
body, button, input, select, textarea, nav li a { font-family: 'Palanquin', sans-serif; color: #4d4c4c; font-weight:300 }


/* Liens */
a { 
   color:#a3875b; 
   text-decoration: none;
   transition-delay: 0s;
   transition-duration: 0.8s;
   transition-property: all;
   transition-timing-function: ease;
}

a:hover { color:#353535; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }



/* Couleurs */

.vert { color:#a3875b }
.fdvert { background-color:#a3875b }
.gris { color:#353535 }
.fdgris { background-color:#353535 }



/* Typos */
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 0px; border: 0;  margin: 0; padding: 0.5em 0; clear: both }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }



/* Listes */
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
li { margin: 0 0 0.5em 0 }

figure { margin: 0; }



/* Formulaires */
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { padding-bottom:0.3em }

legend { border: 0; *margin-left: -7px; padding: 0; }

button, input, select, textarea { font-size: 100%; margin: 0; padding: 0.5em; vertical-align: baseline; *vertical-align: middle; -webkit-appearance: none; -moz-appearance: none; appearance: none; }

button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; border-radius: 0 }

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; height:1.6em }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /* Remove inner padding and border in FF3/4: h5bp.com/l */

textarea { overflow: auto; vertical-align: top; resize: vertical; }


/* Tables */
table { border-collapse: collapse; border-spacing: 0; }
td input { margin-bottom:0 }


img {
   /*border-radius: 0.5em;*/
   width: 100%;
   height: auto
}

.cercle {
   border-radius: 50%;
}


body {
   background: #fff;
   color: #353535;
   overflow:hidden
}

div#container {
   position:relative;
   width: 100%;
   margin: 0 auto;
   background-color: transparent;
}

.table { position:relative; display: table; margin: 0 auto }
.table { vertical-align: middle }


/* Header */

header {
   position: fixed;
   width: 100%;
   height: 12em;
   margin: 0 auto;
   padding: 0;
   z-index:5000;
   background-color:#fff
}

#slogan { position: absolute; right:0; top: 50%; display: table; height:50% }
#slogan div { display: table-cell; vertical-align: top; font-size: 1em; text-align: right }

#logo {
   position: relative;
   margin:2em;
   text-align:center
}

#logo img {
   width: 30%;
   height: auto;
   max-width: 600px;
}

#menu { position:absolute; width:100%; bottom:0; z-index: 1020 }

#menu_lang {
   float: right;
   margin: -4em 1em 0 0;
}

#menu_lang li {
   list-style-type: none;
   float: left;
   margin: 0 20px 0 0;
}

#menu_lang li a.active {
   font-weight: bold;
}

#main { 
   margin: 12em 0 0em 0; 
   padding: 0;
   width: 100%;
   z-index: 4500
}

#imgTitre { position:relative; width:100%; z-index: 4000; margin-top:12em; display:table }
#imgTitre img { position:relative; display:block }

#bas {
   width: 100%;
   height: auto;
   margin: 0;
   padding: 1em;
   font-size: 0.8em;
}

.contBas {
   color: #fff;
   width: 100%;
   margin: 0 auto;
   padding: 1em 0
}

.contBas a:hover {
   color: #fff
}

/* Footer */

footer {
   position:relative;
   width: 100%;
   height: auto;
   margin: 0 auto;
   padding: 4em 0;
   background-color: #353535;
   text-align: center
}

footer a { color:#fff }
footer a:hover { color:#000 }

#haut { display:block; margin:0 auto; font-size: 2em; padding:1em }
a#haut { color: #fff }
a#haut:hover { color: #777 }




/* Grille */

.droite { float: right }
.gauche, .actuAcc .NewsSummary { float: left  }

.demi { flex-basis: 50%;  width: 50%; max-width: 50% }
.quart { flex-basis: 25%;  width: 25%; max-width: 25% }
.tiers { flex-basis: 30%;  width: 30%; max-width: 30% }
.deuxtiers { flex-basis: 66.66%;  width: 66.66%; max-width: 66.66% }
.huitieme {flex-basis: 12.5%;  width: 12.5%; max-width: 12.5% }

.flex25 { flex-basis: 25%;  width: 25%; max-width: 25% }
.flex33 { flex-basis: 33.33%;  width: 33.33%; max-width: 33.33% }
.flex50 { flex-basis: 50%;  width: 50%; max-width: 50% }
.flex66 { flex-basis: 66%;  width: 66%; max-width: 66% }
.flex100 { flex-basis: 100%;  width: 100%; max-width: 100% }

.col { position: relative; padding: 0; flex-grow: 1; flex-shrink: 1; flex-wrap: nowrap; }

.contBas .col { padding:0 }
.ligne { display: flex; flex-wrap: wrap; flex-flow: row wrap; justify-content:space-between }
.pleine { width:100% }
section, .actuAcc .NewsSummary { width: 100% }

.centre { margin:0 auto; max-width: 1200px; width: 100%; position:relative }
.milieu, .bouton.milieu { display: block; margin:0 auto; text-align:center; left:0; right:0 }
.bas { position:absolute; bottom:0; }
.centree { margin:0 auto }
.court { width:auto }

.margeD { padding-right: 1em }
.margeG { padding-left: 1em }
.margeH { padding-top: 1em }
.margeB { padding-bottom: 1em }
.marge { padding: 1em }
.marge0 { padding:0; margin:0}

/* iframe */

iframe { width: 100% }


/* Formulaire */

.cms_form legend, .formulaire legend { display: none }
.cms_form input, .cms_form textarea, .formulaire input, .formulaire textarea { border:0; background-color: #eee; margin-bottom:1em }
.cms_form label, .cms_form input, .formulaire label, .formulaire input { float: left }
.cms_form div, .formulaire div { clear: both }
.cms_form label, .cms_form textarea, .cms_form input, .formulaire label, .formulaire textarea, .formulaire input { width: 100% }
.cms_form .cms_submit, .formulaire .cms_submit { float:none; margin:0; background-color:transparent; color:#fff }
.error { color: red }

/* Boutons */

.bouton, .formulaire .bouton, .cms_form .bouton { 
   display: inline-block;
   padding:0.5em; 
   background-color:#a3875b;
   color: #fff;
   transition-delay: 0s;
   transition-duration: 0.8s;
   transition-property: all;
   transition-timing-function: ease;
}

.bouton:hover {
   background-color:#353535;
}

.bouton:hover * {
   color: #fff;
}

.bouton a { color: #fff }

.large { display:block; width:100% }

.hovereffect img.zoom_ic { display:inline; width: 3em; height: 3em }

.cont2 .bouton { margin-top:1em }


/* Effets images */


/* rollover zoom */

.fx-zoom {
   display:block;
   overflow: hidden;
   max-height:250px;
}

.fx-zoom img {
   transition-delay: 0s;
   transition-duration: 1s;
   transition-property: all;
   transition-timing-function: ease;
   overflow: hidden;
}

.fx-zoom img:hover {
  width: 110%;
  height: 110%;
}

/* rollover - zoom, fondu et symbole + */

.hovereffect {
width:100%;
height:auto;
float:left;
overflow:hidden;
position:relative;
text-align:center;
cursor:default;
}

.hovereffect .cont {
   display:table;
   vertical-align:middle;
   height:100%;
   width: 100%;
}

.hovereffect .cont2 {
   display:table-cell;
   vertical-align:middle;
   height:100%;
   width: 100%;
}

.hovereffect .overlay {
   width:100%;
   height:100%;
   position:absolute;
   overflow:hidden;
   top:0;
   left:0;
   opacity:0;
   background-color:rgba(0,0,0,0.5);
   -webkit-transition:all .4s ease-in-out;
   transition:all .4s ease-in-out
}

.hovereffect img {
   display:block;
   position:relative;
   -webkit-transition:all .4s linear;
   transition:all .4s linear;
}

.hovereffect p {
   color:#fff;
   text-align:center;
   position:relative;
   font-size:1.2em;
   padding:0;
}

.hovereffect a.info {
   text-decoration:none;
   display:table;
   width:100%;
   height:100%;
   color:#fff;
   background-color:transparent;
   opacity:0;
   filter:alpha(opacity=0);
   -webkit-transition:all .2s ease-in-out;
   transition:all .2s ease-in-out;
   margin:0;
   padding:0;
}

.hovereffect a.info span {
   display:table-cell;
   vertical-align:middle;
   text-align: center;
   font-size:2em;
   }

.hovereffect a.info:hover {
   /*box-shadow:0 0 5px #fff;*/
}

.hovereffect:hover img {
-ms-transform:scale(1.2);
-webkit-transform:scale(1.2);
transform:scale(1.2);
}

.hovereffect:hover .overlay {
opacity:1;
filter:alpha(opacity=100);
}

.hovereffect:hover p,.hovereffect:hover a.info {
opacity:1;
filter:alpha(opacity=100);
-ms-transform:translatey(0);
-webkit-transform:translatey(0);
transform:translatey(0);
}

.hovereffect:hover a.info {
-webkit-transition-delay:.2s;
transition-delay:.2s;
}

.hovereffect::after {
  content: " "; 
  display: table; 
  clear:both
}


/* Petites Actus */

#petites_actus { 
   margin: 0 auto; 
   padding: 1em 1em 6em 1em; 
   width: 100%; 
   background-size: auto 100%;
}

#petites_actus h3 {
   font-size:1.3em;
}

.actuAcc {
   margin: 0 0 2em 0;
}

.actuAcc h2 { padding-top: 0 }

#petites_actus .col { padding-bottom:3em } 


/*** Reseaux ***/

#reseaux { position: relative; display:inline; text-align:center }
#reseaux div { display: table-cell; vertical-align: bottom }
#reseaux div a { font-size: 2em; padding:0.2em }

/* Articles */

article { padding-bottom: 3em }


/* Slider */

#slider { 
   position: relative;
   height:700px;
   width: 100%;
   margin: 0;
   overflow: hidden;
   background-color:#a3875b;
   z-index: 900
}

.cycle-slideshow { width: 100%; height:100%; overflow: hidden; margin: 0 auto }

.NewsSummaryMorelink { font-weight: bold }

#slider .sommaire {
   position: relative;
   width: 100%;
   height:100%;
   float: left;
   min-height:100%;
   background-size:cover;
   background-position:center
}

#slider .sommaire img {
   margin-left: 1em
}

#slider .sommaire .table {
   position: relative;
   width: 100%;
   max-width: 1200px;
   height:100%;
   margin: 0 auto;
}

.table .cell {
   display: table-cell;
   vertical-align:middle;
}

#slider .table .cell {
   opacity:0;
}

#slider .table .cell div div {
   display: inline-block;
   width: auto;
   padding:1em;
   background-color:rgba(255,255,255,0.85)
}

.fadeIn1s {
   -webkit-animation:fadeIn1s 1s;
   -moz-animation:fadeIn1s 1s;
   -o-animation:fadeIn1s 1s;
   animation:fadeIn1s 1s;
   -webkit-animation-fill-mode:forwards;
   -moz-animation-fill-mode:forwards;
   -o-animation-fill-mode:forwards;
   animation-fill-mode:forwards;
}

.fadeIn2s {
   -webkit-animation:fadeIn2s 2s;
   -moz-animation:fadeIn2s 2s;
   -o-animation:fadeIn2s 2s;
   animation:fadeIn2s 2s;
   -webkit-animation-fill-mode:forwards;
   -moz-animation-fill-mode:forwards;
   -o-animation-fill-mode:forwards;
   animation-fill-mode:forwards;
}

@-webkit-keyframes fadeIn1s { from { opacity:0; } to { opacity:1; } }
@-webkit-keyframes fadeIn2s { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn1s { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn2s { from { opacity:0; } to { opacity:1; } }
@-o-keyframes fadeIn1s { from { opacity:0; } to { opacity:1; } }
@-o-keyframes fadeIn2s { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn1s { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn2s { from { opacity:0; } to { opacity:1; } }

#slider .NewsSummary h2 {
   font-size: 1.7em;
   color: #fff;
   padding: 0 0 0.6em 0;
}

#slider .NewsSummary p {
   font-size: 1.1em;
   color: #fff;
}

#pager {
  max-width:1200px;
  width: 100%;
  margin: 0 auto;
  left: 1em;
  bottom: 2em;
}

#pager span {
   font-size: 2em;
   padding: 0 0.2em 0 0;
   cursor: pointer;
}

#pager .cycle-pager-active {
   color: #fff
}


/* Typos */

h1, h2, h3 { color:#a3875b; font-weight: 300; line-height:115% }
h2 { padding: 0 0 0.5em 0; font-size: 1.3em; color: #888 }
h3, p { padding: 0 0 0.5em 0; line-height:130% }
.petit { font-size:0.7em }

h1 { position: absolute; margin:0; padding: 2em 0; font-weight: 300; z-index:4000; top:6em; width:100%; text-align:center; color:#fff }
.centre h1 { position: relative; padding:2em 0; top:0; color:#a3875b }
#imgTitre h1 { position:relative;padding:0;top:0 }

/* Plan */
.plan { width:100%; height:700px; pointer-events:none; }
#plan iframe { pointer-events: none }


/* Mesg Cookies */

#cookiesdirective { padding-top: 1em }
#cookiesdirective input { position: relative; margin-top:-1em; background-color: #a3875b; color: #000; border:0 }


/*** Custom menu ***/

.menu-container, .menu ul { background-color: #a3875b }
.menu ul li ul { background-color: #353535 }
.menu ul li:hover { background-color:#353535 }
.menu ul li:hover a { color:#fff }
.menu ul li ul li:hover a { background-color: #a3875b; color:#fff }
.menu > ul > li > ul > li a { color:#a3875b }
.menu > ul > li > ul.normal-sub { padding:0 }
.menu-dropdown-icon:before {
    background:#353535;
    color: #fff;
}


/*** Portfolio ***/
.categories { display: table; width: 100%; text-align:center; margin:0; padding:0; border-top: 1px solid #a3875b }
.categories li { display: inline-block; padding: 1em 2em; margin:0  }

/* Mobiles */

@media only screen and (max-width: 1199px) {
   #slider { height:400px }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
   #slider { height:430px }
}

@media only screen and (max-width: 567px) {

  #cookiesdirective input { display: block; margin: 1em auto }
  body { font-size: 1em }
  .col { flex-basis: 100%; width: 100%; max-width: 100%; margin-right: 0 }
  #lightgallery .col { flex-basis:100%; margin:0; padding-bottom:1em }
  #slider { height:200px }
  img { width: 100%; height: auto }
  #reseaux { position:relative; height:2em; right:0; left:0 }
  #reseaux div { text-align: center }
  #logo, #reseaux { margin-bottom: 1em }
  #logo img {
     display: block;
     position: relative;
     margin:0 auto;
     width: 60%
  }

  #slogan { display: none }

  #menu_lang { margin-top: -90px }

  .contBas, .centree { padding: 1em }

  .huitieme, .quart { width: 50% }

   #petites_actus article {
      min-height:0;
      width: 100%;
      margin: 0;
   }
   #petites_actus { padding-bottom:0 }

  .formulaire label, .formulaire textarea { width: 100% }
  #haut { float:none; margin:0 }
  .ligne { margin:0 }
  .plan { height:300px }
  .bas { position:relative; margin-top:1em }
  header, #menu { position:relative }
  header { height: auto }
  #imgTitre { margin-top:0 }
  #main { margin:0 }
}

@media only screen and (min-width: 481px) and (max-width: 1024px)  {
  #logo img { width: 40% }
  #slider { height:300px }
}


/* Impression */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
