.custom-fields-adapter .wapf-setting__input table {
    display: flex;
    flex-direction: row;
    width: 100% !important;
    overflow-x: auto;
}

.custom-fields-adapter .wapf-setting__input table tbody {
    display: flex;
    flex-direction: row;
}

.custom-fields-adapter .wapf-setting__input table tbody tr {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 240px;
    border: 1px solid #ddd;
    padding: 20px 15px;
    margin: 20px 10px;
    background-color: #f6f6f6;
}

.custom-fields-adapter .wapf-setting__input table tbody tr td {
    width: 100% !important;
    margin: 4px 0;
    padding: 0;
}

.custom-fields-adapter .wapf-setting__input table tbody tr td:last-child {
    position: absolute;
    top: -20px;
}

.custom-fields-adapter .wapf-setting__input table tbody tr td .sun_popup_filter {
    float: right;
    margin-top: 10px;
}

.custom-fields-adapter .wapf-description {
    opacity: 1 !important;
}

.custom-fields-adapter .wapf-description #price-per-page {
    width: 100%;
    margin-bottom: 20px;
}

.custom-fields-adapter .wapf-description #config-select {
    width: 100%;
}

.custom-fields-adapter .wapf-description #config-description {
    margin-top: 20px;
    padding: 0 4px;
}

.custom-fields-adapter .wapf-description #config-description .config-description-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    margin-left: 4px;
}

.custom-fields-adapter .wapf-description #config-description .config-description-row h4 {
    margin: 0 0 0 8px;
    font-size: 1.2em;
}

#publishing-action #publish.deactivated {
    pointer-events: none;
    background-color: gray;
    border-color: gray;
}

#titlewrap label {
    display: none;
}

#titlewrap .title-label {
    padding: 0;
    margin-bottom: 10px;
}

#titlewrap input {
    width: 100%;
}

.sun-wapf-setting {
    width: 380px;
}

.sun-wapf-setting #price-per-page-range-warning {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
}

.sun-wapf-setting #price-per-page-range-warning #price-per-page-range-warning-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    background-color: rgb(255 0 0 / 10%);
    border: solid 1px #f00;
    color: #f00;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    border-radius: 90px;
    cursor: pointer;
}

.sun-wapf-setting #price-per-page-range-warning #price-per-page-range-warning-label {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 8px;
}

.sun-wapf-setting #price-per-page-range-warning.hidden,
.sun-wapf-setting #price-per-page-range-warning #price-per-page-range-warning-icon.hidden,
.sun-wapf-setting #price-per-page-range-warning #price-per-page-range-warning-label.hidden {
    display: none;
}

.sun-wapf-setting #price-per-page-range-warning #price-per-page-range-warning-label.fixed {
    display: block !important;
}

.sun-wapf-setting .price-per-page-ranges {
    margin-bottom: 20px;
}

.sun-wapf-setting .price-per-page-ranges .price-per-page-range {
    display: flex;
    flex-direction: row;
}
.sun-wapf-setting .price-per-page-ranges .price-per-page-range {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.sun-wapf-setting .price-per-page-ranges .price-per-page-range .price-per-page-range-column {
    width: 68px;
    min-width: 68px;
    max-width: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sun-wapf-setting .price-per-page-ranges .price-per-page-range .price-per-page-range-column.price-per-page-range-column-buttons {
    flex-direction: row;
    justify-content: space-around;
}

.sun-wapf-setting .price-per-page-ranges .price-per-page-range .price-per-page-range-column label,
.sun-wapf-setting .price-per-page-ranges .price-per-page-range .price-per-page-range-column input {
    width: 100%;
    padding: 0 6px;
}

.sun-wapf-setting .price-per-page-ranges .price-per-page-range .price-per-page-range-column .price-per-page-range-button {
    font-size: 18px;
    border: solid 1px #2271b1;
    border-radius: 90px;
    width: 16px;
    height: 16px;
    line-height: 15px;
    text-align: center;
    cursor: pointer;
    background-color: #f6f7f7;
    color: #2271b1;
    margin-top: 12px;
}

.extra-pages-display-label {
    margin-bottom: 15px;
}

.extra-pages-diplay-wrapper {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    justify-content: space-between;
}

.extra-pages-diplay-wrapper div {
    display: flex;
    align-items: center;
}

/*#region cover clipart*/
.wapf-option__coverclip {
    display: flex;
    align-items: center;
    width: 60px;
}

.wapf-option__coverclip .woocommerce-help-tip {
    margin: 2px 2px 0 2px !important;
}

.cover-clip-outer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(227 227 227 / 65%);
}

.cover-clip-inner {
    width: 90%;
    background: var(--sunWhite);
    top: 20px;
    position: absolute;
    border-radius: 4px;
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.cover-clip-add-clipart:hover, .cover-clip-edit:hover, .cover-clip-trash:hover, .cover-clip-back:hover {
    cursor: pointer;
    color: var(--wp-admin-theme-color, var(--sunDefault));
}

.cover-clip-trash:hover {
    color: var(--sunError) !important;
}

.cover-clip-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.cover-clip-content > div {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
}

.cover-clip-form > div {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.cover-clip-form > div:last-child {
    margin-bottom: 0;
}

.cover-clip-form > span {
    font-size: 15px;
    font-weight: bold;
}

.cover-clip-selected-list, .cover-clip-available-list {
    width: auto;
    height: 500px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    overflow: auto;
    gap: 10px;
    padding: 10px;
}

.cover-clip-available {
    display: none;
}

.cover-clip-selected-list > div, .cover-clip-available-list > div {
    width: 120px;
    height: auto;
    display: flex;
    justify-content: center;
    border: 1px solid var(--sunLightGrey2);
    border-radius: 4px;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    align-items: center;
}

.cover-clip-selected-list > div {
    cursor: default !important;
}

.cover-clip-available-list > div:hover {
    box-shadow: 0 0 0 1px #cbcbcb;
}

.cover-clip-clipart-editing {
    border-color: #007cba !important;
}

.cover-clip-clipart-editing .cover-clip-selected-single-clipart-actions .cover-clip-edit {
    color: #007cba !important;
}

.cover-clip-selected-list::-webkit-scrollbar, .cover-clip-available-list::-webkit-scrollbar {
    width: 5px;
}

.cover-clip-selected-list::-webkit-scrollbar-track, .cover-clip-available-list::-webkit-scrollbar-track {
    background: var(--sunLightGrey2);
}

.cover-clip-selected-list::-webkit-scrollbar-thumb, .cover-clip-available-list::-webkit-scrollbar-thumb {
    background: var(--sunDarkGrey);
}

.cover-clip-selected-list::-webkit-scrollbar-thumb:hover, .cover-clip-available-list::-webkit-scrollbar-thumb:hover {
    border-radius: 5px;
    transition: width 2s;
}

.cover-clip-label {
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
}

.cover-clip-selected-actions, .cover-clip-available-actions {
    width: 100%;
    height: 20px;
    font-weight: 500;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: flex;
    border-bottom: 1px solid #eee;
    align-items: center;
    justify-content: space-between;
}

.cover-clip-form-field > select {
    width: 30%;
    border-radius: var(--sunBorderRadius);
    border: 1px solid var(--sunLightGrey2);
}

.cover-clip-footer {
    display: flex;
    flex-direction: row-reverse;
    height: 30px;
    margin: 10px 0;
    gap: 10px;
}

.cover-clip-input-number {
    padding: 5px;
    border: 1px solid var(--sunLightGrey2);
    border-radius: var(--sunBorderRadius);
    width: 30%;
}

.cover-clip-selected-single-clipart-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.cover-clip-single-clipart > img {
    object-fit: contain;
}

.cover-clip-message {
    color: var(--sunError);
    width: 100%;
    font-size: 20px;
    display: flex;
    font-weight: 500;
    align-items: center;
}

.sun-wapf-setting .price-per-page-ranges .price-per-page-range .price-per-page-range-column input.sun-extra-pages-invalid-range {
    border-color: var(--sunError) !important;
}

.wapf-option__coverclip[data-clipart_options] > .wapf-btn-add-media {
    color: #2271b1;
}

.wapf-disable-actions {
    pointer-events: none !important;
    color: #eeeeee !important;
}
/*#endregion*/