html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #999999;
}
input[type="checkbox"]:checked {
    background-color: #999999 !Important;
    accent-color: #e0e0e0 !Important;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.page-link {
    cursor:default;
}
.table-footer{
    /*position:absolute;*/
    bottom:0px;

}

@media (max-width: 576px){
    .dropdown-item::before{
        transform: rotate(-90deg);
    }
}

.module-title {
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: solid 2px #c0c0c0;
}

.text-red{
    color:red;
}
.icon-button {
    color: #d0d0d0;
}
.icon-button:hover {
    color: #ffffff;
}

.color-success {
    color: #0f5132;
}
.color-error {
    color: #842029;
}
.color-info {
    color: #084298;
}
.toast-header-info {
    color: #084298;
    background-color: #cfe2ff;
    border-color: #b6d4fe;
}

.toast-header-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.toast-header-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.main-nav{
    z-index:200;
}



.table .editable {
    border: solid 1px #999999;
    background-color: #303030;
    color:white;
    width: 100%;
    border-radius: 4px;
    padding: 5px 5px 5px 10px;
}

    .table .editable:focus {
        background-color: #404040;
    }

.grayed {
    opacity: 0.5;
    pointer-events: none; /* Evita interacción con el modal UN */
}
.photo-profile {
    position: relative;
    height: 90px;
    width: 90px;
    background-color: white;
    z-index: 1;
    margin-bottom: -40px;
    margin-right: 30px;
    border: solid 1px #c0c0c0;
    border-radius: 45px;
    background-image: url("data:image/svg+xml,%3Csvg height='90' width='90' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='90' height='90' x='0' y='0' fill='white' /%3E%3Ccircle r='17' cx='45' cy='38' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3Ccircle r='30' cx='45' cy='90' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.photo-profile a {
    position:absolute;
    bottom: -15px;
    text-align:center;
    font-size: 8pt;
    width:100%;
}

.photo-profile-upload {
    position: relative;
    height: 200px;
    width: 200px;
    background-color: white;
    z-index: 1000;
    border: solid 1px #c0c0c0;
    border-radius: 100px;
    background-image: url("data:image/svg+xml,%3Csvg height='90' width='90' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='90' height='90' x='0' y='0' fill='white' /%3E%3Ccircle r='17' cx='45' cy='38' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3Ccircle r='30' cx='45' cy='90' fill='%23c0c0c0' stroke='%23c0c0c0' stroke-width='3' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.blockquote-footer::before {
    content: "";
}
.toast-body {
    background-color:white;
}

#mainArea {
    border-radius: 20px;
    background-color: white !Important;
    padding-bottom: 20px;
    margin-top: 10px;
    border-bottom-left-radius:unset;
    border-bottom-right-radius:unset;
}
#mainAreaLogin {
    border-radius: 20px;
    margin-top: 0px;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
    background: linear-gradient(to bottom, rgba(255,210,110,0.9) 0px, rgba(240,130,0,0.0) 20%), url("/images/background-login-min.jpg");
    background-repeat: no-repeat;
    /*background-position: 0px -750px;*/
    background-size: cover;
    display:inline-table;

}
.dropdown-menu {
    border-radius: 10px;
    border: solid 1px #ffffff;
    background-color: rgba(5, 5, 5, 0.7) !Important;
}
.dropdown-menu .dropdown-item {
    color:#d0d0d0!Important;
    background-color:unset;
}
.dropdown-menu .dropdown-item:hover {
    color: white!Important;
    background-color: #333333;
}

#loginForm {
}
    #loginForm input[type=Text] {
        background-color: black !Important;
        color: white !Important;
        border: solid 1px #e0e0e0;
        border-radius: 10px;
    }
    #loginForm label, #loginForm a {
        color: white !Important;
    }

    input[type="text"]:-webkit-autofill,
    input[type="text"]:-webkit-autofill:hover,
    input[type="text"]:-webkit-autofill:focus,
    input[type="password"]:-webkit-autofill,
    input[type="password"]:-webkit-autofill:hover,
    input[type="password"]:-webkit-autofill:focus {
        -webkit-text-fill-color: #000;
        box-shadow: 0 0 0 1000px #fff inset; /* cubre el overlay */
        caret-color: #000;
        transition: background-color 0s 600000s, color 0s 600000s; /* evita parpadeos */
    }
    #loginForm input[type="text"]:-webkit-autofill,
    #loginForm input[type="text"]:-webkit-autofill:hover,
    #loginForm input[type="text"]:-webkit-autofill:focus,
    #loginForm input[type="password"]:-webkit-autofill,
    #loginForm input[type="password"]:-webkit-autofill:hover,
    #loginForm input[type="password"]:-webkit-autofill:focus {
        -webkit-text-fill-color: #fff;
        box-shadow: 0 0 0 1000px #000 inset; /* cubre el overlay */
        caret-color: #fff;
        transition: background-color 0s 600000s, color 0s 600000s; /* evita parpadeos */
    }

/* Firefox */
input[type="text"]:-moz-autofill,
input[type="password"]:-moz-autofill {
    box-shadow: 0 0 0 1000px #000 inset;
    -moz-text-fill-color: #fff;
}
.card {
    border-radius:20px;
    background-color:#808080;
}
.table-container {
    position: absolute;
    height: calc(100% - 60px);
    width: 100%;
    overflow: auto;
    padding-top: 0px;
    margin-top:30px;
}
.custom-table {
    border:none;
    width: 100%;
    overflow:auto;
}
    .custom-table thead th {
        background: #808080;
        position: sticky;
        top: 0;
        color: white;
        z-index: 20;
    }
    .custom-table thead tr th {
        padding-top: 0px;
    }
    .custom-table tbody {
    }
        .custom-table tbody tr {
            width: 100%;
            background: #555555;
        }
        .custom-table tbody tr:hover {
            /*filter: brightness(0.90);*/
            background: #888888;
        }
            .custom-table tbody tr td {
                /*background: #555555;
            border-top: solid 1px #ffffff;*/
                background: transparent;
                border-bottom: solid 1px #ffffff;
                color: white;
            }/*
    .custom-table tbody tr td:first-child {
        border-left: solid 1px #ffffff;
        border-top-left-radius: 5px !Important;
        border-bottom-left-radius: 5px !Important;
    }
    .custom-table tbody tr td:last-child {
        border-right: solid 1px #ffffff;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }*/
    .table-container::-webkit-scrollbar {
        width: 10px; /* ancho de la barra vertical */
    }

.table-container::-webkit-scrollbar-track {
    background: #f0f0f0; /* fondo */
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #888; /* color de la barra */
    border-radius: 10px;
    border: 2px solid #f0f0f0; /* espacio interno */
}

    .table-container::-webkit-scrollbar-thumb:hover {
        background-color: #555; /* cuando pasas el mouse */
    }

.table-container::-webkit-scrollbar-corner {
    background: transparent; /* cuando el div tiene overflow-x + overflow-y */
}



.grid-div-row {
    border-bottom: solid 1px #d0d0d0;
    /*border-radius: 10px;
    margin-bottom: 10px;*/
    background-color: #555555;
}
    .grid-div-row:hover {
        background: #888888;
    }
    .grid-div-row figure blockquote {
        color:white;
    }
    .grid-div-row figure figcaption {
        color: #d0d0d0;
    }
.card-body {
    color:white;
}
.panel-subject {
    color: white !Important;
}
.panel-date {
    color: black !Important;
}
.panel-subject{
    padding-top: 20px;
}
.dsn-table-pagination {
    bottom: 0px;
    position: absolute;
    left: 10px;
}
.cmdCompanies {
    font-size: 16pt;
    color: #a0a0a0;
    margin: 5px;
}
.cmdCompanies:hover {
    color: white;
}
#mainMessageQtty {
    font-size: 8pt;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    padding: 3px;
    margin-top: -30px;
    margin-left: 10px;
    position:absolute;
    width:30px;
}

/*  BEGIN Filter AREA*/
.filter-area {
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    position: relative;
}

    .filter-item label {
        margin-right: .5rem; /* separación label-control */
        margin-bottom: 0; /* sin margen abajo */
        white-space: nowrap; /* que la etiqueta no se corte en varias líneas */
    }

    .filter-item .search-group {
        border: 0px;
        padding: 5px;
        margin-right: -30px;
        z-index: 10;
    }

    .filter-item #txtSearch {
        padding: 5px;
    }

    .filter-item #txtFrom, .filter-item #txtTo {
        padding: 5px;
        max-width: 140px;
    }

    .filter-item #txtFarm {
        padding: 5px;
        min-width: 200px;
    }
/*  END Filter AREA*/