/*
Theme Name: AMA WP
Theme URI: http://www.australianmastersathletics.org.au/
Description: Lightweight  theme for AMA
Version: 0.1
Author: Ernie Leseberg
Author URI: http://www.auramedia.com.au/
Tags: fixed-width
*/

/* reset based on work of Eric Meyer */
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* Site Generic */
body {font-size:80%;color:#fff;background:#000269;font-family:"Helvetica Neue",Helvetica,"Lucida Grande",Arial,sans-serif;}
h1, h2, h3, h4 {font-weight:normal;color:#111;margin:1em 0 0.3em 0;line-height:1;}
h1 {font-size:2.5em;margin-top:0.3em;}
h2 {font-size:1.8em;}
h3 {font-size:1.4em;}
h4 {font-size:1.2em;}
em {font-weight:bold;}
a {text-decoration:none;}
a:hover {text-decoration:underline;}
ul {list-style-position:inside;}
cite {font-style: italic;}
blockquote {background-color: #f8f8f8;border-left: 2px solid #eaeaea;color: #111;font-style: italic;margin: 0 0 9px;padding: 7px;}

div.clearboth {clear:both;}
p.notice {font-weight:bold;font-size:120%;color:red;text-align:center;margin:1em 0;}
p.highlight {font-size:120%;color:#000269;margin:1em 0;border:1px solid #aaa;padding:0.5em;}
.round_corner{-moz-border-radius:5px;-webkit-border-radius:5px;-khtml-border-radius:5px;border-radius:5px;}

/* Layout */

#header,#main,#footer {width:985px;margin:0 auto;overflow:hidden;}
div#main {background-color:#fff;padding:1em 0;clear:both;}

#container {float:left;margin:0 -350px 0 0;width:100%;}
#content {border-right:3px solid #d5dadd;margin: 0 350px 0 0;overflow:hidden;padding:10px 0 0;}
#sidebar {background-color: #fff;border-left:3px solid #D5DADD;float:right;margin-left:-3px;padding:15px 10px;width:330px;}

/* Footer */
div#footer {padding:15px 0;text-align:center;}
div#footer a{color:#fff;}

/* Emphasize your name in the About-Box */
.smaller-caps { font-size: 110%; font-variant: small-caps; }
.hidden { display: none; }
.top-link { background: transparent url(img/top-sprite.png) 0 5px no-repeat; padding-left: 12px; }
.top-link:hover { background-position: 0 -29px; }

/* Wordpress specific CSS
------------------------------------------------------------------- */

.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.aligncenter img, .aligncenter p.wp-caption-text {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.alignleft { float: left; }
.alignright { float: right; }
img.alignleft { display: inline; margin: 0 7px 2px 0; padding: 4px; }
img.alignright { display: inline; margin: 0 0 2px 7px; padding: 4px; }
.entry div.alignleft { float: left; margin: 0 8px 7px 0; }

/* Resizes the image to the maximum width of the content area */
.entry img {
  max-width: 576px;
  /* smooth image resizement in IE7+ */
  -ms-interpolation-mode: bicubic;
}

.wp-caption {
  background-color: #F0F0F0;
  border: 1px solid #E5E5E5;
  overflow: hidden;
  padding: 3px;
}

.wp-caption img { border: 0 none; margin: 0; padding: 0; }

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

.more-link {
  background-color: #F4F8F9;
  border-bottom: 1px solid #E6F0F2;
  font-size: 11px;
  padding: 5px 6px 3px;
  text-shadow: 0 1px 0 #fff;
}

.more-link:hover { background-color: #E6F0F2; border-bottom-color: #B3CDD8; color: #000; }

/* Tables and #wp-calendar */
/*
table { color: #3E5867; width: 100%; }
caption { background-color: #E6F0F2; border-top: 1px solid #E6F0F2; text-align: center; }
thead { background-color: #F4F8F9; text-align: center; }
tbody { background-color: #f7f7f7; text-align: center; }
tfoot { background-color: #fff; text-align: left; }
td#next { text-align: right; }
*/


/* HEADER
------------------------------------------------------------------- */
#header {height:216px;margin-top:10px;position:relative;}
div#header a{color:#fff;}

#heading {display:block;position:absolute;top:5px;left:15px;width:750px;}
div#heading img {float:left;padding-right:1em;}
div#heading p {font-size:3em;margin-top:1.2em;}

ul#quick_links {display: block;position: absolute;right: 28px;top: 147px;}
#quick_links li,
#quick_links a { display: block; float: left; }
#quick_links a { background: transparent url(img/navigation.png) right -200px no-repeat; padding: 0 7px 0 4px; }
#quick_links .last-item a { background: none; padding-right: 0; }

#nav {position:absolute;top:175px;left:0;width:985px;}

/* Search */
#nav-search {
  display: block;
  height: 30px;
  line-height: 16px;
  position: absolute;
  right: 28px;
  top: 9px;
}

#nav-search label {display: none;}

#s, #searchsubmit {border-radius:3px 3px;-moz-border-radius:3px;-webkit-border-radius:3px;}

#s {border:1px solid #777;font-size:11px;height:15px;padding:4px 5px 2px;width:130px;}
#nav-search #s {border-color:#69ab01;border-bottom-color:#548301;border-right-color: #548301;}
#searchsubmit {
  background: #669900 url(img/button-style-input.png) center left repeat-x;
  border: 1px solid #666;
  color: #fff;
  font-size: 11px;
  height: 23px;
  letter-spacing: 1px;
  line-height: 20px;
  padding: 0 5px;
  -moz-box-shadow: 0px 0px 1px #fff;
  -webkit-box-shadow: 0px 0px 1px #fff;
}

/* Fixes Firefox 2 and 3 */
#searchsubmit, x:-moz-any-link { padding: 0 5px 3px; *padding: 0 5px; }

/* Menu */
ul#menu {background:#007000;display:block;height:41px;padding:0 28px 0 18px;width:939px;}
#menu a:active {position:relative;top:1px;}
#menu li, #menu a {display:block;float:left;}
#menu a {color:#fff;font-weight:bold;line-height:40px;padding:0 8px 0 10px;text-shadow: 0 1px 0 #555;}
#menu a:hover, #menu a:focus, #menu .current_page_item a {color:#fcbb00;text-shadow:1px 1px 1px #000;}

/* POSTs and PAGEs
------------------------------------------------------------------- */

div#intro a, #intro a:link, #intro a:visited {color:#c54e0b;}
div#intro a:focus, #intro a:hover, #intro a:active {color:#111;}
div#intro p {color:#222;}

.page, .post, .pagetitle, .nocomments {padding:0 28px;}
.post, .nocomments {padding-bottom: 10px;}
.post {margin-bottom:10px;}
.entry {margin:15px 0 5px;}

.post h1 a, a.comment-count {color:#000269;}

.meta {
  background-color: #F4F8F9;
  border-bottom: 1px solid #E6F0F2;
  border-top: 1px solid #E6F0F2;
  color: #3e5867;
  display: block;
  font-size: 11px;
  height: 19px;
  line-height: 19px;
  margin: 0 -28px;
  padding: 6px 28px;
  text-shadow: 0px 1px 0px #fff;
  width: 576px;
}

* html .meta { height: 1%; }
.meta:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

/*
a.button-style {
  border: 1px solid #F4F8F9;
  border-radius: 3px 3px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  display: inline-block;
  height: 11px;
  line-height: 11px;
  padding: 4px 6px;
  width: auto;
}

a.button-style:hover {
  background: #5388b6 url(img/button-style.png) center left repeat-x;
  border-color: #1b5a8d;
  color: #fff;
  text-shadow: 0 1px 0 #0f4570;
}
*/
p strong, li strong { color: #2E2E2E; }

.entry p, .entry ol, .entry ul, .entry dl {margin:0 0 9px;color:#4d4d4d;}
.entry pre {color:#555;}
.entry blockquote p { margin: 0; }
.entry p a {color:#c54e0b;}

.entry ol { margin-left: 0.75em; padding-left: 12px; }
.entry ul { margin-left: 0.5em; padding-left: 12px; }
.entry ol li { list-style-type: decimal; }
.entry ul li { list-style-type: disc; }

.entry dl { }
.entry dt { font-weight: bold; }
.entry dd { background: transparent url(img/dl-arrow.gif) 0 4px no-repeat; padding: 0 0 4px 1em; }



/* PAGINATION on single.php */

.previousnext, .pagination { font-size: 11px; margin-bottom: 10px; }

.page-link {
  background-color: #F4F8F9;
  border-bottom: 1px solid #E6F0F2;
  border-top: 1px solid #E6F0F2;
  display: block;
  font-size: 11px;
  font-weight: bold;
  height: 16px;
  line-height: 16px;
  margin: 9px 0 20px;
  padding: 5px 8px;
}

.page-link span, .page-link a {
  cursor: pointer;
  display: block;
  float: left;
  height: 16px;
  line-height: 16px;
  margin: 0 0 0 3px;
  text-align: center;
  width: 16px;
}

.page-link span { background-color: #fff; color: #111;}
.page-link a span { margin: 0; }
.page-link a:link span, .page-link a:visited span { background-color: #5B8EAD; color: #fff; }
.page-link a:hover span, .page-link a:active span, .page-link a:focus span { background-color: #285776; color: #fff; }
.page-link strong { display: block; float: left; margin-right: 5px; }

.postmetadata {
  border-bottom: 1px dotted #ddd;
  border-top: 1px dotted #D5D5D5;
  color: #999;
  font-size: 11px;
  margin-top: 20px;
  padding: 7px 2px;
}
.postmetadata a { color: #666; padding: 2px; }
.postmetadata a:hover { background-color: #efefef; }

/* Tables */
table {width:99%;margin:0 auto;font-family:'Lucida Grande',Verdana,Helvetica,Arial,sans-serif;color:#222;font-size:1em;line-height:1.4em;border-collapse:collapse;}
table caption {font-size:1.1em;margin:10px 0;font-weight:bold;}
th {text-align:center;font-weight:bold;padding:0 .5em;border:1px solid #333;border-bottom:3px double #333;}
tr {border:1px solid #666;}
tr.sub_header {background-color:#e2e2e2;}
tr.even {background-color:#f8f8f8;}
td {border:1px solid #666;padding:0 0 0 2px;}
tr.sub_header td {font-weight:bold;padding:3px;}

table.result_list {width:22%;float:left;margin-left:2%;}
table#state_contacts, table.ama_contacts{font-size:0.9em;}
table.ama_contacts td.ama_position{font-weight:bold;}

/* Comments */
h3#comments, h4#pings {float:left;}
h3#comments, #respond h3 { margin: 0 0 5px; font-size: 34px; }
#respond h3 { margin: 18px 0 5px 28px; }
h4#pings { line-height: 1.2; margin: 10px 0; width: 150px; }

.comments-header,
.navigation { border-bottom: 1px solid #E6F0F2; text-shadow: 0 1px 0 #fff; }

.navigation {
  background-color: #E6F0F2;
  border-top: 1px solid #fff;
  font-size: 11px;
  height: auto;
  line-height: 28px;
  overflow: hidden;
  padding: 0 28px;
}

.comments-header { background-color: #F4F8F9; border-top: 1px solid #E6F0F2; padding: 6px 28px; }
.comments-header-meta {
  float: right;
  font-size: 11px;
  font-weight: bold;
  line-height: 44px;
  padding: 4px 0 0 ;
}

.commentlist {
  background-color: #f9fbfc;
  border: 28px solid #f9fbfc;
  border-top: 0 none;
  font-size: 12px;
}
.pinglist { margin-top: 10px; width: 420px; float: right; }

li.pings {
  border-bottom: 1px solid #E6F0F2;
  border-top: 1px solid #fff;
  margin: 0;
  padding: 4px 10px;
  width: 400px;
}

.pings:first-child { border-top: none; }
.pings:last-child { border-bottom: none; }

.comment {
  /*background: transparent url(img/bg-comment.png) 10px 19px no-repeat;*/
  border-top: 28px solid #f9fbfc;
  border-left: 40px solid #f9fbfc;
}

.comment-body {
  background-color: #f4f8f9;
  color: #3e5867;
  margin-left:0;  
  padding: 15px 0;
  position: relative;
}

.comment-body img.avatar {
  border: 1px solid #eee;
  padding: 2px;
  position: absolute;
  left: -60px;
}

ul.children { }
.comment ul.children li { border-top: 15px solid #f9fbfc; }

.comment-meta {
  font:italic 0.9em Georgia,serif;
  position: absolute;
  right: 25px;
  top: 20px;
}
.comment-meta a { color: #999; }
.comment-author-admin { background-image: url(img/bg-comment-admin.png); }
.comment-author-admin > .comment-body { background-color: #E6F0F2; }
.comment p, .comment blockquote { padding: 0 0 7px; }
.comment blockquote p, .comment blockquote blockquote, .comment blockquote blockquote p { margin: 5px; padding: 7px; }
.commentlist cite, .commentlist cite a { }
.commentlist cite a { }

/* Not used */
li.thread-alt { }
.comment-author { }
.commentlist .thread-even { }
.commentlist .depth-1 { }
.commentlist .odd { }
.commentlist .even,
.commentlist .alt { }
.comment-author cite {
  background-color: #F9FBFC;
  border-bottom: 1px dotted #E6F0F2;
  color: #666;
  display: block;
  font-family: Georgia, serif;
  font-style: italic;
  line-height: 16px;
  margin: 0 -7px 20px;
  padding: 3px 7px;
}
.comment-author-admin .comment-author cite { background-color: #F4F8F9; border-bottom-color: #ccc; }

.says { display: none; }
.comment div em { } /* comments awaiting moderation. */

.reply { font-size: 10px; font-weight: bold; overflow: hidden; }

a.comment-reply-link { 
  color: #666;
  display: block;
  float: right;
  padding: 2px 6px;
}
.comment-reply-link:hover { background-color: #fff; color: #333; }

#respond {
  background-color: #F4F8F9;
  margin-top: 1px;
  overflow: hidden;
  padding: 0 0 18px;
  width: 100%;
}

#commentform { padding: 18px 28px 0; }

.cancel-comment-reply,
.you-must-be-logged-in { padding: 0 0 0 28px; }

.respond-left {float:left;width:42%;}
.respond-right {float:left;width:58%;}

#respond label {display:block;color:#222;margin:3px 0 9px;width:85%;}

input#author, input#email, input#url {
  border: 1px solid #ddd;
  color: #999;
  display: block;
  height: 15px;
  line-height: 15px;
  padding: 5px 3px;
  width: 85%;
}

textarea#comment {
  border: 1px solid #ddd;
  font-family: inherit;
  height: 150px;
  margin: 0 0 9px;
  padding: 5px 3px;
  width: 100%;
}

#respond input:focus,
textarea#comment:focus {
  color: #000;
  border-color: #aaa;
  -moz-box-shadow: 3px 3px 0px rgba(238,238,238,1);
  -webkit-box-shadow: 3px 3px #eee;
}

input#submit {
  background: #5388b6 url(img/button-style.png) center left repeat-x;
  border: 1px solid #3b73a3;
  border-radius: 3px 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  height: 24px;
  line-height: 24px;
  padding: 0 10px;
}



/* Sidebar */

#sidebar a, #sidebar a:link, #sidebar a:visited { border-bottom: 1px solid #fff; color: #C54E0B; }
#sidebar a:focus, #sidebar a:hover, #sidebar a:active { border-bottom-color: #C54E0B; color: #111; }
div#sidebar li{list-style: none outside}
div#sidebar li#about {color:#222;}

.currently-viewing,
#sidebar #about,
#sidebar .categories,
#sidebar .archives,
.pagenav,
#meta,
.linkcat,
.widget { border-bottom: 1px dotted #ddd; margin: 0 0 8px; padding: 0 8px 9px; }

.categories li li, .pagenav li li { margin-left: 6px; }

ul.sb-list { margin-left: 5px; }

#sidebar h3 {color:#434343;padding-bottom:1px;margin-top:0.5em;text-transform:uppercase;clear:both;font-size:1.2em;}

ul.group {float:left;margin:0 0 15px 5px;overflow:hidden;padding:0;width:310px;}
ul.group li {float:left;width:155px;}
ul.future_events {color:#333;}

/* Modified version of Iconize 0.5 to put icons next to links. Does not work in IE6. - http://pooliestudios.com/projects/iconize/ */
a[rel ~='external'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_external.gif) no-repeat center right;}
/* pictures and movies */
a[href *="youtube.com/watch?"] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_film.gif) no-repeat center right;}
a[href *="flickr.com/photos/"] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_pic.gif) no-repeat center right;}
/* extensions */
a[href$='.doc'], a[href$='.rtf'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_doc.gif) no-repeat center right;}
a[href$='.txt'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_txt.gif) no-repeat center right;}
a[href$='.xls'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_xls.gif) no-repeat center right;}
a[href$='.exe'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_exe.gif) no-repeat center right;}
a[href$='.pdf'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_pdf.gif) no-repeat center right;}
a[href$='.fla'], a[href$='.swf'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_flash.gif) no-repeat center right;}
a[href$='.zip'], a[href$='.rar'], a[href$='.gzip'], a[href$='.bzip'], a[href$='.ace'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_archive.gif) no-repeat center right;}
/*a[href$='.jpg'], a[href$='.gif'], a[href$='.png'], a[href$='.bmp'], a[href$='.jpeg'], a[href$='.svg'], a[href$='.eps'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_pic.gif) no-repeat center right;}*/
a[href$='.mov'], a[href$='.wmv'], a[href$='.mp4'], a[href$='.avi'], a[href$='.mpg'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_film.gif) no-repeat center right;}
a[href$='.mp3'], a[href$='.wav'], a[href$='.ogg'], a[href$='.wma'], a[href$='.m4a'] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_music.gif) no-repeat center right;}
/* email */
a[href ^="mailto:"] {padding: 5px 20px 5px 0;background: transparent url(/graphics/icons/icon_mailto.gif) no-repeat center right;}
/* use this class to make sure that images won't get iconized */
.imageLink {padding-right:0px !important;background:none !important;}

/* CLEARFIX

html .clearfix { display: block; }
* html .clearfix { height: 1%; }
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
*/
/* PRINT Styles
------------------------------------------------------------------ */

@media print
{
  body { color: #000; font: 100%/1.5 serif; }
  .entry { font-size: 12pt; line-height: 1.5; overflow: visible; }
  #header { border-bottom: 1px dotted #ccc; position: static; display: block; margin: 0 auto; }
  h1#logo,
  h1#logo a,
  h1#logo a span { color: #000; height: auto; margin: 0; padding: 0; position: static; width: auto; }
  
  #container { float: none; margin: 0; }
  #content { border: 0 none; margin: 0; overflow: visible; position: static; }
  /* Attaches the URI to each link so they are visible in the print version */
  #content .entry p a:after { content: "  [" attr(href) "] "; }
  #quick_links, hr, #nav, #sidebar, .something { display: none; }
}