﻿body {
    padding-bottom: 20px;
    overflow-x: hidden;
    overflow-y: hidden;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif !important;
    /*font-family: Verdana, Geneva, Tahoma, sans-serif !important;*/
    background: rgba(1, 33, 105, 1) !important;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 20px;
    padding-top: 30px;
    padding-bottom: 10px;
    box-shadow: 3px 2px 10px 5px rgba(0,0,0,.15);
    padding-left: 15px;
    padding-right: 15px;
    font-family: Verdana;
    font-size: 14px;
    background-color: white !important;
    border-radius: 5px;
}

/* Set width on the form input elements since they're 100% wide by default */
button,
input,
select,
textarea,
a {
    /*max-width: 280px;*/
    outline: none;
}

    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        box-shadow: 0 0 0 0 !important;
        outline: 0;
    }

    a,
    a:hover,
    a:focus {
        text-decoration: none !important;
        transition: all 0.3s;
        cursor: pointer;
    }

        a.idioma:not(.text-muted) {
            font-weight: bold;
            color: rgba(1, 33, 105, 1) !important;
        }

        a.idioma:hover {
            color: rgba(1, 33, 105, 1) !important;
        }

.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    display: inline-block; /*Edge*/
}

.center-block {
    margin-left: auto;
    margin-right: auto;
}

.display-none {
    display: none !important;
}

#header {
    background-color: white !important;
    -webkit-box-shadow: 0 2px 10px 0 rgb(255,255,255);
    box-shadow: 3px 2px 10px 5px rgba(0,0,0,.15);
    font-weight: bold;
}

    #header .navbar-toggler {
        border-color: #012169 !important;
    }

/* Menu principal */
#menu ul {
    padding-top: 15px;
}

    #menu ul li {
        margin-left: 10px;
    }

        #menu ul li a {
            padding: 10px 20px;
            font-size: 1em;
            color: #012169;
            border-radius: 5px;
            white-space: nowrap;
            margin-bottom: 5px;
        }

            #menu ul li a:not(.nav-icon) {
                padding: 10px 20px;
            }

            #menu ul li a:hover:not(.disabled),
            #menu ul li a.active {
                border-radius: 5px;
                color: white;
                background-color: #334d87;
            }


            #menu ul li a.nav-icon {
                position: relative;
                padding: 10px;
            }

.badge-notify {
    position: absolute;
    top: -1px;
    left: 23px;
    padding: .25em !important;
    width: 17px;
    height: 17px;
    border-radius: 50px !important;
}

.menu-user.show {
    background-color: #334d87;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

    .menu-user.show a {
        color: #FFF !important;
    }

.menu-user .dropdown-menu {
    font-family: Verdana,sans-serif;
    font-size: 14px;
    background-color: #334d87;
    color: #FFF;
    padding: 5px;
    margin: 0 !important;
    border: 1px solid #334d87;
    padding: 10px;
}

    .menu-user .dropdown-menu.dropdown-menu-right {
        border-top-right-radius: 0 !important;
    }

    .menu-user .dropdown-menu.dropdown-menu-left {
        border-top-left-radius: 0 !important;
    }

    .menu-user .dropdown-menu li {
        width: 100%;
    }

    .menu-user .dropdown-menu label {
        font-weight: bold;
        background-color: #2f477d;
        width: 100%;
        padding: 10px 10px 0 10px;
        border-radius: 5px;
        white-space: nowrap;
        margin-bottom: 0 !important;
    }

    .menu-user .dropdown-menu a:active {
        background-color: #012169 !important;
        color: #FFF !important;
    }

    .menu-user .dropdown-menu a:hover:not(.disabled),
    .menu-user .dropdown-menu a.active {
        background-color: #FFF !important;
        color: #012169 !important;
    }

.box-user-block p {
    color: #012169;
    white-space: nowrap;
    margin: 0 !important;
}

.nav > li.dropdown.open {
    position: static;
}

    .nav > li.dropdown.open .dropdown-menu {
        display: table;
        border-radius: 0px;
        width: 100%;
        text-align: center;
        left: 0;
        right: 0;
    }

.dropdown-menu > li {
    display: table-cell;
    height: 50px;
    line-height: 20px;
    /*padding: 0 10px;*/
}


.submenu {
    background-color: #2f477d;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

#box-user {
    padding-top: 15px;
}

    #box-user .box-user-block {
        padding: 0 10px;
        margin-right: 10px;
    }


.navbar-toggle .icon-bar {
    background-color: #012169 !important;
}

.navbar-toggler {
    border-color: rgb(1, 33, 105) !important;
}

    .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(1, 33, 105, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
    }

.text-blue {
    color: #012169;
}

#box-login {
    background-color: white;
    border-radius: 20px;
    padding-top: 30px;
    padding-bottom: 20px;
}

    #box-login a {
        font-size: 14px !important;
    }

.add-margin-top-10 {
    margin-top: 10px;
}

.add-margin-top-15 {
    margin-top: 15px;
}

.add-margin-top-20 {
    margin-top: 20px;
}

.add-margin-top-30 {
    margin-top: 30px;
}

/* Table */

.table {
    border: 1px solid #DEE2E6 !important;
}

th {
    cursor: pointer;
}

td {
    text-overflow: ellipsis;
    white-space: nowrap;
    /*overflow: hidden; // problema no dropdown*/
}

.table th {
    padding: .6rem !important;
    vertical-align: middle !important;
}

.table td {
    padding: .2rem !important;
    vertical-align: middle !important;
}

table tbody td {
    white-space: normal;
    word-wrap: break-word;
}

.line-selectable {
    cursor: pointer;
}

    .line-selectable.selected,
    .line-selectable.selected:hover,
    .table-striped tbody tr:nth-child(odd).selected {
        background-color: rgb(206, 218, 243) !important;
    }

.table-striped tbody tr:nth-child(odd) {
    background-color: #f4f9fb !important;
}

table.table-hover tbody tr:hover {
    background-color: rgb(206, 218, 243) !important;
}

.btn-light {
    border-color: #dee2e6 !important;
}

.formulario,
#formulario {
    background-color: #ebecf7;
    border-radius: 3px;
    padding-top: 30px;
    padding-bottom: 20px;
}

table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}


    table th,
    table td {
        padding: .625em;
    }

    table th {
        font-size: .85em;
        text-transform: uppercase;
    }

@media screen and (max-width: 1000px) {
    table {
        border: 0;
    }

        table caption {
            font-size: 1.3em;
        }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            display: block;
            padding: .4rem !important;
        }

        table td {
            display: block;
            font-size: .8em;
            text-align: right !important;
            border-top: 0 !important;
        }

            table td::before {
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }

        table tbody {
            display: inline;
        }

    .nav-link, .dropdown-item {
        text-align: left !important;
    }

    .btn {
        margin-top: 10px;
    }

    .btn-filter.open::after {
        top: 56px !important;
    }

    .btn-filter.filter::before {
        top: 4px !important;
    }

    .lds-white {
        left: 43% !important;
    }

    .pagination {
        display: block !important;
    }

    .dropdown-menu > li {
        display: table !important;
    }

    .nav-link {
        text-align: left;
    }

    .bar-concentrado {
        flex-direction: column;
    }

        .bar-concentrado > .btn {
            margin: 10px 0 !important;
        }
}

@media screen and (max-width: 333px) {
    .btn-filter.open::after {
        top: 103px !important;
    }
}

/* Loader */
.background-loader {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    background-color: rgba(1, 33, 105, 1) !important;
}

.lds-white {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    top: 45%;
    left: 45%;
}

    .lds-white div {
        position: absolute;
        width: 5px;
        height: 5px;
        background: white;
        border-radius: 50%;
        animation: lds-white 1.2s linear infinite;
    }

        .lds-white div:nth-child(1) {
            animation-delay: 0s;
            top: 29px;
            left: 53px;
        }

        .lds-white div:nth-child(2) {
            animation-delay: -0.1s;
            top: 18px;
            left: 50px;
        }

        .lds-white div:nth-child(3) {
            animation-delay: -0.2s;
            top: 9px;
            left: 41px;
        }

        .lds-white div:nth-child(4) {
            animation-delay: -0.3s;
            top: 6px;
            left: 29px;
        }

        .lds-white div:nth-child(5) {
            animation-delay: -0.4s;
            top: 9px;
            left: 18px;
        }

        .lds-white div:nth-child(6) {
            animation-delay: -0.5s;
            top: 18px;
            left: 9px;
        }

        .lds-white div:nth-child(7) {
            animation-delay: -0.6s;
            top: 29px;
            left: 6px;
        }

        .lds-white div:nth-child(8) {
            animation-delay: -0.7s;
            top: 41px;
            left: 9px;
        }

        .lds-white div:nth-child(9) {
            animation-delay: -0.8s;
            top: 50px;
            left: 18px;
        }

        .lds-white div:nth-child(10) {
            animation-delay: -0.9s;
            top: 53px;
            left: 29px;
        }

        .lds-white div:nth-child(11) {
            animation-delay: -1s;
            top: 50px;
            left: 41px;
        }

        .lds-white div:nth-child(12) {
            animation-delay: -1.1s;
            top: 41px;
            left: 50px;
        }

@keyframes lds-white {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }
}

/* Loader Grid's */
.background-loader-grid {
    background-color: black;
    position: absolute;
    width: 100%;
    height: 1250px;
    z-index: 9997;
    opacity: 0.5;
    margin-top: -30px;
    display: none;
}

.lds-white {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    top: 45%;
    left: 49%;
}

    .lds-white div {
        position: absolute;
        width: 5px;
        height: 5px;
        background: #fff;
        border-radius: 50%;
        animation: lds-white 1.2s linear infinite;
    }

        .lds-white div:nth-child(1) {
            animation-delay: 0s;
            top: 29px;
            left: 53px;
        }

        .lds-white div:nth-child(2) {
            animation-delay: -0.1s;
            top: 18px;
            left: 50px;
        }

        .lds-white div:nth-child(3) {
            animation-delay: -0.2s;
            top: 9px;
            left: 41px;
        }

        .lds-white div:nth-child(4) {
            animation-delay: -0.3s;
            top: 6px;
            left: 29px;
        }

        .lds-white div:nth-child(5) {
            animation-delay: -0.4s;
            top: 9px;
            left: 18px;
        }

        .lds-white div:nth-child(6) {
            animation-delay: -0.5s;
            top: 18px;
            left: 9px;
        }

        .lds-white div:nth-child(7) {
            animation-delay: -0.6s;
            top: 29px;
            left: 6px;
        }

        .lds-white div:nth-child(8) {
            animation-delay: -0.7s;
            top: 41px;
            left: 9px;
        }

        .lds-white div:nth-child(9) {
            animation-delay: -0.8s;
            top: 50px;
            left: 18px;
        }

        .lds-white div:nth-child(10) {
            animation-delay: -0.9s;
            top: 53px;
            left: 29px;
        }

        .lds-white div:nth-child(11) {
            animation-delay: -1s;
            top: 50px;
            left: 41px;
        }

        .lds-white div:nth-child(12) {
            animation-delay: -1.1s;
            top: 41px;
            left: 50px;
        }

@keyframes lds-white {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }
}

.nav-tabs .nav-link.active {
    color: #012169 !important;
    font-weight: bold;
}

.nav-tabs .nav-link {
    color: #6c757d !important;
    font-weight: bold;
}

.tab-content {
    padding: 20px 0;
    border: 1px solid #DEE2E6;
    border-top-color: rgb(222, 226, 230);
    border-top-style: solid;
    border-top-width: 1px;
    border-top: 0 !important;
}

.sorting,
.sorting_asc,
.sorting_desc {
    position: relative;
    padding-right: 30px;
}

    .sorting::after,
    .sorting_asc::after,
    .sorting_desc::after {
        right: .5em;
        content: "\f0de";
        font-family: FontAwesome;
        font-size: 1rem;
    }

    .sorting::before,
    .sorting_asc::before,
    .sorting_desc::before {
        right: .5em;
        content: "\f0dd";
        font-family: FontAwesome;
        font-size: 1rem;
    }

    .sorting::after,
    .sorting_asc::after,
    .sorting_desc::after,
    .sorting::before,
    .sorting_asc::before,
    .sorting_desc::before {
        position: absolute;
        bottom: .45em;
        display: block;
        opacity: .3;
    }

    .sorting_asc::before,
    .sorting_desc::after {
        opacity: 0;
    }

.sorting_asc_disabled::after,
.sorting_desc_disabled::before {
    opacity: 1;
}

h4.text-muted {
    color: #a82e2e !important;
}

.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none !important;
    border-radius: 5px;
    background-color: #fdfdfe;
    border: 1px solid #dee2e6;
}

.pagination li.active a {
    background-color: #728bc1;
    border-radius: 5px;
    color: white;
}

.pagination li:hover:not(.active) a {
    background-color: #cedaf3;
}

.pagination li a:focus {
    outline: none;
}

/* ----- BOX FILTER ----- */

.card-filter {
    background: #ebecf1;
    margin-top: 15px;
    padding: 20px 0;
    display: none;
}

.btn-filter.filter:before {
    content: "\f058";
    font-family: FontAwesome;
    position: absolute;
    color: #007BFF;
    top: -7px;
    margin-left: 115px;
}

.btn-filter.open:after {
    content: '';
    position: absolute;
    border-bottom: 8px solid #ebecf1;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    top: 46px;
    margin-left: -15px;
}

.modal {
    padding: 0 17px !important;
    overflow-y: auto !important;
}

.modal-xl {
    max-width: 1000px !important;
    min-height: 100% !important;
}

.modal-content {
    min-height: 100%;
}

/* LOADER MODAL */
.loader-modal {
    display: inline-block;
    position: relative;
    width: 35px;
    height: 35px;
}

    .loader-modal div {
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        animation: loader-modal 1.2s linear infinite;
        background-color: rgb(70, 71, 78);
    }

        .loader-modal div:nth-child(1) {
            top: 0px;
            left: 0px;
            animation-delay: 0s;
        }

        .loader-modal div:nth-child(2) {
            top: 0px;
            left: 15px;
            animation-delay: -0.4s;
        }

        .loader-modal div:nth-child(3) {
            top: 0px;
            left: 30px;
            animation-delay: -0.8s;
        }

        .loader-modal div:nth-child(4) {
            top: 15px;
            left: 0px;
            animation-delay: -0.4s;
        }

        .loader-modal div:nth-child(5) {
            top: 15px;
            left: 15px;
            animation-delay: -0.8s;
        }

        .loader-modal div:nth-child(6) {
            top: 15px;
            left: 30px;
            animation-delay: -1.2s;
        }

        .loader-modal div:nth-child(7) {
            top: 30px;
            left: 0px;
            animation-delay: -0.8s;
        }

        .loader-modal div:nth-child(8) {
            top: 30px;
            left: 15px;
            animation-delay: -1.2s;
        }

        .loader-modal div:nth-child(9) {
            top: 30px;
            left: 30px;
            animation-delay: -1.6s;
        }

@keyframes loader-modal {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* FIM - LOADER MODAL */

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border-color: #ced4da !important;
}

.form-control:disabled, .form-control[readonly],
.select2-container--disabled {
    opacity: 0.8 !important;
}

.select2-container--default .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
    font-size: 1rem;
    line-height: 1.5;
    padding: .375rem .25rem;
}

.select2-hidden-accessible {
    margin-top: 55px !important;
    left: 17px !important;
}

.select2 span {
    font-family: Verdana !important;
}

.btn-success {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.hidden {
    display: none;
}

.carousel-indicators li {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50%;
}

.carousel-indicators:hover li {
    color: #333;
}

.carousel-indicators li {
    border: 1px solid #012169 !important;
    opacity: 0.5;
}

.carousel-indicators .active {
    background-color: #012169 !important;
    opacity: 0.5;
}

.border-img {
    border: 3px solid #bfbfbf !important;
}

/*Search */
.close-icon {
    border: 1px solid transparent;
}

    .close-icon:after {
        content: "\f00d";
        font-family: "FontAwesome";
        display: block;
        height: 20px;
        position: absolute;
        z-index: 1;
        right: 30px;
        top: 0;
        bottom: 0;
        margin: auto;
        padding: 2px;
        color: #6c6c6c;
        font-weight: normal;
        font-size: 12px;
        cursor: pointer;
    }

    .close-icon:hover::after {
        color: #212529;
    }

.search-box.isNull ~ .close-icon {
    opacity: 0;
}

.bg-concentrado {
    background-color: #fff3cd;
    padding: 10px 0;
    color: #012169;
    text-align: center;
}

.bar-concentrado {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .bar-concentrado > .btn {
        margin: 0 !important;
    }

.dropdown-user-line .dropdown-item {
    cursor: pointer;
}

    .dropdown-user-line .dropdown-item:hover {
        background-color: rgb(206, 218, 243);
    }

.text-span-danger {
    font-size: 12px;
    color: #dc3545 !important;
}
