html {
    height: 100%; /* needed for container min-height */
}
body {
    height: 100%; /* needed for container min-height */
    overflow-y: scroll;
    background-color: #E8E9EE;
}

header.top_header {
    margin-top: 20px;
    margin-bottom: 44px;
}

header.top_header.no-margin {
    margin-bottom: 10px;
}

header.top_header h1 {
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 991px) {
    header.top_header h1 {
        margin-bottom: 10px;
    }
    header.top_header.no-margin h1 {
        margin: 0;
    }
}

div#main-wrapper {
    position: relative;
    height: auto;
    min-height: 100%;
    margin: 0;
}
div#content {
    min-height: 100%;
    padding-left: 240px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 25px;
}
.main-footer {
    position: absolute;
    bottom: 0px;
    border-top: 1px dashed gray; 
    padding-left: 10px;
    padding-top: 5px;
    background-color: white;
    display:  block;
    left: 230px;
    right: 0px;
    text-align: center;
}

div#navbar {
    background-color: #DC0032;
    z-index: 900;
    display: block;
}
div#navbar > img {
    height: 40px;
    margin: 5px;
}
div#navbar .nav > li > a {
    color: #fff;
}
div#navbar .nav > li > a:focus,
div#navbar .nav > li > a:hover,
div#navbar .nav .open > a,
div#navbar .nav .open > a:focus,
div#navbar .nav .open > a:hover {
    background-color: #4F111F;
    color: #fff;
}

li.user-menu > .dropdown-menu {
    top: 0px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    padding: 1px 0 0 0;
    border-top-width: 0;
    width: 280px;
}
ul.usermenu {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

li.user-menu > ul.dropdown-menu {
    background-color: white;
}
.user-header {
    padding: 10px;
    background-color: #424143;
    color: #fff;
    text-align: center;
}
.user-header i {
    font-size: 50px;
    margin-bottom: 10px;
    float: left;
    border-radius: 50%;
}
.user-header p {
    font-size: 16px;
}
.user-footer {
    padding: 10px;
    clear: both;
}
.user-footer:after {
    clear: both;
    content: " ";
    display: table;
}

.main-sidebar {
    background-color: #424143;
    position: absolute;
    top: 50px;
    left: 0px;
    bottom: 0px;
    padding-top: 0px;
    width: 230px;
    z-index: 810;
}
.sidebar {
    min-height: 100%;
}
.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-sidebar h3 {
    color: silver;
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.sidebar-menu > li.active > a {
    border-left-color: #DC0032;
    border-bottom: 1px solid #484848;
    background-color: #343335;
}
.sidebar-menu > li > a {
    border-left: 4px solid transparent;
    display: block;
    text-decoration: none;
    color: #CFCFCF;
    border-bottom: 1px solid #484848;
    padding: 6px 5px 6px 11px;
}
.sidebar-menu > li > span {
    padding: 6px 5px 6px 15px;
    color: whitesmoke;
    display: block;
    border-bottom: 1px solid #484848;
}
.sidebar-menu > li > a:hover {
    color: #fff;
    background: #343335;
}
.sidebar-menu > li > a > .fa,
.sidebar-menu > li > .fa
{
    width: 20px;
}
.sidebar-menu-level1 > li > a {
    color: whitesmoke;
    padding-left: 11px;
}
.sidebar-menu-level2 > li > a {
    padding-left: 26px;
}
.sidebar-menu-level3 > li > a {
    padding-left: 36px;
}

.tab-content {
    margin-top: 10px;
}

form > ul.error {
    list-style: none;
    background-color: #dd4b39;
    border-radius: 3px;
    padding: 5px;
    color: #fff;
}

/* ui */
.clear { clear: both; }

.hide { display: none; }

.bold { font-weight: bold; }

.italic { font-style: italic; }

.center { text-align: center; }

.right { text-align: right; }

.inline { display: inline; }

.bg-primary a, .bg-primary th {
    color: #fff;
    font-weight: normal;
}
.caret_up {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-bottom: 4px dashed;
    border-bottom: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.list_filter {
    text-align: right;
}

.list_filter>form>span>select {
    border-radius: 0px;
    border: 1px solid #ccc;
    display: inline-block;
    padding: 0px;
    color: black;
    width: 150px;
}

.list_filter>form>span {
    white-space: nowrap;
    min-width: 250px;
    width: 19.8%;
    display: inline-block;
    text-align: right;
    padding-bottom: 5px;
}

@media only screen and (max-width: 1818px) {
    .list_filter>form>span {
        width: 24.8%;
    }
}

@media only screen and (max-width: 1723px) {
    .list_filter>form>span {
        width: 33.1%;
    }
}

@media only screen and (max-width: 1375px) {
    .list_filter>form>span {
        width: 49.8%;
    }
}

div.list_filter>form>span>input[type=text], div.list_filter>form>span>input[type=number], div.list_filter>form>span>select {
    width: 150px !important;
    display: inline;
}

.list_filter_butt {
    text-align: right;
}

div.flash-messages-out {
    position: relative;
}
div.flash-messages-in {
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: #A90034;
    border-color: #A90034;
}
.pagination > li > a, .pagination > li > a:hover, .pagination > li > a:focus {
    color: black;
}.pagination > li > a > i.fa {
    color: #A90034;
}
a {
    color: #DC0032;
}
a:focus, a:hover {
    color: #4F111F;
}
.list .bg-primary {
    background-color: #424143;
}
.list .bg-primary a:hover, .list .bg-primary a:focus {
    color: #fff;
}
.list_filter .btn-default {
    background-color: #8C8D8E;
    color: whitesmoke;
}
.btn-primary {
    background-color: #A90034;
    border-color: #A90034;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #4F111F;
}
div.report-helper-panel {
    border-left: 1px dotted gray;
}
div.nav-tabs {
    width: 100%;
}
div.note-header {
    background-color: #424143;
    color: #fff;
}
div.note-header {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0px;
    margin-right: 0px;
}
span.packages-description {
    color: black;
    font-weight: bold;
}

div.freeze-list-wrapper {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 190px);
}
div.freeze-list-scroll {
    overflow: auto;
    width: 100%;
    flex-grow: 2;
}
table.freeze-list th {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    z-index: 3;
    top: 0;
    background-color: #424143;
}
table.freeze-list-col th:first-child {
    left: 0;
    z-index: 4;
}
table.freeze-list-col td:first-child {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    left: 0;
    z-index: 2;
}
table.freeze-list thead th, table.freeze-list tbody td {
    white-space: nowrap;
}
table.freeze-list-col.table-striped > tbody > tr:nth-of-type(2n+1) > td { /* IE */
    background-color: #f9f9f9;
}
table.freeze-list-col.table-striped > tbody > tr:nth-of-type(2n) > td { /* IE */
    background-color: #E8E9EE;
}

table.freeze-list-col.table-striped.has-details > tbody > tr:nth-of-type(4n+1) > td,
table.freeze-list-col.table-striped.has-details > tbody > tr:nth-of-type(4n+2) > td {
    background-color: #f9f9f9;
}

table.freeze-list-col.table-striped.has-details > tbody > tr:nth-of-type(4n+3) > td,
table.freeze-list-col.table-striped.has-details > tbody > tr:nth-of-type(4n+4) > td {
    background-color: #E8E9EE;
}

.notes_listing {
    margin-top: 15px;
    margin-bottom: 15px;
}

.detail_hidden {
    display: none;
}

.detail {
    padding: 0;
    margin: 0;
}

a.disabled {
    color: grey;
}
a:link.disabled, a:hover.disabled, a:visited.disabled {
    color: grey;
    text-decoration: none;
    cursor: not-allowed;
}
