#delivery_map .modal-body {
    padding: 1rem 2rem 1rem 2rem;
}

.container_locales , .container_locales_page {
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    margin-top: -23px;
}

.container_locales .form-check-label , .container_locales_page .form-check-label {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1.5rem;
}

.container_locales .form-check-label p.m-0 , .container_locales_page .form-check-label p.m-0  {
    line-height: 1.2;
    font-size: .8rem;
}

.container_locales .info-local h6 , .container_locales_page .info-local h6  {
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.direccion_02 .container-map {
    min-height:425px;
    height: 425px;
}

.direccion_02 .container-data {
    min-height: 425px;
    height: 480px;
    margin-top: -31px;
}


#retiro_btn, #reparto_btn {
    border-radius: 10px;
    max-width: 47%;
    margin: 5px 2px 30px;
    height: 90px;
    padding: 0px;
}  

.retiro-label, .reparto-label {
    height: 90px;
    min-width: 180px;
    margin: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
    border-radius: .5rem;
    box-shadow: 2px 3px 10px rgba(0,0,0,.08);
    opacity: .6;
}

.retiro-label:hover, .reparto-label:hover {
    transform: scale(1.08);
    opacity: 1;
}

.reparto-label::before {
    content: " ";
    background-image: url(../../../../uploads/2021/01/reparto-pizzapizza.png);
    background-size: cover;
    filter: grayscale();
    height: 65px;
    width: 140px;
    margin-right: 0;
    transition: .5s;
}

.retiro-label::before {
    content: " ";
    background-image: url(../../../../uploads/2021/01/retiro-pizzapizza.png);
    background-size: cover;
    filter: grayscale();
    height: 65px;
    width: 140px;
    margin-right: 0;
    transition: .5s;
}
    
.retiro-label.selected, .reparto-label.selected {
    transform: scale(1.08);
    opacity: 1;
    font-size: 1rem;
    font-weight: 600;
    border: 1.5px solid #0a0280;
}

.retiro-label.selected::before, .reparto-label.selected::before {
    filter: none;
}

.retiro-label.selected::after, .reparto-label.selected::after {
    content: "\2713";
    height: 20px;
    width: 20px;
    color: #0a0280;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 1rem .5rem;
}

.retiro-input, .reparto-input {
    display: none;
}

input.select-local {
    margin: 1rem 0;
}

.phone-store:hover {
    font-weight: 500;
}

.como-llegar-button {
    background: #eb1b25;
    color: #ffffff!important;
    padding: .3rem .5rem;
    font-size: .7rem;
    border-radius: .2rem;
    height: 30px;
}

.como-llegar-button:hover {
    background: #b00009;
    color: #ffffff!important;
    padding: .3rem .5rem;
    font-size: .7rem;
    border-radius: .2rem;
}

.ver-mapa-button {
    display: none!important;
    background: #eb1b25;
    color: #ffffff!important;
    padding: 0rem .5rem;
    font-size: .7rem;
    border-radius: .2rem;
    height: 30px;
}

.ver-mapa-button:hover {
    background: #b00009;
    color: #ffffff!important;
}

.btn_modal_continuar {
    background-color: #06038D;
    border: 1px solid #06038D;
    border-radius: .3rem;
    color: #ffffff;
    box-shadow: 1px 1px 6px rgb(0 2 138 / 20%);
    width: 20%;
    text-transform: uppercase;
    transition: .3s all;
}

.btn_modal_continuar:hover {
    background-color: #2a43d8;
    color: #ffffff;
    box-shadow: 1px 1px 6px rgb(0 2 138 / 20%);
}
#map_local {
    height: 100%;
}

#delivery_map .modal-content.not-expanded {
    max-width: 600px;
}

/* ALERTA MODAL */
#alert_forsend #msje_alert2::before {
    content: '!';
    background-color: #ec1c24;
    padding: .1rem .6rem .1rem .6rem;
    border-radius: 1rem;
    margin: 0 .5rem 0 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

#msje_alert2 {
    -webkit-animation: puff-in-center 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
    animation: puff-in-center 0.3s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
    min-width: 289px;
    padding: 0.75rem 1.25rem 0 0;
}

#msje_alert2::before {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	animation: heartbeat 1.5s ease-in-out infinite both;
}

label.text-reparto {
    color: #06038d;
    margin-bottom: 0;
    font-size: .85rem;
    font-family: 'AvenirNextLTPro';
    font-weight: 400;
}

.title-reparto {
    text-align: center;
    /*margin: 1rem 0;*/
}

.direccion-container {
    padding: 1.5rem 0;
}

.mobile {
    display: none;
}

.direcciones_resultados {
    /*
     * Sin margen arriba.
     *
     * La separación entre tarjetas la da el `gap` del contenedor de cada
     * lista, que es un solo lugar en vez de un margen repetido en cada
     * tarjeta. Con las dos cosas a la vez se sumaban y quedaba el doble de
     * aire.
     *
     * El modal ya no dependía de este margen: css/modal-direccion.css:1042 lo
     * pone en 0 dentro de #pp_modal_direccion desde el rediseño, y la
     * separación se la da el gap de la línea 1039. O sea que este 1rem sólo
     * estaba afectando a la página de locales.
     */
    margin-top: 0;
}
.show-mobile{
	display: none!important;	
}
.hide-mobile{
	display: inherit!important;;
}
#complemento {
    height: 40px;
    border-radius: .5rem;
    border-color: #06028d;
    background: #ffffff;
    color: #06028d;
    padding: 0 .5rem;
    margin-right: .2rem;
}

#delivery_map .text-base_reparto {
    display: flex;
}

i.fas.fa-map-marker-alt.red {
    font-size: 1.5rem;
    margin-right: .5rem;
}

#delivery_map .row.direccion_01.mb-1 {
    margin: 0;
}

#delivery_map .row.direccion_01.mb-1 > .col-md-12.pr-0 {
    padding: 0;
}

@media (max-width:900px) {
    .retiro-label, .reparto-label {
        height: 70px;
        min-width: 140px;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: .5s;
        border-radius: .5rem;
        box-shadow: 2px 3px 10px rgb(0 0 0 / 8%);
        opacity: .6;
    }

    .reparto-label::before {
        content: " ";
        background-image: url(../../../../uploads/2021/01/reparto-pizzapizza.png);
        background-size: cover;
        filter: grayscale();
        height: 50px;
        width: 120px;
        margin-right: 0;
        transition: .5s;
    }
    
    .retiro-label::before {
        content: " ";
        background-image: url(../../../../uploads/2021/01/retiro-pizzapizza.png);
        background-size: cover;
        filter: grayscale();
        height: 50px;
        width: 120px;
        margin-right: 0;
        transition: .5s;
    }

    #retiro_btn, #reparto_btn {
        border-radius: 10px;
        max-width: 49%;
        margin: 0;
        height: 75px;
        padding: 0px;
    }

    .retiro-label.selected::after, .reparto-label.selected::after {
        content: "\2713";
        height: 20px;
        width: 20px;
        color: #0a0280;
        position: absolute;
        bottom: 0;
        right: 0;
        margin: .3rem .2rem;
    }

    .direccion-container {
        padding: 0;
    }

    .direccion_02 .container-data {
        height: auto;
        min-height: fit-content;
        padding: 0;
        margin-bottom: 1rem;    
    }    

    .btn_modal_continuar {
        background-color: #ffffff;
        border: 1px solid #06038D;
        border-radius: .3rem;
        color: #06038d;
        box-shadow: 1px 1px 6px rgb(0 2 138 / 20%);
        width: 100%;
    }

    #delivery_map .modal-dialog {
        margin: 0;
        padding: 0;
        height: 100%;
    }

    #delivery_map .modal-content.not-expanded {
        max-width: 100%;
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    #delivery_map .modal-body {
        padding: 1rem 1rem;
    }

    #delivery_map .modal-body h2.text-center.ml-0.mt-2.blue {
        font-size: 1.3rem;
    }

    .full-width {
        width: 100%;
    }

    .containter-map {
        padding: 0;
    }

    .container_locales {
        width: 100%;
        max-height: 50vh;
        overflow-y: scroll;
        margin: .5rem 0;
    }

    #map {
        /* height: 100%;
        min-height: 300px;
        margin-top: 1rem; */
        display: none;
    }

    #reparto_map {
        align-items: flex-end!important;
    }

    .desktop {
        display: none;
    }
/*
    #goto_19 {
        background: #06038d;
        color: #ffffff;
        padding: .3rem .5rem;
        font-size: .7rem;
        border-radius: .2rem;
    }
*/
    .containter-map {
        display: none;
    }

    .bd-direccion-modal-lg {
        height: 100%;
        padding: 0;
    }

    .container_locales .form-check-label, .container_locales_page .form-check-label {
        display: flex;
        justify-content: space-around;
        align-items: start;
        margin-bottom: 0;
    }

    .direcciones_resultados {
        margin-top: 0;
    }

    #delivery_map .modal-content {
        position: absolute;
        top: 0;
    }

    .bd-direccion-modal-lg.modal {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        display: none;
        width: 100%;
        height: 100%;
        overflow: hidden;
        outline: 0;
        background: #ffffff;
    }

    .row.direccion_02.visible {
        margin: 0 0 2rem;
    }

    .title-reparto {
        text-align: center;
        margin: 1rem 0 .5rem;
    }

    .ver-mapa-button.show-button {
        display: block!important;
        color: white;
        background: #eb1c25;
        border-radius: .5rem;
        padding: 0;
        font-size: .8rem;
    }

    .ver-mapa-button:active {
        display: block!important;
        color: white;
        background: #06038D;
        border-radius: .5rem;
        padding: 0;
        font-size: .8rem;
    }

    .como-llegar-button {
        display: none!important;
    }
}

@media (max-width: 767px){
    div#alert_forsend.google_maps {      
        display: block !important;
    }
	.show-mobile{
		display: inherit!important;;	
	}
    .hide-mobile{
        display: none!important;;
    }
    .direccion_02 .container-data {   
        margin-top: -11px;
    }

    .title-reparto {
        text-align: center;
        margin: 0;
    }
    .dir_inputs input {
        padding: 2.3px 10px 2.3px 10px;
    }

    .info-local {
        padding: 0 17px 0 12px;
    }

    .modal-backdrop.fade.show {
        display: none;
    }
}

/*
shake button on delivery
*/

.shake-button {
    -webkit-animation: bounce 1s ease infinite;
    animation: bounce 1s ease infinite;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateX(0);}
    40% {-webkit-transform: translateX(-15px);}
    60% {-webkit-transform: translateX(-15px);}
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateX(0);}
    40% {-moz-transform: translateX(-15px);}
    60% {-moz-transform: translateX(-15px);}
}

@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateX(0);}
    40% {-o-transform: translateX(-15px);}
    60% {-o-transform: translateX(-15px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(-15px);}
    60% {transform: translateX(-15px);}
}