html, body {
  margin: 0;
  height: 100%;
}

.searchbar {
  background: var(--weiss);
  margin: 3rem 0 1rem 0;

}
#search {
  flex: 0 1 auto;
  display: none;
  align: flex-end;
  justify-content: end;
  padding: 1rem;
  align-items: center;
}
#search input{
  height: 5rem;
  margin-right: 2rem;
  border: none;
  border-bottom: solid var(--hauptfarbe) 0.2rem;
  outline: none !important;
  padding-left: 1rem;
  font-size: 2rem;
}

#search input:focus{
  outline: none !important;
  border-bottom: solid var(--akzent1)  0.3rem;
}

#search button{
  border: none;
  background: var(--hauptfarbe);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../icons/search.svg");
  background-size: 60%;
}
#search button:hover, #search button:focus{
  background: var(--akzent1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../icons/search.svg");
  background-size: 60%;
}

#mainFrame {
  flex: 1 1 auto;
  border: none;
}
.box {
  display: flex;
  flex-flow: column;
  height: 100%;
}

#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 400;
  background: rgba(0, 0, 0, 0.5);

}
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border: 6px solid var(--akzent3); /* Light grey */
  border-top: 6px solid var(--hauptfarbe);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
  }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.no-results {
  display: none;
  text-align: center;
  margin: 6rem 0 0 0;
}

.return {
  font-size: 2rem;
  cursor: pointer;
  text-align: center;
  margin: 6rem 0 0 0;
  padding-bottom: 3rem;
}

.search-results {
  display: flex;
  flex-flow: column;
}

.search-result {
  cursor: pointer;
  overflow: hidden;
  margin: 1rem 0 1rem 0;
  padding: 0 1rem 1rem 2rem;
  display: flex;
  flex-flow: column;
}

.search-result:hover {
  background: var(--akzent3)
}

.search-result-title {
  color: var(--akzent1);
}

.search-result-breadcrumb {
  font-size: 1.2rem;
  padding: 0.4rem 0 1rem 0;
}


.logo{
    width: 300px;
    float: left;
}


.footerBar {
    border-top: 1px solid #333;
    padding: 20px;
}

.footerText, .footerText:hover, .footerText:focus{
    color: #333;
    text-decoration: none;
    font-weight: 300;
    margin: 10px;
    float: left; 
}

.social-media {
  float: right;
  margin: 5px;
  width: 40px;
  font-size: 26px !important;
  text-align: center;
  text-decoration: none;
}


.fa-facebook, .fa-facebook:hover, .fa-facebook:focus{
    background-color: white;
    color: #6d6e6d;
}

.fa-youtube, .fa-youtube:hover, .fa-youtube:focus {
    background-color: white;
    color: #6d6e6d;
}

.fa-instagram, .fa-instagram:hover, .fa-instagram:focus{
    background-color: white;
    color: #6d6e6d;
}

.nav-titles {
    margin: 30px 10px 30px 10px;
    font-size: 17px;
    text-decoration: none !important;
}

.nav-titles:hover{
    text-decoration: none;
}

#prev1, #prev2 {
    float: left;
}

#next1, #next2 {
    float: right;
    text-align: right;
}


.nav-but{
    margin: 20px;
    width: 40px;
    height: 40px;
    background-color: white;
    color: #91b016;
    font-size: 25px;
    font-weight: 800;
    border-style: none;
}


#prevBut1, #prevBut2{
    float: left;
    margin-right: 0px;
}

#nextBut1, #nextBut2{
    float:right;
    margin-left: 0px;
}



@media (max-width: 991px){
    .nav-titles{
        text-overflow: hidden;
        max-width: 230px;
    }
}

@media (max-width: 1199px){
    .nav-titles{
     max-width: 350px;
     text-overflow: hidden;
    }
}


@media (max-width: 767px){
    .nav-titles{
        display: none;
    }
    .nav-but{
        border: 1px solid #5c8c29;
        border-radius: 10%;
        display: block;
        padding-bottom: 5px;
    }
    #bot-nav{
    width:100%;
    }
    
    .logo{
        width: 250px;
    }
        #search input {
        width: 180px;
    }
       .footerText, .footerText:hover, .footerText:focus{
        font-size: 16px;
        margin-left: 5px;
        margin-right: 5px;
    }
        .social-media{
        float: left;
        margin-top: 10px;
    }
}

@media (max-width: 556px){
    .footerBar{
        padding-left: 0px;
        padding-right: 0px;
    }
        .flex-container {
        display: flex;
        flex-direction: column;
    }

    
        #search input {
        height: 3.5rem !important;
        font-size: 1.8rem !important;
        width: 80%;
    }
    .container-fluid{
        padding-top: 0px;
    }
        .logo{
        margin: 0px auto 30px auto;
        width: 60%;
        max-width: 250px;
    }
}



