/*
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  ***************/

.page-wrapper {
	background-color: #f5f5f5;
}

#header {
	background-color: #fff;
}
@media (min-width: 992px){
	#header.sticky-header .header-main.sticky {
	  max-width: 946px;
	  margin: 0 auto;
	}
}
@media (min-width: 1156px){
	#header.sticky-header .header-main.sticky {
		max-width: 1126px;
		margin: 0 auto;
	}
}
@media (min-width: 1472px) {
	#header.sticky-header .header-main.sticky {
	  max-width: 1428px;
	}
}
#header .header-block-column-left {
	flex: 1;
}

#header .header-block-column-right {
	width: auto;
	flex: none;
}


/* changed with fibosearch
@media (min-width: 992px) {
	.search-form-container {
		width: 80%;
		margin: 0 10px;
	}
	.search-form-container .searchform-popup,
	.search-form-container .searchform span.text,
	.search-form-container .searchform span.text input,
	.search-form-container .searchform {
		width: 100%;
	}
	.search-form-container .searchform-popup {
		text-align: center;
	}
	.search-form-container .searchform {
		max-width: 480px;
	}
}
*/

/* @group fibosearch */

.search-form-container {
	display: none !important;
}
@media (min-width: 992px) {
	.search-form-fibo {
		width: 80%;
		margin: 0 10px;
	}
	.search-form-fibo .searchform-popup,
	.search-form-fibo .searchform span.text,
	.search-form-fibo .searchform span.text input,
	.search-form-fibo .searchform {
		width: 100%;
	}
	.search-form-fibo .searchform-popup {
		text-align: center;
	}
	.search-form-fibo .searchform {
		max-width: 480px;
	}
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	padding: 9px 24px 9px 48px;
	border: 3px solid #eee;
	background-color: #fff;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
	display: none !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	top: 12px;
}
.wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid > li {
  margin-bottom: 0 !important;
}
.js-dgwt-wcas-enable-mobile-form {
	width:50px;
}
.dgwt-wcas-search-wrapp .dgwt-wcas-search-icon {
	margin-left: 15px;
}

/* fix for fibosearch on my account page */
.woocommerce-account #header .woocommerce {
	margin: 0 auto;
}

/* @end */

#header .mobile-toggle:first-child {
  margin-right: 10px !important;
}

@media (max-width: 575px) {
	.page-wrapper {
	  /* background-color: #f5f5f5; */
	}
	#header {
	  height: 27px;
	  background-color: #aaf;
	}
	.page-wrapper, #header .header-main {
	  transition: left .3s;
	}
	#header .header-main, 
	.fixed-header #header .header-main {
	  background-color: rgba(255,255,255,1);
	}
	#header .header-main {
	  position: fixed;
	  left: 0;
	  right: 0;
	  width: 100%;
	  margin-left: 0;
	  margin-right: 0;
	  top: 0;
	  z-index: 1001;
	  box-shadow: 0 0 3px 0 var(--porto-normal-bc);
	}
	.header-builder-p .header-main {
	  padding-top: 3px !important;
	  padding-bottom: 3px !important;
	}
	#header .logo {
	  max-width: var(--porto-sticky-logo-mw);
	}
}

@media (max-width: 1010px) {
	
	/* correct icons on mobile. */
	html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-search-wrapp.dgwt-wcas-layout-icon {
		left: -10px;
		float:right;
	}
	.header-builder-row .dgwt-wcas-search-wrapp .dgwt-wcas-search-icon {
	  margin-left: 0;
	}
	.header-builder-row .header-phone-icon .porto-icon {
		font-size: 26px !important;
	}
	.header-builder-row .header-phone-icon .porto-icon i {
		position:relative;
		top: 3px;
		left: 12px;
	}
	.header-builder-row .porto-ultimate-content-box-container.search-form-fibo {
		margin-left:auto;
	}
	.header-builder-row .porto-ultimate-content-box-container.search-form-fibo .dgwt-wcas-search-icon .dgwt-wcas-ico-magnifier-handler {
		max-width: none;
		width: 27px;
		height: 27px;
	}
	
}
@media (max-width: 769px) {
	/* correct icons on mobile. */
	.header-builder-row .header-phone-icon .porto-icon i {
		left: 3px;
	}
}


#header .header-phone-icon .porto-tooltip {
	position: static !important;
	display: block !important;
}

/* stiky add to cart plugin */
.wsatc-qty-wrapper .wsatc-qty-field {
	min-width: 60px;
}


/* @group Google faq-question */

.schema-faq-code {
	max-width: 640px;
	margin-bottom: 40px;
}
.schema-faq-code .faq-question .faq-q {
	position: relative;
	font-size: 1.8em;
	font-weight: 400;
	line-height: 32px;
	margin: 0 0 0 0;
	padding: 3px 10px;
	text-transform: none;
	border: 1px solid #ddd;
	background-color: #fafafb;
}
.schema-faq-code .faq-question .faq-a {
	font-size: 14px;
	line-height: 26px;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0 0 0 1.25rem;
	padding: 15px;
	text-transform: none;
}
.schema-faq-code .faq-question div[itemprop='acceptedAnswer'] {
	display:none;
	border: 1px solid #e1e1e1;
	border-top: 0;
	border-bottom: 0;
}
.schema-faq-code .faq-question:last-child div[itemprop='acceptedAnswer'] {
	border-bottom: 1px solid #e1e1e1;
}
.schema-faq-code .faq-question .faq-q:after {
	content: '\f105';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	top: 10px;
	right: 0;
	font-size: 20px;
	line-height: 1;
	margin-top: -.5em;
	color: #f8f8f8;
	cursor: pointer;
	background-color: #aaf;
	bottom: 0;
	width: 40px;
	text-align: center;
	padding: 10px;
}
.schema-faq-code .faq-question.open .faq-q:after {
	content: '\f107';
}
.schema-faq-code .faq-question.open .faq-q {
	border-bottom: 1px solid #f0f0f0;
}

/* @end */



/* @group product delivery information product-meta-with-icon */

.product-meta-with-icon,
.product-delivery-information {
	display: table;	
	padding: 5px 0;
	color: #222529;
}
.product-meta-with-icon .product-meta-icon-wrapper,
.product-delivery-information .delivery-icon-wrapper {
	display: table-cell;	
	color: #00a896;
	font-size: 36px;	
	vertical-align: middle;
	width: 55px;
	padding-right: 10px;
}
.product-meta-with-icon .product-meta-items-wrapper,
.product-delivery-information .delivery-text-wrapper {
	display: table-cell;	
	font-size: 14px;
	vertical-align: middle;
}
.product-meta-with-icon .product-meta-icon-wrapper i {
  margin-bottom: 6px;
}

/* @end */

.add_to_cart_button.viewcart-style-3 {
	display: none !important;
}



/* PRODUCT ARCHIVE */


/* product grid */
.archive-products .product-content h3.porto-heading {
	white-space: normal;
	display: block;
	display: -webkit-box;
	height: 40px;
	font-size: 15px;
	line-height: 19px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* @group make zoomed photo pop up on photo */

body.single-product .product-images .zoom {
	cursor: pointer;
	color: #FFF;
	display: block;
	padding: 0;
	position: absolute;
	text-align: center;
	opacity: 0;
	transition: all 0.1s;
	top: 4px;
	left: 32px;
	bottom: 4px;
	right: 32px;
	width: auto;
	height: auto;
	border-radius: 0;
	z-index: -1;
	background-color: transparent !important;
}

body.single-product .product-images .zoom i {
	font-size: 14px;
	line-height: 28px;
	position: absolute;
	right: -10px;
	bottom: 4px;
}

body.single-product .product-images:hover .zoom {
	opacity: 1;
	z-index: 1000;
}

body.single-product .product-images:hover .zoom i {
	color: #000;
}

body.single-product .product-images:hover .owl-carousel.show-nav-hover .owl-prev, 
body.single-product .product-images:hover .owl-carousel.show-nav-hover .owl-next {
  opacity: 1;
  transform: translate(0, -50%);
}

/* @end */

.recent-hidden {
	display: none !important;
}

/* .recent-products-section .br_brand_shop_container, */
.recent-products-section .add-links-wrap {
	display: none !important;
}

.related-products-section li.product-col {
	text-align: center;
}

/* shop filter button */
.filter-placeholder.m-0 {
	height: auto !important;
}
.porto-product-filters-toggle.mobile-filter-my-mod-for-child i {
	visibility: hidden !important;
	width: 7px;
}	
@media (min-width: 992px) {
	.porto-product-filters-toggle.mobile-filter-my-mod-for-child {
		display: none !important;
	}	
}
@media (max-width: 992px) {
	.shop-loop-before.shop-builder,
	.shop-loop-before.shop-builder.sticky {
		position: static !important;
	}
	.shop-loop-before.shop-builder > div,
	.shop-loop-before.shop-builder.stick > div {
		display: flex;
		flex-grow: 1;
		width: 100%;
	}
	.shop-loop-before.shop-builder {
		padding: 10px 0 0 0;
	}
	.woocommerce-ordering.mobile-filter-my-mod-for-woocommerce-ordering {
		margin-left: auto;
		margin-right: 0px !important;
		width: 50% !important;
		text-align: right;
	}
	.porto-product-filters-toggle.mobile-filter-my-mod-for-child {
		max-width: 200px;
		font-size: 1em;
		padding: 0 25px 0 8px;
		box-shadow: none;
		border: 1px solid var(--porto-gray-5);
		background: #fff;
		color: #223;
		border-radius: 4px;
	}
	
	.shop-loop-before .woocommerce-pagination {
		display: none !important;
	}
	.shop-loop-before.shop-builder .gridlist-toggle.wpb_custom_0 {
		display: none !important;
	}
	
}

@media (max-width: 575px) {
	.woocommerce-ordering.mobile-filter-my-mod-for-woocommerce-ordering {
		max-width: 50% !important;
	}

	.shop-loop-before select {
		width: 100%;
		max-width: 100%;
	}
	
	.woocommerce-ordering.mobile-filter-my-mod-for-woocommerce-ordering {
	  margin-left: auto;
	  margin-right: 0px !important;
	  text-align: right;
	}

	.porto-product-filters-toggle.mobile-filter-my-mod-for-child {
		width: 50% !important;
		max-width: none;
		margin-right: 14px;
	}
	
}


/* archive same height omages */
/*
.archive .porto-tb-featured-image {
	height: 254px;
	padding: 0;
	border: none;
	background: transparent;
}
.archive .img-thumbnail {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  padding: 0;
}
.archive .porto-tb-featured-image img {
  max-height: 254px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

*/
.archive .porto-tb-featured-image {
	padding: 0;
	border: none;
	background: transparent;
}
.archive .img-thumbnail {
    display: block;
    width: 100%;
    padding-top: 100%;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
    background-size: cover;
	/* background: transparent; */
}
/* .archive .porto-tb-featured-image { */
	/* background: transparent !important; */
/* } */
.archive .porto-tb-featured-image img {
	display: block;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;	
	max-height: 100%;
	object-fit: contain;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
}
.archive .porto-tb-featured-image .tb-hover-content {
	border: none !important;
	box-shadow: none;
}

/* related and recent products same height images */

.owl-carousel .owl-item .inner {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.owl-carousel .owl-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
@media (max-width: 575px) {
	.owl-carousel .owl-item .inner {
	  height: 200px;
	}
}

/* single product image and thumbnail images */
.single-product .product-image-slider .img-thumbnail .inner {
	min-height: 560px;
}
.single-product .product-thumbnails .owl-stage .owl-item .img-thumbnail {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.single-product .product-thumbnails .owl-stage .owl-item .img-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
@media (max-width: 1156px) {
	.single-product .product-image-slider .img-thumbnail .inner {
		min-height: 460px;
	}
}
@media (max-width: 1010px) {
	.single-product .product-thumbnails .owl-stage .owl-item .img-thumbnail {
	  height: 110px;
	}
}
@media (max-width: 992px) {
	.single-product .product-image-slider .img-thumbnail .inner {
		min-height: 380px;
	}
	.single-product .product-thumbnails .owl-stage .owl-item .img-thumbnail {
	  height: 110px;
	}
}
@media (max-width: 769px) {
	.single-product .product-image-slider .img-thumbnail .inner {
		min-height: 540px;
	}
	.single-product .product-thumbnails .owl-stage .owl-item .img-thumbnail {
	  height: 126px;
	}
}
@media (max-width: 575px) {
	.single-product .product-thumbnails .owl-stage .owl-item .img-thumbnail {
	  height: 90px;
	}
}

/* categories page: move “product name and products count” on product categories below photo */

.archive .products-container .thumb-info .thumb-info-title {
	position: static;
	text-align: center;
}

/* hide title and show inone line on mobile sticky "add to card" */
@media (max-width: 769px) {
	.wsatc-stick-cart-wrapper .product-title {
	  display: none !important;
	}
	.wsatc-stick-cart-wrapper .wsatc-price-stock {
		/* margin-left:30px; */
		/* margin-right: auto; */
		margin-right: 140px;
	}
	.wsatc-stick-cart-wrapper .wsatc-right-section {
		position: absolute;
		right: 20px;
		top: 13px;
	}
}