
/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
  outline: none;
}
.slides,
.flex-control-nav,
.flex-direction-nav {
  margin: 0; 
  padding: 0; 
  list-style: none;
}


/* --- Zone flexslider --- */
.flexslider {
  font-family: 'Open Sans', sans-serif;
  padding: 0;
  margin-bottom: 13px;
  border: solid 1px #d1d1d1;
}
/* Pour fixer la hauteur du slider dans accueil */
.flexslider.accueiluqtr {
  height: 450px;
}
/* --- Titre FlexSlider --- */
.slides .titre {
  display: block;
  height: 50px;
  font-size: 14px;
  line-height: 20px;
  padding: 5px 5px 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
}
.slides .titre:after {
  content: " ...";
  color: #999;
}

/* --- Bouton Flexslider vers Entete --- */
.slides {
  text-align: center;
}
.slides .lien {
  display: inline-block;
  clear: both;
}
.slides .lien a  {
  position: relative;
  text-align: center;
  display: inline-block;
  margin: 5px 0 15px 0;
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 15px;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: baseline;
  outline: none;
  color: #3E393B;
}
.slides .lien a:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  -webkit-transition: all 0.2s;
          transition: all 0.2s;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  background-color: #929496;
}
/* Hover */
.slides .lien:hover a:before  {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
/* Pour le logo de entete */
.slides .lien a em,
.slides .lien a span {
  font-size: 24px;
  letter-spacing: -1px;
  text-transform: none;
}
.slides .lien a em {
  font-style: normal;
}
.slides .lien a span {
  color: #C91926;
}
p.flex-caption {
  margin: 5px 0 0 0;
}

/* FlexSlider Styles */
.flexslider .slides>li {
  display: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
/* Hide the slides before the JS is loaded Avoids image jumping */
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* Clearfix for the .slides element */
.slides:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .slides {
  display: block;
}
* html .slides {
  height: 1%;
}
/* No JavaScript Fallback */
.no-js .slides>li:first-child {
  display: block;
}
/* FlexSlider Default Theme */
.flexslider {
  position: relative;
  zoom: 1;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
          transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.flexslider .slides {
  zoom: 1;
}
.carousel li {
  margin-right: 5px
}
/* Control Nav */
.flex-control-nav {
  width: 100%;
  position: absolute;
  top: 330px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 20px;
     -moz-border-radius: 20px;
       -o-border-radius: 20px;
          border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #fff;
}
.flex-control-paging li a.flex-active {
  background: #CB4F47;
  cursor: default;
}



/* Direction Nav */
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  width: 44px;
  height: 44px;
  display: block;
  position: absolute;
  top: 11em;
  z-index: 10;
  background: url("images/bg_direction_nav.png") no-repeat 0 0;
  cursor: pointer;
  text-indent: -9999px;
  opacity: 0;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
}
.flex-direction-nav .flex-next {
  background-position: 100% 0;
  right: -44px;
}
.flex-direction-nav .flex-prev {
  left: -44px;
}
.flexslider:hover .flex-next {
  opacity: 0.8;
  right: 0;
}
.flexslider:hover .flex-prev {
  opacity: 0.8;
  left: 0;
}
.flexslider:hover .flex-next:hover, 
.flexslider:hover .flex-prev:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0.1!important;
  filter: alpha(opacity=1);
  cursor: default;
}



@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
      opacity: 1;
      left: 0;
    }
    .flex-direction-nav .flex-next {
      opacity: 1;
      right: 0;
    }
}




