/*
Main CSS file for the Delray Business Partner's website
Modified and adapted by Logan Kriete
Originally developed by Eivind Savio
*/

* /*Sets border, padding and margin to 0 for all values*/ {
	padding: 0;
	margin: 0;
}

body, html {
	color: #663300;
	font-family: "Book Antiqua", "Times New Roman", Times;
	background-image: url(images/background.jpg);
	text-align: center; /*** Centers the design in old IE versions ***/
	font-size: large;
}

body {
	font-size: 70%;
}

p {
	padding: 7px 0 7px 0;
}

a {
	color: #660000;
}

a:hover {
	text-decoration: none;
}

a:active {
	color: #660000;
	text-decoration: none;
}

a:visited {
	color: #660000;
}

h1, h2, h3, h4, h5 {
	font-weight: bold;
	padding-bottom: 5px;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.3em;
}
.clear {
	clear: both;
}
#mainContainer {
	width: 760px;
	margin: 0 auto; /*** Centers the design ***/
	min-height: 300px;
	text-align: left; /*** Because we centered the text in body we have to move the text back to left aligning ***/
}
* html #mainContainer {
	height: 300px; /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
}
/**************************
HEADER
**************************/
#header {
	background-color: #CCCC99;
	padding: 10px
}

#header a {
	text-decoration: none;
	color: #660000;
}
/**************************
CONTENT AND COLUMNS
**************************/
.outer {
	margin-top: 0px; 
	padding-left: 165px; /* 165 **/
}
* html .outer {
/*** No need for hacking IE on this layout ***/
/*** The previous comment was added BEFORE adaptions were made...my CSS isn't that good! ***/
	background-color: #8A8A2E;
}
.inner {
	width: 595px; /*** 595 This width is for non-IE browsers. Mozilla makes this necessary. Be sure to check your layout in different browsers if you changes this value. Especially IE7 seems to create a horisontal scroll if this value is set too large ***/
}
* html .inner {
	width: 100%;
}
/*** div.inner is wider than its container, div.outer, and so overlaps to the right, pushing
div.right into the proper position. IE expands div.outer instead, requiring a Tan hack to avoid 
blowing the layout apart. IE gets the original 100% width as in the Livingstone layout.
***/
.float-wrap {
	float: left;
	width: 760px;
	margin-left: -165px; /*** Same length as .outer padding-left but with negative value ***/
	background-color: #8A8A2E;
}
* html .float-wrap {
/*** No need for hacking IE on this layout ***/
	float: left;
	background-color: #8A8A2E;
}
#content {
	float: right;
	width: 600px; /* used to be 600 **/
	background-color: #FFFFFF;
	background-image: url(images/background.jpg);
}
* html #content {
	/*	position: relative; /*** IE needs this  ***/
}
.contentWrap {
	padding: 5px;
	padding-left: 15px;
}
.contentWrap ol, .contentWrap ul {
	margin: 3px 0 5px 35px;
}
.contentWrap li {
	padding-bottom: 2px;
}
/**************************
LEFT COLUMN
**************************/
/*** div.left is in div.float-wrap, and when div.float-wrap is neg margined to the left, 
div.left is carried over into the proper position. 
***/
#left li a {
	height: 24px;
	width: 160px;
	margin-left: -5px;
	padding-left: 0px;
	text-decoration: none;
}

#left li a:link, #left li a:visited {
	display: block;
	padding-top: 5px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	text-align: center;
}

#left li a:hover, #left li #current {
	background: #B7B771;
	padding-top: 5px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	text-align: center;
	width: 160px;
}

#left li a:active{
	background: #B7B771;
	padding-top: 5px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	text-align: center;
	width: 160px;
}

#left {
	float: left;
	width: 150px;
	min-height: 250px;
	padding: 5px;
	background-color: #8A8A2E;
}
* html #left {
	position: absolute; /*** IE needs this  ***/
}
#left ul {
	list-style: none;
	padding-bottom: 4px;
}
#left li {
	padding-bottom: 2px;
}
/**************************
FOOTER (width used to be 760)
**************************/
#footer {
	width: 760px;
	margin: 0 auto;
	background-color: #B7B771;
	text-align: center;
}

#failure {
	border-style: double;
	border-width: medium;
	border-color: #FF0000;
	padding: 7px 7px 7px 7px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
	color: #000000;
	background-color: #FFFFFF;
	max-width: 550px;
	width: 550px;
	overflow: scroll;
}

#alert {
	border-style: solid;
	border-width: thin;
	border-color: #552B00;
	padding: 3px 3px 3px 3px;
	font-weight: bold;
	text-align: center;
	color: #000000;
	background-color: #FEFBB4;
	max-width: 550px;
	width: 550px;
}

#failure a {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #0000FF;
}

#failure h2 {
	color: red;
	text-transform: uppercase;
	text-decoration: underline;
}

#technical h3 {
	font-style: oblique;
	font-family: Arial, Helvetica, sans-serif;
}

#technical {
	background-color: #999999;
	border-style: groove;
	border-width: thin;
	border-color: #000000;
	padding: 5px 5px 5px 5px;
	font-family: "Courier New", Courier, monospace;
	max-width: 500px;
	width: 500px;
	overflow: scroll;
}