/*
Theme Name: Football Club
Theme URI: http://www.themeboy.com/footballclub
Description: Soccer Team Wordpress Theme
Author: ThemeBoy
Author URI: http://www.themeboy.com
Version: 2.6.1
Tags: light, white, gray, two-columns, right-sidebar, fixed-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, theme-options, translation-ready, rtl-language-support, responsive
*/
a { text-decoration: none; color: inherit; }
a img { border: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
table { border-collapse: collapse; border-spacing: 0; }
/* html5 elements */
header, nav, article, footer, address { display: block; }

body {
	background-color: #dadada;
	margin: 0;
	font: 13px "Helvetica Neue", HelveticaNeue, Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 300;
}
p {
	line-height: 1.6;
	margin: 0 0 1.5em;
}
table {
	width: 100%;
}
textarea {
	display: block;
}
.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	width: 100%;
}
.clear {
	clear: both;
}
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.hidden {
	display: none;
}

/* ZEBRA STYLES */

.odd {
	background: #f5f5f5;
	background-color: rgba(0,0,0,0.04);
}
.even {
	background: #fafafa;
	background-color: rgba(0,0,0,0.02);
}

/* LINK BUTTON */

.link-button {	
	display: block;
	border: 1px solid #CCC;
	padding: 1px;
	float: right;
}
.link-button a {
	background: #aeaeae;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #aeaeae),
		color-stop(1, #7a7a7a)
	);
	background-image: -moz-linear-gradient(
		center top,
		#aeaeae 0%,
		#7a7a7a 100%
	);
	cursor: pointer;
	color: #fff;
	padding: 6px 8px;
	font-size: 12px;
	font-weight: bold;
	display: block;
}
.link-button a:hover {
	color: #fff;
}

#wrapper {
	width: 994px;
	margin: 24px auto 0;
	background: #fff;
	box-shadow: 0 0 12px rgba(0,0,0,0.2);
}
#header {
	position: relative;
	background: #f0f0f0 repeat-y top center;
	min-height: 140px;
	padding-left: 16px;
}
#header #logo {
	padding: 6px 12px;
	background: transparent;
	border: none;
	float: left;
}
#header #logo img {
	margin-top: -24px;
}
#header #maintitle {
	float: left;
	padding-top: 32px;
	padding-bottom: 16px;
}
#header #maintitle h1 {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-family: HelveticaNeue-CondensedBlack, HelveticaNeue-CondensedBold, Impact, Futura-CondensedExtraBold, AvenirNextCondensed-Bold, "Helvetica Narrow","Arial Narrow", Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;
	font-size: 60px;
	font-weight: bold;
	line-height: 60px;
	color: #333;
	text-transform: uppercase;
}
#header #maintitle h1 a {
	color: #333;
	padding-left: 16px;
}
#header #maintitle h2 {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-size: 20px;
	text-transform: uppercase;
	color: #dd0000;
	font-weight: bold;
}
#header #maintitle h2 a {
	color: #dd0000;
	padding-left: 16px;
}
#header #sponsor {
	float: right;
	margin: 16px 16px 16px 0;
}

/* HEADERS */

h1, h2, h3, h4, h5 {
	font-family: HelveticaNeue, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: normal;
	margin: 0 0 0.5em;
}
div.entry-title,
div.page-title,
h1.entry-title,
h1.page-title {
	margin: 0;
	padding: 12px 28px;
	line-height: 32px;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, rgba(0,0,0,0)),
		color-stop(1, rgba(0,0,0,0.1))
	);
	background-image: -moz-linear-gradient(
		center top,
		rgba(0,0,0,0) 0%,
		rgba(0,0,0,0.1) 100%
	);
	border-bottom: 1px solid #ccc;
	border-color: rgba(0,0,0,0.2);
}
.entry-title h1,
.page-title h1 {
	font-size: 24px;
	float: left;
	margin: 0;
}
h2 {
	font-size: 24px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 20px;
}
h5 {
	font-size: 18px;
}
.post-date {
	font-weight: bold;
	font-size: smaller;
}
.entry-title .post-date, .page-title .post-date {
	float: right;
}
.entry-title .post-date.with_author, .page-title .post-date.with_author {
	line-height: 1.5;
}


/* Alignment */

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* SOCIAL */

#header #social {
	position: absolute;
	left: -48px;
	top: 182px;
}
#social {
	text-align: center;
	clear: both;
	padding-top: 8px;
}
#social li {
	display: inline-block;
	margin: 0 2px;
	overflow: hidden;
	text-indent: -999px;
}
#social li a {
	background: url(images/social.png) no-repeat 0 0;
	display: block;
	height: 36px;
	width: 36px;
}

#social .facebook a { background-position: 0 0; }
#social .twitter a { background-position: -40px 0; }
#social .pinterest a { background-position: -80px 0; }
#social .linkedin a { background-position: -120px 0; }
#social .gplus a { background-position: -160px 0; }
#social .youtube a { background-position: -200px  0; }
#social .vimeo a { background-position: -240px 0; }
#social .instagram a { background-position: -280px 0; }
#social .vine a { background-position: -320px 0; }
#social .audioboo a { background-position: -360px 0; }
#social .skype a { background-position: -400px 0; }
#social .paypal a { background-position: -440px 0; }
#social .myspace a { background-position: -480px 0; }
#social .digg a { background-position: -520px 0; }
#social .tumblr a { background-position: -560px 0; }
#social .picasa a { background-position: -600px 0; }
#social .flickr a { background-position: -640px 0; }
#social .dribbble a { background-position: -680px 0; }
#social .lastfm a { background-position: -720px 0; }
#social .blogger a { background-position: -760px 0; }
#social .stumbleupon a { background-position: -800px 0; }
#social .behance a { background-position: -840px 0; }
#social .deviantart a { background-position: -880px 0; }
#social .viddlr a { background-position: -920px 0; }
#social .forrst a { background-position: -960px 0; }
#social .gowala a { background-position: -1000px 0; }
#social .rss a { background-position: -1040px 0; }

#social .facebook a:hover { background-position: 0 -40px; }
#social .twitter a:hover { background-position: -40px -40px; }
#social .pinterest a:hover { background-position: -80px -40px; }
#social .linkedin a:hover { background-position: -120px -40px; }
#social .gplus a:hover { background-position: -160px -40px; }
#social .youtube a:hover { background-position: -200px -40px; }
#social .vimeo a:hover { background-position: -240px -40px; }
#social .instagram a:hover { background-position: -280px -40px; }
#social .vine a:hover { background-position: -320px -40px; }
#social .audioboo a:hover { background-position: -360px -40px; }
#social .skype a:hover { background-position: -400px -40px; }
#social .paypal a:hover { background-position: -440px -40px; }
#social .myspace a:hover { background-position: -480px -40px; }
#social .digg a:hover { background-position: -520px -40px; }
#social .tumblr a:hover { background-position: -560px -40px; }
#social .picasa a:hover { background-position: -600px -40px; }
#social .flickr a:hover { background-position: -640px -40px; }
#social .dribbble a:hover { background-position: -680px -40px; }
#social .lastfm a:hover { background-position: -720px -40px; }
#social .blogger a:hover { background-position: -760px -40px; }
#social .stumbleupon a:hover { background-position: -800px -40px; }
#social .behance a:hover { background-position: -840px -40px; }
#social .deviantart a:hover { background-position: -880px -40px; }
#social .viddlr a:hover { background-position: -920px -40px; }
#social .forrst a:hover { background-position: -960px -40px; }
#social .gowala a:hover { background-position: -1000px -40px; }
#social .rss a:hover { background-position: -1040px -40px; }

/* MAIN MENU */

#menu {
	width: 100%;
	background-color: #333;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #666),
		color-stop(0.3, #333)
	);
	background-image: -moz-linear-gradient(
		center top,
		#666 0%,
		#333 30%
	);
	min-height: 34px;
	font-weight: bold;
	z-index: 20;
}
#menu ul {
	margin: 0;
	padding: 0;
}
#menu li {
	float: left;
	display: block;
	position: relative;
	border-right: 1px solid #1a1a1a;
	border-left: 1px solid #666;
	z-index: 98;
}
#menu li a {
	display: block;
	padding: 10px 12px;
	line-height: 14px;
	height: 14px;
	color: #ccc;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}
#menu li.current-menu-item a {
	color: #fff;
}
#menu li:hover a,
#menu li:hover input {
	color: #fff;
}
#menu li:hover a {
	text-shadow: none;
}

/* MENU LEVEL 2 */

#menu li ul.children,
#menu li ul.sub-menu {
	position: absolute;
	top: 34px;
	left: -1px;
	background: #cf060c;
	background: rgba(207,6,12,0.8);
	display: none;
	z-index: 10000;
	border: 1px solid rgba(255,255,255,0.25);
	border-top: none;
}
#menu li:hover ul.children,
#menu li:hover ul.sub-menu {
	display: block;
	padding: 6px 0 12px;
}
#menu li ul.children li,
#menu li ul.sub-menu li {
	clear: both;
	border: none;
	width: 100%;
}
#menu li ul.children li a,
#menu li ul.sub-menu li a {
	height: auto;
	white-space: nowrap;
	padding: 6px 12px;
}
#menu li ul.children li:hover,
#menu li ul.sub-menu li:hover {
	background: none;
}
#menu li ul.children a:hover,
#menu li ul.sub-menu a:hover {
	text-decoration: underline;
}

/* MENU LEVEL 3 */

#menu li ul.children li ul.children,
#menu li ul.sub-menu li ul.children,
#menu li ul.children li ul.sub-menu,
#menu li ul.sub-menu li ul.sub-menu {
	top: -6px;
	left: 100%;
	display: none;
	z-index: 9800;
	border: 1px solid rgba(255,255,255,0.25);
	border-left: none;
	border-top: none;
}
#menu li ul.children li:hover ul.children,
#menu li ul.sub-menu li:hover ul.children,
#menu li ul.children li:hover ul.sub-menu,
#menu li ul.sub-menu li:hover ul.sub-menu {
	display: block;
	padding: 6px 0 12px;
}
#menu #searchform {
	height: 34px;
	float: right;
}
#menu #searchform li {
	height: 34px;
}
#menu #searchform li.query {
	border-left: none;
	padding: 0 12px;
}
#menu #searchform label,
#menu #searchform input {
	float: left;
}
#menu #searchform label {
	color: #ccc;
}
#menu #searchform input#s {
	border: none;
	box-shadow: inset 1px 1px 3px rgba(0,0,0,0.5);
	padding: 0 3px;
	height: 20px;
	line-height: 14px;
	color: #333;
	margin-top: 7px;
}
#menu #searchform input#searchsubmit {
	background: transparent;
	border: none;
	color: #ccc;
	cursor: pointer;
	height: 34px;
	padding: 0 12px;
	font-weight: bold;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}
#menu #searchform input#searchsubmit:hover {
	color: #fff;
}

/* FEATURED IMAGE */

.featured-image {
	text-align: center;
}

/* IMAGE ROTATOR */

.image-rotator {
	width: 994px;
	height: 360px;
	background: #f5f5f5;
}
.image-rotator .main_image {
	width: 640px;
	height: 360px;
	float: left;
	background: #000;
	position: relative;
	overflow: hidden;
	color: #fff;
	z-index: 10;
}
.image-rotator .main_image ul {
	padding: 0;
	margin: 0l
	list-style: none;
}
.image-rotator .main_image ul li {
	width: 640px;
	height: 360px;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.image-rotator .main_image h3 {
	margin-bottom: 0;
	font-size: 24px;
	font-weight: normal;
	padding: 10px 0 10px 16px;
	width: 480px;
	color: #fff;
}
.image-rotator .main_image h3 a {
	color: #fff;
}
.image-rotator .block small { /*--We'll be using this same style on our thumbnail list--*/
	font-size: 1em;
	padding: 0 0 0 20px;
	background: url(icon_calendar.gif) no-repeat 0 center;
}
.image-rotator .main_image .block time {
	position: absolute;
	top: 19px;
	right: 16px;
	color: #999;
	font-weight: bold;
	color: #ccc;
}
.image-rotator .main_image .block time a {
	color: #ccc;
}
.image-rotator .main_image .desc{
	position: absolute;
	bottom: 0;
	left: 0; /*--Stick the desc class to the bottom of our main image container--*/
	width: 100%;
	display: none; /*--Hide description by default, if js is enabled, we will show this--*/
}
.image-rotator .main_image .block{
	background: rgb(0,0,0);
	background: rgba(0,0,0,0.5);
	position: relative;
}
.image-rotator .image_thumb {
	float: left;
	width: 354px;
}
.image-rotator .image_thumb img {
	float: left;
}
.image-rotator .image_thumb ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.image-rotator .image_thumb ul li{
	margin: 0;
	padding: 10px 0 11px 10px;
	width: 344px;
	height: 50px;
	float: left;
	border-bottom: 1px solid #ccc;
	border-color: rgba(128,128,128,0.4);
	position: relative;
}
.image-rotator .image_thumb ul li.hover {
	background: #fff;
	background-color: rgba(255,255,255,0.5);
	cursor: pointer;
}
.image-rotator .image_thumb ul li.active {
	color: #fff;
	cursor: default;
}
.image-rotator .image_thumb ul li a {
	color: #333;
}
.image-rotator .image_thumb ul li.active a {
	cursor: default;
}
.image-rotator  .image_thumb ul li h3 {
	margin: 0;
	font-size: 20px;
	padding: 0;
	line-height: 28px;
}
.image-rotator .image_thumb ul li time a {
	color: #666;
}
.image-rotator .image_thumb ul li .more {
	position: absolute;
	right: 10px;
	top: 38px;
}
.image-rotator .image_thumb ul li .more a {
	color: #666;
}
.image-rotator .image_thumb ul li .more a:hover {
	text-decoration: underline;
	cursor: pointer;
	color: #333;
}
.image-rotator .image_thumb ul li.active .more a:hover {
	color: #fff;
}
.image-rotator .image_thumb ul li.active a {
	color: #fff;
}
.image-rotator .image_thumb ul li .block {
	float: left;
	margin-left: 10px;
	padding: 0;
	width: 274px;
}

/* MINI IMAGE ROTATOR */

.mini-rotator {
	width: 582px;
	height: 288px;
	border: 1px solid #ccc;
	border-color: rgba(0, 0, 0, 0.2);
	border-bottom: none;
	margin-bottom: 8px;
}
.mini-rotator .main_image {
	width: 288px;
	height: 288px;
}
.mini-rotator .main_image h3 {
	margin: 0;
	width: 268px;
}
.mini-rotator .main_image .block time {
	display: none;
}
.mini-rotator .image_thumb {
	width: 293px;
}
.mini-rotator .image_thumb ul li{
	width: 283px;
	border-left-width: 1px;
	border-left-style: solid;
}
.mini-rotator .image_thumb ul li .block{
	width: 213px;
}

/* MAIN AREA */

#main {
	clear: both;
	background: url(images/dot.png) repeat-y 640px 0;
}
.home #main,
.page-template-page-onecolumn-php #main,
.page-template-page-home-php #main {
	background: transparent;
}
#container {
	width: 640px;
	float: left;
}
.page-template-page-onecolumn-php #container {
	width: auto;
	float: none;
}
#content,
#comments {
	padding: 28px;
}
#respond {
	clear: both;
}
#respond h3 {
	margin-top: 16px;
	margin-bottom: 4px;
	font-size: 24px;
	line-height: 24px;
}
.commentlist {
	padding: 8px;
	background: #f0f0f0;
}
.commentlist .comment {
	padding: 10px;
	border: 1px solid #ccc;
	margin: 8px;
	background: #fff;
}
.commentlist .comment .comment-body {
	position: relative;
	padding: 8px;
}
.commentlist .comment .comment-body:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.commentlist .comment .comment-author {
	float: left;
}
.commentlist .comment .comment-author .avatar {
	float: left;
	display: block;
	padding: 8px;
	background-color: #f5f5f5;
	background-image: -webkit-gradient(
	    linear,
		left top,
	    right bottom,
	    color-stop(0, #fff),
	    color-stop(1, #f0f0f0)
	);
	background-image: -moz-linear-gradient(
		left top,
		#fff 0%,
		#f0f0f0 100%
	);
	border: 1px solid #aeaeae;
	margin-right: 8px;
	border-left-color: #e3e3e3;
	border-top-color: #e3e3e3;
}
.commentlist .comment .comment-author .fn {
	line-height: 48px;
	font-size: 24px;
	font-style: normal;
}
.commentlist .comment .comment-author .says {
	display: none;
}
.commentlist .comment .comment-awaiting-moderation {
	position: absolute;
	right: 0;
	top: 0;
	color: #666;
}
.commentlist .comment .comment-meta {
	float: left;
	clear: left;
	margin-top: 10px;
}
.commentlist .comment p {
	clear: both;
	padding-top: 8px;
}
.commentlist .comment .reply {
	display: block;
	border: 1px solid #ccc;
	padding: 1px;
	float: right;
}
.commentlist .comment .reply a {
	background: #aeaeae;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #aeaeae),
		color-stop(1, #7a7a7a)
	);
	background-image: -moz-linear-gradient(
		center top,
		#aeaeae 0%,
		#7a7a7a 100%
	);
	cursor: pointer;
	color: #fff;
	padding: 6px 8px;
	font-size: 12px;
	font-weight: bold;
	display: block;
}
.commentlist .comment .reply a:hover {
	color: #fff;
}
.commentlist .comment .children {
	margin-top: 10px;
}

.home #main #content,
.page-template-page-home-php #main #content {
	width: 632px;
	padding: 8px 0 28px 8px;
}
#content section {
	margin:0 0 8px;
	border: 1px solid #ccc;
	border-color: rgba(0,0,0,0.2);
	padding: 1px;
	position: relative;
}
#sidebar section {
	position: relative;
}

#main #content:after,
#content section:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
#content section .inner {
	padding: 16px;
	background: #f9f9f9;
	background-color: rgba(128,128,128,0.04);
	border: none;
}
#content section.left-section {
	width: 282px;
	float: left;
	clear: left;
}
#content section.right-section {
	width: 282px;
	float: right;
	clear: right;
}

#content article {
	display: block;
	clear: both;
}
#content article:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
#content .half-width {
	width: 284px;
	clear: none;
}
body.home #content .half-width {
	width: 308px;
}
.content-left {
	float: left;
	clear: left;
}
.content-right {
	float: right;
	clear: right;
}
.content-left, .content-right {
	width: 288px;
}
body.home .home-widgets {
	margin: 0;
	padding: 0;
}
body.home .content-left, body.home .content-right,
body.page-template-page-home-php .content-left, body.page-template-page-home-php .content-right {
	width: 312px;
}
.home-bottom {
	clear: both;
}
#content section h3 {
	color: #fff;
	font-size: 12px;
	padding: 6px 8px;
	margin-top: 0;
	margin-bottom: 1px;
	line-height: 1;
	font-weight: bold;
}
section .tb_section_views {
	position: absolute;
	top: 1px;
	right: 1px;
	margin: 0;
}
section .tb_section_views li {
	display: block;
	float: left;
	margin-right: 4px;
}
section .tb_section_views li a {
	display: block;
	width: 24px;
	height: 24px;
	color: #fff;
	background-position: 4px 4px;
	background-repeat: no-repeat;
	opacity: 0.6;
	filter: alpha(opacity=60);
	cursor: pointer;
}
section .tb_section_views li a.list {
	background-image: url(images/list-view-icon.png);
}
section .tb_section_views li a.gallery {
	background-image: url(images/gallery-view-icon.png);
}
section .tb_section_views li a.selected,
section .tb_section_views li a:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
section .tb_section_views li span {
	display: none;
}
ul.tb_matches-sidebar,
ul.tb_results-sidebar {
	display: block;
	clear: both;
	padding: 0;
}
ul.tb_matches-sidebar li {
	display: block;
	clear: both;
	padding: 8px;
	border-bottom: 1px solid #fff;
}
ul.tb_matches-sidebar li.last {
	border-bottom: none;
}
ul.tb_matches-sidebar .kickoff {
	text-align: center;
	color: #333;
	font-size: 13px;
	line-height: 22px;
	min-height: 50px;
}
ul.tb_matches-sidebar .kickoff a {
	color: #333;	
}
ul.tb_matches-sidebar .kickoff time,
ul.tb_matches-sidebar .kickoff .score {
	font-size: 18px;
	color: #333;
	font-weight: bold;
}
ul.tb_matches-sidebar .home-logo {
	float: left;
	height: 50px;
	width: 50px;
}
ul.tb_matches-sidebar .away-logo {
	float: right;
	height: 50px;
	width: 50px;
}
ul.tb_matches-sidebar h4.teams {
	margin: 5px 0;
	text-align: center;
	clear: both;
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
	height: 16px;
	text-transform: uppercase;
}
ul.tb_matches-sidebar .competition,
ul.tb_results-sidebar .competition,
ul.tb_matches-sidebar .season,
ul.tb_results-sidebar .season,
ul.tb_matches-sidebar .team,
ul.tb_results-sidebar .team {
	text-align: center;
	line-height: 1.6;
}
a.tb_view_all {
	display: block;
	padding: 6px 8px;
	text-align: right;
	color: #666;
	font-weight: bold;
	font-size: 12px;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, rgba(128,128,128,0)),
		color-stop(1, rgba(128,128,128,0.2))
	);
	background-image: -moz-linear-gradient(
		center top,
		rgba(128,128,128,0) 0%,
		rgba(128,128,128,0.2) 100%
	);
	text-shadow: 1px 1px 0 #fff;
	clear: both;
}
a.tb_view_all:hover {
	color: #333;
}

/* WIDGETS */

.widget-container ul {
	clear: both;
}

ul.xoxo {
	margin: 0;
}

/* SIDEBAR */

#sidebar {
	float: right;
	margin: 8px 8px 8px 0;
	width: 322px;
	padding: 8px 8px 0;
	background: #F0F0F0;
}
#sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.widget-container {
	margin-bottom: 8px;
	border: 1px solid #ccc;
	border-color: rgba(128,128,128,0.4);
	padding: 1px;
	display: block;
	background: #fff;
}
.widget-container h3 {
	color: #fff;
	font-size: 12px;
	padding: 6px 8px;
	margin-top: 0;
	margin-bottom: 1px;
	line-height: 1;
	font-weight: bold;
}
.widget-container li {
	display: block;
	padding: 8px;
}
.widget-container #searchform ul {
	padding: 4px;
}
.widget-container #searchform li {
	display: inline;
	padding: 0;
}
.widget-container #searchform input#s {
	line-height: 20px;
}
/* widgetized sections */
#content .widget-container section {
	border: none;
	margin: 0;
	padding: 0;
}

/* TWITTER WIDGET */

.twitter-widget .loading {
	text-align: left;
	height: 64px;
	background: url(images/loading-32.gif) no-repeat 16px 16px;
}
.twitter-widget .profile {
	padding: 8px;
	height: 48px;
}
.twitter-widget .profile_image {
	float: left;
	height: 48px;
	width: 48px;
}
.twitter-widget .username {
	float: left;
	margin-left: 8px;
	width: 228px;
	font-size: 24px;
}
.twitter-widget .follow {
	float: right;
	margin: 3px 0 0;
	font-weight: bold;
}
.twitter-widget .tweets {
	clear: both;
}
.twitter-widget .tweets .tweet {
	display: block;
	padding: 8px;
	border-bottom: 1px solid #fff;
}
.twitter-widget .tweets .last {
	border-bottom: none;
}
.twitter-widget .tweets .tweet:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.twitter-widget .tweets .tweet .intents {
	display: block;
	text-transform: lowercase;
	font-size: 10px;
	margin-top: 4px;
}
.twitter-widget .tweets .tweet .intents li {
	border: none;
	padding: 0;
	display: block;
	float: left;
	margin-right: 16px;
}
.twitter-widget .tweets .tweet .intents li.last {
	margin-right: 0;
}
#sidebar .twitter-widget .tweets .tweet .intents li {
	padding: 0;
}

/* DEFAULT SEARCH WIDGET */
.widget_search #searchform ul {
	text-align: center;
}
.widget_search #searchform ul #s {
	width: 220px;
}
/* FOOTER */

#footer-widgets {
	background: #333 url(images/footer-bg.png) repeat-y 0 0;
	color: #999;
	line-height: 20px;
	height: 100%;
}
#footer-widgets p {
	line-height: 20px;
	margin: 0 0 1em;
}
#footer-widgets a {
	color: #999;
}
#footer-widgets a:hover {
	color: #fff;
}
#footer-widgets li {
	background: transparent;
}
#footer-widgets .widget-area {
	width: 362px;
	float: left;
	padding: 12px 18px;
}
#footer-widgets .widget-area#footer-logo {
	width: 162px;
}
#footer-widgets .widget-area p,
#footer-widgets .widget-area ul li {
	margin-top: 6px;
}
#footer-widgets .widget-area th,
#footer-widgets .widget-area td {
	padding: 4px;
}
#footer-widgets #footer-logo {
	border-left: none;
	background-repeat: no-repeat;
	background-position: center center;
	min-height: 140px;
}
#footer-widgets #fourth {
	border-right: none;
}
#footer-widgets .widget-area .widget-title {
	text-shadow: #1a1a1a -1px -1px 0;
	color: #ccc;
	margin-bottom: 8px;
	font-size: 16px;
	background: transparent;
	filter: none;
	padding: 0;
}
#footer-widgets .widget-area ul li {
	padding: 2px 0;
}
#footer-widgets .widget-container {
	margin: 0;
	border: none;
	padding: 0;
	background: transparent;
}
#footer-widgets ul li {
	border-color: #666;
	border-color: rgba(255,255,255,0.2);
}
footer {
	width: 994px;
	margin: 6px auto 28px;
	color: #333;
	font-weight: bold;
}
footer .left {
	float: left;
}
footer .right {
	float: right;
}
footer a {
	color: #333;
}
footer a:hover {
	color: #000;
}

/* LIST POSTS */
.post-row {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e3e3e3;
	border-color: rgba(0,0,0,0.1);
}
.post-row .post-thumbnail {
	float: left;
	display: block;
	padding: 8px;
	margin-right: 20px;
	margin-bottom: 16px;
	background-image: -webkit-gradient(
		linear,
		left top,
		right bottom,
		color-stop(0, rgba(0,0,0,0.02)),
		color-stop(1, rgba(0,0,0,0.06))
	);
	background-image: -moz-linear-gradient(
		left top,
		rgba(0,0,0,0.02) 0%,
		rgba(0,0,0,0.06) 100%
	);
	border: 1px solid #ccc;
	border-color: rgba(0,0,0,0.2);
	border-left-color: rgba(0,0,0,0.1);
	border-top-color: rgba(0,0,0,0.1);
}
.post-row .post-thumbnail img {
	border: 1px solid rgba(0,0,0,0.2);
	border-bottom-color: rgba(0,0,0,0.1);
	border-right-color: rgba(0,0,0,0.1);
	display: block;
}
.post-row .post {
	float: left;
	width: 390px;
}
.post-row .post .entry-title {
	font-size: 24px;
	line-height: 24px;
}
.post-row .post .entry-summary {
	margin-top: 6px;
}
.post-row .post .entry-summary .readmore {
	float: right;
}

/* PAGE NAVIGATION */

#content #nav-above {
	margin-bottom: 20px;
}
#content #nav-below {
	padding-top: 8px;
	padding-bottom: 8px;
	clear: both;
}
#content .navigation .nav-previous,
#content .navigation .nav-next {
	display: block;
	border: 1px solid #ccc;
	padding: 1px;
}
#content .navigation .nav-previous {
	float: left;
}
#content .navigation .nav-next {
	float: right;
}
#content .navigation .nav-previous a,
#content .navigation .nav-next a {
	background: #999;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #aeaeae),
		color-stop(1, #7a7a7a)
	);
	background-image: -moz-linear-gradient(
		center top,
		#aeaeae 0%,
		#7a7a7a 100%
	);
	cursor: pointer;
	color: #fff;
	padding: 6px 8px;
	font-size: 12px;
	font-weight: bold;
	display: block;
}
#content .navigation .nav-previous a:hover,
#content .navigation .nav-next a:hover {
	color: #fff;
}

/* TABLES */

#main table {
	font-size: 12px;
	width: 100%;
}
#main table thead tr th,
table #main thead tr td,
table tbody tr.labels th {
	padding: 6px 8px;
	text-align: left;
	font-weight: bold;
	line-height: normal;
}
#main table tbody tr {
	height: 25px;
	line-height: 25px;
	border-bottom: 1px solid #fff;
}
#main table tbody tr.last {
	border-bottom: none;
}
#main .staff-post table {
	margin-bottom: 16px;
}
#main .staff-post table tbody tr {
	background: none;
	border-bottom: 1px solid #eee;
}
#main .staff-post table tbody tr.last {
	border-bottom: none;
}
#main .staff-post table tbody tr th {
	padding-left: 0;
}
#main .staff-post table tbody tr td {
	padding-right: 0;
}

table tbody tr th,
table tbody tr td {	
	padding: 8px;
	text-align: left;
}
table tbody tr th,
table tbody tr td {
	line-height: 25px;
	font-weight: normal;
}
table tbody tr.highlighted th,
table tbody tr.highlighted td,
table tbody tr a {
	font-weight: bold;
}
table tbody tr.inactive th,
table tbody tr.inactive td {
	color: #999;
}
table.tb_standings tr td.club {
	text-align: left;
}
table tbody tr td.club .pos {
	margin-right: 10px;
	float: left;
}
table tbody tr td.club img.crest {
	margin-right: 6px;
	float: left;
	text-align: center;
}
table tbody tr .logo img {
	height: 25px;
}
table tbody tr img.flag {
}
table tbody tr td.flag {
	text-align: center;
	width: 16px;
	padding: 0 4px 0 8px;
}
table tbody tr td.flag img.flag {
	margin-right: 0;
}
#sidebar table.tb_standings tbody tr td.club .name {
	display: none;
}
#sidebar table.tb_standings tbody tr td.club img.crest {
	margin-right: 0;
}
table.tb_matches-normal .crest {
	float: left;
	margin-right: 4px;
}
table.tb_fixtures .home,
table.tb_fixtures .away,
table.tb_results .home,
table.tb_results .away,
table .date {
	text-align: left;
}
table caption {
	line-height: 40px;
}
table tbody .number {
	width: 10%;
}

/* MATCH STATISTIC NOTES */
.notes .goal,
.notes .assist,
.notes .yellowcard,
.notes .redcard,
.notes .sub {
	display: block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	float: left;
	background: url(images/notes.png) no-repeat;
	overflow: hidden;
	text-indent: -100px;
}
.notes .goal { background-position: -5px -5px; }
.notes .assist { background-position: -165px -5px; }
.notes .yellowcard { background-position: -45px -5px; }
.notes .redcard { background-position: -85px -5px; }
.notes .sub { background-position: -125px -5px; }

/* PLAYERS */

.tb_players td,
.tb_players th {
	text-align: left;
}
.tb_players .gallery-view {
	margin: 16px;
	padding: 0;
}
.tb_players .gallery-view li {
	display: block;
	float: left;
	margin-right: 12px;
	margin-bottom: 16px;
	width: 100px;
	position: relative;
}
.tb_players .gallery-view li.first {
	clear: left;
}
.tb_players .gallery-view li.last {
	margin-right: 0;
}
.tb_players .gallery-view li img {
	display: block;
	clear: both;
}
.tb_players .gallery-view li .number {
	font-weight: bold;
	position: absolute;
	top: 76px;
	left: 0;
}
.tb_players .gallery-view li .number a {
	color: #fff;
	height: 16px;
	line-height: 16px;
	min-width: 12px;
	text-align: center;
	padding: 4px 6px;
	display: block;
}
.tb_players .gallery-view li .name {
	clear: both;
	background: #f5f5f5;
	background-image: -webkit-gradient(
		linear,
		left top,
		right bottom,
		color-stop(0, rgba(0,0,0,0.02)),
		color-stop(1, rgba(0,0,0,0.06))
	);
	background-image: -moz-linear-gradient(
		left top,
		rgba(0,0,0,0.02) 0%,
		rgba(0,0,0,0.06) 100%
	);
	border: 1px solid #ccc;
	border-color: rgba(0,0,0,0.2);
	border-left-color: rgba(0,0,0,0.1);
	border-top-color: rgba(0,0,0,0.1);
}
.tb_players .gallery-view li .name a {
	color: #333;
	opacity: 0.7;
	font-weight: bold;
	line-height: 16px;
	width: 90px;
	padding: 4px;
	display: block;
}
.tb_players .gallery-view li .name a:hover {
	opacity: 1;
}
.tb_players .list-view  .number {
	width: auto;
}

/* STAFF */

.staff .post-row {
	margin: 16px;
}
.staff .post-row .staff-post {
	width: 358px;
	float: left;
}
.staff .last {
	margin-bottom: 0;
	border-bottom: none;
}

/* PROFILE PAGES */

#content .profile-box {
	padding: 0;
	border: none;
}
#content .profile-box .entry-title {
	float: left;
}
#content .profile-box #switch-player-profile {
	float: right;
}
#content .profile-image {
	float: left;
	clear: left;
	background: #f5f5f5;
	background-image: -webkit-gradient(
		linear,
		left top,
		right bottom,
		color-stop(0, rgba(0,0,0,0.02)),
		color-stop(1, rgba(0,0,0,0.06))
	);
	background-image: -moz-linear-gradient(
		left top,
		rgba(0,0,0,0.02) 0%,
		rgba(0,0,0,0.06) 100%
	);
	border: 1px solid #ccc;
	border-color: rgba(0,0,0,0.2);
	border-left-color: rgba(0,0,0,0.1);
	border-top-color: rgba(0,0,0,0.1);
	padding: 10px;
	margin-bottom: 8px;
}
#content .profile-image img {
	max-height: 240px;
	max-width: 240px;
	float: left;
	border: 1px solid #ccc;
	border-bottom-color: #e3e3e3;
	border-right-color: #e3e3e3;
}
#content .profile-details {
	width: 300px;
	float: right;
	clear: none;
}
#content .profile-box .profile-details tr th {
	font-weight: bold;
}
#content .profile-box .profile-details tr td {
	text-align: left;
}

/* VENUE INFORMATION */

.venue-info {
	clear: both;
	padding-bottom: 12px;
	font-size: 12px;
}
.venue-info .details {
	padding-top: 10px;
}
.venue-info .with-map {
	width: 259px;
}
.venue-info h4 {
	padding: 6px 8px;
	text-align: center;
}
.venue-info p {
	padding: 6px 8px;
	margin: 0.25em 0;
}
.venue-info .address {
	background: #f0f0f0;
	background-color: rgba(0,0,0,0.05);
}

/* MATCH DETAILS */

.match-info .date,
.match-info time,
.match-info .score {
	display: block;
	float: right;
	clear: right;
}
.match-info .date {
	margin-top: 4px;
}
.fixtures-info time,
.match-info .score {
	font-size: 18px;
	color: #333;
	font-weight: bold;
	line-height: 36px;
	margin-bottom: 8px;
}
.match-info .teams {
	float: left;
	margin-bottom: 16px;
	margin-top: 16px;
	clear: left;
}
.match-info .teams .home-logo,
.match-info .teams .away-logo,
.match-info .teams span {
	float: left;
}
.match-info .teams span {
	margin: 0 8px;
	line-height: 50px;
	font-size: 18px;
	font-weight: bold;
}
.match-info .competition,
.match-info .season,
.match-info .team {
	display: block;
	float: left;
	clear: left;
	font-weight: bold;
}

/* GOOGLE MAP */

.google-map {
	display: block;
	float: right;
	margin-left: 16px;
}

/* CONTACT FORM */

.contactform form {
	margin: 16px;
}
.contactform form .eroror {
	margin-left: 6px;
}
.contactform li {
	margin-top: 16px;	
}
.contactform label {
	line-height: 24px;
	font-weight: bold;
	display: block;
	clear: both;
}
.contactform input {
	width: 240px;
	padding: 6px;
	border: 1px solid #ccc;
	margin: 0 0 10px;
}
.contactform textarea {
	width: 532px;
	padding: 6px;
	border: 1px solid #ccc;
}
.contactform .actions:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.contactform .actions span {
	padding: 1px;
	border: 1px solid #ccc;
	display: block;
	float: left;
}
.contactform .button {
	background: #aeaeae;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #aeaeae),
		color-stop(1, #7a7a7a)
	);
	background-image: -moz-linear-gradient(
		center top,
		#aeaeae 0%,
		#7a7a7a 100%
	);
	cursor: pointer;
	color: #fff;
	padding: 12px;
	margin-top: 20px;
	font-size: 12px;
	font-weight: bold;
	display: block;
	border: none;
}
.contactform .button:hover {
	color: #fff;
}
.error {
	font-weight: bold;
	color: #d00;
	line-height: 24px;
}
.contactform .thanks {
	font-size: 24px;
	line-height: 24px;
	margin: 40px 20px;
	text-align: center;
}


/* GALLERY */

.gallery .gallery-icon a {
	float: left;
	background-color: #f5f5f5;
	background-image: -webkit-gradient(
		linear,
		left top,
		right bottom,
		color-stop(0, #fff),
		color-stop(1, #f0f0f0)
	);
	background-image: -moz-linear-gradient(
		left top,
		#fff 0%,
		#f0f0f0 100%
	);
	border: 1px solid #ccc;
	border-left-color: #e3e3e3;
	border-top-color: #e3e3e3;
	padding: 10px;
	margin-bottom: 8px;
	
}
.gallery .gallery-icon a img {
	border: 1px solid #ccc;
	border-bottom-color: #e3e3e3;
	border-right-color: #e3e3e3;
}

/* 404 PAGE */

.not-found form {
	display: block;
	background: #f0f0f0;
	padding: 8px;
	height: 32px;
	margin-top: 16px;
	border-radius: 5px;
}
.not-found form input {
	display: block;
}
.not-found form input#s {
	float: left;
	padding: 4px;
	line-height: 12px;
	font-size: 12px;
	color: #333;
	width: 450px;
}
.not-found form input#searchsubmit {
	float: left;
	padding: 4px;
	line-height: 19px;
	font-size: 12px;
	font-weight: bold;
	float: right;
	width: 100px;
}

/* SPONSORS */

#sponsors {
	clear: both;
	background: #f0f0f0;
	border-top: 1px solid #ccc;
	border-color: rgba(128,128,128,0.4);
}
.sponsors {
	padding: 30px 10px 20px;
	text-align: center;
	margin: 0;
}
.sponsors li {
	margin: 14px;
	display: inline;
	font-size: 24px;
}
.sponsors li a {
	color: #333;
}
#content .sponsor-details {
	padding: 20px;
}
#content .sponsor-details .sponsor-logo {
	text-align: center;
}
.sponsor-details .entry-content {	
	margin-top: 10px;
}

#image-ad img {
	margin: 9px;
}

.tb_ground_status_display {
	background: url(images/ground-status.jpg) repeat-y 0 0;
	width: 318px;
	height: 120;
	line-height: 120px;
	text-align: center;
	font-size: 20px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,0.5);
}

input[type="submit"] {
	background: #aeaeae;
	background-image: -webkit-gradient(
		linear,
		left top,
		left bottom,
		color-stop(0, #aeaeae),
		color-stop(1, #7a7a7a)
	);
	background-image: -moz-linear-gradient(
		center top,
		#aeaeae 0%,
		#7a7a7a 100%
	);
	cursor: pointer;
	color: #fff;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: bold;
	border: none;
}
input[type="submit"]:hover {
	color: #fff;
}

#menu select#drop-nav {
	display: none;
	margin: 10px;
	width: 580px;
	padding: 5px;
	font-size: 12px;
	line-height: 30px;
	height: 30px;
	border: 1px solid transparent;
}

a.tb-club-link {
	color: inherit;
	font-weight: inherit;
}
a.readmore {
	display: block;
	float: right;
	clear: both;
	margin-top: 16px;
}

/* ADMIN UTILITIES */

.entry-utility {
	clear: both;
	display: block;
	padding-top: 16px;
}