/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

 /* Hide visibility from admin */
.form-table th{
    padding: 10px 10px 10px 0px;
}

.submit{
    margin-left: 20px;
}

 .wct-h2{
    padding: 15px 20px;
    border: none;
    margin: 0 0 10px;
    background: #01579b;
    color: #fff;
    width: 95%;
    border-radius: 15px;
 }
.wct-h4{
    padding: 15px 20px;
    border: none;
    margin: 0 0 10px;
    background: #01579b;
    color: #fff;
    width: 30%;
    border-radius: 15px;
}

.wp-form-table td,th{
    width: 50%;
    height: 50px;
    text-align: left;
}

.cloudflare-box{
    padding: 21px;
    background: linear-gradient(to bottom right, #01579b, #01579b);
    border-radius: 5px;
    color: white;
}

.almost_done_text{

    font-weight: 600; 
    letter-spacing: 5px;
    font-size: 19px; 
    margin-top: 0;
    margin-bottom: 0;
}

.error_text{
    color: #f2ef8f; 
    font-weight: bold;
}

.text-bold{
    font-weight: bold;
}

.ml-15{
    margin-left: 15px;
}

.mb-20{
    margin-bottom: -20px;
}

.submit_button{
    margin-top: 40px;
    margin-left: 50px; 
    padding: 7px 10px; 
    background: #FCFCFC; 
    color: #000; 
    font-size: 15px; 
    font-weight: bold; 
    border: 1px solid #176017; 
    border-radius: 20px; 
    cursor: pointer;
}

.text_green{
    font-weight: bold; 
    color: green;
}

.text_bold{
    font-weight: bold;
}

.column {
  float: left;
  width: 50%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

 /* Hide visibility from admin */
 .post-type-wtcc .misc-pub-visibility#visibility {
    display: none;
}

/* Meta box styling */
.wtcc-option label {
    display: inline-block;
    width: 150px;
}
.wtcc-option input {
    line-height: 19px;
}
.wtcc-option .wtcc-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;
}
.wtcc-option .wtcc-currency + input {
    margin-left: -4px;
    line-height: 19px;
    width: 161px;
}
.wtcc_settings_meta_box .wtcc-description {
    float: none;
    line-height: 19px;
}

.wtcc_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;
}
.wtcc-condition-wrap {
    margin: 10px 0px 5px;
}
.wtcc-condition-wrap .wtcc-condition {
    width: 30%;
}
.wtcc-condition-wrap .wtcc-operator {
    width: 12%;
    min-width: 140px;
}
.wtcc-condition-wrap .wtcc-value {
    width: 30%;
}
.wtcc-condition-wrap input {
    vertical-align: top;
}

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

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

.wtcc-desc,
.wtcc_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;
}
.wtcc-desc:after,
.wtcc_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 */
.wtcc-tip-right .wtcc-desc {
    right: initial;
    margin-top: -5px;
    margin-left: 15px;
}
.wtcc-tip-right .wtcc-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;
}
.wtcc-tip:hover ~ .wtcc-desc {
    display: inline-block !important;
}
/* end desc. right side */
.wtcc_tip:hover ~ .wtcc_desc {
    display: block !important;
}
.wtcc-description {
    width: 40px;
    float: right;
    line-height: 20px;
}


/*
 * Loading icon
 */

/* Load icon condition row */
.wtcc-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;
}
.wtcc-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
 ***********************/

.wtcc-table .sort {
    padding: 0 7px;
    cursor: move;
    text-align: center;
    vertical-align: middle;
}
.wtcc-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.wtcc_tip {
    vertical-align: middle;
}
.toplevel_page_wtcc .wtcc-review-notice {
    width: 100%;
    display: none;
}
select.wtcc-condition option:disabled {
    color: #cdcdcd;
}
.wtcc-settings {
    margin: 0 0 0 -20px;
}
.wtcc-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;
}
.wtcc-settings__content {
    padding: 0 20px;
}
.wtcc-nav {
    margin: 0 0px;
    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;
}
.wtcc-nav__item {
    display: inline-block;
    margin: 0 8px;
    padding: 0 4px 4px;
    position: relative;
}
.wtcc-nav__item-link {
    padding: 15px 0 13px;
    display: block;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
}
.wtcc-nav__item--active .wtcc-nav__item-link, .wtcc-nav__item--active .wtcc-nav__item-link:active, .wtcc-nav__item--active .wtcc-nav__item-link:focus, .wtcc-nav__item--active .wtcc-nav__item-link:hover {
    color: #2271b6;
    outline: none;
    box-shadow: none;
}
.wtcc-nav__item--active:after {
    height: 4px;
    background: #2271b6;
    border-radius: 4px 4px 0 0;
}
.wtcc-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);
}
.wtcc-nav__item--last {
    margin: 0 0 0 auto;
    padding: 0 8px;
}
.wtcc-tab .postbox {
    margin: 20px 0;
    border-radius: 8px;
    border: none;
    background: #fff;
}
/*.wtcc-tab .postbox h2:first-child {
    border-radius: 8px 8px 0 0;
}*/
.wtcc-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;
}
.wtcc-tab .postbox table.form-table {
    margin-bottom: 10px;
}

.wtcc-tab .postbox table.form-table {
    min-width: 100%;
}
.wtcc-tab .postbox table.form-table, .wtcc-tab .wtcc-section-description {
    margin: 0 20px;
    width: auto;
    border: none;
}
.wtcc-section .form-table th, .wtcc-section .form-table td {
    vertical-align: top;
}
.wtcc-subtitle {
    font-weight: 400;
    display: block;
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 15px 0 0;
}
.wtcc-settings p.submit {
    padding-top: 0 !important;
}
.wtcc-tab {
    display: none;
}
.wtcc-tab--active {
    display: block;
}
.wtcc-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 .wtcc_conditions_meta_box, #tab-addnewfee .condition-group-add,#tab-addnewfee .wtcc_settings .wtcc-option {
    margin: 10px 20px;
}
