/* 
Theme Name:		 YITH Proteo Child
Theme URI:		 https://proteo.yithemes.com/
Description:	 yith-proteo-child is a child theme of YITH Proteo
Author:			 YITH
Author URI:		 https://yithemes.com/
Template:		 yith-proteo
Version:		 1.1.0
Text Domain:	 yith-proteo-child
*/






/* TOP BAR */
header span.lnr,
header div.lnr {   
    font-size: 1.8rem;
    vertical-align: bottom;    
}
a.tel {
    font-weight: 700;
}
a.yith-proteo-user-welcome-message span.lnr-user {
    font-size: 1.8rem;
    vertical-align: initial;
}
#topbar .widget_search:before, .header-sidebar .widget_search:before {
    font-size: 1.8rem;
    width: 1.8rem;
}
#topbar {    
    width: 100%;
    border-top: 0.5rem solid #111;
    z-index: 1000;
}
#topbar .widget:first-child {    
    padding-left: 0;
    padding-right: 2.5rem;    
}
#topbar .widget:nth-child(2) {    
    padding-left: 0.5rem;        
}
#topbar .widget:first-child::before {    
    position: absolute;
    content: '';
    border-right: 40px solid #57595c;
    border-left: 0 solid #57595c;
    border-bottom: 38px solid transparent;
    top: 0;       
    left: -40px;
}
#topbar section.widget:nth-child(2)::before {    
    position: absolute;
    content: '';
    border-right: 40px solid #111;
    border-left: 0 solid #111;
    border-bottom: 38px solid transparent;
    top: 0;       
    left: -40px;
}
#topbar .widget:last-child::after {    
    position: absolute;
    content: '';
    border-left: 40px solid #111;
    border-right: 0 solid #111;
    border-bottom: 38px solid transparent;
    top: 0;       
    right: -40px;
}
.yith-proteo-social-icons,
.widget_shopping_cart_content {
    display: inline-block;
}
.widget_shopping_cart:hover .yith-proteo-mini-cart-content {
    top: 100%;
}
#topbar .lnr-phone-handset {
    margin-right: 0.4rem;

}
#topbar .widget {
    height: 2.4rem;    
    margin: 0;
    padding: 0.2rem 1rem 0;
    vertical-align: top;
    background: #111;
}
#topbar .widget:first-child {    
    background: #57595c;
}
.widget_yith_proteo_social_icons a.yith-proteo-social-icon {
    margin: 0 5px;
}
.widget_yith_proteo_social_icons a.yith-proteo-social-icon span {   
    font-size: 1.8rem;
}
#topbar .widget h2.widget-title {   
    font-size: 1rem;
}
#topbar .widget_search {
    margin-left: -0.5rem;
    padding: 0;
}
@media (min-width: 992px){ 
    #topbar {   
        position: fixed;
        padding: 0;
    }
}
@media (max-width: 1200px){ 
    #topbar .widget h2.widget-title,
    #topbar #block-14,
    a.yith-proteo-user-welcome-message span:last-child {
        display: none;
    }  
    #topbar .widget_search {
        margin-left: 0;
    }  
    #topbar .widget {        
        padding: 0 15px;        
    }
}
.widget_shopping_cart .widget_shopping_cart_content {    
    position: relative;
}

/* MAIN MENU */
.site-header.sticky .header-contents .site-branding .custom-logo-link {
    max-width: 250px;    
}
@media (min-width: 992px) {
    .site-header.left_logo_navigation_inline .header-contents {
        display: block !important;
    }
    .site-header.left_logo_navigation_inline .main-navigation {
        display: block !important;
    }
}
@media (min-width: 1200px) {
    .site-header.left_logo_navigation_inline .header-contents {
        display: table !important;
    }
    .site-header.left_logo_navigation_inline .main-navigation {
        display: table-cell !important;
    }
}
.main-navigation li:last-child {
    margin-right: 0;
}
.main-navigation ul ul {
    padding: 30px;;
}
.main-navigation li li {
    padding: 0;
}
@media (min-width: 992px) and (max-width: 1200px){
    .main-navigation li[class*=has-children] {
        position: initial;
    }	
    .main-navigation ul {
        font-size: 16px;
        letter-spacing: 1px;
    }
    .main-navigation ul ul {		
		width: 100%;               			
	}
    .main-navigation li {
        margin-right: 15px;
    }
    .main-navigation ul ul a {
        width: auto;
    }
    .main-navigation ul ul li {		
		float: left;
		width: 25%;
	}   	
    .main-navigation ul ul a * {		
		vertical-align: middle;        
	}
    .main-navigation ul ul li a div {		
        font-size: 0.9rem;
        display: block;
	}
    .main-navigation ul ul li a div img {
		float: left;
        margin-right: 0.8rem;
	}
    .main-navigation ul ul li a div span {
		display: table-cell;
        height: 50px;
        padding-right: 1rem;
        vertical-align: middle;
        line-height: 1rem;
	}
}
@media (min-width: 1200px){		
    .main-navigation li[class*=has-children] {
        position: initial;
    }	
    .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
        top: calc(100% - 48px);
    }
    .sticky .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul {
        top: 100%;
    }    
    #primary-menu > .edge-menu-element:hover > .sub-menu {
        left: 0;
        right: 0;
    }
    .main-navigation ul ul:before {
        left:33%;
    }
	.main-navigation ul ul li {		
		float: left;
		width: 16.5%;
	}
    .main-navigation ul ul {		
		width: 100%;               			
	}
    .main-navigation li {
        margin-right: 15px;
    }
    .main-navigation ul ul a {
        width: auto;
    }
    .main-navigation ul ul a * {		
		vertical-align: middle;        
	}
    .main-navigation ul ul li a div {		
        font-size: 0.9rem;
        display: block;
	}
    .main-navigation ul ul li a div img {
		float: left;
        margin-right: 0.8rem;
	}
    .main-navigation ul ul li a div span {
		display: table-cell;
        height: 50px;
        padding-right: 1rem;
        vertical-align: middle;
        line-height: 1rem;
	}   
}
@media (min-width: 1200px) and (max-width: 1400px){	
    .main-navigation ul {
        font-size: 15px;
        letter-spacing: 0px;
    }
    .main-navigation li {
        margin-right: 15px;
    }
}
@media (min-width: 1400px) and (max-width: 1600px){	
    .main-navigation ul {
        font-size: 17px; 
        letter-spacing: 1px;
    }
    .main-navigation li {
        margin-right: 20px;
    }
}

/* PRODUCT CATEGORIES WIDGET */
.wc-block-product-categories-list {
    padding:0;
}
.wc-block-product-categories-list::after {
    clear:both;
    content: "";
    display: table;
    table-layout: fixed;
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {    
    float: left;    
    clear: none;
    width: 50%;
}
@media (min-width: 1200px){		
    .wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {            
        width: 33%;
    }
}
.home .wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {
    float: left;    
    clear: none;
    width: 11%;
}
.home .wc-block-product-categories-list-item a {
    color: #fff;
    font-size: 0.1rem;
    display: block;
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item {
    margin: 0;
}
.wc-block-product-categories-list--has-images .wc-block-product-categories-list-item__image {
    max-width: 100%;
    margin: 0;
    border: none;
}

.tax-product_cat ul.wc-block-product-categories-list,
.single-product ul.wc-block-product-categories-list {
    border-top: 1px solid #d6d4d4;
}
.tax-product_cat li.wc-block-product-categories-list-item,
.single-product li.wc-block-product-categories-list-item {
    border-bottom: 1px solid #d6d4d4;
}
.tax-product_cat ul.wc-block-product-categories-list li a,
.single-product ul.wc-block-product-categories-list li a {
    display: block;
    color: #404040;
    padding: 0.2rem 1rem;
    text-decoration: none;
}
.tax-product_cat ul.wc-block-product-categories-list li a:hover,
.single-product ul.wc-block-product-categories-list li a:hover {
    background: #f6f6f6;
}

/* WOO COMMERCE */
ul.products li.product .woocommerce-loop-product__title {
    font-weight: 700;
}
h1.ban {
    color: #fff;
    text-shadow: 2px 2px 5px black;
}
.woocommerce-products-header {
    padding: 1.5rem 3rem 5rem;
    color: #fff;
    margin-bottom: 1rem;;
}
.woocommerce-products-header__title {    
    margin-bottom: 0.5rem;    
}
.term-description {
    font-weight: 600;
    min-height: 4rem;
}
.wc-block-product-search .wc-block-product-search__field {
    border: none;
}
.widget_shopping_cart .yith-proteo-mini-cart-content {
    background: #111;
}
body.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table tfoot,
#customer_details .col-2,
.woocommerce-shipping-totals,
.wc_payment_method {
    display: none;    
}
table.cart tbody tr td.product-thumbnail a,
table.cart tfoot tr td.product-thumbnail a,
table.shop_table tbody tr td.product-thumbnail a,
table.shop_table tfoot tr td.product-thumbnail a {
    text-align: center;
}
table.cart tbody tr td.product-thumbnail img,
table.cart tfoot tr td.product-thumbnail img,
table.shop_table tbody tr td.product-thumbnail img,
table.shop_table tfoot tr td.product-thumbnail img {
    max-width: 60px;
    max-height: 60px;
    width: auto;
}

/* CART WIDGET */
.widget_shopping_cart .yith-proteo-mini-cart-content ul li img {
    max-width: 50px;
    width: auto;
    vertical-align: top;
    margin-right: 10px;
    max-height: 50px;
}

/* WOO COMMERCE PRODUCT */
.woocommerce-product-gallery__image a {
    text-align: center;
    display: block;
}
.woocommerce-product-gallery__image a .wp-post-image {
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    max-height: 600px;
}
.ft_fds_pw {
    min-width: 100px !important;
}

/* WOO COMMERCE ARCHIVE PRODUCT */
.wc-block-product-categories-list--depth-1,
.wc-block-product-categories-list--depth-2 {
    display: none;
}
.sub_cat_link {
    padding: 2rem 1.5rem 4rem;
    text-decoration: none;
    display: block;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 2px 2px 5px black;    
}
.sub_cat_link:hover {    
    text-decoration: underline;    
    color: #fff;
}
.woocommerce-ordering {
    display: none;
}
h2.sub_cat {
    position: relative;
    font-size: 1.5rem;
    background: #111;
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: 8px;   
}
h2.sub_cat:hover {
    cursor: pointer;
    color: red;       
}
h2.sub_cat::after {
    content: '+';
    position: absolute;
    right: 2rem;
    color: green;
    -webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
    background: #fff;
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    text-align: center;
}
h2.sub_cat.accordion-active::after {
    transform: rotate(225deg);
    color: red;
}
section.sub_cat_products ul.products {
    display: none;
}
section:first-child ul.products {
    display: grid;
}
.yith-proteo-product-loop-image {
    height: 300px;
}
ul.products li.product img,
ul.products li.wc-block-grid__product img,
.wc-block-grid ul.wc-block-grid__products li.product img,
.wc-block-grid ul.wc-block-grid__products li.wc-block-grid__product img,
.search-results article img,
.wcps-items-thumb img {
    display: block;
    width: auto;
    margin: 0 auto;
    max-width: 100%;
    max-height: 300px;
}

/* WCPS homepage featured products */
.wcps-items-title a {
    text-decoration: none;    
    font-weight: 700;
}
.wcps-container-157 .slick-dots li button {
    background: #fff;
}
.wcps-container-157 .slick-dots li.slick-active button {
    background: red;
}

/* widget recent posts */
.widget_recent_entries ul li {
    margin-bottom: 20px;
}
.widget_recent_entries ul li a {
    font-size: 1rem;
}


/* CONTACT */
.wpcf7-form label,
.wpcf7-form-control-wrap {
    margin-bottom: 0;
}
.leaflet-map {
    margin-top: 180px;
}
body:not(.page-id-142) .grecaptcha-badge {
	display: none;
}

/* FOOTER */
footer span.lnr {
    font-size: 1.5rem;
    margin-right: 0.5rem;;
}
footer p {    
    margin: 0.4rem 0;
}
.leaflet-map {
    z-index: 1;
}
.footer-sidebar-1 .widget:first-child,
.footer-sidebar-1 .widget:nth-child(2) {
    display: none;
}
@media (min-width: 992px){		
    .footer-sidebar-1 .widget:first-child,
    .footer-sidebar-1 .widget:nth-child(2) {
        display: block;
    }
}




    