/*! HTML5 Boilerplate v6.1.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;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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{
    box-sizing: border-box;
}

*,*:before,*after:{
    box-sizing: inherit;
}

body{
    background-color: #f2f2f2;
    font-family: 'Open Sans', sans-serif;
}

/*Globales*/
.section{
    padding: 30px 0;
}
.section p {
    font-size: 1.2em;
    text-align: center;
}

h2{
    font-family: 'Oswald', sans-serif;
    font-size: 2.4em;
    text-transform: uppercase;
    text-align: center;
}

h2::after{  /*Siempre despues de un after o before es necesario usar content*/
    content: '';
    margin: 0 auto;
    background-image: url(../img/separador.png);
    height: 30px;
    width: 100px;
    display: block;
}

h3 {
    font-size: 1.8em;
    color: #fe4918;
    font-family: 'PT Sans', sans-serif;
    margin: 0;
}

.button{
    background-color: #fe4918;
    padding: 10px 40px;
    color: #FFFFFF;
    display: inline-block;
    margin-top: 20px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s ease;
    border: 1px solid #fe4918;
}

.button.hollow,
.bdutton.hollow:hover{
    background-color: #FFFFFF;
    color: #fe4918;
}

.button.transparente{
    background-color: transparent;
    border: 2px solid #FFFFFF;
}
.button.transparente:hover{
    border-color: #fe4918;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

.button:hover {
    background-color: #e33000;
}

.float-right{
    float: right;
}

/**lettering**/

h1.nombre-sitio span{
    position: relative; 
    text-shadow: 0 0 30px black;  /* x, y, profundidad*/

}

@media only screen and (min-width: 992px){
    .char1{
        top:20px; right:0px;
    }
    .char2{
        top:0px; right:-10px;
         
    }
    .char3{
        top:10px; right:5px; 
        
    }
    .char4{
        top:5px; right:0px; 
       
    }
    .char5{
        top:15px; right:10px;
         
    }
    .char6{
        top:5px; right:10px;   
        
    }
    .char7{
        top: 20px; right:-10px;  
         
    }
    .char8{
        top: 0px; right:10px; 
           
    }
    .char9{
        top: 10px; right:20px;
         
    }
   
}

.contenedor{
    width: 98%;
    margin: 0 auto;
}
@media only screen and (min-width: 480px) {
    .contenedor {
        width: 95%;
        margin: 0 auto;
    }

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

    .contenedor {
        width: 90%;
        margin: 0 auto;
    }
}   
@media only screen and (min-width: 992px) {
    .contenedor {
        width: 90%;
        margin: 0 auto;
        max-width: 1100px;
    }
}

/*header*/
div.hero {
    background-image: url(../img/logo1.jpg);
    height: 100vh;  /*Toma el 100% de la ventana*/
    background-position: top center;
    background-size: cover;
}

div.contenido-header {
    padding-top: 40px;
}

@media only screen and (min-width: 768px){
    div.contenido-header{
        padding-top: 10px;
    }
}

nav.redes-sociales{

    text-align: center;
}
nav.redes-sociales a {
    color: #FFFFFF;
    font-size: 2em;
    margin-right: 20px;
}
nav.redes-sociales a:last-child{
    margin-right: 0;
}
div.informacion-evento {
    text-align: center;
    color: #FFFFFF;
}

@media only screen and (min-width: 768px){
    div.informacion-evento {
        width: 70%;
        margin: 0 auto;
        margin-top: 50px;
    }

}

div.informacion-evento p {
    margin: 0;
    display: inline;
    font-size: 20px;
    text-transform: uppercase;
}

div.informacion-evento p i {
    color: #fe4918;
    font-size: 2em;
}
p.fecha {
    float: left;
}
p.ciudad{
    float: right;
    text-align: right;
}
p.slogan{
    text-transform: none!important ;
}

p.slogan span {
    font-weight: bold;
}

a.slogan{
    text-transform: none!important ;
}

a.slogan span {
    font-weight: bold;
}

h1.nombre-sitio{
    font-size: 5.9vw;
    text-transform: uppercase;
    font-family: 'PT Sans', sans-serif;


}

@media only screen and(min-width: 768px){
    h1.nombre-sitio{
        font-size: 11.5vw;
        margin: 0;
        line-height: 1;
    }
}


/*Barra*/
div.barra{
    background-color: #353535;
    padding: 20px 0 ;
}

.fixed{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2

}

div.logo  {
    width: 80%;
}

div.logo img {
    width: 100%;
    float: left;
}

@media only screen and (min-width: 768px){
    div.logo  {
        width: 33%;
        
    }
}

/*Navegacion*/
nav.navegacion-principal{
   display: none;
   width: 100%;
}
nav.navegacion-principal a {
    font-family: 'Oswald' , sans-serif;
    color: #FFFFFF;
    font-size: 1.3em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .6s ease;
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

nav.navegacion-principal a:hover {
    background-color: #fe4918;
}

nav.navegacion-principal a:last-child{
    border: 2px solid #fe4918;
    color: #fe4918;
}

nav.navegacion-principal a:last-child:hover {
    color: #FFFFFF;
}

@media only screen and (min-width: 768px) {
    nav.navegacion-principal {
        width: 67%;
        float: right;
        text-align: center;
        display: block;
    }
    nav.navegacion-principal a {
        padding: 10px 10px;
        display: inline-block;
        width: auto;
        display: inline-block;
        text-align: center;
        margin: 0 10px 0 0 ;
    }

}

/*menu movil*/
div.menu-movil {
    width: 60px;
    display: block;
    float: right;
    text-align: right;
    margin-top: 20px;
}
div.menu-movil:hover {

    cursor: pointer;
}

@media only screen and (min-width: 768px){
    div.menu-movil{
        display: none;
    }
}

div.menu-movil span {
    height: 8px;
    margin-bottom: 6px;
    background-color: #FFFFFF;
    display: block;
}

/*Talleres*/

section.programa {
    position: relative;  /*El padre debe tener posión relativa y el hijo absoluta*/

}

div.contenedor-video{
    max-width: 100%;
    overflow-x: hidden;  /*En caso que el video se salga impide recorrerse*/
}

div.contenido-programa{
    position: absolute; /*El hijo debe tener position absoluta*/
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

div.programa-evento {
    background-color: rgba(255,255,255,.8);
    padding: 15px;
    margin-top: 80px;
}

@media only screen and (min-width: 768px){
    div.programa-evento{
        width: 70%;
    }
}

@media only screen and (min-width:992px){
    div.programa-evento {
        width: 50%;
    }
}

nav.menu-programa{
    width: 100%;
    border-bottom: 1px solid #fe4918;
    font-size: 1.2em;
}

@media only screen and (min-width: 768px){
    nav.menu-programa{
        display: table;
    }
}

nav.menu-programa a {
    display: block;
    text-align: center;
    color: #000000;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 10px;
    font-size: 1.2em;
    position: relative;
        padding-bottom: 10px;
}

nav.menu-programa a.activo::after{
    position: absolute;
    content: '';
    /*posicionar de forma horizontal cuando se utliza position relative y absolute*/
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    height: 20px;
    width: 30px;
    background-image: url('../img/talleres-flecha.jpg');
    bottom: -20px;
    background-position: top center;
    background-repeat: no-repeat;

}

@media only screen and (min-width: 768px){
    nav.menu-programa a {   
        display: table-cell;

    }
}
nav.menu-programa a i,
div.detalle-evento p i {
    color: #fe4918;
    font-size: 1.6em;
    margin-right: 10px; 
}

/*Detalle Evento*/

div.detalle-evento{
    margin-top: 20px;
    border-bottom: 1px solid #000000;
    padding: 0 20px;
}
div.detalle-evento:nth-child(2){
    border:none;
}

div.detalle-evento p {
    margin-bottom: 20px;
    font-size: 20px;
}

/*Invitados*/
ul.lista-invitados li {
    padding: 10px;
    float: left;
}

@media only screen and (min-width: 480px){
    ul.lista-invitados li {
        width:46%; 
    }
}
@media only screen and (min-width: 768px) {
    ul.lista-invitados li {
        width: 31%;
}

div.invitado {
    position: relative;
    overflow: hidden;
}

div.invitado img {
    max-width: 100%;
    filter: gray;
    -webkit-filter: grayscale(1);  
    -webkit-transition: all .5s ease-in-out;                     /*efectos*/
}

div.invitado:hover img {
    
    -webkit-filter: grayscale(0);
    -webkit-transform: scale(1.1) ;
    transform: rotate(3deg);
    cursor: pointer;  
}

div.invitado p{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 10px;
    margin 0;
    background-color: rgba(0,0,0,.55);
    width: 100%;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    color: #fe4918;
    text-transform: uppercase;
    -webkit-transition: all .5s ease-in-out;
}

div.invitado:hover p{
    bottom: -80px;
    opacity:0;
}

/*Contador*/
.parallax::before{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: cover;
    background-position: center center;
    background-attachment: fixed;
    -webkit-filter: brightness(.8);
    filter: brightness(.8);
}

div.contador{
    position: relative;
    height: auto;
}

div.contador::before{
    background-image: url(../img/bg-resumen.jpg);
    content: ''
}

ul.resumen-evento{
    position: relative;
    padding: 120px 0;
}

ul.resumen-evento li {
    width: 50%;
    float: left;
    text-align: center;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;

}

@media only screen and (min-width: 768px){
    ul.resumen-evento li {
        width: 25%;
}

p.numero {
    color: #fe4918;
    font-size: 4em;
    display: block;
    margin: 0 0 10px 0;
    font-family: 'Oswald', sans-serif;
}

/*Tabla de precios*/

ul.lista-precios > li {
    padding: 10px;
}

@media only screen and (min-width: 768px){
    ul.lista-precios > li {
        float: left;
        width: 31.5%; 
    }

}

div.tabla-precio {
    border: 1px solid #e1e1e1;
    background-color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
    transition: all .3s ease;
    
}

div.tabla-precio:hover{
    transform: scale(1.1);
    border: 1px solid #fe4918;
    box-shadow: 0px 0px 50px #666;
    transition: all .3s ease;
}

div.tabla-precio ul li {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #868686;
    line-height: 26px;
}

div.tabla-precio ul li::before{
   font-family:"Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    vertical-align: top;
    padding: 0 5px;
    font-size: 20px;
    color: green;
    -webkit-font-smoothing:antialiased;
    content: '\f00c';
}

div.tabla-precio h3{
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

div.tabla-precio p.numero {
    color: #000000;
    margin-top: 20px 0;
}

/*MAPÁ*/

div.mapa{
    height: 420px;
    
}

/*Testimoniales*/

div.testimoniales{
    padding-bottom: 20px;
}

div.testimonial {
    padding: 5px;

    
}

@media only screen and (min-width: 768px){
    div.testimonial {
        float: left;
        width: 32.3%;
    }
}

blockquote{
    background-color: #FFFFFF;
    border: 1px solid #e1e1e1;
    position: relative;
    margin: 0 0 10px 0;
    padding-bottom: 20px;
}

blockquote p {
    text-align: justify;
    font-size: 1em;
    font-family: 'PT Sans', sans-serif;
    padding: 0 20px 0 65px;
}

blockquote p:before {
    content: '\201c';
    position: absolute;
    font-size: 8rem;
    left: 13px;
    top: 6px;
    margin: 0;
    padding: 0;
    line-height: 1;
    color: #fe4918;
}

footer.info-testimonial {
    padding: 0;
    background-color: transparent;
}

footer.info-testimonial img {
    float: left;
    width: 20%;
    border-radius: 50%;
    margin-left: 20px;
    
}

footer.info-testimonial cite {
    text-align: left;
    color: #fe4918;
    text-transform: uppercase;
    font-size: 12px;
    padding-top: 20px;
    width: 66.66%;
    float: right;
    font-weight: bold;
    font-style: normal;
}

footer.info-testimonial cite span {
   color: #000000;
   display: block;
   text-transform: none;
   margin-top: 10px;
}

/*Newletter*/

div.newsletter {
    position: relative;
    height: auto;
}

div.newsletter::before {
    background-image: url(../img/bg-newsletter.jpg);
    content: '';
}
div.newsletter .contenido{
    padding: 100px 0;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}

div.newsletter .contenido p {
    font-size: 1.2em;
    text-transform: lowercase;
}

div.newsletter .contenido h3 {
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 7vw;
    font-family: 'PT Sans', sans-serif;

}

/*Cuenta regresiva*/

div.cuenta-regresiva ul li{
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    text-align: center;
}

@media only screen and (min-width: 768px){
    div.cuenta-regresiva ul li {
        width: 25%;
        float: left;
    }
}


/*Footer*/

footer {
    background-color: #353535;
    padding-top: 40px;
    margin-top: 20px;

}

footer .contenedor > div{
    color: #FFFFFF;
    padding: 0 20px;
    font-size: 12px;
    text-align: justify;

}

@media only screen and (min-width:768px){
    footer .contenedor >div {
        float: left;
        width: 25%;
    }
}

footer h3 {
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
}

footer h3 span {
    color: #fe4918;
}

footer .ultimos-teweets li {
    margin-bottom: 20px;
}

footer nav.redes-sociales {
    text-align: left;
}

p.copyright {
    background-color: #2e2e2e;
    padding: 10px 0;
    margin:20px 0 0 0;
    color: #FFFFFF;
    text-align: center;
}


/**INTERNAS**/

/*Conferencias*/

div.galeria a{
    display: inline-block;
    margin-bottom: 5px;
}

.navegacion-principal .activo{
    border-bottom: 2px solid #fe4918;
}

/*Registro*/

form.registro h3 {
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
}

form.registro label{
    margin-top: 5px;
    font-weight: bold;
}
h4{
    text-align: center;
    text-transform: uppercase;
    border-bottom: 2px solid #fe4918;
    padding-bottom: 10px;
    font-size: 1.2em;
}

div.caja {
    background-color: white;
    border: 1px solid #e1e1e1;
    padding: 10px;
    margin: 10px;
}

div.campo {
    padding: 20px;

}

@media only screen and (min-width: 768px){
    div.campo {
        float: left;
        width: 29%;
    }
}

div.paquetes .tabla-precio:hover {
    transform: none;
    box-shadow: none;
}

div.paquetes .tabla-precio input {
    clear: both;
    width: 20%;
    margin: 10px auto 0 auto;
    display: block;
}

.contenido-dia{
    padding: 20px;
    display: none;*/
}


@media only screen and (min-width: 768px){
    .contenido-dia>div{
       float: left;
       width: 33.33%;
    }
}

.contenido-dia>div p{
    text-align: left;
    
}

.contenido-dia>div label {
    display: block;
    margin-bottom: 10px;
}

.contenido-dia>div input {
    margin-right: 10px;
}
.contenido-dia>div label time {
    color: #fe4918;
    font-weight: bold;
}

/*Resumen registro*/

div.resumen p {
    font-size: 1.2em;
    text-transform: uppercase;
}

div.resumen div.extras{
    float: left;
    width:50%;
    padding: 30px;
}
div.extras div.orden {
    text-align: left;
    margin-bottom: 10px;
}

div.extras div.orden input {
    margin-top: 10px;
}

div.resumen div.total{
    float: right;
    width: 40%;
    text-align: center;

}

#lista_productos {
    background-color: #e1e1e1;
    text-align: left;
    padding: 20px;
    display: none;
}

#suma_total{
    text-align: center;
    font-size: 2em;
    color: #fe4918;
}

#error{
    clar: both;
    padding: 20px;
    text-align: center;
    display: none;
}

input[disabled].button {
    opacity: .5;
}

#btnRegistro {
    background-color: red;
}

/**Calendario**/

div.calendario h3 {
    background-color: #fe4918;
    clear: both;
    color: white;
    text-align: center;
    padding: 10px 0;
}

div.calendario:after{
    clear: both;
    display: block;
    content: '';
}

div.dia{
    width: 50%;
    float: left;
    border: 1px solid #e1e1e1;
}

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

    div.dia{
        width: 33%;
        min-height: 240px;
        padding-top: 20px;
        transition: all .3s ease;
    }

}

div.dia:hover{
    background-color: #e1e1e1;
    -webkit-transform: scale(1.1);
}

div.dia p.titulo{
    color: #fe4918;
    text-transform: uppercase;
    font-weight: bold;
}

div.dia p {
    font-size: 1em;
}

div.dia i {
    color: #fe4918;
    font-size: 1.6em;
}

/***ColorBox***/

div.cboxElement {
    padding: 30px!important;
    text-align: center!important;

}



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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    white-space: inherit;
}

/*
 * 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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    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;
    }

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

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