/* alfotec MOBILE CSS 
===========================

/*Responsive Starts here*/
@media only screen and ( max-width : 1600px){
	#header_main_alternate .avia_mega_div{left:calc(100% - 625px) !important;}
}
@media only screen and ( max-width : 1440px){
	#top .product_description{justify-content:space-between;}
	#top .product_description .av_one_half.first{
		width:100%;
		position:relative;
	}
	#top .product_description .av_one_half:not(.first){
		width:100%;
		margin-left:0px;
		margin-top:20px;
		position:relative;
		display: flex;
		flex-direction: column;
	}
	#top .product_description .wrapper-prdinquiry{float:right;}
	#top .product_description .av_one_half .avia-button-wrap{float:right;}
	#top .term-filter li{flex-basis: calc(33.33% - 18px);}
	#top .term-filter li:nth-child(5), #top .term-filter li:nth-child(8) {
		flex-basis: calc(50% - 18px);
	}
	#top .term-filter li:nth-child(1) { order: 1;}
	#top .term-filter li:nth-child(2) { order: 2;}
	#top .term-filter li:nth-child(3) { order: 3;}
	#top .term-filter li:nth-child(4) { order: 5;}
	#top .term-filter li:nth-child(5) { order: 7;}
	#top .term-filter li:nth-child(6) { order: 6;}
	#top .term-filter li:nth-child(7) { order: 5;}
	#top .term-filter li:nth-child(8) { order: 8;}
		
	
}
@media only screen and ( max-width : 1280px){

	#header_main_alternate .avia_mega_div{left:calc(100% - 550px) !important;}
	/*Forderelemente*/
	#top .product-filter-section .av_one_fifth{
		width:100%;
		margin:0px;
		margin-bottom:40px;
		text-align:center;
	}
	#top .product-filter-section .av_four_fifth{
		width:100%;
		margin:0px;
	}
	
	
	#top #produkt-navigation .avia-button-wrap {
		display: inline-block;
		margin-top:0px;
	}
	#top .kategorien-child ul, #top .product-list {justify-content:space-between;}
	#top .kategorien-child ul li,
	#top .product-list .product-entry{
		flex-basis: calc(1/2*100% - (1 - 1/2)*40px);
		margin-top: 0;
		
	}
	#top .kategorien-child ul li.first{margin-left:40px;}
	#top .product-list li.product-entry:first-child{margin-left:0px;}
	#top .product-list li.product-entry{margin-bottom:40px;}
	#top .product-list li.product-entry:nth-child(2n+1){margin-left:0px;}
	#top .kategorien-child ul li:nth-child(2n+1){margin-left:0px;}
	/*single product page*/
	#top .product_description  .av_one_half{width:100%;	}
	#top .product_description  .av_one_half:not(.first){
		margin-top:20px;
		position:relative;
	}
	#top .product_description .wrapper-prdinquiry{
		float:right;	
		display:block;
	}
	#top .product_description .av_one_half .avia-button-wrap{
		float:right;
		display:block;
		float:none;
	}
	#top .product_description .av_one_half .avia-button{float:right;}
	/*Contact Form*/
	#top .contact-form-section  .contactform-wrapper .col{
		width:100%;
	}
	#top .infoblock .avia-font-alfotec_leistungsspektrum{
		margin: 0 auto;
		float: none;
	}
	#top .infoblock .iconlist_content_wrap{
		clear: both;
		text-align: center;
	}

}


/*Screens below 1024px | IPAD
==============================*/
@media only screen and ( max-width : 1024px){
	
	.html_header_top.html_header_sticky #header{position:relative;}
	.html_header_top.html_header_sticky #top #wrap_all #main{padding-top:0px !important;}
	/*Enable Burger Menu
	=====================*/
	#top .av-burger-menu-main { 
		display: block!important;
		float:right !important;	
		right:0;
		margin-top:0px;
	}
	#top .av-burger-menu-main.menu-item-avia-special > a{padding-right:0px;}
	#top #av-burger-menu-ul{
		vertical-align:top !important;
		padding-top:60px !important;
	}
	#top .sub-menu{	padding-top:0px;}
	#top #av-burger-menu-ul .sub-menu{width:auto;}
	/**********Burger Styling***************/
	.av-burger-menu-main span.is-active{
		position: absolute;
		right: 0;
		margin-top: 0px;
		margin-right: -10px;
		-webkit-transition: all .25s ease-in-out;
		-moz-transition: all .25s ease-in-out;
		-o-transition: all .25s ease-in-out;
		transition: all .25s ease-in-out;
	}
	#header .av-main-nav li :hover{	background:transparent;}
	#top .av-inserted-main-menu .av-hamburger-box .av-hamburger-inner {	background-color: #b4b4b4 !important;}
	#top .av-inserted-main-menu.is-active .av-hamburger-box .av-hamburger-inner {background-color: black !important;}
	#top .avia-menu.av_menu_icon_beside{
		float:right;
		padding:0;
		margin:0;
	}
	.responsive #top #wrap_all .av_mobile_menu_tablet .main_menu{height:auto;}
	#top .sub-menu{padding-bottom:0px;}
	
	#top .menu-item-avia-special{background:transparent !important;}
	
	/*menu styling*/
	#top #header .avia-menu li > .sub-menu li::before{display:none;}
	.html_av-submenu-hidden .av-submenu-indicator{	padding:0px;}
	#top #av-burger-menu-ul ul.sub-menu .av-show-submenu li:last-child{	border-bottom:0px;}	
	
	/*hide sticky on tablet*/
	.responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item{display:none;}
	#header_main_alternate{	display:none;}
	.responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
		top: 0;
		left: auto;
		right: 0;
		display: block;
	}
	#top #wrap_all #header_main .main_menu .social_bookmarks{display:none !important;}

	/*header icon and search area*/
	.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container{
		height:160px;
		z-index:-999;
	}
	#top #wrap_all #header_main .social_bookmarks{
		display:block;
		top:initial;
		bottom:30px;
		z-index:1;
		right: 0px;
	}
	#top .av-language-switch-item{display:none;	}
	
	/*search behind active burger menu*/
	.responsive .logo{height:100px;	}
	.html_bottom_nav_header #top .av-logo-container .header_search{
		z-index:-99;
		top:initial;
		bottom:30px;
		right:0;
		right:initial;
		z-index:1;
	}
	/*Global classes*/
	#top .custom-ordered-list li{
		overflow: overlay;
		position:relative;
	}
	#top .custom-ordered-list li span{
		width: calc(100% - 60px);
		float: right;
		display: inline-block;
		margin-top:-10px;
	}
	
	/*Homepage*/
	#top #project-slider{background-position-x:-750px;	}
	/*Forderelemente*/
	#top .term-filter li{
		flex-basis:calc(33.3% - 18px);
		text-align:center;
		text-transform:uppercase;
		min-width:200px;
		line-height:1.1;
	}
	#top .term-filter li:nth-child(5),
	#top .term-filter li:nth-child(8) {	flex-basis: calc(50% - 18px);	}
	#top .term-filter li:nth-child(1) { order: 1; }
	#top .term-filter li:nth-child(2) { order: 2; }
	#top .term-filter li:nth-child(3) { order: 3; }
	#top .term-filter li:nth-child(4) { order: 4; }
	#top .term-filter li:nth-child(5) { order: 7; }
	#top .term-filter li:nth-child(6) { order: 6; }
	#top .term-filter li:nth-child(7) { order: 5; }
	#top .term-filter li:nth-child(8) { order: 8; }
	#top.term-57 .term-filter li{flex-basis: calc(50% - 20px);}
	#top .kategorien-child ul{
		flex-wrap:wrap;
		justify-content:space-between;
	}
	#top .product-list .product-entry{
		flex-basis: calc(1/2*100% - (1 - 1/2)*40px);
		margin-top: 0;
	}
	#top .kategorien-child ul li a.permalink .secondary_image{
		position:relative !important;
		display:none;
		transition:none;
		opacity:1
	}
	#top .kategorien-child ul li a.permalink:hover .secondary_image{display:block;}
	#top .kategorien-child ul li a.permalink:hover .featured_image{	display:none;}
	#top .kategorien-child ul li .featured_image{transition:none;}
	
		/*Pixel Content Slider*/
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry{flex-wrap: wrap !important;}
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry .image-wrapper{
		margin:0px;
		margin-bottom:20px;
		flex-basis:100%;
	}
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry .content-wrapper{
		margin:0px;
		flex-basis:100%;
	}
	/*contact persons*/
	#top .contact-person-wrapper{
		width:100%;
		margin-left:0px;
	}
	#top .avia-builder-el-first + .contact-person-wrapper{margin-top:40px !important;}
	#top div.contact-person{
		width:100%;
		margin-left:0px;
		margin-bottom: 40px;
	}
	#top #wrap_all .main_color .person{	margin-bottom:0px;	}
	#top div.contact-person:last-child{	margin:0px;	}
	#top #wrap_all #karte .av_one_half{	width:65%;	}
	#top #wrap_all #karte .av_one_half{	
		width:60%;		
		margin-left:0px;
	}
	#top #wrap_all #karte .av_one_half.first{
		width:40%;	
		transform:scale(0.5);
	}
	#top .karte{
		width:484px;
		float: right;
		margin-top: -150px;
	}
	#top #wrap_all #karte .av_one_half:last-child{
		margin-top:0px;
	}
	#top .karte-section .content{
		padding-bottom:0px;
	}
	
	/*produkt single*/
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry .image-wrapper{
		flex-basis: calc(100% - 20px);
		margin-right: 20px;
	}
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry .image-wrapper img{margin:0 auto;	}
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry .content-wrapper{
		flex-basis: calc(100% - 20px);
		margin-left: 20px;
	}
	#top .product_description .av_one_half, #top .product_description .av_one_half.first{width:100%;}
	#top .product_description .av_one_half:not(.first) .avia-button{float:left;	}
	#top .product_description .av_one_half .avia-button-wrap{	float:right;}
	
	
		
	
	/*Product bottom navigation*/
	#produkt-navigation .flex_column{
		display:flex;
		flex-wrap:wrap;
		justify-content: center;		
	}

	#top #produkt-navigation .avia-button-wrap {margin-bottom: 0px;}
	#top #produkt-navigation .avia-button-wrap.avia-builder-el-last{margin-bottom:0px;}
	#top #produkt-navigation form{	margin-bottom: 0px;	}
	

	/*projects*/
	#top #wrap_all .all_colors .merkmale-single ul.clients{	padding:initial;}
	
	/*history*/
	#top #wrap_all .history-slider h3.slide-entry-title{
		display:flex;
		flex-wrap: nowrap;
	}
	#top #wrap_all .history-slider article .content-wrap h3 .year{
		height:40px;
		align-self: flex-start;
	}
	
	/*Contact Section*/
	#top .all_colors .contactform-wrapper .col .field.acceptance{
		minheight:40px;
	}
	#top .infoblock .avia-font-alfotec_leistungsspektrum{
		margin: 0 auto;
		float: none;
	}
	#top .infoblock .iconlist_content_wrap{
		clear: both;
		text-align: center;
	}
	#top .contactform-wrapper .col{
		width:100%;
	}
	#top:not(.page-id-1987) .contactform-wrapper .col:nth-child(1){order:2;}
	#top:not(.page-id-1987) .contactform-wrapper .col:nth-child(2){order:1;}
	#top:not(.page-id-1987) .contactform-wrapper .col:nth-child(3){order:3;}
	#top:not(.page-id-1987) .contactform-wrapper .col:nth-child(4){order:4;}
	#top .wpcf7-list-item{   transform: translateY(0px);    line-height: 40px; }
	/*Footer*/
	#footer .flex_column:nth-child(2) {
		width: calc(45% - 40px);
	}
	#footer .flex_column:last-child {
		width: calc(35% - 50px);
		margin-left:50px;
	}

	
}
@media only screen and ( max-width : 989px){
	
	/*Single Product page*/

	#top .product_description .av_one_half .avia-button-wrap{
		width:auto;
		float:right;
	}
	#top .product_description .av_one_half .wrapper-prdinquiry{
		float:right;
		margin-bottom:0px;
	}
	
	#top .product_description .av_one_half{
		width: calc(1/2*100% - (1 - 1/2)*40px);
		
	}
	#top .flex_column.product_description{margin-top:20px !important; }
	/*bottom product navigation*/
	#produkt-navigation .flex_column{
		margin-bottom:0px !important;
	}
	#top #produkt-navigation .avia-button-wrap{
		margin-left:0px;
	}
	#top .ht-table{
		overflow-x:auto !important;
	}
	

	
	

}

@media only screen and ( max-width : 768px){
	
	#top .content{
		padding-top: 40px;
		padding-bottom: 40px
	}
	#top .flex_column_table{padding-top:0px;}
	#top #wrap_all .all_colors h1 + h3{	margin-bottom:1rem;	}

	.responsive #top #wrap_all .av-logo-container{height:160px !important;	}
	#top #wrap_all #header_main .social_bookmarks, .html_bottom_nav_header #top .av-logo-container .header_search{
		height:40px;
		padding-top:10px;
	}
	#top #wrap_all #header_main .social_bookmarks{right:0;	}
	#top .all_colors .btn-project-section{bottom:0;	}
	.responsive #top #wrap_all .slide-entry {
		width: 100%;
		margin-left: 0px !important;
		margin-bottom: 40px !important;
		padding-bottom: 40px;
	}
	
	#top .all_colors .avia-content-slider.project-slider .more-link-arrow{margin-left:3rem !important;}
	.responsive #top #wrap_all .slide-entry.post-entry-last {margin-bottom:0px;}
	#top #wrap_all .all_colors .slide-content{height:auto;}

	.responsive #top #wrap_all .slide-entry{padding-bottom:0px;	}
	#top.home .avia-builder-el-last .content{padding-bottom:60px;}
	
	/*blog section*/
	#top .avia-content-slider .slide-entry-wrap{
		flex-flow:column;
		margin-left:0px;
	}
	.responsive #top #wrap_all .slide-entry{flex-shrink:0;	}
	.responsive #top #wrap_all .slide-entry.post-entry-last{margin-bottom:0px !important;}
	#top.page .avia-content-slider .slide-entry-wrap{margin-bottom:0px}

	/*home project slider*/
	#top #wrap_all .all_colors .avia-content-slider.project-slider .read-more-link{	left:0;	}
	#top .avia-content-slider.project-slider .avia-slideshow-arrows a.next-slide{right:20px;}
	
	/*Foderanlagen*/
	.avia-content-slider.pixel-project-archive .slide-entry-wrap{margin-bottom:0px;}
	#top #wrap_all .all_colors .merkmale-single ul.clients{
		padding: 20px;
		justify-content:space-between;
		align-items: center;
		
	}
	#top #wrap_all .all_colors .merkmale-single ul.clients li{
		flex-basis:calc(1/2*100% - (1 - 1/2)*40px);
		margin: 0 auto;
	}
	
	/*fordelemente*/
	#top .kategorien-child ul{margin-bottom:0px;}
	#top .kategorien-child > ul > li{
		margin-bottom:40px !important;
	}
	#top .kategorien-child ul li .tax_title{margin-top:0px;	}
	
	#top ul.product-list li:last-child{	margin-bottom:0px;}
	
	#top .product-list{	flex-flow: column wrap;	}
	#top .kategorien-child ul li{
		flex-basis:100%;
		margin:0px;
		margin-bottom:40px;
	}
	#top .kategorien-child  ul  li:last-child{margin-bottom:0px !important;}
	#top .kategorien-child {margin-bottom:0px !important;}
	#top .product-list .product-entry{
		width:100%;
		margin:0px;
		margin-bottom:40px;
	}
	#top .product-list .product-entry:last-child{margin-bottom:0px;}
	#top .product-list-wrapper br{display:none;}
	/*#top.single-alfotec_produkts #wrap_all .avia-gallery .avia-gallery-thumb a{widthcalc(50% - 13.33px);}
	#top.single-alfotec_produkts #wrap_all .product-gallery .avia-gallery .avia-gallery-thumb a{calc(width:25% - 13.33px);}
	*/
	#top .product_description .av_one_half .wrapper-prdinquiry {float:right;}
	#top .product_description  .av_one_half:not(.first){
		position:relative;
		width:100%;
	}

	#top .product_description .av_one_half .avia-button-wrap{float:left;}
	#top .product_description .av_one_half:not(.first) .avia-button{float:right;}
	#top .product_description .av_one_half  form{float:left;}
	
	/*history*/
	#top #wrap_all .history-slider h3.slide-entry-title{
		display:flex;
		flex-wrap: nowrap;
		margin-top: 20px;
	}

	.responsive #top #wrap_all .history-slider  .slide-entry{flex-wrap: wrap;}
	.responsive #top .history-slider article .image-wrap,
	.responsive #top .history-slider article .content-wrap{	
		width:100%;	
		margin-bottom:0px;

	}
	.responsive #top #wrap_all .history-slider .slide-entry{margin-bottom:0px !important;}
	.responsive #top .history-slider article .content-wrap{padding-left:0px;}
	.responsive #top .history-slider article .content-wrap h3 .year{
		height:40px;
		padding-top:0px;
		line-height:40px;
	}

	
	/*unternehmen*/
	#top #wrap_all .all_colors .unternehmen-wrapper h1 + h3{margin-bottom:0rem;}
	#top .all_colors .facts-figures .av_one_third{	border:0px;}
	#top .all_colors .facts-figures .av_one_third{margin-bottom:40px !important;}
	#top .all_colors .facts-figures .av_one_third:last-child{margin-bottom:0px !important; }
	#top #wrap_all #karte .av_one_half{
		width:100%;
		margin-left:0px;
	}

	/*Karte Unternehmen*/
	#top #wrap_all #karte .av_one_half.first{
		width: 100%;
		transform: scale(1);
	}
	#top .karte{
		margin-top:0px;
		float:none;
	}
	#top .karte-section .content{padding-bottom:70px;	}
	
	/*masonary*/
	.responsive #top .av-masonry-entry{
		width:100%;
		margin-left:0px;
	}
	
	/*kontakt formulare*/
	.contactform-wrapper{flex-flow: column wrap;}
	#top .contactform-wrapper .col{	width:100%;	}
	#top .contactform-wrapper .col .field {	width: 100% !important;	}
	#top .infoblock{
		margin-top:20px !important;
		margin-bottom:20px !important;
	}
	
	#top .infoblock .avia-font-alfotec_leistungsspektrum{
		margin: initial;
		margin-right:30px;
		float: left;
	}
	#top .infoblock .iconlist_content_wrap{
		clear: initial;
		text-align: left;
		float:left;
	}
	
	/*Footer*/
	#footer .flex_column:first-child{width: calc(35% - 20px);}
	#footer .flex_column:nth-child(2){
		width: calc(65% - 20px);
		margin-left: 40px;
	}
	#footer .flex_column:last-child{width:100%;	}
	

}
@media only screen and ( max-width : 989px){
	/*product green header*/
	.responsive #top.single-alfotec_produkts  #wrap_all .title-header .flex_column.av-break-at-tablet{
		margin-bottom:0px;
	}
	
	#top #produkt-navigation form{
		margin-right:40px;
		margin-right: 40px !important;
		margin-bottom: 20px !important;
	}
	#anchor-philosophie  ul.avia-icon-list li{width:100%;}
	#top .standort-summary{	margin-bottom:0px !important;}
	
	/*Kontakt*/
	#top .all_colors .contactform-wrapper .col .field.acceptance{
		height:auto;
	}
}

@media only screen and (max-width: 767px){
	#top .el_after_av_layerslider .content,
	#top.single-alfotec_produkts .avia-builder-el-first + .avia-section .content, 
	#top.tax-produkt_kategorien .avia-builder-el-first + .avia-section .content, 
	#top.single-post .avia-builder-el-first .content{
		padding-top: 20px ;
	}
	#top .main_color .breadcrumb{
		position:relative;
		top:initial;
		display: inline-block;
		margin-bottom: 20px;

	}
	#top .main_color .breadcrumb .breadcrumb-trail{	
		display: flex;
		flex-wrap: wrap;
	}

	.responsive .avia_responsive_table .avia-data-table td:before{
		font-size: 1rem;
		font-style: normal;
		font-weight: bold;
		text-align: left;
	}
	#top .all_colors .avia-table td,
	#top .all_colors .avia-table tr td:last-child{
		text-align: left;
	}
	#top #wrap_all .all_colors .title-header h2{font-size:2rem;	}
	#top #wrap_all .all_colors .title-header h2:before{
		font-size:2rem;
		line-height:2rem;
		vertical-align: middle;
		margin-top: 7px;
	}
	#socket .social_bookmarks{left:initial; right:0;}
	
	/*Unternehmen*/
	
	.responsive #top #wrap_all .history-slider .slide-entry{flex-direction: row-reverse;	}
	.responsive #top .history-slider article .content-wrap h3 .year{margin-bottom: 10px;}
	.responsive #top .history-slider  .avia-slideshow-controls a.next-slide, 
	.responsive #top .history-slider  .avia-slideshow-controls a.prev-slide{display:block !important;}
	/*foderelemente*/
	#top .term-filter li{flex-basis: calc(50% - 18px);}
	#top #wrap_all .all_colors .pixel-content-slider .slide-entry{	padding:0px;}
	.responsive #top .avia-slideshow-controls a { display:inline-block !important; }
	.responsive #top .avia-slideshow-controls a.next-slide,
	.responsive #top .avia-slideshow-controls a.prev-slide{
		display:none !important;
		opacity: 1;
	}
	
	#top.single-alfotec_produkts #wrap_all :not(.flex_column.product-gallery) .avia-gallery .avia-gallery-thumb a img{padding:10px;}
	
	.responsive #top #wrap_all .product-bottom-nav  .flex_column{margin-bottom:0px;}
	
	#top .product_description .av_one_half:not(.first){
		margin-bottom:0px !important;
	}
	#top .product_description .av_one_half:not(.first) .avia-button{float:right;}
	#top .product_description .av_one_half .wrapper-prdinquiry{
		margin-bottom:0px;
	}
	
	#top #wrap_all .all_colors .avia-gallery-thumb a{width: 50% !important;	}
	#top #wrap_all .product-gallery .avia-gallery .avia-gallery-thumb a{width: calc(25% - 10px) !important;}
	.responsive .avia_responsive_table .avia-data-table tr:first-child th{
		display:block;
	}
	/*home project slider*/
	#top .avia-content-slider.project-slider .avia-slideshow-arrows a.next-slide{display:block !important;}
	#top .es_subscription_form .es-field-wrap {	width: calc(100% - 50px);}

}


@media only screen and (max-width: 667px){
	
	.responsive #header_main .container{height:160px !important;}
	
	.responsive #top #header .social_bookmarks{
		display:block;
		bottom: 20px;
	}
	.responsive #top #header .main_menu .social_bookmarks{	display:none;}
	
	
	#top.home .content{
		padding-top: 60px;
		padding-bottom: 60px;
	}
	#top .trail-end{
		max-width: 250px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	

	/*unternehmen*/
	#top #wrap_all .history-slider h3.slide-entry-title{flex-wrap: wrap;}
	#top #wrap_all .history-slider h3.slide-entry-title{margin-top:0px;}
	#top #wrap_all .all_colors .history-slider.avia-content-slider .slide-entry-excerpt{margin-bottom:0rem;}
	#top .kategorien-child ul li,
	#top.term-57 .term-filter li{
		flex-basis:100%;
	}
	
	.responsive #top .history-slider .history-timeline .timeline-dates{
		padding: 10px 15%;
	}
	.responsive #top .history-slider .history-timeline .timeline-dates span.timeline-current, 
	.responsive #top .history-slider .history-timeline .timeline-dates span.timeline-last, 
	.responsive #top .history-slider .history-timeline .timeline-dates span.timeline-next{
		font-size:.85rem;
	}
	
	/*socket*/
	.responsive #socket .sub_menu_socket{
		float:left;
		width: auto;
	}
	#socket .social_bookmarks{
		margin-left:0px;
	}
	
	/*home project slider*/
	#top .avia-content-slider.project-slider .avia-slideshow-arrows a.next-slide{
		display:block;
		bottom:20px;
	}
	/*forderanlagen*/
	#top #wrap_all .all_colors .merkmale-single ul.clients li{
		flex-basis:100%;
		margin: 0 auto;
	}
	
	/*Forderelemente*/
	#top .term-filter li{
		flex-basis:100%;
		margin-left:0px;
	}
	#top .term-filter li:nth-child(5),
	#top .term-filter li:nth-child(8) {
		flex-basis: 100%;
	}
	#top .product_description .av_one_half:not(.first){
		display: flex;
		flex-wrap: wrap;
	}
	#top.single-alfotec_produkts .avia-builder-el-first + .avia-section .content .flex_column .product-sheet-button{
		flex-basis:100%;
		width:250px;
	}
	#top .product_description .av_one_half .avia-button-wrap{margin-bottom:20px;}
	#top .product_description .av_one_half:not(.first) .avia-button{float:left;}
	#top .product_description .av_one_half  form{float:left;}
	
	/*product bottom navigation*/
	#top #produkt-navigation form{
		margin-right:0px !important;
	}
	#top #produkt-navigation .avia_codeblock_section,
	#top #produkt-navigation form,
	#top #produkt-navigation .avia-button-wrap{	width:100%;	}
	#top #produkt-navigation .flex_column > .avia-button-wrap{	margin-top:20px;}
	#top #produkt-navigation .wrapper-prdinquiry,
	#top #produkt-navigation .flex_column > .avia-button-wrap .avia-button,
	#top #produkt-navigation .avia_codeblock_section .avia-button {
		width:305px;
		text-align: left;
	}

	/*Contact Section*/	
	#top .contact-form-section .infoblock{
		margin-top:20px !important;
		margin-bottom:20px !important;
	}
	#top .infoblock{
		margin-top: 0px !important;
	}
	
}
/* Portrait mobile */
@media only screen and (max-width: 480px){
	html{font-size:16px;}
	#top.single-alfotec_produkts .content, 
	#top.tax-produkt_kategorien .content,
	#top .content{
		padding-top:40px;
		padding-bottom:40px;
	}
	#top #wrap_all .all_colors .avia-section.title-header{
		min-height:auto;
	}
	#top #wrap_all .all_colors .title-header .content{
		padding-top:20px;
		padding-bottom:20px;
	}
	/*header*/
	.responsive #header_main .container{
		height:220px !important;
	}
	.html_bottom_nav_header #top .av-logo-container .header_search {
		bottom:30px;
		left:0px;
	}
	#top #wrap_all .social_bookmarks{
		float:left;
		top:initial;
		bottom:initial;
	}
	.responsive #top #wrap_all #header .social_bookmarks{
		display:block;
	}
	#top .avia-content-slider.project-slider .avia-slideshow-arrows a.next-slide{
		position: relative;
		float: left;
		margin-left: 60px;
	}
	
	/*fordelemente*/
	#top #wrap_all .all_colors .avia-gallery-thumb a{width: 100% !important;	}
	#top #wrap_all .product-gallery .avia-gallery .avia-gallery-thumb a{width: calc(25% - 10px) !important;}
	#top.single-alfotec_produkts .avia-builder-el-first + .avia-section .content, 
	#top.tax-produkt_kategorien .avia-builder-el-first + .avia-section .content, 
	#top.single-post .avia-builder-el-first .content {
		  padding-top: 40px;
		padding-bottom: 40px;
	}
	/*Project Section*/
	#top .all_colors .avia-content-slider.project-slider .more-link-arrow{margin-left: 3rem !important;	}
	#top .avia-content-slider.project-slider .avia-slideshow-arrows a.next-slide{ float: right;}
	#top .avia-content-slider.project-slider  .slide-entry  {margin-bottom: 0px !important; }
	
	/*Unternehmen*/

	#top .standort-summary.alfotec h4 a:after, 
	#top .standort-summary.alfotec-happel-fey h4 a:after, 
	#top .standort-summary.alfotec-sachsen h4 a:after, 
	#top .standort-summary.alfotec-polen h4 a:after{
		top:85px;
		left:0px;
	}
	#top #wrap_all .impressionen .avia-gallery .avia-gallery-thumb a{width:50%;}
	#top .standort-summary .av_textblock_section h4 > a:after{display:none;}
	#top .avia-font-alfotec_philosophie{
		clear:both;
		float:none;
		margin:0 auto;
		margin-bottom:10px;
	}
	#anchor-philosophie .avia-icon-list article.article-icon-entry{text-align:center;}
	#anchor-philosophie ul.avia-icon-list li:last-child{
		border-bottom:0px;
		margin-bottom: 0;
		padding-bottom: 0;
	}
	
	#top #wrap_all #karte .av_one_half.first{
		transform:scale(0.5);
	}
	#top .karte{
		margin-left: -70px;
		margin-top: -150px;
	}
	#top #wrap_all #karte .av_one_half:last-child{
		margin-top: -150px;
	}
	
	/*contact persons*/
	#top #wrap_all .main_color .person{	flex-flow: column nowrap;}
	#top #wrap_all .all_colors .person .content-wrapper{
		padding:1rem;
		margin-top:1rem;
	}
	#top #wrap_all .vp-contact {margin-right:0px;}
	#top #wrap_all .alternate_color .person{flex-flow: column nowrap;}

	
	/*Kontakt*/
	#top .infoblock .avia-font-alfotec_leistungsspektrum{
		float:none;
		margin:0 auto;
		margin-bottom:10px;
		
	}
	#top .infoblock .iconlist_content_wrap{
		margin: 0 auto;
		clear: both;
		text-align: center;
		float:none;
	}
	#top .infoblock .hr{
		margin: 12px 0;
	}
	/*footer socket*/
	#top #wrap_all #socket .container{
		text-align:center;
		vertical-align:middle;
		
	}
	#top #wrap_all footer .social_bookmarks{
		position: relative;
		top: initial;
		bottom: initial;
		margin: 0 auto;
		display: inline-block !important;
		float: none;
		clear: both;		
	}
	.responsive #socket .sub_menu_socket{
		float:none;
		position: relative;
		display: block;
	}
	#socket .sub_menu_socket ul.menu{
		display:inline-block;
		margin-bottom:0px;
	}
	
	#top #wrap_all .all_colors #footer div .av_one_third:nth-child(2) p{
		width: 100%;
		margin-right: 0%;
	}
	.responsive #top #wrap_all #footer .flex_column, #footer .widget{	margin-bottom:0px;	}
	#top .es_subscription_form{	padding-bottom:0px;	}

}

@media only screen and (max-width: 425px){
	#top .header_search li.social_bookmarks_german{
		float: right;
		margin-bottom: 20px;
	}
	.responsive #top #wrap_all #header .main_menu .social_bookmarks{
		display:none;
	}
	#top .header_search li.searchbar{
		width: 150px;
	}
	
	/*footer*/
	
}



/*Very small devices*/
@media screen and (max-width: 320px){
	#top .header_search li.searchbar {
		width: 140px;
	}
}

@media screen and (max-width: 250px){
	#top .header_search li.searchbar {
		width: 100px;
	}
}

/*
@media(hover: none) and (pointer: coarse) {
	#top .kategorien-child ul li a.permalink:hover .secondary_image{opacity:0;}
	#top .kategorien-child ul li a.permalink:hover .featured_image{	opacity:1;}
}*/




