/* This stylesheet is used to style the admin option form of the plugin. */

/**
* Start Dashicon related
* Generated by Glyphter (http://www.glyphter.com)
*/

@font-face {
	font-family: 'wpexpresscheckout';

	src: url("../fonts/wpexpresscheckout.eot");

	src: url("../fonts/wpexpresscheckout.eot?#iefix") format("embedded-opentype"), url("../fonts/wpexpresscheckout.woff") format("woff"), url("../fonts/wpexpresscheckout.ttf") format("truetype"), url("../fonts/wpexpresscheckout.svg#wpexpresscheckout") format("svg");

	font-weight: normal;

	font-style: normal;
}

.dashicons-wpec-dashicon-1:before {
	display: inline-block;
	font-family: 'wpexpresscheckout';
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.dashicons-wpec-dashicon-1:before {
	content: '\0043';
}
/* End dashicons */

/* Pre-made CSS boxes */
/* Wrap directly with this class (not to be used with a paragraph tag) */
.wpec-white-box{
    margin: 10px 0px;
    padding: 15px 10px;
    background-color: #FFFFFF;
    border-color: #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
}
.wpec-grey-box{
    margin: 10px 0px;
    padding: 15px 10px;
    background-color: #DDDDDD;
    border-color: #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
}
.wpec-green-box {
    margin: 10px 0px;
    padding: 15px 10px;
    background-color: #CCF4D6;
    border-color: #059B53;
    color: #043B14;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
}
.wpec-yellow-box{
    margin: 10px 0px;
    padding: 10px;
    background-color: #FFFFE0;
    border-color: #E6DB55;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
}
.wpec-orange-box{
    margin: 10px 0px;
    padding: 15px 10px;
    color: #3F2502;
    text-shadow: 1px 1px #FFFFFF;
    background-color: #FFF6D5;
    border-color: #D1B655;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
}
/* Wrap directly with this class (not to be used with a paragraph tag) */
.wpec-red-box {
    margin: 10px 0px;
    padding: 10px;
    background-color: #FFEBE8;
    border-color: #CC0000;
    color: #333333;
    border-radius: 3px 3px 3px 3px;
    border-style: solid;
    border-width: 1px;
}
/* End CSS boxes */

/* Misc admin interface styles */
#wp-ppdg-thank_you_url, #wp-ppdg-shop_page_url{
	width: 400px;
}
#wp-ppdg-live_client_id, #wp-ppdg-live_secret_key, #wp-ppdg-sandbox_client_id, #wp-ppdg-sandbox_secret_key {
	width: 90%;
}
@media only screen and (max-width: 782px){
	#wp-ppdg-thank_you_url, #wp-ppdg-shop_page_url{
		width: 100%;
	}
	#wp-ppdg-live_client_id, #wp-ppdg-live_secret_key, #wp-ppdg-sandbox_client_id, #wp-ppdg-sandbox_secret_key {
		width: 100%;
	}
}
/* end of misc admin interface styles */

.wpec_status_pending{
	padding: 7px 15px;
	width: auto;
	display: inline-block;
	text-align: center;
	min-width: 80px;
	border-radius: 5px;
	background-color: #FFF6D5;
}

.wpec_status_paid{
	padding: 7px 15px;
	width: auto;
	display: inline-block;
	text-align: center;
	min-width: 80px;
	border-radius: 5px;
	background-color: #b6e4b6;
}

.wpec_status_refunded{
	padding: 7px 15px;
	width: auto;
	display: inline-block;
	text-align: center;
	min-width: 80px;
	border-radius: 5px;
	background-color: #e4d4b6;
}

.wpec_status_incomplete{
	padding: 7px 15px;
	width: auto;
	display: inline-block;
	text-align: center;
	min-width: 80px;
	border-radius: 5px;
	background-color: #dedede;
}

.wpec-stars-container {
	text-align: center;
	margin-top: 10px;
}

.wpec-stars-container span {
	vertical-align: text-top;
	color: #ffb900;
}

.wpec-stars-container a {
	text-decoration: none;
}

div.postbox.yellowish {
	background-color: #ffffc8;
}

.wpec_product_type_cont {
	display: none;
}

.wpec_product_type_active {
	display: block;
}

.wpec_product_type_select_cont label {
	margin-right: 10px;
}

/*----- Variations ----- */

.wpec-html-tpl {
	display: none;
}

.wpec-variations-group-cont {
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #ddd;
}

.wpec-variations-group-title {
	padding: 5px;
}

.wpec-variations-group-name {
	width: 60%;
	display: inline-block;
}

.wpec-variations-tbl {
	margin-bottom: 5px;
}

.wpec-variations-buttons-cont {
	text-align: right;
}

#wpec-variations-cont {
	margin-bottom: 10px;
}

.wpec-variations-tbl input {
	width: 100%;
}

.wpec-btn-small {
	padding: 0 5px !important;
}

.wpec-btn-small .dashicons {
	font-size: 18px;
}

.wpec-variations-select-from-ml-btn {
	position: absolute;
	top: 50%;
	bottom: 50%;
	margin: auto 0 !important;
	right: 7px;
}

.wpec-variations-display-type-cont {
	float: right;
}

@media screen and (max-width: 782px) {
	.wpec-variations-display-type-cont {
		float: none;
	}
}

/*----- END Variations ----- */

/* Hover over help hint */

.wpec-help {
	position: relative;
	display: inline-block;
	cursor: help;
	vertical-align: text-bottom;
	color: #aaa;
}

.wpec-help:hover {
	color: blue;
}

.wpec-help .dashicons {
	height: auto;
	width: auto;
}

.wpec-help:hover .wpec-help-text {
	visibility: visible;
}

.wpec-help .wpec-help-text p {
	font-size: 0.95em;
}

.wpec-help .wpec-help-text {
	font-size: 0.95em;
	min-width: 200px;
	top: -10px;
	left: 50%;
	-webkit-transform: translate(-50%, -100%);
	transform: translate(-50%, -100%);
	padding: 7px 10px;
	color: #fff;
	background-color: #111;
	font-weight: normal;
	border-radius: 8px;
	position: absolute;
	z-index: 99999999;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
	visibility: hidden;
	text-align: center;
}

.wpec-help .wpec-help-text::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: black transparent transparent transparent;
}

input[name="ppec_product_shortcode"] {
	max-width: 100%;
}

@media screen and (max-width: 782px) {
	.wpec-help .wpec-help-text::after {
		top: 50%;
		left: 100%;
		/* To the right of the tooltip */
		margin-left: auto;
		margin-top: -5px;
		border-width: 5px;
		border-style: solid;
		border-color: transparent transparent transparent black;
	}

	.wpec-help {
		float: right;
	}

	.wpec-help .wpec-help-text {
		min-width: auto;
		top: 50%;
		right: 100%;
		left: auto;
		margin-right: 10px;
		-webkit-transform: translate(0, -50%);
		transform: translate(0, -50%);
	}

	.wpec-help .dashicons {
		vertical-align: bottom;
		width: 30px;
		height: 30px;
		font-size: 200%;
	}
}

/* END Hover over help hint */

/* paypal settings related */
.wpec-paypal-sandbox-account-status,
.wpec-paypal-live-account-status{
	margin-bottom: 8px;
}
/* end of paypal settings related */

/*----- Addons Listing Related ----- */
.wpec_addon_item_canvas{
    background-color: white;
    font-family:sans-serif,arial;
    font-size:12px;
    border:1px solid #ddd;
    box-sizing: border-box;
    display:block;
    float:left;
    margin:3px 12px 12px 0;
    padding:15px;
    position:relative;
    width:300px;
    height:400px;
}
.wpec_addon_item_canvas:hover{border-color:#d6d6d6;}
.wpec_addon_item_thumb {position: relative}
.wpec_addon_item_thumb img {padding:5px; border: 1px solid #c7d2b4;}
.wpec_addon_item_thumb a img {border: 1px solid #ccc;}
.wpec_addon_item_body{line-height:22px;height:170px;overflow:hidden;}
.wpec_addon_item_name{font-size:16px;font-weight:bold;text-align: center;margin:10px 10px 10px 0px;}
.wpec_addon_item_description{margin:10px 10px 5px 0px;text-align:justify;overflow:hidden;height:70px;}
.wpec_addon_clear{clear:both;}
.wpec_addon_item_details_link{
    text-align: center;
}
.wpec_addon_item_details_link a{
    border: 3px solid #2d3140;
    color: #2d3140;
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none !important;
}
.wpec_addon_item_details_link a:hover{
    background-color: #2d3140;
    color: #FFF;
}
/*----- END Addons Listing ----- */

/*----- Add New Order Styles ----- */
.wpec-admin-product-quantity-div,
.wpec-admin-product-var-div {
	margin: 12px 0;
	width: 100%;
}

.wpec-search-select {
    position: relative;
    width: 100%;
}

.wpec-search-select.open {
    border-bottom: none;
}

.wpec-search-select-dropdown {
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
}

.wpec-search-select-search {
    width: 100%;
}

.wpec-search-select-option {
    padding: 6px 8px;
    cursor: pointer;
}

.wpec-search-select-option:hover,
.wpec-search-select-option.active {
    background: #007cba;
    color: #fff;
}

.wpec-search-select-hidden {
    display: none;
}
/*----- End of Add New Order Styles ----- */

/*----- Utility Classes ----- */
.wpec_input_width_full{
	width: 100%;
}

.wpec_input_width_three_fourth{
	width: 75%;
}

.wpec_input_width_half{
	width: 50%;
}

.wpec_input_width_one_fourth{
	width: 25%;
}

@media screen and (max-width: 782px) {
	.wpec_input_width_full,
	.wpec_input_width_three_fourth,
	.wpec_input_width_half,
	.wpec_input_width_one_fourth{
		width: 100%;
	}
}

/*----- End Of Utility Classes ----- */
