/*
Theme Name: Sunbay
Theme URI: Sunbay
Description: The Sunbay theme developped for Sunbay
Version: 1.3
Author: Mook
Tags: blue, custom header, fixed width, two columns, widgets
*/


/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	clear: both;
}
ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {outline:none;}
a img { border: none; }



/* Begin Typography & Colors */
body {
	width: 960px;
	margin: 0 auto;
	padding: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #849abc;
	text-align: justify;
	line-height:1.4em;
}
a:link, a:visited {
	text-decoration: none;
	color:#18357A;
}
img {margin:0; padding:0;}
a img {border: none;}

#masthead img { border:none; }
#branding {padding: 0; background-color:#18357A; position:relative;}
#branding #site-title {background-color:#fff; padding:2px 0;}
#branding #site-title a {display:block; background:url(images/sunbay_logo.gif) no-repeat left top; width:235px; height:52px; text-indent:-999em;}
.topdesc {position:absolute; top:170px; line-height:1.5em;}
#header p {
	padding-left: 460px;
	font-size: 14px;
	color: #949abc;
}
.hiliname {
	font-size: 22px;
	color: #fff;
}
#access .menu-header {
	background-color: #18357a;
	text-transform: uppercase;
}
#access .menu-header ul {
	margin: 0;
	list-style: none;
	font-size: 14px;
	background: url(images/nav_bg.gif) repeat-x bottom;
	height:44px;
	padding-left:0;
	padding-top:3px;
}
html>body #access .menu-header ul {
	padding-left:5px;
    *padding-left:6px;
}
#access .menu-header ul li {float:left; padding:0 10px; background: url(images/li_bg.gif) no-repeat right 6px;}
#access .menu-header ul li#menu-item-71 {background:none; padding-right:0;}
#access .menu-header ul li a:link, #access .menu-header ul li a:visited {color: #fff;}

/* Menu - Hover - */
#access .menu-header ul li a, #access .menu-header ul li a span {
	color: #fff;
	text-decoration: none;
	padding: 0 0 0 12px;
	float:left;
	height:29px;
}
html>body #access .menu-header ul li a, html>body #access .menu-header ul li a span {padding-bottom:13px;}
#access .menu-header ul li a:hover, 
#access .menu-header ul li.current-menu-item a, 
#access .menu-header ul li.current-menu-parent a,
#access .menu-header ul li.current-page-ancestor a,
.page-template-index-download-php #access .menu-header ul li#menu-item-185 a {background:url(images/nav-left.png) no-repeat left top;}

#access .menu-header ul li a span {
	padding: 11px 12px 13px 0;
	height:18px;
	cursor:pointer;
}
#access .menu-header ul li a:hover span, 
#access .menu-header ul li.current-menu-item a span,
#access .menu-header ul li.current-menu-parent a span,
#access .menu-header ul li.current-page-ancestor a span,
.page-template-index-download-php #access .menu-header ul li#menu-item-185 a span {background:url(images/nav-hover.png) no-repeat right top;}

#access .menu-header ul li a span { background:none; }
html>body #access .menu-header ul li a span { background:none; }

/*#download-page .colorline { float:none;}*/
.colorline em {
	visibility: hidden;
	padding: 0;
	margin-left: -5px;
	*margin-left: -1px;
	font-size: 14px;
}
.navigation .alignleft a, .navigation .alignright a { color:#18357A; }
.navigation .alignleft a:hover, .navigation .alignright a:hover { color:#782A1E; } 

#sidebar { /*width:200px; float:left; display:block; margin:0;*/}
#sidebar .widget_archive { list-style:none; padding-left:0; margin-top:0; }
#sidebar .widget_archive ul { padding-left:15px; padding-top:15px; list-style-type:disc; }
#sidebar .widget_archive ul li a:link, #sidebar .main-archive ul li a:visited { color:#18357A; }
#sidebar .widget_archive ul li a:hover { color:#782a1e; }

#content_category { /*width:710px; float:right; display:block*/ }
#content { 
	width:920px;
	padding:15px 20px;
	height:auto !important;
	min-height:380px;
	height:380px;
	display:inline-block;
	position:relative;
}
#content p {padding-bottom:12px;}
.entry-content .post h2 { color:#18357A; }
p.edit-entry { text-align:right;}
#maincontent  {
	height:auto !important;
	min-height:380px;
	padding:15px 20px;
	width:920px;
}
#maincontent_left, #content_category, .newsholder {
	width: 420px;
	float: left;
	padding: 15px 0 0 0px;
	line-height: 1.5em;
}
.page #maincontent_left ul {list-style:disc; padding-left:20px;}
.page #maincontent_left ul.dlm_download_list {list-style:none;}
.page-template-index-download-php #maincontent_left {padding-top:0;}
.page-template-index-download-php #maincontent_right {margin-top:0;}
#content_category { width:600px; padding-right:60px; }
#content_category ul { padding-left:0; margin-top:-10px; list-style:none;}
#content_category ul li { padding-top:10px; }
#content_category p { margin-bottom:0; }

#maincontent h1.entry-title, #maincontent_left h2, #maincontent_right h2, #sidebar h3, #content_category h2, .newsholder h2, #content h1 {
	color: #18357a;
	font-weight: normal;
	font-size: 14px;
	margin:0;
	padding:0 0 12px 0;
}
#content .post h1.entry-title {font-weight:bold; padding:0 0 12px 0; font-size:16px; line-height:1.2em;}
#content_category h2 {font-size:12px; font-weight:bold;}
.newsholder {width:424px; clear:both;}
#latestnews {
	margin: -5px 0 0 0;
	padding: 5px 15px;
	border: 1px solid #849abc;
	border-top: none;
	border-bottom: none;
	width:388px;
}
#latestnews ul { padding-left:0px; list-style:none; *margin-left:-3px; }
#latestnews h3 {padding-bottom:12px;}
#latestnews h3 a {color:#18357A; font-weight:bold; font-size:11px;} 

#latestnews h2 {
	margin-top: -5px;
}
#roundtop {
	background: url(images/round_top.gif) no-repeat -2px;
	padding: 5px 200px;
}
#roundbottom {
	background: url(images/round_bottom.gif) no-repeat -2px -3px;
	padding: 5px 200px;
}
#maincontent_right, #sidebar {
	margin: 20px 0 20px 40px;
	line-height: 1.5em;
	width: 460px;
	float:left; 
}
#sidebar { width:220px; }
#sidebar h3 {padding:0;}

#maincontent_right p {
	width: 460px;
}
#content .downloadform p {padding:0;}
#content .downloadform .ddfm {padding:0;}

.readmore {display:block; text-align:right; padding-top:5px;}
.readmore a:link, .readmore a:visited {
	background:url("images/arrow.gif") no-repeat scroll right center transparent;
	color:#18357A;
	font-size:11px;
	padding:3px 25px 3px 0;
}
.meta-nav {
	background: url(images/arrow.gif) no-repeat right bottom;
	padding: 3px 7px 3px 0;
	color:#fff;
}
.readmore a:hover, a:hover .meta-nav {background: url(images/arrow_red.gif) no-repeat right bottom;}
.readmore a:hover {color:#782a1e; background-position:right center;}
.navigation .meta-nav, .navigation a:hover .meta-nav {background-image:none; color:#18357A; padding:0;}
.navigation a:hover, .navigation a:hover .meta-nav {color:#782A1E;}

#content_category h2 a:link, #content_category h2 a:visited { color: #782a1e; }
#content_category a:hover { color:#782A1E;}

.date, .entry-meta, #content_category .entry-meta a:link, #content_category .entry-meta a:visited {
	color: #18357a;
	font-weight: bold;
}
.post {padding:30px 0;}
#content_category .post {padding:10px 0;}
.post .entry-meta {padding-bottom:5px; font-weight:normal;}

.entry .postmetadata small { color: #782a1e; font-size:10px; }
.entry .postmetadata { margin-top:40px; }
#address {
	float:left;
	position:absolute;
	bottom:30px;
	left:479px;
}
#footer {
	clear: both;
	background-color: #e6eaf1;
	padding: 5px;
	*padding: 1px 0;
	text-align: center;
	font-size: 9px;
	color: #849abc;
}
#footer ul.xoxo {list-style: none; padding-top:5px;}
#footer ul.xoxo li {padding-bottom:5px;}
#footer ul li li {
	display: inline;
	padding:0 15px;
}
#footer a {color: #849abc;}
#footer p {}


/* Find Us */
#mapcontainer {
	width: 360px;
	height: 240px;
	border: 1px solid #18357a;
}
#maincontent_left ul li {
	padding-bottom: 15px;
}

/* News */
.super {
	vertical-align: super;
}

/* Downloads */
.downloadlist {padding-top:15px;}
.download {padding:5px 0 0 0; display:inline-block; width:420px;}
.download img {padding:0 10px 20px 0; float:left; width:42px; height:42px;}
.alignleft {
	float: left;
}
a img {border: none;}

#maincontent_right form {
	width: 360px;
	padding-left: 20px;
}
#maincontent_right form label {
	width: 120px;
	height: 20px;
	padding-bottom: 2px;
	color: #18357A;
	float:left;
}
#maincontent_right form input, #maincontent_right form textarea, #maincontent_right form select {
	width: 223px;
	height:16px;
	margin-bottom: 0;
	padding: 5px;
	border: 0;
	background:url(images/bg-input.png) no-repeat left top;
}
#maincontent_right form textarea#fm_street {background:url(images/bg-textareasmall.png) no-repeat left top; height:39px;}
#maincontent_right form textarea#fm_message {background:url(images/bg-textareabig.png) no-repeat left top; height:67px;}
#maincontent_right form select {width:233px; height:26px;}
#maincontent_right form.ddfm .submit input {
	margin-left:125px;
	width:64px;
	height:25px;
	text-indent:-999em;
	background:url(images/btn-download.png) no-repeat left top;
	border:0;
	cursor:pointer;
}
.ddfmwrap .errorlist {color:#FF0000;}
.red {
	color: red;
	padding-left: 5px;
	padding-right: 5px;
}
#maincontent_right form input.button {
	width: 60px;
	color: #849ABC;
	background-color: #E6EAF1;
	margin-left: 120px;
	*margin-left: -380px;
	font-size: 10px;
}
#maincontent_right form input.button:hover {
	color: #18357A;
}
