html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
#TabReporteGeneradas-footer {
    margin-top: 30px !important;
    margin-left:-25px;
}

.pagination > li > a {
    background-color: #eee;
    padding: 10px;
    border: .5px solid #DDD;
    font-weight: bold;
}

.pagination > li > a:hover {
    color: white;
    background-color: #183776;
    border: .5px solid #183776;
    padding: 10px;
    font-weight: bold;
}

.pagination > .active > a {
    color: white;
    background-color: #183776;
    padding: 10px;
    border: .5px solid #183776;
    font-weight: bold;
}

:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #222d32;
    --first-color-light: #AFA5D9;
    --white-color: #3c8dbc;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}

*, ::before, ::after {
    box-sizing: border-box
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s
}

a {
    text-decoration: none
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: 0 0 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_logo, .nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    padding: 0 0 0 1rem
}

.nav_logo {
    height: 63px;
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

.nav_link {
    column-gap: 2rem;
    position: relative;
    color: whitesmoke !important;
    margin-bottom: 1.5rem;
    transition: .3s;
    font-size: 13px
}

    .nav_link:hover {
        color: var(--white-color) !important
    }

    .nav_link.active {
        color: var(--white-color) !important
    }

    .nav_link:hover {
        color: var(--white-color)
    }

.nav_icon {
    font-size: 1rem
}

.show {
    left: 0
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.active {
    color: var(--white-color)
}

    .active::before {
        content: '';
        position: absolute;
        left: 0;
        width: 2px;
        height: 32px;
        background-color: var(--white-color)
    }

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }

    .header_img {
        width: 40px;
        height: 40px
    }

        .header_img img {
            width: 45px
        }

    .l-navbar {
        left: 0;
        padding: 0 0 0 0
    }

        .l-navbar.show {
            width: calc(var(--nav-width) + 156px)
        }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    }

    .logo {
        background-color: #3c8dbc;
    }
}

.principal {
    padding: 20px
}

.user-image {
    width: 40px;
    vertical-align: middle
}

.user-menu {
    list-style: none
}

.dropdown .user, .user-menu >.dropdown-menu.show {
    text-align: center;
    width: 100%;
    background-color: #3c8dbc;
    margin-top: 21px !important;
    border-color: #3c8dbc;
    color: whitesmoke;
    padding: 10px;
}

#btnSalir {
    width: 100%
}

.login-box-body {
    border-radius: 20px;
    box-shadow: -10px 15px 15px -3px
}

.modal-body > .login-box-body {
    border-radius: 0;
    box-shadow: 0px 0px 0px 0px
}

.form-group {
    margin-bottom: 10px;
}

.form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.has-feedback {
    position: sticky;
}

.loader {
    width: 24px;
    height: 24px;
    border: 5px solid #FFF;
    border-bottom-color: #1d386e;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    vertical-align: middle;
    display: none;
    margin: 0 auto;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.menuItem {
    left: 10px
}

.menuText {
    margin-left: 10px;
}

.menuItem:hover {
    color: red
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
    display: table-cell;
}

    .input-group-addon:not(:first-child):not(:last-child),
    .input-group-btn:not(:first-child):not(:last-child),
    .input-group .form-control:not(:first-child):not(:last-child) {
        border-radius: 0;
    }

.input-group-addon,
.input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555555;
    text-align: center;
    background-color: #eeeeee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

    .input-group-addon.input-sm {
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 3px;
    }

    .input-group-addon.input-lg {
        padding: 10px 16px;
        font-size: 18px;
        border-radius: 6px;
    }

    .input-group-addon input[type="radio"],
    .input-group-addon input[type="checkbox"] {
        margin-top: 0;
    }

    .input-group .form-control:first-child,
    .input-group-addon:first-child,
    .input-group-btn:first-child > .btn,
    .input-group-btn:first-child > .btn-group > .btn,
    .input-group-btn:first-child > .dropdown-toggle,
    .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
    .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group-addon:first-child {
        border-right: 0;
    }

    .input-group .form-control:last-child,
    .input-group-addon:last-child,
    .input-group-btn:last-child > .btn,
    .input-group-btn:last-child > .btn-group > .btn,
    .input-group-btn:last-child > .dropdown-toggle,
    .input-group-btn:first-child > .btn:not(:first-child),
    .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .input-group-addon:last-child {
        border-left: 0;
    }

.input-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

    .input-group-btn > .btn {
        position: relative;
    }

        .input-group-btn > .btn + .btn {
            margin-left: -1px;
        }

        .input-group-btn > .btn:hover,
        .input-group-btn > .btn:focus,
        .input-group-btn > .btn:active {
            z-index: 2;
        }

    .input-group-btn:first-child > .btn,
    .input-group-btn:first-child > .btn-group {
        margin-right: -1px;
    }

    .input-group-btn:last-child > .btn,
    .input-group-btn:last-child > .btn-group {
        z-index: 2;
        margin-left: -1px;
    }

button.close {
    -webkit-appearance: none;
    padding: 0;
    background: 0 0;
    border: 0;
}

.close {
    float: right;
    font-size: 21px;
    line-height: 1;
    color: #000;
    font-weight: 700;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}

button.close:hover {
    text-decoration: none;
    cursor: pointer;
    opacity: .5;
}

#preview {
    margin-top: 15px;
}

#preview li {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 15px;
}


#preview button {
    grid-column: 2;
    justify-content: start
}

.search > .input-group span {
    padding-right: 25px;
    padding-top: 12px;
}

#previewDiv {
    margin-top: 15px;
    border: solid 2px grey;
    display: grid;
    grid-template-columns: repeat(9,1fr);
    grid-row-gap: 15px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 300px;
    min-height: 0px;
}

#previewDiv .excelFile {
    margin: 15px;
    border: solid 1px grey;
    height: 100px;
    width: 100px;
    overflow: hidden;
    border-radius:5px
}

#previewDiv .excelFile button {
    width: 100px;
    height: 25px;
    margin-top: -20px;
    margin-right: 15px;
    font-size: 10px;
}

#previewDiv .excelFile button span {
    font-size: 12px;
}

#previewDiv .excelFile i {
    color: darkgreen;
    font-size: 35px;
    grid-row: 1;
    display: grid;
    justify-content: center;
    margin-top: 10px
}

#previewDiv .excelFile p {
    grid-row: 2;
    color: darkblue;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 70px;
    margin-left: 10px;
    margin-top: 5px;
}

.linea {
    border-top: 1px solid #999;
    position: relative;
    top: 10px;
    float: left;
}

.leyenda {
    font-size: 10pt;
    font-weight: bold;
    float: left;
}

.grid-container {
    display: grid;
    grid-template-columns: 3fr 1fr 3fr;
    grid-gap: 10px;
    margin-top: 50px;
    color: darkblue;
}

.grid-container > div {
    text-align: center;
    font-size: 10pt;
}