/*! 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
   ========================================================================== */
@font-face{
	font-family: 'Sofia-Regular';
	src:url("../fuentes/Sofia-Regular.otf");
}

@font-face{
	font-family: 'Brandon_reg';
	src:url("../fuentes/Brandon_reg.otf");
}

@font-face{
	font-family: 'Brandon_light';
	src:url("../fuentes/Brandon_light.otf");
}


html {
    color: #676766;
    font-size: 1.2em;
    line-height: 1.4;
    font-family: 'Brandon_reg';

}

.tipo{
    font-family: 'Sofia-Regular';
}

.titulo{
    font-family: 'Brandon_light';
}



/*
 * 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;
}

img{
    max-width: 100%;
}

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

















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

.page{
    display: none;
}

.activa{
    display: block;
}


#overlay{display:none;}
#overlay-telefono{display:none;}

##header h3{margin:10px;margin-bottom:30px;}
#header h1{font-size:55px;margin:25px;}
#banner{padding:200px 30px;min-height:600px;font-size:20px;}
#banner h2{font-size:37px;margin:40px 0 30px;width:100%;}
#pie{padding:20px;border-top:solid 1px #1DA08D;}
#pie a{color:#CCC;}
#pie h3{font-size:30px;margin:-6px 10px;}

#overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.7);z-index:500;width:100%;height:100%;}
#overlay-telefono{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.7);z-index:500;width:100%;height:100%;}
.visible{display:block !important;}

/*
#carta-seleccionada{position:absolute;width:400px;height:450px;max-width:100%;top:50%;left:50%;margin-top:-225px;margin-left:-200px;border:solid 1px #F00;z-index:999;}
*/

#datos-tirada{width:400px;background-color:#FFF;padding:0;position:absolute;/*top:420px;*/
  margin: auto;
  left: 0; bottom: 0; right: 0;}
#datos-tirada p{margin:8px 0;}

#cerrar{right: 35%;top: 50px;position: absolute;font-size: 20px;}
#cerrar a{text-decoration:none;}

#contenedor-overlay{position:relative}

#continuar{position:absolute;z-index:9000;text-align:center;width:400px;text-transform:uppercase;left:50%;margin-left:-200px;max-width:100%;cursor:pointer;display:none;}

.bottom-number{font-size:24px;}

h1{
    font-weight: 500;
    font-size: 1.5em;
}

h2{
    font-weight: 400;
    padding-left: 10px;
    width: 266px;
    font-size: 17px;
}

h3{
    font-weight: 500;
    font-size:30px;
}

.semi-bold{
    font-weight: 500;
}

.bold{
    font-weight: 700;
}

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

#banner {
    background: url(../img/el-tarot-de-los-mensajes-noemi-lazaro.jpg) no-repeat;
    background-size: cover;
	background-position: center right;
    padding: 50px;
}


.subtitulo {
    padding-left: 57px;
}

.blanco{
    color: #fff
}

.lila{
    color: #76324f
}

.gris{
    color: #595858;
}
.azul{
    color: #1DA08D;
}

.verde{
    color: #007160;
}


.gris-oscuro{
    color: #3C3C3B;
}

.fondo-blanco{
    background-color: #fff;
}

.fondo-azul{
    background-color: #1DA08D;
}


.titulo {
    line-height: 30px;
}

.carta {
	/*position:absolute;*/
	visibility:hidden;
    width: calc(10% - 20px);
    float: left;
    margin: 0 10px 20px 10px;
    cursor:pointer;
}


#cartas-seleccionadas {
    overflow: hidden;
    background: #190000;
    background: -moz-linear-gradient(left, #190000 0%, #75334f 50%, #75334f 50%, #190000 100%);
    background: -webkit-linear-gradient(left, #190000 0%,#75334f 50%,#75334f 50%,#190000 100%);
    background: linear-gradient(to right, #190000 0%,#75334f 50%,#75334f 50%,#190000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#190000', endColorstr='#190000',GradientType=1 );
}

#contenedor-arriba{
    display: flex;
    flex-wrap: wrap ;
}

#contenedor-cartas {
    margin: 50px auto;
    /*overflow: hidden;*/
}

.contenedor-carta {
    margin: 10px;
    float: left;
    width: 66px;
}

.centrar {
    overflow: hidden;
    width: max-content;
    margin: 0 auto;
    margin-top: 50px;
}

#contenedor-cartas-seleccionadas {
    overflow: hidden;
    width: max-content;
    margin: 0 auto;
}

.cartaseleccionada{
    float: left;
    width: 130px;
    margin: 0 10px 0 10px;
}

#form-datos{width:100%;max-width:300px;margin:0 auto;}

#carta-formulario,#carta-llamada{margin:20px auto;text-align:center;}
#carta-formulario img,#carta-llamada img{width:385px;height:400px;border:solid 2px #1DA08D;}
#datos-tirada-llamada h3{font-size:36px;line-height:36px;margin:0;}
#datos-tirada-llamada h4{font-weight: normal;font-size: 20px;margin: 10px;}

.input {
    margin-bottom: 10px;
    height: 40px;
    border-radius: 0px;
    border: solid 1px #a6a6a6;
    color: #a6a6a6;
	padding:5px;
	width:100%;
	max-width:300px;
}
.input.button{ 
    background: #1DA08D;
    color: #fff;
    padding: 10px 20px;
    border: none;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 15px;
    display: block;
	height:auto;
	text-transform:uppercase;
	text-decoration:none;
}


@media (max-width: 1533px) {
	#banner h2{font-size:84px;}
	#cerrar{right: 34%;}
}

@media (max-width: 1432px) {
	#banner h2{font-size:74px;}
	#cerrar{right: 32%;}
}


@media (max-width: 1220px) {
	#banner h2{font-size:64px;}
	#banner{font-size:16px;min-height:525px;}
	#cerrar{right: 30%;}
}
@media (max-width: 1080px) {
	#banner h2{font-size:54px;}
	#cerrar{right: 27%;}
}
@media (max-width: 1023px) {
	#banner{background-position:center center;min-height:450px;}
	#cerrar{right: 25%;}
}

@media (max-width: 900px) {
	#cerrar{right: 22%;}
}
@media (max-width: 768px) {
	#cerrar{right: 18%;}
	#banner h2{font-size:25px;}
	#banner{font-size:14px;background-position:center center;min-height:350px;padding:20px 20px;}
    .carta {
        width: calc(20% - 10px);
        margin: 0 5px 10px 5px;
        float: left;
    }
}

@media (max-width: 700px) {
	#cerrar{right: 12%;top:30px;}
	#header h1{font-size:28px;margin:0px;width:100%;text-align:center;}
	#header h3{font-size:28px;margin-bottom:7px;width:100%;text-align:center;}
	#banner{font-size:16px;background-position:right center;min-height:350px;padding:0px;}
	.textobanner{padding-left:10px;padding-right:10px;background-color:rgba(255,255,255,0.8);height:100%;padding-top:30px;}
	#banner h2{margin:20px 0 30px;width:100%;}
	#datos-tirada{max-width:100%;font-size:14px;top:420px;}
    .carta {
        width: calc(20% - 10px);
        margin: 0 5px 10px 5px;
        float: left;
    }
	#pie{font-size:12px;text-align:center;}
	#pie h3{font-size:20px;margin:10px;clear:both;width:100%;float:none;text-align:center;}
}

@media (max-width: 480px) {
	#cerrar{right: 20px;top:20px;}
	#datos-tirada p{margin:2px 0;font-size:11px;}
	#datos-tirada p.bottom-number{font-size:24px;}
	#llamada #banner,#formulario #banner{display:none;}
}
