/**** Global.css for Balmain Sailing Club *****/

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline; }

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block; }




/* 1.ROOT */

html {
	overflow-y: scroll;
	background: #fff;
}
body { 
	margin: 0 auto;
	padding: 0;
	width: 100% /* 252px */;
	font: 100%/1.4 'Open Sans', "Helvetica Neue", Helvetica, Arial;
	font-weight: 300;
	color: #333; 
	background-color: transparent;
	-webkit-text-size-adjust: 100%; 
	-ms-text-size-adjust: 100%;
}




/* 2.HEADINGS */

h1, 
h2, 	
h3, 
h4, 
h5, 
h6 {
	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial;
	font-weight: 700;
	letter-spacing: -1px;
}
h1 { 
	margin-bottom: .75em;
	font-size: 1.7em;
	line-height: 1.1;
}
h2 { 
	margin-bottom: .75em;
	font-size: 1.4em;
	line-height: 1.2;
	padding-top: 10px;
}
h3 { 
	margin-bottom: 1em;
	font-size: 1.2em;
	line-height: 1.3;
}
h4 { 
	margin-bottom: 1.25em;
	font-size: 1.1em;
	line-height: 1.25;
}
h5 { 
	margin-bottom: 1.5em;
	font-size: 1em;
}
h6 { 
	font-size: 1em;
}





/* 3.TYPOGRAPHY */

p, 
ol, 
ul, 
dl, 
address { 
	margin-bottom: 1.5em; 
	font-size: 1em;
}
ul, 
ol { 
	margin: 0 0 1.5em -24px; 
	padding-left: 24px;
}
ul { 
	list-style-type: disc;
	margin-left: 0.2em;
}
ol { 
	list-style-type: decimal;
	margin-left: 0.2em;
}
li ul, 
li ol { 
	margin: 0;
	font-size: 1em;
}
blockquote  { 
	margin: 0 0 1.5em -24px; 
	padding-left: 24px; 
	border-left: 1px solid rgb(200,200,200);
	font-style: italic;
}
sup, 
sub { 
	position: relative;
	font-size: 75%; 
	line-height: 0;
}
sup { 
	top: -.5em;
}
sub { 
	bottom: -.25em;
}
input {
	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial;
	font-weight: 400;
	font-size: 16px;	
}
strong {
	font-weight: 700;
}





/* 4.LINKS */

a {
	outline: none;
	color: #3366cc;
}
a:link {
	-webkit-tap-highlight-color: rgb(255,204,51);
}
a:visited {
	color: #666;
}
a:hover { 
	outline: none;
	color: #334455; 
	text-decoration: none;
}
a:active, 
a:focus { 
	outline: none;
	color: #333;
}





/* 6.TABLES */

table { 
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 1.4em; 
	width: 100%;
}
th { 
	font-weight: bold;
}
th, td, caption { 
	padding: .25em 10px .25em 5px;
}






/* CUSTOM */
/* CUSTOM */
/* CUSTOM */
/* CUSTOM */



/***** Header *****/
header {
	background: #000;
	overflow: hidden;
	padding: 12px;
	border: 2px solid #fff;
}
#logo {
	background: url(../images/interface/bailmain-sailing-club-logo.png) no-repeat 0 0;
	background-size: 100% auto; 
	width: 180px;
	height: 59px;
	margin-left: 0px;
}
#logo a {
	display: block;
	height: 59px;
}
nav {
	position: relative;
	display: none;
}
nav ul {
	margin: 0;
	padding: 0;
	-webkit-transition: all .25s linear;
	transition: all .25s linear;
background:#fff;
}
nav li {
	list-style-type: none;
	border-bottom: 1px solid #e5e5e5;
	padding: 5px 0 5px 15px;
}
nav li a {
	text-decoration: none;
	font-size: 18px;
	font-weight: 400;
}
#icon-menu {
	background: url(../images/interface/menu-icon.png) no-repeat 0 10px;
	background-size: 100%;
	width: 40px;
	height: 59px;
	position: absolute;
	top: 13px;
	right: 20px;
}
#icon-menu.icon-menu-close {
	background: url(../images/interface/menu-icon-close.png) no-repeat 0 10px;
	background-size: 100%;
}
#icon-menu.icon-menu-back {
	background: url(../images/interface/menu-icon-back.png) no-repeat 0 10px;
	background-size: 100%;
}





/***** Content *****/
article {
	width: 95%;
	padding: 12px 0 20px 12px;
	margin: 0 auto 20px auto;
	border-bottom: 1px solid #000;
	overflow: hidden;
}
aside {
	width: 90%;
	margin: 0 auto 20px auto;
}
aside .box {
	padding: 20px 0;
	margin-bottom: 20px;
	border-bottom: 1px dotted #333;
}
article img {
	max-width: 95% !important;
	height: inherit;
}




/***** Regatta Program *****/
.regattaProgram {
	width: 100%;
}
.regattaProgram td,
.regattaProgram th {
	padding: 5px;
	margin: 0;
	text-align: left;
	border-bottom: 1px dotted #ccc;
	font-size: 16px;
}
.regattaProgram td.time {
	width: 100px;
}
.regattaProgram p {
	margin: 0;
	padding: 0;
}
.regattaProgram .highlight td {
	background-color: #e5f1fe;
}




/***** Regatta Program *****/
article#oneColumn {
	float: none;
	width: auto;
	margin-bottom: 35px;
}
.regattaResults {
	width: 100%;
	border-top: 1px dotted #ccc;
	border-left: 1px dotted #ccc;
}
.regattaResults td,
.regattaResults th {
	font-size: 13px;
	padding: 5px;
	border-bottom: 1px dotted #ccc;
	border-right: 1px dotted #ccc;
}
.regattaResults th {
	text-align: left;
}
/*.res1 {width:125px;}
.res2 {width:98px;}
.res3 {width:65px;}
.res4 {width:162;}
.res5 {width:45px;}
.res6 {width:80px;}
.res7 {width:112px;}
.res8 {width:130px;}
.res9 {width:78px;}
.res10 {width:105px;}*/

.regattaResults .res6,
.regattaResults .res7,
.regattaResults .res8,
.regattaResults .res9,
.regattaResults .res10 {
	text-align: center;
}


/***** Membership Form *****/
form ol {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
fieldset {
	margin-bottom: 25px;
	margin-right: 20px;
}
legend {
	font-weight: 700;
	margin-bottom: 15px;
	font-size: 18px;
	display: block;
	width: 100%;
	border-bottom: 1px dotted #666;
}
label {
	font-size: 15px;
	font-weight: 400;
}
.contactDetails label {
	display: block;
	margin: 8px 0 0 0;
}
.inputField {
	width: 90%;
}
.skillsHelp strong {
	font-weight: 400;
	display: block;
	margin: 10px 0 0 0;
}
.skillsHelp label {
	display: block;
}
.radio strong {
	font-weight: 400;
	display: block;
	margin: 10px 0 0 0;
}
.radio label {
	padding-right: 10px;
}
.membershipType li {
	overflow: hidden;
	padding: 0 0 5px 0;
	margin-bottom: 5px;
	border-bottom: 1px dotted #e5e5e5;
}
.membershipType label {
	float: left;
	width: 80%;
	font-size: 16px;
}
.membershipType strong {
	float: right;
	width: 19%;
}
.membershipType em {
	display: block;
	clear: both;
	font-size: 14px;
}
.racing strong {
	display: block;
	font-weight: 400;
}
.racing article strong {
	display: inline;
	font-weight: 700;
}
.racing label {
	padding-right: 15px;
}
.roles strong {
	display: block;
	font-weight: 400;
}
.roles label {
	display: block;
}
.donations p {
	margin-bottom: 5px;
}
.donations input {
	float: right;
	width: 120px;
	margin: -4px 10px 0 0;
}
.payable {
	font-size: 22px;
	font-weight: 700;
}
.payButton .button,
.payButton .button:hover,
.payButton .button:visited,
.payButton .button:active {
	/*float: left;*/
	width: auto;
	margin-bottom: 15px;
	padding: 6px 20px;
	background: #ffcc33;
	-moz-border-radius:6px;
	border-radius:6px;
	-webkit-border-radius:6px;
	-moz-box-shadow: 0 1px 1px 0 #ccc;
	-webkit-box-shadow: 0 1px 1px 0 #ccc;
	box-shadow: 0 1px 1px 0 #ccc;
	text-shadow: #fde499 0 1px 0px;
	cursor: pointer;
}
.payButton .noUse,
.payButton .noUse:hover {
	background: #ccc;
	color: #777;
	text-shadow: none;
	cursor: default;
}
.error {
	display: block;
	color: #cc0000;
	font-weight: bold;
}
.payButton p {
	font-size: 15px;
	clear: left;
	margin: 0 0 30px 0;
}
.coupleForm,
.familyForm {
	padding: 10px 0 0 23px;
	overflow: hidden;
}
.familyForm ol {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 5px;
}
.familyForm ol:last-child {
	border: none;
	margin: 0;
}
.coupleForm strong,
.familyForm strong {
	float: none;
	text-align: left;
}
.coupleForm li,
.familyForm li {
	border: none;
}
fieldset.racing label {
	display: block;
}
.racingForm {
	padding: 20px 0 0 0;
}
.racingForm li {
	overflow: hidden;
	padding: 0 0 5px 0;
	margin-bottom: 5px;
	border-bottom: 1px dotted #e5e5e5;
	clear:both;
}
.schoolDingyRaces,
.dingyRaces,
.keelRaces {
	padding: 20px 0 0 0px;
}
.schoolDingyRaces h3,
.dingyRaces h3,
.keelRaces h3 {
	font-size: 16px;
}
.schoolDingyRaces ol ol,
.dingyRaces ol ol,
.keelRaces ol ol {
	padding: 30px 0 0 10px;
}
.schoolDingyRaces ol ol li:last-child,
.dingyRaces ol ol li:last-child,
.keelRaces ol ol li:last-child {
	border: none;
}
.schoolDingyRaces label,
.dingyRaces label,
.keelRaces label {
	float: left;
	width: 200px;
}
.schoolDingyRaces strong,
.dingyRaces strong,
.keelRaces strong {
	float: right;
	width: 50px;
	text-align: right;
	font-weight: 700;
}
.schoolDingyRaces p,
.dingyRaces p,
.keelRaces p {
	font-size: 14px;
	margin-bottom: 14px;
	color: #cc0000;
}
.schoolDingyRaces p strong,
.dingyRaces p strong,
.keelRaces p strong {
	float: none;
	text-align: left;
}
.roles ol {
	margin-bottom: 15px;
}
.roles li {
	overflow: hidden;
}
.storageForm li {
	overflow: hidden;
	padding: 0 0 5px 0;
	margin-bottom: 5px;
	border-bottom: 1px dotted #e5e5e5;
	clear:both;
}
.storageForm label {
	float: left;
}
.storageForm strong {
	float: right;
	font-weight: 700;
	text-align: right;
}
.storageForm p strong {
	float:none;
	text-align: left;
}
.storageForm .inputField {
	width: 120px;
}
.tenderForm {
	padding: 0 0 0 24px;
	float:left;
}
.tenderForm label {
	width: 100px;
	margin: 4px 4px 0 0;
}




/***** Homepage *****/
.homepage h1 {
	font-weight: 300;
	font-size: 20px;
	margin-right: 30px;
}
.burgeeBox {
	background: #f5f5f5 url(../images/interface/burgee.png) no-repeat 20px 23px;
	background-size: 70px auto;
	padding: 20px 30px 0 100px;
	margin: 38px 0 10px 0;
	overflow: hidden;
	min-height: 105px;
}
.burgeeBox p {
	font-size: 15px;
	margin-bottom: 20px;
}
.slider {
	float: left;
	width: 100%;
	height: 168px;
	overflow: hidden;
	position: relative;
	margin-bottom: 32px;
}
.slider-container {
    position: relative;
}
.slider-slide {
    float: left;
    position: relative;
}
.slider-slide img {
	display: block;
	width: 100% !important;
}
.slider-slide .description {
	background: #f5f5f5;
	padding: 5px;
	font-size: 13px;	
}
.homepage aside {
	padding-top: 0px;
}
.dots {
	display: none;
}
.latestNews ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}




/***** Contact *****/
.contactForm li {
	overflow: hidden;
}
.contactForm label {
	float: left;
	width: 90px;
	margin: 6px 0 0 0;
}
body.contact article .button {
	margin-left: 93px;
	float: left;
}
body.contact iframe {
	display: none;
}




/***** Race Calendar *****/
#springRaces,
#summerRaces,
#twilightPreRaces,
#twilightPostRaces,
#winterRaces,
#nonRaces,
#fridayRaces {
	display: none;
}




/***** Regatta Entrants *****/
.regattaEntrants h2 {
	background: #000;
	color: #fff;
	padding: 5px;
	margin-bottom: 0px;
}
.regattaEntrants table {
	width: 100%;
	margin-bottom: 20px;
	border-right: 1px solid #ccc;
}
.regattaEntrants th {
	background: #e5e5e5;
	padding: 10px 5px;
}
.regattaEntrants th,
.regattaEntrants td {
	text-align: left;
	font-size: 13px;
	padding: 5px;
	vertical-align: middle;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
.regattaEntrants td img {
	display: block;
}




/***** Sponsors *****/
.sponsors h2 {
	font-weight: 700;
	font-size: 22px;
	padding: 0 15px;
}
.sponsors ul {
	padding: 0;
	margin: 0;
}
.sponsors li {
	list-style-type: none;
}
.sponsors a {
	display: block;
	text-align: center;
	padding: 0 0 10px 0;
}




/***** Aside *****/
.box .race {
	margin-bottom: 4px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #999;
}
.box .race:nth-child(4) {
	border: none;
}
.latestNews {
	font-size: 14px;
}
.latestNews li {
	overflow: hidden;
	padding-bottom: 20px;
}
.latestNews img {
	float: left;
	margin: 0 7px 0 0;
}
.latestNews .newsThumb {
	float: left;
	margin: 0 7px 0 0;
	width: 90px;
	height: 90px;
	background: #f5f5f5 url(../images/interface/burgee.png) no-repeat center center;
	background-size: 80px auto;
}
.latestNews .newsThumb a {
	display: block;
	height: 90px;
}





/***** Footer *****/
footer {
	background: #000;
	color: #fff;
	padding: 15px;
}
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
	color: #fff;
}
footer ul {
	list-style-type: none;
	padding: 0;
	margin: 0 0 23px 0;
}
p.legals {
	color:#999;
	margin: 0 0 10px 0;
	clear: both;
}
.social a {
	float: left;
	width: 21px;
	height: 21px;
	margin-right: 10px;
	margin-bottom: 18px;
	background: url(../images/interface/social-icons.png) no-repeat 0 0;
	text-indent: -9999px;
}
.social .facebook a {
	background-position: -28px 0px;
}
footer form {
	margin-bottom: 25px;
}
input.email {
	display: block;
	width: 100%;
	padding: 5px 0;
	margin-bottom: 10px;
}
.input-group strong {
	display: block;
	margin-bottom: 10px;	
}
.button,
.button:link,
.button:visited,
.button:active,
.button:hover {
	background: #ffcc33;
	border: none;
	-moz-border-radius:4px;
	border-radius:4px;
	-webkit-border-radius:4px;
	color: #333;
	padding: 5px 15px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	color: #000;
	text-shadow: #fce295 0 1px 0px;
}


/***** Sailing School *****/
.sailCourse {
	border-bottom: 1px dotted #666;
	margin-bottom: 34px;
	padding-bottom: 23px;
}
.sailCourse h2 {
	background: url(../images/interface/burgee.png) no-repeat 0 6px;
	background-size: 30px auto;
	padding-left: 33px;
	
}




/***** Members Home *****/
.memberPayments {
	font-size: 14px;
}
.memberPayments td,
.memberPayments th {
	border-bottom: 1px solid #ccc;
	padding: 5px;
	text-align: left;
}
.memberExpiry div {
	display: none;
}
.memberExpiry div:first-child {
	display: inline;
}







/* 15.VENDOR-SPECIFIC */

::-webkit-selection { 
background: rgb(23,119,175); 
color: rgb(250,250,250); 
text-shadow: none; }

::-moz-selection { 
background: rgb(23,119,175); 
color: rgb(250,250,250); 
text-shadow: none; }

::selection { 
background: rgb(23,119,175); 
color: rgb(250,250,250); 
text-shadow: none; }


div,
input,
textarea  { 
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box; }


/* Sources: 
http://meyerweb.com/eric/tools/css/reset
http://people.opera.com/patrickl/experiments/keyboard/test
http://gist.github.com/413930
http://pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap
http://sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars
http://tjkdesign.com/ez-css/css/base.css
http://viget.com/inspire/styling-the-button-element-in-internet-explorer
http://code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing
http://html5doctor.com/html-5-reset-stylesheet/
http://praegnanz.de/weblog/htmlcssjs-kickstart/
http://camendesign.com/design/
http://yui.yahooapis.com/2.8.1/build/base/base.css
http://webaim.org/techniques/css/invisiblecontent/
http://drupal.org/node/897638
*/