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

html,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}



/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { font-family: 'Roboto', sans-serif; font-weight: 300; color: #1E1E1E; font-size: 20px; transition: 0.3s; }
h1 { text-transform: uppercase; font-size: 50px; }
h2 { text-transform: uppercase; font-size: 47px; font-weight: 800!important;}
.fondoGrisClaro { background-color: #EEE; padding-top: 50px; padding-bottom: 50px; font-size: 20px; }
.fondoGrisClaro h2 { color: #e52828; }
.fondoBlanco { background: url(../img/textura.png) white; padding-top: 50px; padding-bottom: 50px; font-size: 20px; }
.fondoBlanco h2 { color: #e52828; }
.fondoBlanco h3 { color: #e52828; }
em { color: #e52828; }
.fondoRojo { background-color: #e52828; padding-top: 50px; padding-bottom: 50px; font-size: 18px; color: white; }
.fondoRojo h2 { color: white; }
.fondoGrisOscuro { background: url(../img/textura.png) #333; color: white; font-size: 15px; padding-top: 30px; padding-bottom: 30px; }
.fondoGrisOscuro h3 { font-size: 20px; font-weight: 500; text-transform: uppercase; }
.fondoGrisOscuro em { color: #EEE }
.textoChico { font-size: 16px; }

header { height: 120px; position: fixed; width: 100%; right: 0; left: 0; background: url(../img/fondoheader.png) right top no-repeat #CFD1D2; background-color: #002F66; z-index: 100; top: 0; border-bottom: 1px solid white; }
nav { background: none!important; border: none!important; }
/*.navbar a.active { color: #222!important; border: 2px solid #e52828; }*/
nav li a:link { font-weight: 200;text-decoration: none;text-transform: uppercase;font-size: 17px;padding-top: 30px;height: 45px;color: white!important;margin-right: 15px;transition: 0.3s; }
nav li a:visited { color: white; }
nav li a:hover { background-color: none!important; color: #80CFD5!important; }
.navbar-right { padding-top: 20px;padding-bottom: 40px;}
.navbar-brand { margin-left: 50px!important; margin-top: 0px; }


#home { margin-top: 120px; background-size: cover; height: 650px; }
.textoHome { width: 850px; margin: 0 auto; color: white; text-align: center; left: 0; right: 0; margin-top: 90px; }
.textoHome img { max-width: 450px; margin-top: 80px; }
.marcas { height: 170px; padding-top: 30px; text-transform: uppercase; }


@media (max-width: 767px){
    #grillaPatrocinios {display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 13vh auto auto auto;margin-bottom: 20px;}
    h3#Patrocinan {grid-column-start: 1; grid-column-end: 3;grid-row: 1; font-size: 13px;text-align: center;}
    h3#Auspician {grid-column-start: 1; grid-column-end: 3; grid-row: 4;font-size: 13px;text-align: center;}
    /*#grillaPatrocinios a.auspiciante {grid-row: 5;}*/
    #grillaPatrocinios > a > img {width: 100%;}
    #grillaPatrocinios img.eyey{    height: 100%;
    width: auto!important;margin: auto;}
    a.chivas {margin:auto;grid-column-start:1;grid-column-end:3;width: 50%;}
      a.linkEy {display: grid;}
  img.imagenSponsorEy {width: 70%;margin-left: 15%;}
    .auspiciantesMesas {width: 100%; margin:auto;}
    img.sponsorChivas{width: 50%;margin-left: 25%;}
    
}


@media (min-width: 768px){
    #grillaPatrocinios {display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: auto auto auto auto;align-items: center; width: 80%; margin:auto;}
    h3#Patrocinan {grid-column-start: 1; grid-column-end: 5;grid-row: 1;font-size: 16px;margin-left: 25px;text-align: center;}
    h3#Auspician {grid-column-start: 1; grid-column-end: 5; grid-row: 3;font-size: 16px; margin-left: 25px; text-align: center;}
    a.auspiciante {position: relative;left:12%;}
    #grillaPatrocinios > a > img {width: 100%;}
    #grillaPatrocinios img.eyey{width: 40%; margin-left:30%;}
      .sponsorEy {display: grid;}
      img.imagenSponsorEy {width: 70%;margin-left: 15%;}
      .auspiciantesMesas {width: 75%; margin:auto;}
      img.sponsorChivas {width: 100%;}


}


#que .izquierda { height: 200px; padding: 65px 30px 30px 250px; background: url(../img/arrow_celeste.png) 170px 70px no-repeat #B8BABC; color: white; font-size: 22px; }
#que .derecha { height: 200px; padding: 40px 250px 30px 110px; background: url(../img/arrow_azul.png) 30px 70px no-repeat #75CBD1; color: white; font-size: 22px; }

#invitado { background: url(../img/fondoorador.png) right top #CFD1D2; height: 680px; padding-top: 50px; }
#invitado .titulo { font-size: 40px; color: white; margin-top: 30px; font-weight: 600; }
#invitado .subtitulo { font-size: 34px; color: white; }

#mesas { background: url(../img/brillos.png) right top no-repeat; background-color: #949699; text-align: center; color: white; padding-top: 30px; padding-bottom: 50px; }
#mesas .mesa10 { font-size: 32px; text-transform: uppercase; }
#mesas .cuadroMesas { background-color: #75CBD1; height: 85px; margin-top: 20px; margin-bottom: 15px; text-transform: uppercase; font-size: 40px; padding-top: 18px; opacity: 0.9}
#mesas .precio { color: #75CBD1; font-size: 37px; opacity: 0.7}
#mesas .desarrollo { text-align: left; margin-top: 20px; margin-bottom: 20px; }
#mesas .lineaPunteada, #aliados .lineaPunteada { padding-top: 5px; margin-bottom: 20px; border-bottom: 5px dotted #75CBD1;}
.unSponsor { float: left;}
.unSponsor2 { float: left; margin-left: -20px; }
.unSponsor > a > img {width: 110%; position: relative;}

#sponsors .izquierda { height: 140px; padding: 20px 20px 30px 100px; background: url(../img/arrow_azul.png) 30px 40px no-repeat; color: white; font-size: 44px; border-right: 1px solid white; }
#sponsors .derecha { height: 140px; padding: 35px 20px 30px 50px; color: white; font-size: 22px; }

.contacto { color: #CFD1D2; text-align: center; font-size: 34px; padding-top: 40px; padding-bottom: 40px; }
.contacto a:link { color: white; }
.contacto a:visited { color: #75CBD1; }
.contacto a:hover { color: #07022F; }

#aliados h4 {text-align: center;}


#mesa { background-color: white; padding-top: 30px; min-height: 300px; text-align: center; }
#gala { background: url(../img/fondogala.png) right top no-repeat; background-color:#002F66; padding-top: 30px; padding-bottom: 50px; color: white; text-align: center;margin-top:50px;}
#gala img { width: 100%; margin-bottom: 25px; }

footer { background: url(../img/fondofooter.png) right top no-repeat; background-color: #002F66; border-top: 3px solid #75CBD1; height: 230px; padding-top: 70px; padding-left: 60px; padding-right: 60px; color: white; text-align: center; }
footer a:link { color: white; }
footer a:visited { color: white; }
.contacto a:hover { color: white; }


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}
.noMobile { display: block; }
.noDesktop {display: none;}


/* ==========================================================================
   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,
       (-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 required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
