/*Global Variables*/
:root {
    /*--first-blue: #396dc7;*/
    --first-blue: rgb(76, 86, 106);
    --lightest-grey: #eee;
    --link-highlight: #e67e22;
    --tbl-tree-plus: #27ae60;
    --tbl-tree-minus: #ec7063;
}

* {
    font-family: calibri, sans-serif;
    font-style: normal;
    /*font-weight: 400;*/
}

a {
    color: var(--link-highlight);
}

hr {
    margin: 0.9em 0 1em 0;
    border-bottom: 1px solid #999;
}

/*Utilities*/
.fill-space {
    flex: 1 1 auto;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.page-header,
h1.page-header {
    color: var(--first-blue);
    font-size: 1.5em;
    margin: 0 0 0.9em 0;
    padding: 0 0 0.5em 0;
    border-bottom: 1px solid #dfdfdf;
}

    .page-header a {
        text-decoration: none;
        /*color: var(--link-highlight);*/
        /*background: linear-gradient(to right, var(--link-highlight), var(--first-blue));
        background: -webkit-linear-gradient(to right,#eee, #333);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;*/
    }
        .page-header a:hover { text-decoration: underline }

.vertical-scroll {
    overflow-y: auto;
}

/*Layout*/
/*------------------------------------------------*/
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    background-color: var(--lightest-grey);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background-color: var(--first-blue);
    margin: 0 auto;
    max-width: 1920px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-left: 0px;
}


/*Layout Plus*/
/*------------------------------------------------*/
.radius-3 {
    border-radius: 0.25rem;
}
.radius-4 {
    border-radius: 0.30rem;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    font-size: 1.2rem;
    font-weight: bold;
}

    a.navbar-brand img {
        width: 2.2em;
        margin: 0 20px 0 10px;
    }

    a.navbar-brand .logo-tag {
        font-size: 0.6em;
        color: #fff;
        background-color: var(--first-blue);
        border-radius: 3px;
        padding: 0 4px;
        line-height: 1.5;
        display: inline-block;
        vertical-align: middle;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

header nav #frmLogout {
    line-height: 18px;
}

    header nav #frmLogout a {
        padding: 0 3px;
        color: rgb(220, 53, 69);
        /*border: 1px solid rgb(220, 53, 69);*/
        border-radius: 3px;
    }
    header nav #frmLogout a:hover {
        color: #ffffff;
        background-color: rgb(220, 53, 69);
    }

.navbar-nav-link,
.navbar-nav-link a:link
{
    text-decoration: none;
    user-select: none;
}

.side-nav {
    font-size: 13px;
    width: 80px;
    margin-right: 5px;
    padding: 0 8px;
    position: relative;
    transition: all ease-in-out 0.2s;
}

.side-nav .separator {
    border-top: 1px dotted #aaa;
}

    .side-nav .nav-item .nav-link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 12px;
    }

        .side-nav .nav-item .nav-link i {
            font-size: 23px;
        }


    .side-nav.minimize {
        width: 50px;
    }

        .side-nav.minimize .nav-item .nav-link span {
            display: none;
        }

        .side-nav.minimize .nav-item .nav-link i {
            font-size: 25px;
        }

#side-nav-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background-color: var(--first-blue);
}

#minimize-side-nav-toggle {
    width: 100%;
    background: rgba(255,255,255,0);
    border: none;
    color: #fff;
    height: 35px;
    transition: all ease-in-out 0.2s;
    text-align: right;
}

    #minimize-side-nav-toggle:hover {
        background: rgba(255,255,255,0.1);
        padding-right: 14px;
    }

    #minimize-side-nav-toggle, #minimize-side-nav-toggle:focus {
        outline: none;
    }

.side-nav.minimize #minimize-side-nav-toggle i.fa-angle-double-left {
    display: none;
}

.side-nav:not(.minimize) #minimize-side-nav-toggle i.fa-angle-double-right {
    display: none;
}

.footer {
    background: #fff;
    width: 100%;
    white-space: nowrap;
    line-height: 20px;
    font-size: 14px;
}

/*Components*/
/*-------------------------------------------------- */
.modal .modal-title {
    color: var(--first-blue);
}

.modal .modal-header {
    background-color: #efefef;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.tab-content {
    padding-top: 15px;
}

.form-control-w210 {
    width: 210px;
}

.form-control-w315 {
    width: 315px;
}

/* Customize DatePicker*/
.datepicker .input-group, .datepicker .form-control {
    height: 31px;
}

/* Customize DatatableJs*/
.treegrid-control {
    width: 5px !important;
}

    .treegrid-control span, .treegrid-control-open span {
        padding: 1px;
        cursor: pointer;
        color: blue;
    }

/*#region DataTables overrides */
.dataTables_scrollHeadInner {
    width: 100% !important;
}

.table-scrolly {
    width: 100% !important;
}

.dataTables_info, .dataTables_length {
    float: left !important;
}

.dataTables_info {
    padding-top: 5px !important;
}

.dataTables_DatesAndRefresh {
    float: right;
    margin-left: -80px;
}

.dataTables_DatesWithRefreshAndAddNew {
    float: right;
    margin-left: -35px !important;
}

/*datatable fixed column adjustments*/
.DTFC_LeftBodyLiner .table-striped tbody tr:nth-of-type(odd) {
    background-color: #f1f1f0;
}

.DTFC_LeftBodyLiner .table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0,0,0,.075);
}
/*#endregion DataTables overrides */

/* Customize Jquery Autocomplete*/
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto; /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    z-index: 1000 !important;
}

/*Accordion Styles*/
.accordion {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

    .accordion .card-header {
        cursor: pointer;
    }

        .accordion .card-header:after {
            font-family: 'FontAwesome';
            content: "\f068";
            float: right;
        }

        .accordion .card-header.collapsed:after {
            content: "\f067";
        }

/*Page Specific Styles*/
/*------------------------------------------------*/
/*Login Page*/
.login-card {
    margin: 175px auto 0;
    width: 350px;
    padding: 10px 0px;
    border-radius: 4px;
    min-height: 350px;
}

.hero {
    background-image: url('/images/logo-esg-white.png');
    opacity: 0.75;
    background-size: cover;
}

    .login-card .card-title {
        border-bottom: 1px solid #eee;
        font-size: 1.25rem;
        font-weight: bold;
        padding-bottom: 10px;
        text-align: center;
    }

    .login-card form {
        margin-top: 25px;
        padding: 5px 45px;
    }

.field-validation-error {
    font-size: 13px;
    color: var(--red);
}

/*#region table styles */
table.table-small-pad tr td,
tr.small-pad td {
    padding: .25rem !important;
}

table.table-with-statuses tr td:first-child {
    border-left-width: 10px;
    border-left-style: solid;
    border-left-color: transparent;
}

table.table-with-statuses tr td.enabled,
table.table-with-statuses tr td.active {
    border-left-color: green;
}

table.table-with-statuses tr td.disabled,
table.table-with-statuses tr td.inactive {
    border-left-color: darkgray;
}

table.table-with-statuses tr td.hidden {
    border-left-color: red;
}

.alert-subscription-list {
    max-height: 500px;
    overflow-y: auto;
}
/*#endregion table styles */