/* Wider containers */
@media (min-width: 1330px) {
    .container {
        width: 1300px;
    }
}

/* Fix for container overflow */
.container {
    max-width: 100%;
}

/* For for vertical overflow */
#page-wrapper {
    margin-top: -1px;
    padding-top: 20px;
}

/* Navbar breakpoint change */
@media (max-width: 810px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

#toast-container > .toast-error::before,
#toast-container > .toast-success::before,
#toast-container > .toast-warning::before,
#toast-container > .toast-info::before {
    content: "";
}
.user-avatar-fake { height: 49px; }
.text-white { color: #fff; }
.text-bold { font-weight: bold; }

.table-div {
    display: table;
    max-width: 100%;
    width: 100%;
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-spacing: 0;
}
.table-div > * {
    display: table-row;
}
.table-div > * > * {
    display: table-cell;
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}
.table-div .header {
    padding: 8px;
    background: #f5f5f6;
    font-weight: bold;
}
.nav-vertical {
    float: none;
}
.nav-vertical li {
    float: none;
    background: #eeeeef;
}
.nav-vertical li a {
    outline: none;
    border-left: 4px solid #eeeeef;
}
.nav-vertical li.active, .nav-vertical li.active:focus, .nav-vertical li.active:hover {
    background: #a1a1a2;
}
.nav-vertical li.active a {
    border: 0;
    background: #a1a1a2;
}
.nav-vertical li a:hover {
    border-left: 4px solid #19aa8d;
    color: #19aa8d;
    /*background: #ff0000;*/
}
.nav-vertical li.active a:hover {
    border: none;
    background: #a1a1a2;
    /*background: #ff0000;*/
    color: #fff;
}
.row-title {
    padding: 14px 15px 7px;
    border-bottom: 1px solid #e7eaec;
}
.m-t-7 { margin-top: 7px; }
.m-t-20 { margin-top: 20px; }
.m-t-50 { margin-top: 50px; }
.m-b-20 { margin-bottom: 20px; }
.m-0 { margin: 0; }
.p-0 { padding: 0; }
.p-b-0 { padding-bottom: 0; }
.p-b-20 { padding-bottom: 20px !important; }
.p-t-20 { padding-top: 20px !important; }
.border-0 { border: 0; }
.input-md { max-width: 300px; }
.input-small { max-width: 80px; }

.article-list-cell{
    background-color: #fbfbfb;
    min-height: 50px;
    padding-top: 5px;
    vertical-align: middle;
    padding-left: 0;
}

.bottom-margin{
    margin-bottom: 8px;
}

.footer span.version {
    float: right;
    color: #d7d2da;
    font-size: 11px;
    margin-top: 36px;
}
.footer a {
    color: #676a6c;
}
.footer a.db {
    color: #ee9721;
}
.footer .double-line > a {
    line-height: 33px;
    color: #337ab7;
}
.search-journal-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
    padding-top: 15px;
}
.search-journal-items .search-journal-item:last-child {
    border: 0;
}
.table th {
    text-align: center;
}

.spinner-holder {
    height: 30px;
}

.spinner-holder-article {
    height: 30px;
    margin-top: 15px
}

body.top-navigation {
    background: #f3f3f4;
}
.top-logo {
    padding: 9px;
    height: 48px;
    margin-left: 25px;
}
.top-title {
    line-height: 50px;
    font-size: 14px;
}
.top-navigation.container {
    padding: 0;
}
.top-navigation > .wrapper-content, .top-navigation > .ng-scope > .wrapper-content {
    padding: 0 !important;
}
.top-navigation.top-header {
    overflow: hidden;
}
.top-navigation.top-header .page-heading {
    padding: 0 20px 20px;
}
.top-navigation.top-footer {
    padding-bottom: 75px;
}

.multi-level{
	margin-left: 15px; 
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
/*     margin-top: -6px; */
/*     margin-left: 10px; */
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.clear-list li {
    list-style-type: none;
    line-height: 25px;
}
.top-navigation .nav > li > a {
    font-size: 15px;
}
.list-rows .row {
    transition: 0.5s;
}
.list-rows .row:hover {
    background: #f4f5f6;
}
.btn-pdf {
    background: url('../img/pdf.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: 5px 6px;
    padding-left: 30px;
    border: 1px solid #eee;
}
.ibox-tools.big-btn {
    top: -8px;
}
.rows .row-dotted {
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}
.rows .row-dotted:last-child {
    border: 0;
}
.factor {
    width: 46%;
    min-height: 60px;
    margin: 5px 2%;
    /*padding: 15px;*/
    float: left;
    background: linear-gradient(to bottom, rgba(250,250,242,0) 0%,rgba(236,236,236,1) 100%);
    border-bottom: 1px dotted #ccc;
    position: relative;
}
.factor p {
    position: absolute;
    margin: 0;
    bottom: 10px;
    left: 10px;
}
.factor span {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #888;
    text-shadow: 2px 2px 0 #fff;
}
.ibox-title h2 {
    font-weight: normal;
    display: inline-block;
}
.chart-legend-box {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}
.chart-legend-box.dark-red {
    background: #d70206;
}
.chart-legend-box.light-red {
    background: #f05b4f;
}
.comma-separated span::after {
    content: ", ";
}
.comma-separated span:last-child::after {
    content: ""
}

/* floating label */
.well {
    margin: 10px;
}

.well input {
    margin-bottom: 20px;
}

.floating-label-wrapper {
    position: relative;
}

.floating-label {
    color: #7E7E7E;
    font-size: 14px;
    position: absolute;
    pointer-events: none;
    left: 12px;
    top: 7px;
    transition: 0.2s ease all;
    opacity: 0;
}
.form-control:focus ~ .floating-label,
.form-control:not(.empty) ~ .floating-label {
    top: -15px;
    left: 0;
    font-size: 11px;
    opacity: 1;
}

.form-control.empty ~ .floating-label  {
    /*opacity: 1;*/
}
textarea { resize: none; }
textarea ~ .form-control-highlight {
    margin-top: -11px;
}