/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

header {
  width:100%;
  max-width: 100%;
}

header .logo {
  display:inline-block;
  max-height:60px;
}

header .topbar {
  width:100%;
  border-bottom:1px solid #F1F1F1;
  padding:10px 0 15px;
}

header .topbar a{
 margin-left:5px;
}

header .topmenu {
  width:100%;
  font-size: 32px;
  font-weight: 200;
}

header .slider {
  width:100%;
  height:550px;
  padding:330px 0 220px;
  background:url('../img/web/accueil.jpg') no-repeat center center;
}

header .topmenu ul {
  display: inline-block;
  margin: 0;
  list-style: none;
  float: right;
  position: relative;
}

header .topmenu ul li {
  display: inline-block;
  padding-left:25px;
}

header .topmenu ul li a {
  text-transform: uppercase;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .025em;
  color:#393939;
  font-family: 'Quicksand', sans-serif;
}
header .topmenu ul li a:hover {
  color:#9ccc65;
  text-decoration: none;
}
header .topmenu ul li a.active {
  color:#9ccc65;
  font-weight: 800;
}

header .bandeau {
  background-color: #6f9691;
  width:100%;
  color:#FFF;
  padding:80px 0 80px;
  font-family: 'Quicksand', sans-serif;
}

header .bandeau a {
  color:#FFF;
}

header .bandeau h2 {
  margin-bottom:30px;
}

header .bandeau img {
  color:#FFF;
  width:300px;
  height:300px;
  position: absolute;
  top:-49px;
  left:50px;
}

header .slider-sub {
  width:100%;
  height:300px;
  padding:60px;
  background:url('../img/high/slider-about.jpg') no-repeat top center fixed;
  position: relative;
}
header .slider-sub::after {
  content: " ";
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

header .slider-sub h1 {
  color:#FFF;
  font-size: 60px;
  text-align: center;
  position: relative;
  font-family: 'Quicksand', sans-serif;
  z-index: 9;
}
p.banner{
  margin-bottom:2rem;
}
#services {
  font-family: 'Quicksand', sans-serif;
}

#services h3.title { 
  display: block;
  font-size: 40px;
  margin:60px auto 40px;
}

#services img {
  width:100%;
  display: block;
  margin-bottom:20px;
  transition: 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  position: relative;
  z-index:1;
}

#services img:hover {
  transform:scale(1.10);
  cursor: zoom-in;
  position: relative;
  z-index: 9;
  box-shadow: 1px 1px 10px #222;
}

#services .line {
  margin-bottom: 120px;
}



#about {
  font-family: 'Quicksand', sans-serif;
}

#about h3.title { 
  display: block;
  font-size: 40px;
  margin:60px auto 40px;
}

#about img {
  width:400px;
  display: block;
  margin-bottom:20px;
  transition: 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  position: relative;
  z-index:1;
}

#about img:hover {
  transform:scale(1.10);
  cursor: zoom-in;
  position: relative;
  z-index: 9;
  box-shadow: 1px 1px 10px #222;
}

#about .line {
  padding: 80px 0;
}



#tarifs {
  font-family: 'Quicksand', sans-serif;
  /*height:100%;*/
  /*height: calc(100vh - 500px);*/
}

#tarifs h3.title { 
  display: block;
  font-size: 40px;
  margin:60px auto 40px;
}

#tarifs img {
  width:400px;
  padding-top:40px;
/*  display: block;
  margin-bottom:20px;
  transition: 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
  position: relative;
  z-index:1;*/
}

/*#tarifs img:hover {
  transform:scale(1.10);
  cursor: zoom-in;
  position: relative;
  z-index: 9;
  box-shadow: 1px 1px 10px #222;
}*/

#tarifs .line {
  padding: 80px 0;
}

#call2action { 
  font-family: 'Quicksand', sans-serif;
  width:100%;
  height:400px;
  background:url('../img/web/salle-big.jpg') no-repeat center center;
  position: relative;
}

#call2action h4 { 
  font-size: 32px;
  padding:130px 0 40px;
  color:#FFF;
  text-shadow: 1px 1px 2px #000;
  z-index: 9;
  position: relative;
}

#call2action p { 
  display: block;
  z-index: 9;
  position: relative;
}
#call2action p a { 
  padding: 12px 30px;
  text-shadow: 1px 1px 2px #000;
}
#call2action::after {
  content: " ";
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

footer {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  padding:30px 0 20px;
  background-color: #111;
  color:#FFF;
}


/* entire container, keeps perspective */
.flip-container {
  perspective: 1000px;
}
  /* flip the pane when hovered */
  /*.flip-container:hover .flipper, .flip-container.hover .flipper {*/
  /* transform: rotateY(180deg);*/
  /*}*/

.flip-container, .front, .back {
  width: 375px;
  height: 200px;
}

/* flip speed goes here */
.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

/* hide back of pane during swap */
.front, .back {
  backface-visibility: hidden;

  position: absolute;
  top: 0;
  left: 0;
}

/* front pane, placed above back */
.front {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
  transform: rotateY(180deg);
}

.flip-container:hover .flipper, .flip-container.hover .flipper, .flip-container.flip .flipper {
  transform: rotateY(180deg);
}

h3.horaires {
  margin-top:30px;
}


/* =-=-=-=-=-=-= Special Pages 404,Comming Soon, Maintaince   =-=-=-=-=-=-= */

#page-section {
  position: relative;
  top:0;
  left:0;
  width: 100%;
  /*height: 100vh;*/
}

.maintenance-page {
  background: rgba(0, 0, 0, 0) url("../img/maintenance.jpg") no-repeat center center;
   background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  position: relative;
  top:0;
  left:0;
  width: 100%;
  height:100vh;
}
.maintenance-page::before {
  background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.maintenance-container {
  left: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 50%;
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
  width: 100%;
  z-index: 15;
}
.maintenance-container h1 {
  color: #d6b161;
  font-size: 60px;
  font-weight: 600;
  line-height: 70px;
  margin: 0 0 15px;
}
.maintenance-container .error-title {
  margin-bottom: 10px;
}
.maintenance-container .error-title, .error-container p {
  color: #fff;
}
.maintenance-container .btn {
  background: #fff none repeat scroll 0 0;
  border-color: #fff;
  color: #d6b161;
}
.maintenance-container .btn:hover {
  background: #d6b161 none repeat scroll 0 0;
  border-color: #d6b161;
  color: #fff;
}
.maintenance-container .error-title {
  margin-bottom: 10px;
}
.maintenance-title {
  display: block;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}
.maintenance-container .maintenance-title, .maintenance-container p {
  color: #fff;
}
.error-page {
  background: rgba(0, 0, 0, 0) url("../img/404.jpg") no-repeat scroll center top;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  position: relative;
  top:0;
  left:0;
  width: 100%;
  height:100vh;
}
.error-page::before {
  background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.error-container {
  left: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 50%;
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
  width: 100%;
  z-index: 15;
}
.error-container h1 {
  color: #d6b161;
  font-size: 150px;
  font-weight: 600;
  line-height: 150px;
  margin: 0 0 15px;
}
.error-container .error-title {
  margin-bottom: 10px;
}
.error-container .error-title, .error-container p {
  color: #fff;
}
.error-container .btn {
  background: #fff none repeat scroll 0 0;
  border-color: #fff;
  color: #d6b161;
}
.error-container .btn:hover {
  background: #d6b161 none repeat scroll 0 0;
  border-color: #d6b161;
  color: #fff;
}
.error-container .error-title {
  margin-bottom: 10px;
}
.error-title {
  display: block;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
}
.error-container .error-title, .error-container p {
  color: #fff;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
@media only screen and (min-width: 992px) {
  header .topmenu li.mobile {display: none;}
}
@media only screen and (max-width: 992px) {
  header .topmenu li:not(:last-child) {display: none;}
  header .topmenu li.mobile {
    display: block;
    float: right;
  }

  #menu.responsive li.mobile {
    position: absolute;
    right: 80px;
    top: -60px;
  }

  #menu.responsive ul {
    position: absolute;
    background-color: #221616;
    width: 100%;
    left: 0;
    top: 110px;
    text-align: right;
    padding-right: 80px;
  }
  
  #menu.responsive li {
    display: inline-block;
  }

  header .topmenu li:not(:last-child) {
      position: relative;
      top: -7px;
  }
  header .topmenu li:not(:last-child) a {
      color: #FFF;
  }

  .flip-container { display:none; }
}
@media only screen and (max-width: 486px) {
  #menu.responsive li:not(:last-child) { padding-left: 5px !important; }
  #menu.responsive li:not(:last-child) a { font-size: 12px !important; }
  #menu.responsive ul { padding-right: 30px; }
  #menu.responsive li.mobile { right: 30px; }
}


