/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito Sans", sans-serif !important;
    font-style: normal;
    background: #f9f9f9;
    color: #333;
}

a {
    color: #026644;
    text-decoration: none;
}

a:hover {
    color: #01462f;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito Sans", sans-serif;
}

.btn-primary {
    background: #00784f;
    border-color: #016040;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #016040;
    border-color: #016040;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

#main {
    margin-top: 60px;
    padding: 30px;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

.pagetitle h1 {
    font-size: 20px;
    color: #016543;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 1px solid #dbd8d8;
    padding-bottom: 5px;
    text-transform: uppercase;
}

/* Header */

.logo {
    line-height: 1;
    width: 100%;
    padding-right: 52px;
}

@media (min-width: 1200px) {
    .logo {
        width: 800px;
    }
}

.logo img {
    height: 40px;
    margin: auto;
    display: block;
    -webkit-filter: drop-shadow(0px 2px 2px #ffffff);
}

.logo span {
    font-size: 26px;
    font-weight: 700;
}

.header {
    z-index: 997;
    height: 60px;
    background-color: #c0c0c0;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
    padding-left: 20px;
}

.header .toggle-sidebar-btn {
    font-size: 36px;
    cursor: pointer;
    color: #016543;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #dfdfdf;
    padding: 20px;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    background: #e4e4e4;
    font-size: 16px;
    padding: 8px 15px;
    font-weight: 600;
    transition: 0.3;
    border-radius: 4px;
}

.sidebar-nav .nav-link,
.sidebar-nav .nav-link i,
.sidebar-nav .nav-content a {
    color: #333;
}

.sidebar-nav .nav-link i {
    font-size: 22px;
    margin-right: 12px;
}

.sidebar-nav .nav-link.collapsed {
    color: #016543;
    background: #dfdfdf;
    font-family: "Nunito Sans", sans-serif;
}

.sidebar-nav .nav-link.collapsed i {
    color: #016543;
}

.sidebar-nav .nav-link:hover {
    color: #00784f;
}

.sidebar-nav .nav-link:hover i {
    color: #00784fa8;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-content a.active {
    color: #00784f !important;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: 0.3;
    padding: 10px 0 10px 32px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 18px;
    margin-right: 10px;
    line-height: 0;
    border-radius: 50%;
}


.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}


/* DATA CARDS */

.data.card {
    border-radius: 0;
    box-shadow: none !important;
    border: 1px solid #a6a6a6 !important;
}

.data .card-body {
    padding: 20px;
    background-color: #c0c0c0;
    border-radius: 0;
}

.data .card-header {
    border-color: #d2d2d2;
    background-color: #d4d4d4;
    color: #333;
    padding: 6px 20px;
    font-size: 20px;
    border-radius: 0 !important;
    font-weight: 700;
}

.data .card-footer {
    border-color: #c0c0c0;
    background-color: #c0c0c0;
    padding: 4px 18px 14px;
    border-radius: 0 !important;
}

.data .btn-primary {
    background: #d2d2d2;
    border-color: #9d9d9d;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.data .btn-primary:hover {
    background: #9d9d9d;
}



/* Cards */

.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    font-size: 26px !important;
    color: #016543;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    padding-top: 10px;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 20px 16px;
    background-color: #fff;
    border-radius: 5px;
}

.card.ups {
    margin-bottom: 30px;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    text-align: center;
}

.card.ups .card-title {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    padding: 15px 0 6px 0;
    margin-top: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #9b9999;
}

.card.ups .card-body {
    background-color: #b1b1b1;
    border-radius: 8px;
}

.card.ups .card-body p {
    color: #333;
    margin: 0;
}

.card.ups .card-body p + p {
    color: #666;
    font-size: 16px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

.card h2 {
    font-size: 19px;
    margin-top: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.card label {
    margin-bottom: 6px;
    margin-left: 0;
    font-weight: 600;
}

.card p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
}

.midline {
    border-right: 1px solid #a6a6a6;
}

.card table th {
    border-top: 1px solid #a6a6a6;
    border-bottom: 1px solid #a6a6a6;
}

.table-light th,
.table-striped th {
    background-color: #cbcbcb;
    border-bottom: 1px solid #a6a6a6;
}



/* Forms */

label {
    margin-bottom: 8px;
    margin-left: 3px;
    font-weight: 600;
}

.form-select, .form-control {
    font-size: 14px;
}

.search-form input {
    border: 0;
    font-size: 14px;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 14px;
    border-radius: 6px;
    width: 100%;
}

.search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

/* CARD TANQUE */

.tanque .card-header {
    background-color: #016543;
    color: #FFF;
    font-weight: 600;
    padding: 10px 0 8px 20px;
}

.tanque .card-header a {
    color: #FFF;
}

.tanque .btn-secondary {
    background-color: transparent;
    border: none;
    float: right;
    padding: 0 18px;
    font-weight: 800;
    font-size: 30px;
    line-height: 0.7;
}

.tanque .card-body img {
    width: 50%;
    height: auto;
    margin: 6px 25% 25px;
}

table.data {
    font-size: 15px;
}

table.data tbody tr td {
    width: 50%;
}

/* CARD DETALLE */

.detalle .card-header {
    background-color: #d4d4d4;
    color: #333;
    border-color: #c6c6c6;
    font-size: 16px;
    font-weight: 700;
    padding: 7px 12px;
}

.detalle .card-body {
    padding: 16px 10px;
}

.detalle .card-body img {
    width: 100%;
    height: auto;
}

.detalle.nivel {
    box-shadow: none;
}

.detalle.nivel .card-body {
    padding: 12px 6px;
    background-color: #f9f9f9;
}

.detalle.nivel img {
    width: 56%;
    height: auto;
    margin: 0 22%;
}

.estados p {
    margin-bottom: 10px;
}


/* Buttons */

.btn-outline-success {
    background-color: #f4f4f4;
    color: #095809;
}

.btn-detalle {
    font-size: 16px;
}


/* Icons list */

.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}


/*--------------------------------------------------------------
# Login
--------------------------------------------------------------*/

.login .logo {
    width: auto !important;
    padding-right: initial;
}

.login .logo img {
    height: 70px !important;
    width: auto !important;
    max-height: none;
    margin-right: 0;
    margin-bottom: 20px;
    -webkit-filter: drop-shadow(0px 2px 2px #ffffff);
}

.headerlogin {
    z-index: 997;
    height: 140px;
    position: relative;
    background-color: #c0c0c0;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
}

.headerlogin img {
    height: 70px;
    max-height: none;
    -webkit-filter: drop-shadow(0px 2px 2px #ffffff);
}

.login h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.form-label {
    color: #555;
}
