/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/**
 * Define variables
 */

:root {
	--tl-sidebar-overflow: 50px;
	--tl-mobile-padding: 10px;
}

/**
 * General design
 */

.otgs-development-site-front-end {
	display: none;
}

.grecaptcha-badge {
	visibility: hidden;
}

a {
	text-decoration: none;
}

a:hover {
	color: #cbcbd4;
}

#main {
	min-height: calc(100vh - 404px);
}

body.admin-bar #main {
	min-height: calc(100vh - 436px);
}

body.home #main {
	min-height: 100vh;
}

body.error404 #main,
body.search #main {
	padding-top: 80px;
	padding-bottom: 50px;
	min-height: calc(100vh - 479px);
}

header .branding img,
.masthead.sticky-on header .branding img {
	width: auto;
	height: 50px;
	max-height: 50px;
	transition: all 1s ease;
	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
}

.mobile-header-bar .mobile-branding img,
.masthead.sticky-mobile-on .mobile-header-bar .mobile-branding img {
	width: auto;
	height: 40px;
	max-height: 40px;
}

body.home .masthead:not(.sticky-on) header .mini-wpml a {
	color: #fff !important;
}

@media only screen and (max-width:1050px) {

	.masthead .mobile-header-bar .mini-wpml {
		order: -1;
	}
	
}

/**
 * Update error page
 */

body.error404 #main {
	padding: 0 !important;
	min-height: 100vh;
}

body.error404 .masthead,
body.error404 .header-space {
	display: none !important;
}

body.error404 #content {
	padding: 0 !important;
}

/**
 * SVG image design
 */

.svg-image > .vc_column-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 0 !important;
}

.svg-image > .vc_column-inner * {
	width: 100%;
}

.svg-image > .vc_column-inner img {
	max-width: 80%;
}

/**
 * Contact form design
 */

form.wpcf7-form br {
	display: none;
}

form.wpcf7-form .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 10px;
	margin: 0 !important;
	transform: translate(0, -50%);
}

form.wpcf7-form div.half {
	position: relative;
}

form.wpcf7-form div.half > p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

form.wpcf7-form div.half label {
	flex: 0 1 50%;
}

form.wpcf7-form div.half > p,
form.wpcf7-form div.half input {
	margin: 0 !important;
}

form.wpcf7-form .tl-recaptcha {
	margin: 20px 0 0;
	text-align: center;
	font-size: 12px;
	line-height: normal;
	color: #fff;
}

.tl-contact-form form.wpcf7-form .tl-recaptcha,
body.single-product form.wpcf7-form .tl-recaptcha,
body.single-product form.wpcf7-form .tl-recaptcha a:hover {
	color: #422e24;
}

@media only screen and (max-width:767px) {

	form.wpcf7-form div.half > p {
		/*flex-direction: column;*/
	}

	form.wpcf7-form div.half label {
		/*flex: 0 1 100%;*/
	}

}

/**
 * Content design
 */

body:not(.home) #main.sidebar-left .wf-container-main {
	grid-template-areas: "top top" "sidebar content";
}

.tl-home-top {
	grid-area: top;
}

.tl-home-top .tl-home-logo img {
	max-width: 400px;
}

body:not(.home):not(.error404) #content {
	padding-bottom: 70px;
	background-color: #fff;
	border-bottom-left-radius: 20px 20px;
	border-bottom-right-radius: 100px 120px;
}

body.page-id-45 #content {
	border-top-right-radius: 20px 20px;
}

body:not(.home) #sidebar .widget_product_categories {
	padding: 0 0 15px !important;
}

body:not(.home) #sidebar .widget_product_categories .widget-title {
	display: none;
}

body:not(.home) #sidebar .widget_product_categories li {
	margin-top: 15px;
	text-align: center;
	background-color: var(--cat-color, transparent);
	clip-path: polygon(5% 0%, 100% 0%, 95% 95%, 0% 100%);
	background-color: color-mix(in srgb, var(--cat-color) 100%, transparent);
	transition: background-color 0.25s ease;
}

body:not(.home) #sidebar .widget_product_categories li:hover {
	background-color: color-mix(in srgb, var(--cat-color) 80%, transparent);
}

body:not(.home) #sidebar .widget_product_categories li a {
	padding: 10px 20px;
	width: calc(100% - 40px);
	color: #fff !important;
}

.tl-product-carousel {
	margin: 20px auto;
	max-width: 400px;
}

.tl-product-carousel img {
	border-top-left-radius: 20px;
	border-top-right-radius: 50px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 20px;
}

.tl-middle-content > .vc_column-inner {
	justify-content: center;
}

.tl-fullh-content > .vc_column-inner,
.tl-fullh-content .wpb_wrapper,
.tl-fullh-content .ult-content-box-container,
.tl-fullh-content .ult-content-box {
	height: 100%;
}

body.single-post #content > article .single-related-posts {
	border-bottom: 0 !important;
}

#tl-product-info {
	clear: both !important;
}

body.post-type-archive-product .dt-products article.product,
body.tax-product_cat .dt-products article.product {
	padding-bottom: 15px;
	border-radius: 20px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px -10px;
}

body.post-type-archive-product .dt-products article.product:hover,
body.tax-product_cat .dt-products article.product:hover {
	padding-bottom: 15px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 20px -10px;
}

body.single-product .entry-summary .stock {
	font-size: 80%;
	font-style: italic;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
	min-height: 103px;
}

body.woocommerce-checkout .woocommerce-billing-fields .form-row,
body.woocommerce-checkout .woocommerce-billing-fields label,
body.woocommerce-checkout .woocommerce-billing-fields input {
	margin-bottom: 0 !important;
}

body.woocommerce-checkout .woocommerce-shipping-fields {
	display: none;
}

body.woocommerce-checkout #order_comments_field {
	margin-top: 0;
}

body.woocommerce-checkout .checkout-inline-error-message {
	color: #f55b5f;
	font-size: 0.8em;
}

@media screen and (max-width: 1199px) {

	.tl-reverse-col {
		flex-direction: column-reverse;
	}

}

@media screen and (min-width: 992px) {

	body:not(.home) .page-title.solid-bg .wf-wrap {
		position: relative;
		overflow: hidden;
	}

	body:not(.home) .page-title.solid-bg .wf-wrap::before {
		content: "";
		position: absolute;
		top: 20px;
		left: 310px;
		right: 50px;
		height: 100%;
		background: #fff;
		border-top-left-radius: 100px 120px;
		border-top-right-radius: 20px 20px;
		z-index: 1;
	}

	body:not(.home) .page-title.solid-bg .page-title-head:not(.tl-cat-subtitle) {
		max-width: calc(310px - var(--tl-sidebar-overflow));
		min-width: 250px;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
		overflow-wrap: break-word;
		word-break: normal;
	}

	body:not(.home) .page-title.solid-bg .page-title-head,
	body:not(.home) .page-title.solid-bg .page-title-breadcrumbs {
		position: relative;
		z-index: 2;
	}

	body:not(.home) .page-title.solid-bg .page-title-head.tl-cat-subtitle {
		flex: 1 1 60%;
		margin-bottom: 0;
		padding: 0 50px;
		text-align: center;
	}

	body:not(.home) #content {
		padding-left: calc(var(--tl-sidebar-overflow) * 1.5);
		padding-right: calc(var(--tl-sidebar-overflow) * 1.5);
	}

	body:not(.home) #sidebar .widget_product_categories .product-categories {
		position: relative;
		right: calc(var(--tl-sidebar-overflow) * -1);
	}

}

@media only screen and (max-width:991px) {

	body:not(.home) #main.sidebar-left .wf-container-main {
		display: -webkit-flex;
		-webkit-flex-direction: column;
		display: flex;
		flex-direction: column;
	}

	body:not(.home) #content {
		padding-top: 20px;
		border-top-right-radius: 20px 20px;
		order: 3;
	}

	body:not(.home) #sidebar {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	body:not(.home) #sidebar .widget_product_categories {
		background-color: #fff;
		border-top-left-radius: 30px;
		border-top-right-radius: 20px;
		border-bottom-right-radius: 20px;
	}

	body:not(.home) #sidebar .widget_product_categories li {
		margin-left: var(--tl-mobile-padding);
		margin-right: var(--tl-mobile-padding);
		
	}

	body:not(.home) .page-title.solid-bg .page-title-head.tl-cat-subtitle {
		color: #fff !important;
	}
	
	body.woocommerce-shop #content > .products,
	body.woocommerce.tax-product_cat  #content > .products,
	body.single-product #content > .product,
	body.single-post #content > article,
	.tl-mobile-padding > .vc_column-inner > .wpb_wrapper {
		margin: 0 var(--tl-mobile-padding);
	}

	body:not(.home) #sidebar .widget_product_categories .widget-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 0;
		padding: 12px 24px 0;
		color: #422e24;
		cursor: pointer;
		user-select: none;
	}

	body:not(.home) #sidebar .widget_product_categories .widget-title::after {
		content: "▾";
		font-size: 16px;
		line-height: 1;
		transform: rotate(0deg);
		transition: transform 0.3s ease;
	}

	body:not(.home) #sidebar .widget_product_categories .product-categories {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	body:not(.home) #sidebar .widget_product_categories.is-open .product-categories {
		max-height: 500px;
	}

	body:not(.home) #sidebar .widget_product_categories.is-open .widget-title::after {
		transform: rotate(180deg);
	}

}


/**
 * Footer design
 */

#footer .wf-container-footer > .wf-container {
	display: flex;
}

#footer .widget_custom_html {
	display: flex;
	justify-content: center;
	align-items: center;
}

#footer .custom-html-widget {
	text-align: center;
}

#footer .custom-html-widget h3 {
	margin-bottom: 0;
}

#footer .custom-html-widget a {
	color: #fff;
}

#footer .custom-html-widget a:hover {
	color: #f39f2b;
}

@media only screen and (max-width:778px) {

	#footer .wf-container-footer > .wf-container {
		flex-direction: column;
	}

}