body, html {
    height: auto !important;
}

/* START OF SWITCHER */
.trigger_div {
    padding: 5px 20px 5px 162px !important;
    margin: 9px 0;
}

.trigger_div .ios-switch,
.trigger_div .switch {
    float: left;
    margin: 0 0 0 -150px !important;
}

.trigger_div label {
    float: unset;
    width: unset;
    margin: unset;
}

@media all and (max-width: 500px) {
    .trigger_div {
        display: flex;
        padding: 5px 20px 5px 20px !important;
        flex-direction: column-reverse;
    }

    .trigger_div .ios-switch {
        margin: 0px !important;
    }

    .trigger_div .switch {
        margin: 15px 0px 0px !important;
    }

    .trigger_div label {
        float: left;
    }
}

.toggleFeed.ios-switch,
.toggleFeed.ios-switch + div {
    margin-left: -40px;
}

@media all and (max-width: 782px) {
    .toggleFeed.ios-switch {
        position: absolute;
        margin-left: unset;
        right: 0;
        z-index: 2;
        top: -3px;
    }

    .toggleFeed.ios-switch + div {
        position: absolute;
        margin-left: unset;
        right: 0;
        top: -3px;
    }
}

/* iOS checkbox */
input[type="checkbox"].ios-switch { /* .catalog_settings form here acting as a filter for older browsers */
    position: absolute;
    opacity: 0;
}

input[type="checkbox"].ios-switch,
div.switch {
    display: inline-block;
    vertical-align: middle;
    width: 3em;
    height: 1em;
    border: 1px solid #9aa3b2;
    border-radius: 999px;
    margin: 0 .5em;
    background: white;
    background-image: linear-gradient(rgba(0, 0, 0, .1), transparent), linear-gradient(90deg, #397af4 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-origin: border-box;
    background-clip: border-box;
    overflow: hidden;
    transition-duration: .4s;
    transition-property: padding, width, background-position, text-indent;
    /* box-shadow: 0 0.1em 0.1em rgba(0,0,0,.2) inset, 0 0.45em 0 0.1em rgba(0,0,0,.05) inset; */
    font-size: 168%;
    margin-top: 3.5px;
    margin-left: 0;
}

input[type="checkbox"].ios-switch:checked + div.switch {
    padding-left: 2em;
    width: calc(1em - 1px);
    background-position: 0 0;
}

input[type="checkbox"].ios-switch + div.switch:before {
    content: 'On';
    float: left;
    width: 1.65em;
    height: 1.65em;
    margin-top: -1px;
    margin-left: -1px;
    border: 1px solid rgb(154, 163, 179);
    border-radius: inherit;
    background: white;
    color: white;
    text-indent: -2.5em;
    background: #e6e6e6;
}

input[type="checkbox"].ios-switch:active + div.switchdiv:before {
    background-color: #eee;
}

input[type="checkbox"].ios-switch + div.switch:before,
input[type="checkbox"].ios-switch + div.switch:after {
    font: bold 60%/1.9 sans-serif;
    text-transform: uppercase;
}

input[type="checkbox"].ios-switch + div.switch:after {
    content: 'Off';
    float: left;
    text-indent: .5em;
    color: rgba(0, 0, 0, .45);
    text-shadow: none;

}

/* iOS chackbox ended */

body.rtl input[type="checkbox"].ios-switch {
    float: right;
    margin: 0 -115px 0 0 !important;
}

body.rtl .trigger_div .switch {
    float: right;
    margin: 0 0 0 49px !important;
}

body.rtl input[type="checkbox"].ios-switch:checked + div.switch {
    float: right;
    margin: 0 0 0 50px !important;
}

body.rtl input[type="checkbox"].ios-switch + div.switch:before {
    text-indent: 2.5em;
}

body.rtl input[type="checkbox"].ios-switch, body.rtl div.switch {
    transition-property: initial;
}

.woocommerce_variable_attributes .trigger_div {
    padding-left: 150px !important;
}

/* END OF SWITCHER */

.extra-link-2-wrapper {
    margin-left: 10px;
}

/* START OF DROPDOWN */
/* FastSelect */
.fstElement {
    width: 100%;
    border-radius: 0.25em;
}

.fstControls {
    padding: 0.4em 0.2em 0em 0.4em;
}

.fstMultipleMode .fstControls {
    padding: 0.4em 0.2em 0em 0.4em;
    width: 100%;
}

.fstControls .fstChoiceItem {
    font-size: 1em;
    padding: .1em .3em .1em 1.3em;
    border-radius: .4em;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
}

.fstResultItem {
    font-size: 0.7em;
    padding: .2em;
}

.fstMultipleMode .fstQueryInput {
    font-size: 0.7em;
}

/* FastSelect ended */

.wpwoof-box .fstElement {
    width: calc(100% - 50px);;
}

.wpwoof-box .fstToggleBtn {
    padding: 5px 10px;
    font-size: 15px;
}

.wpwoof-box .fstGroupTitle {
    font-size: 15px;
    padding: .2em;
    margin: 0;
}

.wpwoof-box .fstResultItem {
    font-size: 15px;
    padding-left: 15px;
}

.wpwoof-box .fstSingleMode .fstQueryInput {
    font-size: 15px;
}

.add-new-field-wrapper .fstElement {
    width: calc(50% + 71px);
}

/* END OF DROPDOWN */

/* START OF Extra custom field */

.add-extra-fields.form-field.custom_field_type span.extra-link-wrapper {
    display: block;
    width: auto;
    float: none;
    clear: both;
}

.add-extra-fields.form-field.custom_field_type .extra-link-wrapper label {
    float: none;
}

.add-extra-fields.form-field.custom_field_type .extra-link-wrapper label {
    margin: 0 15px 0 5px;
    width: auto;
}

/* END OF Extra custom field */

/* START OF product variations */
.woocommerce_variable_attributes.product-catalog-feed-pro .form-field {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field label {
    width: 150px;
    display: inline-block;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field span.wrap {
    width: 50%;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field span.extra-link-2-wrapper {
    width: 40px;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field select.select.short {
    width: calc(50% - 18px);
    margin-right: 2.5%;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field > input.short {
    width: 47.5%;
    margin-right: 2.5%;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type input.catalog-pro-custom-extra-field {
    margin-left: 0 !important;
    width: 140px !important;
    margin-right: 10px;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type .extra-link-wrapper {
    padding-top: 5px;
    padding-left: 150px;
}

.catalog-pro-variations-google-taxonomy-container {
    width: 50%;
}

.catalog-pro-variations-google-taxonomy-container select {
    width: 100%;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .add-new-field-wrapper .fstElement {
    width: calc(60% + 71px);
    margin-right: 8px;
}

/* END OF product variations */

#woocommerce-coupon-data ul.wc-tabs, #woocommerce-product-data ul.wc-tabs, .woocommerce ul.wc-tabs {
    overflow: hidden;
}


.extra-link__item,
.extra-link-wrapper .extra-link__item {
    display: block;
    font-size: 12px;
    line-height: 24px;
}

.woocommerce_options_panel .custom_extra_field_editor input.button {
    margin-left: 0;
    margin-top: 8px;
    margin-bottom: 8px;
}

.woocommerce_options_panel .add-extra-fields input[type=number],
.woocommerce_options_panel .add-extra-fields input[type=text],
.woocommerce_options_panel .add-extra-fields select {
    width: 65%;
    min-height: 40px;
}

.woocommerce_options_panel input.wpfoof-box-upload-button {
    margin-left: 0;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .form-field.add-extra-fields select.select.short {
    width: 47.5%;
    margin-right: 2.5%;
}

@media (min-width: 783px) {
    #woof_add_extra_fields.woocommerce_options_panel .dimensions_field .wrap,
    #woof_add_extra_fields.woocommerce_options_panel .short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=email].short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=number].short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=password].short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=text].short {
        /*width: calc(100% - 80px);*/
        width: 50%;
    }

    .product-catalog-feed-pro select,
    .product-catalog-feed-pro .form-field input[type=email],
    .product-catalog-feed-pro .form-field input[type=number],
    .product-catalog-feed-pro .form-field input[type=password],
    .product-catalog-feed-pro .form-field input[type=search],
    .product-catalog-feed-pro .form-field input[type=tel],
    .product-catalog-feed-pro .form-field input[type=text],
    .product-catalog-feed-pro .form-field input[type=url],
    .product-catalog-feed-pro .form-field textarea {
        border-style: solid;
        border-width: 1px;
        width: 100%;
        max-width: 100%;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field:not(.add-extra-fields) select.select.short {
        width: 100%;
        margin-right: 0;
    }

    .product-catalog-feed-pro .form-field .custom_field_type select,
    .product-catalog-feed-pro .form-field .custom_field_type input[type=number],
    .product-catalog-feed-pro .form-field .custom_field_type input[type=text],
    .product-catalog-feed-pro .form-field .custom_field_type input[type=tel],
    .product-catalog-feed-pro .form-field .custom_field_type input[type=search],
    .product-catalog-feed-pro .form-field .custom_field_type input[type=url] {
        width: 50%;
        max-width: 50%;
    }
}

.form-field.custom_field_type span.extra-link-2-wrapper,
.woocommerce_variable_attributes.product-catalog-feed-pro .form-field span.extra-link-2-wrapper {
    width: 90px;
}

.woocommerce_variable_attributes.product-catalog-feed-pro .fstElement {
    border-radius: 3px;
    border-color: #8c8f94;
}

.show_if_variation_downloadable {
    overflow: hidden;
}

#woof_add_extra_fields.woocommerce_options_panel .dimensions_field .wrap,
#woof_add_extra_fields.woocommerce_options_panel .short,
#woof_add_extra_fields.woocommerce_options_panel input[type=email].short,
#woof_add_extra_fields.woocommerce_options_panel input[type=number].short,
#woof_add_extra_fields.woocommerce_options_panel input[type=password].short,
#woof_add_extra_fields.woocommerce_options_panel input[type=text].short,
.wp-core-ui .product-catalog-feed-pro input[type=text],
.wp-core-ui .product-catalog-feed-pro input[type=tel],
.wp-core-ui .product-catalog-feed-pro input[type=email],
.wp-core-ui .product-catalog-feed-pro input[type=number],
.wp-core-ui .product-catalog-feed-pro select,
.data .form-row input[type=text],
.data .form-row input[type=email],
.data .form-row input[type=tel],
.data .form-row input[type=number],
.data .form-row select {
    min-height: 40px;
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

.add-extra-fields.custom_extra_field_editor > input:first-child {
    margin-left: 0 !important;
}

#woof_add_extra_fields .add-extra-fields.custom_extra_field_editor > input:first-child {
    margin-left: -150px !important;
}

.custom_field_type.add-extra-fields.custom_extra_field_editor .wp-editor-wrap {
    margin-bottom: 8px;
}

.product_data .remove-extra-field-product-btn {
    min-height: 40px;
}

.woocommerce_options_panel div.form-field.add-extra-fields,
.woocommerce_options_panel p.form-field.add-extra-fields,
.woocommerce_variable_attributes.product-catalog-feed-pro div.form-field.add-extra-fields,
.woocommerce_variable_attributes.product-catalog-feed-pro p.form-field.add-extra-fields {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #dcdcde;
    display: block !important;
}

.woocommerce_options_panel div.form-field {
    padding: 5px 20px 5px 162px !important;
}

.product_data #hr-befor-add-new-field {
    display: none;
}

.woocommerce_options_panel .extra-link__item label {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
}

.product-catalog-feed-pro div hr {
    display: none;
}


html[dir="rtl"] .woocommerce_options_panel input.wpfoof-box-upload-button {
    margin-right: 0;
}

html[dir="rtl"] .woocommerce_options_panel .custom_extra_field_editor input.button {
    margin: 8px 0;
}

html[dir="rtl"] .extra-link-2-wrapper {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="rtl"] .trigger_div input[type="checkbox"].ios-switch + div.switch:after {
    padding-left: 5px;
}

html[dir="rtl"] .fstToggleBtn:after {
    right: auto;
    left: .71429em;
}

html[dir="rtl"] #woof_add_extra_fields .custom_extra_field_editor > input:first-child,
html[dir="rtl"] #woof_add_extra_fields .custom_extra_field > input:first-child {
    margin-left: 0 !important;
    margin-right: -150px;
}

html[dir="rtl"] .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type input.catalog-pro-custom-extra-field {
    margin-right: 0 !important;
    width: 140px !important;
}

html[dir="rtl"] .custom_extra_field_editor input[type=checkbox]:checked::before,
html[dir="rtl"] .custom_extra_field input[type=checkbox]:checked::before {
    margin: -2px -3px 5px 1px;
}

html[dir="rtl"] .wpwoof-box.add-new-field-wrapper .button {
    margin-right: 4px;
}

html[dir="rtl"] .woocommerce_variable_attributes .trigger_div {
    padding-right: 0 !important;
}

html[dir="rtl"] .woocommerce_variable_attributes.product-catalog-feed-pro .add-new-field-wrapper .fstElement {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .woocommerce_variable_attributes.product-catalog-feed-pro .form-field > input.short {
    margin-right: 1%;
    margin-left: 1%;
}

html[dir="rtl"] .custom_extra_field_editor .button {
    display: block;
    margin: 8px 0;
}

html[dir="rtl"] #woocommerce-product-data .checkbox:checked:before {
    margin: -2px -2px;
}

@media (min-width: 783px) {
    html[dir="rtl"] #woof_add_extra_fields.woocommerce_options_panel .dimensions_field .wrap,
    html[dir="rtl"] #woof_add_extra_fields.woocommerce_options_panel .short,
    html[dir="rtl"] #woof_add_extra_fields.woocommerce_options_panel input[type=email].short,
    html[dir="rtl"] #woof_add_extra_fields.woocommerce_options_panel input[type=number].short,
    html[dir="rtl"] #woof_add_extra_fields.woocommerce_options_panel input[type=password].short,
    html[dir="rtl"] #woof_add_extra_fields.woocommerce_options_panel input[type=text].short {
        /*width: calc(100% - 90px);*/
        width: 50%;
    }
}


@media (min-width: 851px) and (max-width: 1200px) {
    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field > input.short {
        width: calc(100% - 150px - 2.5% - 70px);
    }
}


@media (max-width: 1200px) {
    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field label {
        width: 100%;
    }

    .extra-link-wrapper .extra-link__item {
        display: block;
    }
}


@media (max-width: 782px) {
    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.add-extra-fields span.extra-link-2-wrapper {
        padding-bottom: 10px;
    }

    .woocommerce_variable_attributes .data {
        padding: 1em 1em;
    }

    .woocommerce_variable_attributes .trigger_div {
        padding-left: 0 !important;
    }

    .data .form-row input[type=text],
    .data .form-row input[type=email],
    .data .form-row input[type=tel],
    .data .form-row input[type=number],
    .data .form-row select {
        min-height: 40px;
        height: 40px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .data .custom_field_type input[type=text],
    .data .custom_field_type input[type=email],
    .data .custom_field_type input[type=tel],
    .data .custom_field_type input[type=number],
    .data .custom_field_type textarea,
    .data .custom_field_type select {
        max-width: 100%;
        width: 100% !important;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field span.wrap,
    .catalog-pro-variations-google-taxonomy-container {
        width: 100%;
    }

    .form-field.custom_field_type span.extra-link-2-wrapper,
    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field span.extra-link-2-wrapper {
        display: inline-block;
        margin-left: 0;
        width: 100%;
    }

    .woocommerce_options_panel .custom_field_type .dimensions_field .wrap,
    .woocommerce_options_panel .custom_field_type .short,
    .woocommerce_options_panel .custom_field_type input[type=email].short,
    .woocommerce_options_panel .custom_field_type input[type=number].short,
    .woocommerce_options_panel .custom_field_type input[type=password].short,
    .woocommerce_options_panel .custom_field_type input[type=text].short {
        max-width: 100%;
        width: 100%;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field > input.short,
    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field select.select.short {
        margin-right: 0;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field input.button {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type input.catalog-pro-custom-extra-field {
        width: 100%;
        margin-bottom: 4px;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type .extra-link-wrapper {
        padding-left: 0;
        width: 100%;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type .extra-link__item {
        margin-bottom: 8px;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .custom_extra_field_editor > input:first-child {
        width: 140px !important;
        margin-left: 0 !important;
    }

    .wp-core-ui .button,
    .wp-core-ui .button-primary,
    .wp-core-ui .button-secondary {
        min-height: 40px;
    }

    .add-new-field-wrapper .fstElement {
        height: 40px;
    }

    .extra-link-wrapper .extra-link__item {
        display: flex;
        align-items: center;
        margin-bottom: 4px;
    }

    .extra-link-wrapper .extra-link__item input {
        flex-shrink: 0;
    }

    .extra-link-wrapper .extra-link__item label {
        display: inline-block !important;
    }

    .woocommerce_options_panel .add-extra-fields input[type=number]:not(.catalog-pro-custom-extra-field),
    .woocommerce_options_panel .add-extra-fields input[type=text]:not(.catalog-pro-custom-extra-field),
    .woocommerce_options_panel .add-extra-fields select {
        width: calc(100% - 85px) !important;
    }

    .wc-metaboxes-wrapper .wc-metabox h3 select {
        max-width: 50%;
        width: 100%;
    }

    .add-extra-fields.custom_extra_field_editor {
        padding-left: 0;
    }

    .custom_field_type.add-extra-fields {
        border-bottom: 1px solid #dcdcdc;
    }

    #hr-befor-add-new-field {
        display: none;
    }

    html[dir="rtl"] .woocommerce_variable_attributes.product-catalog-feed-pro .form-field > input.short {
        margin-right: 0;
        margin-left: 0;
    }
}


@media (max-width: 576px) {
    #woocommerce-product-data .hndle select {
        margin-left: 0;
    }

    #variable_product_options .toolbar-top .bulk_edit.do_variation_action {
        margin-top: 4px;
    }

    .show_if_variation_downloadable table.widefat thead {
        display: none;
    }

    .show_if_variation_downloadable table.widefat tbody tr {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        width: 100%;
        align-items: center;
        border-bottom: 1px solid rgb(238, 238, 238);
    }

    .woocommerce_variations .downloadable_files table.widefat .file_url,
    .woocommerce_variations .downloadable_files table.widefat .file_name,
    .woocommerce_variations .downloadable_files table.widefat .file_url input,
    .woocommerce_variations .downloadable_files table.widefat .file_name input {
        width: 100%;
    }

    .show_if_variation_downloadable table.widefat .file_url_choose,
    .show_if_variation_downloadable table.widefat td:last-child {
        width: 45%;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .add-new-field-wrapper .fstElement {
        margin-right: 0;
        width: 100%;
    }

    .wpwoof-box.add-new-field-wrapper > p {
        flex-wrap: wrap;
    }

    .wpwoof-box.add-new-field-wrapper .button {
        margin-left: 0;
        margin-top: 8px;
    }

    .add-new-field-wrapper .fstElement {
        width: 100%;
    }

    .form-row.form-row-first,
    .form-row.form-row-last {
        width: 100%;
        float: none;
        overflow: hidden;
    }

    .variations-pagenav {
        overflow: hidden;
        width: 100%;
    }

    .extra-link-2-wrapper {
        margin-left: 0;
    }

    #woof_add_extra_fields.woocommerce_options_panel .dimensions_field .wrap,
    #woof_add_extra_fields.woocommerce_options_panel select.short,
    #woof_add_extra_fields.woocommerce_options_panel .short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=email].short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=number].short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=password].short,
    #woof_add_extra_fields.woocommerce_options_panel input[type=text].short {
        width: 100%;
        max-width: 100%;
    }

    .woocommerce_variable_attributes.product-catalog-feed-pro .custom_extra_field_editor > input:first-child,
    .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type input.catalog-pro-custom-extra-field {
        margin-left: 0 !important;
        width: 100% !important;
        margin-right: 0;
    }

    html[dir="rtl"] .wpwoof-box.add-new-field-wrapper .button {
        margin-right: 0;
        margin-top: 8px;
    }

    html[dir="rtl"] .woocommerce_variable_attributes.product-catalog-feed-pro .form-field.custom_field_type input.catalog-pro-custom-extra-field {
        margin-right: 0 !important;
        width: 100% !important;
    }
}


@media (max-width: 500px) {
    .catalog-pro-custom-extra-field {
        margin-left: 0 !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    html[dir="rtl"] .catalog-pro-custom-extra-field {
        margin-right: 0 !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .woocommerce_options_panel fieldset.form-field,
    .woocommerce_options_panel p.form-field,
    .woocommerce_options_panel div.form-field {
        padding: 5px 10px !important;
    }

    .woocommerce_options_panel .trigger_div {
        padding: 5px 10px 5px 10px !important;
    }

    #woof_add_extra_fields .add-extra-fields.custom_extra_field_editor > input:first-child {
        margin-left: 0 !important;
    }
}