/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Montserrat');
* {
    font-family: 'Montserrat', sans-serif;
}

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

.hide {
    display: none;
}

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

html {
    height: 100%;
    width: 100%;
    font-family: 'Shadows Into Light Two', cursive;
}

.clear {
    clear: both;
}

.send {
    color: #FFF;
    display: block;
    float: right;
    width: fit-content;
    margin-right: 5%;
    margin-bottom: 20px;
    background-color: #6c91cb;
    text-decoration: none;
    padding: 5px 15px 5px;
    font-size: 26px;
}

.send:hover {
    background-color: #003b68;
}

body {
    background: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
    position: relative;
    width: 100%;
    height: 100%;
}

.formuLogin {
    margin: 0 auto;
    max-width: 350px;
    margin-top: 0;
    padding-top: 0;

}

.formLogin {
    position: relative;
    padding: 25px;
    background-color: #fff;
    -webkit-box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 5px 5px 20px 5px rgba(0, 0, 0, 0.2);
}

.formLogin:before {
    position: absolute;
    top: -15px;
    left: -15px;
    height: 35px;
    width: 35px;
    border-radius: 30px;
    content: "";
    background-color: #6c91cb;
    z-index: 100;
}

.formLogin:after {
    position: absolute;
    bottom: 50px;
    right: -15px;
    height: 24px;
    width: 24px;
    border-radius: 20px;
    content: "";
    background-color: #6c91cb;
    z-index: 100;
}

section {
    float: left;
    width: 100%;

}

.logo {
    width: 200px;
    margin: 0 auto 0;
    padding-top: 35px;
}

.logo h1 {
    text-indent: -99999px;
    color: #FFF;
}

/* Estilos formulario modal */

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialog > div {
/*    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999); */
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}

.close {
    background: #6c91cb;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: #003b68;
}

/* Vídeo Youtube */

.videoBox {
    width: 90%;
    margin: 0 auto 0;
    margin-bottom: 50px;
}

.videoBox .videoYouTube {
    height: 0px;
    width: 100%;
    max-width: 1600px;
    padding-top: 56.25%;
    position: relative;
}


.videoBox .videoYouTube video {
    position: absolute;
    height: auto;
    width: 100%;
    top: 0px;
    left: 0px;
}

/* Ocultar controles Youtube */

.ytp-chrome-top,
.ytp-title. .ytp-title-channel,
.ytp-title-text,
.ytp-chrome-top-buttons {
    display: none !important;
}

.ytp-pause-overlay-controls-hidden {
    display: none !important;
}

.ytp-watermark {
    display: none !important;
}

.text {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 50px;
    line-height: 60px;
}

.text p {
    color: #FFF;
    text-align: center;
    margin: 0;
    background-color: #81cff5;
}

.h0 {
    height: 0;
    margin: 0;
}

.formulario {
    background: #FFF;
    padding: 15px 15px 15px;
    width: 60%;
    position: absolute;
    left: 20%;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    box-sizing: border-box;

}

.flag {
    float: left;
    box-sizing: border-box;
    padding-left: 10px;
}

.flag a {
    padding-left: 60px;
    position: relative;
    float: left;
    font-size: 22px;
    color: #636363;
    text-decoration: none;
}

.flag a:hover {
    color: #000;
}

.cerrar {
    float: right;
    padding: 3px 10px 0;
    box-sizing: border-box;
    position: relative;
}

.cerrar a {
    position: relative;
    float: left;
    font-size: 15px;
    color: #636363;
    text-decoration: none;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
}

.cerrar a:hover {
    color: #000;
}

.cerrar a:hover:after {
    background: none repeat scroll 0 0 #000;
    -ms-transform: rotate(55deg);
    -webkit-transform: rotate(55deg);
    -moz-transform: rotate(55deg);
    -o-transform: rotate(55deg);
    transform: rotate(55deg);
}

.cerrar a:hover:before {
    background: none repeat scroll 0 0 #000;
    -ms-transform: rotate(-55deg);
    -webkit-transform: rotate(-55deg);
    -moz-transform: rotate(-55deg);
    -o-transform: rotate(-55deg);
    transform: rotate(-55deg);
}

.cerrar a:after {
    background: none repeat scroll 0 0 #bdc3c7;
    content: "";
    height: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    width: 2px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cerrar a:before {
    background: none repeat scroll 0 0 #bdc3c7;
    content: "";
    height: 100%;
    left: 50%;
    position: absolute;
    top: 0;
    width: 2px;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.eng a:after {
    background: url("../img/engFlag.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    clear: both;
    content: "";
    height: 24px;
    left: 0;
    margin-right: 5px;
    margin-top: 3px;
    position: absolute;
    top: -2px;
    width: 47px;
}

.esp a:after {
    background: url("../img/espFlag.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    clear: both;
    content: "";
    height: 24px;
    left: 0;
    margin-right: 5px;
    margin-top: 3px;
    position: absolute;
    top: -2px;
    width: 47px;
}

form {
    padding-top: 45px;
    box-sizing: border-box;
    float: left;
    width: 100%;
    height: auto;
    padding-bottom: 3px;
}

.fila {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 50px;
    height: auto;
}

.fila label {
    width: 40%;
    box-sizing: border-box;
    text-align: right;
    float: left;
    font-size: 26px;
    padding-right: 20px;
    color: #636363;
}

.fila input[type="text"] {
    float: left;
    width: 60%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #636363;
    padding: 0 10px 0;
    font-size: 22px;
    color: #6c91cb;
}

.fila input[type="email"] {
    float: left;
    width: 60%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #636363;
    padding: 0 10px 0;
    font-size: 22px;
    color: #6c91cb;
}

.fila input[type="password"] {
    float: left;
    width: 60%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #636363;
    padding: 0 10px 0;
    font-size: 22px;
    color: #6c91cb;
}

.fila p {
    float: left;
    margin: 0;
    font-size: 26px;
    color: #636363;
    padding-right: 20px;
    padding-left: 5px;
}

.fila input[type="radio"] {
    float: left;
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

.fila textarea {
    float: left;
    width: 60%;
    box-sizing: border-box;
    border: 1px solid #636363;
    padding: 10px;
    font-size: 22px;
    color: #6c91cb;
    resize: none;
    min-height: 200px;
}

.fila2 {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px;
    height: auto;
    margin-bottom: 10px;
}

.fila2 label {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    float: left;
    font-size: 26px;
    padding-right: 20px;
    color: #636363;
}

.fila2 input[type="text"],
.fila2 input[type="password"] {
    float: left;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #636363;
    padding: 0 10px 0;
    font-size: 22px;
    color: #6c91cb;
}

.fila2 p {
    float: left;
    margin: 0;
    font-size: 26px;
    color: #636363;
    padding-right: 20px;
    padding-left: 5px;
}

.fila2 input[type="radio"] {
    float: left;
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

.fila2 textarea {
    float: left;
    width: 70%;
    box-sizing: border-box;
    border: 1px solid #636363;
    padding: 10px;
    font-size: 22px;
    color: #6c91cb;
    resize: none;
    min-height: 200px;
}

.mensaje {
    margin-top: 30px;
}

input[type="submit"] {
    float: right;
    padding: 3px 20px 1px;
    background: #6c91cb;
    color: #FFF;
    margin-top: 25px;
    margin-right: 10px;
    font-size: 22px;
    border: none;
    transition: all 0.5s ease;
}

input[type="submit"]:hover {
    background: #636363;
    color: #FFF;
}

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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * 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 */
    .videoBox {
        width: 60%;
    }
    .logo {
        width: 300px;
    }
    .send {
        margin-right: 20%;
    }
}



@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(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;
    }
}
