@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratB';
    src: url('/fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

html, body{
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    padding-top: 40px;
    padding-bottom: 40px;
}

h1,h2,h3,h4,h5{
    font-family: 'MontserratB', sans-serif;
}

.custom-navbar {
    height: 40px; /* Ajusta la altura deseada */
    line-height: 40px; /* Centra el texto verticalmente */
}

.bg-cegym{
    background-color:#5a93a1 !important;
}

a.bg-cegym:focus,a.bg-cegym:hover,button.bg-cegym:focus,button.bg-cegym:hover{
    background-color:#1d2124!important;
}

.zf-green {
    color: #68b604;
}

.btn-success {
    background-color: #57a900;
    background-image: -moz-linear-gradient(top, #70d900, #57a900);
    background-image: -ms-linear-gradient(top, #70d900, #57a900);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
    background-image: -webkit-linear-gradient(top, #70d900, #57a900);
    background-image: -o-linear-gradient(top, #70d900, #57a900);
    background-image: linear-gradient(top, #70d900, #57a900);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
    background-color: #57a900;
}

div.container a.navbar-brand > img {
    display: inline;
    margin-right: 4px;
    margin-top: -2px;
}

.my-custom-scrollbar {
	position: relative;
	height: 100%;
	overflow: auto;
}

.table-wrapper-scroll-y {
	display: block;
}

.fill { 
    min-height: 85%;
    height: 85%;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse; /* Elimina los espacios entre celdas */
}

/* Reducir la altura de las filas */
th, td {
    padding: 0.25rem; /* Reducir el padding en celdas */
    line-height: 1; /* Reducir la altura de línea */
}

@media (max-width: 768px) {
    /* Reducir la altura de las filas */
    th, td {
        padding: 1px !important; /* Reducir el padding en celdas */
        margin: 4px !important;
        line-height: 1; /* Reducir la altura de línea */
    }
    
    #BarraMenu{
        padding: 10px !important;
        width:100vw !important;
    }
    
    .nav-item {
        background-color: white !important; /* O el color que prefieras */
        border: 0px solid rgba(0, 0, 0, 0.15) !important; /* Borde opcional */
        opacity: 1 !important; /* Asegúrate de que no sea transparente */
    }
    .nav-link{
        color: rgba(0, 0, 0, 1) !important;
        background-color: white !important; /* O el color que prefieras */
        border: 0px solid rgba(0, 0, 0, 0.15) !important; /* Borde opcional */
        opacity: 1 !important; /* Asegúrate de que no sea transparente */
    }
    .navbar-collapse{
        color: rgba(0, 0, 0, 1) !important;
        background-color: white !important; /* O el color que prefieras */
        border: 0px solid rgba(0, 0, 0, 0.15) !important; /* Borde opcional */
        opacity: 1 !important; /* Asegúrate de que no sea transparente */        
    }
    
    /* Asegura que el modal ocupe el 100% de la ventana y se centre verticalmente */
    .modal-dialog-centered {
        display: flex !important;
        align-items: center !important;
        max-height: 100vh !important; /* Ocupa toda la altura de la ventana */
        min-height: 100vh !important; /* Ocupa toda la altura de la ventana */
    }    
    
    /* Asegurar que el modal ocupe el ancho completo */
    .modal-dialog {
        display: flex !important;        
        align-items: center !important; /* Centra verticalmente */
        min-height: 100vh !important; /* Asegura que el modal esté centrado en la pantalla completa */
        max-width: 100vw !important;
        width: 100vw !important;
        padding: 0 !important;
    }  
    

    .modal-content {
        width: 100vw !important;
        overflow-x: hidden !important; /* Evita desbordamiento horizontal */
    } 

}