﻿.ebookSeller50Percent
{
    width: 50%;
    float: left;
    min-width: 377px;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    margin-bottom: 20px;
}
.ebookSeller50Percent select
{
    min-height: 150px;
    min-width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
}
.ui-tooltip, .arrow:after
{
    background: #000;
    border: 2px solid #fff;
}
.ui-tooltip
{
    padding: 10px 20px;
    color: #fff;
    border-radius: 20px;
    font: bold 14px "Helvetica Neue",Sans-Serif;
    text-transform: uppercase;
    box-shadow: 0 0 7px black;
    max-width: 300px;
}
.arrow
{
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}
.arrow.top
{
    top: -16px;
    bottom: auto;
}
.arrow.left
{
    left: 20%;
}
.arrow:after
{
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}
.arrow.top:after
{
    bottom: -20px;
    top: auto;
}
.ebook_formData
{
    padding: 20px;
    color: #000;
    background: #fff;
    border-radius: 5px;
    display: none;
    -webkit-box-shadow: 0 -1px 50px 0 rgba(0,0,0,.75);
    -moz-box-shadow: 0 -1px 50px 0 rgba(0,0,0,.75);
    box-shadow: 0 -1px 50px 0 rgba(0,0,0,.75);
}
.ebook_store_warning
{
    background: #fff;
    border-radius: 5px;
    padding: 5px;
    margin-left: 10px;
    font-weight: bold;
    font-size: 12px!important;
}
.close
{
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 18px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    filter: alpha(opacity=20);
}
.close:hover
{
    color: #000;
    text-decoration: none;
    opacity: .4;
    filter: alpha(opacity=40);
    cursor: pointer;
}
.ebook-store-alert
{
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-heading
{
    color: inherit;
}
.alert .close
{
    position: relative;
    top: -2px;
    right: -21px;
    line-height: 18px;
}
.ebook-store-alert-success
{
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}
.ebook-store-alert-error
{
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}
.ebook-store-alert-info
{
    background-color: #cff4fc;
    border: 1px solid #b6effb;
    color: #055160;
}
.alert-block
{
    padding-top: 14px;
    padding-bottom: 14px;
}
.alert-block>p, .alert-block>ul
{
    margin-bottom: 0;
}
.alert-block p+p
{
    margin-top: 5px;
}
.ebook_store_button
{
    background: #efefef;
    font-color: #000;
    display: inline-block;
    padding: 10px;
    text-decoration: none;
}
.bookshelf .inner-right
{
    height: auto!important;
}
.ebook_store_icon
{
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ebook_store_icon img
{
    max-width: 100%;
    height: auto;
}
.ebook_store_filename
{
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.ebook_store_filename a
{
    color: #2271b1;
    text-decoration: none;
}
.ebook_store_filename a:hover
{
    color: #135e96;
    text-decoration: underline;
}
.ebook_store_size
{
    font-size: 12px;
    color: #666;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
}
.ebook_store_upload
{
    position: relative;
    margin-top: 5px;
}
.ebook_store_upload input[type="file"]
{
    display: block;
    width: 100%;
    padding: 8px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all .3s ease;
}
.ebook_store_upload input[type="file"]:hover
{
    border-color: #2271b1;
    background: #f0f0f1;
}
.ebook_store_control
{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}
.ebook_store_control label
{
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #666;
    transition: color .3s ease;
}
.ebook_store_control label:hover
{
    color: #d63638;
}
.ebook_store_control .dashicons-trash
{
    font-size: 16px;
}
.hiddenEbookStore
{
    display: none!important;
}
input[type="text"], input[type="number"], select
{
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}
input[type="text"]:focus, input[type="number"]:focus, select:focus
{
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}
.description
{
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}
h3, h4, h5
{
    color: #1d2327;
    margin-bottom: 15px;
}
@media screen and (max-width: 782px)
{
    .ebookSeller50Percent
    {
        width: 100%;
        min-width: auto;
        float: none;
    }
    .ebook_store_file_format_item
    {
        flex-direction: column;
    }
    .ebook_store_file_format_item_left
    {
        width: 100%;
        justify-content: center;
    }
    .ebook_store_file_format_item_right
    {
        width: 100%;
        text-align: center;
    }
}
.ebookStoreCoupon
{
    -webkit-box-shadow: 10px 10px 5px 0 rgba(0,0,0,.75);
    -moz-box-shadow: 10px 10px 5px 0 rgba(0,0,0,.75);
    box-shadow: 10px 10px 5px 0 rgba(0,0,0,.75);
}
@keyframes glow
{
    0%
    {
        box-shadow: 0 0 5px red;
    }
    100%
    {
        box-shadow: 0 0 10px red,0 0 20px red;
    }
}
.error
{
    animation: glow 1s ease-out 1;
    border-color: #f00!important;
}
.ebook_store_upload
{
    position: relative;
}
.upload-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.9);
    border-radius: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}
.upload-message
{
    color: #2271b1;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.upload-message .dashicons
{
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.ebook_store_upload input[type="file"]:hover+.upload-overlay, .ebook_store_upload input[type="file"]:focus+.upload-overlay, .drag-over .upload-overlay
{
    display: flex;
}
.pending-delete
{
    opacity: .7;
    position: relative;
}
.pending-delete::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.7);
    border-radius: 8px;
    z-index: 1;
}
.pending-delete::after
{
    content: attr(data-delete-message);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #d63638;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
}
.goPro2::after
{
    content: "Pro";
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg,#2271b1,#135e96);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    z-index: 2;
}
.ebook_store_file_format_item.is-uploading
{
    position: relative;
}
.ebook_store_file_format_item.is-uploading::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.9);
    border-radius: 8px;
    z-index: 1;
}
.ebook_store_file_format_item.is-uploading::after
{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 24px;
    height: 24px;
    border: 2px solid #2271b1;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    z-index: 2;
}
@keyframes spin
{
    to
    {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}
.ebook_store_file_format_item:focus-within
{
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}
.screen-reader-text
{
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important;
}
.ui-tooltip
{
    background: #1d2327;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    color: #fff;
    font-size: 12px;
    max-width: 200px;
    padding: 8px 12px;
    position: absolute;
    z-index: 9999;
}
.ui-tooltip .arrow
{
    width: 10px;
    height: 10px;
    position: absolute;
    background: #1d2327;
    transform: rotate(45deg);
    z-index: -1;
}
.ui-tooltip .arrow.top
{
    top: -5px;
    left: 50%;
    margin-left: -5px;
}
.ui-tooltip .arrow.bottom
{
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}
@keyframes highlight
{
    0%
    {
        background-color: #fff;
    }
    50%
    {
        background-color: #f0f6fc;
    }
    100%
    {
        background-color: #fff;
    }
}
.ebook_store_file_format_item.new-file
{
    animation: highlight 2s ease-in-out;
}
.ebook_store_image_preview
{
    position: relative;
    margin: 10px 0;
    max-width: 180px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.ebook_store_image_preview img
{
    width: 100%;
    height: auto;
    display: block;
}
.ebook_store_image_preview.side-image
{
    max-width: 20px;
    float: left;
    margin-right: 10px;
}
.ebook_store_image_preview.cover-image
{
    max-width: 180px;
}
.ebook_store_image_preview.empty
{
    background: #f0f0f1;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
}
.ebook_store_image_preview.empty::before
{
    content: '';
    font-family: dashicons;
    font-size: 24px;
    color: #999;
}
.ebook_store_image_preview .remove-image
{
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,.5);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s ease;
}
.ebook_store_image_preview:hover .remove-image
{
    opacity: 1;
}
.ebook_store_image_preview .remove-image:hover
{
    background: rgba(214,54,56,.9);
}
.ebook_store_image_preview .image-size
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    text-align: center;
}
.ebook_store_image_wrapper
{
    position: relative;
    margin-bottom: 20px;
}
.ebook_store_image_wrapper::after
{
    content: '';
    display: table;
    clear: both;
}
.image-upload-hint
{
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}