/*
Theme Name: Babyology Mobile
Theme URI: http://babyology.com/
Description: Mobile theme for Babyology.com
Author: The Working Party
Author URI: http://theworkingparty.com.au/
*/
/* =============================================================================
	 HTML5 display definitions
	 ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
	 Base
	 ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
	 Links
	 ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
	 Typography
	 ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
	 Lists
	 ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
	 Embedded content
	 ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
	 Figures
	 ========================================================================== */

figure { margin: 0; }


/* =============================================================================
	 Forms
	 ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"], [role="button"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
	 Tables
	 ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
	 Author:
	 ========================================================================== */

@font-face {
	font-family: 'Quickfix Book';
	src: url('fonts/quickfixbook-regular-webfont.eot');
	src: local('â˜º'), url('fonts/quickfixbook-regular-webfont.woff') format('woff'), url('fonts/quickfixbook-regular-webfont.ttf') format('truetype'), url('fonts/quickfixbook-regular-webfont#webfontQvsv8Mp8') format('svg');
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'Quicksand Bold';
	src: url('fonts/Quicksand_Bold-webfont.eot');
	src: local('â˜º'), url('fonts/Quicksand_Bold-webfont.woff') format('woff'), url('fonts/Quicksand_Bold-webfont.ttf') format('truetype'), url('fonts/Quicksand_Bold-webfont.svg#webfontA4fKbYnS') format('svg');
	font-weight: normal;
	font-style: normal;
}

body {font: normal 76%/1.5em Helvetica, Arial, sans-serif;  line-height: 1.5; background: #6E3E19; color:#666; margin:0; padding:0;}
p, li, dt, dd, th, td, legend {font-size: 1.166667em; line-height: 1.285714em; text-align:left}
a:link, a:visited {color: #c03; text-decoration: none;}
a:hover {color: #CC0033; text-decoration: underline;}
a:active {color: #FF151E; outline:0; }

a.footerlink {color:#fff}

h1.entry-title {z-index:3; font-family: "Quickfix Book", Helvetica, Arial, sans-serif; font-weight:normal; font-size: 2em; line-height: 1em; margin: 0; margin-bottom: 0.4em; color: #CC0033;}

h1.entry-title a {text-decoration: none; color: #CC0033;}

h1.entry-title a:hover {text-decoration: underline;}

#container {
	border-radius: 10px;
	margin: 0 auto;
}

.logo {
	text-align: center;
	height:104px;
	margin: 0 auto -5px auto;
	z-index: 2;
	position: relative;
	padding: 0 1em;
}

.logo img {
	max-width: 100%;
}

article.post {
	padding: 10px 20px 10px 20px;
}

div.date-footer {
	padding: 0.2em 0.2em 0.1em 20px;
	background-color: #eaecdd;
	font-size: 1em;
	color: #6e3e19;
	margin-bottom: 1.5em;
}

article.pagination {
	padding: 0;
}



div#main [role="main"], section#blog {
	background-color: #fff;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-o-border-radius: 20px;
	border-radius: 20px;
/*	max-width: 600px;*/
	margin: 0 auto;
	z-index: 1;
	position: relative;
	padding:25px 0 15px 0;
}


article.post img {
	background-color: #fff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}
article.post iframe {max-width: 100%;}
.pagination {overflow: hidden}
.older, .newer {
	font-family: "Quicksand Bold", Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	font-size: 0.9em;
	padding: 4px 10px;
	text-decoration: none;
	background-color: #eaecdd;
	margin: 0 9px;
	border: #dee1d2;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	width: 38%;
}

.older:hover, .newer:hover {
	background-color:#EAECD0;
}

.pagination a {
	color: #6e3e19;
}

.pagination a:hover {
	text-decoration: none;
	background-color: #fff;

}

.older {
	float: left;
	}

.newer {
	float: right;
	text-align: right;
}

footer {
	text-align:center;
	padding: 10px;
	z-index:-9999;
	font-family: "Quickfix Book";
}

footer a:link {
	font-weight:normal; font-size: 1.5em;
	color: #fff;
}

a.facebook,
a.twitter,
a.email {
	display: inline-block;
	text-indent: -999em;
	width: 150px;
	height: 52px;
	margin: 5px 2px;
	overflow: hidden;
}

a.facebook {
	background:transparent url('images/facebook.png') top center no-repeat;
}
a.twitter {
	background:transparent url('images/twitter.png') top center no-repeat;
}
a.email {
	background:transparent url('images/email.png') top center no-repeat;
}
.socmedia {white-space: nowrap; overflow: hidden;}
	#blog .socmedia > * {max-width: 90px !important; display: inline-block !important; vertical-align: bottom !important;}

/* Comments */
.commentlist {
	list-style: none;
	margin: 0; padding: 0;
}
.comment {
	position: relative;
	padding-bottom: 3em;
}
.comment p {
	background: #f0eeec;
	padding: 1em;
		border-radius: 1em;
}
.comment-meta {
	position: absolute;
	bottom: 0;
	right: 37px;
}

.comment-meta a {color: #B9BAAE;}
.comment-author {
	position: absolute;
	bottom: 5px;
	right: 0;
	color: #6C3E19;
}
article.post .comment-author img {
	display: inline;
	float: right;
	margin-left: 10px;
}
.says {display: none;}
#commentform [type="text"] {display: block;}
#commentform [type="text"],
#commentform textarea {padding: 5px; width: 100% !important; border: 1px solid #777; box-sizing: border-box}
#commentform label {display: inline-block;}
.required {color: red;}
.post li {
	margin: 1em 0;
}

/* Related Posts */
	.related-posts {
		list-style-type: none;
		margin: 0;
		/*height: 110px;*/
		margin-bottom: 1em;
		padding-left: 0;
		text-align: left;
	}
	.related-posts h4,
	.NA .ob_org_header  {text-align: left; 
	font-family: "Quickfix Book", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 1.166667em;
line-height: 1.285714em;
margin-top: 1.285714em;
margin-bottom: 1.285714em;color: #CC0033;
font-weight: normal;
letter-spacing: 0.0em;

	}

	.related-posts li,
	#blog .NA .ob_container_recs .item-container {
		padding: 0; margin: 0;
		display: block;
		margin-left: 0;
		float: none;
		max-width: 100%;
		margin-bottom: 10px;
		
		/*margin-right: 5px;*/
	}
	#blog .NA .ob_container_recs .item-container {
		position: relative;
		padding-right: 0
	}
	.related-posts li:first-child,
	#blog .NA .ob_container_recs .item-link-container:first-child .item-container {
		margin-left: 0
	}

	.related-post,
	#blog .NA .ob_container_recs .item-container {
		position: relative;
		/*padding: 3px;*/
		background-color: white;
		/*border: 1px solid #ddd;*/
		/*width: 30%;*/
		/*height: 183px;*/
		overflow: hidden;
	}
	#blog .NA .ob_container_recs .item-link-container:first-child + .item-link-container + .item-link-container + .item-link-container,
	#blog .NA .ob_container_recs .item-link-container:first-child + .item-link-container + .item-link-container + .item-link-container +  .item-link-container {
		display: none;
	}
	#blog .NA .strip-img {
		max-width: 100%;
		height: auto !important;
	}
	#blog .NA .ob_container_recs {
		position: relative;
	}
	#blog .NA .strip-img {
		width: auto !important;
		max-width: 100%;
		height: auto !important;
	}
	.related-post:hover .related-title {
		background: rgba(0,0,0,.9);
	}

	.related-title,
	#blog .NA .ob-text-content {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		/*width: 96px;*/
		/*margin-left: 3px;*/
		/*opacity: 0.5;*/
		/*padding: 3px 2px;*/
		text-align: center;
		padding: 0;

		height: auto;
		overflow: hidden;
		background-color: rgba(0,0,0,.5);
		border-radius: 0 0 8px 8px;

	}
	#blog .NA .ob_container_shadow_outer {display: none;}
	.related-title {
font-size: 0.7em;
line-height: 1.4;
	}
	#blog .NA .strip-rec-link-title {
		line-height: 1.4;
		font-size: 1em;
		padding: 5px 10px;
	}

	.related-title a,
	#blog .NA .ob_container_recs .item-link-container,
	#blog .ob-tcolor {
		text-decoration: none;
		color: white;
	}

	.NA .ob_what {
		display: none;
	}

	.related-thumb {
		font-family: courier;
		background-color: white;
		font-size: 1.2em;
		line-height: 1.2;
		height: 100px;
		overflow: hidden;
		width: 100px;
	}
	.related-thumb img {
		max-width: 100% !important;
		max-height: 100% !important;
	}

	.related-thumb a {
		text-decoration: none;
		color: #ddd;
	}