/*-----Prevents iPhone from resizing in landscape mode -----*/
html {-webkit-text-size-adjust: none; }

/*-----BODY -----*/
body {
	background-color: #3F2A53;
	font-size: 16px;
	font-family:"Comic Sans MS", cursive	
}


/*-----CONTAINER -----*/
#container {
	background-color: #283B41;   /*becomes the nav background color*/
	min-width: 320px;
	max-width: 960px;
}

/*-----HEADER -----*/
header {background-color: #748C85;
 	border-bottom: 5px solid #CF6;
	}
header h1 {
	font-size: 2em; 
	padding: 1em 0 0 2%;
	color: #A66AA2;
	}
header h2 {
	font-size: 1.5 em; 
	 padding: .5em 0 0 2%;
	 color: #FFF;
	}
header img {
	float: left;
	padding: .5em 2%;
	}



/*-----NAVigation -----*/
nav {}
nav ul li {}
nav ul li a {
	display:block;
	text-align:center;
	padding: .7em;
	background-color:#D8CDDD;
	color:#FFF;
	text-decortation: none;
	margin: .5em;
	border: 2px solid #FFF;
	border-radius: 10px; 
	font-size: 1em;
}
nav ul li a:hover {
	background-color:#999;
}
nav ul li a:active {
	background-color:#000;
}



/*-----CONTENT -----*/
#content {
	min-height: 5em;
	background-color: #FFF;
	font-size: 1em;
}
#content h1 {
	margin: 1em 2% 0 2%;
	font-size: 1.5 em
}
#content p {
	padding-bottom: .5em;
}
#content article {
	margin: 0 2%;
}
#content article.news, #content article.tweet {
	background-color: #ddd;
	margin-top: .5em;
	margin-bottom: .5em;
}
article.news p, article.tweet p {
	color: #666;
	font-size: .9em;
	padding-left: 1%;
	padding-right: 1%;
	line-height: 120%;
	
}
article.news h2, article.tweet h2 {
	background-color: #004bb8;
	color: #FFF;
	font-size: .9em;
	padding: .5em
}
Article.tweet h2 { background-color:#b8005c;}

/* images in content */

#content figure{
	margin-bottom: .5em;	
}
#content figure.w100 {
	width: 100%;	
}
#content figure.w33 {
	width: 100%;
	border: 1px solid #999;	
}
#content figure img {
	width: 100%;	
}
#content figcaption{
	text-align: center;	
	font-size: .6em;
	color: #777;
	padding: .3em;
}

	




/*----- FOOTER -----*/
footer {
	clear: both;
	text-align: center;
	padding: 1em;
	color: #FFF;
	background-color: #283b41; 
	font-size: .7em;
}

.keepOpen {
	clear: both;
	}