/*
Plugin Name: AO Clubs Games
Author URI: http://www.alleyoop.be
Description: A pre-configured  widget for AO Clubs, to display a list of games
Author: Bruno Patris
Version: 1.0
*/

/** Tab settings **/
.aoclubs-games-tab-wrap{
	margin: 5px 0px 10px!important;
	background: none !important;
	border: none !important;
	padding: 0px !important;
}
.aoclubs-games-tab-wrap li{
	list-style: none !important;
	float: left;
	background-image: none !important;
	background-color: #fff;
	margin: 5px 5px 0px 0px !important;
	padding: 3px 10px!important;
	border-radius: 3px;
	border: 1px solid #ccc;
	cursor: pointer;
}
.aoclubs-games-active-tab{
	background: #333 !important;
	color: white !important;
}

/** General styling **/
.aoclubs-games-wrap{
	padding: 0px !important;
	max-width: 100%;
	min-width: 100% !important;
}
.aoclubs-games-wrap div{
	left: 0px;
	right: 0px;
}
.aoclubs-games-wrap .aoclubs-games-item{
	border-top: 0px;
	padding: 10px;
}
.aoclubs-games-wrap .aoclubs-games-item:last-child{
	margin: 0px;
}
.aoclubs-games-wrap .aoclubs-games-item > *{
	margin-bottom: 10px !important;
}
.aoclubs-games-wrap .aoclubs-games-title, .aoclubs-games-wrap .aoclubs-games-meta{
	line-height: 150%;
}
.aoclubs-games-wrap .aoclubs-games-thumb{
	width: 64px !important;
	margin: 5px 10px 0 0 !important;
	float: left !important;
}

/** Styles **/

/** None **/
.aoclubs-games-style-none .aoclubs-games-item{
	padding: 0 0 20px 0 !important;
}

/** Grey **/
.aoclubs-games-style-grey{
	border: 1px solid #dfdfdf;
}
.aoclubs-games-style-grey .aoclubs-games-item{
	border-bottom: 1px solid #dfdfdf;
}
.aoclubs-games-style-grey .even{
	background-color: #F8F8F8;
}

/** Dark **/
.aoclubs-games-style-dark{
	background: #000;
	border: 1px solid #ccc;
	color: #DDDDDD!important;
}
.aoclubs-games-style-dark a{
	color: #FFFFFF !important;
}
.aoclubs-games-style-dark .aoclubs-games-item{
	border-color: #333
}
.aoclubs-games-style-dark .even{
	background: #333333;
}
.aoclubs-games-tab-style-dark li{
	border-color: #666666;
	background: #333;
	color: #FFFFFF !important;
}
.aoclubs-games-tab-style-dark .aoclubs-games-active-tab{
	background: #666666!important;
}

/** Orange **/

.aoclubs-games-style-orange{
	border: 2px solid #FF9900;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: inset 0px 2px 6px 0px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0px 2px 6px 0px rgba(0, 0, 0, 0.3);
}
.aoclubs-games-style-orange .aoclubs-games-item{
	border-bottom: 1px solid #FF9900;
}
.aoclubs-games-tab-style-orange li{
	border-color: #FF9900;
	background: #FFF8EC;
	color: #333333 !important;
}
.aoclubs-games-tab-style-orange .aoclubs-games-active-tab{
	background: #FF9900!important;
	color: #FFFFFF !important;
}

/** Simple modern **/

.aoclubs-games-style-smodern{
	border: 0;
}
.aoclubs-games-style-smodern .aoclubs-games-item{
	border-radius: 10px;
	border: 0;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
}
.aoclubs-games-style-smodern:hover .aoclubs-games-item{
	opacity: 0.3;
}
.aoclubs-games-style-smodern .aoclubs-games-item:hover{
	opacity: 1;
}
.aoclubs-games-tab-style-smodern .aoclubs-games-active-tab{
	color: #000 !important;
	background: #fff !important;
	box-shadow: inset 0 0 5px #747474;
}
.aoclubs-games-style-smodern .even{
	background: #f8f8f8;
}

/** Clearfix hack **/
* html .aoclubs-games-clearfix{
  height: 1%;
  overflow: visible;
}

/* float clearing for IE7 */
*+html .aoclubs-games-clearfix{
  min-height: 1%;
}

/* float clearing for everyone else */
.aoclubs-games-clearfix:after{
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  font-size: 0;
}

.aoclubs-games-widget .fa {
	padding: 0 8px 0 10px;
}

/* Front styling */
.aoclubs-games-wrap ul li{
	display: inline-block ;
}

.aoclubs-games-wrap .game-date{
	color: #AAA;
}

.aoclubs-games-wrap .game-time{
	text-align: center;
	font-style: italic;
	font-size: 12px;
}

.aoclubs-games-wrap .game-score{
	text-align: center;
}

.aoclubs-games-wrap .victory{
	color: #008000;
	font-weight: bold;
}

.aoclubs-games-wrap .defeat{
	color: #F00;
	font-weight: bold;
}

.aoclubs-games-wrap table {
	line-height: 1;
	border: 0;
    margin-bottom: 10px;
}

.aoclubs-games-wrap td {
	font-size: 13px;
	border: 0;
	border-bottom: 1px solid #DDD;
    padding: 10px;
}

.aoclubs-games-wrap th {
	text-transform: none;
	font-size: 13px;
	border: 0px;
	border-bottom: 2px solid #DDD;
    padding: 10px;
}

.aoclubs-games-wrap td.home-team{
	text-align: right;
	padding-right: 15px;
    width: 40%;
}

.aoclubs-games-wrap td.away-team{
	text-align: left;
	padding-left: 15px;
    width: 40%;
}
