/* Collapse: Exchange buttons */
div[aria-expanded=true] .glyphicon-chevron-right {
  display: none;
}
div[aria-expanded=false] .glyphicon-chevron-down {
  display: none;
}

/* https://stackoverflow.com/questions/9789949/bootstraps-togglable-tabs-removing-outline-focus */
.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
  outline: none;
}

/* eckige statt runde Ecken */
/*
.panel, .btn {
  border-radius: unset;
}
*/

/* Keine abgerundeten Ecken für die Navbar */
.navbar {
  border-radius: unset;
}

/* Tabellen mit anklickbaren Zeilen */
.table-row td:hover {
  cursor: pointer;
}

/* Für Header oberhalb der Navigation */
.affix {
  top: 0;
  width: 100%;
  z-index: 9999 !important;
}
.affix + .container {
  padding-top: 70px;
}

/* Statischer Text in Dropdown (Menüs) */
.dropdown-text {
  padding: 3px 20px;
}

/* List-Group mit Vorstellungen platzsparender auf Desktops darstellen */
@media (min-width: 1200px) {
    .list-group-item {
        padding-top: 3px;
        padding-bottom: 3px;
    }
}

input[type="date"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control, input[type="time"].form-control {
  line-height: 1;
}

/* Modal-Dialoge unterhalb der Navbar anzeigen */
.modal-dialog {
  margin: 60px auto;
}

/* Zentrierung des ZRaums */
div #ZRaum img {
    display: block;
    margin: auto;
}

#wait-overlay {
    display: none;
    background-color: #333;
    opacity: 0.8;
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-image: url('../images/ajax-loader.gif');
    background-position: center;
    background-repeat: no-repeat;
}

.h2 h2 {
  font-size: 20px;
}

.tn-preise thead th {
  text-align: center;
}
.tn-preise tbody th {
  font-weight: normal;
}
.tn-preise tbody td {
  text-align: right;
}

.tn-farben thead th {
  text-align: center;
}
.tn-farben tbody th {
  font-weight: normal;
}
.tn-farben td {
  text-align: center;
}



/* Dafür sorgen, dass Dropdowns innerhalb Tabellen/Panels nicht abgeschnitten werden (z.B. MeineBuchungen) */
.table-responsive {
  overflow-x: visible;
}
/* graue Progressbars für Fortschrittanzeigen (stacked) */
.progress-bar-default {
  background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
  background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);
  background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));
  background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
  background-repeat:repeat-x;
  color:rgb(51, 51, 51);
}
/* In Formularen nebeneinanderliegende Eingabefelder rechts verbreitern */
@media (min-width: 768px) {
  .col-sm-extend-right {
    padding-right: 0;
  }
  .col-sm-extend-left {
    padding-left: 0;
  }
}

.DoNotPrint {
  font-family: 'Trebuchet MS', Arial, Helvetica;
  font-size: 10pt;
  margin: 20px;
  padding: 20px;
}

@media print {
  @page {
    size: A4 portrait;
    margin-left: 2.0cm;
  }
  body {
    background-color: #fff;
    box-shadow: none;
  }
  .DoNotPrint {
    display: none;
  }
  tr, img { page-break-inside: avoid; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
