@media screen and (max-width:1024px) {

    :root {
        --textsize1: 18px;
        --textsize2: 16px;
        --textsize3: 14px;
        --textprecio: 16px;
    }


    h1 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 22px;
    }

    h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 900;
        font-size: 22px;
    }

    h3 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 16px;
    }

    h4 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: 16px;
    }





    .caja_corta {
        width: 94%;
        padding: 0;
        box-sizing: border-box;
    }


    .select_sucursal {
        text-align: center;
    }
    .select_sucursal ul {
        border-radius: 0 0 5px 5px;
        padding: 10px 0;
    }
    .select_sucursal h4 {
        display: none;
    }    
    .select_sucursal h3 {
        display: block !important;
    }    
    .select_sucursal .parrafo {
        display: none;
    }
    .select_sucursal_btn{
        margin: 0;
    }
    .titular {
        padding: 50px 0;
    }


    .btn_play {
        display: block;
        position: relative;
        z-index: 9;
    }

    .btn_close hr.btn_play_1 {
        transform: rotate(45deg);
        top: 5px;
    }

    .btn_close hr.btn_play_3 {
        transform: rotate(-45deg);

        top: -6px;
    }

    .btn_close hr.btn_play_2 {
        display: none;
        margin: 0;
        padding: 0;
        height: 0;
    }

    header {
        padding-top: 40px;
    }

    header .header {
        flex-direction: row;
    }

    header .logo {
        width: 70px;
    }

    header nav {
        position: absolute;
        right: 0;
    }

    header nav>ul {
        z-index: 4;
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: #000000ee;
        text-align: center;
        padding-top: 100px;
    }

    header nav>ul li a {
        background-color: transparent;
        display: inline-block;
        padding: 20px 0;
    }



    .select_sucursal ul li {
        width: 50%;
    }

    .almuerzo>div {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .almuerzo>div>div {
        margin: 10px !important;
        width: 100%;
        top: -50px;
    }

    .almuerzo>div>div>div {
        flex-direction: column;
    }

    .almuerzo .almuerzos_img {
        display: flex;
        justify-content: center;
    }

    .almuerzos>div {
        width: 100%;
    }



    .nosotros>div {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .nosotros>div>div:nth-child(1) {
        margin-top: 40px;
    }

    .nosotros>div>div {
        flex-basis: 100%;
    }

    .nosotros h2 {
        width: 100%;
        position: absolute;
        top: 0;
        padding-bottom: 0;
    }

    .cajex>div {
        padding: 20px 0;
        flex-direction: column-reverse !important;
        position: relative;
        z-index: 0;
    }

    .cajex>div .cajex_text {
        z-index: 1;
        background: linear-gradient(150deg, var(--color0), var(--colorneutro1));
        border-radius: 5px;
        position: relative;
        top: -10px;

    }

    .cajex>div .cajex_img {
        width: 94%;
    }

    .cajex>div>div {
        width: 100%;
    }

    .cajex .cajex_text h3 a {
        padding: 14px;
    }

    .resenas>div .resenas_tit {
        padding: 20px;
        margin-right: 20px;
        text-align: center;
        width: 70%;
        top: -20px;
    }

    .resenas>div .resenas_tit p {
        display: none;
    }

    .resenas>div .resenas_text {
        width: 95%;
        padding: 30px 10px;
        top: 35px;
    }

    .resenas>div .resenas_text .resenabox {
        padding: 10px;
    }

    footer .footer1 {
        flex-direction: column;
    }

    footer .footer1>div:nth-child(even) {
        border-top: 1px;
        border-bottom: 1px;
        border-left: 0;
        border-right: 0;
        border-color: var(--color3);
        border-style: solid;
        border-radius: 1px;
    }

    footer .footer1>div {
        padding: 30px 0;
        width: 100%;
    }

    footer .footer_rrss {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    footer .footer_rrss li {
        padding: 5px 0;
    }



    .cortes {
        flex-direction: column;
        align-items: center;
    }

    .contentbox .contentbox_box {
        width: 100%;
        max-width: 550px;
        padding-left: 0;
        padding-right: 0;
    }

    .parrillas {
        align-items: center;
    }

    .parrillas .parrillasbox {
        justify-content: center;
    }

    .parrillas .contentbox_box .contentbox_txt {
        padding: 15px;
    }

    .parrillas .contentbox_box .contentbox_txt>div:nth-child(1)>div:nth-child(1) {
        padding-right: 10px;
    }

    .parrillas .contentbox_box .contentbox_txt>div:nth-child(1)>div:nth-child(2) {
        padding-left: 10px;
    }

    .express {
        flex-direction: column;
        align-items: center;
    }

    .express .contentbox_box {
        padding: 10px 0;
    }

    .express .contentbox_box>div {
        flex-direction: column-reverse;
        background: transparent;
    }

    .express .contentbox_box .contentbox_txt {
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
        background-color: var(--colorcajax);
        box-shadow: var(--shadowcajax);
        border-radius: 5px;
        text-align: center;
        justify-content: center;
        height: auto;
    }

    .express .contentbox_box .contentbox_txt .precio {
        padding-top: 10px;
        margin-top: 10px;
        justify-content: center;
    }

    .express .contentbox_box .contentbox_img {
        width: 94%;
    }

    .extras .contentbox_box {
        width: 50%;
        padding: 5px;
        box-sizing: border-box;
        border-radius: 5px;
    }

    .extras .contentbox_box>div {
        padding: 10px;
    }

    .extras .contentbox_box .contentbox_txt {
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
    }

    .extras .contentbox_box .contentbox_txt>h3 {
        justify-content: center;
        text-align: center;
    }

    .extras .contentbox_box .contentbox_txt>div {
        border-left: 0;
        border-top: 1px solid var(--colorlinea);
        padding: 10px 0 0;
        margin: 10px 0 0;
        justify-content: center;
    }

    .sucursales .contentbox_box>div {
        flex-direction: column;
    }

    .sucursales .contentbox_box .sucursales_menu {
        width: 100%;
    }

    .sucursales .contentbox_box .sucursales_menu li i {
        transform: rotate(90deg);
    }

    .sucursales .contentbox_box .sucursales_mapa {
        width: 100%;
    }

    .sucursales #map {
        height: 500px
    }

    .nosotros .contentbox_box>div {
        flex-direction: column;
        margin-top: 20px !important;
    }

    .nosotros .contentbox_box>div>div {
        width: 100%;
    }

    .fancybox-close {
        top: 10px !important;
        right: 10px !important;
    }



}