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

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

body{
    overflow: hidden;
}

.loaderBody{
    display: block;
    background: #f99f1d;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    z-index: 999999;
}

.loaderLogo{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -90px;
    margin-top:-20px;
}

.loaderLogo img{
    width: 180px;
}

.loaderBar{
    height: 4px;
    background: #fff;
    margin-top: 4px;
    border-radius: 5px;
    position: absolute;
}

.loaderBarBg{
    height: 4px;
    background: rgba(0,0,0,.13);
    margin-top: 4px;
    border-radius: 5px;
    position: absolute;
    width: 100%;
}

nav{
    /*border: 1px solid #fff;*/
    height: 80px;
    position: fixed;
    z-index: 2;
    width: 100%;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

h2, h3{
    color:#fff !important;

}

h3{
    font-weight: 300 !important;
}

h2 .generalSubHeader{
    color: #f99f1d !important;

}

.header{
    position: fixed;
    z-index: 1;
}

.header img{
    width: 250px;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

.callToActionWrapper{
    width: 100%;
    /*height: 80px;*/
    bottom:0;
    position: fixed;
    z-index: 99;
}

.callToactionBtn{

    color:#fff;
    height: 100%;

}

#telephone{
    background: #f99f1d;
}

.text-action{
    font-size: 2em;
    font-weight: 800;
    padding-top: 4px;
    text-align: center;
    padding-top:10px;
    color:#fff;
}

#email{
    background: #c77f17;
}

.price{
    background: url('../img/bg-homepage-01.jpg') no-repeat;
}

.secured{
    background: url('../img/bg-homepage-02.jpg') no-repeat;
}

.location{
    background: url('../img/bg-homepage-03.jpg') no-repeat;
}

.wifi{
    background: url('../img/bg-homepage-04.jpg') no-repeat;
}

.accueil{
    background-size: cover;
    width: 100%;
    position: absolute;
    height: 100%;
    background-position: center;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;

}


.icon-accueil img{

}

.featuredContainer{
    padding-top: 220px;
}

.featuredContainer h2{
    text-transform: uppercase;
}

.monthlyFee{
    background: #f99f1d;
    color: #fff;
    font-size: 5.5em;
    padding: 5px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.locationMetros{
    background: #f99f1d;
    color: #fff;
    font-size: 2.5em;
    padding: 5px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.monthlyFee p{
    text-transform: uppercase;
    font-weight: 100;
    font-size: .25em;
    margin-bottom: -20px;
    padding-top: 12px;
    color:#fff;
}

p{
    color:#5e5e5d;
}

#home{
    position: relative;
    width: 100%;
    height: 100vh;
}

#marsonicDescription{

    /*margin-top:25px;*/

}

#marsonicFeatures{
    background: url(../img/bg-boxes-01.jpg) no-repeat;
    /* background-position: center; */
    margin-top: 80px;
    width: 100% !important;
    position: relative;
    background-size: cover;
}

.featuredBoxes{
    padding: 40px 0px 27% 0px;
}

.marsonicAdvantages{
    margin-top: 80px;
}

.h3Yellow{
    color: #f99f1d !important;
    font-weight: 700 !important;
}

.generalSubHeader{
    color:#f99f1d !important;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 25px;
    margin-top: 100px;
}

.headerBoxed{
    margin-top:10px !important;
}

#photoGallery{
    background: #000;
    background: url(../img/bg-gallery.jpg) no-repeat;
    /* background-position: center; */
    padding: 10px 10px 80px 10px;
    width: 100% !important;
    position: relative;
    background-size: cover;
    margin-top: 100px;
}

.galleryHeader{
    margin-top: 40px;
    margin-bottom: 50px;
}

.slick-prev:before, .slick-next:before {
    font-size: 35px;
    line-height: 1;
    opacity: .75;
    color: #f99f1d !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-next {
    /*right: -25px;*/
    margin-right: 0px;
}
.slick-prev {
    left: -40px;
}

/*
    ==========================================================================
    Decorations
   ========================================================================== */

hr {
    color: #f99f1d !important;
    border: 3px solid;
    width: 200px;
    border-radius: 6px;
    text-align: center;
    margin-top: 45px;
    /* margin-bottom: 30px; */
    position: absolute;
    right: 50%;
    left: 50%;
    margin-left: -100px;
    background: #f99f1d !important;
}


/* ==========================================================================
   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 (max-width: 767px) {
    /* Style adjustments for viewports that meet the condition */
    .text-action{
        text-align: justify;
        height: 50px;
    }

    .text-action img{
        width: 35px;
    }

    .featuredContainer {
        padding-top: 120px;
    }

    .icon-accueil img {
        width: 110px;
    }
    .featuredContainer h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.1em;
    }
}

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