/*
Theme Name: Alberta Junior Hockey League
Theme URI: http://ajhl.ca
Description:
Version: 2.0
Author: Graphics.net
Author URL: http://graphics.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   */

/* @group structure */

body {
	margin: 0;
	font: small Arial, Verdana, sans-serif;
	text-align: center;
	background: #dcdcdc url("../images/bg-ice.jpg") repeat-x 0 0;
}

#wrapper {
	position: relative;
	width: 940px;
	margin: 0 auto;
	padding: 0 10px;
	text-align: left;
	background: url("../images/bg-edges.png") repeat-y 0 0;
}

#mid {
	float: left;
	width: 940px;
	padding-bottom: 5px;
}

#content {
	width: 725px;
}

#page {
	background: url("../images/content-bg.jpg") repeat-y 3px 0;
}

#page-inner {
	min-height: 600px;
	padding: 70px 35px 35px;
	background: url("../images/content-inner.jpg") no-repeat 0 -2px;
}

#page-bottom {
	background: url("../images/content-bottom.jpg") no-repeat 3px 100%;
}

.left {
	float: left;
}

.right {
	float: right;
}

/* @end */

/* @group header */

/* header
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

#header {
	height: 332px;
	padding-top: 5px;
	background: url("../images/header-bg.jpg") no-repeat 0 117px;
}

#leaderboard {
	position: relative;
	height: 113px;
	text-align: center;
	background: url("../images/leaderboard-bg.jpg") no-repeat 0 0;
}

#leaderboard img {
	margin-top: 12px;
}

#logo {
	position: absolute;
	display: block;
	width: 177px;
	height: 153px;
	margin: 49px 0 0 27px;
	padding: 0;
	font-size: 1.5em;
	overflow: hidden;
}

#logo span {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url("../images/logo.jpg") no-repeat 0 0;
	cursor: pointer;
}

#logo a {
	text-decoration: none;
}

/* @group nav */

#nav {
	position: absolute;
	top: 277px;
	left: 215px;
	width: 735px;
	height: 60px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#nav li {
	position: relative;
	float: left;
	display: inline;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#nav li:hover ul li ul, #nav li.sfhover ul li ul {
	display: none;
}

#nav li:hover ul, #nav li ul li:hover ul {
	display: block;
}

#nav li.sfhover ul, #nav li ul li.sfhover ul {
	display: block;
}

#nav a {
	display: block;
	height: 0;
	padding: 60px 0 0 0;
	overflow: hidden;
	cursor: default;
}

#nav-1 a {
	width: 72px;
	background: url("../images/nav.jpg") no-repeat 0 0;
	cursor: pointer;
}

#nav-1 a:hover, #nav-1:hover, #nav #nav-1:hover > a {
	background: url("../images/nav.jpg") no-repeat 0 -60px;
}

#nav-2 a {
	width: 81px;
	background: url("../images/nav.jpg") no-repeat -72px 0;
}

#nav-2 a:hover, #nav-2:hover, #nav #nav-2:hover > a {
	background: url("../images/nav.jpg") no-repeat -72px -60px;
}

#nav-3 a {
	width: 108px;
	background: url("../images/nav.jpg") no-repeat -153px 0;
}

#nav-3 a:hover, #nav-3:hover, #nav #nav-3:hover > a {
	background: url("../images/nav.jpg") no-repeat -153px -60px;
}

#nav-4 a {
	width: 99px;
	background: url("../images/nav.jpg") no-repeat -261px 0;
}

#nav-4 a:hover, #nav-4:hover, #nav #nav-4:hover > a {
	background: url("../images/nav.jpg") no-repeat -261px -60px;
}

#nav-5 a {
	width: 110px;
	background: url("../images/nav.jpg") no-repeat -360px 0;
}

#nav-5 a:hover, #nav-5:hover, #nav #nav-5:hover > a {
	background: url("../images/nav.jpg") no-repeat -360px -60px;
}

#nav-6 a {
	width: 73px;
	background: url("../images/nav.jpg") no-repeat -470px 0;
	cursor: pointer;
}

#nav-6 a:hover, #nav-6:hover, #nav #nav-6:hover > a {
	background: url("../images/nav.jpg") no-repeat -470px -60px;
}

#nav-7 a {
	width: 90px;
	background: url("../images/nav.jpg") no-repeat -543px 0;
}

#nav-7 a:hover, #nav-7:hover, #nav #nav-7:hover > a {
	background: url("../images/nav.jpg") no-repeat -543px -60px;
}

#nav-8 a {
	width: 71px;
	background: url("../images/nav.jpg") no-repeat -633px 0;
}

#nav-8 a:hover, #nav-8:hover, #nav #nav-8:hover > a {
	background: url("../images/nav.jpg") no-repeat -633px -60px;
}

#nav li#nav-1 ul, #nav li#nav-2 ul, #nav li#nav-3 ul, #nav li#nav-4 ul, #nav li#nav-5 ul, #nav li#nav-6 ul, #nav li#nav-7 ul {
	left: 0;
}

#nav li#nav-8 ul {
	right: 0;
}

#nav li ul {
	display: none;
	position: absolute;
	top: 60px;
	width: 172px;
	margin: 0;
	padding: 1px 1px 8px 1px;
	background: url("../images/nav-dropdown-bg.png") no-repeat 0 100%;
	z-index: 999;
}

#nav li ul li, #nav li ul li ul li {
	position: relative;
	display: block;
	float: none;
	font-size: .85em;
}

#nav li ul li ul li {
	font-size: 1em;
}

#nav li ul li ul {
	display: none;
	position: absolute;
	top: 0;
	margin-left: 164px;
	width: 172px;
	padding: 1px 1px 8px 1px;
	background: url("../images/nav-dropdown-bg.png") no-repeat 0 100%;
	z-index: 999;
	border-left: 1px solid #fff;
}

#nav li ul li a, #nav li ul li ul li a {
	display: block;
	width: 150px;
	height: auto;
	margin: 0;
	padding: 7px 11px;
	color: #fff;
	text-decoration: none;
	background: transparent;
	cursor: pointer;
}

#nav li ul li a:hover, #nav li ul li:hover, #nav li ul li:hover > a, #nav li ul li ul li a:hover {
	color: #000;
	text-decoration: none;
	background: #fff url("../images/nav-dropdown-li.jpg") no-repeat 0 0;
}

#nav li .parent {
	display: block;
	padding-right: 17px;
	background: url("../images/icon-arrow.gif") no-repeat 100% 50%;
}

#nav li .pdf {
	display: block;
	padding-right: 17px;
	background: url("../images/icon-pdf.gif") no-repeat 100% 0;
}

/* @end */

/* @end */

/* @group headings */

/* headings
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.hdg {
	position: relative;
	margin: 0;
	padding: 0;
}

#hdg-inthenews {
	width: 215px;
	height: 32px;
}

#hdg-inthenews span {
	background: url("../images/inthenews-hdg.jpg") no-repeat 0 0;
}

#hdg-commitments {
	width: 306px;
	height: 34px;
}

#hdg-commitments span {
	background: url("../images/commitments-hdg.jpg") no-repeat 0 0;
}

#hdg-leaqueleaders {
	width: 195px;
	height: 31px;
}

#hdg-leaqueleaders span {
	background: url("../images/chart-leagueleaders-hdg.jpg") no-repeat 0 0;
}

#hdg-goalies {
	width: 195px;
	height: 31px;
}

#hdg-goalies span {
	background: url("../images/chart-goalies-hdg.jpg") no-repeat 0 0;
}

.hdg {
	position: relative;
	display: block;
	font-size: 1em;
	overflow: hidden;
}

.hdg span {
	position: absolute;
	width: 100%;
	height: 100%;
}

/* @end */

/* @group homepage */

#imageGallery {
	width: 735px;
	height: 160px;
	position:absolute;
	margin: -1px 0 0 204px;
/*	background:url(../images/header-flash-bg.jpg) no-repeat; */
}

#top-stories {
	width: 730px;
	height: 366px;
	margin: -2px 0 8px 0;
}

#featured-video {
	width: 405px;
	padding: 0 0 0 7px;
}

#featured-video p {
	margin: 0;
	padding: 0;
}

#commitments {
	width: 303px;
	overflow: hidden;
}

#commitments-inner {
	width: 303px;
	height: 152px;
	margin-top: 3px;
}

#commitments-button {
	margin: 0 15px 0 2px;
	background: url("../images/commitments-divider.gif") no-repeat 0 0;
}

#commitments .button {
	margin: 5px 25px 0px 0;
}

#commitments #esportsdesk {
	clear: right;
	position: relative;
	width: 144px;
	height: 18px;
	left: 20px;
}

#commitments #esportsdesk span {
	background: url("../images/commitments-esportsdesk.jpg") no-repeat 0 0;
}

#proud-member {
	margin: 2px 0 0 2px;
}

#proud-member img {
	margin-right: 8px;
}

#charts {
	clear: both;
	width: 412px;
	margin: 8px 0 0 8px;
}

#charts-leagueleaders {
	width: 195px;
	margin-right: 8px;
}

#charts-goalies {
	width: 195px;
	margin-right: 12px;
}

#charts table {
	width: 100%;
	border: 0;
	font-size: .9em;
}

#charts table a {
	color: #8a1727;
	text-decoration: none;
}

#charts table a:hover {
	color: #000;
	text-decoration: none;
}

#charts table th {
	padding: 5px 0;
	font-weight: bold;
	color: #9b9b9b;
}

#charts table tr {
	background: url("../images/inthenews-li-bg.jpg") no-repeat 50% 100%;
}

#charts table td {
	padding: 5px 0;
}

#charts .col2, #charts .col3, #charts .col4, #charts .col5 {
	text-align: center;
	padding: 0 2px;
}

#charts caption, #charts-goalies .col3 {
	display: none;
}

#scoreline {
	width: 300px;
	height: 200px;
}

/* @end */

/* @group sidebar */

/* sidebar
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

#sidebar {
	width: 215px;
	padding-top: 46px;
	background: url("../images/sidebar-bg.jpg") no-repeat 0 -2px;
}

/* @group subnav */

#subnav {
	width: 215px;
	height: 490px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#subnav li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#subnav a {
	display: block;
	width: 215px;
	height: 0;
	padding-top: 45px;
	overflow: hidden;
}

#subnav-live a {
	background: url("../images/subnav.jpg") no-repeat 0 0;
}

#subnav-live a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px 0;
}

#subnav-live-ppv a {
	background: url("../images/subnav.jpg") no-repeat 0 -45px;
}

#subnav-live-ppv a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -45px;
}

#subnav-enews a {
	background: url("../images/subnav.jpg") no-repeat 0 -90px;
}

#subnav-enews a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -90px;
}

#subnav-estore a {
	background: url("../images/subnav.jpg") no-repeat 0 -135px;
}

#subnav-estore a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -135px;
}

#subnav-cjahltop15 a {
	background: url("../images/subnav.jpg") no-repeat 0 -180px;
}

#subnav-cjahltop15 a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -180px;
}

#subnav-showcaseweekend a {
	background: url("../images/subnav.jpg") no-repeat 0 -225px;
}

#subnav-showcaseweekend a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -225px;
}

#subnav-allstarweekend a {
	background: url("../images/subnav.jpg") no-repeat 0 -269px;
}

#subnav-allstarweekend a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -269px;
}

#subnav-playoffs a {
	background: url("../images/subnav.jpg") no-repeat 0 -314px;
}

#subnav-playoffs a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -314px;
}

#subnav-enerflexcup a {
	padding-top:43px !important;
	background: url("../images/subnav.jpg") no-repeat 0 -358px;
}

#subnav-enerflexcup a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -358px;
}

#subnav-doylecup a {
	background: url("../images/subnav.jpg") no-repeat 0 -400px;
}

#subnav-doylecup a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -400px;
}

#subnav-rbccup a {
	background: url("../images/subnav.jpg") no-repeat 0 -447px;
}

#subnav-rbccup a:hover {
	background: url("../images/subnav.jpg") no-repeat -215px -447px;
}

#subnav-page {
	width: 215px;
	height: 133px;
	margin: 10px 0;
	padding: 15px 0;
	list-style-type: none;
	background: url("../images/subnav-page.jpg") no-repeat 0 0;
	overflow: hidden;
}

#subnav-page li {
	margin: 0 20px;
	padding: 0;
	list-style-type: none;
}

#subnav-page a {
	display: block;
	padding: 6px 0 6px 15px;
	color: #fff;
	text-decoration: none;
	background: url("../images/subnav-page-li.gif") no-repeat 0 50%;
}

#subnav-page a:hover {
	color: #ffc341;
	text-decoration: none;
	background: url("../images/subnav-page-li-hover.gif") no-repeat 0 50%;
}

/* @end */

#sidebar-news {
	margin: 0 0 10px;
	background: url("../images/inthenews-bg.jpg") no-repeat 0 100%;
}

#sidebar-news ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	background: url("../images/inthenews-bg.jpg") no-repeat 0 100%;
}

#sidebar-news li {
	float: left;
	width: 100%;
	font-size: .85em;
	margin: 0;
	padding: 5px 0;
	list-style-type: none;
	background: url("../images/inthenews-li-bg.jpg") no-repeat 50% 100%;
}

#sidebar-news li span {
	float: left;
	width: 75%;
	margin-right: 8px;
}

#sidebar-news li a {
	display: block;
	width: 94%;
	padding: 0 3%;
	color: #9b9b9b;
	text-decoration: none;
}

#sidebar-news li a span {
	color: #8a1727;
}

#sidebar-news li a:hover {
	color: #666;
	text-decoration: none;
}

#sidebar-news li a:hover span {
	color: #000;
}

#sidebar-news .button {
	margin: 10px 5px;
}

/* @end */

/* @group content styles */

/* content styles
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.primary .post {
	padding-bottom: 30px;
}

.primary p, .primary li {
	font-size: .95em;
	line-height: 1.4em;
}

.primary p, .primary blockquote, .primary ul, .primary ol, .primary h1, .primary h2, .primary h3 {
	margin: 0 0 15px;
	padding: 0;
}

.primary blockquote {
	margin: 0 30px 15px;
	font-style: italic;
}

.primary ul, .primary ol {
	margin-left: 15px;
}

.primary li {
	margin: 0 0 5px 15px;
}

.primary ul li {
	list-style-type: square;
}

.primary ol li {
	list-style-type: decimal;
}

.primary h2 {
	padding-bottom: 5px;
	color: #083b88;
	font-size: 1.5em;
	font-weight: bold;
	background: url("../images/hr.jpg") repeat-x 0 100%;
}

.primary h3 {
	padding: 10px 5px;
	color: #a70c1f;
	font-size: 1.1em;
	font-weight: bold;
	background: url("../images/content-h3.gif") repeat-x 0 50%;
}

.primary hr {
	height: 1px;
	margin-bottom: 15px;
	background: url("../images/hr.jpg") repeat-x 0 100%;
	border: none;
}

.primary p a, .primary blockquote a, .primary li a {
	color: #a70c1f;
	text-decoration: none;
	border-bottom: 1px solid #bbb;
}

.primary p a:hover, .primary blockquote a:hover, .primary li a:hover {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #999;
}

.primary h2 a, .primary h3 a {
	color: #a70c1f;
	text-decoration: none;
}

.primary h2 a:hover, .primary h3 a:hover {
	color: #000;
	text-decoration: none;
}

.primary h4.date {
	margin: -10px 0 15px 0;
	color: #666;
}

#postnav {
	padding-bottom: 15px;
}

#postnav a {
	padding: 8px 12px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	background: #000 url("../images/nav-dropdown-bg.png") no-repeat 0 0;
	border: 1px solid #000;
}

#postnav a:hover {
	color: #000;
	text-decoration: none;
	background: #fff url("../images/nav-dropdown-li.jpg") no-repeat 0 0;
	border: 1px solid #999;
}

#postnav-previous {
	float: left;
	display: inline;
}

#postnav-next {
	float: right;
	display: inline;
}

#searchform {
	margin: 0 0 20px 15px;
}

#searchform #s {
	padding: 3px;
	font-size: .95em;
	background: #fff;
	border-top: 1px solid #565656;
	border-left: 1px solid #818181;
	border-bottom: 1px solid #e2e2e2;
	border-right: 1px solid #d7d7d7;
}

#searchform #searchsubmit {
	margin-left: 10px;
	padding: 4px 10px;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	background: #000 url("../images/nav-dropdown-bg.png") no-repeat 0 0;
	border: 1px solid #000;
	cursor: pointer;
}

/* @end */

/* @group footer */

/* footer
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

#footer {
	position: relative;
	clear: left;
	width: 100%;
	height: 226px;
	color: #000;
	background: url("../images/footer-bg-new.jpg") no-repeat 0 0;
	overflow: hidden;
}

#footer-inner {
	position: absolute;
	top: 15px;
	right: 230px;
	font-size: .8em;
	text-align: right;
}

#footer #teams {
	position: absolute;
	top: 35px;
	left: 35px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#footer #teams li {
	margin: 0 13px 0 0;
	padding: 0;
	list-style-type: none;
}

#footer #sponsors {
	position: absolute;
	top: 97px;
	left: 20px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#footer #sponsors li {
	margin: 0 5px 0 0;
	padding: 0;
	list-style-type: none;
}

#footer #sponsors-row2 {
	position: absolute;
	top: 137px;
	left: 245px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#footer #sponsors-row2 li {
	margin: 0 3px 0 0;
	padding: 0;
	list-style-type: none;
}

#footer #meta {
	position: absolute;
	top: 190px;
	left: 75px;
}

#footer #meta li {
	margin: 0 10px 0 0;
}

#footer #meta a {
	font-weight: bold;
}

#footer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#footer li {
	display: inline;
	font-size: .85em;
	padding: 0;
	list-style-type: none;
}

#footer p {
	color: #5a4a15;
	font-size: .85em;
	margin: 0;
	padding: 0;
}

#footer a {
	color: #6d000f;
	text-decoration: none;
}

#footer a:hover {
	color: #000;
	text-decoration: none;
}

/* @end */

/* @group miscellaneous */

/* MISCELLANEOUS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  */

.clearer {
	clear: both;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.button {
	float: right;
	font-size: .8em;
	font-weight: bold;
	text-transform: uppercase;
}

.button a {
	display: block;
	padding: 6px 12px;
	color: #d4e2ef;
	text-decoration: none;
	background: url("../images/button-bg.jpg") repeat-x 0 50%;
	border-top: 1px solid #87a1b9;
	border-right: 1px solid #42607d;
	border-bottom: 1px solid #2b353f;
	border-left: 1px solid #6f8294;
}

.button a:hover {
	color: #fff;
	text-decoration: none;
}

img {
	border: 0;
}


/* @end */