/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
@font-face {
    font-family: 'Archive';
    src: url('../fonts/Archive.woff2') format('woff2'),
        url('../fonts/Archive.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    color: #222;
    font-size: 12px;
    line-height: 1.4;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
        -moz-box-sizing: inherit;
            box-sizing: inherit;
}

body {
    font-size: 1.2em;
    background: url('/img/pattern.gif') top left repeat;
}

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

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

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

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

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

textarea {
    resize: vertical;
}

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-family: 'Ubuntu';
}


/* ==============
    MOBILE: Navbar
   ============== */

header.navbar {
    padding: 30px;
}
header.navbar .navbar-end {
    margin: 0 auto 2em auto;
}
header.navbar .arrow-back {
    max-width: 30px;
    line-height: 40px;
}


/* ==============
    MOBILE: Menu
   ============== */

nav.menu {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}
nav.menu ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-family: 'Archive', sans-serif;
}
nav.menu ul li {
    margin-bottom: 0;
}
nav.menu ul li.last-item {
    margin-top: 1em;
}
nav.menu ul li a {
    color: black;
    display: block;
    border: 1px solid #000;
    padding: 5px 10px;
    margin-top: -1px;
    text-decoration: none;
    text-align: center;
}
body.page-home nav.menu ul li a {
    background-color: #fff;
}
nav.menu ul li a:hover,
nav.menu ul li a:active,
.page-home nav.menu ul li a:hover,
.page-home nav.menu ul li a:active {
    color: white;
    background-color: #000;
}

/* ==============
    ALL LOGOS
   ============== */

.home-logo {
    max-width: 250px;
}
.page-logo {
    display: inline-block;
    padding: 2px 6px;
    font-size: 2.4em;
    line-height: 1em;
    font-family: 'Archive', sans-serif;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
}
.page-logo:hover {
    color: #000;
}
.page-logo-baseline {
    font-family: 'Archive', sans-serif;
}


/* ==============
    MOBILE: Layout
   ============== */

 .content {
     padding: 0 30px;
     line-height: 1.4;
    /* margin-bottom: 2em; */
 }
 .content-logo {
    max-width: 250px;
 }
 .footer {
     font-size: 0.9em;
     padding: 0px 30px 180px 30px; /*avant 30-30-50-30px */ /*avant 30-30-180-30px */
     margin-top: auto;
     text-align: center;
 }
 .footer p {
    margin-bottom: 0.4em;
}
.footer a {
    color: inherit;
    text-decoration: none;
}
.footer-bloc {
    margin-bottom: 1em;
}
.footer-bloc.menu-item {
    margin-top: -1px;
    margin-bottom: 0;
}
.footer-bloc:last-child {
    margin-bottom: 0;
}
.bordered-block {
     display: inline-block;
     border: 1px solid #000;
     padding: 5px 15px;
 }

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    -ms-box-sizing:     border-box;
    -o-box-sizing:      border-box;
    box-sizing:         border-box;     
}

.main-inner {
    padding: 0 30px;
}


/* ============================
    PAGES BACKGROUNDS
   ============================ */

.page {
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

/* Larger than mobile */
@media (min-width: 400px) {


}

/* Larger than phablet */
@media (min-width: 550px) {

    /* ==============
        PHABLET: Navbar
    ============== */

    header.navbar-home {
        display: flex;
    }
    header.navbar-reverse {
        flex-direction: row-reverse;
    }
    header.navbar .navbar-end {
        position: relative;
        margin: 0 0 0 auto;
    }


    /* ==============
        MOBILE: Menu
    ============== */

    nav.menu ul li a {
        display: inline-block;
    }

}

/* Larger than tablet */
@media (min-width: 750px) {
    body {
        font-size: 1.3em;
    }    

    .footer {
        text-align: left;
    }   

    header.navbar .arrow-back {
        max-width: 40px;
    }
    
    .page-archistorm { background-image: url('/img/archistorm/background.jpg'); }   
    .page-archibooks { background-image: url('/img/archibooks/background.jpg'); }   
    .page-evenements { background-image: url('/img/evenements/background.jpg'); }   
    /*.page-archilib { background-image: url('/img/archilib/background.jpg'); }*/   

    .background-mobile {
        display: none;
    }

    .page-two-cols .content {
        width: 50%;
    }
}

/* Larger than desktop */
@media (max-width: 1000px) {
    .content .columns {
        width: 100%;
        margin: 0;
    }    
}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}


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

.hidden {
    display: none !important;
    visibility: hidden;
}
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
.invisible {
    visibility: hidden;
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
.text-archive {
    font-family: 'Archive', sans-serif;
}
.responsive-img {
    max-width: 100%;
    height: auto;      
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !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) ")";
    }
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    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;
    }
}

.no-margin {
    margin: 0 !important;
}