/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/**
 * BEGIN WOO PRODUCT CAROUSEL styles
 */
.eael-product-carousel {
  min-height: 310px;
}

carousel-container.preset-3 .eael-product-carousel {
  height: 412px;
}

.eael-woo-product-carousel-container .eael-product-title * {
  height: 43.2px;
}

.eael-woo-product-carousel-container.preset-1 .eael-product-carousel {
  border-radius: 0px;
  background-color: white;
  text-align: left;
  margin: 0px;

  & a.button.add_to_cart_button:before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
    padding-right: 8px;
  }

  & a.button.add_to_cart_button {
    margin-left: auto;
    margin-right: auto;
    padding: 0px 12px 1px 13px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    margin: 15px;
    border-radius: 0;
  }

  & a.added_to_cart {
    margin-left: auto;
    margin-right: auto;
    padding: 0px 12px 1px 13px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: #333;
    margin: 15px;
    border-radius: 0;
  }
}

.eael-woo-product-carousel-container.preset-1
  .eael-product-carousel
  .image-wrap
  img,
.eael-woo-product-carousel-container.preset-1
  .eael-product-carousel
  .product-image-wrap {
  border-radius: 0px;
  width: 150px;
  margin: auto;
}

.eael-woo-product-carousel-container.preset-1 .product-details-wrap {
  display: block;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0px !important;
  margin-top: 25px;
  text-align: center;
}
.eael-woo-product-carousel-container.preset-1 .product-details-wrap {
  & h2 {
    color: #272727;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: capitalize;
    font-family: var(--wp--preset--font-family--system-font);
  }
}

.eael-woo-product-carousel-container.preset-1
  .product-details-wrap
  .product-details {
  width: 100%;
  & h2 {
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.eael-woo-product-carousel-container.preset-1
  .product-details-wrap
  .eael-product-price {
  width: 100%;
  text-align: center;
  & bdi {
    color: #272727 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2em;
  }
}

@media only screen and (max-width: 734px) {
  .eael-product-carousel {
    .product-image-wrap {
      width: 150px;
      margin: auto;
    }
  }
}

ul.products .add-links .quickview {
  right: -35px;
}
/**
 * END WOO PRODUCT CAROUSEL styles
 */

/**
 * Edit header Tooltip position change
 */
#header .porto-tooltip-wrap {
  display: none !important;
}


/**
 * Remove reward points text in search form
 */
.live-search-list .autocomplete-suggestion .search-price .variableshopmessage{
  display: none;
}
.live-search-list .autocomplete-suggestion .search-price {
  align-self: start;
}

.live-search-list .autocomplete-suggestion .search-price br {
  display: none;
}

/**
 * Contact Form 7 respones output
 */
.wpcf7-response-output {
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 50px !important;
  border: none !important;
  color: white;
  font-size: large;
}

.wpcf7-not-valid-tip {
  color: white !important;
  font-size: large !important;
}

.widget_wysija_cont {
  padding-bottom: 20px;
}

/**
 * Woocommerce notifications on cart and checkout
 */
.woocommerce-info {
  font-size: 18px;
  font-weight: bold;
}

/**
 * Enter coupon on checkout page
 */
.woocommerce-form-coupon-toggle {
  font-size: 20px;
}

/** * Add scroll to main menu */ #header .main-menu .narrow ul.sub-menu {
  max-height: 350px;
  overflow-y: auto;
  overscroll-behavior: auto;
}

#header .main-menu .narrow li.menu-item:hover > ul.sub-menu {
  position: fixed;
  top: 229px !important;
}

.porto-narrow-sub-menu li.menu-item > a {
  white-space: wrap;
}

.porto-narrow-sub-menu li.menu-item-has-children > a::before {
  font-size:0.8rem;
}

#header .main-menu .narrow li.menu-item:hover > ul.sub-menu {
  postion: fixed;
  top: 0px !important;
}

/**
 * Add scroll to main menu
 */

.menu-top-level-arrow {
  padding-right: 16px;
  padding-top: 12px;
  color: white;
}

.active-span {
  background-color: #1A1A1A;
}

.main-menu > li.menu-item:hover > span {
  color: #7f7f7f;
}

.main-menu > li.menu-item:hover > a {
  background-color: white !important;
  color: #7f7f7f;
}

.main-menu > li.menu-item {
  display: flex
}


#header .main-menu > li.menu-item > a {
  padding-right: 5px;
  transition: none;
}

#header .main-menu > li.menu-item:hover {
  color: #7f7f7f;
  background-color: white;
}

#header .main-menu .narrow ul.sub-menu {
  max-height: 350px;
  overflow-y: auto;
  overscroll-behavior: auto;
}

#header .main-menu .narrow li.menu-item > ul.sub-menu {
  position: fixed;
  top: 0px !important;
  opacity: 1;
}

.porto-narrow-sub-menu li.menu-item > a {
  white-space: wrap;
}

.mega-menu .narrow.pos-right li.menu-item-has-children > a::before {
  display: none;
}

.mega-menu .narrow.pos-right li.menu-item-has-children:hover {
  background-color: #f4f4f4;
}

.mega-menu .narrow.pos-right li.menu-item-has-children {
  display: flex;
  justify-content: space-between;
}

.menu-sub-level-arrow {
  font-size: 20px;
  padding-top: 8px;
  padding-left: 15px;
  padding-right: 15px;
  color: #7f7f7f;
}

/**
 * Remove onsale span from product carousel
 */
.woocommerce ul.products li.product .eael-onsale {
  display: none;
}

.eael-product-carousel .eael-product-price span.variableshopmessage {
  display: none !important;
}

.eael-product-carousel .eael-product-price br {
  display:none !important;
}

/**
 * Remove sumo rewards text from shop page.
 */
.tb-woo-price .price .variableshopmessage {
  display: none !important;
}

.tb-woo-price .price br {
  display: none !important;
}

/**
 * Decrease font size on product pages
 */
.single-product .product-summary-wrap .price {
  font-size: 20px;
}

/**
 * Override active colors for main menu
 */
#header .main-menu > li.menu-item.active > a {
  color: #FFFFFF;
  background-color: #1A1A1A;
}

/**
 * Mobile menu styles.
 */

#nav-panel .accordion-menu {
  margin: 0 30px;
}

#nav-panel .accordion-menu li {
  padding: 5px 0;
}

#nav-panel .novelties-nav a {
  color: red !important;
}

#nav-panel .sub-menu > li.menu-item {
  border: none;
}

#nav-panel .sub-menu > li.menu-item > a {
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
}

#nav-panel > .container {
  padding: 0px;
}

#nav-panel .accordion-menu > li.menu-item > a {
  /*color: #555 !important; */
  padding: 13px 0;
  font-size: 16px;
  line-height: 18px;
  font-weight: 600;
}

#nav-panel {
  padding-top: 0px !important;
}

#nav-panel .mobile-nav-wrap {
  max-height: max-content;
}

.display-none {
  display: none;
}

div.mobile-nav-wrap .arrow {
  width: 120px;
  text-align: right;
  padding-right: 10px;
  font-size: 18px;
}
