@charset "UTF-8";
/* CSS Document */
/*Authored by Ryan Ray Neff 3-6-14 for CIS 244-Intro to CSS Winter 2014*/

/*this hides the things i don't want to see on a mobile device*/
figcaption,
header h2,
#socialmedia,
#articles h2
{
	display:none;	
}

/*clears the background color*/
html,
body {
	background:white;
}

/*fits the conent to the width of the screen*/
#page-wrapper { 
	width:auto;
}

/*this displays an arrow icon in the header, so that the user can quickly return to the site navigation links at the top of the page*/
.menu-button {
	display: block;
	position:fixed;
	top:3px;
	left:10px;
	font-size:1.7em;
	color:white;	
}

/*this keeps the site header, site name, and anchor to site navigation fixed at the top of the page*/
header {
	width:100%;
	position:fixed;
}

/* Restyles and centers "tech time"*/
header h1 {
	font-size:2em;
	color:white;
	line-height:1.4em;
	height:auto;
	display:block;
	width:100%;
	text-align:center;
}

/*clears background color for figures*/
figure {
	background-color:white;
}

/*places the navigation below the fixed header and clears the background color*/
nav {
	margin-top:45px;
	margin-right:10px;
	margin-left:10px;
	background-color:white;
	width: auto;
}

/*gives the buttons individual background colors, and divides the buttons for better visibility*/
nav li {
	background-color:rgb(46,54,64);
	margin:3px;
}	

/*decreases the padding to fit more on the tiny screen*/
nav a{
	padding:.25em;
}	

/*this makes the button extra big when you click on it, so it's easier to see under your finger*/	
nav a:focus,
nav a:hover {
	background: #233;
	color: grey;
	margin:6px;
	padding:3px;
}

/*changes the color of the current page indicatior*/
#currentpageindicator {
	background-color:rgba(46,54,64,.8);
}

/*provides consistent padding for the body content*/
.main {
	padding:10px;
}

/*ensures all articles span the full width of the screen*/
#articles {
	width:100%;
	border:none;
	padding:3px;
	border-bottom: thick rgb(238,121,46) solid;
}

h1{
	font-size:1.5em;
	color:rgb(46,54,64);
	clear:both;
}
	
p{
	font-size:1em;
}

#primaryarticle {
	border-bottom: thick rgb(238,121,46) solid;/*this is repeated to override the techtimestyles.css*/
	padding-bottom:10px;
}

#secondaryarticle {
	width:100%;
	float:none;
	padding-right:0;
	border-right:none;
	border-bottom: thick rgb(238,121,46) solid;
	padding-bottom:10px;
}

#tertiaryarticle {
	float:none;
	width:100%;
	padding-left:10px;
	padding-bottom:20px;
}
/*puts th sidebar below the articles, and spans the width of the screen*/
#sidebar{
	width:100%;
	margin-right:0;
	margin-top:10px;
}

#sidebar h1{
	font-size:2em;
	height:auto;
}

#sidebar h2{
	padding: 0px 10px;
	color: rgb(256,256,256);
	font-weight:400;
	font-size:1.5em;
	clear:both;
}

#sidebar p{
	font-size:1em;
	padding:0px 0px 10px 10px;
	border-bottom:5px solid rgb(46,54,64);
}	
#mostpopular img {
	width:100px;
}
