/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
    --fuentePrincipal: 'Open Sans', sans-serif;
    --fuenteHeadings: 'Raleway', sans-serif;

    /**Colores*/

    --rojo: #A61206;
    --naranja: #f19f30;
    --verde: #127427;
    --blanco: #ffffff;
    --negro: #000000;

    --grisClaro: #c1c1c1;

    --contenedor: 1200px;

}

div.caja-nosotros {
    margin-top: 4rem;
    display: -ms-grid;
    display: grid;
}

@media (min-width: 768px) {
    .caja-nosotros {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        min-height: 48rem;
    }
}

.caja-nosotros .wp-block-column {
    display: -ms-grid;
    display: grid;
    grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));
    margin: 0 !important;
}

.wp-block-reparatronics-boxes {
    height: 24rem !important;
    padding: 4rem 2rem;
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.wp-block-reparatronics-boxes h2 {
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    font-weight: bold;
}

.wp-block-reparatronics-boxes p {
    font-size: 1.4rem;
    line-height: 1.5;
}

.caja-nosotros .wp-block-image {
    margin: 0;
    overflow: hidden;
    height: 24rem !important;
}

.caja-nosotros img {
    display: block;
    -o-object-fit: cover !important;
    object-fit: cover !important;
    height: 30rem !important;
    width: 100% !important;
}

/**************Bloque menu*************************/
.editor-styles-wrapper .titulo-menu,
.titulo-menu {
    color: var(--rojo);
    font-family: var(--fuenteHeadings);
    text-align: left;
    font-size: 3rem;
    font-weight: 700;
}

.nuestro-menu li {
    margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
    .nuestro-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        list-style: none !important;
        padding: 0;
        margin: 0;
    }

    .nuestro-menu li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 2rem);
        flex: 0 0 calc(50% - 2rem);
    }
}

.precio-titulo {
    border-bottom: 1px solid #dfdfdd;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 1rem;
}

.precio-titulo h3 {
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    font-size: 2.2rem;
}

.precio-titulo p {
    color: var(--naranja);
    font-family: var(--fuenteHeadings);
    font-weight: 700;
    font-size: 2.4rem !important;
    margin: 0;
}

.contenido-platillo p {
    color: #3d3d3d;
    line-height: 2;
    font-size: 1.4rem !important;
    font-family: var(--fuenteHeadings);
    text-align: left;
}

/**************Galeria****************/
.galeria-pizzeria h2 {
    color: var(--rojo);
    font-size: 700;
}

ul.listado-imagenes {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    list-style: none !important;
    margin-top: 3rem;
    grid-gap: 2rem;
}

.imagen img {
    display: block;
    width: 100%;
}

/***************HERO****************************/

.hero-block,
.parallax-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    color: var(--blanco);
}

@media (min-width: 768px) {

    .hero-block,
    .parallax-block {
        background-attachment: fixed;
    }
}

.hero-block h1,
.hero-block p {
    margin: .5rem;
}

.alignfull {
    margin: 0 calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.contenido-hero,
.contenido-ingredientes,
.contenido-parallax {
    max-width: 1200px;
    margin: 0 auto;
}

/***************TEXTO E IMAGEN**************/

.ingredientes-bloque {
    background-size: cover;
    padding: 8rem 2rem;
}

.texto-ingredientes h1,
.texto-ingredientes p {
    color: var(--blanco);
}

@media (min-width: 768px) {
    .contenido-ingredientes {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 2rem 1fr;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 2rem;
    }
}

/*************CONTENEDOR*******************/
.bloque-contenedor {
    background-repeat: no-repeat;
    background-position: top left;
    margin: 0 auto;
    background-position: center center;
}

.contenido-bloque {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .contenido-bloque {
        min-height: 60rem;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 2rem 1fr;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2rem;
    }
}

.bloques-internos {
    padding: 3rem;
    margin: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .bloques-internos {
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        grid-column: 2 / 3;
    }
}

.wpcf7 p label {
    font-size: 2rem;
}

.wpcf7-form-control {
    padding: 2rem;
    border: 1px solid var(--grisClaro);
    width: 100%;
}

/***********Bloque gradient**************************/
.bloque-gradient {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.gradient-black-derecho::after,
.gradient-black-izquierdo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75)));
    background: -o-linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75));
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75));
}

@media (min-width: 768px) {
    .gradient-black-derecho::after {
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+50&0+1,0.85+50 */
        /* FF3.6-15 */
        /* Chrome10-25,Safari5.1-6 */
        background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), color-stop(1%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0.75)));
        background: -o-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.75) 50%);
        background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.75) 50%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#d9000000', GradientType=1);
        /* IE6-9 */
    }

    .gradient-black-izquierdo::after {
        /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+50&0+1,0.75+50 */
        /* FF3.6-15 */
        /* Chrome10-25,Safari5.1-6 */
        background: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0)), color-stop(1%, rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0.75)));
        background: -o-linear-gradient(right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.75) 50%);
        background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.75) 50%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#d9000000', GradientType=1);
        /* IE6-9 */

    }
}

.contenido-gradient {
    height: 100%;

}

@media (min-width: 768px) {
    .contenido-gradient {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 2rem 1fr;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2rem;
    }
}

.bloques-internos-gradient {
    color: var(--blanco);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 3rem;
    z-index: 15;
    height: 100%;
    width: 100%;
    position: absolute;
}

.bloques-internos-gradient li {
    text-align: center;
}

.bloques-internos-gradient p {
    text-align: justify;
}

.bloques-internos-gradient h2 {
    text-align: center;
}

@media (min-width: 768px) {
    .bloques-internos-gradient {
        position: relative;
    }
}

@media (min-width: 768px) {
    .bloques-internos-gradient-derecho {
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        grid-column: 2 / 3;
        text-align: right;
    }

    .bloques-internos-gradient-izquierdo {
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1 / 2;
        text-align: left;
    }
}

/* Bloque box50img*/

.bloque-box50img {
    height: 100%;
}

@media (min-width: 768px) {
    .bloque-box50img {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-rows: 1;
        grid-template-rows: 1;
    }

    .bloque-box50img>*:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .bloque-box50img>*:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }
}

.img-box50img {
    height: 400px;
    width: auto;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 768px) {
    .img-box50img {
        height: 100%;
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .img-box50img.grid-izquierdo {
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1/2;
    }

    .img-box50img.grid-derecho {
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        grid-column: 2/3;
    }
}

.bq-box50img {
    height: 100%;
    width: auto;
    padding: 2rem 3rem;
    background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .bq-box50img {
        -ms-grid-row: 1;
        grid-row: 1;
    }

    .bq-box50img.grid-izquierdo {
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        grid-column: 2/3;
    }

    .bq-box50img.grid-derecho {
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1/2;
    }
}

/*boton */
.rt-button {
    width: 100%;
    height: auto;
    font-size: 2.2rem;
    font-family: var(--fontPrimary);
    font-weight: 700;
    padding: .5rem 2rem;
    margin-top: 2rem;
    border-radius: 1rem;
    text-align: center;
}


/************* bloque imagenhidetext ********************/
/* ocultar el texto */
.imagehidetext-block {
    position: relative;
    border: 3px solid white;
    overflow: hidden;
    height: 100%;
}

.imagehidetext-block img {
    height: auto;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

@media (min-width: 768px) {
    .imagehidetext-block img {
        width: 100%;
        height: 100%;
        display: inline-block;
    }
}

.imagehidetext-block .bloques-imagehidetext {
    position: relative;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--grisClaro);
    margin-bottom: 2rem;
    z-index: 100;
}

@media (min-width: 768px) {
    .imagehidetext-block .bloques-imagehidetext {
        margin-bottom: 0;
        border-bottom: none;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.75);
        top: 0;
        left: 0;
        padding: 0 5rem;
        z-index: 2;
        position: absolute;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
        opacity: 0;
        -webkit-transition: opacity .5s ease-in-out;
        -o-transition: opacity .5s ease-in-out;
        transition: opacity .5s ease-in-out;
        -webkit-transition-delay: .2s;
        -o-transition-delay: .2s;
        transition-delay: .2s;
    }
}

@media (min-width: 768px) {
    .imagehidetext-block:hover .bloques-imagehidetext {
        opacity: 1;
    }
}

/***********************                  bloque vertical de card img y bloques*/

.rt-card-img-block {
    display: flex;
    flex-direction: column;
    padding: 30px;
    transition: all .5s ease-in-out;
    margin: 20px 20px 0px 20px;
}

.rt-card-img-block h1,
.rt-card-img-block h2,
.rt-card-img-block h3,
.rt-card-img-block h4,
.rt-card-img-block h5 {
    margin: 0;
    margin-top: 10px;
    line-height: 1;
}

@media (min-width: 768px){
    .rt-card-img-block h2{
        font-size: 1.9vh!important;
    }
}
@media (min-width: 968px){
    .rt-card-img-block h2{
        font-size: 3vh!important;
    }
}
.rt-card-img-block {
    background-color: #e1e1e1;
    -webkit-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.48);
    -moz-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.48);
    box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.48);
}
@media (min-width: 768px){
    .rt-card-img-block{
        background-color: #ffffff;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .rt-card-img-block:hover {
        background-color: #e1e1e1;
        -webkit-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.48);
        -moz-box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.48);
        box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.48);
    }
}

.rt-card-img-block{
    text-align: center;
}
.rt-card-img-block-img {
    max-width: 150px;
    margin: 0 auto;
}

@media (min-width: 768px){

    .rt-card-img-block-img img.filtroBn {
        -webkit-filter: grayscale(1);
        /* Webkit */
        filter: gray;
        /* IE6-9 */
        filter: grayscale(1);
        /* W3C */
        transition: all .5s ease-in-out;
    }
    
    .rt-card-img-block:hover img.filtroBn {
        -webkit-filter: grayscale(0);
        /* Webkit */
        filter: none;
        /* IE6-9 */
        filter: grayscale(0);
        /* W3C */
    }
}
