body {
  overflow-y: scroll !important;
}

a {
  outline: none !important;
}

textarea {
  resize: none;
}

input,
input:focus,
input:active,
select,
select:focus,
select:active {
  outline: none !important;
  border-color: #333;
}

.input-group-addon {
  border-color: #333;
}

input:focus,
input:active,
select,
select:focus,
select:active,
textarea,
textarea:focus,
textarea:active {
  box-shadow: none !important;
  border-color: #333;
}

textarea.comment {
  min-height: 140px;
}

.no-padding {
  padding: 0 !important;
}

.dz-linie {
  background-color: #ef9300;
  height: 4px;
}

#wrapper > nav {
  position: fixed;
  width: 100%;
  z-index: 1020;
}

#linie {
  height: 4px;
  background-color: #ef9300;
  display: block;
  width: 100%;
  border: 0;
  position: fixed;
  z-index: 1030;
}

#page-wrapper {
  padding-top: 50px;
  position: relative;
}
#page-wrapper .page-header {
  position: relative;
  margin-top: 0;
  padding-top: 1em;
}
#page-wrapper .page-header .row > div {
  overflow: hidden;
}

#page-wrapper-header {
  position: fixed;
  width: calc(100% - 310px);
  background-color: #ffffff;
  z-index: 1002;
  margin-top: 1px;
}

#page-wrapper-header + #page-wrapper-content {
  margin-top: 101px;
}

#page-wrapper-header.announcements + #page-wrapper-content {
  margin-top: 153px;
}

.modal-open {
  padding-right: 0 !important;
}

@media (min-width: 768px) {
  #page-wrapper {
    margin: 0;
  }
}
@media (min-width: 1200px) {
  #page-wrapper {
    margin: 0 0 0 250px;
  }
}
.alert-box {
  position: fixed;
  z-index: 1005;
  margin-top: 15px;
}

.nav-side-special > div {
  margin-top: 35px;
}
.nav-side-special h4 {
  margin-left: 15px;
}

#nav-side-info {
  position: fixed;
  bottom: 1px;
  width: 250px;
  padding: 0.5em;
  font-size: 80%;
  text-align: center;
}

.btn-grey {
  background-color: #777777;
  color: #ffffff;
}

.form-control,
.form-control:focus,
.btn-group .btn {
  border-color: #333;
}

.col-md-1 .form-control,
.col-lg-1 .form-control {
  padding: 6px;
}

.has-error .btn-group .btn {
  border-color: #a94442;
}

.panel-body.with-table {
  padding: 0 0 15px 0;
}
.panel-body.with-table .table {
  border-bottom: 1px solid #ddd;
  border-right: 0;
  margin-bottom: 0;
}
.panel-body.with-table .table > thead > tr > th, .panel-body.with-table .table > tfoot > tr > th {
  border-right: 1px solid #ddd;
  border-bottom: 0;
}
.panel-body.with-table .table > tbody > tr > td {
  border-right: 1px solid #ddd;
}
.panel-body.with-table .table > thead > tr > th:last-of-type, .panel-body.with-table .table > tfoot > tr > th:last-of-type {
  border-right: 0;
}
.panel-body.with-table .table > tbody > tr > td:last-of-type {
  border-right: 0;
}
.panel-body.with-table .table.no-header > tbody > tr:first-child > td {
  border-top: 0;
}
.panel-body.with-table > div:not(.dt-container):not(.tab-content) {
  margin-left: 15px;
  margin-right: 15px;
}
.panel-body.with-table > div.tab-content {
  padding-left: 0;
  padding-right: 0;
}
.panel-body.with-table .padding {
  padding-left: 10px;
  padding-right: 10px;
}

.dashboard-calc-date {
  color: #999;
  font-size: 0.8em;
  margin-top: 0.6em;
}

.navbar-header {
  display: inline-block;
  width: 250px;
  padding: 6px 0.5em 0 0.5em;
}
.navbar-header img {
  margin-right: 1em;
  max-height: 40px;
}
.navbar-header .appname {
  line-height: 40px;
  font-weight: bold;
  display: inline-block;
}

@media (max-width: 1499px) {
  #dropdown_propertylist {
    display: none;
  }
}
.table .btn-circle {
  width: 16px;
  height: 16px;
  font-size: 10px;
}
.table .btn-circle.btn-success {
  padding: 1px 0;
}
.table .btn-circle.btn-danger {
  padding: 1px 0;
}
.table td.fit, .table th.fit {
  white-space: nowrap;
  width: 1%;
}

table.dataTable thead th {
  white-space: nowrap;
  padding-right: 18px;
  position: relative;
}

table.dataTable thead .dt-column-order {
  position: absolute;
  right: 5px !important;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: left;
}

table.dataTable > tbody > tr.child span.dtr-title {
  display: block;
}

div.dt-container div.dt-layout-row div.dt-layout-cell {
  padding-left: 0;
  padding-right: 0;
}

.tab-content {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px;
}

.panel-heading a.collapsable {
  cursor: pointer;
  display: block;
}
.panel-heading a.collapsable:hover, .panel-heading a.collapsable:focus, .panel-heading a.collapsable:active {
  text-decoration: none;
}
.panel-heading a.collapsable:after {
  font-family: "FontAwesome";
  content: "\f106";
  float: right;
  color: grey;
}
.panel-heading a.collapsed:after {
  content: "\f107";
}

.search-input {
  display: inline-block;
  margin-left: 10px;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

th.border-right,
td.border-right {
  border-right-width: 2px !important;
  border-right-color: #ddd;
  border-right-style: solid;
}

#viewSelector ~ .btn-group .multiselect-container input {
  display: none;
}

.multiselect-full .multiselect-native-select .btn-group {
  width: 100%;
}
.multiselect-full .multiselect-native-select .btn-group button {
  width: 100%;
  text-align: left;
}

.multiselect.dropdown-toggle .caret {
  float: right;
  margin-top: 0.5em;
  margin-left: 5px;
}

.dataTables_filter input {
  border-color: #333;
}

.carousel-inner {
  padding: 0 !important;
  margin-bottom: 0;
}

.carousel-control {
  font-size: 16px;
  background: none !important;
  text-shadow: none !important;
  color: #000000;
}

.carousel-control:hover {
  color: #000000;
}

.carousel-control.left {
  text-align: left;
  top: 15px;
  left: 15px;
}

.carousel-control.right {
  text-align: right;
  top: 15px;
  right: 15px;
}

.carousel-inner .item {
  margin: 0 8em;
  padding: 15px;
}

/** Property Image Gallery */
.thumbnails {
  display: flex;
  margin: 1rem auto 0;
  padding: 0;
  justify-content: center;
}

.thumbnail {
  width: 70px;
  height: 70px;
  overflow: hidden;
  list-style: none;
  margin: 0 0.2rem;
  cursor: pointer;
}

.thumbnail img {
  max-width: 100%;
  max-height: 70px;
  height: auto;
}

/** End Property Image Gallery */
.form-group-placeholder {
  display: block;
  height: 59px;
  margin-bottom: 15px;
}

.form-modal-label-input {
  margin-top: 8px;
}

.form-modal-label-buttons {
  margin-top: 28px;
}

.fa-rotate-45 {
  transform: rotate(45deg);
}

.fa-rotate-315 {
  transform: rotate(315deg);
}

/* NAVIGATION */
#nav-main {
  display: inline-block;
  margin-left: 0;
}
#nav-main li > a.active {
  background-color: #CCCCCC;
}
#nav-main li > a:focus, #nav-main li > a:hover,
#nav-main .nav > li > a:focus,
#nav-main .nav > li > a:hover {
  background-color: #EEEEEE;
}

.nav-side {
  padding-top: 0.5em;
  margin-top: 20px;
}
.nav-side li:first-child {
  border-top: 1px solid #E7E7E7;
}
.nav-side h4 {
  margin-left: 15px;
}

.navbar-top-rechts.visible-lg,
.navbar-top-rechts.visible-xl {
  display: inline-block !important;
}

.nav-favorite {
  background-color: #FBF78B;
}
.nav-favorite li {
  border-color: #BBBBBB !important;
}

#sidebar {
  margin-top: 40px;
  position: fixed;
}

.sidebar,
.responsive-menu {
  margin-top: 0;
}
.sidebar .fa.arrow::before,
.responsive-menu .fa.arrow::before {
  content: "\f107";
}
.sidebar .active > a > .fa.arrow::before,
.responsive-menu .active > a > .fa.arrow::before {
  content: "\f106";
}
.sidebar .has-sub-navigation:active, .sidebar .has-sub-navigation:focus,
.responsive-menu .has-sub-navigation:active,
.responsive-menu .has-sub-navigation:focus {
  background-color: inherit !important;
}
.sidebar ul li a.active,
.responsive-menu ul li a.active {
  background-color: #CCCCCC;
}

.responsive-menu .has-sub-navigation span {
  float: right;
}
.responsive-menu .nav-second-level > li > a {
  padding-left: 50px;
}

.panel.with-nav-tabs > .panel-heading {
  padding: 5px 5px 0 15px;
}
.panel.with-nav-tabs > .panel-heading > .nav-tabs {
  border-bottom: none;
}
.panel.with-nav-tabs > .panel-heading > .nav-tabs li.heading {
  margin-right: 15px;
  padding: 11px 0 9px 0;
}
.panel.with-nav-tabs > .panel-body {
  padding: 0;
}
.panel.with-nav-tabs > .panel-body > .tab-content {
  border: 0;
}
.panel.with-nav-tabs .nav-justified {
  margin-bottom: -1px;
}

.visible-xl {
  display: none !important;
}

@media (max-width: 767px) {
  .alert-box {
    width: 85%;
    margin-left: 5%;
  }
}
@media (min-width: 768px) {
  .alert-box {
    width: 55%;
    margin-left: 15%;
  }
}
@media (min-width: 1200px) {
  .pdfInnerContainer.affix {
    position: fixed;
    top: 15px;
  }
}
@media (max-width: 1199px) {
  .pdfInnerContainer.affix {
    position: inherit;
  }

  #page-wrapper-header {
    width: calc(100% - 30px);
  }

  .carousel-inner .item {
    margin: 0 1em;
  }
}
@media (min-width: 1601px) {
  .visible-xl {
    display: inline !important;
  }

  .hidden-xl {
    display: none !important;
  }
}
.navbar-top-rechts {
  margin-right: 0;
  float: right;
}
.navbar-top-rechts li {
  display: inline-block;
}
.navbar-top-rechts li a {
  padding: 15px;
  min-height: 50px;
}
.navbar-top-rechts li:last-child {
  margin-right: 15px;
}
.navbar-top-rechts .dropdown-menu li {
  display: block;
}
.navbar-top-rechts .dropdown-menu li a {
  padding: 3px 20px;
  min-height: 0;
}
.navbar-top-rechts .dropdown-menu li a div {
  white-space: normal;
}
.navbar-top-rechts .dropdown-menu li:last-child {
  margin-right: 0;
}
.navbar-top-rechts .dropdown-alerts,
.navbar-top-rechts .dropdown-messages,
.navbar-top-rechts .dropdown-tasks {
  width: 310px;
  min-width: 0;
}
.navbar-top-rechts .dropdown-menu.dropdown-properties {
  max-height: 415px;
  overflow-y: scroll;
}
.navbar-top-rechts .dropdown-messages {
  margin-left: 5px;
}
.navbar-top-rechts .dropdown-tasks {
  margin-left: -59px;
}
.navbar-top-rechts .dropdown-alerts {
  margin-left: -123px;
}
.navbar-top-rechts .dropdown-user {
  right: 0;
  left: auto;
}

@media (min-width: 1400px) {
  .navbar-top-rechts li .visible-lg {
    display: inline-block !important;
  }
}
/* Alignment */
.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg {
  text-align: left;
}

.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg {
  text-align: center;
}

.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg {
  text-align: right;
}

.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg {
  text-align: justify;
}

@media (max-width: 767px) {
  .text-left-not-xs, .text-center-not-xs, .text-right-not-xs, .text-justify-not-xs {
    text-align: inherit;
  }

  .text-left-xs {
    text-align: left;
  }

  .text-center-xs {
    text-align: center;
  }

  .text-right-xs {
    text-align: right;
  }

  .text-justify-xs {
    text-align: justify;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm {
    text-align: inherit;
  }

  .text-left-sm {
    text-align: left;
  }

  .text-center-sm {
    text-align: center;
  }

  .text-right-sm {
    text-align: right;
  }

  .text-justify-sm {
    text-align: justify;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md {
    text-align: inherit;
  }

  .text-left-md {
    text-align: left;
  }

  .text-center-md {
    text-align: center;
  }

  .text-right-md {
    text-align: right;
  }

  .text-justify-md {
    text-align: justify;
  }
}
@media (min-width: 1200px) {
  .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg {
    text-align: inherit;
  }

  .text-left-lg {
    text-align: left;
  }

  .text-center-lg {
    text-align: center;
  }

  .text-right-lg {
    text-align: right;
  }

  .text-justify-lg {
    text-align: justify;
  }
}
.button-area {
  margin-top: 16px;
}

.bootstrap-tagsinput {
  display: block;
  border: 1px solid #333;
  border-radius: 4px;
}
.bootstrap-tagsinput .label-light {
  background-color: #5bc0de;
  color: rgba(0, 0, 0, 0.7);
  font-size: 100%;
  margin: 0.2em 0;
  display: inline-block;
}
.bootstrap-tagsinput .tag + .twitter-typeahead > input.tt-input::-moz-placeholder {
  color: transparent;
}
.bootstrap-tagsinput .tag + .twitter-typeahead > input.tt-input:-ms-input-placeholder {
  color: transparent;
}
.bootstrap-tagsinput .tag + .twitter-typeahead > input.tt-input::placeholder {
  color: transparent;
}

.bootstrap-tagsinput:has(+ .is-invalid) {
  border-color: #a94442 !important;
}
