﻿html, body, h2, h4, header, .app-description {
    font-family: 'Open Sans', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* page frame */
header {
    background-color: #000062;
}

header .logo img {
    background: #fff;
    border: solid 4px #000062;
    height: 55px;
    padding: 4px;
}

header .app-description {
    margin-top: 12px;
    margin-left: 12px;
    position: absolute;
    float: left;
    color: #fff;
    font-weight: bold;
    font-size: 21px;
    line-height: 25px;
}

header .user {
    float: right;
    padding-top: 14px;
    font-size: 16px;
}

header .user .impersonated-user-description {
    display: none;
    margin-right: 10px;
    color: #fff;
}

header .user .impersonated-user {
    display: inline-block;
    display: none;
    font-size: 90%;
    padding: 3px;
    width: 170px;
    margin-right: 35px;
}

header .user .username {
    color: white;
    display: inline-block;
    font-size: 15px;
    margin-right: 25px;
}

header .user .log-in-out a {
    margin-right: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: -2px;
    background: #eee;
}

.main-nav > li {
    z-index: 1000;
}

.content-container {
    min-height: calc(100vh - 190px);
    padding: 0px 20px 20px 20px;
    font-family: 'Open Sans', sans-serif;
}

footer {
    padding: 18px;
    text-align: center;
    font-size: 17px;
    color: #333;
    border-top: 1px solid #efefef;
}

/* navigation */
.navbar-nav > li > a, .navbar-brand {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    height: 35px;
}

.navbar {
    min-height: 35px !important;
}

.budget-nav {
    margin-left: 0px;
    padding: 4px 0px;
}

.navbar-right {
    margin-right: 0px !important; /* appreciate this, bootstrap */
}

.budget-year-label {
    text-transform: uppercase;
    font-size: 90%;
    color: #666;
    display: inline-block;
    vertical-align: top;
    margin-top: 9px;
}

.budget-year {
    display: inline-block;
    height: auto;
    padding: 1px;
    margin: 3px 20px 3px 10px;
    width: 70px;
}

/* users list */
.item-controls {
    font-size: 14px;
    margin-bottom: 25px;
}

.item-list {
    font-size: 17px;
    list-style-type: none;
    padding-left: 0px;
}

.item-list li {
    padding-top: 10px;
}

.input-form {
    font-size: 18px;
    padding: 15px 0px 15px 0px;
}

.form-group {
    margin: 0 0 10px 0;
}

.form-control {
    font-size: 17px;
}

/* budget reports menu */
.budget-reports {
    z-index: 995;
    padding-top: 0px;
    padding-bottom: 5px;
}

.budget-date-select {
    background: #e7e7e7;
    padding: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.budget-date-select  {
    padding-top: 4px;
    margin-bottom: 6px;
}

.budget-date-select-labels {
    margin-top: -5px;
    background: #e7e7e7;
}

.budget-date-select-labels span {
    display: inline-block;
    margin: 6px 0px 0px 10px;
    width: 71px;
    font-size: 12px;
}

.budget-date-select label {
    font-weight: normal;
    margin-left: 5px;
    padding: 2px;
    font-size: 12px;
    padding-bottom: 0px;
}

.budget-select {
    display: inline-block;
    height: auto;
    line-height: 14px;
    padding: 1px;
    margin: 0px 0px 3px 3px;
    width: 75px;
    font-size: 11px;
}

.budget-select-full-width {
    display: inline-block;
    height: auto;
    line-height: 14px;
    padding: 1px;
    margin: 0px 0px 3px 3px;
    width: 170px;
    font-size: 11px;
}

.user-budget-select {
    margin: 0px 0px 3px 3px;
    width: 126px;
}

.budget-date-select-message {
    background: #eee;
    font-size: 11px;
    padding: 4px 6px 6px 6px;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.15);
    margin-bottom: 4px; /* move this to budget-select when this goes away */
    margin-top: 4px;
}

.budget-params {
    display: block;
    border-bottom: 0px;
    padding: 7px;
    overflow: auto;
}

.budget-params-date {
    height: 30px;
    display: inline-block;
    width: 68px;
    padding: 0px 6px;
    font-size: 95%;
}

.budget-params-colot {
    height: 30px;
    display: inline-block;
    width: 100px;
    padding: 0px 6px;
    font-size: 95%;
}

.budget-params-label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 100%;
    margin-right: 6px;
}
.budget-params-label:not(:first-child) {
    margin-left: 20px;
}

.budget-params-button {
    margin-left: 20px;
    height: 30px;
    font-size: 95%;
    text-transform: uppercase;
    padding: 0px 10px;
    vertical-align: top;
}

.budget-params-export-all {
    display: inline-block;
}

.budget-params-export-all select {
    height: 30px;
    display: inline-block;
    width: 115px;
    padding: 0px 6px;
}

.budget-params-last-import {
    float: right;
    margin-right: 20px;
    font-size: 95%;
}

.budget-tools {
    background: #e8eae8;
    border: solid 1px #ccc;
    border-bottom: 0px;
    padding: 7px;
    height: 50px;
    overflow: auto;
}

.budget-tools label {
    font-size: 15px;
    padding-right: 7px;
}

.budget-tools .form-control {
    display: inline-block;
    font-size: 15px;
    margin-right: 15px;
}

.budget-tools-co-lot .form-control {
    width: 100px;
    /*margin-left: 40px;*/
}

.budget-tools .last-import {
    padding: 7px;
}

.budget-tools-legend {
    float: right;
    margin-right: 20px;
}

.budget-tools-legend .message {
    position: absolute;
    margin-top: -25px;
    background: #e8eae8;
    width: 375px;
    padding: 4px 8px 3px;
    font-size: 13px;
    font-weight: normal;
    line-height: 18px;
    margin-right: 5px;
    font-weight: bold;
    border: solid 1px #c6c6c6;
    border-bottom: 0px;
}


.budget-tools-legend .actual {
    font-size: 16px;
    height: 34px;
    line-height: 34px;
    background: #fff;
    width: 100px;
    padding: 4px 8px;
    margin-right: 5px;
}

.budget-tools-legend .budget-actual {
    font-size: 16px;
    height: 34px;
    line-height: 34px;
    background: #cec;
    width: 100px;
    padding: 4px 8px;
    margin-right: 5px;
    color: #000;
    font-weight: bold;
}

.budget-tools-legend .projected {
    font-size: 16px;
    height: 34px;
    line-height: 34px;
    background: #c6c6c6;
    width: 100px;
    padding: 4px 8px;
    margin-right: 5px;
    font-weight: bold;
}

.handsontable .projected {
    font-weight: bold;
    background: #c6c6c6;
}

/* manage users */
.item-list .username {
    display: inline-block;
    width: 175px;
    font-size: 16px;
}

.item-list .email {
    display: inline-block;
    width: 400px;
    font-size: 16px;
}

.item-list .role {
    display: inline-block;
    margin-right: 11px;
}

.item-list .btn {
    font-size: 13px;
    margin: 5px 10px;
    font-size: 13px;
    padding: 6px 16px;
}

/* manage users search */
.user-search {
    display: flex;
    margin-top: 15px;
}

.user-search-input {
    flex: 0 1 550px;
    max-width: none;
    padding: 15px 30px 15px 10px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.5s, border 0.5s;
}

.fa-icon {
    text-align: center;
    padding-top: 9px;
    margin-left: -25px;
}

.user-search-roles {
    margin-left: 45px;
}

.user-search-role {
    display: inline-block;
    line-height: 35px;
    margin-right: 10px;
    text-align: center;
    font-size: 13px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.5s, border 0.5s;
    border-radius: 4px;
}

.user-search-role a {
    display: inline-block;
    padding: 0px 25px;
}

.user-search-role:hover {
    border: solid 1px #999;
    box-shadow: 0 0 5px 1px #ccc;
}

.user-search-role a:hover,
.user-search-role a:focus,
.user-search-clear a:hover,
.user-search-clear a:focus {
    text-decoration: none;
    color: #337ab7;
}

.user-search-role a:focus {
    border: solid 1px #999;
    box-shadow: 0 0 5px 1px #ccc;
}

.user-search-input:hover,
.user-search-input:focus {
    border: solid 1px #999;
    box-shadow: 0 0 5px 1px #ccc;
}

/* budget menu */


/* toastr */
.toast {
    min-width: 500px;
}




/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default 
        Note: this may not be ideal in all situations, but it is most. Override the max-width if you want it with `max-width: none`;
*/
input,
select,
textarea {
    max-width: 280px;
}

/* Formatting for column headers for Handsontable */
.handsontable span.colHeader {
    font-weight: bold;
    text-decoration: underline;
}

#loading {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:10000;
	width:100%;
	height:100%;
	display: none;
}
