/*! HTML5 Boilerplate v5.2.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
 *
 * These selection rule sets have to be separate.
 * 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,
 * img, 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
   ========================================================================== */
/* CSS Reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, /*hgroup,*/
menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

img,
object,
embed,
canvas,
video,
audio {
    max-width: 100%;
    height: auto;
}

/* Reusable class */
.clearboth {
    clear: both;
}

.floatright {
    float: right;
}

.floatleft {
    float: left;
}

.col-50p {
    max-width: 50%;
}

.col-100p {
    max-width: 100%;
}

.inline {
    display: inline-block;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

/*==========================*/

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

video {
    max-width: 100%;
    height: auto;
}

@font-face {
    font-family: open-sans;
    src: url(../fonts/open-sans/OpenSans-Light.ttf);
}

@font-face {
    font-family: open-sans-bold;
    src: url(../fonts/open-sans/OpenSans-Bold.ttf);
}

/*@font-face {
    font-family: eb-garamond;
    src: url();
    /*src: url(../fonts/eb-garamond/EBGaramond08-Regular.ttf);
}*/

/* Start CSS */
html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-size: 95%;
    color: white;
    font-family: OpenSans, arial, serif;
    width: 99%;
    background-color: white;
    margin: 0 auto;
}


p {
    font-size: 1em;
    font-weight: 100;
}

/*=========================================================
                        COMMON STYLE
===========================================================*/
/* SLIDE STYLE & TITLE */
#title-slide2-container, #title-slide3-container, #title-slide4-container {
    background: url(../img/blur-gallery1.jpg) no-repeat top;
    background-size: cover;
    height: 115px;
}

#title-slide2-container {
    background: url(../img/blur-aboutus.jpg) no-repeat top;
}

#slide2-aboutus h2, #slide3-gallery h2, #slide4-contact h2 {
    color: white;
    text-transform: uppercase;
    font-size: 2em;
    text-align: center;
    padding-top: 40px;
    letter-spacing: 0.2em;
    font-weight: 100;
}

/*=========================================================
                        NAVIGATION
===========================================================*/
a.skip {
    position: absolute;
    left: -999em;
}

#main-navigation {
    font-family: "Source Sans Pro", sans-serif;
    position: fixed;
    top: 0;
    height: 115px;
    background-color: white;
    color: #595959;
    width: 100%;
    opacity: 1;
    z-index: 9990;
    /*visibility: hidden; /!* HIDDEN *!/*/
}

#main-navigation img {
    height: 200px;
    top: -50px; /* because of the ul margin*/
    left: 2%;
    position: absolute;
}

#main-navigation ul {
    position: relative;
    list-style-type: none;
    text-align: center;
    margin-top: 50px;
}

#main-navigation ul li {
    display: inline;
    text-transform: uppercase;
    margin: 0 6%;
}

#main-navigation a {
    font-size: 1em;
    letter-spacing: 0.3em;
    font-weight: 100;
    color: grey;
    text-decoration: none;
    -webkit-transition: color 1s; /* For Safari 3.1 to 6.0 */
    transition: color 1s;
}

#main-navigation a:hover {
    color: black;
}

.nav-button {
    display: none;
}

/*=========================================================
                        SLIDE 0 - Welcome
===========================================================*/
#slide0-welcome {
    background-image: url(../img/welcome.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

#image-container {
    margin: 0 auto;
    padding-top: 4%;
    padding-bottom: 3%;
    max-width: 500px; /* 35% */
}

#image-container img {
    opacity: 0.5;
}

#language-container {
    margin: 0 auto 0 auto;
    padding: 2% 0 10% 0;
    width: 100%

}

#language-container ul {
    list-style-type: none;
    text-align: center;
}

#language-container ul li {
    display: inline;
    text-transform: uppercase;
    margin-left: 5%;
    margin-right: 5%;
    font-family: open-sans-bold, sans-serif;
    /*font-size: 1.8em;*/
    font-weight: 700;
    letter-spacing: 4px;
}

#language-container a {
    font-size: 1.5em;
    letter-spacing: 0.3em;
    font-weight: 100;
    color: black;
    opacity: 0.5;
    text-decoration: none;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
}

#language-container a:hover {
    color: black;
    opacity: 1;
}

/*=========================================================
                        SLIDE 1 - Home
===========================================================*/
#slide1-home {
    background-image: url(../img/mozaiques-b.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#slogan-container {
    position: relative; /* */
    margin-left: 50%;
    width: 50%;
}

#slogan-container p {
    color: white;
    background-color: transparent;
    font-size: 2em;
    font-weight: normal;
    font-family: open-sans, sans-serif;
    text-align: left;
    padding-right: 7%;
    margin: 20% auto;
    padding-top: 20%;
    width: 100%;
}

#author {
    display: inline;
    font-size: 0.75em;
    font-weight: 200;
    font-style: italic;
    text-align: right;
}

/*=========================================================
                    SLIDE 2 - About us
===========================================================*/
#slide2-aboutus {
    color: black;
    background-color: white;
    text-align: justify;
}

#aboutus-container {
    max-width: 90%;
    margin: 0 auto;
}

#description {
    color: black;
    background-color: transparent;
    opacity: 0.5;
    vertical-align: top;
    font-size: 1.5em;
    padding: 0 17% 25px;
}

#description p {
    padding-top: 25px;
}

/*=============== Description ===========*/
#photo {
    white-space: nowrap;
    margin: 0 auto;
    text-align: center;
}

.name-style {
    font-family: open-sans-bold, sans-serif;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: bolder;
    font-size: 1.25em;
    line-height: 1.25em;
}

.title-style {
    font-family: open-sans-bold, sans-serif;
    color: white;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 0.75em;
    letter-spacing: 0.15em;
    padding-right: 5px;
}

#esther,
#sebastien,
#noella {
    position: relative;
    display: inline-block;
    max-width: 21.25%;
    height: auto;
    margin-bottom: 1%;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

#esther-container,
#sebastien-container,
#noella-container {
    position: absolute;
    text-align: right;
    color: white;
    width: 100%;
}

#esther-container {
    top: 65%;
}

#sebastien-container {
    bottom: 5%;
    padding-left: 10px;
}

.seb-name {
    left: 15px;
}

#noella-container {
    top: 5%;
}

/*=========================================================
                     SLIDE 3 - Gallery
===========================================================*/
#slide3-gallery {
    color: black;
    background-color: white;
}

#gallery-container {
    white-space: nowrap;

}

#gallery-container a {
    text-decoration: none;

}

.project {
    position: relative;
}

.gallery {
    max-width: 100%;
    margin-top: 1%;
}

.title-gallery {
    color: white;
    font-family: open-sans-bold, sans-serif;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.title-black {
    color: black;
}

figcaption {
    display: block;
    position: absolute;
    text-align: right;
    z-index: 2;
}

/*================= Animation ===============*/
.top,
.top-delay3s,
.top-delay5s {
    position: absolute;
    display: inline;
    left: 0;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }
    55% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

#gallery-container img.top {
    animation-name: fadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 7s;
    animation-direction: alternate;
}

#gallery-container img.top-delay3s {
    animation-name: fadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 3s;
    animation-duration: 7s;
    animation-direction: alternate;
}

#gallery-container img.top-delay5s {
    animation-name: fadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: 5s;
    animation-duration: 7s;
    animation-direction: alternate;
}

/*================= Gallery 1 ===============*/
#dodonee-curacao {
    max-width: 50%;
    display: inline-block;
}

#dodonee {
    margin-left: 0;
    height: auto;
    max-width: 100%;
    margin-bottom: 2%;
}

#title-dodonee {
    right: 10px;
    bottom: 10px;
    text-align: right;
}

#curacao {
    margin-left: 0;
    height: auto;
    max-width: 100%;
}

#title-curacao {
    right: 10px;
    bottom: 10px;
    text-align: right;
    color: grey;
}

/*------------------------*/
#mercure-lancaster {
    max-width: 50%;
    display: inline-block;
}

#mercure {
    height: auto;
    max-width: 47.5%;
    margin-left: 2%;
}

#title-mercure {
    right: 10px;
    bottom: 10px;
    text-align: right;
}

#lancaster {
    height: auto;
    max-width: 47.5%;
    margin-left: 2%;
}

#title-lancaster {
    left: 10px;
    bottom: 10px;
    text-align: left;
}

/*================= Gallery 2 ===============*/
#lens-luxembourg-anne {
    margin-left: 0;
    margin-right: 0.5%;
}

#lens {
    height: auto;
    max-width: 32.8%;
    margin-right: 0.4%;
}

#title-lens {
    left: 10px;
    bottom: 10px;
    text-align: left;
}

#luxembourg {
    height: auto;
    max-width: 32.8%;
    margin-left: 0.4%;
    margin-right: 0.4%;
}

#title-luxembourg {
    left: 10px;
    bottom: 10px;
    text-align: left;
}

#anne {
    margin-left: 0.4%;
    height: auto;
    max-width: 32.8%;
}

#title-anne {
    left: 10px;
    bottom: 10px;
    text-align: left;
}

/*==================== Gallery 3 ===============*/

#schmidt-tervuren {
    margin-left: 0;
    margin-right: 0.25%;
    margin-bottom: 1%;
}

#schmidt {
    height: auto;
    max-width: 32.7%;
    margin-right: 0.4%;
}

#title-schmidt {
    right: 10px;
    bottom: 10px;
    text-align: right;
}

#tervuren {
    height: auto;
    max-width: 66.5%;
    margin-left: 0.4%;
}

#title-tervuren {
    left: 10px;
    bottom: 10px;
    text-align: left;
}

/*=========================================================
                     SLIDE 4 - Contact
===========================================================*/
#slide4-contact {
    color: black;
    background-color: white;
    text-align: justify;
}

#contact-container section {
    text-align: center;
    font-family: open-sans-bold, sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: grey;
    line-height: 1.25em;
    letter-spacing: 0.5em;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
}

#contact-container h3 {
    font-size: 0.8em;
    font-weight: 700;
}

.position {
    font-family: eb-garamond, sans-serif;
    color: grey;
    font-weight: 400;
    font-size: 0.70em;
    letter-spacing: 0.4em;
}

.phone a {
    font-family: open-sans-bold, sans-serif;
    color: grey;
    font-size: 0.7em;
    font-weight: normal;
    letter-spacing: 0.3em;
    text-decoration: none;
}

.email a {
    font-family: open-sans, sans-serif;
    color: grey;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    font-size: 0.75em;
    letter-spacing: 0.25em;
}

.email a:hover {
    color: black;
}

/*=========================================================
                            FOOTER
===========================================================*/

#footer-container {
    width: 100%;
    background-color: white;
    margin-top: 5%;
}

#footer-container section {
    text-align: center;
}

#footer-container h3 {
    color: black;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1em;
    font-family: source-sans-pro, sans-serif;
    font-size: 0.7em;
    font-weight: 700;
    line-height: 1.1em;
    text-align: center;
}

#footer-container ul {
    list-style-type: none;
    padding: 2% 0;
}

#footer-container ul li {
    display: inline;
    font-size: 1em;
    padding-right: 3%;
    padding-left: 3%;
}

#footer-container a {
    opacity: 0.5;
}

#footer-container a:hover {
    opacity: 1;
}

#footer-container img {
    max-width: 48px;
}

/*---------------------------------------*/
#totop-container {
    opacity: 0.5;
    font-size: 1.3em;
    color: black;
    letter-spacing: 0.25em;
    line-height: 1.5625%;
    text-align: center;
    font-family: source-sans-pro, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    padding-bottom: 2%;
}

#totop-container a {
    text-decoration: none;
    color: black;
    opacity: 0.5;
}

#totop-container a:hover {
    text-decoration: none;
    color: black;
    opacity: 1;
}

#totop-container a:visited {
    text-decoration: none;
    color: black;
    opacity: 0.5;
}

/*======================= GALLERY PAGE ==================*/
#back-button-container {
    background-color: black;
    color: white;
    padding-top: 0.25%;
    padding-bottom: 0.25%;
    text-align: center;
}

#back-button-container a,
#back-button-container a:hover,
#back-button-container a:visited {
    font-family: open-sans, sans-serif;
    background-color: black;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing:0.3em;
}

/*===================================================
 ================== MEDIA QUERY =====================
 ====================================================*/
/*============  1840px / 115em =================*/
@media screen and (max-width: 115em) {

    /*=================== SLIDE 0 - WELCOME ==============*/
    #image-container {
        margin: 0 auto;
        padding-top: 4%;
        padding-bottom: 3%;
        max-width: 450px; /* 35% */
    }

}

/*============ 1520px / 95em =================*/
@media screen and (max-width: 95em) {

    /*=================== NAVIGATION ==============*/
    #main-navigation img {
        height: 200px;
        /*top: -50px; /!* because of the ul margin*!/*/
        left: 0;
        /*position: absolute;*/
    }

    #main-navigation a {
        font-size: 1em;
        letter-spacing: 0.3em;;
    }

    /*=================== SLIDE 0 - WELCOME ==============*/
    #image-container {
        margin: 0 auto;
        padding-top: 4%;
        padding-bottom: 3%;
        max-width: 400px; /* 35% */
    }

    /*=================== SLIDE 2 ABOUT US ==============*/
    #aboutus-container {
        max-width: 85%;
        margin: 0 auto;
    }

    #description {
        padding: 0 10% 25px;
    }

    #esther,
    #sebastien,
    #noella {
        max-width: 26%;
    }

    .name-style {
        font-size: 1em;
    }

    .title-style {
        font-size: 0.75em;
    }
}

/*============ 1200px / 75em =================*/
@media screen and (max-width: 75em) {

    /*=================== NAVIGATION ==============*/
    #main-navigation img {
        height: 115px;
        /*top: -50px; /!* because of the ul margin*!/*/
        left: 2%;
    }

    #main-navigation ul li {
        margin: 0 3%;
    }

    /*=================== SLIDE 0 WELCOME ==============*/
    #image-container {
        padding-top: 10%;
    }

    /*=================== SLIDE 2 ABOUT US ==============*/
    #aboutus-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

/*============ 1040px / 65em =================*/
@media screen and (max-width: 65em) {

    /*=================== COMMON STYLE ==============*/
    #title-slide2-container,
    #title-slide3-container,
    #title-slide4-container {
        height: 75px;
    }

    #slide2-aboutus h2,
    #slide3-gallery h2,
    #slide4-contact h2 {
        font-size: 1.5em;
        padding-top: 20px;
    }

    /*=================== NAVIGATION ==============*/
    #main-navigation img {
        height: 75px;
        left: 2%;
        top: -30px;
    }

    #main-navigation ul li {
        margin: 0 4%;
    }

    #main-navigation {
        height: 75px;
    }

    #main-navigation ul {
        margin-top: 30px;
    }

    #main-navigation a {
        font-size: 0.8em;
        letter-spacing: 0;
    }

    /*=================== SLIDE 1 HOME ==============*/

    #slogan-container p {
        font-size: 1.5em;
    }

    /*=================== SLIDE 2 ABOUT US ==============*/
    #aboutus-container {
        max-width: 100%;
        margin: 0 auto;
    }

    #description {
        padding: 0 1% 25px;
    }

    #esther,
    #sebastien,
    #noella {
        max-width: 32.25%;
    }

    /*=================== SLIDE 3 GALLERY ==============*/
    .title-gallery {
        font-size: 0.75em;
    }
}

/*============ 800px / 50em =================*/
@media screen and (max-width: 50em) {

    /*=================== NAVIGATION ===================*/
    #main-navigation img {
        height: 75px;
        left: 0%;
        /*top: -15px;*/
    }

    /*=================== SLIDE 0 WELCOME ==============*/
    #language-container ul {
        margin-top: 5%;
    }

    #language-container ul li {
        display: block;
        margin-bottom: 5%;
    }

    /*=================== SLIDE 1 HOME ==============*/
    #slogan-container {
        padding-top: 10%;  
    }    

    /*=================== SLIDE 2 ABOUT US ==============*/
    #description {
        font-size: 1.25em;
    }

    .name-style {
        letter-spacing: 0;
    }

    .title-style {
        letter-spacing: 0;
        /*padding-right: 10px;*/
    }

    #esther {
        margin-left: 0.25%;
    }

    /*=================== SLIDE 3 GALLERY ==============*/
    #dodonee-curacao {
        max-width: 100%;
        display: inline;
    }

    #dodonee {
        margin-bottom: 1%;
        margin-top: 2%;
    }

    #curacao {
        margin-bottom: 1%;
    }

    #mercure-lancaster {
        max-width: 100%;
        display: inline;
    }

    #mercure {
        /*height: auto;*/
        max-width: 49%;
        margin-left: 0;
        /*margin-right: 0.5%;*/
    }

    #lancaster {
        height: auto;
        max-width: 49%;
        margin-left: 1%;
        margin-right: 0;
        /*border: 1px solid lightgray;*/
    }
}

/*============ 560px / 35em =================*/
@media screen and (max-width: 35em) {

    /*=================== COMMON STYLE ==============*/
    #title-slide2-container,
    #title-slide3-container,
    #title-slide4-container {
        height: 50px;
    }

    #slide2-aboutus h2,
    #slide3-gallery h2,
    #slide4-contact h2 {
        font-size: 1.5em;
        padding-top: 10px;
    }

    /*=================== NAVIGATION ===================*/
    #main-navigation a {
        font-size: 0.70em;
        letter-spacing: 0;
    }

    #main-navigation img {
        height: 50px;
        left: 0;
        top: -15px;
    }

    #main-navigation ul li {
        margin: 0 2%;
    }

    #main-navigation {
        height: 50px;
    }

    #main-navigation ul {
        margin-top: 15px;
    }

    /*=================== SLIDE 0 WELCOME ==============*/
    #image-container {
        padding-top: 0;
        padding-bottom: 0;
    }

    #language-container {
        padding: 2% 0 5% 0;
    }

    /*=================== SLIDE 1 HOME ==============*/
    #slogan-container {
        padding-top: 15%;  
    }  
    /*=================== SLIDE 2 ABOUT US ==============*/
    .name-style {
        letter-spacing: 0;
        font-size: 0.75em;
        line-height: 1.25em;
    }

    .title-style {
        font-size: 0.5em;
        letter-spacing: 0;
        /*padding-right: 10px;*/
    }

    #esther,
    #sebastien,
    #noella {
        max-width: 32.75%;
        height: auto;
        margin-bottom: 0.5%;
        margin-left: 0;
        margin-right: 0;
    }


    #noella {
        margin-left:0;
        margin-right: 0.25%;
    }



    /*=================== SLIDE 3 GALLERY ==============*/
    #lens-luxembourg-anne {
        max-width: 100%;
        display: inline;
        margin-right: 0;
    }

    #lens {
        max-width: 49%;
        margin-left: 0;
        margin-right: 0;
    }

    #luxembourg {
        max-width: 49%;
        margin-left: 1%;

    }

    #anne {
        margin-top: 1%;
        margin-left: 0;
        margin-right: 0;
        max-width: 49%;
        display: block;
        float: left;
    }

    #schmidt-tervuren {
        margin-right: 0;
    }

    #schmidt {
        max-width: 49%;
        float: right;
        margin-bottom: 1%;
        margin-left: 1.5%;
        margin-right: 0.25%;

    }

    #tervuren {
        margin-left: 0;
        display: block;
        clear: both;
        max-width: 100%;
    }

    /*=================== SLIDE 4 CONTACT US ==============*/
    #contact-container section {
        letter-spacing: 0.25em;
        margin-top: 10%;
        margin-bottom: 10%;
    }

    /*=================== FOOTER ==============*/
    #footer-container ul li {
        padding-right: 1%;
        padding-left: 1%;
    }

    #footer-container img {
        max-width: 40px;
    }

}

/*============ 400px / 25em =================*/
@media screen and (max-width: 25em) {

    /*=================== NAVIGATION ===================*/
    #main-navigation a {
        font-size: 0.70em;
    }

    #main-navigation img {
        height: 50px;
    }

    #main-navigation ul li {
        margin: 0;
        /*margin-left: 0.5%;*/
        margin-left: 2.5%;
    }

    /*=================== SLIDE 1 HOME ==============*/
    #slogan-container {
        padding-top: 30%;  
    }  
    /*=================== SLIDE 2 ABOUT US ==============*/
    #description {
        font-size: 1em;
    }

    .name-style {
        letter-spacing: 0;
        font-size: 0.5em;
        line-height: 1em;
        padding-right: 0;
    }

    .title-style {
        font-size: 0.25em;
        font-weight: lighter;
        letter-spacing: 0;
        padding-right: 0;
    }
    /*=================== SLIDE 2 GALLERY ==============*/
    #schmidt {
        max-width: 48.5%;
    }
}

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

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

/*
 * 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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        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,
    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;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
