.clear {
	clear: both;
	}

#colophon-widget .fpsignup-widget {
	background-color: #5a0a0d;
	}

li.categories {
	margin: 10px;
	}

li.categories ul {
	list-style-type: none;
	margin-left: -25px;	
	}

li.categories ul li {
	width: 17em;
	float: left;
	max-height: 150px;
	min-height: 150px;
	overflow: hidden;
	margin: 1em;
	position: relative;
	}

.ads_leaderboard {
	background-color: black;
	}

.jnc-characters {
	font-size:2em;
	}

.jnc-pinyin {
	font-size:1.5em;
	}

.jnc-category-header {
	overflow: hidden;
	position: relative;
	}

.jnc-category-header img {
	max-height: 400px;
	display: block !important; 
	width: 99% !important;
	object-fit: cover;
	border: solid 1px #aaa;
	}


.jnc-post-grid-container {
	}


.jnc-post-grid {
	width: 19.5em;
	float: left;
	max-height: 150px;
	min-height: 150px;
	overflow: hidden;
	margin: 1em;
	position: relative;
	}

.jnc-post-grid img {
	max-height: 400px;
	display: block;
	width: 100% !important;
	height: 100%;
	object-fit: cover;
	}

.jnc-post-grid p {
   font-size: 1.3em;
   line-height: 1em;
   margin-top: 0.6em;
   margin-bottom: 0;
   margin-right: 0;
   margin-left: 0;
   padding-left: 0.1em;
	}

.transbox {
	margin: 0px;
	background-color: #ffffff;
	opacity: 0.8;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	}

.homepage_signup-form {
	color: #ffffff;
	padding: 10px 20px;
	text-align: center;
	font-family: "Open Sans",Arial;
	font-size: 1.2em;
	}

.homepage_signup-form h2 {
	color: #ffffff;
	}

.homepage_signup-form ul {
	padding-left: 0;
	font-size: 1.2em;
	}

.homepage_signup-form li {	
	}

.homepage_signup-form .button {
    background: #f89424 !important;
    font-family: Open Sans,Arial;
    font-size: 18px !important;
    font-weight: normal !important;
    padding: 7px 28px 7px 17px !important;
    color: #FFFFFF !important;
    border: 0 solid #ffffff !important;
    height: 39px !important;
}

.homepage_signup-form form div {
	}

.homepage_signup-form input {
	padding: 10px !important;
	font-size: 2em !important;
		}

/* Category Page */

.hospital-category .post-entry img {
	width: 100%;
	}

/* Expert Blog Topics */


.blog-topics {
	}

.blog-topics ul {
	padding-left: 0px;
	list-style: none;
	}

.blog-topics ul li {
	float: left;
	padding-right: 30px;
	padding-bottom: 15px;
	}


ul.store_menu {
	list-style: none;
	font-size: 21px;
	padding-left: 0px;
	}
	
ul.store_menu li {
	float: left;
	padding-right: 30px;
	padding-bottom: 15px;
	}

/* Attribution for pictures. */ 
	
.attribution {
	font-size: 0.6em;
	}	

/* Hospital Categories (On http://www.havingababyinchina.com/hospital-listings-reviews) */ 

.hospital-categories {
	}
	
.hospital-categories ul {
	margin-bottom: 0em;
	}

.hospital-categories li {
	list-style-image: url("http://www.havingababyinchina.com/wordpress/wp-content/uploads/2013/05/BulletList3.png");
	}	
	
.hospital-categories a {
	}	 
	

/* Clickable Button */ 

.button-link {
	margin: 10px;
	}

.button-link a {
	background-color: #5A0A0C;
	padding: 5px;
	color: white;
	border-radius: 7px;
	box-shadow: 0px 0px 4px #5A0A0C;
	}
	
.button-link a:hover {
	color: white;
	box-shadow: 0px 0px 2px #5A0A0C;		
	}	

/* Vaccine Schedule */

.VaccineSchedule  {
	margin:0px;padding:0px;
	width:100%;
	box-shadow: 10px 10px 5px #888888;
	border:1px solid #000000;
	
	-moz-border-radius-bottomleft:0px;
	-webkit-border-bottom-left-radius:0px;
	border-bottom-left-radius:0px;
	
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-right-radius:0px;
	border-bottom-right-radius:0px;
	
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
	
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
	}
.VaccineSchedule  table{
    border-collapse: collapse;
        border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
	}
.VaccineSchedule  tr:last-child td:last-child {
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-right-radius:0px;
	border-bottom-right-radius:0px;
	}
.VaccineSchedule  table tr:first-child td:first-child {
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
	}
.VaccineSchedule  table tr:first-child td:last-child {
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
	}
.VaccineSchedule  tr:last-child td:first-child{
	-moz-border-radius-bottomleft:0px;
	-webkit-border-bottom-left-radius:0px;
	border-bottom-left-radius:0px;
	}
.VaccineSchedule  tr:hover td{	
	}
.VaccineSchedule  tr:nth-child(odd){ background-color:#ffae45; }
.VaccineSchedule  tr:nth-child(even)    { background-color:#ffffff; }.VaccineSchedule  td{
	vertical-align:middle;
	
	
	border:1px solid #000000;
	border-width:0px 1px 1px 0px;
	text-align:left;
	padding:7px;
	font-size:10px;
	font-family:Arial;
	font-weight:Bold;
	color:#730608;
	}
.VaccineSchedule  tr:last-child td{
	border-width:0px 1px 0px 0px;
	}
.VaccineSchedule  tr td:last-child{
	border-width:0px 0px 1px 0px;
	}
.VaccineSchedule  tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
	}
.VaccineSchedule  tr:first-child td{
		background:-o-linear-gradient(bottom, #781215 5%, #781215 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #781215), color-stop(1, #781215) );
	background:-moz-linear-gradient( center top, #781215 5%, #781215 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#781215", endColorstr="#781215");	background: -o-linear-gradient(top,#781215,781215);
	background-color:#781215;
	border:0px solid #000000;
	text-align:center;
	border-width:0px 0px 1px 1px;
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
	color:#ffffff;
	}
.VaccineSchedule  tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #781215 5%, #781215 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #781215), color-stop(1, #781215) );
	background:-moz-linear-gradient( center top, #781215 5%, #781215 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#781215", endColorstr="#781215");	background: -o-linear-gradient(top,#781215,781215);
	background-color:#781215;
	}
.VaccineSchedule  tr:first-child td:first-child{
	border-width:0px 0px 1px 0px;
	}
.VaccineSchedule  tr:first-child td:last-child{
	border-width:0px 0px 1px 1px;
	}

.add-margins {
	margin: 0 10%;
	}	

/* Tabs on Hospital Pages */
/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-weight: bold;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.tabcontent {
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}	

.jnc-qrcode	{
	float: left;
	margin-left: 0px;
	}
	
.jnc-qrcode	img {
	margin-left: 0px !important;
	}