﻿html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: Nunito,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    height: 100%;
}

#wrapper {
    display: flex;
}

    #wrapper.full-height {
        min-height: 100vh;
    }

    #wrapper #content-wrapper {
        background-color: #F8F9FC;
        overflow-x: hidden;
        width: 100%;
    }

        #wrapper #content-wrapper #content {
            flex: 1 0 auto;
            background-color: #EFF3F9;
        }

.top-navigation {
    background-color: white;
    font-size: .9rem;
    height: 3.625rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding-left: 0;
    z-index: 1039;
}

    .top-navigation .navbar-brand {
        width: 15rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin: 0;
        font-size: 1rem;
        font-weight: bold;
    }

    .top-navigation .topbar-divider {
        width: 0;
        border-right: 1px solid #E3E6F0;
        height: calc(4.375rem - 2rem);
        margin: auto 1rem;
    }

.wrapper {
    display: flex;
}

.main-content {
    background-color: #ECF0F5;
    padding-left: 14rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: calc(100vh - 3.625rem);
    top: 3.625rem;
}

    .main-content main {
        flex: 1 0 auto;
    }

/* Hold Transition */
.hold-transition .main-content,
.hold-transition .sidebar,
.hold-transition .content-wrapper,
.hold-transition .main-header,
.hold-transition .main-sidebar,
.hold-transition .main-sidebar *,
.hold-transition .control-sidebar,
.hold-transition .control-sidebar *,
.hold-transition .main-footer {
    transition: none !important;
    -webkit-animation-duration: 0s !important;
    animation-duration: 0s !important;
}

/* Sidebar */
.sidebar {
    background-color: #24344B;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding-top: 3.625rem;
    width: 14rem;
    z-index: 1038;
}

/* Sidebar Navigation */
.nav-sidebar .nav-item {
    display: block;
    width: 100%;
    text-align: left;
    width: 14rem;
}

    .nav-sidebar .nav-item .nav-link {
        border-left: 3px solid transparent;
        color: rgba(255, 255, 255, .5);
        padding: .5rem 1rem;
    }

        .nav-sidebar .nav-item:hover .nav-link,
        .nav-sidebar .nav-item .nav-link.active {
            color: #FFF;
        }

        .nav-sidebar .nav-item .nav-link.active {
            background-color: #1E282C;
            border-left-color: #3C8DBC;
        }

    .nav-sidebar .nav-item .nav-sidebar-heading {
        color: #4B646F;
        display: block;
        font-size: .75rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: .05rem;
        padding: .25rem 1rem;
    }

.bg-image-1,
.bg-image-2,
.bg-image-3 {
    background-color: #4E73DF;
    background-position: center;
    background-size: cover;
}

.bg-image-1 {
    background-image: url('../images/backgrounds/crisdel-image-1.jpg');
}

.bg-image-2 {
    background-image: url('../images/backgrounds/crisdel-image-2.jpg');
}

.nav-borders {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

    .nav-borders .nav-link.active {
        color: #0061F2;
        border-bottom-color: #0061F2;
    }

    .nav-borders .nav-link {
        color: #687281;
        border-bottom-width: 0.125rem;
        border-bottom-style: solid;
        border-bottom-color: transparent;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 0;
        padding-right: 0;
        margin-left: 1rem;
        margin-right: 1rem;
    }

        .nav-borders .nav-link:first-child {
            margin-left: 0;
        }

.scroll-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    color: #FFF;
    background: rgba(90, 92, 105, .5);
    line-height: 46px;
}

footer.sticky-footer {
    padding: 1rem 0;
    flex-shrink: 0;
}

    footer.sticky-footer .copyright {
        line-height: 1;
        font-size: .8rem;
    }

.rotate-n-15 {
    transform: rotate(-15deg);
}

.dropdown.no-arrow .dropdown-toggle::after {
    display: none;
}

.text-gray-600 {
    color: #858796 !important;
}

@media (max-width: 767px) {
    .main-content {
        padding-left: 0;
    }

    .sidebar-open .main-content {
        transform: translate(230px, 0);
    }

    .sidebar-open .sidebar {
        transform: translate(0, 0);
    }

    .sidebar {
        transform: translate(-230px, 0);
    }
}

@media (min-width: 768px) {
    .sidebar-collapse .sidebar {
        width: 3.5rem !important;
    }

    .sidebar-collapse .nav-sidebar > li > a > span,
    .sidebar-collapse .nav-sidebar > li > span.nav-sidebar-heading,
    .sidebar-collapse .nav-sidebar > li > hr.nav-sidebar-divider {
        display: none !important;
    }

    .sidebar-content.toggled {
        overflow: visible;
        width: 6.5rem !important;
    }

    .sidebar .nav-item .nav-link i {
        font-size: .85rem;
        margin-right: .25rem;
    }

    .sidebar .nav-item .nav-link span {
        font-size: .85rem;
        display: inline;
    }

    .sidebar-collapse .main-content {
        padding-left: 3rem;
    }
    /*.sidebar .sidebar-brand .sidebar-brand-icon i {
        font-size: 2rem;
    }

    .sidebar.toggled .sidebar-brand .sidebar-brand-icon i {
        font-size: 2rem;
    }

    .sidebar.toggled .sidebar-brand .sidebar-brand-icon img {
        max-width: 4rem;
    }

    .sidebar .sidebar-brand .sidebar-brand-text {
        display: inline;
    }

    .sidebar.toggled .sidebar-brand .sidebar-brand-text {
        display: none;
    }

    .sidebar .nav-item .nav-link {
        display: block;
        width: 100%;
        text-align: left; 
        padding: 1rem;
        width: 14rem;
    }

    .sidebar.toggled .nav-item .nav-link {
        text-align: center;
        padding: .75rem 1rem;
        width: 6.5rem;
    }

    .sidebar .nav-item .nav-link i {
        font-size: .85rem;
        margin-right: .25rem;
    }

    .sidebar .nav-item .nav-link span {
        font-size: .85rem;
        display: inline;
    }

    .sidebar .sidebar-heading {
        text-align: left;
    }

    .sidebar.toggled .sidebar-heading {
        text-align: center;
    }

    .sidebar .nav-item .nav-link[data-toggle=collapse]::after {
        width: 1rem;
        text-align: center;
        float: right;
        vertical-align: 0;
        border: 0;
        font-weight: 900;
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
    }

    .sidebar .nav-item .nav-link[data-toggle=collapse].collapsed::after {
        content: '\f105';
    }

    .sidebar .nav-item .collapse,
    .sidebar .nav-item .collapsing {
        margin: 0 1rem;
    }

    .sidebar .nav-item .collapse {
        position: relative;
        left: 0;
        z-index: 1;
        top: 0;
        animation: none;
    }

    .sidebar .nav-item .collapse .collapse-inner {
        border-radius: 0;
        box-shadow: none;
    }*/
}

/* Page Header */
.page-header {
    background-color: #FFF;
    border-bottom: 1px solid #DEE2E6;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    margin: 0 0 1.25rem 0;
    padding: 1.25rem;
}

    .page-header .page-header-content {
        display: flex;
        align-items: center;
    }

.page-title {
    display: flex;
    align-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

    .page-title .page-title-icon {
        font-size: 2rem;
        display: flex;
        align-content: center;
        align-items: center;
        margin: 0 1.5rem 0 0;
        background: #FFF;
        border-radius: .25rem;
        box-shadow: 0 0.5rem 2.0rem rgba(0,0,0,0.175), 0 1rem 1.5rem rgba(0,0,0,0.175), 0 0.25rem 0.5rem rgba(0,0,0,0.175), 0 0.125rem 0.25rem rgba(0,0,0,0.175);
        padding: .725rem;
    }

        .page-title .page-title-icon i {
            margin: auto;
        }

    .page-title .page-title-content {
        font-size: 1.25rem;
        font-weight: 400;
    }

        .page-title .page-title-content .page-title-subtitle {
            padding: 3px 0 0;
            font-size: .9rem;
            opacity: .6;
        }

.page-header .page-header-actions {
    margin-left: auto;
}

/*.page-header.page-header-light {
    color: rgba(31, 45, 65, 0.5);
}

.page-header-compact .page-header-content {
    padding: 0;
}

.page-header-compact .page-header-content .page-header-title {
    font-size: 1rem;
}

.page-header-compact .page-header-content .page-header-subtitle {
    color: rgba(31, 45, 65, .5);
    font-size: .85rem;
    margin-left: .5rem;
}

.page-header .page-header-content .page-header-title {
    line-height: normal;*/
/*font-size: 2.25rem;*/
/*padding: .25rem 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.page-header .page-header-content .page-header-title .page-header-icon {
    margin-right: .5rem;
}*/

@media (min-width: 576px) {
    .topbar .dropdown .dropdown-menu {
        width: auto;
        right: 0;
    }
}

@media (min-width: 1200px) {
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1440px;
    }
}

/*table.table tr[data-id] {
    cursor: pointer;
}*/

td > .tool-group {
    padding: 0 .5rem;
}

.tool-group {
    padding: 0;
    white-space: nowrap;
}

    .tool-group .tool:first-child {
        margin-left: 0;
    }

    .tool-group > .tool {
        color: #6C757D;
        cursor: pointer;
        margin-left: .25rem;
    }    

    .tool-group > a.tool:focus,
    .tool-group > a.tool:hover,
    .tool-group > button.tool:focus,
    .tool-group > button.tool:hover {
        color: #494F54;
    }

    .tool-group > .tool:hover {
        text-decoration: none;
    }

    button.tool {
        padding: 0;
        background-color: transparent;
        border: none;
    }

/* Alerts */
#alert-container {
    position: fixed;
    z-index: 1100;
    top: 1rem;
    right: 1rem;
    width: 25%;
}

    #alert-container > div {
        overflow: hidden;
        position: relative;
        width: 100%;
    }

#alert-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1rem;
    width: 100% !important;
}

#alert-container > #alert-wrapper > .alert {
    margin-right: 1rem;
    width: 30% !important;
}

.btn-icon {
    padding: 0;
    justify-content: center;
    overflow: hidden;
    border-radius: 100%;
    flex-shrink: 0;
    height: calc( (1rem * 1.5) + (0.5rem * 2) + (2px)) !important;
    width: calc( (1rem * 1.5) + (0.5rem * 2) + (2px)) !important;
}

.btn-transparent-dark {
    color: #FFF;
    background-color: transparent;
    border-color: transparent;
    color: rgba(31, 45, 65, .5) !important;
}

    .btn-transparent-dark:hover {
        background-color: rgba(31, 45, 65, .1);
        border-color: transparent;
    }

.btn-xs {
    padding: .25rem .5rem;
    font-size: .7rem;
    border-radius: .35rem;
    line-height: 1;
}

.btn-rounded {
    border-radius: 50px;
}

.card-header-actions .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-icon {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: 0 0;
    border: none;
    color: currentColor;
    font-family: inherit;
/*    font-size: 1em;*/
    margin: 0;
    padding: 0 .5rem;
}

.form-condensed .form-group,
.form-condensed label {
    margin-bottom: 0;
}

label.required::after {
    color: #DC3545;
    content: ' *';
    display: inline;
}

.custom-file-label.required::after {
    color: #495057;
}

.custom-control-label.required::after {
    content: '';
}

/* Boxes */
.box {
    position: relative;
    border-radius: .25rem;
    background: #FFF;
    border-width: 3px 1px 1px 1px;
    border-style: solid;
    border-color: #D2D6DE;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

    .box.box-primary {
        border-top-color: #3C8DBC;
    }

    .box.box-info {
        border-top-color: #00C0EF;
    }

    .box.box-warning {
        border-top-color: #F39C12;
    }

    .box.box-success {
        border-top-color: #00A65A;
    }

    .box.box-danger {
        border-top-color: #DD4B39;
    }

.box-header {
    border-bottom: 1px solid #D2D6DE;
    color: #444;
    display: block;
    padding: 10px;
    position: relative;
}

    .box-header > .box-title {
        display: inline-block;
        font-size: 18px;
        margin: 0;
        line-height: 1;
    }

    .box-header > .box-tools {
        position: absolute;
        right: 10px;
        top: 5px;
    }

.btn-box-tool {
    padding: 5px;
    font-size: 12px;
    background: transparent;
    color: #6C757D;
}

    .btn-box-tool:hover {
        color: #494F54;
    }

.box-tabs {
    align-items: flex-end;
    display: flex;
    font-size: .875em;
    justify-content: center;
}

    .box-tabs:not(:last-child) {
        border-bottom: 1px solid #D2D6DE;
    }

    .box-tabs a {
        border-bottom: 1px solid #DBDBDB;
        margin-bottom: -1px;
        padding: .5em;
    }

    .box-tabs a:focus,
    .box-tabs a:hover {
        text-decoration: none;
    }

    .box-tabs a.active {
        border-bottom-color: #4A4A4A;
        color: #363636;
    }

.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}

    .box-body table tr th:first-child,
    .box-body table tr td:first-child {
        padding-left: .5rem;
    }

    .box-body table tr th:last-child,
    .box-body table tr td:last-child {
        padding-right: .5rem;
    }

.box-footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top: 1px solid #D2D6DE;
    padding: 10px;
    background-color: #FFF;
}

    .box-footer:last-child {
        border-bottom-right-radius: 3px;
        border-bottom-left-radius: 3px;
    }

    .box-header::before, .box-body::before, .box-footer::before,
    .box-header::after, .box-body::after, .box-footer:after {
        content: " ";
        display: table;
    }

/* Background Gradients */
.bg-gradient-primary {
    background-color: #4e73df;
    background-image: linear-gradient(180deg,#4e73df 10%,#224abe 100%);
    background-size: cover;
}

.bg-gradient-secondary {
    background-color: #858796;
    background-image: linear-gradient(180deg,#858796 10%,#60616f 100%);
    background-size: cover;
}

.bg-gradient-success {
    background-color: #1cc88a;
    background-image: linear-gradient(180deg,#1cc88a 10%,#13855c 100%);
    background-size: cover;
}

.bg-gradient-info {
    background-color: #36b9cc;
    background-image: linear-gradient(180deg,#36b9cc 10%,#258391 100%);
    background-size: cover;
}

.bg-gradient-warning {
    background-color: #f6c23e;
    background-image: linear-gradient(180deg,#f6c23e 10%,#dda20a 100%);
    background-size: cover;
}

.bg-gradient-danger {
    background-color: #e74a3b;
    background-image: linear-gradient(180deg,#e74a3b 10%,#be2617 100%);
    background-size: cover;
}

.bg-gradient-light {
    background-color: #f8f9fc;
    background-image: linear-gradient(180deg,#f8f9fc 10%,#c2cbe5 100%);
    background-size: cover;
}

.bg-gradient-dark {
    background-color: #5A5C69;
    background-image: linear-gradient(180deg, #5A5C69 10%, #373840 100%);
    background-size: cover;
}

.list-group-item-action {
    cursor: pointer;
}

.custom-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .custom-list > .custom-list-item {
        border: 1px solid #D2D6DE;
        padding: .5rem;
    }

    .custom-list > .custom-list-item-header {
        border-bottom: 1px solid #D2D6DE;
        padding: .25rem .5rem;
    }

.list-group-item.selected {
    background-color: #9ACBFF;
    border-color: #9ACBFF;
}

/* Toast Status Colors */
.toast.primary .toast-header {
    color: #0061F2;
}

.toast.secondary .toast-header {
    color: #6900C7;
}

.toast.success .toast-header {
    color: #00AC69;
}

.toast.info .toast-header {
    color: #00CFD5;
}

.toast.warning .toast-header {
    color: #F4A100;
}

.toast.danger .toast-header {
    color: #E81500;
}

/* Collapse Toggle */
a[aria-expanded="false"] i.fas {
    transform: rotate(0deg);
    transition: all .3s ease-in-out;
}

a[aria-expanded="true"] i.fas {
    transform: rotate(180deg);
    transition: all .3s ease-in-out;
}

/* Description Blocks */
.description-block {
    display: block;
    margin: .5rem 0;
    padding: 0 1rem;
    text-align: center;
}

    .description-block > .description-header {
        margin: 0;
        padding: 0;
        font-weight: 600;
        font-size: 16px;
    }

    .description-block > ul {
        margin: 0;
        padding: 0;
    }

    .description-block > ul li {
        list-style-type: none;
        display: inline;
    }

    .description-block > ul li + li:before {
        color: #DEE2E6;
        content: " | ";
    }

    .description-block > .description-text {
        font-size: 14px;
        text-transform: uppercase;
    }

/* Fixed Table Header */
.table-fixed-wrapper {
    max-height: 400px;
    overflow: auto;
}

table.table-fixed thead {
    background-color: #FDFDFE;
}

/* Selectable Table */
table.table-navigation {
}

table tr[data-id]:hover,
table tr[data-url]:hover,
table tr[data-download-url]:hover {
    background-color: rgba(0, 0, 0, 0.075);
    color: #212529;
}

table tr[data-id] > td,
table tr[data-url] > td,
table tr[data-download-url] > td {
    cursor: pointer;
}

/* Table Utilities */
td.no-wrap, th.no-wrap {
    white-space: nowrap;
}

/* typeahead.js Styles */
span.twitter-typeahead {
    width: 400px;
}

.tt-input {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-menu {
    background-color: #FFF;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    width: 100%;
}

.tt-empty,
.tt-pending,
.tt-suggestion {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    margin-bottom: -1px;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.tt-empty {
    color: #dc3545;
    text-align: center;
}

.tt-pending {
    color: #17a2b8;
    text-align: center;
}

.tt-selectable {
    width: 100%;
    color: #495057;
    cursor: pointer;
    text-align: inherit;
}

    .tt-cursor,
    .tt-selectable:focus,
    .tt-selectable:hover {
        background-color: #F8F9FA;
        color: #495057;
        text-decoration: none;
    }

.tt-highlight {
    color: #17A2B8;
}

.tt-hint {
    color: #BBB;
}

/* Badges - Outlines */
.badge-outline {
    border: 1px solid transparent;
}

.badge.badge-outline {
    color: #F3F7F9;
    background-color: transparent;
    border-color: #F3F7F9;
}

.badge-primary.badge-outline {
    color: #007bff;
    background-color: transparent;
    border-color: #007bff;
}

.badge-secondary.badge-outline {
    color: #6c757d;
    background-color: transparent;
    border-color: #6c757d;
}

.badge-success.badge-outline {
    color: #28a745;
    background-color: transparent;
    border-color: #28a745;
}

.badge-danger.badge-outline {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}

.badge-warning.badge-outline {
    color: #ffc107;
    background-color: transparent;
    border-color: #ffc107;
}

.badge-info.badge-outline {
    color: #17a2b8;
    background-color: transparent;
    border-color: #17a2b8;
}

.badge-light.badge-outline {
    color: #f8f9fa;
    background-color: transparent;
    border-color: #f8f9fa;
}

.badge-dark.badge-outline {
    color: #343a40;
    background-color: transparent;
    border-color: #343a40;
}

/* Additional Form Sizes */
.form-control-xs {
    height: calc(1em + .375rem + 2px);
    padding: .125rem .25rem;
    font-size: .75rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.input-group-xs > .custom-select,
.input-group-xs > .form-control,
.input-group-xs > .input-group-append > .btn,
.input-group-xs > .input-group-append > .input-group-text,
.input-group-xs > .input-group-prepend > .btn,
.input-group-xs > .input-group-prepend > .input-group-text {
    height: calc(1em + .375rem + 2px);
    padding: 0 .25rem;
    font-size: .75rem;
    line-height: 1.5;
    /*border-radius: .2rem;*/
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

/* Sticky Nav */
.nav-sticky {
    position: sticky;
    top: 5.125rem;
    z-index: 1020;
}

.nav-sticky ul.nav > li.nav-item > .nav {
    display: none;
}

.nav-sticky ul.nav > li.nav-item > a.nav-link.active ~ .nav {
    display: flex;
}

.nav-sticky .nav-link.active {
    font-weight: 600;
}

:target:before {
    content: "";
    display: block;
    height: 5.125rem;
    margin: -5.125rem 0 0;
}

/* Tags */
.tag {
    align-items: center;
    background-color: #F5F5F5;
    border-radius: .25rem;
    color: #4A4A4A;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    padding: .25em .5em;
    white-space: nowrap;
    vertical-align: baseline;
}

.tag-primary {
    color: #FFF;
    background-color: #007BFF;
}

/* Card with Hover */
.card.card-hover:hover {
    border: 1px solid #007BFF;
}

.dropdown-menu {
    z-index: 1010;
}