#wpstory-submit-modal.wpstory-popup {
    background: var(--rk-global-body-bgcolor);
    border-radius: var(--rk-border-radius);
}

.wpstory-slide-wrapper .filepond--drop-label {
    background: var(--rk-global-secondary-bgcolor);
    border-radius: var(--rk-border-radius);
}

.wpstory-submit-modal.wpstory-popup .close-storymodal {
    background-color: var(--rk-danger);
    border-radius: 0 !important;
    top: 0;
    right: 0;
    color: var(--rk-white);
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xOSA2LjQxIDE3LjU5IDUgMTIgMTAuNTkgNi40MSA1IDUgNi40MSAxMC41OSAxMiA1IDE3LjU5IDYuNDEgMTkgMTIgMTMuNDEgMTcuNTkgMTkgMTkgMTcuNTkgMTMuNDEgMTJ6Ii8+PC9zdmc+");
}

.wpstory-submit-modal.wpstory-popup .close-storymodal:hover {
    background-color: var(--rk-danger);
}

.wpstory-add .wpstory-fb-cover img.rounded-circle {
    border-radius: 0 !important;
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-input {
    background-color: transparent;
    border: .063em solid var(--rk-border-color-light);
    border-radius: var(--rk-border-radius);
    color: var(--rk-global-font-color);
    height: 2.9em;
    font-size: var(--rk-font-size-body);
}

.wpstory-submit-form label span {
    margin-bottom: 10px;
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-input:hover {
    background-color: transparent;
    border: .063em solid var(--rk-border-color-light);
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-input:focus,
.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-input:active {
    background-color: transparent;
    border: .063em solid var(--rk-primary);
}

.wpstory-submit-form .filepond--drop-label.filepond--drop-label label {
    font-size: var(--rk-font-size-body) !important;
    padding: 2em .5em .5em !important;
    position: relative;
}

.wpstory-submit-form .filepond--drop-label.filepond--drop-label label::before {
    content: "\f0ee";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    font-size: 1em;
    color: var(--rk-global-font-title);
}

.wpstory-submit-form-wrapper .wpstory-submit-form label span {
    font-size: var(--rk-font-size-body);
    color: var(--rk-global-font-title);
    font-weight: var(--rk-font-weight-medium);
    font-family: var(--rk-global-font-family);
    display: block;
}


.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=button]:hover,
.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=submit]:hover {
    background-color: var(--rk-primary-dark);
    border-color: var(--rk-primary-dark);
    color: var(--rk-white);
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=button] svg,
.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=submit] svg {
    fill: var(--rk-btn-color);
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=button]:hover svg,
.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=submit]:hover svg {
    fill: var(--rk-white);
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button.wpstory-create-button[type=button] {
    background: var(--rk-success);
    border-color: var(--rk-success);
}

.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button.wpstory-create-button[type=button]:hover {
    background: var(--rk-success-dark);
    border-color: var(--rk-success-dark);
}

#buddypress .form-edit-btn input.btn {
    margin-top: 1em;
}

.checkbox>label {
    display: flex;
    align-items: center;
}


.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=button],
.wpstory-submit-form-wrapper .wpstory-submit-form .wpstory-button[type=submit] {
    background: var(--rk-primary);
    border-color: var(--rk-primary);
    color: var(--rk-btn-color);
    font-size: var(--rk-font-size-small);
    font-family: var(--rk-global-font-family);
    font-weight: var(--rk-font-weight-semi-bold);
    padding: .8em 1.2em;
    display: inline-block;
    text-transform: capitalize;
    height: auto;
    width: 100%;
}

.wpstory-submit-form .wpstory-button.wpstory-submit-button svg {
    margin: 0;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

body.admin-bar header.wpstory-slider-header {
    top: 0;
}

#buddypress button.wpstory-add {
    padding: 0;
    white-space: initial;
}

.wpstory-shortcode-style-instagram .wpstory-feed-canvas:after {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    border: 3px solid var(--rk-global-body-bgcolor);
    border-radius: 100%;
    z-index: 0;
}

.stories.carousel .story>.item-link>.item-preview img {
    border-radius: 100%;
}

.wpstory-shortcode.wpstory-item-circles .wpstory-add.wpstory-feed-item-ins .wpstory-circle-image,
.wpstory-item-circles .wpstory-add.wpstory-feed-item-ins .wpstory-circle-image:before {
    background-image: none !important;
}

.wpstory-item-circles .wpstory-feed-item-ins .wpstory-circle-image,
.wpstory-item-circles .wpstory-feed-item-ins .wpstory-feed-canvas {
    width: 100px !important;
    height: 100px !important;
}

.wpstory-item-circles .wpstory-feed-item-ins {
    width: 100px !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-add-icon {
    right: 5px !important;
    bottom: 5px !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-add-icon svg {
    height: 22px !important;
    width: 22px !important;
    border: none !important;
}

.wpstory-item-circles .wpstory-add.wpstory-feed-item-ins .wpstory-circle-title {
    color: var(--rk-primary);
}

.wpstory-shortcode.wpstory-item-circles .wpstory-add.wpstory-feed-item-ins .wpstory-circle-image {
    margin-bottom: 9px;
}

.wpstory-shortcode.wpstory-item-circles .wpstory-feed-item-ins .wpstory-circle-title {
    font-size: var(--rk-font-size-small);
    font-weight: var(--rk-font-weight-body);
    text-transform: capitalize;
}

.wpstory-shortcode.wpstory-item-circles .wpstory-feed-item-ins .wpstory-circle-title {
    color: var(--rk-global-font-title) !important;
}

body .wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--rk-icon-color) !important;
    width: auto !important;
}

body .wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav svg {
    color: var(--rk-icon-color) !important;
    fill: var(--rk-icon-color) !important;
}

body .wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav:hover svg {
    color: var(--rk-black) !important;
    fill: var(--rk-black) !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav.wpstory-slider-nav-prev,
.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav.wpstory-slider-nav-next {
    top: -30%;
    left: auto !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav.wpstory-slider-nav-prev {
    right: 15px !important;
}

.load-content .wpstory-shortcode.wpstory-slider-container {
    overflow: unset;
}

.wpstory-slider-wrapper {
    overflow: hidden;
}
.wpstory-story-modal__wrapper .wpstory-slider-wrapper{
    overflow: unset;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav.wpstory-slider-nav-next {
    right: -5px !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-shortcode-style-facebook .wpstory-slider-nav.wpstory-slider-nav-prev,
.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-shortcode-style-facebook .wpstory-slider-nav.wpstory-slider-nav-next {
    top: 44%;
}

.wpstory-submit-form-wrapper .wpstory-submit-form label span:first-child {
    display: block;
}

.wpstory-submit-modal.wpstory-popup {
    padding: 1em;
    background: var(--rk-global-secondary-bgcolor);
    height: unset !important;
}

.wpstory-edit-wrapper .filepond--drop-label {
    background: var(--rk-global-secondary-bgcolor);
    border-radius: var(--rk-border-radius);
    border: .063em solid var(--rk-border-color-light);
}

.wpstory-submit-form .wpstory-submit-item .wpstory-inline-button {
    margin-bottom: 25px;
    padding: 12px 25px 12px 40px;
    background: var(--rk-primary);
    border-color: var(--rk-primary);
    color: var(--rk-white);
    font-weight: var(--rk-font-weight-semi-bold);
    text-transform: uppercase;
    transition: all .45s ease-in-out;
    -moz-transition: all .45s ease-in-out;
    -ms-transition: all .45s ease-in-out;
    -o-transition: all .45s ease-in-out;
    -webkit-transition: all .45s ease-in-out;
}

.wpstory-submit-form .wpstory-submit-item .wpstory-inline-button:hover {
    background-color: var(--rk-primary-dark);
    border-color: var(--rk-primary-dark);
    color: var(--rk-white);
}

.wpstory-form-row .filepond--root {
    font-family: var(--rk-global-font-family)
}

.wpstory-submit-form .wpstory-submit-item .wpstory-inline-button svg {
    fill: var(--rk-white);
}

.wpstory-submit-form .wpstory-submit-item .wpstory-parent-open-new svg {
    margin-top: -11px;
    left: 16px;
}

.wpstory-submit-form-wrapper .wpstory-submit-form label span.filepond--label-action {
    margin-bottom: 0;
}

.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-add .wpstory-fb-title {
    box-sizing: border-box;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-feed-item-fb .wpstory-fb-image {
    background: var(--instra-color);
    border-radius: 50%;
}

.wpstory-item-circles .wpstory-feed-item-ins .wpstory-circle-image:before,
.wpstory-item-circles .wpstory-feed-item-ins .wpstory-feed-canvas:before {
    background: var(--instra-color) !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-add-icon svg {
    background-color: var(--rk-primary-dark) !important;
}

.wpstory-feed-canvas.wpstory-fb-image canvas {
    padding: 2px;
    box-sizing: border-box;
    border-radius: 100%;
}

.wpstory-shortcode-wrapper .wpstory-slider-container-initialized .wpstory-slider-nav {
    display: block !important;
}

.wpstory-shortcode-wrapper .wpstory-slider-container-initialized .wpstory-slider-nav.wpstory-slider-nav-disabled {
    display: none !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add.wpstory-feed-item-fb:after {
    display: none;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add .wpstory-fb-add-icon svg path~path {
    fill: var(--rk-primary)
}

.wpstory-submit-form-wrapper .wpstory-submit-form label span.wpstory-need-text {
    color: var(--rk-white);
    background-color: var(--rk-success);
}

.wpstory-story-media .filepond--panel-root {
    background-color: var(--rk-global-secondary-bgcolor);
    border: 2px solid var(--rk-border-color-light);
}

#buddypress button.wpstory-slider-nav-disabled {
    display: none;
}

video.wp-video-shortcode {
    width: 100%;
    background-color: var(--rk-black);
}

.group-settings-selections legend {
    font-size: var(--rk-font-size-h4);
    line-height: var(--rk-font-line-height-h4);
    letter-spacing: var(--rk-font-letter-spacing-h4);
    font-weight: var(--rk-font-weight-h4);
    color: var(--rk-global-font-title);
}

.group-settings-selections label[FOR="group-bp-messages-enabled"] {
    margin-right: 10px;
}

.wpstory-story-modal .wpstory-meta .wpstory-modal-author-image {
    flex: none;
}

.wpstory-story-modal .wpstory-modal-closer-button[type=button]:hover svg {
    fill: var(--rk-danger);
}

[dir="rtl"] .wpstory-story-modal .wpstory-meta .wpstory-modal-author-info-date {
    margin-right: 10px;
    margin-left: 0;
}

[dir="rtl"] .wpstory-story-modal .wpstory-meta .wpstory-modal-author-info {
    padding-right: 8px;
    padding-left: 0;
}

[dir="rtl"] .wpstory-submit-modal.wpstory-popup a.close-storymodal {
    right: inherit;
    left: 5px;
}

[dir="rtl"] .wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-add-icon {
    right: inherit;
    left: 0;
}

/* extra */
.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-feed-item-fb {
    margin-right: 10px !important;
}

[dir="rtl"] .wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-feed-item-fb {
    margin-left: 10px !important;
    margin-right: 0 !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-slider-wrapper {
    padding: 0;
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-add[type=button] {
    background: var(--rk-global-body-bgcolor);
    border-radius: 8px;
}

.wpstory-shortcode-wrapper .wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-skeleton-loader {
    background-color: var(--rk-global-secondary-lightcolor) !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-skeleton-loader span {
    background: linear-gradient(90deg, var(--rk-global-secondary-bgcolor), var(--rk-global-secondary-bgcolor), var(--rk-global-secondary-bgcolor)) !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-skeleton-loader span:first-child {
    background-color: var(--rk-global-secondary-bgcolor);
}

.wpstory-shortcode-wrapper .wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-add .wpstory-fb-add-icon {
    color: var(--rk-icon-color);
    background: var(--rk-global-secondary-bgcolor);
}

.wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-add-icon svg path~path {
    fill: var(--rk-primary-light);
}

.wpstory-shortcode-wrapper .wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-add .wpstory-fb-add-icon svg path~path {
    fill: var(--rk-icon-color);
}

.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-add .wpstory-fb-title,
.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-add:hover .wpstory-fb-title {
    background-color: var(--rk-global-secondary-lightcolor);
}

.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-shortcode-style-facebook .wpstory-add[type=button] {
    background: var(--rk-global-body-bgcolor);
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-feed-item-fb .wpstory-fb-cover img {
    width: auto;
    min-width: 100%;
    border-radius: 0;
}

.wpstory-item-circles.wpstory-shortcode-style-facebook .wpstory-feed-canvas canvas {
    object-fit: cover;
}

.wpstory-shortcode-wrapper {
    margin-bottom: 2em !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add .wpstory-fb-cover {
    height: 70% !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add .wpstory-fb-title {
    height: 30% !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add .wpstory-fb-add-icon {
    top: calc(70% - 20px) !important;
}

.wpstory-shortcode-wrapper .wpstory-shortcode.wpstory-item-circles .wpstory-fb-title,
.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add .wpstory-fb-title {
    font-size: var(--rk-font-size-small) !important;
    font-weight: var(--rk-font-weight-semi-bold);
    text-transform: capitalize;
    color: var(--rk-white) !important;
}

.wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-add .wpstory-fb-title {
    color: var(--rk-global-font-title) !important;
}

.wpstory-story-modal .wpstory-modal-author-overlay .wpstory-overlay-image-wrapper {
    margin-bottom: 5px !important;
}

.wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader span:first-child {
    width: 100px !important;
    height: 100px !important;
}

.wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader,
.wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader span:nth-child(2) {
    width: 100px !important;
}

.wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader span:nth-child(2) {
    height: 8px !important;
}

.wpstory-story-modal--fsm .wpstory-page-media-item {
    object-fit: contain !important;
}

body .wpstory-story-modal .wpstory-story-modal-nav[type=button].wpstory-story-modal-nav-next {
    right: -webkit-calc(50% - 220px);
    right: -moz-calc(50% - 220px);
    right: calc(50% - 220px);
}

body .wpstory-story-modal .wpstory-story-modal-nav[type=button].wpstory-story-modal-nav-prev {
    left: -webkit-calc(50% - 220px);
    left: -moz-calc(50% - 220px);
    left: calc(50% - 220px);
}

[dir="rtl"] .wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-feed-item-fb .wpstory-fb-image {
    right: 12px;
    left: auto;
}

[dir="rtl"] .wpstory-shortcode-wrapper .wpstory-item-circles .wpstory-feed-item-fb .wpstory-fb-title {
    text-align: right;
}

@media(max-width: 767px) {

    .wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav.wpstory-slider-nav-prev,
    .wpstory-shortcode-wrapper .wpstory-shortcode .wpstory-slider-nav.wpstory-slider-nav-next {
        top: -28%;
    }
}

@media(max-width:575px) {

    .wpstory-item-circles .wpstory-feed-item-ins .wpstory-circle-image,
    .wpstory-item-circles .wpstory-feed-item-ins .wpstory-feed-canvas {
        width: 75px !important;
        height: 75px !important;
    }

    .wpstory-item-circles .wpstory-feed-item-ins {
        width: 75px !important;
    }

    .wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader span:first-child {
        width: 75px !important;
        height: 75px !important;
    }

    .wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader,
    .wpstory-item-circles.wpstory-shortcode-style-instagram .wpstory-skeleton-loader span:nth-child(2) {
        width: 75px !important;
    }
}