:root {
    --colorAxis: rgba(228,0,43);
    --gris: rgb(169 169 169);
}

.container-index {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 100px auto;
    max-width: 100%;
}

.styleNav {
    grid-column: 1 / -1;
    min-height: 56px;
    position: sticky; 
    top: 0; 
    z-index: 1001; 
}

.btn-proaxis,
.btn-outline-proaxis:hover {
    background: rgba(228, 0, 43, 1);
    color: white;
}

.btn-proaxis:hover {
    background: rgba(177, 0, 33, 1);
    color: white;
}

.btn-proaxis.focus, 
.btn-proaxis:focus {
    box-shadow: 0 0 0 0.2rem rgb(225 83 97 / 50%);
}

.badge-proaxis {
    background: var(--colorAxis);
    color: #fff;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: var(--colorAxis);
    background-color: var(--colorAxis);
}

.custom-control-input:focus ~ .custom-control-label::before {
    -webkit-box-shadow: 0 0 0 0.2rem rgb(225 83 97 / 50%);
    box-shadow: 0 0 0 0.2rem rgb(225 83 97 / 50%);
    border: none;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
select:focus,
.custom-select:focus,
.uneditable-input:focus.addressFormat,
.form-control:focus {   
    border-color: rgb(74 74 74);
    box-shadow: 0 0 0 0.2rem rgb(123 123 123 / 50%);
    outline: 0 none;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: transparent;
    /* color:#fff; */
    /* font-size:16px; */
    line-height:24px;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.custom-popup .leaflet-popup-content-wrapper .leaflet-popup-content {
    margin: 0;
}

.custom-popup .leaflet-popup-content-wrapper a {
    color:rgba(255,255,255,0.5);
}

.custom-popup .leaflet-popup-tip-container {
    width:30px;
    height:15px;
    margin-left: -15px;
}

.custom-popup .leaflet-popup-tip-container .leaflet-popup-tip {
    background: rgb(33 33 33);
}

.leaflet-container a.leaflet-popup-close-button {
    color: black;
    width: 30px;
    height: 30px;
    padding: 0px;
    top: -15px;
    right: -15px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .custom-popup .leaflet-popup-tip {
    border-left:15px solid transparent;
    border-right:15px solid transparent;
    border-top:15px solid #2c3e50;
} */

.btn-collapse-proaxis.focus,
.btn-collapse-proaxis:focus {
    box-shadow: none;
}

.btn-outline-proaxis {
    color: rgba(177, 0, 33, 1);
    border-color: rgba(177, 0, 33, 1);
}

.moreInfo {
    display: none;
}

label {
    user-select: none;
}

.map {
    z-index: 1;
} 

.inputs-header {
    padding: 0; 
    width: 100%; 
    height: auto; 
    line-height: 0;
}

.imagen-ficha {
    /*border-top-right-radius: 15px; */
    /*border-top-left-radius: 15px; */
    box-shadow: 2px 1px 15px #0000001c; 
    margin: 0.25rem; 
}

/* ESTE ES UN CSS PARA NUESTRO BENEFICIO */
.navbar-nav .dropdown-menu {
    position: absolute;
    float: none;
}

#publicarDown {
    display: none;
}

#publicarUp {
    display: block;
}

.bg-miguel {
    background-color: white; 
    box-shadow: 0 -2px 9px #cccccc4f;            
}

.footer {
    position: sticky;
    left: 0;
    bottom: 0;
    background-color: white;
    color: rgba(0,0,0, .80);
    height: 50px;
}

.footer > p {
    margin: 0;
}

.footer2 {
    border-top: 1px solid rgb(38 46 48 / 30%);
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.darkmode {
    background: rgba(25,25,25,1);
}
.darkmode > * {
    color: white;
}

.leaflet-control-attribution .leaflet-control {
    display: none;
}

.divResultados {
    overflow-y: auto; 
    overflow-x: hidden; 
    height: 100%;
}

@media screen and (max-width: 769px){
    .menuButton {
        display: block;
        border: none;
        background: transparent;
    }

    .container-index {
        width: 100vw;
        height: 100vh;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 100px auto;
        max-width: 100%;
    }

    .divResultados {
        height: auto;
    }

    .custom-popup {
        height: 75%;
    }

    /* #resultados,
    .searchInput,
    #publicarUp {
        display: none;
    } */

    .styleNav {
        flex-direction: row!important;
    }

    .options {
        flex-direction: row;
    }

    #publicarDown {
        display: block;
    }
}

.colorProaxis {
    color: var(--colorAxis);
}

.bg-proaxis {
    background-color: var(--colorAxis);
    color: #fff;
}

.bg-light-grey {
    background-color: rgb(231 230 228);
}

/* .nav-link.custom-nav {
    color: #fff !important;
    background-color: var(--colorAxis);
} */

.nav-link.custom-nav {
    transition: all 0.2s ease-in-out;
}

.nav-link.custom-nav:hover {
    color: #fff !important;
    background-color: var(--colorAxis);
}

.addressFormat {
    white-space: nowrap; 
    text-overflow: ellipsis; 
    overflow: hidden; 
    display: inherit;
}

.container-popup {
    width: 200px; 
    height: auto;  
    background-size: cover; 
    background-position: center; 
    border-radius: 4px;
    box-shadow: 0 0.5rem 4rem rgb(0 0 0 / 50%);
}

.popup-info {
    color: white; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(33 33 33 / 75%) 100%); 
    padding: 30% 12px 12px; 
    border-radius: 4px;
}

/* .containerPopup {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: 100px;
}

.containerPopup .popup__image {
    width: 100%;
    height: 100%;
} */

/* .leaflet-popup-content-wrapper {
    border-radius: 0px;
}

.leaflet-popup-content {
    margin: 0px;
    
} */

.grid {
    display: grid;
    grid-gap: 1rem; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* margin: 1rem;  */
}

.pointer {
    cursor: pointer;
}

.greyColor {
    color: #73737359; 
}

.fichaNueva {
    height: 250px; 
    border: none;
    transition: all 0.3s ease;
    color: black;
    text-decoration: none;
}

.fichaNueva:hover {
    text-decoration: none;
    color: black;
}