/*
Theme Name: Biosaffair
Author: Schaab PR
Description:
Version: 1.0
Text Domain: biosaffair 

*/


html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}



html { -webkit-text-size-adjust: auto; -ms-text-size-adjust: none; text-rendering: optimizeLegibility;  }
html, body { font-size: 11px; font-size: 1.1rem; line-height: 1.5; font-family: 'Droid Sans', sans-serif; font-display:swap; color: #303030; font-weight: 500; background: #ffffff; }

a {text-decoration:none; color: #ef890b;}
a:visited {text-decoration:none;}
a:hover {text-decoration:none; color: #555555; -o-transition: color 0.25s ease-in; -webkit-transition: color 0.25s ease-in; -moz-transition: color 0.25s ease-in; transition: color 0.25s ease-in; }
a:active {text-decoration:none;}

a img { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; -o-transition: all 0.25s ease-in; -webkit-transition: all 0.25s ease-in; -moz-transition: all 0.25s ease-in; transition: all 0.25s ease-in; }
a img:hover { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=70); -moz-opacity: 0.7; -khtml-opacity: 0.7; opacity: 0.7; -o-transition: all 0.25s ease-in; -webkit-transition: all 0.25s ease-in; -moz-transition: all 0.25s ease-in; transition: all 0.25s ease-in; }


/* ----------Typo-------------- */
h1 { font-size: 22px; font-size: 2.2rem; line-height: 1.3; font-weight: 500; color: #000000; margin: 10px 0 10px 0; margin: 1rem 0 1rem 0; }
h2 { font-size: 18px; font-size: 1.8rem; line-height: 1.2; font-weight: 500; color: #696969; margin: 0 0 15px 0; margin: 0 0 1.5rem 0; }
h3 { font-size: 16px; font-size: 1.6rem; line-height: 1; font-weight: 500; color: #333; margin: 15px 0 5px 0; margin: 1.5rem 0 0.5rem 0; }
h4 { font-size: 16px; font-size: 1.6rem; line-height: 1; font-weight: bold; color: #865241; margin: 5px 0 10px 0; margin: 0.5rem 0 1rem 0; }
h5 { font-size: 15px; font-size: 1.5rem; line-height: 1; font-weight: bold; color: #865241; margin: 5px 0 10px 0; margin: 0.5rem 0 1rem 0; }
p { font-size: 13px; font-size: 1.3rem; line-height: 1.5; color: #333; margin-bottom: 10px; margin-bottom: 1rem; }
input, textarea, table { font-size: 13px; font-size: 1.3rem; line-height: 1.5; font-family: 'Droid Sans', sans-serif; color: #333; font-weight: 500; }

strong { font-weight: 700; }

/* ----------Farben---------- */




/* ----------Struktur----------*/

#container { width: 100%; max-width: 1400px;  margin: 0 auto;	padding: 10px 0; background: #ffffff; }

#header { position relative; margin: 0; background:#add8e6;}

#logo { text-align:center; }
#logo img { background: none !important; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); -moz-opacity: 1; -khtml-opacity: 1; opacity: 1; width: 50%; }

#banner { position: relative; max-height: 450px; overflow: hidden; margin: 0 0 15px 0; background: #ff0ff0; text-align: center; }
.slide-title a { background: none !important; left: 0 !important; right: inherit !important; top: 1rem !important; color: #000000!important; padding: 0.4em 0.8em !important; font-size: 18px !important; font-size: 1,8rem !important; }

#content{background: #F1F1F1;}
#content tr td{vertical-align: middle;}

#content .span6 { padding: 0 2% 2% 1%; }

table{width:100%;}
.preise table tr td{border:1px solid #454545; padding:4px;}

.left{float:left;}



/* ----------NAVIGATION----------*/

#navigation { margin-bottom: 0; }

.navi {  }
.navi { list-style-type: none; font-size: 14px; font-size: 1.4rem; }

/* Root Level Link Formatting */
.navi li { display: block; float: left; text-align: center; font-weight: normal; list-style-type: none; list-style: none; margin: 0; }
.navi li a { display: block; padding: 45px 16px 30px 16px; color: #303030; text-decoration: none; }
.navi li:first-child a { padding-left: 10px; }
.navi li:last-child a { padding-right: 0; }
/* Root Level link hover */
.navi li a:hover, .navi li a:focus, .navi li a:active, .navi li a.active{ color: #EF890B; }
.navi a.menu-parent { font-weight: 600; color: #EF890B; }

/*Current page Customisations*/
.navi li.current_page_item > a, .current-page-ancestor > a { font-weight: 600; color: #EF8908 !important; } 

/* 2nd Child menu */
.navi li ul.sub-menu { position: absolute; width:auto; z-index: 100; background: none; }
.navi li ul.sub-menu li { position: relative; text-align: left; float:none;}
.navi li ul.sub-menu li a { width: 200px; padding: 10px 10px 8px 15px; text-transform: none; background: #afeeee; font-size: 11px; font-size: 1.1rem; border-bottom: 1px solid #E4DEC8; }

/* 2nd Child link hover */
.navi li ul.sub-menu li a:hover, .navi li ul li.current_page_item a { color: #EF8908; }
.navi li ul.sub-menu li a.menu-parent { color:EF8908; }

/* 3rd Child menu */
.navi li ul.sub-menu li ul.sub-menu { position: absolute; width: 180px; z-index: 100; }
.navi li ul.sub-menu li ul.sub-menu li {  }
.navi li ul.sub-menu li ul.sub-menu li a { font-size: 12px; font-size: 1.2rem; }

.navi li ul.sub-menu li ul.sub-menu {position:absolute; top:0; margin-left: 205px;}
.navi li ul.sub-menu + li.menu-item-has-children{display: inline;float: left;width: 180px; overflow:hidden; }
.navi li ul.sub-menu li.menu-item-has-children + a {padding:8px 0px 7px 20px;}

/* 3rd Child link hover */
.navi li ul.sub-menu li ul.sub-menu li a:hover, .navi li ul li ul.sub-menu li.current_page_item a { color: #EF890B; border-bottom: 1px dotted #ccc; }
.navi li ul.sub-menu li ul.sub-menu li a.menu-parent { color:#EF890B; }

/* Show and hide */
.navi li ul { display: none; }
.navi li:hover>ul { display: block; z-index: 999; }
.navi li ul.sub-menu li ul.children { display: none; }
.navi li ul.sub-menu li:hover>ul.children{ display: block; z-index: 999; }



.mean-bar { border-bottom: 1px solid white; }
.mean-nav div ul.navi li ul { width: 100%; display: block; position: relative; background: none !important; }
.mean-nav div ul.navi li ul li { width: 100%; }
.mean-nav div ul.navi li ul li p { margin: 5%; text-align: left; }


.mean-bar .navi li ul.sub-menu li{float:left;}
.mean-bar .navi li ul.sub-menu li ul.sub-menu{position:relative !important; width:100%; margin-left:0;}





.sidebar { padding-top: 55px; padding-top: 5.5rem; }

.sidebar ul { line-height: 110%; }
.sidebar ul li{list-style:none; margin-bottom:10px; font-size:11px; font-size:1.1rem;}
.sidebar ul li a{color:#303030;}
.sidebar ul li a:hover{color:#EF890B;}

#special-submenu, #information-submenu, #sidebar-submenu { margin-top: 15px; border-bottom: 1px solid #888; }
#information-submenu { border: 0; margin-bottom:20px; }
4#special-submenu .current_page_item a { color: #EF890B;font-weight: 600; }

#sidebar-submenu .children { display:none; }
#sidebar-submenu .current_page_item a { font-weight: 600; color:#EF890B;} 


/* ----------FOOTER----------*/

#footer { height: auto; width: 100%; background: #add8e6; margin-bottom: 10px; padding:10px 0 0 15px; font-size: 11px; font-size: 1.1rem; border-top:2px solid #EF890B; }
#footer p { font-size: 11px; font-size: 1.1rem; }
#footer .span2 { width: 15%; }





/* ----------ELEMENTE----------*/

hr { border: 0; height: 0; border-top: 1px solid #ef890b; border-bottom: 1px solid #ef890b; margin-top: 20px; }


.bilder { margin-bottom: 10px; margin-bottom: 1rem; }
/* .produkt .bilder */ .gallery .gallery-item .gallery-icon  { /* width: 32,2% !important;*/ height: 150px !important; margin-right: 10%; overflow: hidden !important; }
/* .produkt .bilder */ .gallery .gallery-item .gallery-icon img { min-height: 100px; border: 0 !important; }
	.gallery .gallery-item .gallery-caption { margin-top: 3px; padding: 0 5%; }

/* .produkt .spezifikationen .gallery .gallery-item { width: 23% !important; height: 170px !important; margin-right: 1%; overflow: hidden; }
	.produkt .spezifikationen .gallery .gallery-item img { min-height: 100px; } */
	
.wp-caption	{ width: 100% !important; max-width: 1400px}
.wp-caption-text { font-size: 11px; font-size: 1.1rem; }


.produktoverviewItem{text-align:center; background:ffffff; height: 187px; border-color: gray; border-width: 1px; border-style: solid; overflow:hidden;}  /* @CS: Aenderungswunsch vom 8.5.2018 / Original: height: 170px */
.produktoverviewItem a{display:block;}
.produktoverviewItem a.catImage{
	background-position: 100% center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-behavior: url(/backgroundsize.min.htc);
    behavior: url(/backgroundsize.min.htc);
    height: 110px; /* @CS: Aenderungswunsch vom 8.5.2018 / Original: height: 110px; */
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}
.produktoverviewItem a.catImage:hover{opacity:0.8;}

.produktoverviewItem a.catName{
	height: 20px; 
	display:table-cell;
	vertical-align: middle;
	top: 50%;
	left: 50%;
	width: 5000px;
	padding: 10px 12px 10px 19px;
	margin-left: -100px;
	margin-top: -100px;
	background: #fff;
	border-top: 1px solid #EFECE0;
	box-sizing: border-box;
	color:#303030;
	font-size: 84%;
	line-height: 100%;
}
/*
.produktoverviewItem a.catName {
    background: none repeat scroll 0 0 #FFFFFF;
    border-top: 1px solid #EFECE0;
    color: #303030;
    display: block;
    height: 400px;
    left: 50%;
    margin-left: 0;
    margin-top: 0;
    padding: 10px;
    top: 20;
    vertical-align: middle;
    width: 87%;
}
*/


.produktoverviewItem a.catName:hover{color:#EF890B}


.productExhibition{
	background: none repeat scroll 0 0 #ff0000;
    border-radius: 10px;
    height: 12px;
    width: 12px;
    display:block;
    margin-right:6px;
    margin-top:3px;
}
.produktoverviewItem .productExhibition{
	margin: 10px 0 0 10px;
    position: absolute;
}

#produkt-gallery{}
#produkt-content{margin-top:30px;}
  
.productwrapperbox{ margin-bottom:20px;} 



 
   
   
/* SUCHE SEITE*/
.search-page .entry{border-bottom:1px solid #999; margin-bottom:15px;}   
   
   
   
/* WORDPRESS SWIPEBOX GALLERY - dont hide controll*/
#swipebox-caption{top:0!important;}
#swipebox-action{bottom:0!important;}   
   

   
.search-form-header { position: absolute; top: 15px; right: 122px; }
.search-form-header .search-field { height: 18px; padding:  2px 5px; font-size: 80%; }
.search-form-header .search-submit { height: 16px; width: 69px; padding: 5px 0px; font-size: 95%; border: 0; background: #7c9ca6; line-height: 0; color: #ffffff; }
.search-form-header .search-submit:hover { background: white; color: black; }


/* Mehrsprachigkeit */
.wpml-ls {
    position: absolute;
    top: 5px;
    right: 32px;
}

x.wpml-ls a {
	color: #303030;
}

.wpml-ls a:hover {
	color: #EF890B;
}

@media (max-width: 37.5em) {
	.wpml-ls {
		font-size: 1.3rem;
		right: -5px;
	}
	
	.wpml-ls a {
		color: #fff;
	}

}
   

/* Toggle */

p.active { margin-bottom: 0; }


/* SPecial resets*/
.ajax-loader{
	width:auto;
}

#banner .responsive-slider.flexslider .flex-control-nav li a{
	background-image:url("//www.biosaffair.de/wp-content/themes/biosaffair/images/slider-nav-black.png") !important;
}




.scroll-to-top{
	background: none repeat scroll 0 0 rgba(100, 100, 100, 0.4);
    bottom: 4%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 16px;
    line-height: 30px;
    position: fixed;
    right: 37%;
    text-align: center;
    transition: background-color 0.3s linear 0s;
    width: 120px;
    z-index: 999;
}

.scroll-to-top:hover{background:#ef890b;}
