/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
 /* Hide visibility from admin */
 .post-type-waef .misc-pub-visibility#visibility {
	display: none;
}

/* Meta box styling */
.waef-option label {
	display: inline-block;
	width: 150px;
}
.waef-option input {
	line-height: 19px;
}
.waef-option .waef-currency {
	padding: 3px 10px;
	font-size: 14px;
	font-weight: 400;
	line-height: 19px;
	height: 19px;
	color: #555;
	text-align: center;
	background-color: #EEE;
	border: 1px solid #DDD;
	border-right: none;
	border-radius: 4px 0px 0px 4px;
	margin: 1px 0px 1px 1px;
}
.waef-option .waef-currency + input {
	margin-left: -4px;
	line-height: 19px;
	width: 161px;
}
.waef_settings_meta_box .waef-description {
	float: none;
	line-height: 19px;
}

.waef_conditions_meta_box > p:first-child + div > .or-match {
	display: none;
}
/*
 * Condition group
 */
.condition-group {
	margin-bottom: 30px;
	background-color: #f5f5f5;
	padding: 15px 20px 20px;
	border: 1px solid #ddd;
	-webkit-box-shadow: 0 1px 1px rgba( 0, 0, 0, .04);
	box-shadow: 0 1px 1px rgba( 0, 0, 0, .04);
	min-height: 30px;
}
.waef-condition-wrap {
	margin: 10px 0px 5px;
}
.waef-condition-wrap .waef-condition {
	width: 30%;
}
.waef-condition-wrap .waef-operator {
	width: 12%;
	min-width: 140px;
}
.waef-condition-wrap .waef-value {
	width: 30%;
}
.waef-condition-wrap input {
	vertical-align: top;
}

#waef_conditions .or-text + .or-text {
	display: none !important;
}

/******************************
 * Description
 ******************************/

.waef-desc,
.waef_desc {
	display: none;
	position: absolute;
	background: rgba( 0, 0, 0, .8 );
	min-width: 25px;
	max-width: 200px;
	border-radius: 6px;
	padding: 5px 10px;
	color: white;
	margin-top: 10px;
	right: 40px;
	text-align: center;
}
.waef-desc:after,
.waef_desc:after {
	border-top: 0px solid transparent;
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
	border-bottom: 10px solid rgba( 0, 0, 0, .8 );
	content: ' ';
	position: absolute;
	top: -10px;
	right: 10px;
	z-index: 999;
}
/* Description on the right side of element */
.waef-tip-right .waef-desc {
	right: initial;
	margin-top: -5px;
	margin-left: 15px;
}
.waef-tip-right .waef-desc:after {
	border-top: 8px solid rgba(0, 0, 0, 0);
	border-right: 10px solid rgba(0, 0, 0, 0.8);
	border-left: 0px solid rgba(0, 0, 0, 0);
	border-bottom: 8px solid rgba(0, 0, 0, 0);
	top: 7px;
	left: -10px;
	right: initial;
}
.waef-tip:hover ~ .waef-desc {
	display: inline-block !important;
}
/* end desc. right side */
.waef_tip:hover ~ .waef_desc {
	display: block !important;
}
.waef-description {
	width: 40px;
	float: right;
	line-height: 20px;
}


/*
 * Loading icon
 */

/* Load icon condition row */
.waef-condition-wrap.loading {
	height: 30px;
}
.loading-icon {
	width: 100%;
	clear: both;
	display: block;
	text-align: center;
	line-height: 110%;
	margin: 0 1px;
}

.condition-delete {
	display: none;
	opacity: 0;
	transition: opacity .3s ease-in-out;
}
.waef-condition-wrap:hover .condition-delete {
	display: inline-block;
	opacity: 1;
}


/* WooCommerce Add icon */
.add.button:before {
	font-family: WooCommerce;
	speak: none;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	margin-right: 7px;
	content: "\e007";
}

/************************
 * Table / overview
 ***********************/

.waef-table .sort {
	padding: 0 7px;
	cursor: move;
	text-align: center;
	vertical-align: middle;
}
.waef-table .sort:before {
	content: "\e032";
	font-family: WooCommerce;
	text-align: center;
	line-height: 1;
	color: #ccc;
	display: block;
	width: 100%;
	float: left;
	height: 100%;
	margin-top: 16px;
}
#advanced_extra_fees_shipping_methods tr .row-actions {
	visibility: hidden;
}
#advanced_extra_fees_shipping_methods tr:hover > td > .row-actions {
	visibility: visible !important;
}
img.waef_tip {
    vertical-align: middle;
}
.toplevel_page_waef .waef-review-notice {
    width: 100%;
    display: none;
}
select.waef-condition option:disabled {
    color: #cdcdcd;
}
.waef-settings {
    margin: 0 0 0 -20px;
}
.waef-settings__header {
    background: #fff;
    border-bottom: 1px solid #e2e4e7;
    padding: 10px 20px;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 0;
}
.waef-settings__content {
    padding: 0 20px;
}
.waef-nav {
    margin: 0 -20px;
    padding: 0 12px;
    list-style: none none outside;
    background: #fff;
    border-bottom: 1px solid #e2e4e7;
    display: flex;
    flex-wrap: nowrap;
    position: sticky;
    top: 32px;
    z-index: 100;
    align-items: center;
}
.waef-nav__item {
    display: inline-block;
    margin: 0 8px;
    padding: 0 4px 4px;
    position: relative;
}
.waef-nav__item-link {
    padding: 15px 0 13px;
    display: block;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
}
.waef-nav__item--active .waef-nav__item-link, .waef-nav__item--active .waef-nav__item-link:active, .waef-nav__item--active .waef-nav__item-link:focus, .waef-nav__item--active .waef-nav__item-link:hover {
    color: #2271b6;
	outline: none;
	box-shadow: none;
}
.waef-nav__item--active:after {
    height: 4px;
    background: #2271b6;
    border-radius: 4px 4px 0 0;
}
.waef-nav__item:after {
    content: '';
    height: 0;
    transition: height 150ms ease-in-out;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.waef-nav__item--last {
    margin: 0 0 0 auto;
    padding: 0 8px;
}
.waef-tab .postbox {
    margin: 20px 0;
    border-radius: 8px;
    border: none;
    background: #fff;
}
.waef-tab .postbox h2:first-child {
    border-radius: 8px 8px 0 0;
}
.waef-tab .postbox h2 {
    padding: 15px 20px;
    border: none;
    margin: 0 0 10px;
    background: #01579b;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-size: 1.25em;
}
.waef-tab .postbox table.form-table {
    margin-bottom: 10px;
}

.waef-tab .postbox table.form-table {
    min-width: 100%;
}
.waef-tab .postbox table.form-table, .waef-tab .waef-section-description {
    margin: 0 20px;
    width: auto;
	border: none;
}
.waef-section .form-table th, .waef-section .form-table td {
    vertical-align: top;
}
.waef-subtitle {
    font-weight: 400;
    display: block;
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 15px 0 0;
}
.waef-settings p.submit {
    padding-top: 0 !important;
}
.waef-tab {
    display: none;
}
.waef-tab--active {
    display: block;
}
.waef-settings__content .idomit-plugin-setting {
    width: auto;
    margin-right: 300px;
    overflow: hidden;
}
.idomit-plugin-sidebar {
    float: right;
    width: 100%;
    max-width: 280px;
    margin: 20px 0 0;
}
.wpsf-settings__content:after,
.wpsf-settings__content .idomit-plugin-setting:after {
	display: table;
	clear: both;
}

.idomit-settings-sidebar {
	float: right;
	width: 100%;
	max-width: 280px;
	margin: 20px 0 0;
}

.idomit-settings-sidebar__widget {
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	background: #fff;
	border-radius: 8px;
	padding: 15px;
	margin: 0 0 20px;
	box-sizing: border-box;
}

.idomit-settings-sidebar__widget:last-child {
	margin-bottom: 0;
}

.idomit-settings-sidebar__widget :first-child {
	margin-top: 0;
}

.idomit-settings-sidebar__widget :last-child {
	margin-bottom: 0;
}

.idomit-settings-sidebar__widget--note {
	background: #FDF2C7;
	color: #473f24;
}
.idomit-product img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px 4px 0 0;
    z-index: 10;
    position: relative;
}
#tab-addnewfee .waef_conditions_meta_box, #tab-addnewfee .condition-group-add,#tab-addnewfee .waef_settings .waef-option {
    margin: 10px 20px;
}

.waef-settings .progress{width: 100%;
    position: fixed;
    z-index: 9999;}
.waef-settings .progress .progress-bar {display: block;
    width: 0;
    background: #2271b1;
    height: 4px;
}
.waef-settings .blockUI.blockOverlay::before {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5em;
    margin-top: -0.5em;
    content: "";
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    background: url(../images/loader.svg) center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(0,0,0,.75);
}
.waef_new_fee.top,#waef_save_form_button{
	margin: 10px 10px;
}
.waef-table-freevspro {
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
    width: 100%;
}
.second-row, .third-row {
    text-align: center;
}
.waef-table-freevspro .dashicons-yes {
    background: #1b9d56;
    color: #fff;
    border-radius: 3px;
    padding: 1px;
}
.waef-table-freevspro .dashicons-no-alt {
    background: rgb(200,73,63);
    color: #fff;
    border-radius: 3px;
    padding: 1px;
}

.waef-table-freevspro .dashicons-arrow-right {
    vertical-align: inherit;
}
.waef-table-box-list td:first-child {
    font-weight: 400;
    text-align: left;
    border-left: 0px;
    font-size: 14px;
    color: #060606;
}
.waef-table-box-list td{
    padding:10px;
    -webkit-box-shadow: 0 3px 5px -3px #e7e7e7;
    -moz-box-shadow: 0 3px 5px -3px #e7e7e7;
    box-shadow: 0 3px 5px -3px #e7e7e7;
}
.waef-table-box-item-head {
    text-align: center;
}
span.waef_loader {
	top: 50%;
    left: 40%;
    margin-left: -0.5em;
    margin-top: -0.5em;
    content: "";
    -webkit-animation: spin 1s ease-in-out infinite;
    animation: spin 1s ease-in-out infinite;
    background: url(../images/loader.svg) center center;
    background-size: cover;
    display: none;
    position: absolute;
    color: rgba(0,0,0,.75);
    height: 2em;
    width: 2em;
}