/**
 * EPD Admin CSS
 *
 * @package     EPD
 * @subpackage  Admin CSS
 * @copyright   Copyright (c) 2019, Mike Howard
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 */

.epd_select_chosen { min-width: 200px; margin: 4px; padding-bottom: 5px; }
.epd_select_chosen label { padding-right: 3px; }
.chosen-container-multi .chosen-choices {
	background-image: none;
	border-color: #dfdfdf;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.chosen-container-multi .chosen-choices input {
	border-color: #dfdfdf;
	height:27px!important;
	margin:2px;
}
.chosen-container .chosen-drop {
	border-color: #aaa;
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.chosen-container .search-field {
	float: none!important;
}
.chosen-container .search-field input {
	width: 90%!important;
}
.chosen-container-active .chosen-choices {
	border-color: #aaa;
	-webkit-border-top-left-radius: 3px;
	border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	border-top-right-radius: 3px;
	-webkit-border-bottom-left-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.epd_hidden {
	display: none;
}

.epd-nav-tab-active,
.epd-nav-tab-active:hover,
.epd-nav-tab-active:focus,
.epd-nav-tab-active:focus:active {
	background: #f77f00;
	color: #fff;
}

.settings_page_epd-settings .form-table button.epd-button {
	width: 175px;
}

.epd-settings-sub-nav {
	margin: 0 0px 10px 0;
	width: 100%;
}

.epd-settings-sub-nav a {
	padding: 13px;
	display: block;
}

.epd-settings-sub-nav a.current {
	padding-bottom: 9px;
}

.epd-settings-sidebar {
	padding-top: 27px;
}

.epd-settings-sidebar-content {
	background-color: #fff;
	text-align: center;
	border: 1px solid #ddd;
	box-sizing: border-box;
	max-width: 300px;
}

.epd-settings-sidebar-content p {
	font-size: 14px;
	line-height: 1.5;
	margin-top: 0;
}

/* Settings sidebar header section */
.epd-sidebar-header-section {
	background-color: #0073aa;
	line-height: 1;
	padding: 26px 20px 24px;
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 500;
}

/* Settings sidebar description section */
.epd-sidebar-description-section {
	background-color: #fafafa;
	padding: 16px 20px;
	border-bottom: 1px solid #ddd;
}

.epd-sidebar-description-section.epd-upsell {
	text-align: left;
}

.epd-sidebar-description-section .epd-sidebar-description {
	margin: 0;
}

/* Settings sidebar coupon section */
.epd-sidebar-coupon-section {
	font-size: 14px;
	padding: 16px 20px;
}

.epd-sidebar-coupon-section label {
	display: block;
	line-height: 1.4;
	margin-bottom: 6px;
}

.epd-sidebar-coupon-section label strong {
	color: #253b51;
	font-weight: 700;
}

.epd-sidebar-coupon-section input {
	background: #f4f7fa;
	font-size: 22px;
	font-weight: 600;
	text-align: center;
	padding: 10px;
	border: 2px dashed #2794da;
	border-radius: 4px;
	margin-bottom: 16px;
	box-shadow: none;
	width: 100%;
}

.epd-sidebar-coupon-section input:focus {
	border: 2px dashed #2794da;
	box-shadow: none;
}

.epd-settings-sidebar-content .epd-coupon-note {
	color: #6c7883;
	font-size: 13px;
	font-style: italic;
	margin: 0;
}

.epd-settings-sidebar-content .epd-coupon-note a {
	color: #253b51;
}

.epd-settings-sidebar-content .epd-coupon-note a:hover {
	text-decoration: none;
}

/* Settings sidebar footer section */
.epd-sidebar-footer-section {
	background-color: #fafafa;
	padding: 16px 20px;
	border-top: 1px solid #ddd;
}

.epd-sidebar-footer-section.epd-sidebar-promo-footer {
	border-top: none;
}

.epd-sidebar-footer-section .epd-cta-button {
	display: block;
	text-decoration: none;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	border: none;
	width: 100%;
}

/* Settings sidebar responsive behavior */
@media all and ( min-width: 1080px ) {
	.epd-has-sidebar .epd-settings-content {
		float: left;
		width: 67%;
	}

	.epd-has-sidebar .epd-settings-sidebar {
		float: right;
		width: 31%;
	}
}

@media all and ( min-width: 1240px ) {
	.epd-has-sidebar .epd-settings-content {
		width: 74%;
	}

	.epd-has-sidebar .epd-settings-sidebar {
		width: 23%;
	}
}

.wrap-licenses .form-table,
.wrap-licenses thead,
.wrap-licenses tbody,
.wrap-licenses tfoot,
.wrap-licenses tr,
.wrap-licenses td,
.wrap-licenses th,
.wrap-licenses caption {
	display: block;
}
.wrap-licenses .form-table tr {
	float: left;
	margin: 0 15px 15px 0;
	background: #fff;
	border: 1px solid #ccc;
	width: 42%;
	max-width: 350px;
	padding: 14px;
	min-height: 220px;
	position: relative;
	box-sizing: border-box;
}
.wrap-licenses .form-table th {
	background: #f9f9f9;
	padding: 14px;
	border-bottom: 1px solid #ccc;
	margin: -14px -14px 20px;
	width: 100%;
}
.wrap-licenses .form-table td {
	padding: 0;
}
.wrap-licenses td input.regular-text {
	margin: 0 0 8px;
	width: 100%;
}
.wrap-licenses .epd-license-data[class*="epd-license-"] {
	position: absolute;
	background: #fafafa;
	padding: 14px;
	border-top: 1px solid #eee;
	margin: 20px -14px -14px;
	min-height: 67px;
	width: 100%;
	bottom: 14px;
	box-sizing: border-box;
}
.wrap-licenses .epd-license-data[class*="epd-license-"] a {
	color: #444;
}
.wrap-licenses .epd-license-data[class*="epd-license-"] a:hover {
	text-decoration: none;
}
.wrap-licenses .epd-license-data.epd-license-expires-soon-notice {
	background-color: #e5f5fa;
	border-color: #00a0d2;
}
.wrap-licenses .epd-license-data.epd-license-expired,
.wrap-licenses .epd-license-data.epd-license-missing,
.wrap-licenses .epd-license-data.epd-license-error,
.wrap-licenses .epd-license-data.epd-license-invalid,
.wrap-licenses .epd-license-data.epd-license-site_inactive,
.wrap-licenses .epd-license-data.epd-license-item_name_mismatch {
	background-color: #fbeaea;
	border-color: #e24e4e;
}
.wrap-licenses .epd-license-data.epd-license-not-installed {
	background-color: #ffebcd;
	border-color: #ffb900;
}
.wrap-licenses .epd-license-data.epd-license-valid	{
	border-color: #46b450;
	background-color: #ecf7ed;
}
.wrap-licenses .epd-license-data p {
	font-size: 13px;
	margin-top: 0;
}
.wrap-licenses .epd-license-data.epd-license-expires-soon-notice a {
	color: #fff;
}
.wrap-licenses .epd-license-data.epd-license-expired a:hover,
.wrap-licenses .epd-license-data.epd-license-missing a:hover,
.wrap-licenses .epd-license-data.epd-license-error a:hover,
.wrap-licenses .epd-license-data.epd-license-invalid a:hover,
.wrap-licenses .epd-license-data.epd-license-site_inactive a:hover,
.wrap-licenses .epd-license-data.epd-license-not-installed a:hover,
.wrap-licenses .epd-license-data.epd-license-item_name_mismatch a:hover,
.wrap-licenses .epd-license-data.epd-license-expires-soon-notice a:hover,
.wrap-licenses .epd-license-data.epd-license-expired a:hover {
	text-decoration: none;
}
.wrap-licenses p.submit {
	clear: both;
}

.wrap-licenses .epd-no-license-overlay {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 100;
	background: rgba(255,255,255,.64);
	text-align: center;
	vertical-align: middle;
}

.wrap-licenses .epd-no-license-overlay a {
	padding: 9px 15px;
	background: #0073aa;
	color: #FFF;
	text-decoration: none;
	border-radius: 3px;
	font-size: 14px;
	display: inline-block;
}

.epd-no-license-button-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	min-width: 200px;
}
