/*
font-family: 'Quattrocento Sans', sans-serif
font-family: 'Cardo', serif;
*/
body {
	width: 100%;
	padding: 2% 5%;
	font-family: 'Quattrocento Sans', sans-serif;
}
#header {
	width: 90%;
}
#main {
	width: 90%;
	margin: 0 0 15px 0;
	padding: 0;
}
#latest {
	width: 74%;
	float:left;
	padding: 0 10px 0 10px;
	background: #DFDED4;
}

#sidebar{
	width: 24%;
	float: left;
	background: #FFF;
	margin: 0;
	padding: 0;
}
#footer {
	width: 90%;
	background-color: #CDCAB9;
	clear: both;
	color: #432F21;
	padding: 0 0 0 25px;
	font-size: .8em;
	line-height: 150%;
}
#title {
	background-color: #DFDED4;
	padding: 0px 0px 0px 5px;
	color: white;
	text-align: left;
	margin: 0 0 20px 0;
}
#header h1 {
	font-family: 'Quattrocento Sans', sans-serif;
	font-size: 4em;
	font-weight: bold;
	padding: 5px;
}
h2 {
	font-family: 'Quattrocento Sans', sans-serif;
	font-size: .9em;
	font-weight: normal;
	font-style: italic;
	margin: 0;
	text-align: right;
	padding: 0 0 5px 0;
	color: #432F21;
}
#sidebar p {
	font-size: .8em;
	font-family: 'Cardo', serif;
	line-height: 120%;
	font-style: normal;
	padding: 0 0px 0 25px;
}
#sidebar h4 {
	font-size: 1em;
	font-family: 'Quattrocento Sans', sans-serif;
	padding: 5px 0px 5px 5px;
	margin: 0 0 0 20px;
	color: #CA171B;
	font-weight: bold;
	background: #DFDED4;
	border-top: 3px solid #CDCAB9;
}
#sidebar ul {
	margin: 0 0 10px 0;
	padding: 0 25px;
}
#sidebar li {
	list-style: none;
	font-size: .9em;
	line-height: 120%;
	font-style: normal;
	font-family: 'Quattrocento Sans', sans-serif;
}
.assignment {
	font-size: .9em;
	margin: 0 0 1em 0;
	padding: 0;
}
.assignmenthed {
	font-size: 1.6em;
	font-family: "Quattrocento Sans", sans-serif;
	padding: 10px 0 0 0;
	color: #CA171B;
	font-weight: normal;
}
a:link {
	text-decoration:none;
	color: #999;
}
a:visited {
	color: #D6D3C4;
}
a:hover{
	color: #CA171B;
}

/* for mobile devices */
/*iPhone6*/
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
	#latest {
		width: 90%;
		float: none;
	}
	#sidebar {
		width: 90%;
		margin-top: 10px;
		float: none;
	}
	.assignmenthed {
		font-size: 1.2em;
	}
	#header h1 {
		font-size: 2em;
	}
}
/*iPhone 2-4, older smartphones*/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	#latest {
		width: 95%;
		float: none;
	}
	#sidebar {
		width: 100%;
		margin-top: 10px;
		float: none;
	}
	.assignmenthed {
		font-size: 1.2em;
	}
	#header h1 {
		font-size: 2em;
	}
}
/*iPhone 5*/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
	#latest {
		width: 95%;
		float: none;
	}
	#sidebar {
		width: 100%;
		margin-top: 10px;
		float: none;
	}
	.assignmenthed {
		font-size: 1.2em;
	}
	#header h1 {
		font-size: 2em;
	}
}
/*iPad*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
	#latest {
		width: 95%;
		float: none;
	}
	#sidebar {
		width: 100%;
		margin-top: 10px;
		float: none;
	}
	#header h1 {
		font-size: 3em;
	}
}
/* Android Tablet (portrait and landscape) */
   @media only screen
   and (min-device-width : 800px)
   and (max-device-width : 1280px) {
   	#latest {
		width: 95%;
		float: none;
	}
	#sidebar {
		width: 100%;
		margin-top: 10px;
		float: none;
	}
	#header h1 {
		font-size: 3em;
	}
 }
/*Galaxy S2 */
@media only screen
   and (min-device-width : 480px)
   and (max-device-width : 800px)
   and (orientation : landscape) {
   	#latest {
		width: 95%;
		float: none;
	}
	#sidebar {
		width: 100%;
		margin-top: 10px;
		float: none;
	}
	.assignmenthed {
		font-size: 1.2em;
	}
	#header h1 {
		font-size: 2em;
	}
}