/* Logo und MainNav */
#top div #header_main .logo {
    width: auto;
	display: table;
   /*  margin: 0 auto; */
    float: none;
	position: relative;
    z-index: 999;
}
.av-burger-overlay-active #top div #header_main .logo {
	z-index: 1;
}
#top div #header_main .main_menu {
	top: 0;
}


#mobil-leiste .av_one_fourth {
	width: 25% !important;
	float: left;
	padding: 0 15px;
	margin-bottom: 0px !important;
}

@media screen and (min-width:768px){
	.footer-right-unten {
		display:none;
	}
}

@media screen and (max-width:1190px) {
	#top div #header_main .main_menu {
		margin-top: 1px;
		background: white;
	}

	.av-burger-overlay {
		background: white;
	}
}

@media screen and (max-width:1280px){
	body#top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items {
		margin-left:35px;
		margin-right:35px;
	}
}

@media only screen and (max-width: 989px) and (min-width: 768px) {
	/* MainNav */
    #avia-menu li.av-burger-menu-main.menu-item-avia-special:before {
		left: -8px;
    }



}

/*
!* LangMenu *!
.av_minimal_header div#header_meta {
	right: calc(2.5% + 85px);
	!*bottom: 33%;*!
	top: 50%;
	height: 30px;
	margin-top: -15px;
}

#header_meta .container {
	padding: 0;
	margin: 0;
	max-width: 100%;
}
#header_meta .sub_menu {
    float: right;
	padding: 0;
}
#top .sub_menu > ul#avia2-menu {
    position: relative;
    top: auto;
	float: none;
    right: auto;
	width: 90px;
	margin-top: 9px;
}
*/

/* LangMenu */
@media only screen and (max-width: 767px) {

	#bildfrau .avia-content-slider-element-container {
	    max-width: 90%;
		margin: 0 auto;
	}

	#top #header_meta {
		padding-top:10px;
	}

	.av-burger-overlay-scroll {
		background:white;
	}

	#top .av-burger-overlay
	{
		-webkit-animation: fadeInFromNone 2ms ease-out;
		-moz-animation: fadeInFromNone 2ms ease-out;
		-o-animation: fadeInFromNone 2ms ease-out;
		animation: fadeInFromNone 2ms ease-out;
	}


	#slide-arrows {
		width: 50px;
	}

	.avia_textblock.av_inherit_color {
		padding-left: 10px;
		padding-right: 10px;
	}

	.responsive .logo svg {
		max-height: 60px;
		padding-left: 15px;
	}

	.av-burger-overlay-inner {
		background: white;
	}


	#social-footer-unten {
		width:50% !important;
	}

	#footer-wrapper .template-page.content.av-content-full.alpha.units {
		padding-top:25px !important;
	}

	div#social-footer-unten img {
		max-width: 50px;
		padding: 5px;
		margin-top: 20px;
	}

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

	.h2-big-color h2 {
		padding-top:15px !important;
	}
	
	#bildfrau .av-parallax {
		background-position: center center !important;
	}

/*	#bildfrau .avia-content-slider-inner {
		height:300px !important;
	}*/

	ul#avia2-menu li.lang-item-first:after {
		padding-right: 0px !important;
		margin-right: -5px; !important;
	}

	/*.av_minimal_header div#header_meta {*/
		/*right: auto;*/
		/*left: 7px;*/
	/*}*/
	.responsive #top #wrap_all .container {
		padding: 0;
		margin: 0;
		max-width: 100%;
		width: 100%;
	}
	.responsive #header .sub_menu {
		float: left;
		width: auto;
	}
	/*.responsive div#header_meta .sub_menu > ul#avia2-menu {*/
		/*font-size: 20px;*/
		/*width: 90px;*/
	/*}*/
	/*.responsive div#header_meta .sub_menu > ul#avia2-menu > li {*/
		/*padding: 0;*/
	/*}*/

	#top .sub_menu > ul#avia2-menu {
		position: relative;
		top: auto;
		float: none;
		right: auto;
		width: 90px;
		margin-top: 2px;
	}
}

@media only screen and (max-width: 1024px) {
	/* Font Sizes */


	body #footer-text a {
		font-size:29px;
	}

	html {
		font-size: 90%;
	}
	body .av-special-heading-h1 h1.av-special-heading-tag {
		margin-top: 13px !important;
	}
	
	#eks, #historie, #ziele, #projekt, #wer {
		margin-top: 25px !important;
	}
}
@media only screen and (max-width: 767px) {
	/* Font Sizes */

	#datenschutz-container h3 {
		line-height: inherit !important;
	}

	#datenschutz-container strong {
		line-height: inherit !important;
	}

	.phone-info a {
		display: block;
		line-height: 1.7;
	}

	.pum-content h2 {
		font-size:30px;
	}

/*	.avia-slideshow-dots {
		display:none !important;
	}*/

	#top .avia-content-slider-element-container .avia-slideshow-dots {
		bottom:20px !important;
	}


	#top .wer-wir-sind .av-flex-placeholder {
		width: 0px !important;
		display: none !important;
	}

	.post-entry-534 .first {
		padding-bottom:10px !important;
	}

	.wer-wir-sind .aktiv {
		padding: 30px 20px 30px 20px !important;
	}

	.wer-wir-sind .aktiv p {
		padding: 30px 20px 30px 20px !important;
		padding: 0 !important;
	}

	.wer-wir-sind h2 {
		max-width: 90% !important;
		margin: 0 auto !important;
	}

	body#top .wer-wir-sind .av_one_third {
		width: 95% !important;
		margin: 0 auto !important;
		margin-bottom: 10px !important;
	}

	a.avia-slideshow-button.avia-button.avia-color-light.avia-multi-slideshow-button {
		float:inherit !important;
		clear:inherit !important;
		margin: 5px auto !important;
		bottom: 20%;
	}

	.slide-1 h2.avia-caption-title {
		text-align: center;
		position: absolute;
		left: 0 !important;
		right: 0 !important;
		top: 20%;
		line-height: 67px;
		font-size: 45px !important;
	}

	.slide-2 h2.avia-caption-title {
		text-align: center;
		position: absolute;
		left: 0 !important;
		right: 0 !important;
		top: 20%;
		line-height: 67px;
		font-size: 45px !important;
	}

	.slide-3 h2.avia-caption-title {
		text-align: center;
		position: absolute;
		left: 0 !important;
		right: 0;
		top: 20%;
		line-height: 67px;
		font-size: 45px !important;
	}

	h2.avia-caption-title strong {
		font-size: 45px;
	}

	html {
		font-size: 80%;
	}
	body .av-special-heading-h1 h1.av-special-heading-tag {
		margin-top: 18px !important;
		margin-bottom: -20px;
	}
	
	/* Cookie Banner */
	body.admin-bar .avia-cookiemessage-top {
		margin-top: 0 !important;
	}
	
	/* Links */
	a {
    	word-break: break-all !important;
	}
	.fusslinks a {
    	word-break: normal !important;
	}

	body .av-special-heading-h1 h1.av-special-heading-tag {
		font-size:3.7rem !important;
	}

	div#footer-wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}

	#ueber-wer .av-parallax, #ueber-wer {
		background-attachment: inherit !important;
		max-height: 40vh;
	}
}

@media only screen and (max-width: 420px) {
	/* Font Sizes */



	html {
		font-size: 70%;
	}
	.avia_textblock p.wws2,
	.avia_textblock p.wws2 span {
		font-size: 1.2rem !important;
	}
	
	body .av-special-heading-h1 h1.av-special-heading-tag {
		margin-top: 28px !important;
		margin-bottom: -20px;
	}

	#eks, #historie, #ziele, #projekt, #wer {
		margin-top: 0px !important;
	}
}






