/* Background styles. */
BODY {
	background-color: #f5f5f5;
	line-height: normal;
	font-weight: normal;
	font-style: normal;
	font-size: 62.5%;
	font-family: Arial, Trebuchet MS, Verdana, Helvetica, Geneva, sans-serif;
	color: #000000;
	margin: 5px auto;
	width:98%;
    min-width: 320px;
	max-width: 980px;
}

#titlepage {background-color:#7F7E79;}

a img { border:0px; } /* don't want auto borders around image links */

a.light:active{
	color:#eeeeee;
}
a.light:visited{
	color:#eeeeee;
}
a.light:link{
	color:#eeeeee;
}

a.dark:active{
	color:#000000;
}
a.dark:visited{
	color:#000000;
}
a.dark:link{
	color:#000000;
}

a.noline{
	text-decoration:none;
}


/* Text Styles */
.large_text { /* e.g. contact info */
	text-align: left;
	font-size: 1.2em;
}

.med_text { /* e.g. paragraph text */
	/*font-size: 14px;*/
	font-size: 1.0em;
}

.linktext {
	padding-top:10px;
}

.Copyright {
	padding-top: 10px;
	text-align: left;
  	font-size: 1.0em;
	color: #222222;
	float: left;
}

/* Heading and navigation */

#navwrap{
	position: relative;
	width:100%;
}
#body_wrap{
	position:relative;
	top: 5px;
	width:100%;
	float:left;
}

#navhomelink {
	height:120px;
	width: 120px;
	float: left;
}

#navbar{
	position: absolute;
	min-width: 440px;
	left:125px;
	right:0px;
	height: 120px;
	background-color: #7F7E79;
}

#navtoplevel{
	float: left;
	height: 50%;
	width: 100%;
	background-color: #7F7E79;
}

#navsecondlevel{
	float: left;
	height: 50%;
	width: 100%;
	background-color: #a8aC51;
}

.navlink {
	height: 100%;
	font-size: 1.6em;
	font-weight: bold;
	text-transform: uppercase;
	width: 25%;
	max-width:180px;
	float: left;
	text-align: center;
}
.navlink:hover {
	background-color: #4F5031;
}
.navlink.active {
	background-color: #8f9238;
	color: white;
}

.navsublink {
	height: 100%;
	font-size: 1.4em;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #a8aC51;
    width: 25%;
	max-width:180px;
	float: left;
	text-align: center;
}
.navsublink:hover {
	background-color: #8f9339;
}
.navsublink.active {
	background-color: #979b41;
	color: white;
}

/* "Portfolio" section styles */

#itemlist{ /* The overall block containing the list of portfolio items */
	width: 100%;
	height: 82px;
	float: left;
	background-color: #e9e9e9;
	min-width: 560px;
}

#itemgrid{ /* The grid containing the list of all portfolio items */
	position: relative;
	width: 100%;
	margin: 3em auto;
}

.itemthumb { /* Item list thumbnail */
	border: 1px solid;
	border-color: #96958F;
	padding: 0px;
	margin: 0px;
	margin-right: 10px;
	margin-bottom: 5px;
	float: left;
}
.itemthumb.activeitem { /* Border styling override for active item image */
	border-color: rgb(65, 49, 80);
	color: rgb(65, 49, 80);
	border-bottom: 4px solid;
}

.itemgridthumb { /* Item grid thumbnail */
	border: 1px solid;
	border-color: #96958F;
	padding: 0px;
	margin: 0px 30px 30px 0px;
	float: left;
}
#bigpix{ /* styling for the "big picture" page section */
	margin-top:1em;
	width: 475px;
	float:left;
}

.item_big { /* styling for the big picture itself */
	vertical-align:middle;
	border: 1px solid;
	border-color: #96958F;
	padding: 0px;
}

/* Default View List is vertical, to right of big pix */
#viewlist{ /* The overall list of item detail views */
	margin-top: 0px;
	width: 45px;
	height: 350px;
	float: left;
	margin-top:1em;
	padding-left: 1.0em;
}

.viewthumb { /* Detail view thumbnail */
	border: 1px solid;
	border-color: #96958F;
	margin: 0px;
	margin-left: 4px;
	margin-bottom: 10px;
	margin-right:5px;
	vertical-align:middle;
	text-align: center;
}
.viewthumb.activeview{ /* border styling override for active view image */
	border-color: rgb(65, 49, 80);
	color: rgb(65, 49, 80);
	margin-left: 0px;
	border-left: 5px solid;
}

#caption{ /* The page section containing the caption/image details */
	width: 250px;
	float: left;
	margin-top:1em;
	padding-left:2em;
}

#links{ /* Positioning for the copyright notice and twitter/FB links */
	position: relative;
	bottom:0px;
	width: 200px;
	float:left;
	margin-top:30px;
}

.linkitem{
	margin-right: 30px;
	float:left;
}

/* Medium screens: the caption moves below the image */
@media all and (max-width: 860px) {
#caption{ /* The page section containing the caption/image details */
	margin-top:0.5em;
	width: 360px;
	padding-right:50px;
	padding-left:0em;
	margin-bottom:1.0em;
}
}

/* Narrow screens: View List is horizontal, below big pix. Caption below big pix. */
@media all and (max-width: 570px) {

#viewlist{ /* The overall list of item detail views */
	margin-top: 0em;
	height: 45px;
	width: 100%;
	padding-left: 0em;
}

.viewthumb { /* Detail view thumbnail */
	margin: 0px;
	margin-top: 4px;
	margin-bottom: 0px;
	margin-right: 10px;
	vertical-align:top;
}
.viewthumb.activeview{ /* border styling override for active view image */
	margin-top: 0px;
	border-left: 1px;
	border-top: 5px solid;	
}
}

/* Very narrow screens: Move links block to very end */
@media all and (max-width: 480px) {
#links{ /* Positioning for the copyright notice and twitter/FB links */
	position: static;
	left:5px;
	width:300px;
	text-align: left;
	padding-left: 10px;
	margin-top: 10px;
	float:left;
}
.linkitem{
	margin-right: 50px;
	float: left;
}
}

.caption { /* text size override for the caption */
	font-size: 1.4em;
	color: black;
}

.small_link { /* text for the small links */
    font-size: 0.9em;
	color: #888888;
}

/* "About" section styles */
#about_text{ /* styling for text in 'About' section */
	font-size: 1.5em;
	margin: 1.0em auto;
	width: 98%;
	max-width: 600px;
}

.about_pix{ /* styling for image in 'About' section */ 
	border: none;
	float: left;
	margin-right: 2em;
	margin-bottom: 2em;
}

#news{ /* styling for 'News' section */
	position: absolute;
	top: 10px;
	left: 169px;
	width: 990px;
	height: 12000px;
}

#contact_text{ /* styling for text in 'Contact' section */
	font-size: 1.2em;
	margin: 1.0em 3px 2.0em 3px;
	width: 98%;
	max-width: 600px;
}

.alignLeft { float:left; margin-right: 1em; }
.alignRight {float:right; margin-left: 1em; }


