/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-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;
    background: #ccc;
    color: #000;
    padding: 0.5em;
}


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

body {
    font: 16px/26px Lato, sans-serif;
}

.wrapper {
    position: relative;
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    background: 0 0;
    height: 64px;
    padding: 5px 0;
}
.header-container .logo-container {
    position: absolute;
    top: 5px;
    left: 0px;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}

.logo-container {
    display: inline-block;
    position: relative;
    height: 120px;
    width: 180px;
}

.logo-container .logo-img {
    width: 88px;
    height: 100px;
    position: absolute;
    left: 0;
    top: 0;
}

.logo-container .logo-text {
    margin: 0 0 0 93px;
    text-shadow: 1px 1px 1px rgba(0,0,0,.1);
    color: #EEE;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 400;
}

h1.logo-text {
    font-size: 44px;
}
h2.logo-text {
    font-size: 27px;
}

/* ==============
    MOBILE: Menu
   ============== */
nav[role="desktop"] {
    display: none;
    float: right;
}
nav a {
    display: block;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    color: #EEE;
    text-shadow: 1px 1px 1px rgba(0,0,0,.1);
}

nav a:hover,
nav a:visited,
nav a:focus,
nav a:active {
    color: #EEE;
}

.menu-icon {
    float: right;
    color: #EEE;
    padding: 20px;
    background-image: url(/img/ic_menu.svg);
    background-size: 40px;
}

.menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 150;
}

.menu--visible {
    pointer-events: auto;
}

.app-menu {
    background-color: #222;
    padding: 20px;
    position: relative;
    left: 60%;
    max-width: 400px;
    width: 40%;
    height: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    -webkit-transform: translateX(103%);
            transform: translateX(103%);
    will-change: transform;
    z-index: 160;
    pointer-events: auto;            
}

.menu--visible .app-menu {
    -webkit-transform: none;
            transform: none;
}

.menu--animatable .app-menu {
    transition: all 130ms ease-out;
}

.menu--visible.menu--animatable  .app-menu {
    transition: all 330ms ease-in;
}

.menu:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    will-change: opacity;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0,0,0.3,1);
}

.menu--visible.menu:after {
    opacity: 1;
    pointer-events: auto;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main .lead {
    font-size: 24px;
    font-weight: 300;
}

.main article h1 {
    font-size: 2em;
    line-height: 1;
}

.main article a {
    color: #222;
}

.main article h3 small {
    margin-left: 10px;
}

.main h3 i.logo {
    display: inline-block;
    width: 50px;
    height: 44px;
    background-image: url(/img/logo.svg);
    background-size: 50px 44px;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.main .img-aside img {
    display: block;
    max-width: 100%;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

footer address {
    font-style: normal;
}

footer .logo-container {
    width: 62%;
}

.slide {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/logo600sx.jpeg);
    background-size: cover;
    background-position: center center;
    height: 300px;
    margin-top: -80px;
    position: relative;
    z-index: -1;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 640px) {
    nav[role="desktop"] {
        display: block;
    }
    
    nav[role="desktop"] a {
        float: left;
    }

    .menu, .menu-icon {
        display: none;
    }
}

@media only screen and (min-width: 768px) {


    footer .col {
        float: left;
    }


/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }

    .main .img-aside {
        float: right;
        width: 36%;
        padding-top: 80px;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

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

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