* {
    box-sizing: border-box;
}

#wpfooter {
    position: fixed;
}

/*************/
/*  General  */
/*************/
.wppfm-page-layout,
.wppfm-page-layout__main {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4em;
}

.wppfm-data-storage-element {
    display: none;
}

.wppfm-message-field {
    margin-left: 0;
}

.wppfm-auto-center-page-wrapper {
    margin: 0 auto;
    max-width: 1200px;
}

.wppfm-center-page__title {
    margin: 16px auto;
    max-width: 1200px;
}

.wppfm-page__title h1 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

table.wppfm-table {
    border: none;
    border-collapse: separate;
    border-radius: 5px;
    border-spacing: 0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

table.wppfm-table tr:nth-child(even) {
    background-color: #f9f9fa;
}

table.wppfm-table tr:nth-child(odd) {
    background-color: #fff;
}

.wppfm-button-wrapper {
    display: inline-block;
    margin: 16px 0;
}

.wppfm-button-wrapper a,
.wppfm-inline-button-wrapper a {
    border-radius: 4px;
    font-weight: 400;
    padding: 8px 16px;
    text-decoration: none;
}

.wppfm-inline-button-wrapper {
    display: inline-block;
    margin-right: 12px;
}

i.wppfm-icon-plus {
    mask-image: url('../images/wppfm-icon-add.svg');
}

i.wppfm-button-icon {
    background-color: currentColor;
    display: inline-flex;
    height: 16px;
    margin-right: 6px;
    margin-top: 1px;
    width: 16px;
}

.wppfm-button {
    display: inline-flex;
}

.wppfm-inline-button {
    margin-right: 3px;
}

.wppfm-blue-button {
    background-color: #3187de;
    border: 1px solid #3187de;
    color: #fff;
}

.wppfm-blue-button:focus,
.wppfm-blue-button:hover {
    background-color: #286daf;
    border: 1px solid #286daf;
    color: #fff;
}

.wppfm-orange-button {
    background-color: #ea777c;
    color: #fff;
}

.wppfm-orange-button:focus,
.wppfm-orange-button:hover {
    background-color: #ee4951;
    color: #fff;
}

.wppfm-green-button {
    background-color: #648143;
    color: #fff;
}

.wppfm-green-button:focus,
.wppfm-green-button:hover {
    background-color: #536936;
    color: #fff;
}

.wppfm-disabled-button,
.wppfm-disabled-button:focus,
.wppfm-disabled-button:hover {
    background-color: #f9f9fa;
    border: 1px solid #b5b5b5;
    color: #b5b5b5;
    cursor: default;
    pointer-events: none;
}

.wppfm-page-layout__main {
    box-sizing: border-box;
    padding: 0 23px 10px 0;
}

.wppfm-weblog-teaser {
    float: right;
    margin-right: 26px;
    max-width: 845px;
    position: relative;
    top: -40px;
}

.wppfm-weblog-teaser a:active,
.wppfm-weblog-teaser a:focus {
    border: none;
    box-shadow: none;
}

.wppfm-weblog-teaser-caption {
    font-size: 15px;
    font-style: italic;
    letter-spacing: -0.01em;
}

.wppfm-wide-text-input-field {
    width: 45%;
}

.wppfm-medium-text-input-field {
    width: 20%;
}

.wppfm-col10w {
    width: 10%;
}

.wppfm-col20w {
    width: 20%;
}

.wppfm-col30w {
    width: 30%;
}

.wppfm-col40w {
    width: 40%;
}

.wppfm-col55w {
    width: 55%;
}

.wppfm-col80w {
    width: 82%;
}

div.wppfm-license-wrapper {
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    margin: 60px auto 2px auto;
    padding: 5px 30px;
    width: 60%;
}

/*****************/
/*  Page Header  */
/*****************/
.wppfm-full-screen-message-field {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    color: red;
    font-weight: 600;
    margin: 50px auto;
    min-height: 85px;
    padding: 20px;
    width: 95%;
}

.wppfm-full-screen-message-field p {
    font-size: 16px;
    margin: 0;
}

.wppfm-warning-message__icon {
    float: left;
}

.wppfm-warning-message__icon img {
    height: 50px;
    width: 50px;
}

.wppfm-warning-message__content {
    display: inline-block;
    padding-left: 15px;
    width: calc(100% - 60px);
}

#wpcontent .wppfm-page-layout__header {
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
    box-sizing: border-box;
    margin-left: -20px;
    padding: 10px 32px;
}

.wppfm-page-layout__header {
    background-color: #fff;
    font-size: 16px;
}

.wppfm-page-layout__header > div {
    display: inline-block;
    vertical-align: middle;
}

.wppfm-page-layout__header__logo .wppfm-logo img {
    display: block;
    line-height: 0;
    max-width: 55px;
}

.wppfm-page-layout__header__nav-wrapper {
    margin-left: 10px;
    width: calc(100% - 67px);
}

.wppfm-nav-wrapper {
    display: inline-block;
    width: 100%;
}

.wppfm-nav-wrapper a {
    border: 1px solid #fff;
    border-radius: 4px;
    font-weight: 600;
    padding: 8px 16px;
    text-decoration: none;
}

.wppfm-nav-wrapper a:active,
.wppfm-nav-wrapper a:focus,
.wppfm-nav-wrapper a:hover {
    background-color: #fdfdfe;
    border: 1px solid #f0f0f1;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    transition-property: all;
}

.wppfm-nav__feed-selectors {
    display: inline-block;
}

.wppfm-nav__support-selectors {
    float: right;
    text-align: right;
}

.wppfm-nav__selector {
    display: inline-block;
    margin: 0 16px;
}

a.wppfm-nav-link--selected,
a.wppfm-nav-link--selected:hover { /* prevent the active navigation button to change on hover */
    background-color: #3187de;
    border: 1px solid #3187de;
    border-radius: 4px;
    color: #fff;
}

div#wppfm-working-spinner {
    height: 50px; /*height of the spinner gif +2px to fix IE8 issue */
    left: 50%;
    margin-left: -25px; /* half width of the spinner gif */
    margin-top: -25px; /* half height of the spinner gif */
    overflow: auto;
    position: fixed;
    text-align: center;
    top: 12%;
    width: 50px; /* width of the spinner gif */
    z-index: 1000;
}

div#wppfm-progress-bar {
    background-color: #fff;
    display: inline-block;
    height: 10px;
    margin-top:4px;
    width: calc(100% - 16px);
}

div#wppfm-progress-bar__bar {
    background-color: #536936;
    height:8px;
    margin: 1px;
    width: 10%;
}

/***********************/
/*  Product Feed List  */
/***********************/

table.wppfm-table a:focus {
    border: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

table.wppfm-large-table {
    width: 100%;
}

table.wppfm-large-table thead,
table.wppfm-large-table tfoot {
    height: 50px;
}

th#wppfm-feed-list-table-header-column-name {
    width: 15%;
}

th#wppfm-feed-list-table-header-column-updated {
    width: 160px;
}

th#wppfm-feed-list-table-header-column-items {
    width: 110px;
}

th#wppfm-feed-list-table-header-column-type {
    width: 15%;
}

th#wppfm-feed-list-table-header-column-status {
    width: 120px;
}

/*************************/
/*  Select2 Support CSS  */
/*************************/

span.select2-selection {
    min-height: 30px;
    margin-top: 3px;
}

/*
span.select2-container {
    width: 90%!important;
}
*/
/*************************/
/*  Product Feed Editor  */
/*************************/

div.wppfm-feed-editor-wrapper,
div.wpprfm-review-feed-editor-wrapper,
div.wpppfm-promotions-feed-editor-wrapper {
    padding: 0 23px 10px 0;
}

section.wppfm-main-input-wrapper {
    display: inline-block;
    padding: 44px 20px 0 0;
    vertical-align: top;
    width: 40%
}

section.wppfm-category-mapping-and-filter-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 60%;
}

section.wppfm-attribute-mapping-wrapper {
    display: inline-block;
    padding-top: 20px;
    width: 100%;
}

.wppfm-top-buttons-wrapper {
    margin-top: 15px;
}

/*******************************************/
/*  Product Feed Editor - main-input-table */
/*******************************************/

table.wppfm-feed-editor-main-input-table {
    width: 100%;
}

table.wppfm-feed-editor-main-input-table tr, table.wppfm-feed-editor-google-analytics-table tr {
    text-align: left;
    height: 49px;
}

table.wppfm-feed-editor-main-input-table th, table.wppfm-feed-editor-google-analytics-table th {
    min-width: 175px;
    width: 32%;
}

table.wppfm-feed-editor-main-input-table input:not([type="checkbox"]),
table.wppfm-feed-editor-main-input-table select {
    width: 90%;
}

/**************************************************************/
/*  Product Feed Editor - category-mapping-and-product-filter */
/**************************************************************/

table.wppfm-category-mapping-table {
    height: auto;
}

table.wppfm-category-mapping-table tbody {
    display: block;
    float: left;
    height: 370px;
    overflow-y: scroll;
    width: 100%;
}

table.wppfm-category-mapping-table td {
    text-align: left;
}

table.wppfm-category-mapping-table tr {
    display: table;
    width: 100%;
}

div.wppfm-main-product-filter-section__body {
    background-color: #f9f9fa;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    display: block;
    margin-bottom: 15px;
    padding: 2px 10px;
}

input.wppfm-filter-input-control {
    position: relative;
    top: 3px;
}

/*******************************************/
/* Product Feed Editor - attribute mapping */
/*******************************************/

.wppfm-feed-editor-attributes-wrapper {
    background-color: #f9f9fa;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    display: block;
    margin-bottom: 15px;
    padding: 2px 10px;
}

.wppfm-feed-editor-attributes__label {
    border-bottom: 4px solid #f0f0f1;
}

.wppfm-feed-editor-attributes__label h4 {
    display: list-item;
    font-size: 1.2em;
    font-weight: 600;
    list-style-position: inside;
    list-style-type: circle;
    margin-bottom: 10px;
}

.wppfm-feed-editor-attributes__table {
    margin-bottom: 10px;
}

.wppfm-feed-editor-attributes__table-header {
    background-color: #fff;
}

.wppfm-feed-editor-attributes__table > .wppfm-attribute-row-wrapper:not(:first-of-type) {
    border-top: 1px solid #b5b5b5;
}

.wppfm-column-header {
    display: inline-block;
    padding: 8px;
}

.wppfm-attribute-row-wrapper {
    padding: 10px 5px;
}

.wppfm-attribute-row {
    display: flex;
    padding: 5px 0;
}

.wppfm-attribute-column {
    display: inline-block;
}

.wppfm-edit-value-column {
    margin-left: auto;
}

.wppfm-attribute-label {
    background-color: #b5b5b5;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 10px;
    position: relative;
    &:after {
        border-left: 18px solid #b5b5b5;
    }
}

.wppfm-attribute-label:after { /* Triangle to the right of the attribute label */
    content: '';
    border-bottom: 11px solid transparent;
    border-top: 11px solid transparent;
    height: 0;
    margin-right: -19px;
    margin-top: -2px;
    position: absolute;
    right: 0;
    width: 0;
}

.wppfm-remove-output {
    margin-left: 25px;
}

.wppfm-select-control {
    display: inline-block;
    margin-top: 3px;
}

.change-source-value-wrapper {
    display: inline-block;
    width: 100%
}

.wppfm-value-option-input {
    margin-top: 3px;
}

.wppfm-condition-value, .static-input-field {
    position: relative;
    top: 3px;
}

.wppfm-add-combined-field {
    position: relative;
    top: 3px;
}

.wppfm-condition-selector {
    position: relative;
    top: 3px;
}

.wppfm-sub-condition-selector {
    margin-top: -3px;
}

/***************************************************/
/*  Product Feed Editor - Google Analytics mapping */
/***************************************************/
div.wppfm-google-analytics-input-wrapper {
    background-color: #f9f9fa;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    margin-bottom: 30px;
    padding: 2px 10px 10px 10px;
}

div.wppfm-google-analytics__sub-title-wrapper, div.wppfm-product-filter-info-wrapper {
    background-color: #fff;
    margin: 5px 0 10px 0;
    padding: 3px;
}

p.wppfm-analytics-info-sub-title {
    margin: 3px;
}

div.wppfm-google-analytics-element {
    display: inline-block;
    min-width: 210px;
}

/**********************************/
/*  Feed Manager Channel Manager  */
/**********************************/

.wppfm-channel-manager-wrapper {
    padding: 0 12px;
    vertical-align: center;
}

.wppfm-channel-tile-wrapper {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    border-spacing: 0;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    display: inline-block;
    height: 180px;
    margin: 0 5px 10px 5px;
    padding: 10px;
    width: 280px;
}

img.wppfm-channel-tile__thumbnail {
    height: 70px;
    margin: 0;
    width: 140px;
}

div.wppfm-popup {
    background-color: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    left: calc(50% + 80px - 175px); /* 50% + half the width of the WP menu - half of the width of the popup */
    margin-top: -150px;
    padding: 20px;
    position: fixed;
    top: 50%;
    width: 350px;
    z-index: 100;
}

.wppfm-popup__header {
    display: flex;
    justify-content: space-between;
}

.wppfm-popup__close-button {
    cursor: pointer;
}

.wppfm-popup__header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.wppfm-popup__content {
    padding: 5px 0 0 0;
}

.wppfm-popup__content-item {
    margin: 5px 0;
}

/***************************/
/*  Feed Manager Settings  */
/***************************/

.wppfm-settings-wrapper table {
    margin: 0 12px;
}

table.wppfm-smallfat {
    background: #fff;
    margin: 0 0 10px 0;
}

table.wppfm-smallfat thead th {
    border-bottom: 1px solid #c3c4c7;
    color: #2c3338;
    font-weight: 400;
    line-height: 1.4em;
    padding: 10px;
}

td#wppfm-backups-table-holder {
    padding-top: 8px;
}

span#wppfm-make-backup-button {
    margin: 0 10px;
}

#wppfm-backup-action-column {
    width: 250px;
}

/**************************/
/*  Feed Manager Support  */
/**************************/

.wppfm-support-wrapper {
    display: grid;
    grid-template-columns: auto auto;
}

.wppfm-support-card {
    background-color: #fff;
    border: none;
    border-radius: 5px;
    border-spacing: 0;
    box-shadow: 1px 1px 2px rgba(16, 24, 40, 0.1);
    display: inline-block;
    margin: 10px;
    padding: 20px 25px;
    width: 95%;
}

.wppfm-support-card__icon {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.wppfm-support-card__icon img {
    height: 50px;
    margin: 0;
    width: 50px;
}
 .wppfm-support-card__header {
    display: inline-block;
    width: 80%;
 }

h2.wppfm-support-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
 }

.wppfm-support-card__content {
    display: inline-block;
    width: 100%;
}

.wppfm-support-card__content ul {
    list-style-position: inside;
    list-style-type: circle;
}

.wppfm-action-card {
    background-color: #ffcd81;
}

.wppfm-video-wrapper {
    display: flex;
    margin: 0 auto;
}

.wppfm-video-wrapper iframe {
    border-radius: 5px;
    height: 260px;
    margin: 0 auto;
    width: 95%;
}

input#wppfm-sign-up-mail-input {
    float: left;
    height: 35px;
    margin-right: 10px;
    width: 50%;
}

/* Processing animation for feed messages */
.wppfm-processing-dots {
    display: inline-block;
}

.wppfm-processing-dots::after {
    /*
     * Cross-browser animated dots.
     *
     * We cannot animate `content` per the CSS Animations spec (Chrome-only behavior),
     * so we reveal a fixed '...' string by animating `width` with `overflow: hidden`.
     * Using a monospace font makes each dot reliably 1ch wide, so widths below map
     * cleanly to: '', '.', '..', '...'.
     */
    content: '...';
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    font-family: monospace;
    width: 0ch;
    animation: wppfm-dots 1.5s infinite;
}

@keyframes wppfm-dots {
    0%, 24% {
        width: 0ch;
    }
    25%, 49% {
        width: 1ch;
    }
    50%, 74% {
        width: 2ch;
    }
    75%, 99% {
        width: 3ch;
    }
    100% {
        width: 0ch;
    }
}