﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.loader-color {
    color: #063780;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.imagelogonavbar {
    margin-left: 25px
}

.cerrarsesion {
    display: none;
}

.cerrarsesionnav {
    display: block;
}

.usernamemenu {
    display: none;
}

.modal {
    overflow-y: auto;
}

.ss-option {
    font-weight: bold;
}

.ss-single-selected {
    font-weight: bold;
}

table.roles-permission th,
table.roles-permission td {
    padding-top: .55rem;
    padding-bottom: .55rem
}

table.roles-permission.borderless-table th,
table.roles-permission.borderless-table td {
    border: none !important;
}

table#datatableCatTiposUsuario.dataTable tbody td {
    vertical-align: middle;
}

.dataTables_scrollBody {
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
}

    .dataTables_scrollBody.dropdown-open {
        overflow-y: visible !important;
    }

.table-select + .select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 2px;
    height: calc(1.5em + 0.75rem);
    text-align: left;
}

    .table-select + .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: calc(1.5em + 0.75rem);
    }

    .table-select + .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 1.5;
        color: #313131;
        height: calc(1.5em + 0.75rem);
        display: flex;
        align-items: center;
    }

.table-select.border.border-danger + .select2-container--default .select2-selection--single {
    border: 2px solid #dc3545 !important;
}

.table-select button {
    border: none;
}

.table-select .ms-choice > span {
    top: 3px;
}

.draggable {
    cursor: move !important;
    cursor: grab !important;
    cursor: -moz-grab !important;
    cursor: -webkit-grab !important;
}

    .draggable:active {
        cursor: grabbing !important;
        cursor: -moz-grabbing !important;
        cursor: -webkit-grabbing !important;
    }

.legend-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: sans-serif;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.box-legend {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    box-sizing: border-box;
}

.a-tiempo {
    background-color: white;
    border: 1px solid #999;
}

.por-vencer {
    background-color: #ffcf37;
}
/* yellow */
.vencido {
    background-color: #f4af80;
}
/* light orange */
.mas7-vencido {
    background-color: #ff7d7d;
}
/* dark red */

.table-select .ms-choice > span {
    right: 25px;
}

.table-select .ms-choice > div.icon-close {
    top: 3px;
    right: 16px;
}

    .table-select .ms-choice > div.icon-close:before {
        color: #d34848;
    }

    .table-select .ms-choice > div.icon-close:hover {
        color: #d34848;
    }

#tabContainer-parcialidades .nav-tabs .nav-link {
    color: #1b6ec2;
    border: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

    #tabContainer-parcialidades .nav-tabs .nav-link:hover {
        background-color: rgba(27, 110, 194, 0.1);
        color: #1b6ec2;
    }

    #tabContainer-parcialidades .nav-tabs .nav-link.active {
        background-color: #1b6ec2;
        color: #fff !important;
        border-radius: 0.5rem 0.5rem 0 0;
    }

#tabContainer-parcialidades .tab-pane {
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #fff;
}

    #tabContainer-parcialidades .tab-pane .table thead th {
        background-color: #f8f9fa;
    }

.swal2-container {
    z-index: 1500 !important;
}

@media (max-width: 1170px) {
    .imagelogonavbar {
        margin-left: -10px;
    }

    .cerrarsesion {
        display: block;
    }

    .cerrarsesionnav {
        display: none;
    }
}

@media (max-width: 766px) {
    .usernamemenu {
        display: block;
    }
}
