/*
Theme Name: 	Emarket Child Theme
Theme Uri:  	http://demo.wpthemego.com/themes/sw_emarket/
Description:  	A child theme of SW Emarket
Author:     	Magentech
Author Uri: 	http://www.themeforest.net/user/magentech
Template:   	emarket
Version:    	1.0.1
License:    	GNU General Public License v2 or later
*/

.woocatalog-contact{
	display:none;
}

.custom-product-wrapper {
    display: flex;
    flex-direction:row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px; /* Adjust as needed for the desired space on the sides */
    box-sizing: border-box;
}

.custom-product-wrapper li {
    width: calc(5% - 20px); /* Adjust as needed for the desired space between items */
    margin-bottom: 20px; /* Adjust as needed for the desired space between rows */
    box-sizing: border-box;
}


.popup-container {
    display: none;
	padding:0% 15% 0% 15%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
	z-index:6000;
	display:absolute;
}

.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.close-btn {
    cursor: pointer;
	z-index:7000;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 100px;
    color: black;
}

body .outer-flex-container .flex-container {
    width: 100% !important;
    max-width: 1680px !important;
}

/*body .left-sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0; 
    bottom: 0;
    width: 10px; 
    background: rgba(0, 0, 0, 0.3); 
}*/
.sw-woo-tab-cat3 .resp-tab .tab-pane .responsive-slider .slider .item .item-wrap {
  margin-bottom: 30px;
}
body .resp-slider-container .item-detail {
  background-color: #f7f7f7 !important;
  padding: unset !important;
}
.item .item-wrap .item-detail .item-img a img {
  border-radius: 5px;
}
body .resp-slider-container .item-detail {
    background-color: #ffffff; /* Background color of the card */
    border-radius: 8px; /* Border radius for rounded corners */
    padding: 10px; /* Padding inside the card */
    box-shadow: 0 3px 10px rgba(122, 156, 89, 0.2); /* Box shadow */
    transition: box-shadow 0.5s; /* Transition effect for smooth hover */
}

body .resp-slider-container .item-detail:hover {
    box-shadow: 0 3px 10px rgba(93, 94, 93, 0.6); /* Adjusted box shadow on hover */
}
body .resp-slider-container .item-content {
    height: 100px;
}
.sw-woo-tab-cat3 .resp-tab .tab-pane .responsive-slider .slider .item .item-wrap .item-detail .item-content{
	padding : 10px !important;
}
/* end customs by devAs */ 

/* .left-sidebar */
/*mobile*/
@media (max-width: 768px) {
    .flex-container{
        margin-left: 0%;
        flex-direction: column;
    }
    .left-sidebar{
        display: none;
        text-align: right;
        padding-right: 25px;
        padding-top: 50px;
        justify-content: flex-end;
        /* width: 15%; newly added */
    }
    .right-sidebar{
        display: none;
    }
    .middle-content{
        width: 100%;
        /* width: 85%; newly added */
    }
}

@media only screen and (max-width: 1200px) {
	div#contents {
  		padding-left: 10px;
	}
}
@media only screen and (min-width:1024px) and (max-width:1468px) {
	div#contents{
		width: 80% !important;
	}
}


/*Tablet*/
@media only screen and (max-width: 1200px) and (min-width: 769px) {
    .flex-container{
        margin-left: 0%;
        flex-direction: row;
        display: flex;
    }
    /* .left-sidebar{
        width:30%;
        padding-right: 55px;
        padding-top: 50px;
        justify-content: flex-end;
    } */
    /* Style for li */
    .left-sidebar ul li {
        padding: 2px;
    }
    /* Style for main categories */
    .left-sidebar .custom-product-categories .product-category a {
        font-weight: bold; 
        color: #5c7131;
    }
    /* Style for subcategorie's category */
    .left-sidebar .custom-product-categories .sub-category a {
        /* margin-left: 10px;  */
        color: #5c8231; 
    }
    /* Style for subcategorie's categories childs*/
    .left-sidebar .custom-product-categories .sub-categories .sub-category ul li a {
        /* margin-left: 10px;  */
        color: #90b939; 
    }
    .left-sidebar a:hover {
        color: #41443c;
    }
    /* end customs by devAs */ 
    /*.right-sidebar{
        width: 30%;
    }*/
    /*.middle-content{
        width: 80% !important;
        max-width: 80% !important;
    }*/
}

/*Desktop*/
@media only screen and (max-width: 1680px) and (min-width: 1201px) {
    .outer-flex-container{
        display: flex;
        justify-content: center;
    }
    .flex-container{
        margin-left: 0%;
        flex-direction: row;
        display: flex;
		width:100%;
    }
    /*.left-sidebar{
        width:300px;
        max-width:300px;
        text-align: right;
        padding-right: 55px;
        padding-top: 50px;
        justify-content: flex-end;
    }*/

    /* customs by devAs */
    .left-sidebar {
        width: 300px;
        min-width: 200px;
        max-width: 300px;
        text-align: right;
        padding-top: 30px;
        justify-content: flex-end;
        background-color: #eaeaea; /* Background color or transparent */
        /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
    }
    /* Style for li */
    .left-sidebar ul li {
        padding: 3px;
    }
    /* Style for main categories */
    .left-sidebar .custom-product-categories .product-category a {
        font-weight: bold; 
        color: #5c7131;
    }
    /* Style for subcategorie's category */
    .left-sidebar .custom-product-categories .sub-category a {
        /* margin-left: 10px;  */
        color: #5c8231; 
    }
    /* Style for subcategorie's categories childs*/
    .left-sidebar .custom-product-categories .sub-categories .sub-category ul li a {
        /* margin-left: 10px;  */
        color: #90b939; 
    }
    .left-sidebar a:hover {
        color: #41443c;
    }
    /* end customs by devAs */    

    .right-sidebar{
        width: 0px;
/*        background-color: green;*/
    }
    .middle-content{
        max-width: 1380px;
        width: 1380px;
        padding: 15px; /* for except post-16 pages */
        align-items: left;
        align-content: left;
        justify-content: flex-start;
        text-align: left;
        float: left;
    }
}

/*Large - ss */
@media only screen and (max-width: 2200px) and (min-width: 1681px) {
    .outer-flex-container{
        display: flex;
        justify-content: center;
    }
    .flex-container{
        margin-left: 0%;
        flex-direction: row;
        display: flex;
    }
    /* .left-sidebar{
        width:300px;
        text-align: right;
        padding-right: 55px;
        padding-top: 50px;
        justify-content: flex-end;
    } */
        /* customs by devAs */
        .left-sidebar {
        width: 300px;
        min-width: 250px;
        max-width: 320px;
        text-align: right;
        padding-right: 35px;
        padding-top: 30px;
        justify-content: flex-end;
        background-color: #eaeaea; /* Background color or transparent */
        /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
    }
    /* Style for li */
    .left-sidebar ul li {
        padding: 3px;
    }
    /* Style for main categories */
    .left-sidebar .custom-product-categories .product-category a {
        font-weight: bold; 
        color: #5c7131;
    }
    /* Style for subcategorie's category */
    .left-sidebar .custom-product-categories .sub-category a {
        /* margin-left: 10px;  */
        color: #5c8231; 
    }
    /* Style for subcategorie's categories childs*/
    .left-sidebar .custom-product-categories .sub-categories .sub-category ul li a {
        /* margin-left: 10px;  */
        color: #90b939; 
    }
    .left-sidebar a:hover {
        color: #41443c;
    }
    /* end customs by devAs */ 
    .right-sidebar{
        width: 0px;
    }
    .middle-content{
        max-width: 1380px;
        width: 1380px;
        padding: 15px; /* for except post-16 pages */
        align-items: left;
        align-content: left;
        justify-content: flex-start;
        text-align: left;
        float: left;
    }
}


/*Large*/
/*@media only screen and (max-width: 1680px) {*/
@media only screen and (max-width: 4200px) and (min-width: 2201px) { 
    .outer-flex-container{
        display: flex;
        justify-content: center;
    }
    .flex-container{
        margin-left: 0%;
        flex-direction: row;
        display: flex;
    }
    /* .left-sidebar{
        width:300px;
        text-align: right;
        padding-right: 55px;
        padding-top: 50px;
        justify-content: flex-end;
    } */
     /* customs by devAs */
     .left-sidebar {
        width: 300px;
        min-width: 250px;
        max-width: 320px;
        text-align: right;
        padding-right: 35px;
        padding-top: 30px;
        justify-content: flex-end;
        background-color: #eaeaea; /* Background color or transparent */
        /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
    }
    /* Style for li */
    .left-sidebar ul li {
        padding: 3px;
    }
    /* Style for main categories */
    .left-sidebar .custom-product-categories .product-category a {
        font-weight: bold; 
        color: #5c7131;
    }
    /* Style for subcategorie's category */
    .left-sidebar .custom-product-categories .sub-category a {
        /* margin-left: 10px;  */
        color: #5c8231; 
    }
    /* Style for subcategorie's categories childs*/
    .left-sidebar .custom-product-categories .sub-categories .sub-category ul li a {
        /* margin-left: 10px;  */
        color: #90b939; 
    }
    .left-sidebar a:hover {
        color: #41443c;
    }
    /* end customs by devAs */ 
    .right-sidebar{
        width: 0px;
/*        background-color: green;*/
    }
    .middle-content{
        max-width: 1380px;
        width: 1380px;
        padding: 15px; /* for except post-16 pages */
        align-items: left;
        align-content: left;
        justify-content: flex-start;
        text-align: left;
        float: left;
    }
}

/*Extra Large*/
@media only screen and (min-width: 4201px) {
    .outer-flex-container{
        display: flex;
        justify-content: center;
    }
    .flex-container{
        margin-left: 0%;
        flex-direction: row;
        display: flex;
    }
    /* .left-sidebar{
        width:300px;
        text-align: right;
        padding-right: 55px;
        padding-top: 50px;
        justify-content: flex-end;
    } */
     /* customs by devAs */
     .left-sidebar {
        width: 300px;
        min-width: 200px;
        max-width: 300px;
        text-align: right;
        padding-right: 35px;
        padding-top: 30px;
        justify-content: flex-end;
        background-color: #eaeaea; /* Background color or transparent */
        /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
    }
    /* Style for li */
    .left-sidebar ul li {
        padding: 3px;
    }
    /* Style for main categories */
    .left-sidebar .custom-product-categories .product-category a {
        font-weight: bold; 
        color: #5c7131;
    }
    /* Style for subcategorie's category */
    .left-sidebar .custom-product-categories .sub-category a {
        /* margin-left: 10px;  */
        color: #5c8231; 
    }
    /* Style for subcategorie's categories childs*/
    .left-sidebar .custom-product-categories .sub-categories .sub-category ul li a {
        /* margin-left: 10px;  */
        color: #90b939; 
    }
    .left-sidebar a:hover {
        color: #41443c;
    }
    /* end customs by devAs */ 
    .right-sidebar{
        width: 0px;
/*        background-color: green;*/
    }
    .middle-content{
        max-width: 1380px;
        width: 1380px;
        padding: 15px; /* for except post-16 pages */
        align-items: left;
        align-content: left;
        justify-content: flex-start;
        text-align: left;
        float: left;
    }
}

/* custom css by nazcloak */

.top-login5 .div-logined li {
  display: flex;
}

/* wc myacocunt horizontal menu mod */
@media only screen and (min-device-width: 769px) and (max-device-width: 1024px) {
	 .post-16 .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
		  margin: unset !important;
		  padding: 0 30px;
	}
}
@media only screen and (min-width:524px) {
	.post-16 .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
  		margin: auto;
	}
}
@media only screen and (min-width:524px) and (max-width:768px){
	.post-16 .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
		margin: unset !important;
		padding: 0 50px 0 10px;
  	}
}
@media only screen and (min-width: 768px) {
   .woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .woocommerce-MyAccount-navigation      	{
       float: none !important;
       width: 100% !important;
	   overflow-x: auto;
   }
	ul li.woocommerce-MyAccount-navigation-link {
	  	display: inline-block;
		font-weight: 600;
    	border: 1px solid #007dea;
    	border-radius: 3px;
    	background-color: #007dea;
	}
	ul li.woocommerce-MyAccount-navigation-link.is-active, ul li.woocommerce-MyAccount-navigation-link:hover {
  		background-color: #030360;
	}
	ul li.woocommerce-MyAccount-navigation-link a{
		color: white !important;
	}
	.woocommerce-account #contents .entry-content nav.woocommerce-MyAccount-navigation > ul{
		width: max-content !important;
	}

}

/* footer newsletter fix*/
.newsletter-footer{
	padding-left: 15px;
}
.newsletter-footer .newsletter-footer-top{
	margin-right:15px;
}
.elementor-element.elementor-element-6a0cec2.elementor-widget.elementor-widget-html .elementor-widget-container {
  float: right;
}

/* customs by devAs */
.outer-flex-container {
    max-width: 1680px;
    margin: auto;
}
.flex-container .sidebar-row {
    display: none !important;
}
.slider.responsive.slick-initialized.slick-slider {
    padding: 10px;
}

/* hide x scroll bar by devAs */
.middle-content .woocommerce-MyAccount-navigation {
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.middle-content .woocommerce-MyAccount-navigation::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
    width: 0;
    height: 0;
}
/* end - hide x scroll bar by devAs */

/* custom styles for ecard on myaccount */
.ecard-list {
    list-style: none;
    padding: 0;
    margin-left: 0px !important;
}

.ecard-item {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ecard-image {
    flex: 0 0 30%; /* Adjust image width */
}

.ecard-image img {
    max-width: 100%; 
    max-height: 240px; 
    border-radius: 8px 0 0 8px; 
}

.ecard-details {
    flex: 1;
    padding: 20px;
}

.ecard-product-title {
    margin-top: 0;
    font-size: 20px;
}

.ecard-product-info {
    font-size: 14px;
    margin-top: 10px;
}

.ecard-detail-label {
    font-weight: bold;
}

.ecard-status {
    font-weight: bold;
}

.unscheduled {
    color: #8f2828; /* Red for unscheduled status */
}

.scheduled {
    color: #fdb42d; /* Orange for scheduled status */
}

.confirmed {
    color: #418841; /* Green for confirmed status */
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Adjust image width */
    .ecard-image {
        flex: 0 0 40%; 
    }
    /* Reduce font sizes */
    .ecard-product-title {
        font-size: 14px; 
    }
    .ecard-product-info {
        font-size: 12px; 
    }
}
@media only screen and (max-width: 480px) {
  .mobile-layout .sw-tab-cat-mobile .resp-tab .top-tab-slider .tab_list {
	  overflow-x:scroll;
	}
}
.no-bullets li a::before{
	display: none !important;
}
.nc-inline-menu ul {
  display: flex;
}

.pp-advanced-menu--dropdown ul li a span {
  color: #333 !important;
  font-size: 1.3em;
  font-weight: 500;
}
