body {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
}

a {
    cursor: pointer
}

.navbar {
    border: none;
    background-color: rgb(44, 71, 105);
}

.navbar-brand {
    padding-top: 8px;
}

.navbar-brand img {
    max-width: 100%;
    height: 40px;
    width: auto \9; /* ie8 */
}

.search-row {
    background-color: #ffffff;
    list-style: none;
    padding: 5px 15px;
    margin-bottom: 0;
    border-radius: 0;
    min-height: 50px;
}

.search-row label {
    font-weight: 600;
}

.context-row {
    /*padding: 5px 5px 5px 0*/
}

.context-row h4 {
    margin: 0
}

.context-row a {
    color: inherit;
}

.context-row .context-text {
    font-weight: 500;
}

.context-row .lead {
    font-size: 16px;
}

ul.nav.navbar-top-links {
    font-size: 1.75em;
}

/*.nav-tabs {*/
    /*border-bottom: 1px solid rgb(44, 71, 105)*/
/*}*/

.main-tabs .nav-tabs {
    border-bottom: none;
    font-size: 14px;
}

#content-frame {
    padding-left: 0;
    padding-right: 0;
}

#page-wrapper {
    margin: 0 !important;
    padding-bottom: 50px !important;
    position: absolute !important;
    left: 0 !important;
    border-left: none !important;
    padding-top: 10px !important;
    width: 100% !important;
}

#tabList ul {
    list-style: none;
}

#tabList.nav-tabs {
    background-color: rgb(44, 71, 105);
    text-transform: uppercase;
}

#tabList .dropdown-menu {
    text-transform: capitalize;
    list-style: none;
}

.main-tab-row {
    background-color: rgb(44, 71, 105);
    padding: 0;
    z-index: 10;
}

.main-tabs > .tab-content {
    float: left;
    border-top: 1px solid rgb(44, 71, 105);
}

.sub-tabs > .tab-content {
    padding: 5px
}

.panel-default .panel-heading {
    background-color: rgb(44, 71, 105) !important;
    color: white !important;
    /*opacity: .85;*/
    padding: 3px 8px;
    border-color: rgb(44, 71, 105);
    margin: -1px;
    font-size: 14px;
}

.sub-panel {
    margin-bottom: 20px;
    background-color: #fafafa;
    border: 1px solid #EFEFEF;
    /*border-radius:4px;*/
    /*-webkit-box-shadow: 0 1px 10px #ddd;*/
    /*-moz-box-shadow: 2px 2px 10px -4px rgba(0, 0, 0, 0.7);*/
    /*box-shadow: 2px 2px 10px -4px rgba(0, 0, 0, 0.7)*/
}

.sub-panel-body {
    padding: 15px
}

.sub-panel-default .sub-panel-heading {
    background-color: rgb(207, 207, 207) !important;
    color: #262626 !important;
    opacity: .85;
    padding: 3px 8px;
    margin: -1px;
    font-size: 16px;
    border-bottom: 1px solid transparent;
}

.sub-panel hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 0;
    border-top: 1px solid #eee;
}

a.dropdown-toggle, .nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus {
    line-height: 0.8;
    background-color: rgb(44, 71, 105);
    color: white;
    /*opacity: 0.8;*/
    border: none;
    font-weight: 500;
}

.main-tabs .nav-tabs > li.active > a, .main-tabs .nav-tabs > li.active > a:hover, .main-tabs .nav-tabs > li.active > a:focus {
    border-top: 1px solid rgb(44, 71, 105);
    background-color: #FFF;
    border-radius: 0;
}

.main-tabs .nav-tabs > li {
    margin-bottom: 0;
}

.sub-tabs > .nav-tabs > li > a, .sub-tabs > .nav-tabs > li > a:hover, .sub-tabs > .nav-tabs > li > a:focus, .sub-tabs > .nav-tabs > li > a:hover {
    font-size: 1.25em;
    font-weight: 400;
    background-color: white;
    color: rgb(44, 71, 105);
}

/*.nav-pills > li > a:focus, .nav-pills > li > a:hover {*/
    /*text-decoration: none;*/
    /*background-color: #eee;*/
/*}*/

.nav-pills > li > a {
    padding: 5px 10px
}

.panel-tools a, .panel-tools a:hover, .panel-tools a:focus {
    color: white
}

.spinner {
    color: #ddd;
}

.select2-no-results, .select2-results .select2-searching, .select2-results .select2-selection-limit {
    background-color: #EFEFEF !important;
    color: #7C7C7C !important;
    border: transparent;
}

/* ---------------------------------------------------------------------- */
/*	Search Box
 /* ---------------------------------------------------------------------- */
.search-box:before {
    content: " " !important;
}

.search-box {
    font-size: 12px;
}

.sidebar-search {
    /*margin-top: 3px;*/
    padding: 0 30px 0 5px;
    display: inline-block;
    background: #FFF;
    border-radius: 5px;
    color: #555555;
    /*position: absolute;*/
    /*right: 20px;*/
    /*top: 7px;*/
    min-height: 28px;
    margin-left:10px
}

.sidebar-search .form-group {
    margin: 0;
    padding-top: 3px;
}

.sidebar-search .form-group input {
    background: none;
    border: none;
    width: 175px;
}

.sidebar-search .form-group input:focus {
    box-shadow: none;
}

.sidebar-search .form-group button {
    background: none;
    border: none;
    position: absolute;
    right: 4px;
    top: 3px;
    width: 28px;
}

.sidebar-search .form-group button i {
    color: #999999;
}

.search-box .show-search {
    position: absolute;
    right: 15px;
    top: 12px;
    background: #D9D9D9;
    padding: 4px 10px;
    border-radius: 5px;
}

.search-box .show-search:hover {
    text-decoration: none;
}

.search-box .show-search i {
    color: #999999;
}

a.dropdown-toggle {
    height: 31px;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: rgb(44, 71, 105);
}

.dropdown-menu {
    z-index: 1052;
}

ul.nav-level-2 {
    margin-left: -10px;
    min-width: 230px
}

.nav-level-2 li a {
    font-size: .95em;
}

.nav-level-3 li a {
    /*padding-left: 52px;*/
}

ul#submenu-contents a {
    text-decoration: none;
}

ul#submenu-contents a.active {
    font-weight: 700;
    color: #FFF;
    background-color: rgb(44, 71, 105);
    opacity: .8;
}

#context-div {
    background-color: #f5f5f5;
    border-top: 1px solid rgb(44, 71, 105);
    padding:5px 0
}

#context-div .navbar, #context-div a.dropdown-toggle {
    background: none
}

#context-div .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 7px;
    color: #000;
    font-size: larger;
}

#context-div .navbar {
    min-height: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.control-label {
    font-weight: 600;
    font-size: 12px;
    text-align: right;
}

.control-value {
    margin: 0;
    font-weight: 300;
    line-height: 1.3;
    font-size: 14px
}

.control-value input, .control-value select {
    font-weight: normal;
}

.left-border {
    border-left: 2px dotted #DDDDDD;
}

.right-border {
    border-right: 2px dotted #DDDDDD;
}

.horizontal-line {
    border-bottom: 2px dotted #DDDDDD;
}

.form-control, .select2-container-multi .select2-choices .select2-search-field input {
    height: 30px;
    font-size: 12px;
    /*margin-left:8px*/
}

/*label.control-label {*/
/*padding-top: 9px*/
/*}*/

.form-group {
    margin: 0 0 5px 0
}

.form-group div[class*=col-] {
    padding-left: 8px;
    padding-right: 0;
}

.form-group label[class*=col-] {
    padding-left: 0;
    padding-right: 0;
}

/*.form-group strong.control-value {*/
/*padding-left: 8px;*/
/*}*/

.form-group.required .control-label:before {
    content: "* ";
    color: red;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1px;
}

.form-horizontal .control-label.view-mode {
    padding-top: 0;
    margin-top: 1px
}

.form-group div[class*=col-] .edit-mode {
    padding-right: 8px;
}

/*.select2-container {*/
/*margin-left:8px*/
/*}*/
/*.select2-container-multi .select2-choices .select2-search-field input {*/
/*height: 30px;*/
/*}*/

.select2-container-multi .select2-choices {
    position: initial;
}

.help-block {
    margin-left: 10px;
    font-size: inherit;
}

.frame-shadow {
    box-shadow: 2px 2px 2px #DDDDDD;
}

#user-stack > i.fa-inverse {
    color: rgb(44, 71, 105);
    font-size: smaller;
}

#user-stack .fa-stack-2x {
    font-size: 1.6em;
    padding-top: 6px;
}

#user-stack .fa-stack-1x {
    top: 1px
}

.lead-sm {
    font-size: 18px;
    margin: 0
}

.lead-sm strong {
    font-weight: 600;
}

.nav.navbar-top-links > li > a {
    padding: 10px;
    background-color: transparent;
}

.navbar-top-links .fa-lg {
    font-size: 1.2em;
    line-height: 1em;
    vertical-align: -17%;
}

.hover div:hover {
    background-color: #f5f5f5;
}

.search-pager .btn-group button {
    font-size: large;
    font-weight: bold;

}

.search-pager .btn-group button, .search-pager .btn-group span {
    border: none;
    padding: 5px;
    background: transparent;
}

.tile-scroll {
    max-height: 250px
}

.status-filter {
    margin-top: 7px
}

#prefetch .form-control {
    font-size: inherit;
    height: 23px;
    box-shadow: none;
}

span.twitter-typeahead .tt-dropdown-menu {
    min-width: 300px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 12px;
}

span.twitter-typeahead .tt-dropdown-menu .fa-stack {
    font-size: 12px;
    margin-right: 5px;
    opacity: .9
}

span.twitter-typeahead .tt-dropdown-menu .fa-inverse {
    opacity: .9
}

span.twitter-typeahead .tt-dropdown-menu p {
    cursor: pointer;
}

.login-box {
    background: url(../images/logos/login.jpg) no-repeat;
    background-color: white !important;
    vertical-align: bottom;
    max-width: 607px;
    border: solid 1px #000;
}

.login-box label {
    font-weight: bold;
    color: #000;
}

.login-header {
    height: 240px;
}

.faded {
    opacity: .5
}

.table-wrapper .table-header {
    margin-bottom: 0;
    float: left;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
}

.table-wrapper .well-sm {
    padding: 5px;
    margin: 5px 0 10px 0;
}

.table-wrapper .row {
    margin: 5px 0;
}

.table-wrapper .row-sm {
    margin: 5px 0;
}

.table-wrapper h5 {
    font-weight: 600;
    padding-right: 5px
}

.table-summary-header {
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgb(227, 227, 227);
}

.table-summary-row {
    font-weight: 600;
    margin: 5px 0
}

.table-summary-row .well-sm {
    font-size: 12px;
}

.odd {
    background-color: #f7f7f7;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}

.table-footer {
    font-weight: 600;
    font-size: 14px;
}

@-moz-document url-prefix() {
    .sidebar-search .form-group {
        margin-top: -13px
    }

    #prefetch .form-control {
        height: 28px;
    }

    #searchField {
        top: 8px
    }

    a.dropdown-toggle {
        height: 32px
    }
}

.row-no-margin {
    margin-left: 0;
    margin-right: 0;
}

.datepicker {
    z-index: 1151 !important;
}

#page-footer.navbar-fixed-bottom {
    color: #666;
    background-color: #f5f5f5;
    border-top: solid 1px #e3e3e3;
    margin-bottom: 0;
}

.form-horizontal .editable {
    padding-top: 0;
}

.editableform .control-group {
    margin-right: 0;
    margin-left: 0;
}

.editable-click {
    cursor: pointer;
}

.wide-label .col-lg-8 {
    width: 33.3333333%
}

.wide-label .col-lg-4 {
    width: 66.6666666%
}

.section-header {
    border-bottom: 1px solid #ddd
}

.list-group {
    margin-bottom: 5px;
}

.type-warning .modal-header .close {
    margin-top: -17px;
}


/* FontAwesome checkbox replacement */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

input[type=checkbox], input[type=radio] {
    opacity: 0;
    position: absolute;
    z-index: 12;
    width: 18px;
    height: 18px;
}

input[type=checkbox]:checked, input[type=radio]:checked, input[type=checkbox]:focus, input[type=radio]:focus {
    outline: none !important;
}

input[type=checkbox] + .lbl, input[type=radio] + .lbl {
    position: relative;
    z-index: 11;
    display: inline-block;
    margin: 0;
    line-height: 20px;
    min-height: 14px;
    min-width: 14px;
}

input[type=checkbox] + .lbl.padding-16::before, input[type=radio] + .lbl.padding-16::before {
    margin-right: 16px;
}

input[type=checkbox] + .lbl.padding-12::before, input[type=radio] + .lbl.padding-12::before {
    margin-right: 12px;
}

input[type=checkbox] + .lbl.padding-8::before, input[type=radio] + .lbl.padding-8::before {
    margin-right: 8px;
}

input[type=checkbox] + .lbl.padding-4::before, input[type=radio] + .lbl.padding-4::before {
    margin-right: 4px;
}

input[type=checkbox] + .lbl.padding-0::before, input[type=radio] + .lbl.padding-0::before {
    margin-right: 0px;
}

/* Basic Checkbox styles */
input[type=checkbox] + .lbl::before, input[type=radio] + .lbl::before {
    font-family: FontAwesome;
    font-weight: inherit;
    font-size: 14px;
    /*color: #2091cf;*/
    content: "\a0";
    background-color: #FAFAFA;
    border: 1px solid #CCC;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    height: 20px;
    line-height: 20px;
    min-width: 20px;
    margin-right: 1px;
    margin-top: -5px;
    opacity: .7;
}

/* Checked state styles */
input[type=checkbox]:checked + .lbl::before, input[type=radio]:checked + .lbl::before {
    display: inline-block;
    content: '\f00c';
    background-color: #F5F8FC;
    border-color: #adb8c0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05), inset 15px 10px -12px rgba(255, 255, 255, 0.1);
}

/* Hover state styles */
input[type=checkbox]:hover + .lbl::before, input[type=radio]:hover + .lbl::before, input[type=checkbox] + .lbl:hover::before, input[type=radio] + .lbl:hover::before {
    border-color: #1c7aad;
}

/* Shadow when checked or Active */
input[type=checkbox]:active + .lbl::before, input[type=radio]:active + .lbl::before, input[type=checkbox]:checked:active + .lbl::before, input[type=radio]:checked:active + .lbl::before {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Disabled state styles */
input[type=checkbox]:disabled + .lbl::before, input[type=radio]:disabled + .lbl::before, input[type=checkbox][disabled] + .lbl::before, input[type=radio][disabled] + .lbl::before, input[type=checkbox].disabled + .lbl::before, input[type=radio].disabled + .lbl::before {
    background-color: #DDD !important;
    border-color: #CCC !important;
    box-shadow: none !important;
    color: #BBB;
    opacity: 1;
}

/* Styles for Radio button */
input[type=radio] + .lbl::before {
    border-radius: 32px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}

input[type=radio]:checked + .lbl::before {
    content: "\2022";
}
/*end FontAwesome checkbox replacement*/