/* BASE CSS */

* {
	margin: 0px;
	padding: 0px;
}

html {
	background-color: #EFDAA4;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
}

body.editor {
	background-color: #FFFFFF;
}

table {
	border-collapse:collapse;
	border-spacing: 0px;
	border: 0px;
} 

table td {
	vertical-align: top;
}

p {
	margin-bottom: 10px;
}

ul {
	padding-left: 15px;
}

h1 {
	font-size: 18px;
	font-weight: bold;
	line-height: 22px;
	color: #08347F;
	margin-bottom: 10px;
}

h1.auto {
	font-size: 30px;
	height: 40px;
	margin-bottom: 0px;
}

h2 {
	font-size: 14px;
	font-weight: bold;
	line-height: 24px;
	color: #52402F;
	margin-bottom: 10px;
}

img { 
	border: none;
}

a {
	text-decoration: underline;
	outline: none;
	color: #08347F;
}

a:hover {
	color: #000000;
}

blockquote {
    margin: 10px 0 10px 15px;
}

.cl {
	clear: left;
}

.cr {
	clear: right;
}

.cb {
	clear: both;
}

.photo {
	border: 3px solid #08347F;
}

.left_photo {
	border: 3px solid #08347F;
	float: left;
	margin: 5px 20px 15px 0px;
}

.right_photo {
	border: 3px solid #08347F;
	float: right;
	margin: 5px 0px 15px 20px;
}

#slideshow {
	border: 1px solid #08347F;
	width: 656px;
	height: 392px;
	margin-bottom: 24px;
}

/* FORM CSS */                      

fieldset {
	border: 0px;
}
 
legend {
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 5px;
}
 
fieldset td {
	padding: 2px 4px;
}
 
.button {
	border: 0px;   
	background-color: #000000; 
	color: #FFFFFF;
	font-size: 10px;
	font-weight: bold;
	padding: 1px;    
}

.alert, .red {
	color: #FF0000;
}

/* LAYOUT CSS */

#container {
	width: 965px;
	margin: 0px auto;
	padding: 0px 26px;
	background-image: url('../images/container_bg.gif');
	background-repeat: repeat-y;
}

#header {
	border-bottom: 3px solid #1F478F;
}

#content {
	width: 610px;
	float: right;
	margin: 40px 69px 0px 0px;
}

#content ul, #content ol {
	padding-left: 15px;
	margin-bottom: 10px;
}

#left_content {
	width: 194px;
	padding: 30px 0px 0px 29px;
}

#call_us {
	margin: 15px 0px 19px 8px;
}

#timer {
	background-image: url('../images/timer_bg.jpg');
	width: 111px;
	height: 84px;
	padding: 29px 23px 0px 90px;
	background-repeat: no-repeat;
	color: #FFFFFF;
	text-align: center;
	font-size: 11px;
	line-height: 16px;
	margin: 0px 0px 0px 1px;
}

#thermometer {
	margin: 30px 0px 0px 12px;
}

#footer {
	width: 965px;
	margin: 0px auto;
	padding: 12px 26px;
	background-image: url('../images/container_bg_bottom.gif');
	background-repeat: no-repeat;
}

#footer a {
	margin-left: 5px;
}

#sponsors {
	color: #473625;
	font-size: 16px;
	text-align: center;
	padding-bottom: 15px;
}

#sponsors img {
	vertical-align: middle;
	margin: 0px 10px;
}

.blue_box_home {
	width: 408px;
	height: 158px;
	padding: 15px 15px 0px 235px;
	background-image: url('../images/blue_box.gif');
	background-repeat: no-repeat;
	font-size: 14px;
	text-align: center;
	color: #272727;
	position: relative;
	margin-bottom: 24px;
}

.blue_box_image {
	position: absolute;
	top: 0px;
	left: 0px;
}

.blue_box {
	padding: 15px;
	color: #272727;
	margin-bottom: 10px;
	background-color: #C6D7EC;
	border: 1px solid #1F478E;
}

/* NAVIGATION CSS */

#nav {
	padding: 6px 6px 7px 6px;
	margin: 0px;
}

#nav li {
	list-style: none;
}

#nav li a {
	display: block;
	width: 211px;
	height: 45px;
	text-indent: -9999px;
	overflow: hidden;
}

#nav li a:hover {
	background-position: 0px -45px;
}

#nav li.active a {
	background-position: 0px -90px;
}

#nav a.home {
	background-image: url('../images/nav_home.gif');
}

#nav a.dream-house {
	background-image: url('../images/nav_dream_house.gif');
}

#nav a.how-to-enter {
	background-image: url('../images/nav_how_to_enter.gif');
}

#nav a.prizes {
	background-image: url('../images/nav_prizes.gif');
}

#nav a.about {
	background-image: url('../images/nav_about.gif');
}

#nav a.sponsors {
	background-image: url('../images/nav_sponsors.gif');
}

#nav a.rmhcsd {
	background-image: url('../images/nav_rmhcsd.gif');
}

#nav li a.rmhcsd:hover {
	background-position: 0px -47px;
}

#nav li.active a.rmhcsd {
	background-position: 0px -94px;
}

#nav li ul {
	width: 211px;
	padding: 15px 0px;
	background-image: url('../images/subnav_bg.gif');
	background-repeat: repeat-y;
}

#nav li ul.rmhcsd {
	background-image: url('../images/subnav_bg_bottom.gif');
	background-position: bottom left;
}

#nav li ul li a {
	text-indent: 0px;
	width: 171px;
	height: auto;
	line-height: 16px;
	padding: 5px 15px 5px 25px;
	font-size: 14px;
	color: #08347F;
	text-decoration: none;
}

#nav li ul li a:hover, #nav li ul li.active a {
	text-decoration: underline;
}

/* GALLERY STYLES */

.gallery {
	padding: 0px;
	margin: 0px;
}

.gallery td {
	width: 152px;
	text-align: center;
	padding: 0px 17px 17px 0px;
}

.gallery table {
	background-color: #F2E5C8;
	border: 1px solid #014B90;
	width: 145px;
	height: 145px;
}

.gallery td table td {
	padding: 5px;
	width: 135px;
	height: 135px;
	vertical-align: middle;
}

.gallery img {
	padding: 0px;
	margin: 0px;
}

/* ADMIN CSS */

#admin .button {
	margin: 0 3px 6px 0;
}

#admin .admin_table {
	width: 100%;
}

#admin .admin_table td {
	padding-right: 4px;
}

#admin ul, #admin ol {
	padding-left: 0px;
}

.admin-index-list img { 
	float: left; 
	padding: 2px 6px 2px 4px;
}

.admin-index-list, .admin-index-grid { 
	list-style-type: none; 
	margin: 0; 
	padding: 0; 
	width: 100%;
}

.admin-index-list li { 
	padding: 3px;
	margin: 5px 0;
	line-height: 17px;
	background-color: #aaa; 
	background-image: url('../images/admin_bar_bg_light.png');
	background-position: center left;
	background-repeat: repeat-x;
	border: 1px solid #999; 
}

.admin-index-list li div {
	float: right;
	padding: 0;
	margin: 0 3px;
	text-align: center;
}

#admin .admin-index-list .button { margin: 0px; width: 100%; }
.admin-index-list li div.view { width: 46px; }
.admin-index-list li div.configure { width: 77px; }
.admin-index-list li div.edit { width: 36px; }
.admin-index-list li div.subpages { width: 100px; }
.admin-index-list li div.delete { width: 55px; }

.admin-index-grid li {
	width: 143px;
	height: 188px;
	padding: 8px 0 0 8px;
	float: left;
	background-color: #aaa; 
	border: 1px solid #999; 
	margin: 0 10px 10px 0;
}
