.vi-ui.attached.tabular.menu {
    display: flex;
    flex-wrap: wrap;
}

.wrap form .segment .vi-ui.dropdown.selection {
    min-height: 37px !important;
}

.segment[data-tab="email"] label.vi-ui.label {
    padding: 0 !important;
}

a {
    text-decoration: none;
}

* {
    box-sizing: border-box;
}

.vi-ui.form textarea.wp-editor-area {
    min-height: 5em;
}

.wot-place-holder {
    background: white;
    border: 1px dashed rgba(1, 1, 1, .3);
    height: 50px !important;
    line-height: 50px;
    visibility: visible;
}

.iris-picker {
    position: absolute !important;
}

input[type="number"] {
    height: auto;
}

.select2-container--default .select2-selection--single {
    height: 41px !important;
    border: 1px solid rgba(34, 36, 38, .15) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li .select2-search__field {
    width: 100% !important;
    border: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {

}

.select2-container--default .select2-selection--multiple {
    border: 1px solid rgba(34, 36, 38, .15) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

.vi-ui-shipment {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.woo-orders-tracking-setting-shipping-carriers-overlay {
    background: white;
    opacity: .6;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999999;
}

.woo-orders-tracking-setting-shipping-carriers-overlay:before {
    content: url('../images/loading.gif');
    width: 20px;
    height: 20px;
    font-size: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale3d(.5, .5, .5);
}

.woo-orders-tracking-setting-shipping-carriers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.woo-orders-tracking-setting-shipping-carriers-filter-wrap {
    display: flex;
    /*min-width: 60%;*/
    max-width: 65%;
    flex-wrap: wrap;
}

.vi-ui.segment.woo-orders-tracking-setting-shipping-carriers-toggle-active-wrap {
    margin: 0 5px;
    padding: 6px;
}

.woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-type-wrap,
.woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-action-wrap,
.woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-country-wrap {
    /*min-width: 30%;*/
    /*max-width: 35%;*/
    margin-right: 15px;
}

.woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-country-wrap {
    margin-right: auto !important;
}

.woo-orders-tracking-setting-shipping-carriers-search-wrap {
    display: flex;
}

.woo-orders-tracking-setting-shipping-carriers-list-wrap {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(5, 19%);
    grid-gap: 20px 10px;
    grid-auto-rows: minmax(100px, auto);
}

.woo-orders-tracking-setting-shipping-carriers-list-wrap > .woo-orders-tracking-setting-shipping-carriers-wrap:nth-child(1) {
    background-color: #ffebcd;
}

.woo-orders-tracking-setting-shipping-carriers-list-wrap > .woo-orders-tracking-setting-shipping-carriers-wrap:nth-child(1) .woo-orders-tracking-setting-custom-shipping-carrier-action-default,
.woo-orders-tracking-setting-shipping-carriers-list-wrap > .woo-orders-tracking-setting-shipping-carriers-wrap:nth-child(1) .woo-orders-tracking-setting-custom-shipping-carrier-action-delete {
    display: none;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-shipping-carrier-action-active-wrap {
    text-align: center;
}

.woo-orders-tracking-setting-shipping-carriers-wrap {
    max-width: 100%;
    min-width: 90%;
    padding: 8px;
    border: 1px solid #eae8e8;
    border-radius: 3px;
    transition: 0.3s all;
    position: relative;
}

.woo-orders-tracking-setting-shipping-carriers-wrap:hover {
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.21);
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-shipping-carrier-name {
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-shipping-carrier-name a {
    color: #0073aa;
}

.woo-orders-tracking-setting-shipping-carriers-wrap.custom-shipping-carrier-show-action .woo-orders-tracking-setting-shipping-carrier-name {
    display: flex;
    justify-content: space-between;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-shipping-carrier-slug {
    color: #b7b2b2;
    font-size: 12px;
    padding: 0;
    margin: 5px 0;
    position: relative;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-shipping-carrier-slug span.woo-orders-tracking-copy-carrier-successful.dashicons.dashicons-yes {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #20d020;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-custom-shipping-carrier-action {
    display: flex;
    position: absolute;
    right: 10px;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-custom-shipping-carrier-action i {
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    margin: 0;
    cursor: pointer;
    transition: transform 200ms ease-in-out;
    transform: scale3d(1, 1, 1);
    background: white;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-custom-shipping-carrier-action i:hover {
    transform: scale3d(1.2, 1.2, 1.2);
}

.woo-orders-tracking-setting-shipping-carriers-wrap .woo-orders-tracking-setting-shipping-carrier-action .woo-orders-tracking-setting-shipping-carrier-action-default-wrap {
    float: left;
    font-size: 13px;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .vi-ui.toggle.checkbox input:checked ~ .box:after, .woo-orders-tracking-setting-shipping-carriers-wrap .vi-ui.toggle.checkbox .box:before, .vi-ui.toggle.checkbox label:before {
    width: 3rem !important;
    height: 1.2rem !important;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .vi-ui.toggle.checkbox input:checked ~ .box:after, .woo-orders-tracking-setting-shipping-carriers-wrap .vi-ui.toggle.checkbox .box:before, .vi-ui.toggle.checkbox label:after {
    top: -3px !important;
}

.woo-orders-tracking-setting-shipping-carriers-wrap .vi-ui.toggle.checkbox input:checked ~ .box:after, .woo-orders-tracking-setting-shipping-carriers-wrap .vi-ui.toggle.checkbox input:checked ~ .box:after, .vi-ui.toggle.checkbox input:checked ~ label:after {
    left: 1.56rem !important;
}

/*
add new custom carrier css
edit custom carrier css
 */
.add-new-shipping-carrier-html-content,
.edit-shipping-carrier-html-content {
    position: relative;
    z-index: 99;
    max-width: calc(100% - 40px);
    max-height: 90%;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
    width: 450px;
    border-radius: 10px;
}

.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-header,
.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-header {
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    position: relative;
}

.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-header .add-new-shipping-carrier-html-content-close,
.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-header .edit-shipping-carrier-html-content-close {
    height: 30px;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    opacity: .85;
}

.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-body,
.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-body {
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-body .add-new-shipping-carrier-html-content-body-row,
.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-body .edit-shipping-carrier-html-content-body-row {
    display: flex;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-body .add-new-shipping-carrier-html-content-body-row .add-new-shipping-carrier-html-content-body-carrier-name-wrap,
.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-body .add-new-shipping-carrier-html-content-body-row .add-new-shipping-carrier-html-content-body-carrier-slug-wrap,
.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-body .add-new-shipping-carrier-html-content-body-row .add-new-shipping-carrier-html-content-body-country-wrap {
    width: 33%;
    display: flex;
    flex-direction: column;
}

.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-body .edit-shipping-carrier-html-content-body-row .edit-shipping-carrier-html-content-body-carrier-name-wrap,
.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-body .edit-shipping-carrier-html-content-body-row .edit-shipping-carrier-html-content-body-country-wrap {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.add-new-shipping-carrier-html-content .add-new-shipping-carrier-html-content-body .add-new-shipping-carrier-html-content-body-row .add-new-shipping-carrier-html-content-body-carrier-url-wrap,
.edit-shipping-carrier-html-content .edit-shipping-carrier-html-content-body .edit-shipping-carrier-html-content-body-row .edit-shipping-carrier-html-content-body-carrier-url-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.add-new-shipping-carrier-html-content input[type="text"],
.edit-shipping-carrier-html-content input[type="text"] {
    min-height: 34px;
    border-radius: 3px;
    box-shadow: unset;
}

.add-new-shipping-carrier-html-content-footer,
.edit-shipping-carrier-html-content-footer {
    display: flex;
    padding: 20px;
    justify-content: flex-end;
}

.select2-container.select2-container--add-new-shipping-carrier-select2.select2-container--open .select2-dropdown--below {
    max-width: 100% !important;
}

.woo-orders-tracking-footer-container .select2-container.select2-container--add-new-shipping-carrier-select2.select2-container--open {
    position: relative !important;
    border-bottom: 0;
}

.woo-orders-tracking-footer-container .select2-container.select2-container--add-new-shipping-carrier-select2 {
    height: 34px !important;
    border: 1px solid rgba(34, 36, 38, .15);
    border-radius: 3px;
    line-height: 34px;
}

.select2-container.select2-container--add-new-shipping-carrier-select2.select2-container--open {
    position: fixed !important;
    z-index: 9999999999999;
    width: 250px;
    max-width: 250px;

}

.select2-container .select2-results__options {
    max-height: 200px;
    overflow: auto;
}

/*
email settings css
 */

.woo-orders-tracking-setting-email-time-wrap {
    display: flex;
    justify-content: space-between;
}

.woo-orders-tracking-setting-email-time-wrap .woo-orders-tracking-setting-email-time-send,
.woo-orders-tracking-setting-email-time-wrap .woo-orders-tracking-setting-email-time-send-delay {
    max-width: 45%;
}

.woo-orders-tracking-footer-container .woo-orders-tracking-footer-content {
    position: relative;
    z-index: 99;
    width: 700px;
    max-height: 90%;
    overflow: auto;
    max-width: 100%;
}

.woo-orders-tracking-footer-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.woo-orders-tracking-footer-container .woo-orders-tracking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 1, 1, 0.3);
}

.woo-orders-tracking-hidden {
    display: none !important;
}

.wotv-error-tracking-url {
    color: red;
}

/*paypal css*/
.woo-orders-tracking-setting-paypal-live-wrap-show {
    margin: 0 !important;
}

.vi-ui.table .wot-paypal-app-table-header th,
.vi-ui.table .wot-paypal-app-content td {
    text-align: center;
}

.woo-orders-tracking-setting-paypal-btn-check-api-text .woo-orders-tracking-success {
    color: #22c722;
}

.woo-orders-tracking-setting-paypal-btn-check-api-text .woo-orders-tracking-error {
    color: red;
}

/*html no scroll*/
html.wot-noscroll {
    position: fixed;
    overflow-y: scroll;
    width: 100%;
}

/*Table of placeholders*/
.woo-orders-tracking-table-of-placeholders {
    max-width: 500px;
}

.woo-orders-tracking-table-of-placeholders .woo-orders-tracking-placeholder-value-copy {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #21ba45;
}

.woo-orders-tracking-table-of-placeholders .woo-orders-tracking-placeholder-value-container {
    position: relative;
}

.preview-emails-html-container.woo-orders-tracking-footer-container .woo-orders-tracking-preview-email-table {
    border: 1px solid #e5e5e5 !important;
    vertical-align: middle;
    width: 100%;
}

.preview-emails-html-container.woo-orders-tracking-footer-container .woo-orders-tracking-preview-email-table th {
    border: 1px solid #e5e5e5;
    vertical-align: middle;
    padding: 12px;
    text-align: left;
}

.preview-emails-html-container.woo-orders-tracking-footer-container .woo-orders-tracking-preview-email-table td {
    border: 1px solid #e5e5e5;
    vertical-align: middle;
    padding: 12px;
    text-align: left;
}

.preview-emails-html-container.woo-orders-tracking-footer-container .woo-orders-tracking-preview-email-table td a {
    text-decoration: none !important;
}

@media screen and (max-width: 480px) {
    .woo-orders-tracking-footer-container .woo-orders-tracking-footer-content {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-type-wrap,
    .woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-action-wrap,
    .woo-orders-tracking-setting-shipping-carriers-filter-wrap .woo-orders-tracking-setting-shipping-carriers-filter-country-wrap {
        max-width: 50%;
    }

    .woo-orders-tracking-setting-shipping-carriers-filter-wrap {
        min-width: unset;
        max-width: 100%;
    }

    .woo-orders-tracking-setting-shipping-carriers-list-wrap {
        grid-template-columns: repeat(2, 49%);
    }
}

.woo-orders-tracking-button-save-settings-container {
    position: sticky;
    bottom: 20px;
    z-index: 9;
    display: inline-block;
}

@media screen and (max-width: 480px) {
    .woo-orders-tracking-button-save-settings-container {
        bottom: 0;
    }

    .woo-orders-tracking-button-save-settings-container .vi-ui.button {
        font-size: .85rem !important;
    }
}

/*Default track info*/
table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .vi-ui.dropdown {
    min-width: unset;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    padding-left: 8px !important;
    max-width: 300px;
}

table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .woo-orders-tracking-ft-message-no-td,
table.woo-orders-tracking-default-track-info-table.vi-ui.table thead tr th {
    text-align: center;
}

table.woo-orders-tracking-default-track-info-table.vi-ui.table tr td,
table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .vi-ui.dropdown .menu .item,
table.woo-orders-tracking-default-track-info-table.vi-ui.table tr input,
table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .vi-ui.label {
    padding: 8px !important;
}

.table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .vi-ui.dropdown > .text {
    white-space: nowrap;
}

.table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .woo-orders-tracking-ft-message-time-td .woo-orders-tracking-ft-message-time-day {
    min-width: 56px;
}

.table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .woo-orders-tracking-ft-message-time-td .woo-orders-tracking-ft-message-time-hour,
.table.woo-orders-tracking-default-track-info-table.vi-ui.table tr .woo-orders-tracking-ft-message-time-td .woo-orders-tracking-ft-message-time-minute {
    min-width: 50px;
}

.wot-input-shortcode-field {
    width: auto !important;
    min-width: 27ch;
    text-align: center;
}