/*
Theme Name: Casey Dellacqua
Theme URI: http://www.caseydellacqua.com.au
Description: The theme of Casey Dellacqua's official website
Version: 1.0
Author: Nick Davies - Tennis Australia
Author URI: http://www.tennis.com.au
*/

/* Reset */

html, body, div, span, object, iframe,
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; }

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* End Reset */

/* Type */
body { font-size:80%;font-family: Arial, Helvetica, sans-serif; }

p { padding:0em 0em 1.1em 0em;color:#003366; text-align:left; }
p img       { float: left; margin: 0 30px 0 0; padding: 4px; border: #d3d3d3 1px solid; }
p img.right { float: right; margin: 0 0 0 30px}

h1,h2,h3,h4,h5,h6, h1 a, h2 a, h3 a { font-weight: bold; color: #206c98; line-height: 1.0; text-align: left; font-family: Georgia, Times, Times New Roman, serif; }

h1 { font-size: 2.0em;  margin-bottom: 25px; text-transform:uppercase;}
h2 { font-size: 1.8em;  margin: 0 0 0.5em 0; }
h3 { font-size: 1.6em;  margin-bottom: 1em; }
h4 { font-size: 1.4em;  margin-bottom: 0.4em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1.1em;  margin-bottom: 1em; }

div#main h2, div#sub h2 {padding: 13px 0 0.5em 53px;}

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }


dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dl dd { margin-left: 1.5em; }

a { color: #206c98; text-decoration: none; }
a:hover { text-decoration: underline; }

div#main p a {text-decoration: none;}
div#main p a:hover {text-decoration: underline;}

ul#navigation li{
display:inline;
text-transform:uppercase;
font-size: 0.85em;
text-align:left;
padding: 17px 0;
}

ul#navigation li a {
color:#a9d3c4;
font-size: 1.2em; 
font-weight: bold; 
padding: 17px 9px;
}

/* Layout */

html {margin:0pt; padding:0pt; width:100%; height:100%; text-align:center;}

body {
  padding: 0;
  margin: 0;
  background: #fffbf8 url(img/back.jpg) no-repeat center 29px;
  width: 100%;
  display: table;
}

div#masthead { 
width : 899px;
height: 209px;
padding: 0;
margin:0pt auto;
}

h1 { 
position : relative;
top : 18px; 
margin:0pt auto;
left : 0;
width : 800px;
height : 107px; 
text-indent : -9999px; 
float: left;
display:block;
}

h1 a {
position : absolute;
margin:0pt auto;
top : 0; 
left : 0;
display:block;
width : 899px;
height:107px;
text-indent:-9999px;
border: 0;
outline: 0;
}

div#search { 
text-align: right;
padding-top: 162px;
}

#s{
border: #e6a2cb 1px solid; 
color:#CCCCCC;
padding:3px;
margin: 0;
vertical-align: top;
width:208px;
height: 17px;
}

.sendbutton {
background: url(img/heading-sprites.png) 0px 0px no-repeat; 
cursor:pointer;
border: 0 none;
height:25px;
text-indent:-9999px;
margin:0 0 0 23px;
width:87px;
}

.sendbutton:hover {background: url(img/heading-sprites.png) 0px -24px no-repeat; }

div#search fieldset legend{
position:absolute;
top:-9999px;
}

.form-element{
border: #e6a2cb 1px solid; 
color:#CCCCCC; 
padding:3px;
margin: 0;
vertical-align: top;
}

ul#nav {
    width: 899px; height: 55px;
    background: #ecc5dd url(img/nav-sprite.png) no-repeat 0 0;
    margin:0pt auto;
	border: 1px solid #e5a2ca;
	position: relative;
}

ul#nav li {
    margin: 0; padding: 0; list-style: none;
	text-indent:-9999px;
    position: absolute; top: 0;}

ul#nav li, ul#nav a {height: 55px; display: block;}

#nav-home {left: 0; width: 85px; }
#nav-results {left: 86px; width: 201px;}
#nav-news {left: 287px; width: 163px;}
#nav-video {left: 450px; width: 157px;}
#nav-blog {left: 607px; width: 67px;}
#nav-my-stuff {left: 674px; width: 107px;}
#nav-sponsors {left: 781px; width: 118px;}

#nav-home a:hover, #nav-home.active {background: transparent url(img/nav-sprite.png) 0 -55px no-repeat;}
#nav-results a:hover, #nav-results.active {background: transparent url(img/nav-sprite.png) -86px -55px no-repeat;}
#nav-news a:hover, #nav-news.active {background: transparent url(img/nav-sprite.png) -287px -55px no-repeat;}
#nav-video a:hover, #nav-video.active {background: transparent url(img/nav-sprite.png) -450px -55px no-repeat;}
#nav-blog a:hover, #nav-blog.active {background: transparent url(img/nav-sprite.png) -607px -55px no-repeat;}
#nav-my-stuff a:hover, #nav-my-stuff.active {background: transparent url(img/nav-sprite.png) -674px -55px no-repeat;}
#nav-sponsors a:hover, #nav-sponsors.active {background: transparent url(img/nav-sprite.png) -781px -55px no-repeat;}

div#content { 
width : 899px;
height: 100%;
padding: 0;
margin:0pt auto;
}

div#main, div#archive, div#result{
float: left;
clear: none;
width: 518px;
position: relative;
padding: 0 14px 38px 14px;
margin: 48px 9px 0 0;
background: #FFFBF8;
}

div#archive{padding: 31px 14px 38px 14px;}

div#result{padding: 45px 14px 38px 14px;}

div#sidebar {
float: right;
width: 330px;
padding: 48px 0px 38px 14px;
}

div#twitter, div#results-schedule, div#ranking, div#latest-photos, div#ask-casey, div#recent-comments, div#casey-elsewhere, div#latest-tennis-news {
width: 272px;
background: #ecc5dd;
padding: 45px 28px 14px 28px;
position: relative;
border: 1px solid #e5a2ca;
margin-bottom: 39px; 
}

div#results-schedule, div#recent-comments{
background: #c5c7ec;
border: 1px solid #acb0e2;
}

div#recent-comments{
margin-bottom: -10px; 
}

div#results-schedule, div#latest-tennis-news  {margin-bottom: 18px; text-align: left;}

div#ask-casey{
background: #d5ecc5;
border: 1px solid #c3eda5;
}

div#video {
position: relative;
}

div#ranking {
background:transparent url(img/heading-sprites.png) 0px -739px no-repeat;
width: 104px;
height: 51px;
border: none;
padding: 17px 0px 10px 226px;
}

div#casey-elsewhere {
background:transparent url(img/casey-elsewhere.png) 0px 0px no-repeat;
width: 330px;
height: 90px;
border: 0;
padding: 0;
margin-top: -36px;
}

div#casey-elsewhere ul  li {
    margin: 0; padding: 0; list-style: none;
	text-indent:-9999px;
	position: absolute; top: 49px;
    }

div#casey-elsewhere ul li, div#casey-elsewhere ul a {height: 40px; display: block;}

#facebook {left: 40px; width: 140px; }
#youtube {left: 180px; width: 150px;}

#facebook a:hover {background: transparent url(img/casey-elsewhere.png) -40px -99px no-repeat;}
#youtube a:hover {background: transparent url(img/casey-elsewhere.png) -180px -99px no-repeat;}
	
div#ranking p {
font-family:Georgia,"Times New Roman",Times,serif;
color: #c08c5a;
font-weight: bold;
font-size: 130%;
line-height: 1.4em;
}

div#content h3 {
height:42px;
left:0px;
position:absolute;
text-indent:-9999px;
top:-23px;
}

div#content div.news h3 {
background:transparent url(img/heading-sprites.png) 0px -48px no-repeat;
width:200px;
height: 54px;
}

div#content h3#results-schedule {
background:#ECC5DD url(img/nav-sprite.png) no-repeat -86px -55px;
border:1px solid #E5A2CA;
width:201px;
height: 54px;
}

div#content h3#news-photos {
background:#ECC5DD url(img/nav-sprite.png) no-repeat -287px -55px;
border:1px solid #E5A2CA;
width:163px;
height: 54px;
}

div#content h3#video-audio {
background:#ECC5DD url(img/nav-sprite.png) no-repeat -450px -55px;
border:1px solid #E5A2CA;
width:157px;
height: 54px;
}

div#content h3#blog {
background:#ECC5DD url(img/nav-sprite.png) no-repeat -607px -55px;
border:1px solid #E5A2CA;
width:67px;
height: 54px;
}

div#content h3#page-2 {
background:#ECC5DD url(img/nav-sprite.png) no-repeat -674px -55px;
border:1px solid #E5A2CA;
width:107px;
height: 54px;
}

div#content h3#page-4 {
background:#ECC5DD url(img/nav-sprite.png) no-repeat -781px -55px;
border:1px solid #E5A2CA;
width:103px;
height: 54px;
}

div#twitter h3 {
background:transparent url(img/twitter.png) no-repeat scroll left top;
width:155px;
height: 68px;
left:-14px;
position:absolute;
top: -38px;
}

div#results-schedule h3, div#latest-photos h3, div#recent-comments h3, div#video h3, div#ask-casey h3, div#latest-tennis-news h3 {
background:transparent url(img/heading-sprites.png) 0px -101px no-repeat;
width:215px;
display: block; 
height: 54px;
left:-14px;
position:absolute;
top: -23px;
}

div#latest-photos h3 {background:transparent url(img/heading-sprites.png) 0px -314px no-repeat; width:161px;}
div#recent-comments h3 {background:transparent url(img/heading-sprites.png) 0px -207px no-repeat; width:209px;}
div#video h3 {background:transparent url(img/heading-sprites.png) 0px -633px no-repeat; width:91px; top: 27px;}
div#ask-casey h3 {background:transparent url(img/heading-sprites.png) 0px -526px no-repeat; width:134px;}
div#latest-tennis-news h3 {background:transparent url(img/heading-sprites.png) 0px -420px no-repeat; width:218px;}

div#results-schedule h3 a, div#latest-photos h3 a, div#video h3 a, div#ask-casey h3 a, div#latest-tennis-news h3 a, div#twitter h3 a {
width:215px;
display: block; 
height: 50px;
outline: none;
}

div#latest-photos h3 a{width:161px;}
div#video h3 a{width:91px;}
div#ask-casey h3 a {width: 134px;}
div#latest-tennis-news h3 a {width: 208px;}
div#twitter h3 a {width: 155px;position:absolute;
top:17px;height:50px;}

div#results-schedule h3 a:hover {background: transparent url(img/heading-sprites.png) 0px -154px no-repeat;}
div#latest-photos h3 a:hover {background: transparent url(img/heading-sprites.png) 0px -367px no-repeat;}
div#video h3 a:hover {background: transparent url(img/heading-sprites.png) 0px -686px no-repeat;}
div#ask-casey h3 a:hover {background: transparent url(img/heading-sprites.png) 0px -579px no-repeat;}
div#latest-tennis-news h3 a:hover {background: transparent url(img/heading-sprites.png) 0px -473px no-repeat;}

div#video h2 {
text-indent:-9999px;
}

div#latest-photos img {
border: 3px #e0a3c8 solid;
margin: 3px;
}


div#site_info {
color: #ccc;
width: 899px;
clear: both;
text-align: left;
border-top: #ccc 2px solid;
}

div#site_info ul {
padding: 20px 102px 20px 0;
list-style:none;
float:left;
clear:none;
margin: 0;
}

div#site_info ul.last {padding: 20px 0px 20px 0;}

div#site_info ul li a {
color: #999; 
margin: 0;
}

div#site_info ul#sponsors {
    width: 899px; height: 72px;
    background: #ecc5dd url(img/sponsors.png) no-repeat 0 0;
	padding: 0;
	position: relative;
}

ul#sponsors li {
    margin: 0; padding: 0; list-style: none;
	text-indent:-9999px;
	position: absolute; top: 0;
    }

div#site_info ul#sponsors li, div#site_info ul#sponsors a {height: 72px; display: block;}

#sponsors-head {left: 0; width: 155px; }
#sponsors-target {left: 155px; width: 91px;}
#sponsors-city {left: 246px; width: 263px;}
#sponsors-cystic {left: 508px; width: 271px;}
#sponsors-tennis {left: 779px; width: 119px;}

#sponsors-head a:hover {background: transparent url(img/sponsors.png) 0 -68px no-repeat;}
#sponsors-target a:hover {background: transparent url(img/sponsors.png) -155px -68px no-repeat;}
#sponsors-city a:hover {background: transparent url(img/sponsors.png) -246px -68px no-repeat;}
#sponsors-cystic a:hover {background: transparent url(img/sponsors.png) -508px -68px no-repeat;}
#sponsors-tennis a:hover {background: transparent url(img/sponsors.png) -779px -68px no-repeat;}

ul#sponsors-page {
    width: 400px; height: 400px;
	padding: 0;
text-align: left;
	position: relative;
top: 40px;
}

ul#sponsors-page li {
    margin: 0; padding: 0; list-style: none;
	text-indent:-9999px;
	position: absolute; top: 0;
    }
ul#sponsors-page li, ul#sponsors-page a {height: 72px; display: block;}

ul#sponsors-page li#sponsors-page-head {top: 0; width: 155px; background: transparent url(img/sponsors.png) 0 -68px no-repeat;}
ul#sponsors-page li#sponsors-page-target {top: 72px; width: 91px; background: transparent url(img/sponsors.png) -155px -68px no-repeat;}
ul#sponsors-page li#sponsors-page-city {top: 144px; width: 263px; background: transparent url(img/sponsors.png) -246px -68px no-repeat;}
ul#sponsors-page li#sponsors-page-cystic {top: 216px; width: 271px; background: transparent url(img/sponsors.png) -508px -68px no-repeat;}


.clearfloat {
display:block;
width: 100%;
}

#calendar {
background:transparent url(img/calendar.png) no-repeat 0 0;
float:left;
clear:none;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:0.9em;
height:44px;
color:#de59a7;
margin-top:3px;
padding-top:1px;
text-align:center;
text-transform:uppercase;
overflow: hidden;
width:45px;
}

#calendar p {
font-family:Georgia,"Times New Roman",Times,serif;
font-size:2.2em;
color:#de59a7;
text-align:center;
margin:0;
position:relative;
top:-10px;
text-transform:none;
}

a.comments {
background:transparent url(img/comments-bg.png) no-repeat scroll 0 0 !important;
display:block;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:70%;
height:34px;
letter-spacing:-1px;
line-height:100%;
float: right;
margin-top:-36px;
padding:3px 0 0 0 !important;
text-align:center;
width:48px;
}

div.news, div.sub-news {border-bottom: 2px solid #bbe5ff;}

div.sub-news {padding: 20px 0 10px 0;}

div.news img, div.sub-news img, div#sub img {border: 1px solid #b65090;}

div.sub-news img {

float: left;
margin: 0 15px 20px 0;
}

div.sub-news h4 {width: 374px;}

/* div.news h2 {width:485px;} */

span.date {
color: #6d757d;
float: left;
padding-right: 5px;
}

div.sub-news a.comments {
margin:-7px 0 10px 0;
font-size: 130%;
padding:4px 0 0 0 !important;
}

.right {float: right;}
.left {float: left;}

table {
margin-bottom:1.5em;
width:100%;
}

th, td {
padding:0 0.5em 0;
vertical-align:top;
}
th {
border-bottom:1px solid #DDDDDD;
border-top:1px solid #DDDDDD;
color:#6D757D;
}

.resulttable_wl {text-indent:-1000em;}

ul#sidebar {margin: 0 0 35px 0; padding: 0;}

ul#sidebar li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}

div#latest-tennis-news img {
clear:none;
float:left;
margin:5px 10px 0 0;
}

ol.commentlist li {text-align: left;}

#proTennisNavBar {width:100%;}