/* General formatting of all elements */
html {height: 101%;}
body {
	margin:0px;padding:0px; font-size: 80%;  font-family: arial, helvetica, verdana,  sans-serif; color: #222; text-align: center; 
	background: #eee url(http://ukwindsurfing.com/media/budd2004/back_body.gif) repeat-y center top;
	}
table {font-size: 100%;}
html>body, tr>td, tr>th, table>caption {font-size: 13px;}

h1, h2, h3, h4 { font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-weight: bold; color: #555 }

h1 { text-align: left; color:#555;background: #F5F5F6 url(http://ukwindsurfing.com/media/budd2004/heading_back.gif) repeat-x left top; border: 1px #C7CAD1 solid;margin: 0 0 10px 0; padding: 2px 0 3px 5px;font-size: 1.4em;position: relative;font-weight: bold; clear:both;}

h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1.0em;font-weight: bold; color: #000; line-height: 1;}
h1 a, h1 a:hover, h1 a:visited, .description { text-decoration: none;}

h2, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { text-decoration: none; }

a {color: #36c;text-decoration:none;}
a:visited {color: #039;text-decoration:none;}
a:hover {text-decoration: underline;}
a:active {color: #d00; text-decoration: underline;}

code { font: 1.1em 'Courier New', Courier, Fixed; }

acronym, abbr {letter-spacing: .07em; border-bottom: 1px #666 dashed; cursor: help;}
.rm {display: none;}
.hide {position:absolute; left: -999em;}
.cl {clear: both;}
img {border: 0px;text-decoration:none;}
.update {font-weight:bold; color:#c00;}

blockquote { margin: 15px 30px 0 10px; padding-left: 20px; border-left: 5px solid #ddd; }
blockquote cite { margin: 5px 0 0; display: block; } 

.center { text-align: center; }

hr { display: none; }

a img { border: none; } 

ul.categories {margin: 10px 0 0; padding: 3px 0 0 3px; clear: both;}
.categories li { display: inline; padding: 0; margin-right: 5px; font-weight: bold;}
.categories li a, .categories li a:visited {padding: 3px 3px 0 5px; text-decoration: none;color:#666; background: #F5F5F6 url(http://ukwindsurfing.com/media/budd2004/nav_back.gif) repeat-x left top;border:1px #C7CAD1 solid;  border-bottom: 0;}
.categories li a:hover {text-decoration: none;border-color: #000;}
dt {font-weight: bold;margin: 0 2px 0 3px;}
#content dd {margin: 0 0 3px 10px;}

/* look up */

.narrowcolumn .postmetadata { text-align: center; margin-top: 30px;clear: both;}

.alt { background-color: #f8f8f8; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } 

.commentlist li { font-weight: bold; }

.commentlist cite, .commentlist cite a { font-weight: bold; font-style: normal; font-size: 1.1em; }

.commentlist p { font-weight: normal; line-height: 1.5em; text-transform: none; }

#commentform p { font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; }

.commentmetadata { font-weight: normal; }

p.alignright { float: right; margin: -10px 0 0 0; padding: 0;}

/* Layout */

#page {margin: 0px auto; padding: 0; width: 780px; text-align: left; height: 500px; position:relative;}
body>#page {height: auto; min-height: 500px;}

#header { margin:0px 15px 3px 15px;height: 185px; padding: 0;background-image: url(http://ukwindsurfing.com/media/budd2004/head_wv_007.jpg); background-repeat: no-repeat; background-position: center center;}

.narrowcolumn { float:right; padding: 0; margin: 0 18px 20px 0; width: 550px; height: 400px;}
html>body .narrowcolumn {height: auto; min-height: 400px; margin-right: 32px;}
.widecolumn { padding: 10px 10px 0 20px; margin: 0 15px;  }

#sidebar { padding: 0; width: 155px;margin-left:30px;}

#footer {text-align:center; margin: 0 0 0 160px; padding: 40px 0 0 0; color:#999; font-size: 90%;clear: both;}

/* Wide Styles */
body.wide {background: #fff url(http://ukwindsurfing.com/media/budd2004/back_body_wide.gif) repeat-y center left;}
body.wide #header {margin-left:27px; background-position: center left;}
body.wide #page {width:100%; padding: 0; margin: 0 auto 0 0;min-width: 800px;}
body.wide #sidebar {position:absolute; left: 0px; top: 190px }
body.wide .narrowcolumn {float: none; margin-left: 195px}

/* header */

#logo {position:absolute; top:10px; left:10px;}
#logo img {height: 155px; width: 725px;}
#header h1 {display: none;}
#header p {display: none;}

/* Content area */
#content {font-family: verdana, arial, helvetica, sans-serif;}
.entrytext {clear:both; margin-top: 15px;}
.navigation {margin: 5px 10px 8px; padding-bottom: 1.5em; }
#content img {border: 1px #333 solid;}

#eventnav {border: 1px #C7CAD1 solid;border-width: 0 1px 1px;background: url(http://ukwindsurfing.com/media/budd2004/back_eventnav_left.jpg) no-repeat bottom left; float: right; margin: -10px 0 0 10px;padding: 0px 5px 5px 5px; }
#eventnav img {border: 1px #333 solid; background-color: #fff;}
#eventnav a {color:#666; font-weight:bold;}
#eventnav p {margin-top: 0; padding-top: 0;}

.wrapper {width: 100%;}
.col2 {width: 46%; float:left;padding: 0; margin: 0 0 0 2%;list-style-type:none;}
.col3 {width: 30%; float:left;padding: 0; margin: 0 0 0 2%;list-style-type:none;}

.item h2 {clear:both;}

li h4 { line-height: 0; padding: 0; margin: 0; }

li h2 {margin-top: 20px;margin-bottom: 0;}

ol {list-style-type: decimal;}
ol ol {list-style-type: lower-roman;}
ol ol ol {list-style-type: lower-latin;}
ol.subnumbers li ol {list-style-type: decimal;}


/* tables */

table {empty-cells: show;border: 1px #036 solid; margin: 10px 0 10px 0;border-collapse: collapse;clear: right;}
th, td {vertical-align: top; border: 1px #036 solid;border-width: 1px 0; padding: 3px;}
th {border-bottom: 2px #036 solid;}
#content table.results {margin: 10px 0 30px 0;}
table.nolines, .nolines td, .nolines th {border: 0px;vertical-align: top;}
caption {text-align: left; color:#003366; font-weight: bold;margin: 0px; padding: 5px 0 0 5px;}

/*  Images */
p img { padding: 0; max-width: 100%; }
	
img.centered { display: block; margin-left: auto; margin-right: auto; }
	
img.alignright, .alignright img, img.img_right { padding: 2px; margin: 0 0 2px 7px; display: inline; }

img.alignleft, .alignleft img, img.img_left { padding: 2px; margin: 0 7px 8px 0; display: inline; }

.alignright img, img.alignright { float: right; }
	
.alignleft img, img.alignleft { float: left }

.centered {text-align:center;}

#content img.banner {border-width: 0; margin: 0 0 10px 0;}

/* Gallery */

.gallery-head img {float: left; padding: 0; margin-right: 4px;}
.caption, .caption-r {margin: 7px 0px 7px; float: left; font-style: italic;width: 110px; height: 130px; text-align: center;}

.caption img, .caption-r img, img.caption, img.caption-r {border: 1px #036 solid;}
.caption {margin-right: 10px;}
.caption-r {float: right; margin-left: 10px;}

.next-prev {clear: both; margin: 10px 20%;padding: 10px 0; text-align: center; border: 1px #999 solid; border-width: 1px 0;}

.next-prev img, #pic-navi img {vertical-align: bottom;}

.gallery {margin: 20px 0 0; padding: 0;  list-style-type: none;clear: left;}
.gallery li {float:left; border: 2px #eee solid; margin: 0 15px 20px; text-align: center; padding: 0;height: 140px; width: 140px;}
.gallery li a {height: 133px; width: 140px; margin:0;padding: 7px 0 0; display: block;}
#content .gallery li img {display: block; margin: 0 auto;}

#pic {text-align: center; height:585px;} 

#content .next-prev img, #content #pic img  { border: 0;}

/* New Gallery */

ul.photo-gallery, ul.gallery-list { overflow: auto; padding: 0; margin: 0; clear: both; width: 100%; list-style-type: none !important;}
.gallery-list li { 
    width: 170px; 
    float: left; 
    height: 190px; 
    margin: 0 10px 10px 0; 
    text-align: center;
}
.photo-gallery li h2 { 
    font-size: 100%;
}

.photo-gallery li { 
    width: 150px; 
    float: left; 
    height: 150px; 
    margin: 0 15px 10px 0; 
    text-align: center;
}


/* Lightbox */
#ui-lightbox-wrapper {
    display: none;
    position: absolute;
    width: 20em;
    height: auto;
    border: 1px #333 solid;  
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color:#F5F5F6;
    padding: 0 3px;
}
#ui-lightbox-image {
    height: 500px;
    margin: 0;
    background: url(ajax-loader.gif) no-repeat center center;
}
#ui-lightbox-image img{
    display: none;
    max-width: 100%;
    max-height: 100%;
}
/* Lightbox title bar */ 

.ui-dialog-titlebar {
    position: relative;
    margin: 3px 10px;
    height: 60;
}
#ui-dialog-title-dialog {display: none;}
#ui-lightbox-close {
    position: absolute;
    right: 10px;
    top: 5px;
    
}

#ui-lightbox-pager {
    position: absolute;
    left: 10px;
    top: 5px;
    margin:0;
}
#ui-dialog-buttonpane {
    text-align: center;
    margin: 5px auto 0;
}
#ui-dialog-buttonpane button {
    cursor:pointer;
    line-height:1.4em;
    margin:0.5em 0.4em 0.5em 0;
    overflow:visible;
    padding:0.2em 0.6em 0.3em;
    width:auto;
    border:1px solid #CCCCCC;
    color:#1C94C4;
    font-weight:bold;
    outline:medium none;
}
#ui-dialog-buttonpane button.ui-state-disabled {
    color: #ccc;
    cursor:default;
}



/* Begin Lists */

.postmetadata ul, .postmetadata li { display: inline; list-style-type: none; list-style-image: none; } 

.entry form { /* This is mainly for password protected posts, makes them look better. */ text-align:center; }

/* homepage posts */

.post {clear: left; padding: 0; margin-bottom: 10px; height: 120px; border-top: 2px #C7CAD1 groove; }

html>body .post {height:auto; min-height: 80px;}

.post h2 {margin: 0; padding: 5px 0 0 10px;}
.post h2 a {text-decoration: underline;}
.post p {margin: 0; padding: 0 10px 5px 10px;}
.post ul {padding-bottom: 10px;padding-right: 10px;}
.date { font-size: 0.9em; color:#000; line-height: 1.0; margin: 3px 3px 0 0; padding: 0 10px;float: right;}

.link {clear: left; padding: 5px 0 0 62px; margin-bottom: 5px;  border-top: 2px #C7CAD1 solid; background: transparent url(http://ukwindsurfing.com/media/budd2004/icon-sm-ukwa.png) no-repeat 2px 0; min-height: 50px;}
.link.Racing {background-image: url(http://ukwindsurfing.com/media/budd2004/icon-sm-racing.png);}
.link.Freestyle {background-image: url(http://ukwindsurfing.com/media/budd2004/icon-sm-freestyle.png);}
.link.Slalom {background-image: url(http://ukwindsurfing.com/media/budd2004/icon-sm-slalom.png);}
.link.Wave {background-image: url(http://ukwindsurfing.com/media/budd2004/icon-sm-wave.png);}
.link.Speed {background-image: url(http://ukwindsurfing.com/media/budd2004/icon-sm-speed.png);}
.link h3 {display: inline;}
.link p {margin:3px;display:inline; }
.link img {margin: -2px 5px 3px -63px; width: 104px;}
.link .date {margin-top: 30px;}

/* Contact form */
legend {border: 1px #666 solid; padding: 5px;margin-top: 10px;}
.contactform {padding: 10px 5px; width: 80%;margin: 0 auto;}
.contactform label, .contactform textarea {display: block;width: 200px;float: left;margin-bottom: 10px; }
.contactform input, .contactform textarea {background: #ccc; font-family:verdana, sans-serif; font-size: 1em;}
input#email, input#username {width: 200px;}
.contactform input:focus, .contactform textarea:focus {background: #eee; color: #000;}
.contactform label {text-align: right;width: 90px;padding-right: 20px;}
.contactform p {clear:left;}
.contactform br {clear: left;}
.contactform .button {width: auto; float:right;margin-right: 20px;}

/* Membership forms */

table.form {border: 0; margin: 0;}
table.form td, table.form th {border: 0; font-weight: normal; padding: 0 4px 10px 4px;}
table.form th {text-align: right; width: 35%;}
input, a.alignright {float: right;margin-right: 10%;}
ul.errorlist {margin:0; padding: 0; list-style-type:none;}
ul.errorlist li {color: #c00; font-weight: bold;}

/* Begin Comments*/

h3.comments { padding: 0; margin: 40px auto 20px ; }
#commentform input { width: 170px; padding: 2px; margin: 5px 5px 1px 0; }
#commentform textarea { width: 100%; padding: 2px; }
#commentform #submit { margin: 0; float: right; }
.alt { margin: 0; padding: 10px; }
.commentlist { padding: 0; text-align: justify; }
.commentlist li { margin: 15px 0 3px; padding: 5px 10px 3px; list-style: none; }
.commentlist p { margin: 10px 5px 10px 0; }
#commentform p { margin: 5px 0; }
.nocomments { text-align: center; margin: 0; padding: 0; }
.commentmetadata { margin: 0; display: block; }

/*  Sidebar */
#sidebar form { margin: 0;padding: 0; }
#sidebar input {float: none;}
#sidebar #cse-search-box {text-align: right;padding: 10px 0 0; }

#cse-search-box {width: 90%;padding: 2px;}
#cse-search-box #q {width: 90%; background: #fff url(http://www.google.com/coop/intl/en/images/google_custom_search_watermark.gif) left no-repeat;}
#cse-search-box #q:focus {background: #fff;}
.gsearch #cse-search-box #q {width: 150px;}
#cse-search-results iframe {width: 100% !important;}

#sidebar .centered {margin-top: 4px;padding: 1px; border: 1px #000 solid;}

#sidebar .connect li {margin: 5px 0 3px 10px;}


/* MENU STYLES */
#sidebar ul {margin: 0px; padding: 0px;}
#sidebar ul {margin: 0px;list-style-type: none;padding: 0px; font-weight: bold;}
#sidebar ul li {padding: 0px;margin:0; }
ul#menu li a, ul#menu li .nolink {padding: 3px 3px 3px 5px; width: 100%; text-decoration: none;color:#666;background: #F5F5F6 url(http://ukwindsurfing.com/media/budd2004/nav_back.gif) repeat-x left top; border: 1px #C7CAD1 solid;}
#sidebar>#menu li a, #sidebar>#menu li .nolink {display: block;width: auto;}
ul#menu li .nolink {background: #fff; color: #666; border-right: 0;}
ul#menu li a:hover {text-decoration: none;border: 1px #333 solid;  background-color:#F5F5F6;}
#sidebar ul li li {font-size: 90%}
#sidebar ul li li a, #sidebar ul li li .nolink {padding: 2px 2px 2px 14px;}
#sidebar ul li li li {font-size: 100%}
#sidebar ul li li li a, #sidebar ul li li li .nolink {padding: 2px 2px 2px 22px;}
#sidebar>#menu li li li a, #sidebar>#menu li li li .nolink {display:block;}

ul#membership {margin-top: 10px;}
ul#membership li a {padding: 3px; display: block; width: auto; }
ul#membership li a:hover {text-decoration: underline;}

/* bug in IE that adds extra height */
#menu .noheight {height: 1px;}
#sidebar>#menu .noheight {height: auto;}
#sidebar p {padding-left: 5px;padding-top: 10px;}

#sidebar ul.meta li a {
    background-image: none;
    padding: 1px 0 1px 3px;
}
    
ul#meta li a:hover {
    border: 1px #C7CAD1 solid; color: #000;
}

/* Results */

ul.links {overflow: auto; list-style: none; margin: 0 0 25px 0; padding: 0; }

ul.links li {float:left; margin: 0 10px 0 0;padding-bottom: 8px; }


.links a.ct1_result {padding-left: 20px; background-image: url(http://ukwindsurfing.com/media/icons-16x16/table.png); background-repeat: no-repeat; background-position: center left;}
.links a.ct2_report {padding-left: 18px; background-image: url(http://ukwindsurfing.com/media/icons-16x16/comment.png); background-repeat: no-repeat; background-position: center left;}
.links a.ct3_pic {padding-left: 18px; background-image: url(http://ukwindsurfing.com/media/icons-16x16/photos.png); background-repeat: no-repeat; background-position: center left;}
.links a.ct4_video {padding-left: 18px; background-image: url(http://ukwindsurfing.com/media/icons-16x16/television.png); background-repeat: no-repeat; background-position: center left;}

.master {background-color: #eee;} 
.junior {background-color: #eff;} 
.youth  {background-color: #eef;} 
.women {background-color: #fee;} 
.espoir {background-color: #dde;} 
.veteran {background-color: #ddd;} 
.leader {font-weight: bold;} 
.eleven, .olympic {background-color: #efe;}
.techno, .unlimited {background-color: #ffe;}

#highlight-menu, #highlight-menu-2 {text-align: center}
#highlight-menu label {font-weight:bold;}
#highlight-menu fieldset, #highlight-menu-2 fieldset {border: 0;margin-top: 5px;padding:5px 0;}
#highlight-menu fieldset label, #highlight-menu-2 fieldset label {margin-right: 10px; padding: 4px;border: 1px #036 solid;border-top: 1px #69c solid;border-left: 1px #69c solid;font-weight:normal;cursor:pointer;}
#highlight-menu input, #highlight-menu-2 input {vertical-align: middle;}

/* Sidebar */

#sidebar h2 {margin: 10px 3px 0 3px;font-size: 1.1em;color:#555;background: #F5F5F6 url(http://ukwindsurfing.com/media/budd2004/heading_back.gif) repeat-x left top !important; padding: 5px;border-bottom: 1px #C7CAD1 solid;border-bottom: 0;border: 1px #C7CAD1 solid;background: #F0F1F5;}
dl#events, #sidebar ul.discuss, ul.vcalendar, #sidebar ul.connect {margin: 0 3px 3px 3px; padding: 0; list-style-type: none; border: 1px #c7cad1 solid;background: #f0f1f5;}
#sidebar ul.discuss {list-style-type: disc;}
#events dd {margin: 0 2px 3px 3px; padding: 0;margin-bottom: 10px;}
#events dd a, #sidebar ul.discuss a  {font-weight: bold;}
#sidebar ul.discuss li {margin: 2px 0 0 20px;}
/* Calendar */
#sidebar ul.vcalendar {margin: 0 3px 0 3px;font-weight: normal;padding: 2px;}
ul.vcalendar strong {display:block;}
abbr {border: 0;}
.vcalendar abbr:hover {cursor: default;}
ul.vcalendar a {font-weight: bold;}
ul.vcalendar .location {display: none;}
#sidebar ul.vcalendar li {margin: 0 2px 4px 2px;}

.connect .rss {background: url('/media/budd2004/rss-14x14.png') no-repeat center left; padding-left: 16px;}

/* News archives */
.list h3 {margin-bottom: 0}
.list p { border-top: 1px #fff solid; margin-top: 0;}

/* SPONSORS */
#sponsors {margin: 0 0 0 8px;padding: 0;width:750px;height:47px; text-align:center;}
#sponsors img {margin-left: 10px;vertical-align: middle; border: 0;}
#sponsors-gold a {padding: 0px}
#sponsors-gold img {margin: 0 10px 10px 0;}
#content #sponsors {position:static;width: auto;height: auto; text-align:center; }
#content #sponsors img {margin-bottom: 5px;}

/* Links section */

.links #content img {  border: 0px; margin: 0 7px 10px 0;}
.corporate_members ul {list-style-type:none;}

/* Profiles section */
.profiles h1 {clear:none; margin-right: 137px;}
html>body .profiles h1 {margin-right: 140px;}

/* Membership stuff */

fieldset.member {width: 90%; margin: 0 10px 10px 0;}
.member label {margin-left: 10px; display: block;}

/* Section headers */

.racing #header {background-image: url(http://ukwindsurfing.com/media/budd2004/head_fw_003.jpg);}
.freewave #header {background-image: url(http://ukwindsurfing.com/media/budd2004/head_wv_005.jpg);}
.speed #header {background-image: url(http://ukwindsurfing.com/media/budd2004/head_sl_001.jpg);}
.regions #header {background-image: url(http://ukwindsurfing.com/media/budd2004/head_rb_003.jpg);}
.pics_n_vids #header {background-image: url(http://ukwindsurfing.com/media/budd2004/head_wv_006.jpg);}
.news #header {background-image: url(http://ukwindsurfing.com/media/budd2004/head_sl_002.jpg);}

/* Nice extras */

a[href$=".pdf"] {padding-right: 18px; background: #fff url(http://ukwindsurfing.com/media/budd2004/pdf_logo.gif) no-repeat center right; border-bottom: 1px #f00 dashed;}
a[href$=".pdf"]:hover {text-decoration: none;border-bottom: 1px #f00 solid;}

a[href^="mailto"] {padding-right: 20px; background: #fff url(http://ukwindsurfing.com/media/budd2004/email_logo.gif) no-repeat center right;}
