

.fondo{
    width:100%;
    height:100vh;
    opacity: 100%;
    /*background-color: grey;*/
}

@media (min-width: 800px){
    #map {
        width:800px;
        height:calc(100% - 50px);
    }

    .imagen-logo{
        height:145px
    }

    .datos-final-pedido{
        display:flex;
        flex-grow:1;
        overflow:auto;
        background-color: #F7F7F7
    }
}

@media (max-width: 800px){
    #map {
        width:100vw !important;
        height:calc(100vh - 100px) !important;
    }

    .imagen-logo{
        height:120px
    }

    .datos-final-pedido{
        display:flex;
        flex-grow:1;
        overflow:auto;
        flex-direction: column;
        background-color: #F7F7F7
    }
}


@media (min-width: 1024px) {

    #marco {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 800px;
        top: 25px;
        bottom: 50px;
        background-color: white;
    }

    #marco-mapa {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 800px;
        top: 25px;
        bottom: 50px;
        background-color: white;
        border: 1px solid black;
        display:none;
    }

}

@media (max-width: 1024px) {
    #marco {
        background-color: white;
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
    }

    #marco-mapa {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        display: none;
    }
}



    #cabecera{

        z-index: 8;
        position:absolute;
        top:0px;
        left:0px;
        right:0px;
        height:150px;
        overflow:hidden;
        display:flex;

        -webkit-box-shadow: 0 8px 6px -6px #AAAAAA;
        -moz-box-shadow: 0 8px 6px -6px #AAAAAA;
        box-shadow: 0 8px 6px -6px #AAAAAA;
    }

    #cabecera-movil{

        z-index: 8;
        position:absolute;
        top:0px;
        left:0px;
        right:0px;
        height:50px;
        overflow:hidden;
        display:none;

        -webkit-box-shadow: 0 8px 6px -6px #AAAAAA;
        -moz-box-shadow: 0 8px 6px -6px #AAAAAA;
        box-shadow: 0 8px 6px -6px #AAAAAA;

        display:none;
        vertical-align: center;
    }



.nombre-comercio{
    padding-left:10px;
    height:150px;
    flex-grow: 1;
    font-size:18px;
    font-weight:bold;
}


.pie{
    position:absolute;
    border:1px solid green;
    bottom:0px;
    left:0px;
    right:0px;
    height:50px;
    display:none;
}

.cuerpo{
    position:absolute;
    bottom:50px;
    left:0px;
    right:0px;
    top:150px;
    overflow:auto;
}

#cuerpo-anulado{
    position:absolute;
    bottom:50px;
    left:0px;
    right:0px;
    top:50px;
    overflow:auto;
    opacity: 0.75;
    background-color: white;
    display:none;
}

#cuerpo-cargando{
    position:absolute;
    bottom:50px;
    left:0px;
    right:0px;
    top:50px;
    opacity: 0.75;
    background-color: lightgrey;
    display:none;
    z-index: 20;
}



.carta{
    /*height:3000px;*/
}


.anula-contenido{
    height:500px;
    display: none;
    opacity: 0.5;
}

.boton-carrito{
    width:50px;
    height:50px;
    background-color: gainsboro;
    border:0;
    outline: none;
    font-size:20px;
}

.boton-carta{
    width:50px;
    height:50px;
    background-color: gainsboro;
    border:0;
    outline: none;
    font-size:20px;
}


/* width */
/*::-webkit-scrollbar {
    width: 10px;
}*/

/* Track */
/*::-webkit-scrollbar-track {
    background: #f1f1f1;
}*/

/* Handle */
/*::-webkit-scrollbar-thumb {
    background: #888;
}*/

/* Handle on hover */
/*::-webkit-scrollbar-thumb:hover {
    background: #555;
}*/

::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


body{

    user-select:none;

    /*--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"*/
    font-family:Arial, Helvetica, Sans-Serif;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}




@media (min-width: 800px) {

    #mensaje{

        position:fixed;
        display:none;
        /*width:500px;*/
        /*height:200px;*/
        /*bottom:50px;*/
        /*left:calc(50% - 250px);*/
        /*top:calc(50% - 100px);*/
        inset:200px;
        background-color: red;
        z-index: 10;
        border-radius: 5px;
        padding:auto;
        color:white;
        -webkit-box-shadow: 0px 0px 8px 3px #AAAAAA;
        box-shadow: 0px 0px 8px 3px #AAAAAA;

    }

    #mensaje:hover{
        background-color: orangered;
    }

    .mensaje-cuerpo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    #mensaje-contenido {
        text-align: center;
        font-size: 18px;
        width: 100%;
    }
}

@media (max-width: 800px){

    #mensaje{

        position:fixed;
        display:none;
        /*width:500px;*/
        /*height:200px;*/
        /*bottom:50px;*/
        /*left:calc(50% - 250px);*/
        /*top:calc(50% - 100px);*/
        inset:200px 20px 200px 20px;
        background-color: red;
        z-index: 10;
        border-radius: 5px;
        padding:auto;
        color:white;
        -webkit-box-shadow: 0px 0px 8px 3px #AAAAAA;
        box-shadow: 0px 0px 8px 3px #AAAAAA;

    }

    #mensaje:hover{
        background-color: orangered;
    }

    .mensaje-cuerpo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    #mensaje-contenido {
        text-align: center;
        font-size: 18px;
        width: 100%;
        padding:20px;
    }
}


.spin {
    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    -o-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.dialogo-confirmar{
    border-radius: 5px;
    border: 1px solid #888888;
    -webkit-box-shadow: 0px 0px 8px 3px #AAAAAA;
    box-shadow: 0px 0px 8px 3px #AAAAAA;
}

.boton-aceptar-cancelar{

    margin-top:10px;
    margin-right:10px;
    width: 200px;
    height: 100px;
    background-color: #7F1734;
    border-radius: 5px;
    color: white;
    font-size:40px;
    border:0;

}

@keyframes show {
    100% {
        opacity: 1;
        transform: none;
    }
}

.select-option{

    display:flex;
    padding:5px;
    font-size:20px;
    width:100%;
}

.select-option_{
    height: 44px;
    border: none;
    overflow: hidden;

    /*display:flex;*/
    padding:5px;
    font-size:20px;
    /*width:100%*/
}

.select-option_ option{
    width: 60px;
    font-size: 1.2em;
    padding: 10px 0;
    text-align: center;
    margin-right: 20px;
    display: inline-block;
    cursor: pointer;
    border:rgb(204, 204, 0) solid 1px;
    border-radius: 5px;
    color: #7F1734
}

.select-option_ :focus {
    outline: none;
}

@media (min-width: 800px) {
    #add-carrito{
        inset: 0px 0px 100px; display: flex;
    }
}


@media (max-width: 800px) {
    #add-carrito{
        inset: 0px 0px 0px; display: flex;
    }
}

#boton-carrito-cantidad {
    position:absolute;
    bottom:2px;
    right:2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;          /* ancho del círculo  */
    height: 18px;         /* alto del círculo   */
    background-color: #e74c3c; /* color del círculo */
    color: white;
    border-radius: 50%;   /* crea el círculo */
    font-size: 10px;
    font-weight: bold;
}
