/* Style.css
Main Stylesheet for IOI Website
Written by Scott Greenlay */

* {
	margin: 0;
}
html, body {
	height: 100%;
	background: white;
	font-family: Arial, sans-serif;
	font-size: 12px;
}
#wrapper {
	background: white url('/images/background.png') repeat-y;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -5em;
	display: block;
}
#main {
	margin-left: 125px;
	padding: 10px;
	display: block;
}
#sidemenu {
	position: absolute;
	width: 120px;
	left: 0;
	display: block;
}
#push {
	height: 5em;
	background: transparent;
}
#footer {
	z-index: 999;
	height: 5em;
	vertical-align: bottom;
	bottom: 0;
}
* html #footer {
	height: 6em;
}

/* Title Font Settings -  Required for IE */
h1 {
	font-size: 25px;
	margin-top: 5px;
	margin-bottom: 5px;	
}
h2 { 
	font-size: 20px; 
	margin-top: 5px;
	margin-bottom: 5px;
}
h3 { 
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 15px; 
}
p {
	margin-top: 5px;
	margin-bottom: 5px;
}

/* General Link Formatting */
a { 
	outline: none;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
	color: black;
}
a:hover {
	color: #f09d48;
}
a img { 
	border-color: black;
}
a:hover img { 
	border-color: #f09d48;
}

/* Table Fixes */
table { 
	/* width: 100%; */
	background: white;
}

/* Top Bar Formatting */
#header {
	background: transparent url('/images/shadetop.png');
	color: white;
	height: 20px;
	line-height: 20px;
	border: 0px;
	padding: 10px;
	font-size: 20px;
}

/* Footer Bar Formatting */
#footer {
	background: #d6633f url('/images/shadefooter.png') repeat-x;
	padding-top: 10px;
	padding-left: 10px;
	font-size: 10px;
}
#footer table { 
	background: transparent;
	color: white;
	font-size: 10px;
}
#footer a {
	color: white;
}
#footer a:hover {
	color: #f09d48;
}

/* News Article Formatting */
.news {
	background: #cfcfcf url('/images/hbar.png') repeat-x;
	color: black;
	margin: 0px;
	margin-top: 5px;
	border-left: 1px solid #d6633f;
	border-right: 1px solid #d6633f;
	border-bottom: 1px solid #d6633f;
	padding: 5px;
	font-size: 12px;
}

/* Bar holds for Menu Bar */
#sidemenu {
	font-size: 12px;
	background: transparent url('/images/shade.png') repeat-x;
}
#sidemenu img {
	background: white;
	height: 60px;
}
#sidemenu .logo {
	background: white;
	width: 100%;
	text-align: center;
	padding-bottom: 3px;
}

/* Holds for line breaks and shading */
.hbar {
	background: #f09d48  url('/images/hbar.png') repeat-x;
	height: 3px;
	line-height: 0px;
	margin: 0px;
	border: 0px;
	padding: 0px;
}
.vbar {
	background: #f09d48  url('/images/vbar.png') repeat-y;
	width: 3px;
	height: 10px;
	margin: 0px;
	border: 0px;
	padding: 0px;
	
	position: absolute;
	margin-left: 120px;
	display: block;
}
.shade {
	background: white url('/images/shademono.png') repeat-x;
	height: 5px;
	line-height: 0px;
}

/* Menu holds for all of the Menu */
#menu, #menu ul {
	background: #d6633f;
	padding: 0;
	border: 0;
	list-style: none;
}
#menu {
	background: transparent url('/images/shade.png') repeat-x;
	padding-top: 5px;
}
#menu li {
	display: inline;
}
#menu li a {
	padding: 0;
	padding-left: 6px;
	color: white;
	border: 0;
	text-decoration: none;
	cursor: pointer;
	display: block;
	height: 14px;
}
#menu li li a {
	padding: 0;
	padding-left: 6px;
	color: black;
	border: 0;
	text-decoration: none;
	cursor: pointer;
	display: block;
	height: 14px;
}
#menu li a:hover {
	color: black;
	background: #d6633f  url('/images/button.png') repeat-x;
}
#menu li>ul {
	top: auto;
	left: auto;
	background: white;
}
#menu li ul {
	top: auto;
	left: auto;
	background: white url('/images/shademono.png') repeat-x;
	width: 100%;
}

/* Submenu holds for all Sub Menus Items */
.submenu {
	position: relative;
	padding: 0;
	width: 110px;
	top: 1.5em;
	left: 0;
	color: black;
	background-color: white;
	border: 2px solid #d6633f;
}
.submenu ul {
	position: relative;
}
.submenu li {
	background: transparent;
	width: 100%;
	display: block;
}
.submenu li a {
	color: black;
	display: block;
}
.submenu li a:hover {
	color: #d6633f;
}

/* Formatting/Alignment for the Search Area */
#searchbar {
	margin: 0px;
	border: 0px;
	padding: 2px;
	display: block;
	background: #d6633f url('/images/shade.png') repeat-x;
	text-align: right;
}
#searchbar form {
	margin: 0px;
	border: 0px;
	padding: 0px;
	border: 0px;
}
#searchbar input {
	top: 0;
	margin: 0px;
	border: 0px;
	padding: 0 5px;
	font-size: 10px;
}
#search input:hover {
	background: #f09d48 ;
}
#search input .button { 
	overflow: visible; 
}

/* Main holds for all on the Site Contents (not Menus, Title Bars, or Footer) */
#main {
	text-align: left;
	padding: 5px;
	background: white;
	padding: 10px;
	display: block;
}

/* Holds for all of the Site Contents */
#main img {
	border: 1px solid black;
}
#main .noborder img {
	border: 0px;
}
#main li {
	margin-top: 5px; 
	margin-bottom: 5px;	
}
#main li img {
	height: 12px;
	width: 18px;
	border: 1px solid black;
}
#main li a {
	color: #d6633f;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}
#main a {
	color: #d6633f;
	font-style: normal;
	font-weight: bold;
	text-decoration: none;
}
#main a:hover {
	color: #f09d48;
}
#main a:hover img {
	border-color: #f09d48;
}
#main table {
	font-size: 12px;
}
* html #main ul {
	margin-left: 25px;
}
* html #main ol {
	margin-left: 25px;
}

/* Holds for Site Map */
#main #sitemap td {
	vertical-align: top;
	border: 0;
	padding: 0;
	margin: 0;
	width: 125px;
}
#main #sitemap ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
}
#main #sitemap .loc a {
	color: white;
	display: block;
	padding: 2px;
	background: #d6633f;
	border: 1px solid white;
}
#main #sitemap .loc a:hover {
	color: black;
	background: #f09d48;
	border-color: black;
}
#main #sitemap .localt {
	color: black;
	display: block;
	padding: 2px;
	background: #BEBEBE;
	border: 1px solid white;
}
#main #sitemap ul li {
	border: 1px solid white;
	background: black;
	margin: 0px;
}
#main #sitemap ul li a {
	color: white;
	display: block;
	padding: 2px;
}
#main #sitemap ul li a:hover {
	background: #f09d48;
}

/* Holds for Construction Signs */
#main .construction {
	width: 99%;
	height: 35px;
	background: yellow url("/images/stripe.gif") repeat-x;
	border: 5px solid black;
	color: black;
	text-align: center;
	font-size: 25px;
	font-weight: bold;
	font-family: Arial Black, sans-serif;
}
.construction {
	width: 99%;
	height: 35px;
	background: yellow url("/images/stripe.gif") repeat-x;
	border: 5px solid black;
	color: black;
	text-align: center;
	font-size: 25px;
	font-weight: bold;
	font-family: Arial Black, sans-serif;
}

/* Holds for Location Map */
#main #map_canvas {
	display: block;
	width: 100%;
	height: 375px;
	border: 1px solid black;
}

/* Holds for Photo Gallery */
#main #gallery {
	position: relative;
	display: block;
	width: 740px;
	height: 450px;
	background: #d6633f url('/photo/images/logo.png') no-repeat;
	border: 5px solid #f09d48;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#main #gallery ul {
	float: right;
	width: 200px;
	height: 446px;
	background: #f09d48;
	color: black;
	list-style: none;
	margin: 0;
	padding: 2px;
	overflow-y: scroll;
	overflow-x: hidden;
}
#main #gallery ul li {
	float: left;
	width: 186px;
	margin: 0;
	padding: 0;
}
#main #gallery ul li a {
	border: 2px solid #f09d48;
	display: block;
	padding: 5px;
	margin: 0;
	color: black;
}
#main #gallery ul li a:hover {
	border: 2px solid white;
	background-color: #d6633f;
	color: white;
}
#main #gallery .image {
	display: none;
	left: 0;
	position: absolute;
	overflow: hidden;
	height: 440px;
	width: 525px;
	padding: 5px;
	border: 0px;
	background: #d6633f;
}
#main #gallery .image img {
	max-height: 100%;
	max-width: 100%;
	border: 1px solid black;
}
#main #gallery .image .noborder img {
	border: 0px;
	margin-left: 2px;
}
#main #gallery .image .caption {
	display: block;
	left: 0;
	margin-left: 5px;
	position: absolute;
	bottom: 3px;
	height: 85px;
	width: 521px;
	padding: 3px;
	background: black url('../images/shadeblack.png') repeat-x;
	color: white;
	text-align: left;
	text-size: 12px;
}
* html #main #gallery .image .caption {
	bottom: 0;
}
