/*#header-searchform {
  float: right;
  margin: 0;
  margin-right: 66px;
}*/

#header-searchform input, #header-searchform_res input {
  border: 0;
  border-bottom: 2px solid #cca65a;
  width: 100%;
  line-height: normal;
}

#header-searchform form.search-form button, #header-searchform_res form.search-form button {
  background-color: transparent;
  color: #cca65a !important;
  font-size: 16px;
}

#header-searchform form.search-form button::before, #header-searchform_res form.search-form button::before {
  font-size: 36px !important;
}


/***/

#header-searchform, #header-searchform_res {
  position: absolute;
  right: 20px;
  top: -5px;
  width: 125px;
  transition: all 0.75s ease;
  transition-timing-function: cubic-bezier(0.5, 0, 0.15, 1.5);
}
#header-searchform_res {
    position: relative;
    top: 0;
}



#header-searchform.form-visible {
  visibility: visible;
  width: 300px;
}
 #header-searchform_res.form-visible {
  visibility: visible;
  width: 200px;
}

.main-navigation .menu-item-has-children > a:after {
  top: 0.45em;
}


/***************/

.Slider-Bottom-Overlay h3 {
  padding: 30px 50px 0px 50px;
  margin: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 500px;
}

@media only screen and (max-width: 1500px) {
  #menu-main>li>a {
    font-size: 12px;
  }
  .menu-item-has-children a:after, .social-navigation a:before, .dropdown-toggle:after, .bypostauthor>article .fn:after, .comment-reply-title small a:before, .pagination .prev:before, .pagination .next:before, .pagination .nav-links:before, .pagination .nav-links:after, .search-submit:before {
    font-size: 12px;
  }
  .home .ms-slide-info.ms-dir-h.ms-align-bottom {
    padding: 0;
  }
}

@media only screen and (max-width: 1400px) {
  .footer-wrapper {
    width: 100%;
    overflow: hidden;
  }
  .home .ms-slide-info.ms-dir-h.ms-align-bottom,
  .category-kulturmarkt .ms-slide-info.ms-dir-h.ms-align-bottom {
    width: 100%;
  }
     .ms-slide-info .gross {
    font-size: 40px;
  }
  .ms-slide-info p {
    font-size: 20px;
  }
}

@media only screen and (max-width: 910px) {
  img {
    width: 100% !important;
  }
  .entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
    margin: 0;
  }
  .Slider-Bottom-Overlay h3 {
    width: 100%;
    display: none;
  }
  .startseite-text, .page-id-169 .start_text {
    width: 100%;
    margin: auto;
  }
  article {
    padding: 0 40px;
      
  }
  .ms-slide-info .gross {
    font-size: 20px;
    font-weight: bold;
  }
  .ms-slide-info p {
    font-size: 16px;
    font-weight: normal;
  }
  .home .ms-slide-info.ms-dir-h.ms-align-bottom {
    top: 30%;
  }
  .ms-skin-default .ms-nav-next, .ms-skin-default .ms-nav-prev {
    display: none;
  }
    #menu-main>li {
        text-align: left;
    }
  #menu-main>li>a {
    font-size: 15px;
  }
  .single-post .blogtitelbild, .category .blogtitelbild, .page-id-169 .blogtitelbild, .page .bannerbild.blogtitelbild, .page-template-kalender-php .blogtitelbild {
    margin-top: 0;
  }
    .ressuche, .ressuche #header-searchform_res {
        display: block;
    }
    #site-header-menu #header-searchform, #site-header-menu #head-line-search {
       display: none !important; 
    }
    .footer-wrapper.min.sp2 {
        padding-top: 68px;
    }
}
