/*
 Theme Name:   Virtue Child
 Theme URI:    http://www.chineseamericanfamily.com/virtue-child/
 Description:  Virtue Child Theme
 Author:       Wesley Radez
 Author URI:   http://www.redbeancompany.com
 Template:     virtue
 Version:      1.0.0
 License:      GNU General Public License v3.0
 License URI:  http://www.gnu.org/licenses/gpl.html
 Tags:         responsive-layout, two-columns, one-column, custom-colors, custom-header, custom-menu, featured-images, translation-ready, theme-options, photoblogging
 Text Domain:  virtue-child
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
/* GLOBAL CSS START HERE */
@media (min-width: 1200px) {
	.main.col-lg-9 {width: 68.333333333333333%;}
	aside.col-lg-3 {width: 31.666666666666666%;}
}

.postdate, .kad-hidedate, .postdatetooltip {
	display: none;
}

.panel-grid-cell .widget {
	margin-top: 0px;
}

@media screen and (min-width: 991px) { 
	div#topbar {
		display: none !important;
	}
}
.page-header {
	display: none;
}

.page-title-headers {
	margin-top: 15px;
	margin-bottom: 15px;
}

blockquote {
	font-size: 18px;
	font-style: italic;
	border-left: 0px;
}

p {
	margin-bottom: 14px;
}

.picture-row {
	width: 100%;
	display: block;
	margin-bottom: 10px;
	clear: both;
}

.picture-row a {
	color: #141823 !important;
}

.picture-row a:hover {
	color: #f26065 !important;
}

.picture-row img {
	float: right; 
	margin: 0px 0px 15px 15px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

@media (max-width: 512px) {
	.picture-row img {
		width: 100%;
	}
}

.feature-row {
	width: 100%;
	display: block;
	clear: both;
}

.feature-row .main-text, .feature-row-secondary .main-text {
	font-size: 24px;
}

.feature-row img {
	float: left;
	width: 190px;
	margin: 0px 15px 10px 0px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

.feature-row-secondary {
	width: 100%;
	display: block;
	clear: both;
	margin-top: 25px;
}

.feature-row-secondary img {
	float: left;
	width: 190px;
	margin: 0px 15px 10px 0px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

@media (max-width: 512px) {
	.feature-row img {
		width: 100%;
	}
}

@media (max-width: 512px) {
	.feature-row-secondary img {
		width: 100%;
	}
}

.feature-row a {
	color: #141823 !important;
}

.feature-row a:hover {
	color: #f26065 !important;
}

.feature-row-secondary a {
	color: #141823 !important;
}

.feature-row-secondary a:hover {
	color: #f26065 !important;
}

.feature-button {
	height: 44px;
	width: 400px;
	margin-top: 20px;
	padding: 4px 30px;
	border-radius: 3px;
	border-width: 0px;
	border-style: solid;
	display: block;
	background: #bf2d32;
	-webkit-box-shadow: 0 1px 0 0 #bf2d32 inset;
	-moz-box-shadow: 0 1px 0 0 #bf2d32 inset;
	box-shadow: 0 1px 0 0 #bf2d32 inset;
	border-color: #bf2d32;
	font-size: 20px;
	text-decoration: none;
	line-height: 24px;
	text-align: center;
	-webkit-font-smoothing: antialiased;
	color: #FFFFFF;
	text-transform: none;
}

.feature-button:hover {
	background-color: #f26065;
}

.guide-date-row {
	width: 100%;
	display: block;
	clear: both;
	margin-top: 14px;
}

.guide-date-row img {
	float: left;
	width: 70px;
	margin: 5px 15px 15px 0px;
}

@media (max-width: 512px) {
	.guide-date-row img {
		float: left;
		width: 70px;
		margin: 5px 15px 0px 0px;
	}
}

.guide-row {
	width: 100%;
	display: block;
	clear: both;
	margin-top: 25px;
}

.guide-row .main-text {
	font-size: 24px;
}

.guide-row img {
	float: left;
	width: 190px;
	margin: 0px 15px 10px 0px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

@media (max-width: 512px) {
	.guide-row img {
		width: 100%;
	}
}

.clear {
    clear: both;
}

.single-article article .postfeat {
	padding-top: 0px !important;
}

.ad-unit-1, .ad-unit-2, .ad-unit-3 {
		background-color: #f5f5f5;
		width: 100%;
		margin-top: 20px;
		margin-bottom: 20px;
		padding-top: 5px;
		padding-bottom: 25px;
		text-align: center;
	}

.ad-unit-1 .text, .ad-unit-2 .text, .ad-unit-3 .text {
		color: #ccc;
		font-size: 10px;
		padding: 0;
		margin: 0;
	}

.ad-unit-1 .ad, .ad-unit-2 .ad, .ad-unit-3 .ad {
		float: none;
		width: 100%;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

@media screen and (min-width: 512px) { 
	.footer-ad-unit {
		display: none !important;
	}
}

@media (max-width: 512px) {
	.footer-ad-unit {
		float: none;
		width: 100%;
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 512px) { 
	.footer-ad-unit-landscape {
		display: none !important;
	}
}

@media (min-width: 512px) {
	.footer-ad-unit-landscape {
		float: none;
		width: 100%;
		max-width: 770px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

#section-photo {
	width: 100%;
	margin: 0px 0px 15px 0px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

#mainpostimage {
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

.prime img {
	float: none !important;
	width: 52px;
	height: 20px;
	margin: 0px 0px 0px 5px;
	padding: 0px 0px 5px 0px;
	border-style: none;
}

.entry-content table td, .entry-content table th, table td, table th {
	padding: 3px 7px 3px 7px !important;
}
/* GLOBAL CSS ENDS HERE */

/* HEADER CSS START HERE */
.headerclass {
	background: #ffffff;
	border-bottom: 1px solid #d3d3d3;
	box-shadow: 0 1px 1px rgba(90,84,82,0.2);
	position: relative;
}

@media (max-width: 360px) {
	.logofont {
		font-size: 21px !important;
	}
	h1 {
		font-size: 32px !important;
	}
}

@media all
and (min-width: 361px)
and (max-width: 400px) {
	.logofont {
		font-size: 24px !important;
	}
	h1 {
		font-size: 32px !important;
	}
}

@media all
and (min-width: 401px)
and (max-width: 990px) {
	.logofont {
		font-size: 32px !important;
	}
	h1 {
		font-size: 32px !important;
	}
}

@media all
and (min-width: 991px)
and (max-width: 1200px) {
	.logofont {
		font-size: 30px !important;
	}
}

@media (max-width: 991px) {
	.kad-header-left {
	width: 80%;
	}

.nav-trigger .nav-trigger-case {
	position: absolute;
	top: -50px;
	width: 50px;
	}

.nav-trigger-case .kad-menu-name {
	display: none;
	}

header #logo {
	text-align: left;
	padding-bottom: 5px;
	}
}
/* HEADER CSS END HERE */

/* FOOTER CSS START HERE */
.single-footer {
	padding-bottom: 0px!important;
}

#containerfooter {
	border-top: 5px solid #bf2d32;
	position: relative;
	background: #ffffff;
}

#containerfooter .widget {
	margin-top: 0px;
}

.footerclass .container {
	max-width: 1030px;
	margin-left: auto;
	margin-right: auto;	
	font-size: 16px;
	line-height: 22px;
}

.footercredits {
	padding-bottom: 0px;
}

.footercredits p {
	margin-bottom: 0px;
}

img#wpstats {
	display: none;
}

.bio-footer {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background-color: #f5f5f5;
	font-size: 16px;
	width: 100%;
	max-width: 770px;
	padding: 20px 20px 20px 20px;
	margin-top: 25px;
	margin-bottom: 25px;
}

.bio-footer img {
	float: left;
	width: 85px;
	margin: 6px 10px 5px 0px;
}

.optin-footer {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background: url("https://www.chineseamericanfamily.com/wp-content/uploads/2020/05/background-2020.png");
	width: 100%;
	max-width: 770px;
	padding: 25px 40px 25px 40px;
	border: 4px;
	border-style: solid;
	border-color: #bf2d32;
	box-sizing: border-box;
	margin-top: 25px;
	margin-bottom: 25px;
}

#optin-footer-image {
	float: left;
	width: 190px;
	margin-right: 40px;
}

.optin-footer h3 {
	color: #bf2d32;
	font-size: 24px;
	line-height: 100%;
	margin-top: 0px !important;
	margin-bottom: 11px;
	position: relative;
	text-align: left;
}

.optin-footer .email-details {
	color: #141823;
	font-size: 18px;
	text-align: left;
	line-height: 140%;
	position: relative;
	padding-top: 5px;
}

.optin-footer #mc_embed_signup_scroll {
	margin-top: 20px;
}

.optin-footer #mce-EMAIL {
	width: 240px;
	height: 40px;
	margin-right: 20px;
	float: left;
}

.optin-footer #mc-embedded-subscribe {
	width: 191px;
	height: 40px;
	border-radius: 0px;
	font-size: 18px;
	padding: 4px;
	text-align: center;
	border: none;
	background-color: #bf2d32 !important;
	position: relative;
}

@media (max-width: 767px) {
	.optin-footer {
		padding: 20px 20px 20px 20px;
	}
	#optin-footer-image {
		display: none;
	}
	.optin-footer #mc-embedded-subscribe {
		width: 100%;
		margin-top: 10px !important;
	}
	.optin-footer #mce-EMAIL {
		width: 100%;
	}
}

@media all
and (min-width: 768px)
and (max-width: 991px)  {
	.optin-footer #mc_embed_signup_scroll {
		padding-left: 230px;
	}
	.optin-footer #mce-EMAIL {
		width: 231px;
	}
	.optin-footer #mc-embedded-subscribe {
		width: 151px;
	}
}

@media all
and (min-width: 992px)
and (max-width: 1199px)  {
	.optin-footer {
		padding: 20px 20px 20px 20px;
	}
	#optin-footer-image {
		display: none;
	}
	.optin-footer #mc-embedded-subscribe {
		width: 100%;
		margin-top: 10px !important;
	}
	.optin-footer #mce-EMAIL {
		width: 100%;
	}
}
/* FOOTER CSS END HERE */

/* SIDEBAR CSS STARTS HERE */
@media screen and (max-width: 991px) { 
	.sidebar, #pgc-5310-2-1 {
		display: none !important;
	}
}

.single-article aside {
	margin-top: 5px;
}

.sidebar a {
	color: #141823 !important;
}

.sidebar .bio a {
	color: #bf2d32 !important;
}

.sidebar a:hover {
	color: #f26065 !important;
}

.form-search {
	max-width: 100% !important;
}

.decent-comments .comment {
	font-size: 14px;
	line-height: 20px;
	margin-top: 10px;
}

.decent-comments .comment .avatar {
	width: 45px;
	display: block;
	margin-right: 10px;
	margin-bottom: 5px;
}

.decent-comments .comment-avatar {
	padding-right: 0px;
}

.decent-comments li {
	border-bottom: solid 1px #e5e5e5;
	border-color: rgba(0,0,0,.05);
}

.wpp-list li {
	line-height: 24px !important;
	border-bottom: solid 1px #e5e5e5;
	border-color: rgba(0,0,0,.05);
	margin-top: 5px;
}

.wpp-list li img {
	margin-bottom: 5px;
}
/* SIDEBAR CSS ENDS HERE */

/* HOME PAGE CSS STARTS HERE */
.red-lantern img {
	float: none !important;
	margin: 0px 5px 0px 0px;
	padding: 0px 0px 5px 0px;
	border-style: none;
}

.hp-row {
	font-size: 20px;
	margin-top: 25px;
}

@media all 
and (min-width: 512px) 
and (max-width: 800px)  {
	.hp-row {
		text-align: center;
	}
}

.hp-row-unit {
	margin-bottom: 25px;
}

.hp-row img {
	margin-bottom: 4px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
}

.hp-row a {
	color: #141823 !important;
}

.hp-row a:hover {
	color: #f26065 !important;
}

.hp-ad-placement {
	text-align: center;
	margin-top: 0px;
	margin-bottom: 0px;
}

.hp-row-button {
	margin-bottom: 25px;
	position: relative; 
	width: 100%;
}

.hp-button {
	position: absolute; 
	top: 7px;
	left: 20px;
	width: 100%;
	color: #ffffff;
}

.hp-button a {
	color: #ffffff !important;
}

/* HOME PAGE CSS ENDS HERE */

/* FEATURED PAGE CSS STARTS HERE */
.featured-header-h1 {
	margin-bottom: 25px;
}

.featured-header-image {
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
	margin-bottom: 11px;
}

.featured-text {
	font-size: 24px; 
	line-height: 32px;
}

@media (max-width: 360px) {
	.contentclass {
		padding-top: 0px;
	}
	.featured-header-h1 {
		margin-top: 14px;
		margin-bottom: 14px;
	}
	.featured-header-image {
		margin-bottom: 0px;
	}
	.featured-text {
		font-size: 18px;
		line-height: 24px;
	}	
}

@media all
and (min-width: 361px)
and (max-width: 400px) {
	.contentclass {
		padding-top: 0px;
	}	
	.featured-header-h1 {
		margin-top: 14px;
		margin-bottom: 14px;
	}
	.featured-header-image {
		margin-bottom: 0px;
	}
	.featured-text {
		font-size: 18px;
		line-height: 24px;
	}
}

@media all
and (min-width: 401px)
and (max-width: 990px) {
}

@media all
and (min-width: 991px)
and (max-width: 1200px) {
}

.featured {
	margin-bottom: 35px !important;
}

.featured ul {
	list-style: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}

.featured li {
	border-bottom: 1px solid #eee;
	margin-bottom: 10px;
	padding-bottom: 10px;
	list-style-type: none;
}

.featured li p {
	margin-bottom: 0px;
}

.featured a {
	display: inline !important;
	text-decoration: none;
}

.featured h3 {
	background: none !important;
	clear: none;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	font-weight: 400;
	font-size: 20px !important;
	line-height: 1.5em;
}

.featured h3 a {
	color: #141823 !important;
}

.featured h3 a:hover {
	color: #f26065 !important;
}

.featured-thumb {
	border: 1px solid #eee !important;
	box-shadow: none !important;
	margin: 2px 10px 2px 0;
	padding: 3px !important;
	display: inline;
	float: left;
	width: 150px;
}

@media (max-width: 400px) {
	.featured-thumb {
		width: 100px;
	}
	.featured-summary {
		display: none;
	}
}

.featured-clearfix:before,
.featured-clearfix:after {
	content: "";
	display: table !important;
}

.featured-clearfix:after {
	clear: both;
}

.featured-clearfix {
	zoom: 1;
}
/* FEATURED PAGE CSS ENDS HERE */

/* YUM CHA CSS STARTS HERE */
.yum-section {
	width: 100%;
	clear: both;
	margin: 0 auto 0 auto;
}

.yum-row {
	text-align: center;
	line-height: 1.2em;
	font-size: 1.5em;
	padding: 20px 2em 30px 2em;
}

.yum-subrow {
	clear: both;
	line-height: 1em;
	font-size: 1em;
	padding: 50px 2em 80px 2em;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #bf2d32;
}

.yum-subrow-bottom {
	clear: both;
	line-height: 1em;
	font-size: 1em;
	padding: 50px 2em 80px 2em;
}

@media (max-width: 512px) {
	.yum-row, .yum-subrow, .yum-subrow-bottom {
		width: 100%;
		display: block;
		clear: both;
	}
}

@media all
and (min-width: 512px)
and (max-width: 800px)  {
	.yum-row, .yum-subrow, .yum-subrow-bottom {
		margin-left: auto;
		margin-right: auto;
		width: 80%;
		display: block;
		clear: both;
	}
}

@media (min-width: 800px) {
	.yum-row, .yum-subrow, .yum-subrow-bottom {
		margin-left: auto;
		margin-right: auto;
		width: 75%;
		display: block;
		clear: both;
	}
}

.yum-subrow h1 {
	text-align: center;
	padding-top: 0px;
	margin-bottom: 40px;
	margin-top: 0px;
}

.yum-subrow-subhead {
	font-size: 1.2em;
	color: #bf2d32;
}

.yum-subrow-body {
	font-size: .9em;
	line-height: 1.5em;
}

.yum-subrow ul li, .yum-subrow-bottom ul li {
	font-size: .9em;
	line-height: 1.5em;
}

.yum-subrow img, .yum-subrow-bottom img {
	clear: both;
	float: left;
	width: 335px;
	height: auto;
	margin: 0px 40px 50px 0px;
	border-style: solid;
	border-width: 1px;
	border-color: #d3d3d3;
	vertical-align: bottom;
}

@media (max-width: 512px) {
	.yum-subrow img, .yum-subrow-bottom img {
		width: 100%;
	}
}

.yum-button {
	width: 12em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	margin-bottom: 20px;
	padding: 6px 30px;
	border-radius: 10px;
	border-width: 1px;
	border-style: solid;
	display: block;
	background: #bf2d32;
	border-color: #bf2d32;
	font-size: 1em;
	line-height: 1.2em;
	text-align: center;
	color: white !important;
	text-transform: none;
	text-decoration: none;
	-webkit-font-smoothing: antialiased;
}

.yum-button:hover {
	background-color: #f26065;
	border-color: #f26065;
}
/* YUM CHA CSS ENDS HERE */