/*! 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;
    background: #ebebeb;
    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,
 * 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
   ========================================================================== */

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #fff;
}

#wrapper {
    min-height: 100%;
    position: relative;
    background-color: #484848;
}

header {
    height: 50px;
    background: #202020;
    position: relative;
}

nav.menu {
    position: absolute;
    width: 285px;
    bottom: 0px;
    right: 45px;
}
nav.menu .lang {
    display: block;
    float: right;
}
nav.menu a {
    text-align: center;
    display: block;
    float: right;
    line-height: 32px;
    width: auto;
    margin: 0 100px 0 0;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    padding-bottom: 3px;
}
nav a:hover {
    padding-bottom: 0px;
    border-bottom: #ff5758 solid 3px;
}
nav a.lang-select {
    margin: 0;
    /* display: inline-block;*/
}

nav a.lang-select.selected {
    pointer-events: none;
    cursor: default;
}
nav a.lang-select.selected:hover {
    margin: 0;
    border-bottom: none;
}

nav .nav-separator {
    float: right;
    color: #fff;
    margin: 0 7px;
    line-height: 30px;
}
.content {
    padding-bottom: 75px;
    overflow: hidden;
}

.content .tenca-logo {
    width: 100%;
    background-color: #000000;
    font-size: 14px;
    text-align: center;
    padding: 0 0 25px 0;
}
.content .tenca-logo figure {
    width: 326px;
    padding: 45px 0;
    margin: 0 auto;
    pointer-events: none;
}

/*---------------------------------------------------------------*/

.content .logos {
    position: relative;
}

.content .logos .list-bg {
    position: absolute;
    background-color: #000000;
    height: 147px;
    width: 100%;
    z-index: 50;
}

.content .logos .list {
    width: 936px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 55;
}

.content .logos .list a {
    display: block;
    float: left;
    width: 312px;
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.content .logos .list a .logo-hover {
    line-height: 0px;
    padding: 30px 0;
}

/*---------------------------------------------------------------*/

.content .logos .list a figure.logo {
    display: block;
    width: 312px;
    height: 87px;
    margin: 0;
}
/*
.content .logos .list a.alma figure {
    background: url(../img/logos.png) no-repeat 0 0;
}
.content .logos .list a.csll figure {
    background: url(../img/logos.png) no-repeat 0px -87px;
}
.content .logos .list a.lenua figure {
    background: url(../img/logos.png) no-repeat 0px -174px;
}
.content .logos .list a.moonb figure {
    background: url(../img/logos.png) no-repeat 0px -261px;
}
*/

.content .logos .list a .logo-hover:hover {
    background-color: #e5e6e6;
}

.content .logos .list a .description {
    opacity: 0;
    text-transform: uppercase;
}

.content .logos .list a .static {
    display: none;
    background-color: #222;
    padding: 20px 0;
    pointer-events: none;
    text-transform: uppercase;
}
.content .logos .list a .static p {
    margin: 0;
    padding: 0 10%;
}

/*---------------------------------------------------------------*/

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 75px;
    width: 100%;
    background: #000000;
    font-family: "Roboto", sans-serif;
    color: #fff;
    font-size: 11px;
    text-align: center;
}

.footer .data {
    position: relative;
    width: 100%;
}

.footer .data .info {
    position: absolute;
    top: 20px;
    left: 25px;
}
.footer .data .info img {
    float: left;
}
.footer .data .info p {
    float: left;
    line-height: 11px;
    padding: 0px 15px;
    margin: 6px 0;
    text-align: left;
    font-weight: normal;
}

.footer .data .tenca {
    position: absolute;
    top: 35px;
    right: 45px;
    font-weight: normal;
}

.footer .data .tenca a {
    color: #fff;
    text-decoration: none;
}

.footer .data .tenca-logo {
    display: inline-block;
    margin: 0 0 0 6px;
}

@media only screen and (max-width: 1267px) and (min-width: 1050px) {
    nav.menu a.contact {
        margin: 0 55px 0 0;
    }
}

@media only screen and (max-width: 1050px) {
    nav.menu a.contact {
        margin: 0 55px 0 0;
    }
    .content .logos .list-bg {
        display: none;
    }
    .content .logos .list {
        width: 100%;
    }
    .content .logos .list a {
        width: 100%;
    }

    .content .logos .list a .logo-hover {
        background-color: #646464;
    }
    .content .logos .list a figure.logo {
        width: 312px;
        height: 87px;
        margin: 0 auto;
    }
    .content .logos .list a figure img {
        width: 100%;
    }
    .content .logos .list a .description {
        display: none;
    }
    .content .logos .list a .static {
        display: block;
        background-color: #484848;
    }
}

@media only screen and (max-width: 700px) {
    nav.menu a.contact {
        margin: 0 55px 0 0;
    }
}

@media only screen and (max-width: 500px) {
    .content .tenca-logo figure img {
        max-width: 85%;
    }
    nav.menu a {
        font-size: 14px;
    }
    nav.menu a.contact {
        margin: 0 35px 0 0;
    }

    nav.menu {
        right: 25px;
    }
}

/* ==========================================================================
   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;
    }
}
