﻿* {
    font-family: Nunito, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 1480px) {
    .container {
        max-width: 1420px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
}

a,
input[type="submit"] {
    transition: all .2s ease-out;
}

    a:not(.show):hover,
    input[type="submit"]:hover {
        opacity: .8;
    }

header {
    background-color: #007d8a;
    padding-top: 56px;
    margin-bottom: 45px;
}

.ribbon-bg {
    height: 0;
    background: #fff;
    display: block;
    position: absolute;
    width: 100%;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
}

header.openSys {
    margin-bottom: 95px;
}

    header.openSys:after {
        display: block;
    }

header.noSubSys {
    padding-top: 235px;
    padding-bottom: 100px;
    margin-bottom: 0;
}

    header.noSubSys .container {
        display: flex;
        justify-content: center;
    }

    header.noSubSys .container-fluid {
        flex-flow: column wrap;
    }

    header.noSubSys.headerHome {
        padding-top: 130px;
        padding-bottom: 0;
    }

        header.noSubSys.headerHome .container {
            flex-flow: column wrap;
            align-items: center;
            gap: 20px
        }

        header.noSubSys.headerHome .navbar-brand {
            margin-bottom: 60px;
        }

        header.noSubSys.headerHome .navbar-slogan {
            color: #fff;
        }

.navbar {
    padding: 0;
}

.navbar-brand {
    line-height: 0;
}

.navbar-nav {
    justify-content: center;
}

.nav-link {
    color: #fff;
    line-height: 1;
    padding: 0;
    padding: 15px 20px !important;
    border-radius: 4px 4px 0 0;
    display: flex;
    white-space: nowrap;
}

    .nav-link:hover,
    .nav-link:focus {
        color: #eceeef;
    }

.dropdown {
    position: initial;
}

.dropdown-menu.ribbon {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 999;
    width: 100%;
    background-color: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    justify-content: center;
    padding: 0;
    margin: 0;
}

    .dropdown-menu.ribbon.show {
        display: flex;
        flex-flow: row wrap;
    }

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .c-submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 0;
    padding: 10px 0;
}

    .dropdown-menu .c-submenu .dropdown-item {
        padding: 12px 20px;
    }

        .dropdown-menu .c-submenu .dropdown-item:hover {
            background: #F8F9FA;
        }

.dropdown-menu > li:hover > .c-submenu {
    display: block;
    overflow: auto;
}

.headerHome .dropdown-menu > li:hover > .c-submenu {
    max-height: 180px;
}

.dropdown-menu .c-submenu::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
    border-radius: 0;
}

.dropdown-menu .c-submenu::-webkit-scrollbar-track {
    background-color: #F5F5F5;
    border-radius: 0;
}

.dropdown-menu .c-submenu::-webkit-scrollbar-thumb {
    background-color: #007d8a;
    border-radius: 0;
}

.dropdown-toggle {
    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
}

    .dropdown-toggle::after {
        border-top: 0;
        border-right: 1px solid #616161;
        border-bottom: 1px solid #616161;
        border-left: 0;
        width: 8px;
        height: 8px;
        transform: rotate(45deg);
        margin-top: -4px;
    }

    .dropdown-toggle:not(.btn-action):after {
        content: none;
    }

    .dropdown-toggle.show {
        color: #007d8a;
    }

        .dropdown-toggle.show:after {
            border-color: #fff;
        }



.dropdown-item,
.dropdown-toggle {
    color: #616161;
    padding: 15px 20px;
}

    .dropdown-item:hover,
    .dropdown-item.active,
    .dropdown-toggle:hover {
        background: none;
        color: #007D8A;
    }

.nav-item {
    display: flex;
    align-items: center;
}


    .nav-item:has(.show) .nav-link {
        background: #fff;
        color: #007d8a;
    }

.c-navbar-secondary {
    position: absolute;
    top: 0;
    right: 0;
}

    .c-navbar-secondary .navbar-nav {
        flex-flow: row wrap;
    }

    .c-navbar-secondary .nav-link {
        font-size: 12px;
        padding: 10px;
    }

    .c-navbar-secondary .nav-item:first-of-type::after {
        content: '';
        display: block;
        height: 12px;
        width: 1px;
        background: #fff;
    }

.footer {
}

    .footer p {
        color: #323232;
        line-height: 1;
        margin: 10px 0;
        text-align: center;
    }

    .footer a {
        color: #007d8a;
        text-decoration: none;
    }

main {
    display: flex;
    justify-content: center;
    margin-bottom: 90px;
}

.card {
    display: flex;
    padding: 20px 0 30px;
    border: 0;
    border-radius: 0;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
    background: #FFFFFF;
    flex-flow: column wrap;
    gap: 20px;
    margin-bottom: 45px;
    box-shadow: 0px 0px 6px rgb(0 0 0 / 20%);
}

.card-grid {
    padding-bottom: 0;
}

.card--header {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 20px;
}

    .card--header h4 {
        font-size: 24px;
        line-height: 1;
    }

.card--login {
    align-items: center;
    background: #FFFFFF;
    padding: 20px 15px;
    gap: 30px;
    border-radius: 4px 4px 0 0;
    margin-top: -60px;
}

    .card--login h4 {
        font-weight: 400;
        color: #007D8A;
        margin-bottom: 0;
    }


.form-group {
    margin-bottom: 15px;
    display: flex;
}

    .form-group a {
        color: #007d8a;
        text-decoration: none;
    }

.control-label {
    color: #616161;
    line-height: 1;
    margin-bottom: 10px;
}

.form-header {
    padding: 0 15px;
}

    .form-header h5 {
        color: #323232;
        font-size: 24px;
        margin: 0;
        margin-bottom: 10px;
    }

    .form-header p {
        color: #616161;
        margin: 0;
        margin-bottom: 20px;
    }

.card hr {
    margin: 0;
}

.form-control, .form-control.form-select {
    max-width: 416px;
    border: 2px solid #ebebeb;
    outline: none !important;
    background: #fff;
    font-size: 12px;
    padding: 12px 15px;
    border-radius: 0;
    color: #616161;
    position: relative;
}

.form-group.form-search {
    margin-bottom: 0;
    position: absolute;
    z-index: 2;
    right: 15px;
    margin-top: 6px;
}

    .form-group.form-search input {
        padding: 6px 15px;
        font-size: 14px;
        border-right: 0;
    }

.form-search-icon {
    background: #007D8A;
    padding: 6px 15px;
}

    .form-search-icon svg {
        color: #fff;
    }

.form-control.form-select {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23878787" class="bi bi-chevron-down" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/> </svg>');
    background-repeat: no-repeat;
    background-size: 10px 10px;
    background-position: calc(100% - 15px) center;
}

    .form-control.form-select.show {
        border-color: #007d8a;
    }

.bs-searchbox .form-control[type="search"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search" viewBox="0 0 16 16"> <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>');
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: 8px center;
    padding-left: 28px;
}

.form-control.form-select > .dropdown-menu {
    transform: translate(0, 46px) !important;
    border-radius: 0;
    border-width: 0 2px 2px 2px;
    border-color: #d4d4d4;
}

.bootstrap-select .dropdown-menu li a {
    padding: 10px 15px;
    transition: none;
}

.bootstrap-select .dropdown-menu li:hover {
    background-color: #007d8a;
}

    .bootstrap-select .dropdown-menu li:hover a {
        color: #fff;
    }

.form-control.form-select,
.form-control[type="date"]:not(.active) {
    color: #878787;
}

.form-control:active,
.form-control.active,
.form-control:focus,
.form-control:not(.form-select, input[type="date"]):not(:placeholder-shown),
.bootstrap-select .dropdown-toggle.form-select:focus,
.bootstrap-select > select.mobile-device:focus + .dropdown-toggle.form-select {
    outline: 0 !important;
    box-shadow: none;
    border-color: #878787;
    color: #616161;
}

.form-btns {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-align: center;
}

.form-btns-vertical {
    flex-direction: column;
    gap: 15px;
}

    .form-btns-vertical p {
        margin-bottom: 0;
    }

.btn, .btn.active {
    border-radius: 0;
    border: 2px solid #007D8A;
    background: #007D8A;
    color: #fff;
    padding: 15px 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

    .btn.btn-outline-primary {
        background: transparent;
        color: #007d8a;
    }

        .btn.btn-outline-primary:hover {
            background: none;
        }

    .btn.btn-sm {
        padding: 8px 12px;
    }

.btn-add i {
    font-size: 14px;
    line-height: 1;
}

.btn:hover {
    border-color: #007D8A;
    background: #007D8A;
    opacity: .8;
}

.btn:disabled {
    border-color: #007D8A;
    background: #007D8A;
    opacity: .8;
}

.btn:active, .btn:focus {
    outline: 0;
    box-shadow: none !important;
    border-color: #007D8A;
    background: #007D8A;
}

.form-footer {
    margin-top: 40px;
}

    .form-footer p {
        text-align: center;
        font-size: 14px;
        margin: 0;
    }

        .form-footer p a {
            color: #007D8A;
            text-decoration: none;
            font-weight: 500;
        }

.form-compact {
    width: 100%;
}

    .form-compact .form-group {
        width: 100%;
        flex-direction: column;
    }

::placeholder {
    color: #878787 !important;
}

input::-webkit-calendar-picker-indicator {
    display: none;
}

input[type="date"]::-webkit-input-placeholder {
    visibility: hidden !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.form-fch .form-group {
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
    margin-bottom: 7px;
    column-gap: 24px;
}

.form-group-btns {
    gap: 30px;
}

.form-fch .control-label {
    width: calc(100% - 440px);
    text-align: right;
}


.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}

.w-45 {
    width: 45%;
}

.w-55 {
    width: 55%;
}

.w-60 {
    width: 60%;
}

.w-65 {
    width: 65%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-85 {
    width: 85%;
}

.w-90 {
    width: 90%;
}

.w-95 {
    width: 90%;
}

.form-group > span.text-danger {
    padding-left: calc(100% - 416px) !important;
}


.grid--header {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dropdown-actions {
    display: inline-block;
}

    .dropdown-actions .dropdown-menu {
        border-radius: 0;
    }

        .dropdown-actions .dropdown-menu li:hover {
            background: #ebebeb;
        }

.btn-action,
.btn-action:hover {
    background: #fff;
    color: #616161;
    border: 2px solid #EBEBEB;
    padding: 8px 12px;
    transition: .15s all ease-out;
}

    .btn-action.show {
        color: #fff;
        background: #007d8a;
        border-color: #007d8a;
    }

.mvc-grid-empty-row > td {
    text-align: center !important;
}

.margin-card-valores {
    margin-top: 33px;
}

.card > * {
    max-width: 100%;
}

.table-responsive {
    overflow: auto;
}

.pagination {
    display: flex;
    flex-flow: row wrap;
    gap: 5px;
}

    .pagination li {
        text-align: center;
    }

        .pagination li a {
            border: 2px solid #ebebeb;
            box-sizing: content-box;
            background: #ffffff;
            padding: 0 0.25em;
            line-height: 2.5;
            cursor: pointer;
            margin: 0.5em 0;
            min-width: 2em;
            color: #007D8A;
        }

        .pagination li.active a {
            border-color: #007D8A;
            background-color: #007D8A;
            color: #fff;
        }

*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 6px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #007D8A;
}

#loadingDiv {
    position: absolute;
    z-index: 99999;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    background: rgba(256, 256, 256, .6);
}

    #loadingDiv > div {
        height: 100%;
    }
