/*
Theme Name: MediaRealm2014
Theme URI: http://mediarealm.com.au/
Description: The 2014 iteration of the Media Realm website.
Version: 2.1
Author: Media Realm Dev Team
*/



@import url(https://fonts.googleapis.com/css?family=Convergence|Merriweather:400,400italic,700);


body {
	font-family: 'Merriweather', Arial, sans-serif;
	position: relative;
	
	font-size: 1em;
	
	background-color: #f4efe3;
}

.maxwidth {
	max-width: 1260px;
	margin: 0 auto;
}


/* ------------------------ */
/* ----------------- HEADER */

header {
	width: 100%;
	margin: 0 0 20px 0;
	
	-webkit-box-shadow: 0px -5px 10px 5px rgba(100, 100, 100, 1);
	box-shadow: 0px -5px 10px 5px rgba(100, 100, 100, 1);
	
	background-color: #253082;
	
	background-image: url('footerbg.png');
	background-position: 0px -190px;
	background-repeat: no-repeat;
}



/* ------------------------ */
/* ------------- HEADER NAV */
header nav#mainnav ul {
	list-style-type: none;
	margin: 0;
}

header nav#mainnav ul li a {
	display: block;
	
	padding: 10px;
	
	color: #FFF;
	text-decoration: none;
	border: none;
}
header nav#mainnav ul li a h1 {
	margin-top: -12px;
	margin-bottom: -2px;
	font-family: 'Convergence', sans-serif;
	font-size: 1.6em;
	color: #FFF;
	padding: 20px 5px 0px 5px;
	text-align: center;
}

header nav#mainnav ul li:hover > a,
header nav#mainnav ul li.selected a {
	/*background-color: #0077C3;*/
	background-color: #254080;
}
header nav#mainnav ul li div.submega {
	display: none;
	background-color: #254080;
	border-bottom: 5px solid #FFF;
	
	left: 0;
	right: 0;
	min-height: 100px;
	white-space: nowrap;
	
}
header nav#mainnav ul li:hover div.submega {
	display: block;
	z-index: 5000;
}
header nav#mainnav ul li:hover ul li {
	
}
header nav#mainnav ul li:hover ul li a {
	
}



header input[type="text"],
header input[type="password"],
header textarea {
    background: #f9f9f9;
    border: 1px solid #cccccc;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    padding: 2px;
}
header input[name=s] {
    color: #999999;
    font-size: 1em; 
    margin: 0; 
    padding: 10px 30px 10px 8px;
    text-transform: lowercase; 
    width: 200px;
    
    display: table-cell;
    vertical-align: middle;
}
header .search-submit {
    text-indent: -9999px;
    border: medium none;
    height: 23px;
    width: 26px; 
    
    background-color: #FFF;
    background-image: url('icon-search.png'); 
    background-repeat: no-repeat;
    background-position: center center;
    
    display: table-cell;
    vertical-align: middle;
}
.swiftype-widget .autocomplete {
    margin-top: -25px !important;
}

/* Larger browser screen resizing for horizontal menu */
@media ( min-width : 768px ) {
	header {
		height: 60px;
	}
	header nav#mainnav ul li {
		float: left;
	}
	header nav#mainnav ul li div.submega {
		position: absolute;
	}
	header nav#mainnav ul li a {
		padding: 30px 10px 8px 10px;
		margin: 0 10px;
	}
	header nav#mainnav ul li ul li {
		margin: 10px;
	}
	header nav#mainnav ul li ul li a {
		padding: 0;
		margin: 0;
	}
	header nav#mainnav ul li:hover > a {
		padding-bottom: 20px;
	}
	header nav#mainnav ul li a h1 {
		padding: 0;
		text-align: left;
	}
	header .search-form {
        float: right;
        margin: 20px 25px 0 0;
    }
}





/* ------------------------ */
/* ----------- MAIN CONTENT */

#page_wrap,
.page_wrap {
	margin: 0 1em;
}
#content_wrap {
    position: relative;
}
#content {
    padding: 5% 0;
	background-color: #FFF;
}
#sidebar {
    
}
.col {
	
}
article {
	font-size: 1.1em;
	padding: 0 5%;
}
article .callout {
	font-size: 1.5em;
	width: 100%;
	padding: 10px;
	display: block;
}
article .callout img {
	width: 100%;
	height: auto;
}
article .callout span.credit,
article .callout span.credit a {
	font-size: 0.3em;
	vertical-align: top;
}
article blockquote {
	padding: 0 20px;
	border-top: 1px solid #253082;
	border-bottom: 1px solid #253082;
	font-style: italic;
	margin-bottom: 1em;
}
article blockquote span.credit,
article blockquote span.credit a {
	font-size: 0.5em;
}

/* Larger screens display the callout on the left of the article.
   Smaller screens display it inline with everything else. */
@media ( min-width : 768px ) {
	article {
		
	}
	article .callout {
		float: left;
		clear: left;
		max-width: 300px;
		min-width: 20%;
		margin-left: -8%;
		width: auto;
	}
}

h1, h2, h3, h4, h5, h6 {
	/*font-family: 'Convergence', sans-serif;*/
	font-weight: 600;
}
body.single-post article h1,
body.single-post article h2,
body.single-post article h3,
body.single-post article h4,
body.single-post article h5,
body.single-post article h6,
body.page article h1,
body.page article h2,
body.page article h3,
body.page article h4,
body.page article h5,
body.page article h6 {
	text-align: center;
	line-height: 1.3em;
	margin-top: 1.2em;
}
body.single-post article h1 a,
body.single-post article h2 a,
body.single-post article h3 a,
body.single-post article h4 a,
body.single-post article h5 a,
body.single-post article h6 a,
body.page article h1 a,
body.page article h2 a,
body.page article h3 a,
body.page article h4 a,
body.page article h5 a,
body.page article h6 a {
	color: #333;
}
h1 {
	font-size: 2.1em;
	font-weight: bold;
}
h1 a {
	border: none;
	color: #111;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.0em;
}
p {
	margin: 1.5em 0 0.5em 0;
	line-height: 1.8em;
}
article div.e-content > p:first-of-type {
	font-size: 1.1em;
	font-weight: 600;
}
a {
	color: #1F32A9;
	text-decoration: none;
	border-bottom: 1px solid #3B6DA6;
}
p a,
ul li a {
	color: #1F32A9;
}
a img {
	border: none;
}
b,
strong {
	font-weight: bold;
}
i,
em {
	font-style:italic
}
u {
	text-decoration: none;
}
ol {
	list-style-type: decimal;
	margin: 2em 3em;
}
ul {
	list-style-type: disc;
	margin: 2em 3em;
}
small {
	font-size: 0.8em;
}
textarea,
input {
	border: 1px solid #888;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	padding: 5px;
	font-size: 1.1em;
}


table td,
table th {
	padding: 5px;
}

table tr:nth-child(even) {
	background-color: #EEE;
}
table tr:nth-child(odd) {
	background-color: #FFF
}
table td:last-child {
	text-align: right;
}



div.postheader {
	margin-bottom: 1em;
}
div.postheader h1 {
	
}
div.postheader .adsbygoogle {
	margin: 0 auto;
	display: block !important;
}
img.featured {
	width: 100%;
	height: auto;
}
body.single-post article img {
	max-width: 100%;
	height: auto;
}
img.featured-thumb {
	width: 100%;
	height: auto;
}
div.postheader p.postinfo {
	margin-top: 1em;
	font-size: 0.8em;
	color: #666;
	text-align: center;
}
div.postheader p.postinfo .category a {
	color: #666;
	border: none;
}
.e-content .adsbygoogle {
	margin: 0 auto;
	display: block !important;
}
article li {
	margin: 0.5em 0;
}
article h1, article h1, article h3, article h4, article h5, article h6 {
	margin-top: 1em;
}
.adsbygoogle {
    max-width: 100%;
    overflow-x: hidden;
}


.indexheader {
	margin-bottom: 40px;
}
.indexheader h1 {
	text-align: center;
}
.indexheader p {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 1em auto;
}


.post-summary {
	
}
.post-summary h2 {
	font-size: 1.2em;
	margin-top: 0;
	
}
.post-summary h2 a {
	color: #000;
}
.post-summary p {
    margin-top: 0;
    font-size: 0.8em;
}
.post-summary a {
	border: none;
}
.minipost {
	font-size: 1.2em;
	margin: 20px 0;
}
.minipost div.container {
	margin: 0 2%;
	border-top: 1px solid #EEE;
	padding: 10px;
	border-bottom: 1px solid #EEE;
}
.post-summary .adleaderboard {
	
}
.post-summary .adleaderboard * {
	margin: 0 auto;
}
#postnav {
	text-align: center;
	margin: 20px 0;
}



#infscr-loading {
	text-align: center;
}
.screen-reader-text {
	display: none;
}



/* Captions & aligment */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	padding-top: 4px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 0.4em;
	margin: 0;
}
/* End captions & aligment */


.authorbox {
	width: 100%;
	color: #333;
	padding: 20px;
	margin: 30px 0;
	
	border-top: 1px solid #888;
	border-bottom: 1px solid #888;
	font-size: 0.9em;
}
.authorbox h4 {
	margin-top: 0;
}
.authorbox a {
	color: #29137B;
}
.authorbox .author_photo {
	width: 130px;
	text-align: center;
	display: block;
	margin: 0 auto;
}
.authorbox .author_photo .follow {
	text-align: center;
	border: 1px solid #fff;
	border-radius: 15px;
	background-color: #311793;
	color: #FFF;
	font-weight: bold;
	padding: 2px 10px;
}

@media ( min-width : 768px ) {
	.authorbox p,
	.authorbox h4 {
		margin-left: 150px;
	}
	.authorbox .author_photo {
		float: left;
		margin-top: 1em;
	}
	.authorbox .author_photo .follow {
		width: 100%;
		display: block;
		padding: 0;
	}
	
}





.mailchimpsignup {
	width: 100%;
	padding: 20px;
	
	background-image: url('email-signup-background-1.jpg');
	background-repeat: no-repeat;
	background-color: #4e4e8b;
	background-size: cover;
	
	color: #FFF;
}
.mailchimpsignup h3 {
	text-align: center !important;
	margin: 0 !important;
}
.mailchimpsignup p {
	text-align: center;
}
.mailchimpsignup section:first-child {
	/*padding-left: 20px;*/
}
.mailchimpsignup form {
	padding: 0 10px;
}
.mailchimpsignup form input.email {
	width: 100%;
	color: #333;
	font-size: 0.9em;
	padding: 5px;
}
@media ( min-width : 768px ) {
	.mailchimpsignup h3 {
	    text-align: left !important;
    }
    .mailchimpsignup p {
	    text-align: left;
    }
}
.mailchimpsignup form input.button {
	width: 100%;
	padding: 8px 0;
	
	border: 1px solid #137725;
	border-radius: 5px;
	font-size: 0.9em;
	color: #FFF;
	font-weight: bold;
	text-shadow: -1px -1px #1C5D28;
	
	background: rgb(247,142,30); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(247,142,30,1) 0%, rgba(255,123,13,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,142,30,1)), color-stop(100%,rgba(255,123,13,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(247,142,30,1) 0%,rgba(255,123,13,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(247,142,30,1) 0%,rgba(255,123,13,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(247,142,30,1) 0%,rgba(255,123,13,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(247,142,30,1) 0%,rgba(255,123,13,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f78e1e', endColorstr='#ff7b0d',GradientType=0 ); /* IE6-9 */

	cursor: pointer;
}


.nextcontent {
	width: 100%;
	clear: both;
	overflow: auto;
	margin: 40px 0 20px 0;
}
.nextcontent > section {
	width: 100%;
	text-align: center;
}
.nextcontent .related {
	
}
.nextcontent .related h3 {
	text-align: left;
	font-size: 1.1em;
	margin: 0;
}
.nextcontent .ad {
	min-width: 300px;
	min-height: 250px;
}
.nextcontent .ad * {
	margin: 0 auto;
}

@media ( min-width : 610px ) {
	.nextcontent > section {
		width: 50%;
		float: left;
	}
	.nextcontent .ad * {
		float: right;
	}
}



/* ------------------------ */
/* ---------------- SIDEBAR */

/*sidebar ul {
	margin-left: 0;
}
sidebar ul ul {
	margin-left: 2em;
}*/

/* Force a 2 column sidebar no matter the viewport width */
sidebar .span_6 {
    width: 49.0%;
}
sidebar .col {
    margin-left: 2%;
}


.widget {
	margin-bottom: 1em;
}
.widget .title {
	display: block;
	width: 100%;
	padding: 5px 10px;
	font-size: 1.2em;
	font-weight: 600;
	text-align: center;
}
.widget .post-summary {
	margin: 0 0 0.5em 0;
}
.widget .post-summary h1 {
	font-size: 1em;
	font-weight: 400;
}
.widget .post-summary img {
    opacity: 0.6;
}
.widget .post-summary:hover img {
    opacity: 1;
}

.widget_search input#s {
	font-size: 1em;
	border-radius: 3px;
	border: 1px solid #AAA;
	padding: 3px;
}
.widget_search input#searchsubmit {
	vertical-align: bottom;
	margin-bottom: 7px;
}
.widget .wpcf7 {
	font-size: 0.8em;
}
.widget .mailchimp1 {
	width: 100%;
	
	background: #e3d6b8;
    border: 1px solid #FFF;
	padding: 20px 15px;
	text-align: center
}
.widget .mailchimp1 h4 {
    text-align: center;
}
.widget .mailchimp1 p {
    text-align: center;
    margin: 1em;
}
.widget .mailchimp1 input {
	margin-bottom: 10px;
	padding: 8px 10px;
	width: 100%;
	
	background: #FFF;
	
	border: 1px solid #CCC;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	
	box-shadow: 0 2px 2px #DDD;
	-moz-box-shadow: 0 2px 2px #DDD;
	-webkit-box-shadow: 0 2px 2px #DDD;
}
.widget .mailchimp1 input.email {
	background-color: #FFF;
}
.widget .mailchimp1 input.button {
	background-color: #217B30;
	border: 1px solid #137725;
	color: #FFF;
	cursor: pointer;
	font-weight: bold;
	padding: 8px 0;
	text-shadow: -1px -1px #1C5D28;
	width: 100%;
}
#optin input.button:hover {
	color: #c6ffd1;
}


/* ------------------------ */
/* ----------------- FOOTER */
footer {
	width: 100%;
	min-height: 200px;
	
	padding: 1em 0;
	
	background-color: #253082;
	background-image: url('footerbg.png');
	background-position: top center;
	background-repeat: no-repeat;
	
	color: #FFF;
}

footer a {
	color: #FFF;
}

footer div.container section:last-child p {
	text-align: right;
}