/*
   Theme Name:  SiliconBeat's Erudito Child Theme
      Version:  1.01
     Template:  erudito
*/

@import url("../erudito/style.css");

/* Top Secondary Menu overrides */
#top-menu {
	float: left;
	display: inline;
	font-size: 10px;
	line-height: 18px;
	margin: 0;
	text-transform: uppercase;
	padding: 10px 0 10px 10px;
	border-left: solid 1px #ccc;
}
#top-menu li {
	margin-left: 0;
	padding-left: 0;
	border: 0;
	float: left;
	display: block;
	clear: both;
}

/* logo width overrides */
#logo { margin-right: 12px; }
#logo img { width: 500px; }

/* header margin bottom */
.wrapper-main header { margin-bottom: 10px; }


/* thumb size override */
div.post-thumb { width: 300px; }
div.post-thumb img {
	width: 100%;
	height: auto;
}



/* FEATURED SLIDER default overrides */
/* hide blurb in the featured post slider */
ul.slides li .post-body p { display:none; }
/* try to get headline across bottom 100% */
#featured-posts div.post-body {
	background: rgba(1, 29, 148, 0.4);
	padding: 12px 0;
	width: 100%;
}
#featured-posts div.post-body h2 {
	margin-left: 12px;
}
.flex-viewport { display: none; }
#content #featured-posts h2 a {
	color: white;
}
#featured-posts div.cover {
	height: 450px;
	overflow: hidden;
}

#featured-posts div.cover img {
	width: 120%;
	margin: -8% 0 0 -8%;
	height: auto;
}







/************************
page structure overrides
*************************/
div.wrapper,
footer div.wrapper {
	width: 1080px;
}

div.wrapper-content {
	padding-left: 0px;
}

/* sidebar fade width override */
#aside-fade { width: 350px; }


/************************
main content overrides
*************************/
#content {
	width: 710px;
}

.post-content p {
	font-family: Merriweather, Georgia, "Times New Roman", Times, serif;
	font-size: 1.3em;
	line-height: 28px;
}

.post-content a
{
font-weight: bold;
}

.post-content ul,
.post-content ol {
	font-family: Merriweather, Georgia, "Times New Roman", Times, serif;
	font-size: 1.25em;
	line-height: 27px;
	margin: 0 0 1em 1em;
}
.post-content li ul,
.post-content li ol {
	margin-bottom: 0;
}
.post-content li {
	list-style-position: outside;
	margin: 15px 0px;
}
.post-content ul li {
	list-style-type: square;
}
.post-content ol li {
	list-style-type: decimal;
}

/* make 100% wide for large size images */
.post-content img.size-large {
	width: 100%!important;
}


/* right rail overrides */
aside {
	float: left;
	display: inline;
	width: 320px;
	padding: 20px 15px 0;
}

/* sidebar title override */
aside p.title {
	font-size: 13px;
	font-weight: bold;
}







/* article title links */
#content h2 a {
	color: #444;
	font-size: 25px;
	font-weight: normal; 
	text-decoration: none; 
	margin: 6px 0 9px;
	font-family: 'Crete Round', Georgia, Times New Roman, serif;
}
/* "more posts" title links */
#content div.post-actions div.column h2 a { font-size: 1.8em }



/* search button */
a.button.red,
#respond input#submit,
input#searchsubmit {
	background-color: #1449d2;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.196, #97c4f6), to(#1f40e5));
	background-image: -webkit-linear-gradient(top, #97c4f6 19.6%, #1f40e5 100%);
	background-image: -moz-linear-gradient(top, #97c4f6 19.6%, #1f40e5 100%);
	background-image: -ms-linear-gradient(top, #97c4f6 19.6%, #1f40e5 100%);
	background-image: -o-linear-gradient(top, #97c4f6 19.6%, #1f40e5 100%);
	background-image: linear-gradient(to bottom, #97c4f6 19.6%, #1f40e5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
	border-color: #c43c35 #c43c35 #882a25;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	text-shadow: 1px 1px #0e40a8;
}
aside div.widget_search {
	margin: 10px 0 25px;
	text-align: center!important;
	word-spacing: -3px;
}
/* search override to centered */
div.widget input#s { float: none; width: 165px; }
input#searchsubmit { float: none; display: inline; }




/************************
vendor/partner overrides
*************************/

/* outbrain min-width was busting */
.AR_1.ob-widget { min-width:300px!important }




/*******************

   MEDIA  QUERIES

********************/

/* Tablet Landscape */
@media screen and (max-width: 1140px) {

	div.wrapper,
	footer div.wrapper {
		width: 94%;
	}

	#content {
		width: auto;
		margin-right: 360px;
	}

	aside {
		width: 320px;
		float: right;
		margin-left: -360px;
	}
	
	#featured-posts {
		overflow: hidden;
	}
	
	#featured-posts div.cover {
		max-width: 100%;
		width: 100%;
		/* height: auto; -- this made copy move around too much */
		margin-top: -10% !important;
	}

	#featured-posts div.cover img {
		
		margin: 0;
		height: auto;
	}

	div.post-thumb { width: 200px; }
	div.post-thumb img {
		width: 100%;
		height: auto;
	}
	



}

/* Tablet Landscape */
@media screen and (max-width: 960px) {

}

/* Tabled Portrait */
@media screen and (max-width: 768px) {

	#container header {
		width: 100%;
	}
	#logo {
		float: none;
	}
	#logo a img {
		display: block;
		margin: 10px auto;
		width: 100%;
		max-width: 450px;
	}
	#top-menu {
		border: 0;
		display: table;
		float: none;
		margin: 0px auto !important;
		padding: 0;
	}
	#top-menu ul li {
		clear: none;
		margin-left: 18px;
		display: inline-block;
	}
	#top-menu ul li:first-of-type {
		margin-left: 0;
	}

}


/* this is overriding the parent theme, making this happen 'sooner' than 768 */
@media screen and (max-width: 860px) {
	#content {
		float: none;
		display: block;
		margin-right: 0;
		width: 100%;
		min-width: 300px;
	}

	aside {
		float: none;
		display: block;
		margin: 20px 0 0;
		padding-left: 2%;
		padding-right: 2%;
		width: 96%;
	}

}

/* All Mobile Sizes (devices and browser) */
@media screen and (max-width: 640px) {

	#featured-posts div.cover { height: 350px; }
	
	/* "more posts" fix */
	div.post-actions div.column { width: 100%; }
	
	

}

/* All Mobile Sizes (devices and browser) */
@media screen and (max-width: 480px) {

	#featured-posts div.cover {
		height: 300px;
	}
	
	div.post-thumb { 
	float: none;
	margin: 0;
	}
	div.post-thumb img {
		width: 200px;
	}

}

/* All Mobile Sizes (devices and browser) */
@media screen and (max-width: 320px) {

	#top-menu {
		display: none;
	}

	#featured-posts div.post-body {
		display: block;
	}

	div.post-thumb {
		display: block;
	}

}