@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body { 
  font-family: 'Gotham', 'Helvetica Neue', Helvetica, Arial, 'sans-serif';
  color: #666;
  font-size: 14px;
  background-image: url("images/");
  background-repeat: no-repeat;
  background-position: right top;

}

/* STRUCTURE */

#pagewrap {
	padding: 0px;
	width: 940px;
	margin: 0px auto;
}
header {
	height: auto;
	padding: 0px 0px;
}
main {
	height: auto;
	padding: 0px 0px;
}
#content {
	width: 450px;
	float: left;
	padding: 0px 0px;

}

#sidebar {
	width: 450px;
	padding: 10px 0px;
	float: right;
}
footer {
	clear: both;
	padding: 50px 0px;
}
h1 {
	font-size: 30px;
}
h2 {
	font-size: 16px;
	color: #767676;
}
a {
	text-decoration: none;
color: #CC33FF;
}

quote {
font-style: italic;
font-size: 12px;
color: #666666;
}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 48%;
		padding: 1% 4%;
	}
	
	#sidebar {
		clear: both;
		padding: 1% 4%;
		width: 48%;
		float: right;
	}

	header, main, footer {
		padding: 1% 4%;
	}
}

/* for 700px or less */
@media screen and (max-width: 600px) {

	#content {
		width: auto;
		float: none;
	}
	
	
	#sidebar {
		width: auto;
		float: right;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	header {
		height: auto;
	}
	h1 {
		font-size: 2em;
	}
	#sidebar {
		display: none;
	}

}


#content {
	background: #ffffff;
}
#sidebar {
	background: #ffffff;
}
header, #content, #sidebar {
	margin-bottom: 0px;
}

#pagewrap, header, main, #content, #sidebar, footer {
	border: solid 0px #ccc;
}