/* 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
-------------------------------*/

body {
    margin: 0 0 23px 0;
    background: #000061 url(/images/background.gif) repeat-x;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

#container {
    width: 945px;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1px 1px 1px;
}

#search-bar {
    background: #000;
    color: #fff;
    text-align: right;
    font-size: 10px;
}

h1.title, h2.title {
    text-transform: uppercase;
    height: 48px;
    background: url(/images/logo.gif) no-repeat 20px 8px;
    margin: 0;
    font-size: 24px;
    color: #00009F;
    padding-top: 45px;
    padding-left: 30px;
}

#content {
    background: url(/images/bar-fade.gif) repeat-x;
    margin-top: 1px;
    padding: 45px 16px 7px 15px;
    text-align: left;
}

object {
    margin: 0;
    height: 216px;
    width: 945px;
    padding: 0;
    display: block;
}

a span {
    left: -999px;
    position: absolute;
}


/* Links
-------------------------------*/

a {
    color: #00f;
}

a:hover {
    text-decoration: none;
}

/* Forms
-------------------------------*/

#search-bar form {
    padding: 3px;
    margin: 0;
}

#search-bar input {
    font-size: 10px;
    border: 1px #000 solid;
}

.button {
    margin-bottom: -4px;
    height: 17px;
}

#search-bar p {
    margin: 0;
    padding: 0;
}

.field {
    margin-right: 10px;
}

.fieldlong {
    width: 280px;
    margin-right: 10px;
}

.fieldshort {
    width: 80px;
    margin-right: 10px;
}

/* Text / Paragraphs
-------------------------------*/

p {
    margin: 0 0 14px 0;
}

/* Footer
-------------------------------*/

#footer {
    clear: both;
    background: #000;
    text-align: left;
    font-size: 10px;
    padding: 5px 10px;
    color: #fff;
}

#footer a {
    color: #fff;
}

#footer .links a {
    text-decoration: none;
    font-weight: bold;
}

#footer .links a:hover {
    text-decoration: underline;
}

#footer .links {
    font-size: 11px;
}

#footer .copy {
    margin: 0;
}

#footer .right {
    float: right;
    margin: 0;
    text-align: right;
}

/* Navigation Menu
------------------------------*/

#navigation {
    position: absolute; top: 335px; left: 50%; margin-left: -460px; height: 27px; width: 930px;
  }

* html #navigation {
    to\p: 336px;
  }


#navigation ul {
	padding: 0;
    float: left;
    margin: 0;
    list-style: none;
    font-size: 13px;
    font-weight: bold;
    font-family: Arial, sans-serif;
	list-style: none; 
}

#navigation li {
	float: left;
    padding: 0;
    margin: 0;
    background: #000;
}

#navigation a {
	display: block;
}

#navigation ul li a {
    padding: 6px 20px 5px 20px;
    text-decoration: none;
    color: #fff;
    margin-right: -4px;
}

#navigation li ul li {
    display: block;
    text-align: left;
    padding: 0;
    background: none;
    width: 100%;
  }

#navigation li ul li a {
    display: block;
    margin: 0;
    padding: 4px;
    padding-left: 6px;
    width: 100%;
    background: #004BA0;
    border-top: 1px solid #7BA0FF;
    border-right: 6px solid #7BA0FF;  
    border-left: 8px solid #000676;
    text-align: left;
  }
  
html>body #navigation li ul li a {
	width: auto;
}

#navigation ul li a:hover, #navigation li:hover a, #navigation li.sfhover a {
    background: #00009D;
    color: #fff;
}

#navigation li ul li a:hover {
    background: #B7CBFF;
    color: #000;
    border-right: 6px solid #CBDAFF;  
    border-left: 8px solid #004BA0;
}

#navigation li ul {
	left: -999em;
    width: 170px;
    position: absolute; 
    font-size: 11px;
  }
  
* html #navigation ul li ul {
    w\idth: 145px;
  }

#navigation li:hover ul, #navigation li.sfhover ul {
	left: auto;
}

#navigation li ul li ul {
	margin: -2.75em 0 0 160px;
}

html>body #navigation li ul ul {
    margin-left: 160px;
  }

#navigation li:hover ul ul, #navigation li.sfhover ul ul {
	left: -999em;
}

#navigation li:hover ul, #navigation li li:hover ul, #navigation li.sfhover ul, #navigation li li.sfhover ul {
	left: auto;
}

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

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

a img {
    border: 0px;
}

.center {
    text-align: center;
}

.top-margin {
    margin-top: 15px;
}

.span {
    display: none;
}
