/*
YOURS Student Association Website
CSS Definition
Base Styles

Andrew AP
*/

body {
	margin: 0 5px;
	background: url(../images/tiles.png) top left repeat;
	
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

p {
	margin: 0 0 1em 0;
}

h2 {
	font-size: 120%;
}

/* Link Defaults */
a:link, a:visited {
	color: #600;
}
a:hover, a:active, a:focus {
	color:#C66;
}

a img {border: 0;}

#wrap {
	margin: 10px auto;
	min-width: 755px;
	max-width: 1280px;
	width: 770px; /*temporary*/
}

/***********************
 * HEADER              *
 ***********************/

#header {
	background: url(../images/glass-tr.png) top right no-repeat;
	overflow: visible;
}

#header-content {
	background: url(../images/glass-tl.png) top left no-repeat;
	margin-right: 35px;
	padding: 35px 0 0 35px; /*idling at 35px 0 0 35px*/
	height: 100px;
	position: relative;
	
	color: white;
}

#header h1 {
	float: left;
	width: 300px;
	margin: 0;
	
	font-size: 60%;
}

#header h1 img {position: absolute;}

#yours-header {margin: 3px 0 0 5px;}

#header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav-exec, #nav-head {font-size: 90%;}

#nav-exec {
	position: absolute;
	width: 692px;
	margin: 10px 8px 0 0;
	right: 0px;
	
	text-align: right;
	color: #999;
}

#nav-exec li {
	display: inline;
}

#nav-exec a:link, #nav-exec a:visited {
	color: #999;
	text-decoration: none;
}
#nav-exec a:hover, #nav-exec a:active, #nav-exec a:hover {
	background: #350000;
	color: white;
	text-decoration: underline;
}

#nav-head {
	position: absolute;
	z-index: 1;
	margin: 60px 0 0 320px;
	width: 380px;
	right: 0px;
	
	/*text-align: right;*/
}

/*
#nav-head ul>li:hover #nav-about {background: url(../images/nav-about-on.png) no-repeat;}
#nav-head ul>li:hover #nav-clublife {background: url(../images/nav-clublife-on.png) no-repeat;}
#nav-head ul>li:hover #nav-forum {background: url(../images/nav-forum-on.png) no-repeat;}
#nav-head ul>li:hover #nav-links {background: url(../images/nav-links-on.png) no-repeat;}
#nav-head ul>li:hover #nav-contact {background: url(../images/nav-contact-on.png) no-repeat;}
*/

/* nav lists */
#nav-head ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* top-level items*/
#nav-head ul li {
	float: left;
	position: relative;
	padding-left: 10px;
}

/* sub menu list */
#nav-head ul ul {
	display: none;
	position: absolute;
	top: 1em;
	left: 0;
	width: 10em;
	padding-top: 10px;
	margin-left: 10px;
	overflow: hidden;
}

/* sub menu items */
#nav-head li li {
	float: none;
	margin: 0;
	padding: 0;
	margin-top: -1px;
	border: 1px solid;
	border-color: #CCC #666 #666 #CCC;
	border-top-width: 0;
}

/* sub menu item links */
#nav-head li li a {
	display: inline-block;
}

/* sub menu item links */
#nav-head li li a:link, #nav-head li li a:visited {
	display: block;
	text-decoration: none;
	background: #F3F8F8;
	padding: 0.2em 0 0.2em 0.6em;
	border-left: 10px solid #DCEFED;
	border-top: 1px solid #CCC;
	
	color: #333;
}
#nav-head li li a:hover, #nav-head li li a:active {
	border-left: 10px solid #9ED1D1;
	
	color: black;
}

/* sub menu popup (mouseover of top-level menu) */
#nav-head ul>li:hover ul {
	display: block;
}

/*
#nav-head li {
	float: left;
	position: relative;
	padding-left: 10px;
}

#nav-head a {
	height: 20px;

	color: #F99;
}

#nav-head li ul {
	display: none;
	position: absolute;
	padding-top: 0.6em;
	width: 15em;
}

#nav-head ul ul li {
	padding: 0;
	display: block;
}

#nav-head ul ul a {
	padding: 0.2em 0.5em;
	margin: 0;
}

#nav-head ul ul a:link, #nav-head ul ul a:visited {
	background: #FFC;
	
	color: black;
	text-decoration: none;
}
#nav-head ul ul a:hover, #nav-head ul ul a:active, #nav-head ul ul a:focus {
	background: #CFC;
}

#nav-head li:hover ul, #nav-head li.over ul {
	display: block;
}
*/

/***********************
 * MAIN                *
 ***********************/

#main {
	background: url(../images/glass-r.png) top right repeat-y;
}

#main-content {
	background: url(../images/glass-l.png) top left repeat-y;
	margin-right: 35px;
	padding-left: 35px; /*idling at 0 0 0 35px*/
	overflow: hidden;
	
	font-size: 80%;
}

#main-wrap {
	padding: 20px 30px;
}

#nav-breadcrumbs {
	color: #999;
	font-size: 90%;
}

#nav-breadcrumbs ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav-breadcrumbs li {
	display: inline;
}

#nav-breadcrumbs a:link, #nav-breadcrumbs a:visited {color: #666;}
#nav-breadcrumbs a:hover, #nav-breadcrumbs a:active, #nav-breadcrumbs a:focus {color: black;}

/***********************
 * FOOTER              *
 ***********************/

#footer {
	background: url(../images/glass-br.png) top right no-repeat;
	clear: both;
}

#footer-content {
	background: url(../images/glass-bl.png) top left no-repeat;
	margin-right: 35px;
	padding: 13px 20px 35px 55px; /*idling at 0 0 35px 35px*/
	height: 55px;
	
	color: white;
	font-size: 70%;
}

#footer-content div {
	background: #333;
}

#footer-content a:link, #footer-content a:visited {
	color: white;
	text-decoration: none;
	background: #333;
}

#footer-content a:hover, #footer-content a:active, #footer-content a:focus {
	color: #FCC;
	text-decoration: underline;
}