/*
Theme Name: Kaival Plastics
Theme URI: http://localhost/kaival-plastics/
Author: Green Cubes
Author URI: http://localhost/kaival-plastics/
Description: My Site
Version: 1.0
Tags: bootstrap
*/

.product-description .table-responsive {
	padding-bottom: 20px;
}
.product-description h3 {
	font-size: 25px;
	font-weight: 400;
	color: #212222;
	margin-bottom: 7px;
}
.product-detail-left .owl-theme .owl-dots .owl-dot.active span {
	background: #ef7d01;
}
.table-custom {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
	font-family: Arial, sans-serif;
}

.table-custom th,
.table-custom td {
	padding: 10px;
	border: 1px solid #ddd;
	text-align: left;
}

.table-custom thead th {
	background-color: #ef7d01;
	color: #fff;
}

.table-responsive {
	overflow-x: auto;
}

.product-bullet li {
	position: relative;
	padding-left: 20px;
}
.product-bullet li::before {
	color: #000000;
	content: '\f0da';
	font-family: 'Font Awesome 5 Free';
	font-weight: 600;
	font-size: 12px;
	left: 0;
	line-height: 16px;
	position: absolute;
	top: 4px;
}
.product-description p {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: #212222;
	margin-bottom: 10px;
}
.product-description h2 {
	font-size: 40px;
	font-weight: 800;
	color: #212222;
	margin-bottom: 20px;
}
.product-description {
	padding-top: 60px;
}
.top-bar-left p i{
	color: #ffffff;
}
.top-bar-left p a,
.top-bar-left p{
	color: #ffffff;
}
.gallery .certificates-block .img-block {
    width: 100%;
    aspect-ratio: 3 / 2; /* keep consistent ratio */
    overflow: hidden;
}
.certificates-block img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}


@media only screen and (min-width: 992px) {
	.submenu-toggle  {
		display: none;
	}
	ul.sub-menu {
		display: none !important;
		flex-flow: column;
		position: absolute;
		background-color: #ffffff;
		width: 240px;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 10;
		margin-top:0px !important;
	}
	li.menu-item-has-children:hover > ul.sub-menu li {
		padding: 12px 20px !important;
		border-bottom: 1px solid #eeeeee; 

	}
	li.menu-item-has-children:hover > .sub-menu {
		border-top: 2px solid #ef7d01;
	}

	li.menu-item-has-children:hover > ul.sub-menu li a{
		color:#000000;

	}
	/* li.menu-item-has-children:hover > ul.sub-menu li:hover {
	background-color: #000000;
} */
	li.menu-item-has-children:hover > ul.sub-menu li:hover > a {
		color: #ef7d01;
	}

	/* 2. Change color of parent link when it's hovered */
	li.menu-item-has-children:hover > a {
		color: #ef7d01;
	}

	/* 3. Change color of parent link when child submenu is hovered */
	li.menu-item-has-children:hover > ul.sub-menu:hover,
	li.menu-item-has-children:hover > ul.sub-menu li:hover > ul {
		color: #ef7d01;
	}
	li.menu-item-has-children:hover > .sub-menu {
		display: block !important;
	}
	li.menu-item-has-children > .sub-menu li.menu-item-has-children > .sub-menu{
		left: 230px;
		top: -2px;
	}
	li.menu-item-has-children {
		position:relative;
		padding-right: 15px !important;
	}
	li.menu-item-has-children > .sub-menu li {
		position: relative;
	}
	li.menu-item-has-children > .sub-menu li.menu-item-has-children::before{
		position: absolute;
		transform: rotate(-90deg);
		content: "";
		background-image: url('images/down_arrow.webp');
		background-repeat: no-repeat;
		background-size: cover;
		width: 12px;
		height: 8px;
		right: 18px;
		top: 18px;
	}
	.menu-item-has-children::before {
		position: absolute;
		content: "";
		background-image: url('images/down_arrow.webp');
		background-repeat: no-repeat;
		background-size: cover;
		width: 12px;
		height: 8px;
		right: -5px;
		top: 6px;
	}

	.menu-item-has-children:hover::before {
		filter: brightness(0) saturate(100%) invert(53%) sepia(98%) saturate(3001%) hue-rotate(7deg) brightness(99%) contrast(101%);
	}
}


/* media query start */
@media only screen and (max-width: 991px) {
	.submenu-toggle {
		display: inline-block;
		font-size: 15px;
		margin-left: 30px;
		cursor: pointer;
		transition: transform 0.3s;
		color: #ffffff;
		font-weight: 600;
		text-transform: uppercase;
	}

	.menu-item-has-children.submenu-open > .submenu-toggle {
		transform: rotate(180deg);
	}

	.mob-header .navbar-nav li a {
		font-size: 17px;
		font-weight: 600;
		color: #fff;
		text-transform: capitalize;
		padding: 10px 0px;
		display: inline-block;
	}

	.mob-header ul.navbar-nav li {
		/*padding: 10px 0px;*/
		position: relative;
	}
	.mob-header .sub-menu li a{
		color: #ffffff !important;
		font-weight: 400 !important;
		text-transform:capitalize !important;
	}
	.mob-header .sub-menu li{
		padding: 0px !important;
		padding-left:15px !important;
		border-bottom: 1px solid lightgray;

	}
	.mob-header .sub-menu li:last-child{
		border-bottom: unset !important;
	}
	.submenu-toggle img.submenu-icon {
		filter: invert(1);
		width: 14px;
	}
	li.menu-item-has-children .sub-menu {
		display: none;
		/* 		padding-left: 15px; */
	}
	.submenu-toggle img.submenu-icon {
		filter: invert(0);
		width: 14px;
	}
	.main-menu.mob ul.sub-menu li a {
		color: #ef7d01;
	}

	.main-menu.mob ul.sub-menu li {
		padding: 7px 0px;
	}
	li.menu-item-has-children .sub-menu {
		padding-left: 15px !important;
	}
	.sub-menu .menu-item-has-children .submenu-icon{
		filter:invert(0) !important;
		transform: rotate(270deg) !important;
	}
	.sub-menu .menu-item-has-children.submenu-open .submenu-icon{
		transform: rotate(180deg) !important;
	}

	.sub-menu ul.sub-menu {
		left: 100%;
		top: 0;
	}

}