@font-face {
    font-family: 'futuralight';
    src: url("../fonts/futura_lig_eot.eot");
    src: url("../fonts/futura_lig_eot.eot?#iefix") format("embedded-opentype"), url("../fonts/futura_lig_woff.woff") format("woff"), url("../fonts/futura_lig_ttf.ttf") format("truetype"), url("../fonts/futura_lig_svg.svg#futuraligregular") format("svg");
    font-weight: normal;
    font-style: normal;
}

html,
body {
    height: 100%;
}

h1, h2{
    font-family: 'futuralight';
}

h1{
    font-size: 32px;
}

.content h1 {
    margin-top: 0;
}

.content-header{
    min-height: 26px !important;
}

.content-header>.breadcrumb{
    float: none !important;
    right: auto !important;
    padding: 0 !important;
}

@media(min-width: 768px) {
    .content h1 + p {
        float: right;
        margin-top: -3.2em;
    }
}

form .tabs-x .tab-content{
    background-color: white;
    padding-bottom: 0px;
    margin-bottom: 15px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #999;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.form-group label{
    font-size: 13.8px;
    letter-spacing: -0.5px;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.sidebar-menu>li>a {
    padding: 12px 5px 12px 2px;
    border-left: 0;
}

.sidebar-menu>li>a>.fa, .sidebar-menu>li>a>.glyphicon, .sidebar-menu>li>a>.ion {
    width: 40px;
    text-align: center;
}

.treeview-menu>li>a>.fa, .treeview-menu>li>a>.glyphicon, .treeview-menu>li>a>.ion {
    width: 40px;
    text-align: center;
}

.sidebar-collapse .treeview-menu>li>a>.fa, .sidebar-collapse .treeview-menu>li>a>.glyphicon, .sidebar-collapse .treeview-menu>li>a>.ion  {
    width: 20px;
}

.sidebar-collapse .treeview-menu>li>a  {
    padding: 5px !important;
}

@media (min-width: 768px) {
    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right),.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu>li:hover>.treeview-menu {
        display:block !important;
        position: absolute;
        width: 240px;
        left: 50px;
    }
}

#login-logo{
    margin: 30px 0;
    font-size: 30px;
    color: #999;
    font-weight: bold;
    font-family: 'futuralight';
}

.main-header .logo {
    font-family: 'futuralight';
    font-size: 24px;
}

.content-header {
    position: relative;
    padding: 15px 20px 0 15px !important;
    min-height: 40px;
}

.content-header>.breadcrumb {
    float: right;
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13px;
    padding: 7px 7px;
    position: absolute;
    top: 15px;
    right: 10px;
    border-radius: 2px;
}

.navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* Fix select 2 selection vertical alignment */
.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: 0px;
    padding-right: 18px;
}
.select2-container--krajee .select2-selection--single {
    padding: 6px 26px 6px 7px;
}
.select2-container--krajee .select2-selection {
    box-shadow: none;
    border-radius: 0;
    font-size: 14px;
}
.table > thead > tr.filters > td {
    padding: 0px;
}
.table > thead > tr > td input {
    padding: 6px;
    border: none;
    font-size: 13px;
}
.table > thead > tr > td select {
    padding: 6px;
    border: none;
    font-size: 13px;
    color: #888;
}
.table > thead > tr > td .help-block{
    font-size: 13px;
    line-height: 1.1;
    padding: 2px 4px;
}
.table > thead > tr > td .input-group .input-group-addon {
    border: none;
    color: #888;
    border-left: 1px solid #e8e8e8;
}
.table > thead > tr > td .select2-container--krajee .select2-selection--single{
    padding: 8px 26px 6px 7px;
}
.table > thead > tr > td .select2-container--krajee .select2-selection--single .select2-selection__arrow{
    border: none;
    border-left: 1px solid #e8e8e8;
}
.table > thead > tr > td .select2-container--krajee .select2-selection {
    font-size: 13px;
    border: none;
}
/*.kv-grid-table .select2-container--krajee .select2-selection--single .select2-selection__arrow{
    height: 100%;
}
.kv-grid-table .select2-container--krajee .select2-selection--single{
    min-height: 18px;
    height: auto;
}
.kv-grid-table .select2-container .select2-selection--single .select2-selection__rendered{
    min-height: 18px;
    height: auto;
    white-space: normal;
}*/

.kv-panel-pager{
    min-height: auto;
}

.form-control{
    border: 1px solid #ccc;
}
.form-control:focus {
    border: 1px solid #66afe9 !important;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 6px rgb(102 175 233 / 60%) !important;
}
.kv-grid-table .form-control:disabled{
    background-color: transparent;
    border: 1px solid transparent;
}

.form-group{
    margin-bottom: 6px;
    padding-bottom: 20px;
}
.form-group.has-error{
    padding-bottom: 0px;
}
.help-block{
    margin-bottom: 0;
}

.dropdown-menu{
    box-shadow: 0 6px 12px rgb(0 0 0 / 30%);
}

.panel-info{
    border-color: #838383;
}
.panel-info > .panel-heading {
    color: #fff;
    background-color: #838383;
    border-color: #838383;
}

.panel-warning{
    border-color: rgb(224, 154, 24);
}
.panel-warning > .panel-heading {
    color: #fff;
    background-color: rgb(224, 154, 24);
    border-color: rgb(224, 154, 24);
}

.panel-success{
    border-color: rgb(18, 161, 49);
}
.panel-success > .panel-heading {
    color: #fff;
    background-color: rgb(18, 161, 49);
    border-color: rgb(18, 161, 49);
}

.input-group-addon {
    padding: 6px 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555555;
    text-align: center;
    background-color: #eeeeee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover,
.datepicker table tr td span.disabled, .datepicker table tr td span.disabled:hover{
    color: #aaa;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border-width: 1px;
    border-style: solid;
    border-color: #e8e8e8;
    border-image: initial;
}

/* Fixes table horiz scroll */
.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
    margin-left: -1px;
}

.detail-view{
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

.detail-view th{
    width: 35%;
}

.table-striped > tbody > tr{
    background-color: #fff;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: rgb(249, 249, 249);
}

.nav>li>a.text-danger{
    color: #a94442;
}

.selectize-dropdown [data-selectable].option {
    opacity: 1;
    cursor: pointer;
}

h2 .badge{
    font-size: 14px;
    padding: 4px 8px;
    margin-top: -6px;
    font-family: 'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: normal;
}

.badge-success {
    background-color: green;
}

.badge-warning {
    background-color: rgb(192, 125, 0);
}

.badge-danger {
    background-color: rgb(192, 0, 0);
}

.timeline-horiz {
    vertical-align: top;
}

.timeline-horiz .node{
    position: relative;
    float: left;
    top: 0;
    padding: 8px 6px;
    text-align: center;
    margin: 15px 0;
    padding-top: 35px;
}

.timeline-horiz .node .circle{
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background-color: #ccc;
    color: white;
    line-height: 26px;
    font-size: 18px;
}

.timeline-horiz:before {
    content: none;
}

.timeline-horiz p {
    margin: 0;
    font-size: 13px;
}

.timeline-horiz .line {
    position: absolute;
    top: calc(15px - 2px / 2);
    height: 2px;
    background-color: #ccc;
}

.timeline-horiz .line-left {
    width: 50%;
    left: 0;
}

.timeline-horiz .line-right {
    width: 50%;
    left: 50%;
}

.timeline-horiz .line-left.line-right {
    width: 100%;
    left: 0;
}

.timeline-horiz .node.active .circle, .timeline-horiz .node.active .line.active{
    background-color: #619abb;
}

.timeline-horiz .node.active.current .name{
    font-weight: 600;
}

.timeline-horiz .node:not(.active) p{
    color: #888;
}

.timeline-horiz .node.current .circle{
    background-color: #3c8dbc;
    border: 2px solid #3c8dbc;
}

.timeline-horiz .node.pending .circle{
    background-color:rgb(192, 125, 0);
    border: 2px solid rgb(192, 125, 0);
    color: white;
}

.timeline-horiz .node.ok .circle{
    border: 2px solid #3c8dbc;
    background-color: #3c8dbc;
}

.timeline-horiz .node.current.ok .circle{
    background-color:rgb(17, 122, 13);
    border: 2px solid rgb(17, 122, 13);
    color: white;
}

.timeline-horiz .node.error .circle{
    background-color:rgb(192, 0, 0);
    border: 2px solid rgb(192, 0, 0);
    color: white;
}

#changeset-body{
    padding: 0 15px;
}

#changeset-body > .row {
    padding: 15px 0 15px 0;
    border-bottom: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
}

#changeset-body > .row:nth-child(odd) {
    /*background-color: rgb(249, 249, 249);*/
    border-bottom: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
}

#changeset-body > .row:first-child {
    border-top: none;
}

#changeset-body > .row:last-child {
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

#changeset-body > .row a {
    margin-bottom: 6px;
}

#changeset-body > .row > div p {
    margin-top: 10px;
}

#changeset-body > .row > div:first-child p {
    margin-top: 0;
}

#changeset-body .value-old {
    color: #888;
}