/**************************** Header ******************************************/

#pre-header-widget-1 {
  width: 30%;
}

#pre-header-widget-2 {
  width: 70%;
}

.site-branding img {
  width: 100%;
  height: 100%;
}

.site-branding a img {
  padding: 0px;
}

#widget-home .widget {
  margin: 0px;
}

/**************************** Navigation **************************************/

#site-navigation {
  width: 50%;
  margin-top: -1px;
}

.main-navigation li {
  width: 50%;
}

.main-navigation a, .wrapfixed a {
  line-height: 26px !important;
  height: 26px !important;
}

.sub-menu {
  display: none !important;
}

/******************************* Footer ***************************************/
#pre-header-widget-1, #widget-footer-1 {
  padding-left: 10px;
}

#pre-header-widget-2, #widget-footer-3 {
  padding-right: 10px;
}

/****************************** Hidden ****************************************/
.main-navigation ul ul ul {
  margin: 0px !important;
  padding: 0px !important;
  line-height: 0px !important;
  display: none !important;
  border: 0px;
}

/************************** Accordion Tabs ***********************************/

.tabs-menu {
  width: 100%;
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
}

.tab {
  width: 100%;
  float: none;
}

#site-navigation .toggle-ham-menu {
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  height: 60px !important;
  width: 60px !important;
  padding: .75rem;
}

.toggle-ham-menu:visited, .toggle-ham-menu:hover {
  color: transparent !important;
  background-color: transparent !important;
}

.toggle-ham-menu svg {
  width: 100%;
  height: 100%;
}

.menu-hauptnavigation-container {
  display: none;
}

.menu-hauptnavigation-container.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 79px;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #f7f8f9;
  padding: 2rem;
  -webkit-box-shadow: 0px 4px 10px -1px rgba(170,170,170,1);
  -moz-box-shadow: 0px 4px 10px -1px rgba(170,170,170,1);
  box-shadow: 0px 4px 10px -1px rgba(170,170,170,1);
}

.main-navigation a {
  border-right: none;
}

#content, h2.entry-title {
  padding: 0 4%;
}

#content_wrapper {
  width: 68%;
  float: left;
}

#content_wrapper .slideshow-window {
  background-color: transparent;
  border: 0px solid #222;
  border-radius: 10px;
  float: left;
  width: 50%;
  margin-right: 10px;
  margin-bottom: 0px;
  margin-top: 7px;
  padding-top: 0px !important;
  padding-bottom: 250px !important;
}

#side_wrapper {
  width: 30%;
  float: right;
  margin-top: 5px;
}

 #content{
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    #content_wrapper{
        width: 100% !important;
    }
    .swiper-gallery {
        float: none !important;
        padding-top: 15px;
        margin: 0 auto;
    }
    .swiper-slide{
        margin-right: 0 !important;
    }
@media (max-width: 650px) {
    .tabs-menu {
        width: 100% !important;
        float: none;
        clear: both;
        margin: 0  !important;
        padding-top: 15px  !important;
    }
    .tab{
        width: 100% !important;
        float: none;
        
    }
}

@media (max-width: 1000px) {
	.main-navigation #primary-menu .menu-item a {
		height: fit-content !important;
	}

  .site-content .flex-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
  }

  #widget-teaser-2 {
    width: 100%;
  }

  .sub-main-mobile,
  .sub-sub-mobile{
    width: 50%;
  }
}

#footer-menu {
  margin-top: 7px;
}

.entry-title {
  padding-left: 0 !important;
}

#entry-header .wrapper {
  margin-left: 7px;
}

.site-content .wrapper #side_wrapper {
  width: 100%;
  margin-top: 50px;
}

.entry-content ul li {
  text-align: left;
}

.img-slider{
  display: flex;
  justify-content: center;
  width: 100%;
}

.effects.clearfix .img .overlay {
  height: 100% !important;
  background: rgba(0, 51, 102, 0.6) !important;
}

.effects.clearfix .img .close-overlay {
  display: none !important;
}

.effects.clearfix .img .overlay a {
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  left: 0 !important;
  margin: 0 !important;
  padding-top: 30px;
  font-size: 10pt;
}

.effects.clearfix .img img {
  width: 100% !important;
}