html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  overflow: hidden;
  overflow-y: auto;
}

.body-container {
    height: 80vh;
    min-height: 80vh;
}

.dropdown-item {
    transition: transform 0.2s ease;
}

    .dropdown-item:hover {
        transform: scale(1.1);
    }

.fa {
    padding-right: inherit;
}

.notify-badge {
    padding-top: inherit;
    display: none;
}

.app-sidebar .logo .logo-icon {
    background: url(../../images/dpnlogoBlue.ico) no-repeat;
    background-size: contain;
    border-radius: inherit;
}

.logo {
    background-color: #323539 !important;
}

.title-center {
    text-align: center;
}

.title-white{
    color: white;
}

.logo-text {
    color: floralwhite !important;
}

.sub-menu {
    background-color: #e7ecf8 !important;
}

::-webkit-scrollbar {
    width: 6px; 
}

::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 6px; 
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

::-webkit-scrollbar-thumb:horizontal {
    background-color: #888;
    border-radius: 6px;
}

.data-table {
    width: 100% !important;
    border-collapse: collapse;
    border-radius: 10px !important;
}

    .data-table th:first-child {
        border-top-left-radius: 15px;
    }

    .data-table th:last-child {
        border-top-right-radius: 15px;
    }

    .data-table tr:last-child td {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

.page-footer {
    border-radius: 5px;
    margin-top: 35vh;
}

.is-valid {
    border-color: #28a745;
    padding-right: 2.25rem;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid {
    border-color: #dc3545;
    padding-right: 2.25rem;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

@media (max-width: 1200px) {
    .navbar-nav {
        display: flex; /* Cambiar a flexbox */
        flex-direction: row; /* Alinear elementos horizontalmente */
        justify-content: center; /* Centrar elementos horizontalmente */
    }

        .navbar-nav > .nav-item {
            margin: 5px; /* Espacio entre elementos */
            flex-grow: 0; /* Evitar que los elementos se expandan */
            width: 38px; /* Ancho deseado */
            height: 40px; /* Altura deseada */
        }

    .dropdown-menu {
        min-width: 150px; /* Ancho mínimo para el menú desplegable */
    }

    .navbar .dropdown-menu.show {
        margin-top: 0 !important;
    }

    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .hidden-on-mobile {
        display: block !important
    }
}
