* {
  box-sizing: border-box;
}

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

}

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

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

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

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: 15px;
  right: 0;
  max-height: 300px;
  overflow: auto;
  color: #000;
}

.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, .mobilemainsearch {
  display: none;
}

#locationform1 {
  text-align: left;
  margin-bottom: 15px;
}

#myInput1 {
  width: 330px;
  color: #000;
}

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


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

#locationform3 {
    margin-bottom: 20px; 
}

.fa, .far, .fas {
    font-family: "Font Awesome 5 Free"; 
  }

.fa, .fas {
    font-weight: 900;
}

.fa, .fab, .fad, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

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

.mobilesearch {
  display: none;
}

@media (max-width: 1200px) {
#locationform1 {
  margin-bottom: 5px;
    margin-top: -15px;
}
}


@media (max-width: 1000px) {

#myInput1 {
  width: 230px;
}

.autocomplete {
   width: 275px;
   vertical-align: top;
}

}


@media (max-width: 720px) {

.unmobilemainsearch {
  display: none;
}

.mobilemainsearch {
  display: inline-block !important;
}

}



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

.autocomplete {
   width: 260px;
}

}

@media (max-width: 590px) {

#locationform1 {
  text-align: center;
  margin-bottom: 0;
     margin-bottom: 35px;
    margin-top: -5px;
}

.autocomplete-items {
  left: 0 !important;
}

#myInput1 {
font-size: 0.99em;
height: 43px;  
}

}




@media (max-width: 459px) and (min-width: 430px) { 
#myInput {
width: 220px !important;  
}

#myInput1 {
width: 220px !important;  
}

#myInput2 {
width: 220px !important;  
}

#myInput3 {
width: 220px !important;  
}

.unmobilesearch {
  display: none !important;
}

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




@media (max-width: 429px) { 

#myInput {
width: 180px !important;
font-size: 0.8em !important;  
line-height: 1.8;
}

#myInput1 {
width: 220px !important;  
}

#myInput2 {
width: 85% !important;
font-size: 0.9em !important;  
}

#myInput3 {
width: 220px !important;  
}

.autocomplete {
  width: 75% !important;
  text-align: left !important;
}

#locationform2 {
  width: 100% !important;
}


.unmobilesearch {
  display: none !important;
}

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

}

#myInput, #myInput2, #myInput3 {
width: 240px;  
}

#myInput3 {
  background-color: #fff;
}


