:root {
   --colorweb: #d86411;
   --colorwarning: #FDC85E;
   --colordanger: #DC3545;
   --colorinfo: #007BFF;
   --colorinactivo: #d2d2d2;
}

/* COLORES DE FONDO PARA CATEGORIAS DE LA CARTA 

#248aff
#ff0000
#20c997
#fbd936
#ff7400
#ff107e
#b8c3d0
#b38f8f

*/

html {
    height: 100%;
}
body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 3rem;
}

.cuerpo {
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .cuerpo {
        max-width: 80%;
    }
}

footer {
    background-color: #111111;
    font-size: 14px;
}

footer a {
    color: lightgrey;
    text-decoration: none;
    display: block;
    font-size: 12px;
    padding: 4px;
}
footer a:hover {color: white;}

#main_nav {z-index: 999;}

.cabecera {
    background-color: #111111;
}

.cabecera .navbar-toggler {
    padding: 0;
    border: none;
}

.cabecera .idiomas img {
    max-width: 32px;
    margin-right: 6px;
}

.navbar-dark .navbar-brand {
    font-size: 1.2rem;
    font-family: 'Open Sans Condensed';
    margin: 0 1rem;
}
/* MENU PRINCIPAL ***************************/

body.offcanvas-active {
    overflow: hidden;
}

.offcanvas-header {
    display: none;
}


    .offcanvas-header {
        display: block;
    }

    .offcanvas-header .btn-close {
        width: 60px;
        margin-right: -12px;
    }

    .offcanvas-header h5 {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-weight: bold;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background: rgb(128, 128, 128);
        background: linear-gradient(180deg, rgba(128, 128, 128, 1) 0%, rgba(51, 51, 51, 1) 100%);
        transition: visibility .2s ease-in-out, transform .2s ease-in-out;
    }

    .navbar-collapse.show {
        visibility: visible;
        transform: translateX(-100%);
    }


    @media (min-width: 578px) {
        .navbar-collapse {
            width: 60%;
        }
    }

.menuCarta {
    margin-bottom: 3rem;
}

.menuCarta .filtro a {
    display: block;
    padding: 1rem;
    background-color: black;
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    font-family: 'Open Sans Condensed';
    text-decoration: none;
}

.menuCarta .nav-item a {
    color: white;
    text-transform: uppercase;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid #999999;
}

@media (min-width: 375px) {
    .menuCarta .nav-item a {
    font-size: 1.3rem;
    }
}

/* HOME PAGE **************************/
.portada {
    width: auto;
    overflow: hidden;
}
.portada .logo {
    text-align: center;
    padding: 1rem;;
}

.portada .compartir {
    display: block!important;
    overflow: hidden;
    line-height: 32px;
    border-radius: 8px;
    background-color: #f1f1f1;
}

.portada .filtrar {
    display: block!important;
    border-radius: 8px;
    background-color: #111111;
    color: white;
    text-align: left;
    margin-top: 1rem;
}

.portada .filtrar img {margin-top: 3px;}

.categorias {
    margin: 1rem 0 ;
    width: auto;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .categorias {margin-top: 3rem;}
    .portada .filtrar {
        margin-top: 0;
        width: 48%;
        float: right;
    }
    .portada .compartir {
        width: 48%;
        float: left;
        padding: 12px;
    }
}

.categorias ul {
    list-style-type: none;
    padding: 0;
}
.categorias ul li {
    display: inline-block;
    width: 48%;
    margin-bottom: 16px;
}
.categorias ul li:nth-child(2n-1) {
    float: left;
}
.categorias ul li:nth-child(2n) {
    float: right;
}
.categorias ul li a {
    height: 150px;
    display: block;
    text-align: center;
    color: white;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.categorias ul li a .row {
    height: 150px;
}

.categorias ul li a .velo {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    width: 100%;
    height: 150px;
}

.infoprecios {
    text-align: center;
    font-family: 'Open Sans Condensed', sans-serif;
}

/*  LISTADO *****************************/

section.listado {
    margin-top: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    section.listado {margin-top: 2rem;}
}
@media (min-width: 1024px) {
    section.listado {margin-top: 3rem;}
}

.listado .leyenda {
    font-family: 'Open Sans Condensed', sans-serif;
    text-align: center;
    justify-content: center;
    margin-top: 1rem;
}
.listado .leyenda span{
    font-weight: bold;
    color: var(--colorweb);
}

.listado .categoria {
    height: 150px;
    width: 100%;
    display: table;
    text-align: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.listado .categoria .nombre {
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    display: table-cell;
    vertical-align: middle;
    background-color: rgba(0, 0, 0, 0.4);
}

.listado .categoria .nombre h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.listado h2 {
    background-color: #eeeeee;
    padding: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2rem;
    font-family: 'Open Sans Condensed';
    text-transform: uppercase;
}

.listado .item {
    display: flex;
    border-bottom: 1px solid grey;
    width: 100%;
}

.listado .item .nombre {
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 6px 6px 6px 0;
    line-height: 1.2rem;
}

.listado .item .nombre a {
    display: block;
    color: #1d1d1d;
}
.listado .item .nombre.col-auto a {
    padding-top: 3px;
}

.listado .item .nombre a img {
    margin-top: -4px;
    max-width: 32px;
}

.listado .item .precios table {
    margin-bottom: 6px;
    margin-top: 6px;
}

.listado .item .precios {
    text-align: right;
    padding-right: 0;
    display: flex;
    align-items: center;
}

.listado .item .precio {
    text-align: right;
    padding-right: 4px;
}

.listado .item .cantidad {
    width: 24px;
    text-align: center;
    color: var(--colorweb);
    font-weight: bold;
}

.listado .aviso {
    border-radius: 8px;
    background-color: var(--colorwarning);
    padding: 1rem;
    margin-top: 1rem;
    font-family: 'Open Sans Condensed', sans-serif;
}
.listado .aviso a {color: #111111;}
.listado .aviso img {
    float: right;
    margin: 0.5rem;
}

.pagiNav {
    text-align: center;
    font-size: 14px;
    margin-bottom: 2rem;
}

.pagiNav a {
    color: #808080;
}

.pagiNav img {
    max-width: 30px;
    max-height: 30px;
    opacity: 0.5;
}

/* DETALLE ***************************************/

body.detalle {
    height: 100%;
    padding: 1.5rem;
}

#detalle {
    background: rgb(238,238,238);
    background: linear-gradient(180deg, rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%);
}

.detalle  .cerrar {
    width: 50px;
    border: none;
    background: transparent;
    position: fixed;
    top: 10px;
    right: 5px;
    z-index: 888;
}
.detalle header h1 {
    font-size: 1.5rem;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
    text-align: center;
    padding: 0 1rem;
}

.detalle .plato {
    max-width: 570px;
    margin: 0 auto;
}
.detalle .plato .imagen {
    text-align: center;
    margin: 1rem 0;
}
.detalle .plato .imagen img {
    margin: 0 auto;
    border: 3px solid white;
    box-shadow: 0px 3px 5px rgb(0 0 0 / 50%);
}

.detalle .plato .descripcion {
    margin-top: 1rem;
    font-size: 0.8rem;
    line-height: 1rem;
}

.detalle .plato .precios {
    display: flex;
    text-align: center;
    background: rgb(128,128,128);
background: linear-gradient(180deg, rgba(128,128,128,1) 0%, rgba(51,51,51,1) 100%);
    color: white;
    margin-top: 2rem;
    padding: 10px;
    border-radius: 10px;
}

.detalle .plato .precios span {
    font-family: 'Open Sans Condensed', sans-serif;
}

.detalle .plato .alimentos {
    margin-top: 2rem;
}

.detalle .plato .alimentos header {
    background-color: var(--colorinfo);
    padding: 3px;
    text-align: center;
    color: white;
    border-radius: 10px 10px 0 0;
}

.detalle .plato .alimentos header img {
    float: left;
    margin: 3px;
}

/* COMUN DETALLE + FILTRO ***********************************************/

.detalle .simbolos {
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    text-align: center;
    padding-top: 1rem;
    border-radius: 0 0 10px 10px;
}
.detalle .simbolos .item {
    margin-bottom: 1rem;
}
.detalle .simbolos .icono {
    height: 50px;
    /* margin-top: 1.2rem; */
}

.detalle .simbolos .icono img {
    max-height: 50px;
    max-width: 50px;
}

.detalle .simbolos .nombre {
    font-family: 'Open Sans Condensed', sans-serif;
}

/* FILTRO ALIMENTARIO **************************************************/
.detalle .intro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.detalle .intro img {
    margin-right: 8px;
}
.detalle .intro h1 {
    font-size: 1rem;
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
}
.detalle .intro h1 strong {
    font-size: 1.2rem;
}

.detalle .filtro {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.detalle .filtro .aviso {
    border-radius: 8px;
    background-color: var(--colordanger);
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Open Sans Condensed', sans-serif;
    line-height: 1.2rem;
    overflow: hidden;
}
@media (min-width: 768px) {
    .detalle .filtro .aviso {
        line-height: 3.2rem;
    }
}
.detalle .filtro .aviso img {
    float: right;
    margin: 0.5rem;
    margin-left: 2rem;
}

.detalle .filtro .selector .item {
    margin-bottom: 1rem;
}

.detalle .filtro .accion {
    text-align: center;
    padding: 1rem;
}

.detalle .filtro .accion button {
    background-color: var(--colorinactivo);
    text-transform: uppercase;
    color: white;
    border-radius: 99px;
    border: none;
    padding: 0.5rem 1rem;
}

.detalle .filtro .accion .activo {
    background-color: var(--colorinfo);
}

.detalle .filtro .marca {
    /* opacity: 0; */
    position: absolute;
    top: 0;
    right: 0;
    /* z-index: 99; */
    width: 100%;    
    display: none;
}
.detalle .filtro .marca img {
    max-width: 50px;
}