/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* ******* Logo Sizing ******* */

.home .logo img,
.page-id-63 .logo img,
.page-id-35 .logo img{
	box-shadow: 0 3px 5px rgba(100,100,100,0.5);
	max-height: none;
}

#top.home #header_main > .container,
#top.page-id-63 #header_main > .container,
#top.page-id-35 #header_main > .container
{
	height: 130px;
	line-height: 130px;
}

/* ******* Header ******* */
#header_main {
    box-shadow: 0 2px 10px rgba(100, 100, 100, 0.2);
}

.home #header_main,
.page-id-63 #header_main,
.page-id-35 #header_main{
	box-shadow: none; /* Takes away box shadow for home page only */
}

/* ******* Search Bar Settings ******* */
div#woocommerce_product_search-2 form {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0.5em;
}

div .logo {
    float: none;
	position: relative;
}

div#woocommerce_product_search-2 form input[type="submit"] {
	border: none;
	border-radius: 0 4px 4px 0;
	background-color: #646869;
	transition: all 0.6s ease;
}

div#woocommerce_product_search-2 form input[type="submit"]:hover {
	background-color: #ffffff;
	transition: all 0.4s ease;
	color: #522e91;
}

#top .header_color input[type='search'] {
	background-color: #ffffff;
	border-radius: 4px 0 0 4px;
	box-shadow: inset 0 2px 10px rgba(100, 100, 100, 0.3);
}

@media (min-width: 1px) and (max-width: 768px) {
	#top #menu-item-search {
		display: none;
	}
	
	#top .widget_product_search.widget {
		padding: 0;
		margin-top: -5%;
	}
	
	.home#top .widget_product_search.widget,
	.page-id-35#top .widget_product_search.widget,
	.page-id-63#top .widget_product_search.widget {
		margin-top: -10%;
	}
	
	.av-main-nav-wrap {
		top: 0;
		right: 0;
	}
	
	div#woocommerce_product_search-2 {
    	width: 95%;
		position: relative;
		left: 3%;
	}
	
	.responsive #top .logo,
	.av-main-nav-wrap {
		display: inline-block;
		height: 80px !important;
    	position: relative;
		left: -1em;
	}
	
	.responsive .home#top .logo,
	.responsive .page-id-35#top .logo,
	.responsive .page-id-63#top .logo {
		height: 65px !important;
	}
	
	.responsive .home#top .logo,
	.responsive .page-id-35#top .logo,
	.responsive .page-id-63#top .logo {
		width: 15em;
		top: -0.25em;
	}
	
	#top form {
		margin-bottom: 5px;
	}
}

@media (min-width: 768px) {

    .inner-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
	
	.main_menu {
      position: relative;
      order: 3;
    }
	
	div#woocommerce_product_search-2 form {
		margin-top: 4em;
	}
}
 
@media (min-width: 768px) and (max-width: 989px) {
	
	#top #menu-item-search {
		display: initial; /* Displays AJAX search instead of WooComm Search b/c WC search messes up layout at this size */
	}
	
	.responsive #top #wrap_all .av_mobile_menu_tablet .main_menu {
		display: flex;
	}
	
	.av-main-nav-wrap {
		order: 2;
	}
	
	div#woocommerce_product_search-2 {
        left: -3%;
    }
}

@media (min-width: 769px) and (max-width: 1075px) {
	
	div#woocommerce_product_search-2 {
    	display: none;
	}
	
	#top #menu-item-search {
		display: initial; /* Hides AJAX search */
	}
	
	#top #s {
		background-color: #ffffff;
	}
}

@media (min-width: 990px) {
	div#woocommerce_product_search-2 {
		width: 35%;
	}

  	.home div#woocommerce_product_search-2 form,
	.page-id-63 div#woocommerce_product_search-2 form,
	.page-id-35 div#woocommerce_product_search-2 form {
    	margin-top: 2em;
	}
	
	div#woocommerce_product_search-2 form {
    	margin-top: 4em;
	}

	.html_cart_at_menu.html_header_top #top .main_menu {
    	right: 0;
  	}
}

@media (min-width: 1200px) {
	#top .widget_product_search-2 {
		width: 45%;
	}
}

@media (min-width: 1076px) {
	#top #menu-item-search {
		display: none; /* Hides AJAX search */
	}
	
	div#woocommerce_product_search-2 {
    	display: inline-block;
	}
}


/* ******* Secondary Menu ******* */
.header_color .sub_menu>ul>li>a,
.home .header_color .sub_menu>ul>li>a,
.page-id-63 .header_color .sub_menu>ul>li>a,
.page-id-35 .header_color .sub_menu>ul>li>a {
	color: #fefefe;
}

#top .header_color .sub_menu ul li a:hover {
	color: #fefefe;
	text-decoration:underline;
}

#top .header_color .sub_menu ul li a:visited {
	color: #fefefe;
}

#top.home .av_header_transparency #header_meta,
#top.page-id-63 .av_header_transparency #header_meta,
#top.page-id-35 .av_header_transparency #header_meta {
	background-color: #646369;
	border-bottom: none;
	box-shadow: inset 0 0 7px rgba(50, 50, 50, 0.5);
}

@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all .av_header_transparency .sub_menu > ul > li > a,
	.home .header_color .sub_menu>ul>li>a,
	.page-id-63 .header_color .sub_menu>ul>li>a,
	.page-id-35 .header_color .sub_menu>ul>li>a {
		color: #fefefe;
	}

	#top .header_color .sub_menu ul li a:hover {
		color: #fefefe;
		text-decoration:underline;
	}

	#top .header_color .sub_menu ul li a:visited {
		color: #fefefe;
	}
}

/* ******* Product Content ******* */
.container .av-content-small.units {
    width: 73%;
}

/* ******* Left Sidebar ******* */
#top #main .sidebar_left .sidebar {
	text-align: left;
}

/* ******* Home Product Categories ******* */
#top .iconbox_left_content.av-icon-style-no-border div.iconbox_icon {
	width: 100%;
	padding-bottom: 1.5em;
}

#top .iconbox_left_content.av-icon-style-no-border div.iconbox_icon:hover {
	color: #54534a;
}

#home-product-categories h3.av-special-heading-tag {
	padding-top: 1em;
}

.avia-shadow {
	box-shadow: 0 2px 10px rgba(100, 100, 100, .5);
}

/* ******* Home/FAQ Banner ****** */
#home-banner h2,
#about-banner h2 {
	text-shadow: 0 0 5px rgba(100, 100, 100, 0.6);
}

@media (max-width: 990px) {
	#home-banner .av-special-heading,
	#about-banner .av-special-heading {
		margin-top: 0;
	}
}

/* ******* About Page ******* */
#about_story-text .first {
	margin-right: 10%;
	padding-top: 4%;
}

#about_partners-slider .avia-content-slider .slide-image {
	background: transparent;
}

/* ******* Add To Cart Bar ******* */
#top div.woocommerce-message {
    background-color: #522F91;
    color: #ffffff;
}

.html_visible_cart .cart_dropdown {
	display: none;
}

/* Search Entry Not Found – “Sorry, no posts matched your criteria” shown when searching by specific SKU */
#top div .ajax_not_found, #top div .ajax_search_entry.ajax_not_found:hover {
    display: none;
}