/*
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  ***************/



.home-banner-slider .porto-ibanner img { width: 100%; object-fit: contain; max-height: 500px !important;}

.porto-ibanner-layer.elementor-widget-wrap.elementor-element-populated.appear-animation.fadeIn.appear-animation-visible {
    display: flex;
    flex-wrap: wrap; }


/*Scroll to top button*/
html #topcontrol {
    background: #e8652f;
    margin-bottom: 70px;
	right: 70px;
	border-radius: 50%;
}

/* reCAPTCHA in the bottom right */
.grecaptcha-badge {
	z-index: 99;
	margin-bottom: 129px;
}

#topcontrol:hover{
    color: #104378 !important;
}

/*Product Images*/
.woocommerce-product-gallery__wrapper .product-images {
    margin-bottom: 5px !important;
}

/*Blog styling*/
div.porto-tb-item .porto-section a.img-thumbnail img {
    max-width: 100% !important;
}

.posts-wrap .type-post {
    border: solid 1px #f4f4f4;
    padding: 0px 20px 40px;
    margin-right: 10px;
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    .ccols-sm-3 > * {
        --porto-cw: 32% !important;
    }
}

.wp-block-group .wp-block-group__inner-container .porto-heading .fa-envelope {
    display: none;
}

.wp-block-group .wp-block-group__inner-container .porto-heading .fa-comments {
    display: none;
}

.wp-block-group .wp-block-group__inner-container .tb-meta-comments {
    display: none;
}

.porto-tb-item .porto-section .tb-meta-published_date {
    margin-top: 10px;
}

.wp-block-latest-posts__list.wp-block-latest-posts li {
    padding: 6px 0 6px 0;
}

.porto-section .porto-tb-featured-image {
    margin-bottom: 0 !important;
}

/* Login popup form */
.mfp-close, .mfp-close-btn-in .mfp-close{
	background-color: transparent;
	color: #e8652f;
}

/*Contact form*/
.form-control, textarea {
    line-height: 1.35 !important;
}

/* Max-width adjustments */
@media (min-width: 1400px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
		max-width: 1600px;
	}
}

/* 	Contact page */
.e-n-accordion-item {
	margin-bottom: 25px !important;
}

/* Porto slider on homepage  */
.porto-tb-item .product-inner .product-image .inner img {
  height: 15em !important;
	width: auto !important;
	text-align: center;
	margin: auto;
}

li.product:hover .product-image {
  box-shadow: 0 25px 35px -5px rgba(0,0,0,0.0);
}

li.product-default:hover .add-links .add_to_cart_button {
	background-color: #e8652f;
	border: none;
}

/* Contact form */
.elementor-kit-3634 button, .elementor-kit-3634 input[type="button"], .elementor-kit-3634 input[type="submit"], .elementor-kit-3634 .elementor-button {
  background-color: #e8652f;
	border-color: #e8652f;
}

/* Hidden header on promotions/home page */
.page-id-4400 .page-header-6, .page-id-5673 .page-header-6, .page-id-5933 .page-header-6, .page-id-6064 .page-header-6, .page-id-6898 .page-header-6, .page-id-7619 .page-header-6, .page-id-7733 .page-header-6, .page-id-8219 .page-header-6, .page-id-1045 .page-header-6, .page-id-2050 .page-header-6, .error404 .page-header-6{
	display: none;
}

.page-id-4400 .top-border .nav::before {
	border-top: 0px solid #e7e7e7;
}

/* Hidden header on products and categories/home page */
.page-id-4620 .page-header-6 {
	display: none;
}

.page-id-4620 .top-border .nav::before {
	border-top: 0px solid #e7e7e7;
}

.page-id-4620 .product-default {
	border: solid 2px #f7f7f7;
  border-radius: 20px;
  padding: 40px 20px 20px;
}

.product-content .add-links-wrap .add-links .add_to_cart_button {
  color: #fff !important; 
}

.page-id-4620 .product-image .labels .onsale {
  padding: 15px;
  margin-bottom: 0;
	border-radius: 0;
}

/* Adjustments to Alternative Homepage */
.page-id-4962 .page-header-6 {
	display: none;
}

.page-id-4962 .top-border .nav::before {
	border-top: 0px solid #e7e7e7;
}

.page-id-4962 .product-default {
	border: solid 1px #e7e7e7;
  border-radius: 0;
  padding: 40px 20px 20px;
}

.product-content .add-links-wrap .add-links .add_to_cart_button {
  color: #fff !important; 
}

/* Adjustments to Alternative Homepage 2 */
.page-id-5673 .product-default {
	border: solid 1px #e7e7e7;
  border-radius: 0;
  padding: 40px 20px 20px;
}

/* Adjustments to Alternative Homepage 3 */
.page-id-5933 .product-default {
	border: solid 1px #e7e7e7;
  border-radius: 0;
  padding: 40px 20px 20px;
}

/* Adjustments to Alternative Homepage 4 */
.page-id-6064 .product-default {
  border: solid 0 #f7f7f7;
  border-radius: 20px;
  padding: 40px 20px 20px;
	background: #fff;
}

.page-id-6064 #main {
	background: #f7f7f7;
}

/* Adjustments to Alternative Homepage 5 */
.page-id-6898 .product-default {
  border: solid 0 #f7f7f7;
  border-radius: 20px;
  padding: 40px 20px 20px;
	background: #fff;
}

.page-id-6898 #main {
	background: #f5f5f5;
}

/* Adjustments to Alternative Homepage 6 */
.page-id-7619 .product-default {
	border: solid 1px #e7e7e7;
  border-radius: 0;
  padding: 40px 10px 20px;
}

/* Adjustments to Alternative Homepage 7 */
.page-id-7733 #main {
	background: #f7f7f7;
}

.page-id-7733 .product-default {
  border: solid 0 #e7e7e7;
  border-radius: 10px;
  padding: 40px 10px 20px;
  background: #fff;
}

/* Adjustments to Alternative Homepage 8 */
.page-id-8219 #main {
	background: #f7f7f7;
}

.page-id-8219 .product-default {
  border: solid 0 #e7e7e7;
  border-radius: 00px;
  padding: 40px 10px 20px;
  background: #fff;
}

/* Product on sale styling */
.product-image .labels .onsale, .summary-before .labels .onsale {
  background: #e8652f;
  color: var(--porto-sale-color-inverse,#fff);
	font-size: 20px;
}

.product-image .labels .onsale {
  padding: 15px;
  margin-bottom: 0;
	border-radius: 0;
}

/* Product Images on Product Archive Pages  */
.porto-ajax-load .porto-tb-item .porto-section .porto-tb-featured-image .img-thumbnail img {
  height: 15em !important;
	width: auto !important;
	text-align: center;
	margin: auto;
}

.product-content .porto-heading {
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-wrapper .add_to_cart_button {
	background-color: #e8652f !important;
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	font-size: 0.7em;
	background: #e8652f;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	  background: #e8652f;
}

.porto-tb-item .product-type-qibi {
	border: solid 1px #e7e7e7;
  border-radius: 0;
  padding: 40px 20px 20px !important;
}

.single-product-price{
	margin-top: 20px;
}
.single-product-price > .price > .woocommerce-Price-amount, .single-product-price ins .woocommerce-Price-amount{
	color: #e8652f;
}
.low-stock-text{
	font-size: x-small;
	color: red;
}

/* Padding on the left and right of homepage */
.page-id-4620 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative */
.page-id-4962 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 2 */
.page-id-5673 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 3 */
.page-id-5933 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 4 */
.page-id-6064 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 5 */
.page-id-6898 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 6 */
.page-id-7619 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 7 */
.page-id-7733 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Padding on the left and right of homepage alternative 8 */
.page-id-8219 .row > * { 
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Hidden Social Media icons on mobile */
#side-nav-panel .share-links {
	display: none;
}

#menu-product-categories {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Side menu on categories pages */
.woocommerce-page .sidebar-content .sidebar-menu-wrap ul li a:hover {
    color: #fff;
}

.product-categories .woocommerce-page .sidebar-content ul li .menu-item>a:hover {
    color: var(--porto-heading-color);
}

.product-categories .cat-item .woocommerce-page .sidebar-content ul li a:hover, .woocommerce-page .sidebar-content ul li.current>a {
    color: #222529;
}

/* Hiding size guide on product pages */
.global_tab_tab {
	display: none !important;
}

/* Cross Sells on Cart page */
ul.products.product_list_widget .product .product-inner{
	width: 100%;
}
.cart-v2 .box-content .cross-sells{
	border-top: 1px solid var(--porto-gray-5);
  	margin-top: 100px;
  	padding-top: 50px;
}
.page-content>.woocommerce>.cross-sells{
	display: none;
}

/* Reviews, Q & A */
.cr-qna-block .cr-qna-search-block .cr-qna-ask-button{
	background: #e8652f;
}
.cr-qna-block .cr-qna-search-block .cr-qna-ask-button:hover{
	background: var(--porto-primary-color);
}
.cr-all-reviews-shortcode .cr-review-form-wrap .cr-review-form-buttons .cr-review-form-submit, .cr-ajax-reviews-review-form .cr-review-form-wrap .cr-review-form-buttons .cr-review-form-submit, .cr-reviews-grid .cr-review-form-wrap .cr-review-form-buttons .cr-review-form-submit, .cr-qna-block .cr-review-form-buttons .cr-review-form-submit, .cr-qna-block .cr-review-form-not-logged-in .cr-review-form-continue{
	background-color: #e8652f;
}
.cr-all-reviews-shortcode .cr-review-form-buttons .cr-review-form-submit:hover, .cr-ajax-reviews-review-form .cr-review-form-buttons .cr-review-form-submit:hover, .cr-reviews-grid .cr-review-form-buttons .cr-review-form-submit:hover, .cr-qna-block .cr-review-form-buttons .cr-review-form-submit:hover, .cr-qna-block .cr-review-form-not-logged-in .cr-review-form-continue:hover{
	background: var(--porto-primary-color);
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-icon circle{
	stroke: #999;
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-icon path{
	fill: #999;
	stroke: #999;
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-icon rect {
	fill: #999;
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-ans-button{
	color: #000000;
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-q .cr-qna-list-q-q-r .cr-qna-list-q-author, .cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-a .cr-qna-list-q-a-r .cr-qna-list-q-author{
	color: #999;
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-author-verified{
	color: #999;
}
.cr-qna-block .cr-qna-list-block .cr-qna-list-q-cont .cr-qna-list-q-author-verified path{
	stroke: #999;
	fill: #999;
}

/* Product image styling */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-images .product-image-slider .img-thumbnail div.inner {
    width: 30rem !important;
    height: 25rem !important;
    margin: 5% auto !important;
}

@media (min-width: 768px) and (max-width: 1220px) {
	.woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-images .product-image-slider .img-thumbnail div.inner {
		width: auto !important;
		height: 25rem !important;
		margin: 5% auto !important;
}

}

.porto-block .product-layout-image .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-images .product-image-slider .img-thumbnail div.inner img {
    width: inherit;
    height: inherit;
    object-fit: contain;
}

.woocommerce-product-gallery .product-thumbs-slider .img-thumbnail img {
    width: inherit;
    height: inherit;
    object-fit: contain;
    padding: 5px;
}

.woocommerce-product-gallery .product-thumbnails div:has(> .img-thumbnail) {
    width: 90px !important;
    height: 90px !important;
}

/* Image to text */
.Imt {
Opacity: 0;
transition-duration: 1.5s;
}

.Imt:hover {
Opacity: 1;
transition-duration: 1.5s;
}

/* HR Lines */

.hr-lines {
  position: relative;
}

.hr-lines::before {
  content: " ";
  display: block;
  height: 1px; /* Adjust as needed */
  width: 40%; /* Adjust as needed */
  position: absolute;
  top: 50%; /* Vertical centering */
  left: 0;
  background: #555555; /* Adjust color as needed */
}

.hr-lines::after {
  content: " ";
  display: block;
  height: 1px; /* Adjust as needed */
  width: 40%; /* Adjust as needed */
  position: absolute;
  top: 50%; /* Vertical centering */
  right: 0;
  background: #555555; /* Adjust color as needed */
}

@media (max-width: 1366px) {
	.hr-lines::before, .hr-lines::after {
		  width: 35%; /* Adjust as needed */
	}
}

@media (max-width: 991px) {
	.hr-lines::before, .hr-lines::after {
		  width: 30%; /* Adjust as needed */
	}
}

@media (max-width: 767px) {
	.hr-lines::before, .hr-lines::after {
		  width: 5%; /* Adjust as needed */
	}
}

/* Auto Parts Category */
.term-1106 .porto-tb-item .porto-section {
	background-color: #f7f7f7;
}

.term-1106 .porto-tb-item .porto-section .porto-section .porto-section .quantity {
	background: #fff;
}

.term-1106 .porto-section .tb-meta-product_cat {
	color: #808080;
	font-size: 12px;
}

/* Arts, Crafts, & Sewing Parts Category */
.term-1029 .porto-tb-item .porto-section {
	background-color: #f7f7f7;
	border-radius: 20px;
}

.term-1029 .porto-tb-item .porto-section .porto-section .porto-section .quantity {
	background: #fff;
}

.term-1029 .porto-section .tb-meta-product_cat {
	color: #808080;
	font-size: 12px;
}

/* Cleaning Supplies Category */
.term-1031 #main {
	background-color: #f7f7f7;
}

.term-1031 .porto-tb-item .porto-section {
	background-color: #fff;
	border-radius: 20px;
}

.term-1031 .page-top {
	background-color: #f7f7f7;
}

.term-1031 .porto-section .tb-meta-product_cat {
	font-size: 12px;
}

/* Baby Health Safety Category */
.term-1140 #main {
	background-color: #f7f7f7;
}

.term-1140 .porto-tb-item .porto-section {
	background-color: #fff;
	border-radius: 0;
}

.term-1140 .page-top {
	background-color: #f7f7f7;
}

.term-1140 .porto-section .tb-meta-product_cat {
	font-size: 12px;
}

/* Nursery */
.term-1139 .porto-tb-item .porto-section {
	background-color: #fff;
	border-radius: 20px;
}

.term-1139 .porto-section .tb-meta-product_cat {
	font-size: 12px;
}

/* Font weight for product condition */
.product-condition {
	font-weight: 300;
}

.product-condition strong {
	font-weight: 600;
}

.product-condition {
	margin-top: 4px;
}

/* Style the question mark icon */
.tooltip-icon {
    display: inline-block;
    margin-left: 6px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    background-color: #fff;
	border: 1px #333 solid;
    color: #333;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    cursor: help;
    position: relative;
    font-family: Arial, sans-serif;
	margin-top: -4px;
}

/* Custom tooltip */
.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: normal;
	max-width: 600px; 
	min-width: 500px;
	word-wrap: break-word;
    z-index: 99;
    font-size: 13px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.tooltip-icon:hover::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

@media (max-width: 768px) {
	.tooltip-icon:hover::after {
		left: 100%;
		transform: translateX(-30%);
	}
}

@media (max-width: 500px) {
	.tooltip-icon:hover::after {
		min-width: 400px;
		left: 0%;
	}
}

@media (max-width: 400px) {
	.tooltip-icon:hover::after {
		min-width: 300px;
		transform: translateX(-45%);
		left: 0%;
	}
}

@media (max-width: 300px) {
	.tooltip-icon:hover::after {
		min-width: 250px;
		left: 0%;
	}
}

/* Tooltip on checkout page */

/* Tooltip wrapper */
.custom-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

/* Tooltip icon */
.custom-tooltip-icon {
    background-color: #111;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
	border: solid 1px #111;
    width: 16px;
    height: 16px;
    display: inline-block;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
    margin-left: 0;
}

/* Tooltip text */
.custom-tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 500px;
    background-color: #222;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 10px;
    position: absolute;
    z-index: 99;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.2s;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Show tooltip on hover */
.custom-tooltip-wrapper:hover .custom-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Optional arrow */
.custom-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}

/* my account view order page */
.woocommerce-MyAccount-content .tracking-info{
	width: 90%;
	margin-left: 0;
}
@media (max-width: 991px) {
	.woocommerce-MyAccount-content .tracking-info{
		width: 100%;
	}
}

/* order tracking page */
.order-tracking-container .order-info mark{
	display: inline-block;
    padding: 0.2em 2.8px;
    background-color: #fcf8e3;
}

/* Tooltip on checkout page responsive settings */
@media (max-width: 768px) {
	.custom-tooltip-text {
		transform: translateX(-50%);
	}
}

@media (max-width: 650px) {
	.custom-tooltip-text {
		width: 480px;
		transform: translateX(-70%);
	}
}

@media (max-width: 500px) {
	.custom-tooltip-text {
		width: 380px;
		transform: translateX(-80%);
	}
}

@media (max-width: 400px) {
	.custom-tooltip-text {
		width: 280px;
		transform: translateX(0%);
	}
}

@media (max-width: 360px) {
	.custom-tooltip-text {
		width: 260px;
		transform: translateX(-30%);
	}
}

@media (max-width: 300px) {
	.custom-tooltip-text {
		width: 250px;
		transform: translateX(-50%);
	}
}

@media (min-width: 1600px) and (max-width: 1675px) {
	.custom-tooltip-text {
		width: 350px;
	}
}

@media (min-width: 1500px) and (max-width: 1599px) {
	.custom-tooltip-text {
		width: 300px;
	}
}

@media (min-width: 1400px) and (max-width: 1499px) {
	.custom-tooltip-text {
		width: 270px;
	}
}

@media (min-width: 651px) and (max-width: 710px) {
	.custom-tooltip-text {
		width: 320px;
	}
}

@media (min-width: 500px) and (max-width: 560px) {
	.custom-tooltip-text {
		width: 360px;
		transform: translateX(-80%);
	}
}

@media (min-width: 454px) and (max-width: 473px) {
	.custom-tooltip-text {
		transform: translateX(0%);
	}
}

@media (min-width: 401px) and (max-width: 453px) {
	.custom-tooltip-text {
		width: 320px;
		transform: translateX(-20%);
	}
}

@media (min-width: 360px) and (max-width: 399px) {
	.custom-tooltip-text {
		transform: translateX(-30%);
	}
}

@media (min-width: 308px) and (max-width: 340px) {
	.custom-tooltip-text {
		width: 240px;
		transform: translateX(-60%);
	}
}

@media (min-width: 301px) and (max-width: 307px) {
	.custom-tooltip-text {
		width: 240px;
		transform: translateX(-80%);
	}
}

@media (min-width: 279px) and (max-width: 300px) {
	.custom-tooltip-text {
		width: 250px;
		transform: translateX(-80%);
	}
}

@media (max-width: 278px) {
	.custom-tooltip-text {
		transform: translateX(-20%);
	}
}

/* Product slider */
@media (min-width: 576px) and (max-width: 1200px) {
.owl-stage-outer .owl-stage .owl-item .product-inner .product-image .inner {
		height: 17em !important;
		display: grid;
	}

.porto-tb-item .product-inner .product-image .inner img {
		height: auto !important;
	}
}

/* Price on Slider */
li.product-default .price {
    margin-bottom: 0.875rem;
    min-height: 2.25em !important;
}

/* Powered by GDPR Cookie Compliance Promo on the Cookies Settings */
.moove-gdpr-branding-cnt {
	display: none;
}

/* checkout error */
.woocommerce-error a{
    color: #6d1a17;
    list-style: none;
}

/* Images for product pages on mobile */
@media (max-width: 468px) {
	.woocommerce-product-gallery .woocommerce-product-gallery__wrapper .product-images .product-image-slider .img-thumbnail div.inner {
		width: auto !important;
		height: auto !important;
		margin: 5% auto !important;
	}
}

.porto-icon-menu {
	z-index: 99;
	position: relative;
}

.accordion-menu ul.sub-menu {
	background: #f7f7f7;
}

.woocommerce-page .sidebar-content .sidebar-menu-wrap ul li a:hover {
	color: #222529;
}

/*ADA Button Styling*/
.onetap-root .onetap-container-toggle .onetap-toggle img.design-size1 {
	padding: 10px !important;
	width: 52px !important;
	height: 52px !important;
}

/*Scroll to top button*/
html #topcontrol {
	width: 60px;
	height: 60px;
	margin-bottom: 72px;
}
