
/*@font-face {
    font-family: 'Futura';
    src: url('../fonts/FuturaStd-Book.eot?#iefix') format('embedded-opentype'), url('../fonts/FuturaStd-Book.woff') format('woff'), url('../fonts/FuturaStd-Book.ttf') format('truetype'), url('../fonts/FuturaStd-Book.svg#FuturaStd-Book') format('svg');
    font-weight: normal;
    font-style: normal;
}*/

/*! HTML5 Boilerplate v5.3.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;
    font-family: 'Futura', sans-serif;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', sans-serif;
    font-weight: normal;
}

#top {
    background: #f4f4f4;
    color: #999;
    font-size: 0.6em;
    padding: 0.7em 0.5em;
    position: relative;
    text-align:center;
}

    #top ul li {
        display: inline-block;
        width: 25%;
        margin: 0 -3px;
        text-align: center;
    }

ul {
    padding: 0;
    margin: 0;
}

header {
    position: relative;
    text-align: center;
    padding: 2em 0;
}

    header:before {
        content: "";
        background: url(../../Imagenes/color-bar-2.png) repeat-y;
        background-size: 100%;
        bottom: -8px;
        height: 8px;
        left: 0;
        position: absolute;
        width: 100%;
    }

    header img {
        max-width: 90%;
    }

#content {
    padding: 4em 0;
    position: relative;
}

    #content:after {
        background: url(../../Imagenes/color-bar-2.png);
        content: "";
        height: 9px;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
    }


    #content .log-box {
        border-radius: 4px;
        border: 1px solid #0e4859;
        width: 90%;
        max-width: 570px;
        margin: auto;
    }

        #content .log-box .header-box {
            background: #2585A4;
            color: #fff;
            font-size: 1.250em;
            padding: 0.6em;
        }

.header-box h2 {
    margin: 0;
    display: inline-block;
    width: 60%;
    font-size: 1.250em;
}

.header-box a {
    text-align: right;
    display: inline-block;
    width: 38%;
    color: #fff;
    font-size: 0.750em;
    text-decoration: none;
}

.input-box {
    padding: 2em 1.5em 4.5em;
}

.input-group input {
    border: 1px solid #dddddd;
    padding: 0.8em;
    width: 100%;
    border-radius: 3px;
    padding-left: 3.5em;
    box-sizing: border-box;
}

.input-box .input-group {
    margin-bottom: 1em;
    position: relative;
}

.input-group span {
    background: #ededed;
    padding: .68em 1em;
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 0px;
    border-radius: 3px 0 0 3px;
    border-right: 1px solid #ddd;
    width: 43px;
}

.input-box input[type="submit"] {
    background: #c81b17;
    border-radius: 3px;
    border: none;
    box-shadow: none;
    color: #fff;
    padding: 0.8em;
    float: right;
}

span.icon:before {
    left: 8px;
}

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

.social {
    max-width: 280px;
    width: 100%;
    margin: auto;
    padding: 3em 0;
}

    .social ul li {
        display: inline-block;
        width: 20%;
        margin: 0px -2px;
        text-align: center;
    }

        .social ul li a {
            width: 39px;
            height: 39px;
            background-repeat: no-repeat;
            background-position: center;
            width: 100%;
            height: 39px;
            display: block;
            text-indent: -9999px;
        }

        .social ul li:nth-child(1) a {
            background-image: url(../../Imagenes/icon-ig.png);
        }

        .social ul li:nth-child(2) a {
            background-image: url(../../Imagenes/icon-fb.png);
        }

        .social ul li:nth-child(3) a {
            background-image: url(../../Imagenes/icon-tw.png);
        }

        .social ul li:nth-child(4) a {
            background-image: url(../../Imagenes/icon-yt.png);
        }

        .social ul li:nth-child(5) a {
            background-image: url(../../Imagenes/icon-fl.png);
        }

.contact {
    background: #f4f4f4;
    border-radius: 3px;
    padding: 0.7em;
    max-width: 800px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}

    .contact ul li {
        display: inline-block;
        width: 33%;
        margin: 0px -2px;
        color: #2e2e2e;
    }

.icon {
    padding-left: 1.4em;
    box-sizing: border-box;
    position: relative;
}

    .icon:before {
        content: "";
        height: 22px;
        left: 0;
        position: absolute;
        width: 22px;
    }

.i-tel:before {
    background-image: url(../../Imagenes/icon-sm-tel.png);
}

.i-key:before {
    background-image: url(../../Imagenes/icon-sm-key.png);
}

.i-world:before {
    background-image: url(../../Imagenes/icon-sm-world.png);
}

.i-user:before {
    background-image: url(../../Imagenes/icon-sm-user.png);
}

.i-mail:before {
    background-image: url(../../Imagenes/icon-sm-mail.png);
}

@media screen and (min-width: 501px) and (max-width: 768px) {
    .contact ul li {
        font-size: .9em;
    }
}


@media screen and (max-width: 500px) {

    .header-box h2 {
        width: 50%;
        font-size: .9em;
    }

    .header-box a {
        width: 48%;
    }

    .input-box {
        padding: 1em 1em 4.5em;
    }

    .contact ul li {
        width: 90%;
        margin: auto;
        text-align: center;
        margin: .3em 0;
    }

        .contact ul li:before {
            display: none;
        }
}

/* ==========================================================================
   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,
    *:first-letter,
    *:first-line {
        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;
    }
}
