/**
 * This file is part of TheCartPress.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
/* Dashboard and Back-end admin panels */

/* gral tcp boxes */
#tcp_orders_resume h3,
#tcp_sales_chart h3 {
	color: #5e6b7c;
	font-weight:bold;
}
#tcp_rss_widget h3,
#tcp_orders_resume h3,
#tcp_sales_chart h3 {
	color: #5e6b7c;
	font-weight:bold;
}
#tcp_rss_widget .inside ul,
#tcp_orders_resume .table_content {
	background-image:url(/wp-content/plugins/thecartpress/images/tcp_icon.png);
	background-repeat:no-repeat;
	background-position: right top;
}

/* Latest Orders */
#tcp_orders_resume .table_last_orders h4 {
	font-weight:bold;
	border-radius: 3px;
	line-height:2em;
	color: #5e6b7c;
	text-shadow: 0 1px 0 #FFFFFF;
	padding: 0 0 0 .625em;
	font-family: sans-serif;
}
.last_orders {
	border-collapse: separate;
	border-spacing: 0px;
	border:1px solid #dfdfdf;
	border-bottom: 0;
}
.last_orders td, .last_orders th  {
	text-align:left;
	padding:0.325em;
	border-bottom: 1px solid #dfdfdf;
	border-top:1px solid #fff;
	border-left:0;
	border-right:0;
	font-size:.9em;
}
.last_orders  .tcp_alternate td {
	background-color:#FFF;
}
.last_orders td  {
	color:#777;
	background-color:transparent;
}
.last_orders th  {
	text-shadow: 0 1px 0 #FFFFFF;
}
.tcp_link_to_tcp {
	font-size:0.9em;
	color:#999;
}

/* sales chart */
#tcp_sales_chart .inside {
	padding:0px;
}
#tcp_sales_chart div.inside {
	margin:0px;
}
#tcp_sales_chart .dashboard-widget-control-form {
	padding:10px;
}

/* Orders */
div#tcp_orders_resume {
	line-height:1.325em;	
}
div#tcp_orders_resume a.tcp_link_to_tcp:hover
{
	text-decoration: underline;
}
.tcp_status_COMPLETED,
.tcp_status_COMPLETED a {
	color: #56a353;
	font-weight: bold;
}
.tcp_status_PENDING,
.tcp_status_PENDING a {
	color: #d7bb68;
	font-weight: bold;
}
.tcp_status_PROCESSING,
.tcp_status_PROCESSING a {
	color: #f64040;
	font-weight: bold;
}
.tcp_status_CANCELLED,
.tcp_status_SUSPENDED,
{
}
div#tcp_orders_resume .table_content td a:hover {
	text-decoration:underline;
}

/* Order list */
.tcp_orders #order_id,
.tcp_orders #payment_name,
.tcp_orders #shipping_method {
	width: 20%;
}

/* Products List */
.wp-list-table #tcp-product-thumbnail {
	width: 64px;
}

/* Plugins list */
table.plugins tr#thecartpress td.plugin-title {
   background: url("../images/tcp_icon.png") no-repeat scroll 0 4px transparent;
   padding-left: 44px;
}

/* Admin downloadable list */
li.tcp_file {
	padding-left: 20px;
}
span.tcp_folder_options,
span.tcp_file_options {
	padding-left: 100px;
}
.popup_close {
	float:right; 
	margin-right:5px; 
	cursor:pointer; 
	font:Verdana, Arial, Helvetica, sans-serif; 
	font-size:12px; 
	font-weight:bold; 
	color:#FFFFFF; 
	background-color:#666666; 
	width:12px; 
	position:relative; 
	margin-top:-1px; 
	text-align:center;
}
/* Downloadable products list */
.tcp_my_downloads .tcp_download.tcp_expires {
	text-align: right;
}

/* AssignedProduct List */
th.tcp_meta_value {
	width: 50%;
}

/* First time setup */
div.tcp_first_time_setup {
	background: url('../images/tcp_icon.png') no-repeat top left;
	float: left;
	height: 48px;
	margin: 7px 8px 0 0;
	width: 48px;
}

/*Settings*/
ul.tabs_section li {
	padding-left: 0;
	padding-right: 2em;
	float: left;
}
ul.tabs_section li a {
	text-decoration: none;
}
.section_active {
	font-weight: bold;
}

/* tcp-quantity */
.tcp_buy_button_count {
	width:auto;
	white-space:nowrap;
}
.tcp_add_sub{
	width: 50px;
	float: left;
	position: relative;
}
.tcp_add_sub input {
	margin-left: 0;
	margin-right: 0;
}
.tcp_add_sub input.tcp_count {
	width: 19px;
	height:26px;
	border: 1px solid #bbbbbb;
	line-height: 1em;
	padding: 0 2px;
	text-align: center;
	vertical-align: middle;
	background-color: #FFF;
	box-shadow:inset 0 0 0 2px #eee;
	-webkit-box-shadow:inset 0 0 0 2px #eee;
	-moz-box-shadow:inset 0 0 0 2px #eee;
	white-space:nowrap;
	margin-right:16px;
}
.tcp_add_sub input.tcp_button_add, .tcp_add_sub input.tcp_button_sub {
	float:left;
	clear:left;
	color: #373737 !important;
	cursor: pointer;
	line-height: 1em;
	vertical-align: middle;
	width: 17px;
	height:16px;
	padding: -0px 0 0 !important;
	border:1px solid #bbbbbb;
	background:#eee;
	background:-webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
	background:-webkit-linear-gradient(#ffffff, #eeeeee);
	background:-moz-linear-gradient(center top, #ffffff 0%, #ddd 100%);
	background:-moz-gradient(center top, #ffffff 0%, #ddd 100%);
	box-shadow:inset 0 0 0 1px #ffffff;
	-webkit-box-shadow:inset 0 0 0 1px #ffffff;
	-moz-box-shadow:inset 0 0 0 1px #ffffff;
	font-size:12px;
	
}
.tcp_add_sub input.tcp_button_sub {
	border-radius: 0 0 3px 0;
	position:absolute;
	left:24px;
	top:12px;
	border-top:0;
}
.tcp_add_sub input.tcp_button_add {
	border-radius: 0 3px 0 0;
	position:absolute;
	left:24px;
	top:0px;
}
.tcp_add_sub input.tcp_button_sub:hover, .tcp_add_sub input.tcp_button_add:hover {
	background: none repeat scroll 0 0 #FFFFFF;
}
.tcp_added_product_title {
	display:block;
	clear:left;
	font-size:.9em;
	color:#C00;
}
.tcp_error {
	padding: 0.2em;
	background-color: #FFEBE8;
	border: 1px solid #CC0000;
}

/* Stock dashboard */
.tcp_stock_0,
.tcp_stock_1,
.tcp_stock_2,
.tcp_stock_3 {
	color: red;
}

.tcp_stock_4,
.tcp_stock_5,
.tcp_stock_6 {
	color: orange;
}
.tcp_stock_7,
.tcp_stock_8,
.tcp_stock_9,
.tcp_stock_10 {
	color: green;
}

/* checkout editor */
ul.tcp_activated_boxes,
ul.tcp_deactivated_boxes {
	margin-bottom: 5px;
	width: 100%;
	min-height: 24px;
}
li.tcp_checkout_placeholder {
	border: 1px dashed #AEAEAE;
	height: 2em;
	width: 60%;
}
li.tcp_checkout_step {
	background: #C7C7C7;
	background-image: -moz-linear-gradient(center top , #E9E9E9, #C7C7C7);
	border: 1px solid #AEAEAE;
	text-shadow: 0 1px 0 #FFFFFF;
	overflow: hidden;
	width: 60%;
	padding: 0;
	border-radius: 3px 3px 3px 3px;
}
li.tcp_checkout_step h4 {
	cursor: move;
	margin: 2px;
	padding: .5em 0em .5em 1em;
	float: left;
}
a.tcp_checkout_step_open {
	text-indent: -999em;
	display: block;
	float: right;
	width: 24px;
	background: url("../../../../wp-admin/images/arrows.png") no-repeat scroll 50% 5px transparent;
}
a.tcp_checkout_step_open:hover {
	background: url("../../../../wp-admin/images/arrows-dark.png") no-repeat scroll 50% 5px transparent;
}
div.tcp_checkout_box_edit {
	background: none repeat scroll 0 0 #FBFBFB;
	border-top: 1px solid #DFDFDF;
	clear: both;
	display: none;
	float: none;
	padding: 5px 10px;
}

/**
 * to convert multiple selects to lists of checkboxes
 * since 1.2.0
 */
.tcp-multiselect {
	width: 20em;
	height: 16em;
	border: solid 1px #c0c0c0;
	overflow: auto;
}
.tcp-multiselect label {
	display: block;
}
.tcp-multiselect-on {
	font-weight: bold;
}

.tcp-label {
	display: block;
}

.tcp-attachment-image {
	float: left;
	padding-right: 2em;
}

.tcp-attachment {
	clear:both;
	padding: 1em;
	border-bottom: solid #dfdfdf 1px;
}

.tcp-attachment-width-height {
	color: grey;
}

.icon32-posts-tcp_template,
div#icon-tcp-default,
div#icon-tcp-order,
div#icon-tcp-extend,
div#icon-tcp-shortcode-generator,
div#icon-tcp-plugins-list,
div#icon-tcp-custom-templates,
div#icon-tcp-shortcode-generator,
div#icon-tcp-post-type-editor,
div#icon-tcp-post-type-list,
div#icon-tcp-buybuttons-templates,
div#icon-tcp-orders-list,
div#icon-tcp-wish-list,
div#icon-tcp-stock-update,
div#icon-tcp-price-update,
div#icon-tcp-related-cats,
div#icon-tcp-taxes-list,
div#icon-tcp-addresses-list,
div#icon-tcp-discounts-by-roles {
	background: url('../images/tcp_icon_32.png') no-repeat center;	
}
/**
 * Extend
 */
.tcp-inner-product {
	width: 100%;
	padding: 10px;
	line-height:1.625em;
	text-decoration: none;
	-moz-border-radius: 0px;
	-khtml-border-radius: 0px;
	-webkit-border-radius: 0px;
	vertical-align: top;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	margin-bottom: 20px;
	position: relative;
}
.tcp-inner-product a:hover {
	text-decoration: none;
}
.tcp-inner-product img {
	text-decoration: none;
	margin-bottom: 10px;
}
.tcp-inner-product .tcp-product-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: normal;
	line-height: 1.5em;
}
/* tcp-product-caption */
.tcp-product-caption {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .75);
	padding: 10px;
}
.tcp-product-caption h3 {
	font-size: 18px;
	margin: 10px;
	color: #fff;
}
.tcp-product-caption p {
	font-size: .95em;
	line-height: 1.5em;
	margin: 0 10px 15px;
	color: #ccc;
}
.tcp-product-caption a.tcp-learn-more {
	padding: 5px 10px;
	background: #08c;
	color: #fff;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-weight: bold;
	text-decoration: none;
}
.tcp-product-caption a.tcp-learn-more:hover {
	background: #fff;
	color: #08c;
}
.ui-datepicker-trigger {
	border: 0;
	background-color: inherit;
}