/*
Theme Name: Midlle-East
Description: A Child Theme for the Enfold Wordpress Theme.
Version: 1.0
Author: adipa
Author URI:
Template: enfold
*/



/*Add your own styles here:*/

/*
#top #menu-item-search.menu-item-search-dropdown>a{display:none;}
.menu-item-search .avia-search-tooltip{display: block;position: static;}
*/


/* ******************************************** sidebar product menu */
.widget_product_categories{padding-top: 15px;}
#top ul.product-categories {
    text-align: left;
    background: #e1e1e1;
}
.product-category h2{text-align: center;}
#top ul.product-categories a{
  background-image: none;
  padding:5px;
  display: block;
}
.widget_product_categories h3{
  font-weight: bold;
  text-align: center;
  display: block;
  padding:0;
  background: #3a4d5c;
  line-height: 40px;
  color: #e1e1e1;
  margin-bottom:0;
}
#top .widget_product_categories ul{
  overflow: visible;
}
#top ul.product-categories li.cat-item-434 > a{
    font-weight: bold;
    text-align: center;
    display: block;
    padding:0;
    background: #576270;
    line-height: 40px;
    color: #e1e1e1;
}
#top ul.product-categories li{
  border-bottom:1px solid #cecece;
  padding:0;
  margin: 0;
  position: relative;
  list-style: none;
}
#top ul.product-categories li:hover{
  background: #eee;
}
#top ul.product-categories li span.count{
  position: absolute;
  right: 10px;
  top: 0;
  opacity: 0.5;
}
#top ul.product-categories li:hover > span.count{
  opacity: 1;
}
#top ul.product-categories li.cat-item-434 > span.count{
  display: none;
}
#top ul.product-categories ul.children {
    margin-top:1px;
    position: absolute;
    right: 2px;
    top: 30px;
    height: 0;
    width: auto;
    min-width: 150px;
    display: none;
    z-index: 10;
    text-align: right;
    padding-right: 15px;
    padding-left:15px;
    box-shadow: 0 2px 2px #aaa;
}
#top ul.product-categories li:hover ul.children {
    height: auto;
    display: block;
}
#top ul.product-categories .current-cat ul.children{
  position: static;
  height: auto;
  width:100%;
  display: block;
}
#top ul.product-categories li:hover ul.children,
#top ul.product-categories li.current-cat,
#top ul.product-categories li.current-cat ul.children {
    background: #eee;
}
#top ul.product-categories li:hover ul.children li {
    border-bottom:1px solid #e1e1e1;
}
#top ul.product-categories ul.children li a{
  color:#889095;
}
#top ul.product-categories li.cat-parent > a:after{
  content: ">";
    float: right;
    margin-right: 10px;
    transform: scaleX(0.5);
}
#top ul.product-categories li.cat-parent:hover > a:after{
  transform: rotate(90deg) scalex(0.5);
    transition: all 200ms;
}

/* ************************************************** header search widget */
#search-4 {
    left: auto;
    right: 60px;
    padding: 0;
    position: absolute;
    top: 25px;
    transform: translate(-0%);
    z-index: 999999;
    width:400px;
}
#header.header-scrolled #search-4 {
  top: 3px;
}
  /* Set the padding around the Ajax dropdown */
.ajax_search_response {
background:#ffffff;
padding-top:20px;
}

  /* Change background of search box */
#top input[type='text'] {
background-color:#ffffff !important;
}
#top .price_app .amount{
  font-size:22px
}
#top .price_app{
  margin-bottom: 1em;
  display: block;
}
#top .price_app small .amount{
  font-size:16px
}
#top table.shop_attributes th {
    width: 200px;
}
/*--*/
#top .product-type-simple form.cart{
  margin-top:20px;
}


  /* Hide the search bar on mobiles and correct shopping cart position if necessary */
@media only screen and (max-width: 989px) {
#search-4 {
display:none;
}
.cart_dropdown_link {
    line-height: 90px !important;
}
}

  /* Adjust the position of the search bar for desktops up to 1480px */
@media only screen and (min-width: 989px) and (max-width: 1480px) {
  /* Add your Desktop Styles here */
#search-4 {
    left: auto;
    width:280px;
    right: 400px;
}
}

/* ************************************* top menu */
#top .av-menu-button > a .avia-menu-text,
#top a .avia-menu-text {
    padding: 9px 40px;
}
#top .av-main-nav > li > a{
  font-size: 15px;
}
#top .av-main-nav > li > a:first-child {
  padding-left: 0;
}
