html,
body {
    height: 100%;
}

body: {
    position: relative;
}

:root {
    --bs-btn-active-color: #FFFFFF;
    --bs-btn-active-bg: #567D38;
    --bs-btn-active-border-color: #2E4E14;
}

@media (min-width: 768px) {
    .navbar-left {
        display: inline-block !important;
        float: none !important;
    }

    .navbar-collapse {
        text-align: center;
    }
}

.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: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after, th.asc:after, th.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;
}

.pagination-wrap {
    width:100%;
    text-align: center;
}

.sort {
    cursor: pointer;
}

th.asc:after {
    content: /*"\e113"*/ "\e155";
}

th.desc:after {
    content: /*"\e114"*/ "\e156";
}

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

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


.select2-container--krajee .select2-selection--single {
  height: 26px;
  line-height: 15px;
  padding: 5px 24px 5px 6px;
  font-size: 12px;
  border-color: #555555;
  border-radius: 0px;
}

.select2-container--krajee .select2-selection--single .select2-selection__arrow {
  height: 23px;
  border-color: #555555;
}

.select2-container--krajee .select2-selection--multiple {
  min-height: 24px;
  font-size: 12px;
  border-color: #555555;
  border-radius: 0px;
}

.select2-container--krajee .select2-selection--multiple .select2-search--inline .select2-search__field {
  padding: 0px 6px;
}

.btn-default {
  border-color: #555555;
  border-radius: 0px !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
  border-color: #555555;
}

.btn-sm {
  padding: 3px 10px !important;
}

.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;
}

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

.title-header { display: flex; flex-direction: row; }
.title-header > div { flex-grow: 1; }
.title-header > div > hr { border-color: #000000; border-width: 4px; margin-top: 18px; margin-bottom: 20px; opacity: 1; }
.title-header h1 { margin-top: -1px; padding: 0px 10px; text-align: center;}

.chart-title { padding-left: 5px; font-weight: 600; text-align: center; }
.whole-container { margin: 25px 0px; }

.separated-container { display: flex; flex-direction: row; margin: 25px 0px;}
.separated-container > div:first-child { width: 48%; height: 100%; margin-right: 2%; }
.separated-container > div:last-child { width: 48%; height: 100%; margin-left: 2%;}

@media only screen and (max-width: 990px) {
  .separated-container {display:  block;}
  .separated-container > div { width: 100% !important; margin: 0px !important; }
  .separated-container > div:last-child { margin-top: 25px !important; }

  #building-aspect-slider {width: 100% !important; margin-left: 0% !important;}
}

.threepart-container { display: flex; flex-direction: row; justify-content: space-between; margin: 25px 0px;}
.threepart-container > div { width: 32%; height: 100%;  }

@media only screen and (max-width: 990px) {
    .threepart-container {display:  block;}
    .threepart-container > div { width: 100%; }
}

.categorized-building-aspects { display: flex; flex-direction: row; justify-content: space-between; margin: 25px 0; }
.categorized-building-aspects > .building-aspect { width: 25%; }

@media only screen and (max-width: 1024px) {
    .categorized-building-aspects { flex-wrap: wrap; }
    .categorized-building-aspects > .building-aspect { width: 50%; }
}

@media print {
    body {
      -webkit-print-color-adjust: exact;
      color-adjust: exact;
    }
    .actionplan-table .percentage-bar > .percentage-bar-red > div { background-color: #ff0000 !important; }
    .actionplan-table .percentage-bar > .percentage-bar-orange > div { background-color: #f8ad2b !important; }
    .actionplan-table .percentage-bar > div > div { background-color: #567d38 !important; }
    .actionplan-table .percentage-bar > div:first-child { background-color: #e7e8e8 !important; }
    .actionplan-table .domain-header { background-color: #e7e8e8 !important; }

    #actionplan-all {
        display: block;
    }

    #actionplan-all > div:first-child {
        float: left;
    }

    #actionplan-all > div:last-child {
        float: left;
    }

    .wrap > .container { width: 100%;}
}
