/**| copy right by https://wpdone.ir |**/
.wpdbk-btn-container {
    position: fixed;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    direction: rtl !important;
    text-align: right !important;
    z-index: 9999999999;
    transform: translateY(-50%);
}

.wpdbk-ltr.wpdbk-btn-container {
    direction: ltr !important;
    text-align: left !important;
}

.wpdbk-left.wpdbk-btn-container {
    right: auto;
    left: 0;
}
.wpdbk-btn-box {
    width: 40px;
    background: #ff440b;
    height: auto;
    padding-top: 20px;
    padding-bottom: 15px;
    border-radius: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    cursor: pointer;
    transform: translateX(2px);
    transition: all .2s ease;
}

.wpdbk-left .wpdbk-btn-box {
    transform: translateX(-2px);
    border-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    
}

.wpdbk-btn-box:hover {
    transform: translateX(0px);
    box-shadow: 0 0 35px 2px rgb(0 0 0 / 24%)
}
.wpdbk-btn-text {
    transform: rotate(180deg);
    color: #ffffff;
    font-size: 14px;
    writing-mode: vertical-lr;
    text-align: center;
    margin: auto;
    padding: 0;
    cursor: default;
    user-select: none;
    line-height: 14px;
    pointer-events: none;
    padding-left: 7px;
    font-weight: 500;
    white-space: nowrap;
}
.wpdbk-btn-icon {
    padding-top: 8px;
    width: 25px;
    user-select: none;
    margin: auto 9px;
}
.wpdbk-btn-icon img {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    -webkit-user-drag: none;
}

.wpdbk-vote-container {
    position: fixed;
    right: -320px;
    top: 50%;
    background: #fff;
    width: 320px;
    box-shadow: rgb(0 0 0 / 35%) 0 6px 100px;
    z-index: 99999999999;
    border-radius: 2px;
    transform: translateY(-50%);
    transition: all .2s ease;
    opacity: 0;
    direction: rtl !important;
    text-align: right !important;
    padding-top: 5px;
    display: block !important;
}

.wpdbk-ltr.wpdbk-vote-container {
    direction: ltr !important;
    text-align: left !important;
}

.wpdbk-left.wpdbk-vote-container {
    right: auto;
    left: -320px;
}

.wpdbk-vote-open.wpdbk-vote-container {
    right: 30px;
    opacity: 1;
}

.wpdbk-left.wpdbk-vote-open.wpdbk-vote-container {
    right: auto;
    left: 30px;
}

.wpdbk-vote-title {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    padding-top: 25px;
    color: #000;
    padding-left: 20px;
    padding-right: 20px;
}
.wpdbk-vote-options {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 10px 35px;
    pointer-events: none;
}

.wpdbk-vote-options-open {
    pointer-events: all;
}
.wpdbk-vote-option-container {
    flex: 0 0 20%;
    justify-content: center;
    align-items: center;
    text-align: center;
    user-select: none;
    cursor: pointer;
    position: relative;
    transform: translateY(40px);
    transition: all .2s ease;
    opacity: 0;
}

.wpdbk-vote-option-container.wpdbk-vote-option-open {
    transform: translateY(0px);
    opacity: 1;
}

.wpdbk-vote-option-container img {
    display: block;
    margin: auto;
    width: 42px;
    height: 42px;
    max-width: 42px;
    max-height: 42px;
    min-width: 42px;
    min-height: 42px;
    -webkit-user-drag: none;
    padding: 0;
    box-sizing: border-box;
}
.wpdbk-vote-option-label {
    user-select: none;
    font-size: 12px;
    color: #999999;
    display: block;
    text-align: center;
    margin: auto;
    white-space: nowrap;
    margin-top: 0px;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    bottom: -26px;
    width: 100%;
    height: auto;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.wpdbk-vote-options-on-selection:hover .wpdbk-vote-option-container {
    opacity: .5;
}
.wpdbk-vote-options-selection .wpdbk-vote-option-container {
    opacity: .5;
    filter: url(filters.svg#grayscale);
    filter: gray;
    -webkit-filter: grayscale(1);
}

.wpdbk-vote-option-container:hover {
    opacity: 1 !important;
}
.wpdbk-vote-option-container:hover .wpdbk-vote-option-label,
.wpdbk-vote-option-selected .wpdbk-vote-option-label {
    bottom: -18px;
    opacity: 1;
}

.wpdbk-vote-option-container.wpdbk-vote-option-selected {
    opacity: 1;
    filter: none;
    -webkit-filter: none;
}

.wpdbk-vote-option-selected .wpdbk-vote-option-label::after {
    content: '';
    position: absolute;
    bottom: -23px;
    left: 26px;
    width: 10px;
    height: 10px;
    background: #eaeaeb;
    transform: rotate(45deg);
    pointer-events: none;
}

.wpdbk-vote-comment-box {
    display: none;
}
.wpdbk-vote-comment-box-container {
    background: #eaeaeb;
}
.wpdbk-vote-comment-box-container textarea {
    background: none;
    border: none;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 105px !important;
    max-height: 105px !important;
    min-height: 105px !important;
    resize: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    font-size: 13px;
    color: #000;
    display: block;
}
.wpdbk-vote-comment-submit-container {
    padding: 9px 12px 10px;
}

.wpdbk-vote-comment-submit {
    font-size: 13px;
    background: #ff3c00;
    color: #ffffff;
    user-select: none;
    cursor: pointer;
    padding: 3px 12px;
    border-radius: 4px;
    float: left;
    position: relative;
    overflow: hidden;
}

.wpdbk-ltr .wpdbk-vote-comment-submit {
    float: right;
}
.wpdbk-vote-comment-submit.wpdbk-disabled {
    pointer-events: none;
    background: rgb(229 229 229 / 29%);
    color: #a1a1a1;
}
.wpdbk-vote-comment-submit-container::after {
    content: '';
    display: block;
    clear: both;
}

.wpdbk-vote-close-container {
    position: absolute;
    top: -12px;
    left: 18px;
    width: 27px;
    height: 27px;
    background: #ff3c00;
    border-radius: 100%;
    cursor: pointer;
}

.wpdbk-ltr .wpdbk-vote-close-container {
    right: 18px;
    left: auto;
}

.wpdbk-vote-close-container::after,
.wpdbk-vote-close-container::before {
    content: '';
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 12px;
    width: 2px;
    background: #ffffff;
}

.wpdbk-vote-close-container::after {
    transform: rotate(-45deg);
}
.wpdbk-vote-close-container::before {
    transform: rotate(45deg);
}

.wpdbk-btn-box-tooltip {
    display: none;
    box-sizing: border-box;
    position: absolute;
    width: 140px;
    background: #ffffff;
    color: #000000;
    font-size: 12px;
    direction: rtl !important;
    text-align: center;
    right: 50px;
    border-radius: 4px;
    box-shadow: 0 6px 10px rgb(0 0 0 / 13%);
    padding: 7px 16px;
    line-height: 18px;
    cursor: default;
    user-select: none;
}

.wpdbk-btn-box-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -4px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.wpdbk-left .wpdbk-btn-box-tooltip::after {
    left: -4px;
    right: auto;
}

.wpdbk-ltr .wpdbk-btn-box-tooltip {
    direction: ltr !important;
}

.wpdbk-left .wpdbk-btn-box-tooltip {
    right: auto;
    left: 50px;
}

.wpdbk-btn-box-tooltip-close {
    width: 20px;
    height: 20px;
    background: #ff440b;
    position: absolute;
    top: -6px;
    left: -6px;
    border-radius: 100%;
    cursor: pointer;
    opacity: .9;
}

.wpdbk-btn-box-tooltip-close:hover {
    opacity: 1;
}

.wpdbk-left .wpdbk-btn-box-tooltip-close {
    left: auto;
    right: -6px;
}

.wpdbk-btn-box-tooltip-close::after,
.wpdbk-btn-box-tooltip-close::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 9px;
    width: 2px;
    background: #ffffff;
}

.wpdbk-btn-box-tooltip-close::after {
    transform: rotate(-45deg);
}
.wpdbk-btn-box-tooltip-close::before {
    transform: rotate(45deg);
}

.wpdbk-vote-comment-submit-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 2px;
    border-top: solid 2px #fff;
    border-radius: 5px;
    animation: wpdbk_submit_loading 1s ease-in-out 0s infinite;
    opacity: 0;
}

@keyframes wpdbk_submit_loading {
    0% {
        transform: translate(-10%, -50%);
        opacity: .5;
    }
    70% {
        transform: translate(-80%, -50%);
        opacity: 1;
    }
}

.wpdbk-vote-comment-submit-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
}