/* Bakhtech Website Customization - Category Description base styles */

.bwc-category-description,
.bwc-product-short-description,
#tab-description,
.woocommerce-Tabs-panel--description,
body.single-post .entry-content,
body.blog article .entry-content,
body.category article .entry-content,
body.tag article .entry-content,
body.author article .entry-content,
body.date article .entry-content {
	width: 100%;
	box-sizing: border-box;
}

.bwc-category-description *,
.bwc-category-description *:before,
.bwc-category-description *:after,
.bwc-product-short-description *,
.bwc-product-short-description *:before,
.bwc-product-short-description *:after,
#tab-description *,
#tab-description *:before,
#tab-description *:after,
.woocommerce-Tabs-panel--description *,
.woocommerce-Tabs-panel--description *:before,
.woocommerce-Tabs-panel--description *:after,
body.single-post .entry-content *,
body.single-post .entry-content *:before,
body.single-post .entry-content *:after,
body.blog article .entry-content *,
body.blog article .entry-content *:before,
body.blog article .entry-content *:after,
body.category article .entry-content *,
body.category article .entry-content *:before,
body.category article .entry-content *:after,
body.tag article .entry-content *,
body.tag article .entry-content *:before,
body.tag article .entry-content *:after,
body.author article .entry-content *,
body.author article .entry-content *:before,
body.author article .entry-content *:after,
body.date article .entry-content *,
body.date article .entry-content *:before,
body.date article .entry-content *:after {
	box-sizing: border-box;
}

.bwc-category-description h1,
.bwc-category-description h2,
.bwc-category-description h3,
.bwc-category-description h4,
.bwc-category-description h5,
.bwc-category-description h6,
.bwc-product-short-description h1,
.bwc-product-short-description h2,
.bwc-product-short-description h3,
.bwc-product-short-description h4,
.bwc-product-short-description h5,
.bwc-product-short-description h6,
#tab-description h1,
#tab-description h2,
#tab-description h3,
#tab-description h4,
#tab-description h5,
#tab-description h6,
.woocommerce-Tabs-panel--description h1,
.woocommerce-Tabs-panel--description h2,
.woocommerce-Tabs-panel--description h3,
.woocommerce-Tabs-panel--description h4,
.woocommerce-Tabs-panel--description h5,
.woocommerce-Tabs-panel--description h6,
body.single-post .entry-content h1,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content h5,
body.single-post .entry-content h6,
body.blog article .entry-content h1,
body.blog article .entry-content h2,
body.blog article .entry-content h3,
body.blog article .entry-content h4,
body.blog article .entry-content h5,
body.blog article .entry-content h6,
body.category article .entry-content h1,
body.category article .entry-content h2,
body.category article .entry-content h3,
body.category article .entry-content h4,
body.category article .entry-content h5,
body.category article .entry-content h6,
body.tag article .entry-content h1,
body.tag article .entry-content h2,
body.tag article .entry-content h3,
body.tag article .entry-content h4,
body.tag article .entry-content h5,
body.tag article .entry-content h6,
body.author article .entry-content h1,
body.author article .entry-content h2,
body.author article .entry-content h3,
body.author article .entry-content h4,
body.author article .entry-content h5,
body.author article .entry-content h6,
body.date article .entry-content h1,
body.date article .entry-content h2,
body.date article .entry-content h3,
body.date article .entry-content h4,
body.date article .entry-content h5,
body.date article .entry-content h6 {
	margin: 0 0 14px;
	line-height: 1.3;
}

.bwc-category-description p,
.bwc-product-short-description p,
#tab-description p,
.woocommerce-Tabs-panel--description p,
body.single-post .entry-content p,
body.blog article .entry-content p,
body.category article .entry-content p,
body.tag article .entry-content p,
body.author article .entry-content p,
body.date article .entry-content p {
	margin: 0 0 16px;
}

.bwc-category-description ul,
.bwc-category-description ol,
.bwc-product-short-description ul,
.bwc-product-short-description ol,
#tab-description ul,
#tab-description ol,
.woocommerce-Tabs-panel--description ul,
.woocommerce-Tabs-panel--description ol,
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.blog article .entry-content ul,
body.blog article .entry-content ol,
body.category article .entry-content ul,
body.category article .entry-content ol,
body.tag article .entry-content ul,
body.tag article .entry-content ol,
body.author article .entry-content ul,
body.author article .entry-content ol,
body.date article .entry-content ul,
body.date article .entry-content ol {
	margin: 0 0 16px;
}

.bwc-category-description blockquote,
.bwc-product-short-description blockquote,
#tab-description blockquote,
.woocommerce-Tabs-panel--description blockquote,
body.single-post .entry-content blockquote,
body.blog article .entry-content blockquote,
body.category article .entry-content blockquote,
body.tag article .entry-content blockquote,
body.author article .entry-content blockquote,
body.date article .entry-content blockquote {
	margin: 0 0 16px;
	padding: 12px 20px;
	border-left: 4px solid;
	background: rgba(0, 0, 0, 0.04);
}

/* Images */
.bwc-category-description img,
.bwc-product-short-description img,
#tab-description img,
.woocommerce-Tabs-panel--description img,
body.single-post .entry-content img,
body.blog article .entry-content img,
body.category article .entry-content img,
body.tag article .entry-content img,
body.author article .entry-content img,
body.date article .entry-content img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

/* Tables: contained + horizontally scrollable on small screens */
.bwc-category-description table,
.bwc-product-short-description table,
#tab-description table,
.woocommerce-Tabs-panel--description table,
body.single-post .entry-content table,
body.blog article .entry-content table,
body.category article .entry-content table,
body.tag article .entry-content table,
body.author article .entry-content table,
body.date article .entry-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	empty-cells: show;
	margin: 0 0 16px;
}

.bwc-category-description table,
.bwc-category-description table th,
.bwc-category-description table td,
.bwc-product-short-description table,
.bwc-product-short-description table th,
.bwc-product-short-description table td,
#tab-description table,
#tab-description table th,
#tab-description table td,
.woocommerce-Tabs-panel--description table,
.woocommerce-Tabs-panel--description table th,
.woocommerce-Tabs-panel--description table td,
body.single-post .entry-content table,
body.single-post .entry-content table th,
body.single-post .entry-content table td,
body.blog article .entry-content table,
body.blog article .entry-content table th,
body.blog article .entry-content table td,
body.category article .entry-content table,
body.category article .entry-content table th,
body.category article .entry-content table td,
body.tag article .entry-content table,
body.tag article .entry-content table th,
body.tag article .entry-content table td,
body.author article .entry-content table,
body.author article .entry-content table th,
body.author article .entry-content table td,
body.date article .entry-content table,
body.date article .entry-content table th,
body.date article .entry-content table td {
	border: 1px solid #ddd;
}

.bwc-category-description table th,
.bwc-category-description table td,
.bwc-product-short-description table th,
.bwc-product-short-description table td,
#tab-description table th,
#tab-description table td,
.woocommerce-Tabs-panel--description table th,
.woocommerce-Tabs-panel--description table td,
body.single-post .entry-content table th,
body.single-post .entry-content table td,
body.blog article .entry-content table th,
body.blog article .entry-content table td,
body.category article .entry-content table th,
body.category article .entry-content table td,
body.tag article .entry-content table th,
body.tag article .entry-content table td,
body.author article .entry-content table th,
body.author article .entry-content table td,
body.date article .entry-content table th,
body.date article .entry-content table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.bwc-category-description .bwc-table-wrap,
.bwc-product-short-description .bwc-table-wrap,
#tab-description .bwc-table-wrap,
.woocommerce-Tabs-panel--description .bwc-table-wrap {
	width: 100%;
	overflow-x: auto;
	margin: 0 0 16px;
}

.bwc-category-description .bwc-table-wrap > table,
.bwc-product-short-description .bwc-table-wrap > table,
#tab-description .bwc-table-wrap > table,
.woocommerce-Tabs-panel--description .bwc-table-wrap > table {
	margin: 0;
}

/* Links */
.bwc-category-description a,
.bwc-product-short-description a,
#tab-description a,
.woocommerce-Tabs-panel--description a,
body.single-post .entry-content a,
body.blog article .entry-content a,
body.category article .entry-content a,
body.tag article .entry-content a,
body.author article .entry-content a,
body.date article .entry-content a {
	text-decoration: underline;
}

body.single-post .entry-content,
body.blog article .entry-summary,
body.blog article .entry-excerpt,
body.category article .entry-summary,
body.category article .entry-excerpt,
body.tag article .entry-summary,
body.tag article .entry-excerpt,
body.author article .entry-summary,
body.author article .entry-excerpt,
body.date article .entry-summary,
body.date article .entry-excerpt {
	box-sizing: border-box;
}

body.single-post .entry-content p,
body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .entry-content blockquote,
body.blog article .entry-excerpt p,
body.category article .entry-excerpt p,
body.tag article .entry-excerpt p,
body.author article .entry-excerpt p,
body.date article .entry-excerpt p {
	margin: 0 0 16px;
}

body.single-post .entry-content img,
body.blog article .entry-summary img,
body.category article .entry-summary img,
body.tag article .entry-summary img,
body.author article .entry-summary img,
body.date article .entry-summary img {
	max-width: 100%;
	height: auto;
}

body.single-post .entry-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 0 0 16px;
}

body.single-post .entry-content table,
body.single-post .entry-content table th,
body.single-post .entry-content table td {
	border: 1px solid #ddd;
}

body.single-post .entry-content table th,
body.single-post .entry-content table td {
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

@media (max-width: 767px) {
	.bwc-category-description h1,
	.bwc-product-short-description h1,
	#tab-description h1,
	.woocommerce-Tabs-panel--description h1,
	body.single-post .entry-content h1,
	body.blog article .entry-content h1,
	body.category article .entry-content h1,
	body.tag article .entry-content h1,
	body.author article .entry-content h1,
	body.date article .entry-content h1 {
		font-size: 1.6em;
	}
	.bwc-category-description h2,
	.bwc-product-short-description h2,
	#tab-description h2,
	.woocommerce-Tabs-panel--description h2,
	body.single-post .entry-content h2,
	body.blog article .entry-content h2,
	body.category article .entry-content h2,
	body.tag article .entry-content h2,
	body.author article .entry-content h2,
	body.date article .entry-content h2 {
		font-size: 1.35em;
	}
	.bwc-category-description h3,
	.bwc-product-short-description h3,
	#tab-description h3,
	.woocommerce-Tabs-panel--description h3,
	body.single-post .entry-content h3,
	body.blog article .entry-content h3,
	body.category article .entry-content h3,
	body.tag article .entry-content h3,
	body.author article .entry-content h3,
	body.date article .entry-content h3 {
		font-size: 1.15em;
	}
	.bwc-category-description table th,
	.bwc-category-description table td,
	.bwc-product-short-description table th,
	.bwc-product-short-description table td,
	#tab-description table th,
	#tab-description table td,
	.woocommerce-Tabs-panel--description table th,
	.woocommerce-Tabs-panel--description table td,
	body.single-post .entry-content table th,
	body.single-post .entry-content table td,
	body.blog article .entry-content table th,
	body.blog article .entry-content table td,
	body.category article .entry-content table th,
	body.category article .entry-content table td,
	body.tag article .entry-content table th,
	body.tag article .entry-content table td,
	body.author article .entry-content table th,
	body.author article .entry-content table td,
	body.date article .entry-content table th,
	body.date article .entry-content table td {
		padding: 8px 10px;
	}
}
