/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */


/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * 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:
 * Eliminar texto-sombra en la selección resaltada:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 Los selectores de selección de prefijo de proveedor y regulares no se pueden combinar:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 Personaliza el color de fondo para que coincida con tu diseño.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 Una regla horizontal por defecto con mejor aspecto
 */

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:
 Eliminar el espacio entre audio, lienzo, iframes,
  * Imágenes, videos y la parte inferior de sus contenedores:
 * 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.
 Permitir solo redimensionamiento vertical de textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Browser Upgrade Prompt
   Mensaje de actualización del navegador
   ========================================================================== */

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


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


/* :root {
    --primaria: 'Tangerine', cursive;
    --tercera: 'Cinzel Decorative', cursive;
    --sexta: 'Amita', cursive;
    --primario: #f5cc84;
    --secundario: #975a00;
    --terciario: #6e4200;
    --rojologo: #992325;
    --fondo: #f8f8f8;
    --texto: #888;
    --borde: #ededed;
} */

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
}

html {
    box-sizing: border-box;
}

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

body {
    background-image: url('../img/fondo_piedraclara4.jpg');
    /*background-color: var(--fondo);
    /* font-family: var(--primaria); */
}

p.lolo {
    font-family: 'Tangerine', cursive;
    font-size: 3rem;
    color: #f8f8f8;
}


/*selectoresglobales*/

h2 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2.4em;
    color: #691c36;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

h2::after {
    /*para que ponga lo siguiente siempre despues de un h2*/
    content: '';
    /*¡¡¡siempre tras after o before, hay que poner un content*/
    margin: 0 auto;
    /* background-image: url(../img/separador.png); */
    height: 30px;
    width: 100px;
    display: block;
}

h3 {
    color: #6e4200;
    font-size: 1.8em;
    margin: 0;
}

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

.contenedor {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

@media ( max-width:768px) {
    .contenedor {
        width: 90%;
        flex-direction: column;
    }
}

.seccion {
    padding: 30px 0;
    background-image: url(../img/fondo_pizarra3.jpg);
    border-radius: 5%;
    display: block;
    margin-bottom: 2rem;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.seccion p {
    font-size: 2em;
    text-align: center;
}


/*  HEADER  */

.barra {
    background-image: url(../img/fondo_pizarra3.jpg);
    background-position: center;
    background-size: cover;
    height: 210px;
    max-width: 100%;
    padding: 1rem;
    /*  display: flex;
  justify-content: space-between;*/
    align-items: center;
    margin: 0 auto;
    border-radius: 5%;
    margin-top: 2rem;
}

.barra a {
    text-decoration: none;
}

.titulo_mov h2 {
    color: #f5cc84;
    margin-top: 1rem;
}

.img_logo {
    height: 100px;
}

.titulo_mov {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2.titulo {
    color: #f5cc84;
    margin-top: 50px;
    font-size: 3.5rem;
}

@media (min-width:768px) {
    .titulo_mov {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
    }
    .img_logo {
        height: 150px;
    }
    .titulo_mov h2 {
        color: #f5cc84;
        margin-top: 50px;
        font-size: 4.5rem;
    }
}


/*====================================================================================================
PARTE navegacion
=======================================*/

@media (min-width:768px) {
    .contenedor_barra_lateral {
        min-height: 100vh;
        width: 31%;
        /* background-color: wheat; */
        border-radius: 5px;
        margin-top: 1rem;
    }
    .contenedor_barra_lateral_min {
        min-height: 100vh;
        width: 5%;
        /*background-color: wheat;*/
        border-radius: 5px;
        margin-top: 1rem;
        display: none;
    }
}


/* .rrss {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
} */

.rrss {
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.rrss i {
    font-size: 2.5rem;
    color: green;
}

i.fa-map-marked-alt {
    font-size: 2.5rem;
    color: #992325;
}

.contenedor_barra_lateral {
    /* margin-top: 2rem; */
    /* background-color: #f5cc84; */
    /* background-image: url(../img/fondo_menu.jpg); */
    padding-top: 2rem;
}

.panel {
    padding: 1rem;
    margin: 1rem;
    display: none;
}

.menu-movil_min {
    display: none;
}

.menu-movil_max {
    display: none;
}

@media only screen and (min-width:750px) {
    .menu-movil {
        display: none;
    }
    .menu-movil_min {
        display: block;
    }
    .menu-movil_max {
        display: block;
    }
    .lista_lateral {
        display: block;
    }
}


/* .cont_menu_mov {
  display: flex;
  align-items: center;
} */

.menu-movil {
    margin-top: 2px;
    width: 50px;
}

.menu-movil:hover {
    cursor: pointer;
}

.menu-movil span {
    height: 5px;
    background-color: #992325;
    margin: 6px 0;
    display: block;
}

.menu-movil_min {
    margin-top: 2px;
    text-align: right;
}

.menu-movil_min:hover {
    cursor: pointer;
}

.menu-movil_min i {
    font-size: 2rem;
    color: #992325;
}

.menu-movil_max {
    margin-top: 2px;
    text-align: right;
}

.menu-movil_max:hover {
    cursor: pointer;
}

.menu-movil_max i {
    font-size: 2rem;
    color: #992325;
    padding-right: 1rem;
}

.panel a {
    font-weight: bold;
    text-decoration: none;
}


/* .panel h2 {
    color:#992325;
    font-weight: 900;
    text-align: center;
    font-size: 2rem;
    margin: 0;
} */

.panel h3 {
    color: #975a00;
    font-weight: 300;
}

ul {
    list-style: none;
}

.lista_lateral ul {
    list-style: none;
    padding: 1.5rem 0 0 0;
    margin: 0;
}

.lista_lateral ul li {
    margin-bottom: 1rem;
}

.lista_lateral ul li a {
    font-size: 1rem;
    color: #992325;
    padding: 1rem;
}

.lista_lateral ul li a:hover {
    font-size: 1.1rem
}

ul.crianzades {
    display: none;
}

h2.texto_menu {
    font-size: 1rem;
    text-align: left;
    color: #992325;
    margin-bottom: 15px;
    font-weight: 900;
}

h2.texto_menu:hover {
    cursor: pointer;
    /* border: #FFFFFF solid 1px */
}

.menueleccion {
    border-top: #975a00 2px solid;
    border-bottom: #975a00 2px solid
}

.menueleccion a {
    font-weight: bold;
    cursor: pointer;
}

.menueleccion li {
    margin: 1.2rem
}

h2 i {
    font-size: 2.2rem;
    color: #992325
}

h2 i.fa-sort-down {
    color: #992325;
    font-size: 1.2rem
}

a i {
    font-size: 2.2rem;
    color: #992325
}

ul.menu li {
    background-color: #f5cc84;
    font-size: 1rem;
    display: none
}

ul.menu li:hover {
    background-color: rgba(240, 219, 128, 0.384);
    font-size: 1.05rem
    /* display: none */
}

.tooltip .tooltiptext {
    visibility: hidden;
}

@media only screen and (min-width:750px) {
    .tooltip {
        position: relative;
        display: inline-block;
        /* border-bottom: 1px dotted black;  */
    }
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 150px;
        background-color: #f5cc84;
        color: #f5cc84;
        text-align: center;
        border-radius: 6px;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        bottom: 120%;
        left: 50%;
        margin-left: -60px;
    }
    .tooltiptext {
        font-size: 1.2rem;
        font-family: 'Cinzel Decorative', cursive;
    }
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }
}


/*====================================================================================================
PARTE contenido_principal
=======================================*/

.contenido-principal {
    margin-top: 2rem;
    text-align: center;
}


/*====================================================================================================
PARTE carrusel
=======================================*/

.slider {
    width: 95%;
    margin: auto;
    overflow: hidden;
}

.slider ul {
    display: flex;
    padding: 0;
    width: 500%;
    animation: cambio 30s infinite linear;
}

.slider li {
    width: 100%;
    list-style: none;
    padding: 3rem;
    animation: infinite;
    position: relative;
}

.titulo_foto {
    position: absolute;
    top: 1%;
    left: 25%;
    color: #f5cc84;
    font-family: 'Cinzel Decorative', cursive;
}

.slider img {
    width: 100%;
}


/* .slider img:hover {
    opacity: .7;
} */

@keyframes cambio {
    0% {
        margin-left: 0;
        opacity: .3;
    }
    2% {
        margin-left: 0;
        opacity: 1;
    }
    18% {
        margin-left: 0;
        opacity: .3;
    }
    20% {
        margin-left: -100%;
        opacity: .3;
    }
    22% {
        margin-left: -100%;
        opacity: 1;
    }
    38% {
        margin-left: -100%;
        opacity: .3;
    }
    40% {
        margin-left: -200%;
        opacity: .3;
    }
    42% {
        margin-left: -200%;
        opacity: 1;
    }
    58% {
        margin-left: -200%;
        opacity: .3;
    }
    60% {
        margin-left: -300%;
        opacity: .3;
    }
    62% {
        margin-left: -300%;
        opacity: 1;
    }
    78% {
        margin-left: -300%;
        opacity: .3;
    }
    80% {
        margin-left: -400%;
        opacity: .3;
    }
    82% {
        margin-left: -400%;
        opacity: 1;
    }
    98% {
        margin-left: -400%;
        opacity: 1;
    }
    100% {
        margin-left: -400%;
        opacity: .3;
    }
}


/*====================================================================================================
PARTE mapa
=======================================*/

iframe {
    width: 95%;
    height: 450px;
}

@media only screen and (min-width:750px) {
    iframe {
        width: 90%;
        height: 500px;
    }
}


/*====================================================================================================
PARTE contador
=======================================*/

.parallax {
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contador {
    position: relative;
    background-image: url(../img/hero.jpg);
}

ul.resumen-clinic {
    position: relative;
    /**para resetear la posicion absoluta*/
    padding: 120px 0;
}

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

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

p.numero {
    color: #fe4918;
    font-size: 4em;
    display: block;
    margin: 0 0 10px 0;
}

li span {
    color: black;
}


/*===================================
TESTIMONIALES
================================*/

.testimoniales {
    background-color: #f2f2f2;
    padding: 20px 0px 0px 0px;
}

.testimonio {
    background-color: white;
    margin: 20px 10px;
    border: 1px solid black;
    padding: 20px;
    display: block
}

@media only screen and (min-width:768px) {
    .testimonio {
        float: left;
        width: 30%;
        margin-bottom: 100px;
    }
}

.arriba-testimonio {
    display: flex;
}

.arriba-testimonio p {
    margin-left: 20px;
    margin: 0px 10px;
    font-family: 'PT sans', sans-serif;
    font-weight: 200;
    line-height: 30px;
}

.arriba-testimonio i {
    color: #fe4918;
    font-size: 20px
}

.nombre-testimonio {
    display: flex;
    flex-direction: column
}

img.imagen-testimonio {
    float: left;
    width: 30%;
    margin: 20px;
    max-width: 150px;
    border-radius: 50%;
}

.nombre-testimonio h3 {
    font-size: 14px;
    margin: 20px 0px -10px 0px;
    padding: 30px 0px 0px 0px;
}


/*====================
NEWSLWTTER
=====================*/

div.newsletter {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/bg-newsletter.jpg);
    /*co esto oscurecemos la imagen de fondo   que cargamos un url()*/
}

div.registro {
    position: relative;
    /**para resetear la posicion absoluta*/
    padding: 70px 0;
    text-align: center;
    color: white;
}

div.registro a.boton {
    background-color: transparent;
    border: 3px solid white;
    font-family: 'PT sans', sans-serif;
}

div.registro a.boton:hover {
    background-color: #fe4918;
    border: 3px solid #fe4918;
    font-family: 'PT sans', sans-serif;
}

div.registro p {
    font-family: 'PT sans', sans-serif;
    font-size: 1.2em;
    font-weight: 100
}


/*===============
footer
===============*/

.pie-pagina {
    background-image: url(../img/fondo_pizarra3.jpg);
    padding: 50px 0px 0px 0px;
    text-align: left;
    border-radius: 10%;
}

.pie-pagina h3 {
    text-transform: uppercase;
    font-family: 'Cinzel Decorative', cursive;
    color: #f5cc84;
}

.pie-pagina span {
    color: #992325
}

.float {
    text-align: justify;
    padding: 0 20px
}

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

div.menu-footer nav.redes-sociales-nav a {
    margin: 0;
    padding: 0;
    color: #f5cc84;
    font-size: 2em;
    padding: 20px 20px 0px 0px
}

.pie-pagina p {
    color: #f5cc84;
    font-family: 'PT sans', sans-serif;
    font-size: 0.8em;
    margin: 1rem;
}

.copyright {
    padding: 10px;
    background-color: rgb(44, 44, 44);
    text-align: center;
    margin: 0px
}

.copyright span {
    color: #992325;
    text-transform: uppercase;
}


/*==============================
        PAGINAS INTERNAS
 ==============================*/


/*___________________________
        REGISTRO
  ___________________________*/

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

form.registro label {
    margin-bottom: 10px;
    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 {
    margin: 10px;
}

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

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

div.paquetes .tabla-precios input {
    clear: both;
    /*para que se ponga  debajo*/
    width: 100px;
    margin: 10px auto 0 auto;
    display: block;
}

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

@media only screen and (min-width:768px) {
    .contenido-dia>div {
        /*primer hijo div de contenido dia*/
        float: left;
        width: 32%
    }
}

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

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

.contenido-dia>div input {
    margin-right: 10px
}

.contenido-dia>div label time {
    color: #fe4918;
    font-weight: bold;
}


/*RESUMEN DEL PEDIDO*/

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

div.resumen div.extras {
    float: left;
    width: 50%;
    padding: 30px
}

div.resumen div.extras div.orden {
    text-align: left;
    margin-bottom: 10px
}

div.resumen div.extras div.orden input {
    margin: 10px 0 0 0
}

div.resumen div.total {
    float: right;
    width: 50%;
    padding: 30px
}

div.resumen input {
    display: block;
    margin: 10px auto
}

#lista_productos {
    display: none;
    /*lo ocultamos para mostrarlo con javaScript*/
    background-color: #e1e1e1;
    padding: 20px
}

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

#error {
    clear: both;
    padding: 20px;
}

.campo {
    color: #000;
}


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


/*
 * Hide visually and from screen readers
 Ocultar visualmente y desde lectores de pantalla.
 */

.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:
Para contenido largo, los avances de línea no se interpretan como espacios y ancho pequeño
* hace que el contenido se ajuste a 1 palabra por línea:
*    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:
Extiende la clase .visuallyhidden para permitir el elemento
* para poder enfocar cuando se navega a través del teclado:
* 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
Oculte visualmente y de lectores de pantalla, pero mantenga el diseño
*/

.invisible {
    visibility: hidden;
}


/*
* Clearfix: contener flotadores
*
* Para navegadores modernos.
* 1. El contenido del espacio es una forma de evitar un error de Opera cuando
* El atributo `contenteditable` se incluye en cualquier otra parte del documento.
* De lo contrario, hace que aparezca espacio en la parte superior e inferior de los elementos.
* que reciben la clase `clearfix`.
* 2. El uso de `table` en lugar de` block` solo es necesario si se usa
* `: before` para contener los márgenes superiores de los elementos secundarios.
*/

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* ==========================================================================
   EJEMPLO Consultas de medios para diseño responsivo.
    Estos ejemplos anulan los estilos primarios ('móvil primero').
    Modificar según lo requiera el contenido.
   ========================================================================== */

@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;
    }
}