/* Layout */

.btn-check:focus + .btn, .btn:focus {
  outline: 0;
  box-shadow: none;
}

img {
  width: 100%;
  height: auto;
}

g, .table-responsive tr {
  cursor: pointer;
}

a {
  color: var(--color-primary);
}

p {
  margin-bottom: 0;
}

/* SVG Immo */

#immo--block {
  display: none;
}

@media (min-width: 1200px) {
  #immo--block {
    display: block;
    position: relative;
  }
}

.house .hidden {
  display: none;
}

.house .show {
  display: block;
}

.g--group--color .cls-1 {
  opacity: 0;
  transition: opacity 0.3s;
}

.g--group--color .cls-1:hover {
  opacity: 0.7;
}

.g--group--color .cls-2 {
  transition: opacity 0.3s;
}

.g--group--color:hover .cls-2, .g--group--color.hover .cls-2 {
  opacity: 0.7;
}

.g--group--color .cls-2:hover {
  opacity: 0;
}

.tr--hover {
  opacity: 0 !important;
}

/* Btn */

.btn {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  text-align: center;
  letter-spacing: 1px;
  text-decoration: none;
  border: 2px solid rgba(153,153,153,0.26);
  border-radius: 0;
  transition: ease-out 0.5s;
  margin-right: 10px;
  font-size: 16px;
}

#tabHauser a {
  padding: 10px 30px !important;
}

.btn.btn-border-2:hover {
  color: var(--color-primary)!important;
}

.btn.btn-border-2:hover::after, .btn.btn-border-2:hover::before {
  width: calc(50% + 3px);
  height: calc(50% + 3px);
  border-color: var(--color-primary);
}

.btn--modalbox {
  color: black;
}

.btn--modalbox:hover {
  color: grey;
}

/* Tabs Content */

.table-responsive {
  font-size: 16px;
}

.tabelle--block {
  margin: 7rem 0;
}

@media (min-width: 1200px) {
  .tabelle--block {
    margin: 0 0 7rem 0;
  }
}

.table {
  /*margin-bottom: 5rem;*/
}

@media (min-width: 992px) {
  .table {
    border-bottom: 2px solid var(--color-primary);
    /*margin-bottom: 5rem;*/
    border-top: transparent;
  }
}

.table-modalbox {
  margin-bottom: 0rem!important;
}

.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-link {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-bottom: 0px;
  /*color: #212529 !important;*/
  border: 2px solid var(--color-primary);
  /*background-color: rgba(236,236,236,0.3);*/
}

nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  border-bottom: 2px solid var(--color-primary);
  background-color: var(--color-primary);
  color: white!important;
}

thead tr {
  border-bottom: 2px solid var(--color-primary);
}

.table > :not(caption) > * > * {
  border-bottom-width: 0;
}

.tabelle--hover {
  background-color: var(--color-primary) !important;
  transition: background-color 0.3s;
}

@media (min-width: 992px) {
  tr:nth-child(even) {
    background: #F3F3F3;
  }
}

th:nth-child(4), th:nth-child(5), th:nth-child(6), td:nth-child(4), td:nth-child(5), td:nth-child(6) {
  text-align: right;
}

.not-avaiable {
  opacity: 1;
  transition: all 0.1s ease-out;
}

.not-avaiable td:first-child {
  color: red;
}

.tabelle--hidden {
  color: red;
  opacity: 0.2;
  transition: all 0.5s ease-out;
}

.floor--imagesize {
  width: 25px;
}

.table-nichtmodal {
  margin-top: -10px;
}

/* Tabelle Responsive */

@media (max-width: 991px) {
  .table-nichtmodal table thead {
    display: none;
  }
}

@media (max-width: 991px) {
  .table-nichtmodal tr {
    box-shadow: 0 25px 20px rgba(0, 0, 0, 0.1);
    margin: 1rem;
    display: block;
    padding: 2rem;
  }
}

@media (max-width: 991px) {
  .table-nichtmodal table tr {
    margin-bottom: 3rem;
  }
}

@media (max-width: 991px) {
  .table-nichtmodal table td {
    display: block;
    text-align: right;
  }
}

@media (max-width: 991px) {
  .table-nichtmodal table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
}

/* Modal Box */

.modal-content {
  border: 1px solid var(--color-primary);
  border-radius: 0;
}

.table > :not(:first-child) {
  border-top: none;
}

.modal-header-immo {
  border-color: rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0.0)!important;
  border: none!important;
  padding-right: 0;
}

.modal-immo .modal-content {
  border: none!important;
  background-color: rgba(0,0,0,0.0)!important;
}

.modal-immo .modal-body {
  border: none!important;
  background-color: rgba(255,255,255,1)!important;
}

.modal-immo .modal-footer {
  background-color: white;
}

.modal-immo button.btn-close {
  color: white!important;
}

.modal-immo .close, .modal-immo .btn-close {
  color: #fff!important;
  opacity: 1;
}

.primary-color-background {
  background-color: var(--color-primary);
}

.table-transparent {
  background-color: rgba(0,0,0,0.0)!important;
}

.untertitel-modal {
  font-size: 1.2rem;
  padding-bottom: 10px;
  width: 15%;
  border-bottom: 5px solid white;
}

.zeile-row {
  border-bottom: 1px solid white;
  font-size: .8rem;
}

.zeile-row td {
  padding-left: 0;
}

.modal-col-right {
  text-align: right;
  padding-right: 0!important;
}

.button-modalbox {
  width: 100%;
  background-color: darkgreen;
  border: 1px solid darkgreen;
  color: white;
  text-align: left;
  font-size: 0.8rem;
  padding-top: 10px;
  height: 45px;
}

.button-modalbox:hover {
  color: white;
  border: 1px solid white;
}

.modal-handy-icon {
  padding-right: 4px;
}

.modal-icon {
  position: absolute;
  right: 20px;
  font-size: 1.1rem;
  top: 12px;
}

.modal {
  background-color: rgba(0,0,0,0.6);
}

.modal-title {
  font-size: 1.5rem;
}

#btn-status {
  background-color: var(--color-primary)!important;
  color: white;
  position: absolute;
  left: 0;
  bottom: 0;
}

#btn-status:hover {
  background-color: darkgreen!important;
  color: white!important;
}

.paragraph-zusatz {
  font-size: .85rem;
}

