/** coretress GmbH Coder Bibel v0.2
 * @copyright       2009 - 2014 coretress GmbH
 * @author          Original Author "Dominik Much" <d.much@coretress.de>
 * @since           12.12.2014
 * @category		XT-Commerce Plugin
 * @package			Extensions
 * @subpackage		Affiliate
 */

/**
 *                     _                        _____           _     _    _
 *                    | |                      / ____|         | |   | |  | |
 *   ___ ___  _ __ ___| |_ _ __ ___  ___ ___  | |  __ _ __ ___ | |__ | |__| |
 *  / __/ _ \| '__/ _ \ __| '__/ _ \/ __/ __| | | |_ | '_ ` _ \| '_ \|  __  |
 * | (_| (_) | | |  __/ |_| | |  __/\__ \__ \ | |__| | | | | | | |_) | |  | |
 *  \___\___/|_|  \___|\__|_|  \___||___/___/  \_____|_| |_| |_|_.__/|_|  |_|
 *
 *  CHANGES						DEVELOPER	COMPANY			DATE		COMMENT
 *  ------------------------------------------------------------------------------------------------------------------------
 *  CREATED						DM			coretress		2014-12-12
 *  ------------------------------------------------------------------------------------------------------------------------
 */


.ct_affiliate_program {
	background-image: url("../images/icon-affiliate-program.png") !important;
}

.ct_affiliate_program_assign_customer {
	background-image: url("../images/icon-assign-customer.png") !important;
}

/* ==========================================================================
Banner List
========================================================================== */
ul.affiliate-banner-list {
	border: 1px solid #cdcdcd;
	border-radius: 5px;
	margin: 0 15px 10px;
	padding: 10px;
}

li.affiliate-banner-preview,
li.affiliate-banner-title {
	text-align: center;
}

li.affiliate-banner-title {
	padding: 5px 0 0;
	margin: 0 0 5px;
	background: linear-gradient(#ffaf4b, #ff7b00) repeat scroll 0 0 rgba(0, 0, 0, 0);
	border-radius: 5px;
}

li.affiliate-banner-code > code {
	border: 1px solid #cdcdcd;
	border-radius: 5px;
	background-color: #eee;
	padding: 5px;
	display: block;
}

li.affiliate-banner-preview img {
	height:auto;
	width:auto;
	max-width:100px;
	max-height:100px;
}

/* ==========================================================================
Menu
========================================================================== */
ul.affiliate-menu {
	list-style: none;
}

ul.affiliate-menu > li {
	float: left;
	margin-right: 10px;
	border: 1px solid #cdcdcd;
	border-radius: 5px;
	padding: 5px 10px;
}

ul.affiliate-menu > li:last-child {
	float: left;
	margin-right: 0px;
}


a.button-affiliate:link,
a.button-affiliate:active,
a.button-affiliate:visited,
a.button-affiliate:hover {
	background: linear-gradient(to bottom, #8fbd44 0%, #008440 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	color: #fff;
	display: inline-block;
	font-weight: bold;
	padding: 10px 60px;
	text-decoration: none;
}

/* ==========================================================================
Affiliate Summary
========================================================================== */
table.affiliate {
	border-spacing: 0;
	border-collapse: collapse;
}

table.affiliate td {
	padding: 3px;
}

table.affiliate caption {
	text-align: left;
	background: #eee;
	font-weight: bold;
	padding: 5px;
}


/* ==========================================================================
AFFILIATE STATS
========================================================================== */

.affiliate-stats form {
	margin-bottom: 10px;
}

.affiliate-stats label {
	margin-left: 15px;
}

.affiliate-stats form input[type="text"],
.affiliate-stats form input[type="submit"],
.affiliate-stats form select {
	margin-left: 5px;
}

.affiliate-stats table {
	padding: 20px 10px;
	border-spacing: 20px;
	border-collapse: collapse;
}

.affiliate-stats table tr:nth-child(odd) {
	background-color:#DDDDDD;
}
.affiliate-stats tabletr:nth-child(even)    {
	background-color:#ffffff;
}


.affiliate-stats table td,
.affiliate-stats table th {
	vertical-align:middle;
	border:1px solid #000000;
	border-width:0px 1px 1px 0px;
	text-align:left;
	padding:7px;
	font-size:11px;
	font-family:Arial;
	font-weight:normal;
	color:#000000;
}

.affiliate-stats table th {
	color: #000;
	font-size:12px;
	font-weight: bold;
	background: #a9db80; /* Old browsers */
	background: -moz-linear-gradient(top,  #a9db80 0%, #96c56f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a9db80), color-stop(100%,#96c56f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a9db80 0%,#96c56f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a9db80 0%,#96c56f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a9db80 0%,#96c56f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #a9db80 0%,#96c56f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a9db80', endColorstr='#96c56f',GradientType=0 ); /* IE6-9 */

}

.affiliate-stats table td.number {
	text-align: right;
}



.affiliate-stats table.paginator  {
	margin-top: 5px;
	margin-bottom: 10px;
	float: right;
	border-spacing: 20px;
	border-collapse: none !important;
}

.affiliate-stats table.paginator td {
	font-weight: bold;
	font-size: 12px;
}


.affiliate-stats table.paginator tr:nth-child(odd) {
	background-color:#FFF;
}



