/*
Theme Name: OceanWP Child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
@font-face {
  font-family: 'kohinoorbangla';
  src: url('./fonts/kohinoor-light.ttf') format('truetype');
}

body,
html {
  font-family: 'kohinoorbangla', Sans-serif;
}

/* - woo cat toggling elements, injected via jQuery - */

/* make list item be relative, to be able to position toggle within this item, if desired */
/* #right-sidebar-inner .widget_product_categories ul.product-categories > li.cat-parent {
	position: relative;	
} */
/* the new toggle element wrapper, which is added via jQuery */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle {
	cursor: pointer;
	display: inline-block;
	text-align: center;
	margin-left: 0.5em;
	width: 1.5em;
	line-height: 1em;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
	transition: all 0.4s ease;
	width: 20px;
	height: 20px;
	background: rgba(0,0,0,0.05);
	text-align: center;
	line-height: 20px;
	border-radius: 50%;
}
/* when it's popped, style the toggle wrapper differently */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle.cat-popped {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	background: rgba(0,24,113,1);
	color: white;
}
/* toggle icon */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle::before {
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '+';
	line-height: 20px;
	width: 20px;
	height: 20px;
	text-align: center;
}
/* toggle icon when triggered */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle.cat-popped::before {
	content: '\2013';
}
/* hide sub cats by default */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle ~ ul.wc-block-product-categories-list {
	overflow: hidden;
	max-height: 0;
	transition: all 0.4s ease;
  	margin: 0;
}
/* show sub cats when triggered via jQuery toggle */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle.cat-popped ~ ul.wc-block-product-categories-list {
	max-height: 300px;
  margin: 8px 0 0 30px;
}

/* Custom Setting of Button */
#right-sidebar-inner .my-custom-cat-list .woo-cat-toggle {
    position: absolute;
    top: 0;
    right: 0;
}
.pswp{
	display: none;
}

/* Custom Categories list widget */
#right-sidebar-inner .my-custom-cat-list::before {
    content: "Product Families";
    border-color: #c2251d;
    display: block;
    line-height: 1;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    border-width: 0 0 0 3px;
    border-style: solid;
    letter-spacing: 1px;
    padding-left: 15px;
    margin: 0 0 20px;
    text-transform: capitalize;
}
.html[lang="es-ES"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Familias de Productos" !important;
}
.html[lang="de-DE"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Produktfamilien" !important;
}
.html[lang="it-IT"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Famiglie di Prodotti" !important;
}
.html[lang="fr-FR"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Familles de Produitsi" !important;
}
.html[lang="pl-PL"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Rodziny Produktów" !important;
}
.html[lang="pt-pt"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Famílias de Produtos" !important;
}
.html[lang="nl-NL"] #right-sidebar-inner .my-custom-cat-list::before {
	content: "Product Families" !important;
}
#right-sidebar-inner .my-custom-cat-list .wc-block-product-categories-list--depth-0 > li.wc-block-product-categories-list-item {
    position: relative;
    margin-bottom: 10px;
}

#right-sidebar-inner .my-custom-cat-list .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a {
    position: relative;
    display: block;
    font-size: 13px;
    line-height: 1.6;
    padding-left: 22px;
    text-transform: capitalize;
}

/* #right-sidebar-inner ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1 {
    overflow: hidden;
    max-height: 0;
    transition: all 0.4s ease;
    margin: 0;
} */

#right-sidebar-inner li.wc-block-product-categories-list-item {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 5px;
}


#right-sidebar-inner .my-custom-cat-list .wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item > a {
    position: relative;
    display: block;
    font-size: 13px;
    line-height: 1.6;
}

.fa, .fas { 
	font-weight: 900 !important; 
}
.fa, .far, .fas { 
	font-family: "Font Awesome 5 Free" !important; 
}
.opl-login-li{
	padding: 20px;
    font-weight: bolder;
    font-size: 15px;
}
.side-panel-icon.icon-menu{
	display: none;
}
.woo-menu-icon.wcmenucart-toggle-drop_down.toggle-cart-widget{
	margin-top: 20px;
}
.woo-menu-icon.wcmenucart-toggle-drop_down.toggle-cart-widget .icon-handbag{
	padding: 0px 5px 0px 20px;
}
.search-toggle-li{
	padding: 20px;
}
.ubermenu #menu-item-wpml-ls-29-en ul,
.ubermenu #menu-item-wpml-ls-29-es ul,
.ubermenu #menu-item-wpml-ls-29-nl ul {
    width: 120px;
    margin-left: 71%;
}
.ubermenu #menu-item-wpml-ls-29-en ul a,
.ubermenu #menu-item-wpml-ls-29-es ul a,
.ubermenu #menu-item-wpml-ls-29-nl ul a {
    padding: 10px;
}
.ubermenu #menu-item-wpml-ls-29-en ul li a img,
.ubermenu #menu-item-wpml-ls-29-es ul li a img,
.ubermenu #menu-item-wpml-ls-29-nl ul li a img {
	margin-right: 5px;
}

/* Hide Login/Logout for now as requested */
.opl-login-li{
	display: none;
}

/* For moving sidebar to top of product on small devices */
@media only screen and (max-width: 959px){
    div#content-wrap{
        -js-display: flex;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    div#content-wrap > div#primary {
        order: 2;
    }
    div#content-wrap > aside#right-sidebar {
        order: 1;
    }
}

@media only screen and (max-width: 767px) {
	/* Show 2 products in a row on small screens */
	ul.products.oceanwp-row.grid {
		display: flex;
		flex-wrap: wrap;
	}
	.woocommerce ul.products .product {
		width: 50% !important;
	}
}
@media only screen and (max-width: 959px) {
	#woocommerce_top_rated_products-3.sidebar-box.woocommerce.widget_top_rated_products.clr{
		position: absolute;
    	bottom: 0px;
	}
	#primary.content-area.clr{
		margin-bottom: 360px;
	}
}
#redirect_link{
    width: 80%;
    display: inline-block !important;
}
.my-dropdown-toggle{
    width: 20%;
    display: inline-block !important;
}
.my-dropdown-toggle:hover{
    cursor: pointer;
}
.my-dropdown-toggle::before{
    content: '+';
    font-size: 20px;
    line-height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    right: 33px;
    position: absolute;
}
.active .my-dropdown-toggle::before{
    content: '-' !important;
}