/* CSS for www.cresa911.org
	 Hand coded by Matthew Farnell
	 Feel free to copy and use any of this CSS
	 with credit to Matthew Farnell, www.farnellweb.com */

/* Layout
-------------------------------*/

#content {
    padding-top: 35px;
}

p {
	margin: 5px 0 15px 0;
	padding: 0 0 0 0px;
}

#page {
    float: left;
    width: 717px;
}

#page h1 {
    margin: 0;
    padding: 8px 0 10px 0;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: normal;
    color: #802400;
    letter-spacing: 2px;
    font-family: arial, sans-serif;
}

h3.breadcrumbs {
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	margin: 0;
    text-align: left;
}

h2 {
    margin: 0;
    padding: 0;
    font-family: arial, sans-serif;
    font-size: 18px;
}

h3 {
    margin: 5px 0 15px 0;
    padding: 0;
    font-family: arial, sans-serif;
    font-size: 14px;
    text-align: center;
}

#map {
	margin-right: auto;
	margin-left: auto;
	border: 2px #000 solid;
	width: 600px;
	height: 350px;
}


/* Tables
------------------------------*/

table.quiz {
    margin: 0 0 15px 100px;
    width: 500px;
	border-width: 3px 3px 3px 3px;
	border-spacing: 1px;
	border-style: outset outset outset outset;
	border-color: black black black black;
	border-collapse: collapse;
}
table.quiz th {
	border-width: 1px 1px 1px 1px;
	padding: 3px 3px 3px 3px;
	border-style: inset inset inset inset;
	border-color: black black black black;
	-moz-border-radius: 0px 0px 0px 0px;
}
table.quiz td {
	border-width: 1px 1px 1px 1px;
	padding: 3px 3px 3px 3px;
	border-style: inset inset inset inset;
	border-color: black black black black;
	-moz-border-radius: 0px 0px 0px 0px;
}

table.contact {
	border-width: 0px 0px 0px 0px;
	border-spacing: 0px;
	border-style: outset outset outset outset;
	border-color: gray gray gray gray;
	border-collapse: separate;
	margin-bottom: 15px;
}
table.contact th {
	border-width: 0px 0px 0px 0px;
	padding: 0;
	border-style: inset inset inset inset;
	border-color: gray gray gray gray;
	-moz-border-radius: 0px 0px 0px 0px;
}
table.contact td {
	border-width: 0px 0px 0px 0px;
	padding: 0;
	border-style: inset inset inset inset;
	border-color: gray gray gray gray;
	-moz-border-radius: 0px 0px 0px 0px;
}

table {
	border-width: 0px 0px 0px 0px;
	border-spacing: 0px;
	border-style: outset outset outset outset;
	border-color: gray gray gray gray;
	border-collapse: separate;
}
table th {
	border-width: 0px 0px 0px 0px;
	padding: 2px 20px 2px 2px;
	border-style: inset inset inset inset;
	border-color: gray gray gray gray;
	-moz-border-radius: 0px 0px 0px 0px;
}
table td {
	border-width: 0px 0px 0px 0px;
	padding: 2px 20px 2px 2px;
	border-style: inset inset inset inset;
	border-color: gray gray gray gray;
	-moz-border-radius: 0px 0px 0px 0px;
}

table.form td {
	border-width: 0px 0px 0px 0px;
	padding: 2px 20px 5px 2px;
	border-style: inset inset inset inset;
	border-color: gray gray gray gray;
	-moz-border-radius: 0px 0px 0px 0px;
}

/* Quicklinks
------------------------------*/

#quicklinks {
    background: url(/images/red.gif) right repeat-y;
    width: 175px;
    float: left;
    padding: 0;
    margin: 0 20px 0 0;
}

#quicklinks h2 {
    margin: 0;
    padding: 0 10px 5px 0;
    font-weight: normal;
    font-size: 18px;
    text-align: right;
}

#quicklinks ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0 40px 0;
    text-align: right;
    background: url(/images/red-fade.gif) right bottom no-repeat;
}

#quicklinks ul li {
    padding-bottom: 5px;
}

#quicklinks a {
    padding: 2px 10px 2px 8px;
    display: block;
    color: #00f;
}

#quicklinks a.active, #quicklinks a.active:hover, #quicklinks a.parent {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background: #802400;
    margin: 0;
}

#quicklinks a.parent {
    text-decoration: underline;
}

#quicklinks a:hover {
    color: #fff;
    text-decoration: none;
    background: #ccc;
    margin: 0 2px 0 -2px;
}

#quicklinks li {
    padding: 2px 0;
}

#quicklinks ul ul {
    background: none;
    padding: 0 0 10px 0;
    display: none;
}

#quicklinks ul ul li {
    padding: 1px 0 2px 5px;
}

#quicklinks ul ul.active {
    display: block;
    background: #802400;
}

#quicklinks ul ul a:hover {
    margin: auto;
}

#quicklinks ul ul.active a {
    display: block;
    background: #802400;
    color: #fff;
    font-size: 10px;
    padding: 0 20px 0 0;
}

#quicklinks ul ul a.active {
    text-decoration: none;
}

/* Misc
------------------------------*/

.right {
    float: right;
    margin-left: 10px;
}

.left {
    float: left;
    margin-right: 10px;
}

.border {
    padding: 2px;
    border: solid 1px #000;
    background: #ccc;
}

hr {
    margin: 10px 0 5px 0; 
	color: #7E4B22; 
	background: #7E4B22;
	border: 0;
	height: 1px;
	width: 500px;
	clear: both;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

