/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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.
 */


/* ///////// Fonts ///////// */

@font-face {
  font-family:'adobe arabic';
  src: url('../fonts/adobearabic/AdobeArabic-Regular.eot');
  src: url('../fonts/adobearabic/AdobeArabic-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/adobearabic/AdobeArabic-Regular.woff2') format('woff2'),
       url('../fonts/adobearabic/AdobeArabic-Regular.woff') format('woff'),
       url('../fonts/adobearabic/AdobeArabic-Regular.svg#AdobeArabic-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-0750;
}

@font-face {
  font-family:'century gothic';
  src: url('../fonts/centurygothic/Century-Gothic.eot');
  src: url('../fonts/centurygothic/Century-Gothic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/centurygothic/Century-Gothic.woff2') format('woff2'),
    url('../fonts/centurygothic/Century-Gothic.woff') format('woff'),
    url('../fonts/centurygothic/Century-Gothic.svg#Century-Gothic') format('svg');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+0020-F003;
}


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

html {
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  margin:0;
}

body {
  background-image: url(../img/bg.png);
  background-repeat: repeat;
  width: 100%;
  height: 100%;
}


/*
 * 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
   ========================================================================== */

/* nav bootstrap */
.navbar-default {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  padding: 4rem 0;
  border: none;
  box-shadow: none;
}

.navbar-nav {
  float: right;
  margin: 1.5rem 0;
}

.navbar-default .navbar-nav>li>a {
  color: #fff;
  font-size: 1.6rem;
  font-family: 'century gothic';
  margin: 0 2rem;
  border-bottom: 2px solid transparent;
}

.navbar-default .navbar-nav>li>a:hover {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
}

.navbar>.container .navbar-brand,
.navbar>.container-fluid .navbar-brand {
  margin-left: 0px;
}


/* content */
.inline {
  display: block;
  width: 100%;
}
.inline > p {
  display: inline-block;
  width: 80%;
  color: #fff;
  font-size: 1.6rem;
  font-family: 'century gothic';
}
.inline > a {
  display: inline-block;
  float: right;
  padding: 0.3rem 2rem 2rem;
}

.ad-box {
  width: 300px;
  height: 250px;
  background-color: #fff;
  margin-bottom: 2.5rem;
  margin-left: -3.8rem;
}

.big-ad-box {
  width: 970px;
  height: 250px;
  background-color: #fff;
  margin-bottom: 2.5rem;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.wysiwyg-bloc {
  width: 96%;
  margin-bottom: 2.5rem;
}

.wysiwyg-bloc > .textarea {
  margin-top: 0px;
  margin-bottom: 0px;
  height: 250px;
  max-height: 250px;
  min-height: 250px;
  padding: 2rem;
  font-size: 1.6rem;
  line-height: 24px;
  width: 100%;
}

.title {
  font-size: 3rem;
  font-family: 'century gothic';
  font-weight: bold;
  color: #fff;
  margin: 4rem 0;
}

.content {
  color: #fff;
  font-family: 'Open Sans';
  font-size: 1.6rem;
  line-height: 3rem;
}

.first-section {
  margin-bottom: 3rem;
}

.light-blue-bloc {
  width: 810px;
  height: 250px;
  padding: 3.5rem 3rem;
  background-color: rgba(66, 232, 224, 0.5);
  color: #fff;
}

.day {
  font-size: 3.2rem;
  font-family: 'century gothic';
  font-weight: bold;
  width: 100%;
  text-align: center;
  position: relative;
  color: #fff;
}

.day a.arrow-before {
  left: 0;
  position: absolute;
}
.day a.arrow-after {
  right: 0;
  position: absolute;
}

.location {
  color: #180e5b;
  font-family: 'century gothic';
  font-weight: bold;
  letter-spacing: 1px;
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}
.location-white {
  color: #fff;
}

.location span {
  text-transform: uppercase;
}

.method-list {
  list-style: none;
  display: block;
  width: 100%;
  text-align: center;
  padding: 0;
}

.method-list li {
  display: inline-block;
  margin: 0 2rem;
}

.sub-method {
  font-family: 'century gothic';
  font-size: 1.6rem;
}

.bottom-section {
  margin: 4rem 0;
}

.hour-method {
  font-size: 3rem;
  font-family: 'century gothic';
  font-weight: bold;
}

.dark-blue-bloc {
  width: 100%;
  height: auto;
  padding: 3rem 2rem;
  background-color: rgba(14, 22, 52, 0.5);
  margin-bottom: 4rem;
}

label {
  font-size: 1.4rem;
  font-family: 'century gothic';
  display: block;
  margin-bottom: 1rem;
  color: #fff;
}

select, input {
  background-color: #fff;
  width: 100%;
  height: 5rem;
  border: none;
  border-radius: 0;
  margin-bottom: 3rem;
  padding: 0 2rem;
  -webkit-appearance: none;
}

::placeholder {
  color: #b4b4b4;
  font-family: 'century gothic';
  font-size: 1.4rem;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #b4b4b4;
  font-family: 'century gothic';
  font-size: 1.4rem;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #b4b4b4;
  font-family: 'century gothic';
  font-size: 1.4rem;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #b4b4b4;
  font-family: 'century gothic';
  font-size: 1.4rem;
}
:-moz-placeholder { /* Firefox 18- */
  color: #b4b4b4;
  font-family: 'century gothic';
  font-size: 1.4rem;
}

.month {
  font-size: 6rem;
}

/** CALENDAR SECTION **/



#calendar {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 25px;
}

#calendar thead tr,
#calendar tbody tr {
  color: white;
}

#calendar thead td,
#calendar tbody td {
  text-align: center;
  padding: 5px 0;
}

#calendar tbody tr.active {
  background-color: white;
  color: #1B0F5C;
  font-size: 22px;
  font-weight: 500;
}

#calendar tbody tr.active td {
  padding: 10px 0;
}

#calendar tbody tr.friday-row {
  background-color: #42E8E1;
  color: white;
}

.asterisques {
  color: #fff;
  font-family: 'century gothic';
  font-size: 1.6rem;
  margin-bottom: 5px;
  padding-left: 15px;
}

.footer {
  margin-top: 7rem;
  border-top: 3px solid #fff;
  padding: 30px 0 20px;
}

.footer .list ul {
  text-align: center;
  padding-left: 0;
}

.footer .list ul li {
  text-align: center;
  display: inline-block;
  padding: 0 20px;
}

.footer .list ul li a {
  color: #fff;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.footer .list ul li a:hover {
  color: #42e8e0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}


/* ==========================================================================
   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
 */

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

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

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

/*
 * 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 */
}

@media (max-width: 1200px) {
  .first-section .light-blue-bloc {
    width: 640px;
  }
  .first-section .ad-box {
    margin-left: -8.8rem;
  }
  .first-section .sub-method {
    font-size: 1.3rem;
  }
  .first-section .hour-method {
    font-size: 2.3rem;
  }
  .big-ad-box {
    width: 100%;
    height: auto;
  }
  .big-ad-box img {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .ordi > img {
    margin-left: -4rem;
    width: 600px;
  }
  .first-section .light-blue-bloc {
    width: 420px;
  }
  .first-section .ad-box {
    margin-left: -14.8rem;
  }
  .footer .list ul li {
    padding: 0 15px;
  }
  .holographic-img {
    text-align: center;
  }
  .holographic-img img {
    width: 400px;
    margin-top: 7rem;
  }
  .day {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .wysiwyg-bloc {
    width: 100%;
  }
  .ad-box {
    margin: 0 auto;
    margin-bottom: 2.5rem;
  }
  .ordi {
    text-align: center;
  }
  .ordi > img {
    width: 400px;
    margin: 4rem 0 4rem -5rem;
  }
  .first-section .light-blue-bloc {
    width: 100%;
  }
  .first-section .ad-box {
    margin: 20px auto 0;
  }
  #calendar thead td,
  #calendar tbody td {
    font-size: 11px;
  }
  .footer .list ul li {
    display: block;
    padding-bottom: 5px;
  }
  .holographic-img img {
    width: 100%;
    margin-top: 7rem;
  }
  .month {
    font-size: 3rem;
  }
  .day {
    font-size: 1.7rem;
  }
  .method-list li {
    margin: 0 1rem;
  }
}

/* ==========================================================================
   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:
     * 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;
    }
}
