h1, h2, h3, h4, h5, h6 {
	clear: both;
}

table {
	clear: both;
	margin: 1em 0;
}




/* general styles */
.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

#title-area, #content, #sidebar {
    overflow: hidden;
}



/* menu */
.sf-shadow ul {
    background: url('../images/shadow.png') no-repeat bottom right;;
}




/* horizontal menu */
.sf-horizontal .sf-menu {
	margin-bottom: 0;
}

.sf-horizontal .sf-menu li {
	background: none;
	border-right: 1px solid #777;
}

.sf-horizontal .sf-menu li li {
	background: #fff;
	border: 1px solid #777;
	margin-top: -1px;
	margin-left: -1px;
}

.sf-horizontal .sf-menu li li li {
	background: #fff;
	margin-top: -1px;
	margin-left: auto;
}

.sf-horizontal .sf-menu a, 
.sf-horizontal .sf-menu a:visited, 
.sf-horizontal .sf-menu a:focus, 
.sf-horizontal .sf-menu a:active {
	background: none;
	outline: 0;
}

.sf-horizontal .sf-menu, 
.sf-horizontal a.sf-with-ul {
	padding: 0.75em 1em;
}

.sf-horizontal .sf-menu li a, 
.sf-horizontal .sf-menu li a:visited {
	padding: 0.2em 1em;
	border: none;
}

.sf-horizontal .sf-menu li ul a, 
.sf-horizontal .sf-menu li ul a:visited  {
	padding: 0.75em 1em;
}

.sf-horizontal .sf-menu li ul a:hover  {
	background: #eee;
}

.sf-horizontal .sf-menu li.noline {
	border: none;
}





/* vertical menu */
.sf-vertical .sf-menu {
	float: none;
}

.sf-vertical, 
.sf-vertical li {
	width: auto;
}

.sf-vertical .sf-menu li:hover, 
.sf-vertical .sf-menu a:hover {
	background: #eee;
}

.sf-vertical .sf-menu a {
	color: #4b4d26;
	border-left: none;
	border-color: #c9c9bd;
}

.sf-vertical .sf-menu li {
	float: none;
	background: none;
}

.sf-vertical .sf-menu li li {
	background: #fff;
	margin-top: -1px;
	border: 1px solid #4b4d26;
}




/* content forms */
form {
	margin: 0 0 30px;
}

form fieldset {
	margin: 0 0 30px;
	padding: 10px 30px;
	border: 1px solid #ccc;
}

form .legend {
	margin: 20px 0;
}

form .field {
	margin: 10px 0;
}

form label .text,
form label .select,
form label .textarea,
form label {
	display: block;
}

form .text,
form .select,
form .textarea {
	padding: .2em;
	width: 60%;
}

form .radio {}

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

form .button {
	padding: .3em 1.2em;
}

form span.required {
	font-size: 7pt;
	color: #f00;
	padding:0 .1em;
}




/* sidebar forms */
#sidebar form {}

#sidebar form fieldset {
	border: none;
}

#sidebar form .field {}

#sidebar form label {}

#sidebar form .text,
#sidebar form .select,
#sidebar form .textarea {
	width: auto;
}

#sidebar form .radio {}

#sidebar form .checkbox {}

#sidebar form .button {
	padding: .1em .5em;
}


/* form messages */
.message {
    margin: 0 0 20px;
    padding: 12px 30px 12px 45px;
    border: 1px solid;
}

.message p {
	margin: 0;
	padding: 0;
    color: #376537;
}

div.confirm {
    background: url('/images/ocean-layout/icons/confirm.gif') no-repeat scroll 11px 10px #e5f7db;
    border-color: #a2d684;
}

div.error {
    background: url('/images/ocean-layout/icons/error.gif') no-repeat scroll 11px 10px #fff5f5;
    border-color: #f00;
}

input.error,
select.error,
textarea.error {
	border: 1px solid #f00;
}

label.error {
	font-size:.9em;
	color: #f00;
	background: transparent;
	margin: 3px 0 0;
	border: none;
}


    
/* login form */
#login {
/*	width: 472px; */
}



/* contact form */
#contact {}



/* registration form */
#registration {}
#registration button.username { display:block; margin:10px  0 0; }
#registration input[type=text].valid { border:1px solid green; }
#registration label.valid { color: green; }






/* photos */
#gallery {
	margin:0 0 30px;
	padding:0;
}

#gallery li {
	float: left;
	list-style: none;
	background-image: none;
	background-color: #fff;
	margin: 6px;
}

#gallery .photo_border{
	border: 1px solid #888;
	padding: 4px;
}

#gallery .photo_caption{
	text-align:center;
	width:145px; 
	margin:auto;
	height:18px;
	color:#000;
	font-size:9px;
	overflow:hidden; 
	text-overflow: ellipsis;
	white-space: nowrap;
}

#gallery a {
	display: block;
	width: 150px;
	height: 112px;
	overflow: hidden;
}

#gallery img {
	max-width: none;
}

.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%;
}

#sidebar #sidebar-login .text {
	width: 90%;
}


/* ad unit sizes */
div.ad {margin:16px 0;}
div.medium-rectangle {width:300px; height:250px;}
div.large-rectangle {width:336px; height:280px;}
div.leaderboard {width:728px; height:90px;}
div.wide-skyscraper {width:160px; height:600px;}
div.mobile-banner {width:320px; height:50px;}
div.banner {width:468px; height:60px;}
div.half-banner {width:234px; height:60px;}
div.skyscraper {width:120px; height:600px;}
div.vertical-banner {width:120px; height:240px;}
div.large-skyscraper {width:300px; height:600px;}
div.square {width:250px; height:250px;}
div.small-square {width:200px; height:200px;}
div.small-rectangle {width:180px; height:150px;}
div.button {width:125px; height:125px;}
div.horizontal-large {width:728px; height:15px;}
div.horizontal-medium {width:468px; height:15px;}
div.vertical-x-large {width:200px; height:90px;}
div.vertical-large {width:180px; height:90px;}
div.vertical-medium {width:160px; height:90px;}
div.vertical-small {width:120px; height:90px;}
