* {
  box-sizing: border-box;
}

@font-face {
font-family: 'Helvetica Neue Light';
font-style: normal;
font-weight: normal;
src: local('../fonts/Helvetica Neue Light'), url('../fonts/HelveticaNeueLight.woff') format('woff');
}

@font-face {
font-family: 'Helvetica Neue Bold';
font-style: normal;
font-weight: normal;
src: local('../fonts/HelveticaNeueBold'), url('../fonts/HelveticaNeueBold.woff') format('woff');
}

form {
display: block;
margin: 0 0 0 0;  
}

body {
  font-family: 'Helvetica Neue Light';
  letter-spacing: 1px;
  min-width: 315px !important;
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  width: 300px;

}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

button {
border: 0;
padding: 7.5px; 
vertical-align: top; 
}

button > img {
opacity: 0.8;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 81%;
}

input[type=submit], button {
  background-color: #f57f17;
  color: #fff;
  cursor: pointer;
  margin: 0 0.5% 0 1%;
  border-radius: 2px 2px 2px 2px;
  border: 1px solid #808080;
}


input[type=submit]:hover, button:hover, button:hover > img {
background-color: #c46512; 
opacity: 1;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 29px;
  right: 0;
  max-height: 300px;
  overflow: auto;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4;
  text-align: left; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: #f57f17 !important; 
  color: #ffffff; 
}

.datumdetails {
  font-family: 'Helvetica Neue Light';
}

.mobiletoggle {
  display: none;
}

.pricemerged {
display: none;  
}

.kursfinderinhalt {
display: inline-block;
width: 100%;
text-align: center;
}

.kursfinderinhalt div {
vertical-align: top;
}

.kursfinderleftbar, .kursfindermap, .sortiertekursorte, .kursresults {
  display: inline-block;
}

.mobilecolumn, .mobilekursort, .mobilesearch {
  display: none;
}


@media (min-width: 1200px) {
.navbar-default {
height: 70px;
padding: 5px 0 0 0;  
}

.datumdetails {
  font-size: 0.85em;
}

.termintable tr td[column='price'] {
width: 50px !important;
}

}

@media (min-width: 992px) {
.navbar-default {
height: 70px;
padding: 5px 0 0 0;  
}

#separatekursortmap {
margin: 30px 0 30px 0 !important;  
}


.kursorttext {
margin: 10px 0 10px 0; 
}
.datepicker-here {
font-size: 1em;
}

 .statustext {
font-size: 0.9em !important;
}  

.freeseats, .nofreeseats, .lowfreeseats, .toolate, .kursvorbei {
width: calc(60px + 5vw);
  } 

 .lowfreeseats div {
margin: 0 0 0 0 !important; 
  } 

 .freeseats div {
margin: 4% 0 0 0 !important; 
  } 

 .nofreeseats div {
margin: -2% 0 0 0 !important; 
  }   

 .toolate div {
margin: -2% 0 0 0 !important; 
  }    


.nofreeseats div {
display: inline-block;
margin: -2% 0 0 0;
} 

.kursdatum {
min-width: 120px;  
}

.datumdetails {
  font-size: 0.80em;
}

.statustext {
  line-height: 1.5;
}

}

@media (max-width: 992px) and (min-width: 768px) {
.container {
width: 90%;
margin-left: calc(15vw - 95px);
padding: 0;
  
}

.termintable tbody tr td {
height: 50px !important;
max-height: 50px !important;
}

.termintable tr td[column='status'], .freeseats, .nofreeseats, .lowfreeseats, .toolate, .kursvorbei {
width: 108px !important;
max-width: 110px;
}

 .freeseats div, .toolate div, .kursvorbei div {
margin: 1% 0 0 0 !important; 
  } 

  .statustext {
 line-height: 1.7 !important;   
  }

.termintable tr td[column='kursort'] {
width: 108px !important;
max-width: 110px;
font-size: 0.8em;
padding: 0 !important;

}

.kursdatum {
  font-size: 0.8em !important;
  line-height: 1.2;
}

.termintable tbody tr td {
padding: 0px 2px 0px 2px !important;  
}

.reservationbutton {

min-width: 100px !important;
font-size: 0.8em !important;  
}

#separatekursortmap {
margin: 15px 0 30px 0 !important; 
padding: 0; 
}

.kursorttext {
margin: 10px 0 10px 0; 
}

.datepicker-here {
font-size: 0.8em;
}

.sortiertekursorte table tbody tr td {
line-height: 14px !important;  
}

.datumdetails {
font-size: 0.75em !important;  
}

.statustext {
font-size: 0.8em !important;  
}

.sortiertekursorte table tbody {
  font-size: 0.8em !important;
  line-height: 1.4;
}

.kursfinderinhalt {
  text-align: left !important;
}

}

@media (max-width: 767px) and (min-width: 590px) {
h2 {
  font-size: 20px;
}

.autocomplete {
width: auto;  
}

.autocomplete-items {
width: 96% !important;
left: 19px !important;  
}

.text-center {
padding-left: 0 !important;  
}

#separatekursortmap {
margin: 35px 0 0 0 !important; 
}

.row {
  margin: 0;
}

.kursorttext {
margin: 10px 0 10px 0; 
}

.kursfinderinhalt div {
  display: inline-block;
}

.kursfinderinhalt div .pricemerged {
display: none;  
}

.kursfinderleftbar {
width: 100% !important;  
}

.kursfindermap {
width: 45% !important; 
height: 261px !important; 
}

.sortiertekursorte {
margin-left: 3% !important;
width: 45% !important;  
font-size: 2vw;
}

.kursresults {
display: block !important; 
width: 94% !important;
margin: 20px auto !important;
}

.termintable tr td[column='status'], .freeseats, .nofreeseats, .lowfreeseats, .toolate, .kursvorbei {
width: 128px !important;
max-width: 130px;
font-size: 1em !important;
padding: 0 !important;
}

.statustext {
margin-top: 6px !important;  
}


.datumdetails {
font-size: 0.75em !important;  
}

.reservationbutton {
font-size: 1.2em !important;  
}

}

@media (max-width: 650px) and (min-width: 590px) {
.sortiertekursorte table tbody tr td {
line-height: 5px !important;  
}

.autocomplete-items {
width: 96% !important;
left: 19px !important;  
}

.kursort {
  font-size: 0.9em !important;
}

.kursdatum {
font-size: 0.9em !important; 
}

.distance {
  line-height: 2.5 !important;
}

.sortiertekursorte table tbody { 
font-size: 0.9em !important;
}


}

@media (max-width: 590px) and (min-width: 430px) {

input {
  font-size: 0.8em !important;
}

.autocomplete-items {
width: 135% !important;
left: 15px !important;  
}

#locationbutton {
  padding: 5px !important;
}

h2 {
  font-size: 20px;
}


.kursfindermap, .sortiertekursorte {
display: none;  
}

.mobilecolumn {
  display: table-cell;
}

.unmobilecolumn {
display: none !important;  
}

.mobilekursort {
  display: inline-block !important;
text-decoration: none;
font-size: 1.7em !important;
color: #000;

}

.mobiletoggle {
display: block !important;
}

.autocomplete {
width: 40%; 
min-width: 100px; 
}

.calendarbackground { 
 width: 100px !important; 
}

.text-center {
padding-left: 0 !important;  
}

#separatekursortmap {
margin: 35px 0 0 0 !important; 
}

.row {
  margin: 0;
}

.kursorttext {
margin: 10px 0 10px 0; 
}


.kursresults {
display: block !important; 
width: 94% !important;
margin: 20px auto !important;
}

.kursfinderleftbar {
width: 100% !important;  
margin: 0;
}


.kursfindermap {
width: 94% !important; 
height: 370px !important; 
}

#map {
margin: 0 auto !important;
}

.sortiertekursorte table tbody tr td input {
  zoom: 3 !important;
}

.sortiertekursorte {
margin: 0 auto;
width: 85% !important;  
font-size: 2vw !important;
}

.kursresults {
display: block !important; 
width: 94% !important;
margin: 20px auto !important; }

.gpsarrow {
  line-height: 2.1 !important;
}

.distance {
  line-height: 3.3 !important;
}

.termintable tbody tr td {
height: 120px !important;
}

.kursort {
  font-size: 0.8em !important;
  min-width: 80px !important;
}

.termintable tbody tr td:nth-of-type(3) {
  min-width: 75px !important;
}

.kursdatum {
font-size: 1.2em !important; 
}

.freeseats, .nofreeseats, .lowfreeseats, .toolate, .kursvorbei { 
padding: 0 3% 2% 3% !important;
font-size: 0.8em !important;
width: 125px !important;
height: 25% !important;
margin: 10px auto 0 !important;
}

.statustext {
  font-size: 1.4em !important;
}

.datumdetails {
font-size: 0.85em !important;  
}

.reservationbutton {
font-size: 1.3em !important;  
}


.reservationbutton a {
  max-width: 120px;
}

.termintable tr td[column='price']  {
display: none;
}

.pricemerged {
  display: block;
}

.reservationbutton {
height: 60% !important;
padding: 7px 0 0 0 !important; 
}

.footertext {
font-size: 2em !important;
}


}

@media (max-width: 429px) {

input {
  font-size: 0.8em !important;
  margin: 0 !important;

}

.autocomplete-items {
width: 135% !important;
left: 15px !important;  
}

#locationbutton {
  padding: 5px !important;
}

.unmobilesearch {
  display: none !important;
}

.mobilesearch {
  display: inline-block !important;
vertical-align: top;
}


h2 {
  font-size: 20px;
}


.kursfindermap, .sortiertekursorte {
display: none;  
}

.mobiletoggle label {
font-size: 1em !important;

}

.mobilecolumn {
  display: table-cell;
}

.unmobilecolumn {
display: none !important;  
}

.mobilekursort {
  display: inline-block !important;
text-decoration: none;
font-size: 1.7em !important;
color: #000;

}

.mobiletoggle {
display: block !important;
}

.autocomplete {
width: 40%; 
min-width: 100px; 
}

.calendarbackground { 
 width: 100px !important; 
}

.text-center {
padding-left: 0 !important;  
}

#separatekursortmap {
margin: 35px 0 0 0 !important; 
}

.row {
  margin: 0;
}

.kursorttext {
margin: 10px 0 10px 0;
font-size: 1em !important; 
}

.mobiletoggle label {
margin: 0px 15px 10px 15px !important;  
padding: 20px 0px 20px 0px !important;
width: 35% !important;
}


.kursresults {
display: block !important; 
width: 94% !important;
margin: 20px auto !important;
}

.kursfinderleftbar {
width: 100% !important;  
margin: 0;
}

.kursfindermap {
width: 94% !important; 
height: 370px !important; 
}

#map {
margin: 0 auto !important;
}

.sortiertekursorte table tbody tr td input {
  zoom: 3 !important;
  margin-top: 2px !important;
}

.sortiertekursorte table tbody {
  font-size: 0.9;
}

.sortiertekursorte {
margin: 0 auto;
width: 95% !important;  
}

.kursresults {
display: block !important; 
width: 97% !important;
margin: 20px auto !important;
 }

.termintable {
  font-size: calc(0.50em + 1.5vw) !important;
}

.gpsarrow {
  line-height: 2.1 !important;
}

.distance {
  line-height: 3.3 !important;
}

.termintable tbody tr td {
height: 120px !important;
}

.kursort {
  font-size: 0.8em !important;
  min-width: 80px !important;
}

.termintable tbody tr td:nth-of-type(3) {
  min-width: 50px !important;
  max-width: 80px !important;
}

.kursdatum {
font-size: 1.2em !important; 
}

.freeseats, .nofreeseats, .lowfreeseats, .toolate, .kursvorbei { 
padding: 0 1% 2% 1% !important;
font-size: 0.8em !important;
width: 110px !important;
height: 25% !important;
margin: 10px auto 0 !important;
}

.statustext {
  font-size: 1.4em !important;
}

.datumdetails {
font-size: 0.85em !important;  
}

.reservationbutton {
font-size: 1.2em !important;  
min-width: 98px !important;
}


.reservationbutton a {
  max-width: 120px;
}

.termintable tr td[column='price']  {
display: none;
}

.pricemerged {
  display: block;
}

.reservationbutton {
height: 40% !important;
padding: 3px 0 0 0 !important; 
}

.footertext {
font-size: 2em !important;
}


}

.mobiletoggle {
  text-align: center;
}

.mobiletoggle label {
font-family: 'Helvetica Neue Light';
font-weight: 100;
background: rgba(245,127,23, 0.7);
margin: 10px 30px 10px 30px;
border: 1px solid #f57f17;
display: inline-block;
width: 30%;
padding: 15px 0 15px 0;
    position: relative;
    text-align: center;
    transition: background 600ms ease, color 600ms ease;
    font-size: 1.35em; 
    border-radius: 3px; 
}

.mobiletoggle input[type="radio"].toggle {
   display: none;
}

 .mobiletoggle input[type="radio"].toggle + label {
   cursor: pointer;
}

 .mobiletoggle input[type="radio"]:hover {
   background: none;
   color: #1a1a1a;
}

 .mobiletoggle input[type="radio"]:checked + label:after {
   background: rgba(245,127,23, 1) !important;
   border: 3px solid #404B61 !important;
   color: #fff;
   content: "";
   height: 100%;
   width: 100%;
   transition: left 200ms cubic-bezier(0.77, 0, 0.175, 1);
   width: 100%;
   z-index: -5;
   position: absolute;
   left: 0;
   top: 0;
}


 .mobiletoggle input[type="radio"]:hover + label:hover {
background: rgba(245,127,23, 0.2);
color: #404040;
 }

  .mobiletoggle input[type="radio"].toggle:checked + label {
font-family: 'Helvetica Neue Light';
font-weight: 100;
cursor: default;
color: #fff;
text-shadow: 1px 1px 2px #404040; 
transition: color 200ms;
border: 1px solid #404B61 !important;
}

.gpsarrow {
  line-height: 1.3;
}

.kursfinderleftbar {
width: 35%;  
}

.kursfindermap {
border: 2px solid black; 
margin: 20px 0 0 10px; 
height: 300px; 
width: 100%; 
text-align: left;

}

.sortiertekursorte {
border: 1px solid black;
width: 100%;
}

.sortiertekursorte table {
width: 100%;
}

.sortiertekursorte table thead {

font-size: 1.1em;
color: black;
 background: #F57F17;
  background: -moz-linear-gradient(top, #F57F17 0%, #F9A825 66%, #FBC02D 100%);
  background: -webkit-linear-gradient(top, #F57F17 0%, #F9A825 66%, #FBC02D 100%);
  background: linear-gradient(to bottom, #F57F17 0%, #F9A825 66%, #FBC02D 100%);
  border-bottom: 1px solid #444444;
}

.sortiertekursorte table thead tr th{
padding: 5px;  
}

.sortiertekursorte table tbody {
font-size: 1em;  
}

.sortiertekursorte table tbody tr, .sortiertekursorte table tbody tr td{
  line-height: 20px;
  text-align: left;
  padding: 0px 7px 0px 7px;
}

.sortiertekursorte table tr:nth-child(even) {
background-color: rgba(245,127,23, 0.2);
}

.sortiertekursorte table tbody tr td:nth-of-type(2) {
text-align: right;
}

.sortiertekursorte table tbody tr td input {
zoom: 1.9;
line-height: 1.0;
margin-top: 2px;
}

.block {
display: block !important;
}

.distance {
 font-family: 'Helvetica Neue Light'; 
line-height: 2.0;
vertical-align: top;  
}

.distancetokursort {
font-size: 0.7em;
   font-family: 'Helvetica Neue Light'; 
   line-height: 1.0;
}

.kursresults {
width: 60%;
}


.termintable {
border-collapse: collapse !important; 
border: 2px solid #000;
width: 100%;
}

.termintable th {
font-size: 1.2em;
background: -moz-linear-gradient(top, #F57F17 0%, #F9A825 66%, #FBC02D 100%);
  background: -webkit-linear-gradient(top, #F57F17 0%, #F9A825 66%, #FBC02D 100%);
  background: linear-gradient(to bottom, #F57F17 0%, #F9A825 66%, #FBC02D 100%);
padding: 5px;
}

.kursortrow {
display: none;  
}

.oddcolor {
  background-color: rgba(255,255,255, 1);
}

.evencolor {
  background-color: rgba(245,127,23, 0.2);
}

.termintable tbody tr td {
height: 70px;
max-height: 50px;
font-size: calc(0.65em + 0.4vw);
}

.termintable tbody tr td {
padding: 0px 5px 0px 5px;  
}

.termintable tbody tr td:nth-of-type(3) {
min-width: 125px;
}


.termintable, table.termintable th, table.termintable tr {
text-align: center;
color: black;
}

.kursort, .kursdatum {
font-family: 'Helvetica Neue Bold';
}

.kursdatum {
max-width: 120px;  
}
.kursort {
min-width: 130px;
}

.freeseats {
padding: 0 0 0 0;
font-weight: 500; 
border-radius: 20px;
border: 1px solid #000;
height: 50%;
margin: 0 auto;
background-color: rgba(0,128,0,1);
color: #fff;
white-space: nowrap;
  }

 .statusimage {
 margin-top: 3%;  
 } 

 .statustext {
vertical-align: top;
margin-top: 5px;  
 }
  
.lowfreeseats {
padding: 2% 0 0 0;
font-weight: 500; 
border-radius: 20px;
border: 1px solid #000;
width: 95%;
height: 40% !important;
margin: 0 auto;
background-color: rgba(255,128,0, 0.8);
color: #fff;
white-space: nowrap;  
  }
  
.nofreeseats {
padding: 4% 0 0 0;
font-weight: 500; 
border-radius: 20px;
border: 1px solid #000;
width: 95%;
height: 50%;
margin: 0 auto;
background-color: rgba(179,0,0, 0.8);
color: #fff;  
width: 100%;
  } 
 


.freeseats div, .toolate div, .kursvorbei div {
display: inline-block;  
}

.statustext {
font-size: calc(0.3em + 0.7vw);
} 

.lowseatstext {
font-size: calc(0.3em + 0.5vw);
}

.noseatstext {
font-size: calc(0.3em + 0.5vw);
}
  
.lowfreeseats div {
display: inline-block;
margin: 0 0 0 0;  
}

.toolate {
padding: 0 0 0 0;
font-weight: 500; 
border-radius: 20px;
border: 1px solid #000;
width: 95%;
height: 80%;
margin: 0 auto;
background-color: rgba(255,128,0, 0.8);
color: #fff;  
  }         

.kursvorbei {
padding: 0 0 0 0;
font-weight: 500; 
border-radius: 20px;
border: 1px solid #000;
width: 95%;
height: 50%;
margin: 0 auto;
background-color: rgba(255,128,0, 0.8);
color: #fff;
  } 
    
.actual {
display: block !important;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);  
  } 
    
.reservationbutton  {
font-family: 'Arial';
font-size: 1em;
background: #ab5407;
border-radius: 8px;
width: 90%;
height: 80%;
min-width: 130px;
margin: 0 auto !important;
cursor: pointer;
border: 1px solid black;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  } 

.reservationbuttoninactive  { 
font-size: 0.9em;
}  

  
.inactive {
display: none;  
  }
  
.reservationbutton a {
font-weight: 100;
border-radius: 8px;
color: #e6e6e6; 
transition: all 0.2s;
vertical-align: middle;
text-align: center;
line-height: 1.3;

  } 
  
.reservationbutton:hover > a  { 
background-color: #7a3c05;
text-decoration: none;
color: #fff !important;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.price {
display: block;
}



.calendarbackground {
background: url('/img/calendar.png') no-repeat;
background-size: 17%;
background-position-x: 95%;
background-position-y: center;
background-color: #f1f1f1;
width: 130px;
}

.mobilesearch {
background: url('/img/searchicon.png') no-repeat;
background-size: 55%;
background-position-x: 50%;
background-position-y: center;
background-color: #f1f1f1;
width: 40px;
}

#loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background-color: rgba(192, 192, 192, 0.5);
  background-image: url("/img/loading.gif");
  background-repeat: no-repeat;
  background-position: center;
}
