/*
Theme Name: The7 Child
Theme URI: https://example.com/
Description: Child theme for The7 with customizations
Template: dt-the7
Author: APD
Version: 12.5.2
*/

.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor,
.main-page {}

/* Begin APD custom style.css */
@media(min-width: 601px){
	.cart_table_item .product-thumbnail img{
		max-width: 30%;
		height: auto;
	}
	.cart_table_item .product-thumbnail{
		width: 200px;
		text-align: center!important;
	}
	.check-column, .product-remove, .product-quantity{
		text-align: center!important;
	} 
}
#primary-menu > li:last-child > a .menu-text,
#mobile-menu > li:last-child > a .menu-text{
	color: #857598!important;
}
.shop_table .variation > dt:first-child{
	display: none;
}
.shop_table .variation dd, .shop_table .variation dt{
	float: none;
}
.single-product .variations select{
	margin-right: 0;
	width: 100%;
}
.single-product .variations,
.single-product .variations tbody{
	width: 100% !important;
}

.widget_product_categories .product-categories .cat-item.opened > a::after {
	transform: rotate(90deg);
    top: -1px;
    left: 6px;
}
.widget_product_categories .product-categories .cat-item.no-child a:after,
.widget_product_categories .product-categories .cat-item.no-child a::before {
	content: none;
}
.widget_product_categories .product-categories a{
	position: relative;
	padding-left: 25px;
	transition: all .3s;
}
.widget_product_categories .product-categories a:after{
	content: "›";
	font-weight: bold;
	display: inline-block;
	position: absolute;
	left: 3px;
    top: 11px;
	transform: translateY(-50%);
	transition: all .3s;
	font-size: 24px;
}
.widget_product_categories .product-categories a:before{
	content: "";
	position: absolute;
	width: 15px;
	height: 15px;
	left: 0;
	background-color: rgba(139,141,148,.15);
	top: 15px;
	transform: translateY(-50%);
}
.widget_product_categories .product-categories .current-cat > a{
	color: #857598;
}
.widget_product_categories .product-categories a:hover,
.widget_product_categories .product-categories a:hover:after{
	color: #857598!important;
}

.single-product table.variations .reset_variations{
	position: unset;
}
.cart_table_item .product-name{
	text-align: left!important;
}
.cart_table_item .wishlist-add-to-cart-button{
	display: none;
}
#wl-wrapper .wl-table td{
	vertical-align: middle;
}
.buy-product div {
	display: flex;
    justify-content: space-around;
}

.buy-product div .price {
	color: #444444;
	font: normal 18px / 26px "Lato", Helvetica, Arial, Verdana, sans-serif;
	margin: 7px;
}

.buy-product div input {
	width: 70px;
}

.buy-product input[type=number] {
	width: 45px;
	margin-top: 1px;
	height: 39px;
	text-align: center;
	padding: 0;
	font-weight: bold;
	appearance: none;
	-moz-appearance: textfield;
}

.buy-product input::-webkit-outer-spin-button,
.buy-product input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-product button.minus, .buy-product button.plus {
	background: #fff;
    color: rgba(139,141,148,0.5);
    font-size: 18px;
    border-width: 1px;
    border-color: rgba(0,0,0,0.12);
	padding: 9px 3px 7px 3px;
    width: 18px;
}

.buy-product button.minus {
	border-right: none;
}

.buy-product button.plus {
	border-left: none;
}

.buy-product button.minus:hover, .buy-product button.plus:hover {
	font-weight: bold;
}

.buy-product button.buy-product-btn {
	font: 15px / 17px "Lato", Helvetica, Arial, Verdana, sans-serif;
	text-transform: uppercase;
	border-radius: 0px;
    padding: 0 24px;
    min-height: 40px;
    line-height: 40px;
	align-items: center;
	color: #ffffff;
    background-color: #857598;
    background: #857598;
	border: none;
	display: block;
    margin: 0 auto;
}

.buy-product button.buy-product-btn:hover, .buy-product button.buy-product-btn.added  {
	background: #666666;
}

.buy-product select {
	font-size: 14px;
	width: 100%;
}

#modal-wrapper.modal-visible {
	display: flex;
}

#modal-wrapper {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 9999999999;
	background-color:rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}

#modal-wrapper .modal-content {
	width: 650px;
	background-color: #ffffff;
	position: relative;
	padding: 20px;
	max-height: 90vh;
    overflow-y: auto;
}

#modal-wrapper .close {
	position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    padding: 3px 5px;
}

#modal-wrapper .add-to-cart {
	font: 15px / 17px "Lato", Helvetica, Arial, Verdana, sans-serif;
	text-transform: uppercase;
	border-radius: 0px;
    padding: 0 24px;
    min-height: 40px;
    line-height: 40px;
	align-items: center;
	color: #ffffff;
    background-color: #857598;
    background: #857598;
	border: none;
	display: block;
    margin: 0 auto;
}

#modal-wrapper .add-to-cart:hover, #modal-wrapper .add-to-cart.added {
	background: #666666;
}

#modal-wrapper h4 {
	font: normal 22px / 28px "Lato", Helvetica, Arial, Verdana, sans-serif;
}

#modal-wrapper .variants {
	display: flex;
}

#modal-wrapper .variants-list {
	padding-left: 20px;
	padding-bottom: 20px;
    width: 100%;
}

#modal-wrapper .variants-list p {
	margin-bottom: 5px;
}

#modal-wrapper .variants-list p span {
	margin-left: 20px;
}

#modal-wrapper .variants-list p strong {
	width: 70px;
    display: inline-block;
}

#modal-wrapper .variants-list p input[type=number] {
	width: 45px;
	margin-top: 1px;
	height: 39px;
	text-align: center;
	padding: 0;
	font-weight: bold;
	appearance: none;
	-moz-appearance: textfield;
}

#modal-wrapper .variants-list p input::-webkit-outer-spin-button,
#modal-wrapper .variants-list p input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#modal-wrapper .variants-list p button {
	background: none;
    color: rgba(139,141,148,0.5);
    font-size: 18px;
    border-width: 1px;
    border-color: rgba(0,0,0,0.12);
	padding: 9px 3px 7px 3px;
    width: 18px;
}

#modal-wrapper .variants-list p button.minus {
	border-right: none;
}

#modal-wrapper .variants-list p button.plus {
	border-left: none;
}

#modal-wrapper .variants-list p button:hover {
	font-weight: bold;
}

body.no-scroll {
	overflow: hidden; 
}

@media screen and (max-width: 760px) {
	#modal-wrapper.modal-visible {
		text-align: center;
	}

	#modal-wrapper .modal-content {
		width: 90%;
		top: 0;
		bottom: 0;
		position: absolute;
		overflow-y: scroll;
		max-height: unset;
	}

	#modal-wrapper .modal-content h4 {
		width: 90%;
	}

	#modal-wrapper .variants {
		display: block;
	}

	#modal-wrapper .variants div:first-child {
		text-align: center;
	}

	#modal-wrapper .variants-list {
		padding-left: 0;
	}

	#modal-wrapper .variants-list p {
		border-bottom: 1px solid #cccc;
		text-align: left;
		padding: 10px 0;
	}

	#modal-wrapper .variants-list p span {
		margin-left: 0;
		display: block;
	}
}	    

.woocommerce-products-header p, .woocommerce-products-header h2, .woocommerce-products-header {
	margin-top: 25px;
}




.wc-block-product-categories-list ul {
	margin-left: 20px;
}

.wc-block-product-categories-list li .active {
	font-weight: bold;
}

.wc-block-product-categories-list li.has-submenu {
	cursor: pointer;
}

.wc-block-product-categories-list li.has-submenu > a::before {
 	content: " ▸";
	font-size: 18px;
/* 	float: left; */
	margin-left: -10px;
	transition: 0.3s;
}

.wc-block-product-categories-list li.open > a::before {
 	content: " ▾";
}

.wc-block-product-categories-list-item__name {
	margin-left: 5px;
}

.sidebar-none .sidebar {
	display: block;
}

.product-template-default #main .wf-container-main {
	display:block;
}

.product_type_simple,
.product_type_grouped,
.added_to_cart {
	padding: 12px 24px!important;
	font-size: 15px!important;
}

.product-type-simple .woo-buttons {
	padding-top: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.product-type-simple .woo-buttons input {
	padding: 0;
	margin: 0;
}

.product-type-simple .woo-buttons input[type=number]::-webkit-inner-spin-button,
.product-type-simple .woo-buttons input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-type-simple .woo-buttons input[type=number] {
	-moz-appearance: textfield;
}

/* End APD custom style.css */