/*  
Theme Name:  Barrington Yacht Club
Theme URI:   http://basicsgroup.com
Description: Basics Group
Version:     0.1
Author:      David Piehler
Author URI:  http://basicsgroup.com
*/


/* ----- DEFAULTS ----- */

div, p, ol, li, tr, th, td, dt, dd, blockquote, 
h1, h2, h3, h4, h5, h6, legend, input, textarea, select, option {
  font-family : Verdana, Helvetica, Arial, sans-serif;
  font-size   : 12px;
  font-weight : normal;
  font-style  : normal;
  color       : #464545;
	background  : transparent;
}

div, p, ul, ol, li, tr, th, td, dl, dt, dd, blockquote, 
h1, h2, h3, h4, h5, h6, legend, form {
  border      : 0;
  padding     : 0;
  margin      : 0;
  text-align  : left;
  line-height : 18px;
}

select, input, textarea {
	padding    : 2px;
	background : #FFF;
}

img {
  border  : 0;
  padding : 0;
  margin  : 0;
}


/* ----- TEXT ----- */

a, a:link, a:visited {
	border-bottom   : #CCC 1px solid;
	color           : #163089;
	text-decoration : none;
}

a:hover, a:active, a.selected {
	border-bottom   : #CCC 1px solid;
	background      : #FAF0CF;
  text-decoration : none;
}

p {
  margin-bottom : 10px;
}

em {
	font-size     : 12px;
	font-weight   : bold;
	font-style    : normal;
	color         : #578EBD;
}

h1 {
	padding       : 0;
	margin-bottom : 12px;
	color         : #BF2921;
	font-family   : "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size     : 21px;
}

h1 span a, 
h1 span a:link, 
h1 span a:visited {
	/* edit links */
	margin-left    : 3px;
	vertical-align : top;
	font-size      : 12px;
	color          : #999;
}

h2 {
	padding       : 0;
	margin-bottom : 5px;
	font-size     : 12px;
	font-weight   : bold;
	color         : #578EBD;
}

/*
h2 a, 
h2 a:link, 
h2 a:visited {
	color         : #578EBD;
}
*/

h3 {
	font-size     : 11px;
	font-weight   : bold;
}

ul {
  padding : 0;
  margin  : 0 0 10px 25px;
}

ul.clean {
	margin     : 0;
	list-style : none;
}

ol {
  padding : 0;
  margin  : 0 0 10px 30px;
}

li {
  padding : 0;
  margin  : 0;
}


/* ----- PAGE SECTIONS ----- */

body {
  padding    : 0;
  margin     : 0 auto;
  width      : 740px;
  text-align : center;
	background : #313D60;
}

#page {
	text-align : left;
	background : #FFF;
	height     : 1%; /* IE6 bug fix */
}

#header {
	height     : 170px;
	background : #FFF url(images/bg_header.jpg) top left no-repeat;
}

#content {
	float      : right;
	padding    : 18px 25px 30px 15px;
	margin     : 0;
	width      : 500px;
	background : #FFF;
}

#home #content, 
#calendar #content {
	float      : left;
	padding    : 18px 15px 30px 25px;
	margin     : 0;
}

#calendar #content {
	padding : 18px 0 60px 5px;
	margin  : 0;
	width   : 730px;
	height  : 700px;
}

#sidebar {
	float      : left;
	padding    : 18px 15px 30px 25px;
	margin     : 0;
	width      : 160px;
}

#home #sidebar {
	float      : right;
	padding    : 48px 25px 30px 15px;
	margin     : 0;
}

#footer {
	clear      : both;
	border-top : #76BEE9 1px solid;
	padding    : 10px 0 5px 0;
}

.clear_both {
	clear : both;
}


/* ----- HEADER + MININAVI + LOGO + NAVI + WEATHER ----- */

#mininavi {
	float   : left;
	text-align : right;
	padding : 8px 25px 0 0;
	margin  : 0;
	width   : 715px;
	height  : 19px;
	color   : #C44E1F;
}

#mininavi a, 
#mininavi a:link, 
#mininavi a:visited {
	border    : none;
	font-size : 10px;
	color     : #C44E1F;
}

#mininavi a:hover, 
#mininavi a:active {
	border-bottom : #CCC 1px solid;
}

#byc_title {
	float          : left;
	padding        : 5px 0 0 150px;
	margin-bottom  : 5px;
	height         : 23px;
	width          : 590px;
	font-family    : "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size      : 18px;
	letter-spacing : 3px;
	color          : #223791;
}

#byc_location {
	float         : left;
	padding       : 0 0 0 152px;
	margin-bottom : 14px;
	width         : 588px;
	font-family   : "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size     : 12px;
	color         : #223791;
}

#byc_location a, 
#byc_location a:link, 
#byc_location a:visited {
	border-bottom : none;
}

#navi {
	float      : left;
	padding    : 0 0 0 132px;
	margin     : 0;
	list-style : none;
}

#navi li {
  display     : inline;
  line-height : 34px;
  list-style  : none;
}

#navi li a, 
#navi li a:link, 
#navi li a:visited {
	border        : none;
	padding       : 6px;
	font-family   : "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size     : 18px;
	color         : #FFF;
}

#navi li a:hover, 
#navi li a:active, 
#navi li.current_page_item a {
	color      : #F4E3A5;
	background : transparent;
}


/* ----- SIDEBAR + SUBNAVI ----- */

#sidebar {}

.widget {
	border        : #D4A511 1px solid;
	padding       : 0;
	margin        : 0 0 15px 0;
	list-style    : none;
	background    : #FAF0CF;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.widget li {
	padding       : 0;
	list-style    : none;
	font-family   : "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size     : 11px;
}

.widget li a {
	display       : block;
	padding       : 6px 8px;
	width         : 142px;
	border-bottom : none;
	-moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.widget li a, 
.widget li a:link, 
.widget li a:visited {
  border-bottom : none;
  color         : #163089;
}

.widget li a:hover, 
.widget li a:active {
	border-bottom : none;
	color         : #578EBD;
	background    : #EEE4C2;
}

.widget li.widget_header img {
  vertical-align : bottom;
}

.widget li.widget_header a, 
.widget li.widget_header_large {
	margin        : 0;
	line-height   : 20px;
	font-size     : 18px;
	text-align    : center;
}

.widget li.widget_header_large {
	display       : block;
	padding       : 6px 8px;
	color         : #163089;
}

.widget li.widget_link a, 
.widget li.widget_link a:link, 
.widget li.widget_link a:visited {
	background    : transparent url(images/icon_arrow.png) 97% 50% no-repeat;
}

.widget li.widget_link a:hover, 
.widget li.widget_link a:active {
	background    : #EEE4C2 url(images/icon_arrow.png) 97% 50% no-repeat;
}

#subnavi {
	border        : #D4A511 1px solid;
	border-bottom : none;
	padding       : 0;
	margin        : 0;
	list-style    : none;
	background    : #FAF0CF;
  -moz-border-radius-topleft      : 4px;
  -moz-border-radius-topright     : 4px;
  -webkit-border-top-left-radius  : 4px;
  -webkit-border-top-right-radius : 4px;
}

#subnavi li {
	border-bottom : #D4A511 1px solid;
	padding       : 0;
	list-style    : none;
	font-family   : "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size     : 13px;
}

#subnavi li a {
	display       : block;
	border-bottom : none;
	padding       : 7px 8px;
	width         : 142px;
	-moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

#subnavi li a, 
#subnavi li a:link, 
#subnavi li a:visited {
  color         : #163089;
}

#subnavi li a:hover, 
#subnavi li a:active,
#subnavi li.current_page_item a {
	color      : #578EBD;
	background : #EEE4C2;
}

#subnavi li.current_page_item ul li a {
	/* prevent 3rd-level links of a current-2nd-level link from being highlighted */
	color      : #163089;
	background : transparent;
}

#subnavi ul {
	padding : 0;
	margin  : 0;
}

#subnavi ul li {
	padding       : 0;
	border-bottom : none;
	font-size     : 11px;
}

#subnavi ul li a {
  display       : block;
  border-bottom : none;
  padding       : 2px 10px 2px 20px;
  width         : 128px;
}

#subnavi ul li a, 
#subnavi ul li a:link, 
#subnavi ul li a:visited {
  color         : #163089;
}

#subnavi ul li a:hover, 
#subnavi ul li a:active,
#subnavi ul li.current_page_item a, 
#subnavi li.current_page_item ul li a:hover, 
#subnavi li.current_page_item ul li a:active, 
#subnavi li.current_page_item ul li.current_page_item a {
	/* allows 3rd-level links of a current-2nd-level link to be highlighted on rollover */
	color      : #578EBD;
	background : #EEE4C2;
}


/* ----- FOOTER + SEARCH BOX + RSS LINK ----- */

#footer_left {
	float   : left;
	padding : 2px 0 0 20px;
}

#footer_right {
	float   : right;
	padding : 0 20px;
}

#footer p {
	font-size  : 10px;
	color      : #555;
}

#footer p a {
	color      : #555;
}

#footer_right p  {
	text-align : right;
}

#footer_right p#searchform_label {
	margin: 0;
}

#searchform div {
	margin     : 0 2px 0 0;
	text-align : center;
}

#searchform input#s {
	border     : #CCC 1px solid;
	padding    : 1px 4px 2px 4px;
	width      : 100px;
	font-size  : 9px;
	background : #F5F5F5;
	color      : #777;
}

#searchform input#searchsubmit {
	border        : #DDD 1px solid;
	border-right  : #CCC 2px solid;
	border-bottom : #CCC 2px solid;
	padding       : 0 4px 0 4px;
	margin        : 0;
	width         : auto;
	font-size     : 9px;
	font-weight   : normal;
	background    : #E5E5E5;
	color         : #777;
}


/* ----- CALENDAR PAGE ----- */

#calendar h1 {
	margin-left : 20px;
}

#calendar #content iframe {
	border : none;
}


/* ----- SEARCH RESULTS PAGE ----- */

/* partially overrides the footer search form */

.search_results #searchform div {
	text-align : left;
}

.search_results #searchform input#s {
	width : 125px;
}

.excerpt p {
	line-height : 16px;
	font-size   : 10px;
}

.navigation {
	padding : 10px 0 40px 0;
	width   : 500px;
}

.navigation a {
	font-size : 11px;
}

.navigation .alignleft {
	float : left;
	width : 250px;
}

.navigation .alignright {
	float      : right;
	width      : 250px;
	text-align : right;
}

