.ghostkit-video {
    --gkt-video__background-color: var(--gkt-color-light-gray);
    --gkt-video--play-icon__width: 60px;
    --gkt-video--play-icon__height: 60px;
    --gkt-video--play-icon__font-size: 0.7em;
    --gkt-video--play-icon__color: var(--gkt-color-dark-gray);
    --gkt-video--play-icon__background-color: #fff;
    --gkt-video--play-icon__border-radius: 50%;
    --gkt-video--play-icon__box-shadow: 0 0 10px 4px rgba(0, 0, 0, .04), 0 0 1px 1px rgba(0, 0, 0, .02);
    --gkt-video--play-icon-hover__box-shadow: 0 2px 10px 4px rgba(0, 0, 0, .04), 0 0 1px 1px rgba(0, 0, 0, .02);
    --gkt-video--play-icon-hover__transform: translateY(-1px);
    --gkt-video--loading-icon__width: 60px;
    --gkt-video--loading-icon__height: 60px;
    --gkt-video--loading-icon__font-size: 0.7em;
    --gkt-video--loading-icon__color: var(--gkt-color-dark-gray);
    --gkt-video--loading-icon__background-color: #fff;
    --gkt-video--loading-icon__border-radius: 50%;
    --gkt-video--loading-icon__box-shadow: 0 0 10px 4px rgba(0, 0, 0, .04), 0 0 1px 1px rgba(0, 0, 0, .02);
    --gkt-video__transition-duration: var(--gkt-transition-duration);
    --gkt-video__transition-easing: var(--gkt-transition-easing)
}

.ghostkit-video-fullscreen {
    --gkt-video-fullscreen__background-color: rgba(0, 0, 0, .9);
    --gkt-video-fullscreen--close-button__width: 60px;
    --gkt-video-fullscreen--close-button__height: 60px;
    --gkt-video-fullscreen--close-button__font-size: 1.4em;
    --gkt-video-fullscreen--close-button__color: #fff;
    --gkt-video-fullscreen--close-button__opacity: 0.2;
    --gkt-video-fullscreen--close-button-hover__opacity: 1;
    --gkt-video-fullscreen__transition-duration: var(--gkt-transition-duration);
    --gkt-video-fullscreen__transition-easing: var(--gkt-transition-easing)
}

.ghostkit-video.is-style-icon-only {
    background-color: transparent;
    height: var(--gkt-video--play-icon__height);
    margin-left: auto;
    margin-right: auto;
    overflow: unset
}

.ghostkit-video.is-style-icon-only:before {
    content: none
}

.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-loading-icon,
.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-left .ghostkit-video-play-icon {
    left: 0;
    margin-left: 0
}

.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-loading-icon,
.ghostkit-video.is-style-icon-only.ghostkit-video-style-icon-only-align-right .ghostkit-video-play-icon {
    left: auto;
    margin-left: 0;
    right: 0
}

.ghostkit-video {
    background-color: var(--gkt-video__background-color);
    cursor: pointer;
    overflow: hidden;
    position: relative
}

.ghostkit-video:before {
    content: "";
    display: block;
    padding-top: 56.25%;
    width: 100%
}

.ghostkit-video-aspect-ratio-16-9:before,
.ghostkit-video[data-video-aspect-ratio="16-9"]:before,
.ghostkit-video[data-video-aspect-ratio="16:9"]:before {
    padding-top: 56.25%
}

.ghostkit-video-aspect-ratio-21-9:before,
.ghostkit-video[data-video-aspect-ratio="21-9"]:before,
.ghostkit-video[data-video-aspect-ratio="21:9"]:before {
    padding-top: 42.8571428571%
}

.ghostkit-video-aspect-ratio-4-3:before,
.ghostkit-video[data-video-aspect-ratio="4-3"]:before,
.ghostkit-video[data-video-aspect-ratio="4:3"]:before {
    padding-top: 75%
}

.ghostkit-video-aspect-ratio-3-2:before,
.ghostkit-video[data-video-aspect-ratio="3-2"]:before,
.ghostkit-video[data-video-aspect-ratio="3:2"]:before {
    padding-top: 66.6666666667%
}

.ghostkit-video-aspect-ratio-1-1:before,
.ghostkit-video[data-video-aspect-ratio="1-1"]:before,
.ghostkit-video[data-video-aspect-ratio="1:1"]:before {
    padding-top: 100%
}

.ghostkit-video-aspect-ratio-2-3:before,
.ghostkit-video[data-video-aspect-ratio="2-3"]:before,
.ghostkit-video[data-video-aspect-ratio="2:3"]:before {
    padding-top: 150%
}

.ghostkit-video-aspect-ratio-9-16:before,
.ghostkit-video[data-video-aspect-ratio="9-16"]:before,
.ghostkit-video[data-video-aspect-ratio="9:16"]:before {
    padding-top: 177.7777777778%
}

.ghostkit-video-aspect-ratio-3-4:before,
.ghostkit-video[data-video-aspect-ratio="3-4"]:before,
.ghostkit-video[data-video-aspect-ratio="3:4"]:before {
    padding-top: 133.3333333333%
}

.ghostkit-video-poster {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1
}

.ghostkit-video-poster img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%
}

.ghostkit-video-play-icon {
    align-items: center;
    background-color: var(--gkt-video--play-icon__background-color);
    border-radius: var(--gkt-video--play-icon__border-radius);
    box-shadow: var(--gkt-video--play-icon__box-shadow);
    color: var(--gkt-video--play-icon__color);
    display: flex;
    font-size: var(--gkt-video--play-icon__font-size);
    height: var(--gkt-video--play-icon__height);
    justify-content: center;
    left: 50%;
    margin-left: calc(var(--gkt-video--play-icon__height)/-2);
    margin-top: calc(var(--gkt-video--play-icon__width)/-2);
    opacity: 1;
    position: absolute;
    top: 50%;
    transition: var(--gkt-video__transition-duration) transform var(--gkt-video__transition-easing), var(--gkt-video__transition-duration) box-shadow var(--gkt-video__transition-easing), var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);
    width: var(--gkt-video--play-icon__width);
    z-index: 2
}

.ghostkit-video:focus .ghostkit-video-play-icon,
.ghostkit-video:hover .ghostkit-video-play-icon {
    box-shadow: var(--gkt-video--play-icon-hover__box-shadow);
    transform: var(--gkt-video--play-icon-hover__transform)
}

.ghostkit-video-loading .ghostkit-video-play-icon,
.ghostkit-video-playing .ghostkit-video-play-icon {
    opacity: 0
}

.ghostkit-video-loading-icon {
    align-items: center;
    background-color: var(--gkt-video--loading-icon__background-color);
    border-radius: var(--gkt-video--loading-icon__border-radius);
    box-shadow: var(--gkt-video--loading-icon__box-shadow);
    color: var(--gkt-video--loading-icon__color);
    display: flex;
    font-size: var(--gkt-video--loading-icon__font-size);
    height: var(--gkt-video--loading-icon__height);
    justify-content: center;
    left: 50%;
    margin-left: calc(var(--gkt-video--loading-icon__height)/-2);
    margin-top: calc(var(--gkt-video--loading-icon__width)/-2);
    opacity: 0;
    position: absolute;
    top: 50%;
    transition: var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing);
    width: var(--gkt-video--loading-icon__width);
    z-index: 3
}

.ghostkit-video-loading .ghostkit-video-loading-icon {
    opacity: 1
}

.ghostkit-video:not(.ghostkit-video-loading) .ghostkit-video-spinner {
    animation: none
}

.ghostkit-video-fullscreen-close-icon {
    display: none
}

.ghostkit-video-frame {
    height: 100%;
    left: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing), 0s var(--gkt-video__transition-duration) left;
    width: 100%;
    z-index: 4
}

.ghostkit-video-frame iframe,
.ghostkit-video-frame video {
    height: 100%;
    visibility: visible;
    width: 100%
}

.ghostkit-video-playing .ghostkit-video-frame {
    left: 0;
    opacity: 1;
    transition: var(--gkt-video__transition-duration) opacity var(--gkt-video__transition-easing), 0s left
}

.ghostkit-video-fullscreen {
    align-items: center;
    background-color: var(--gkt-video-fullscreen__background-color);
    display: none;
    height: calc(100% - var(--wp-admin--admin-bar--height, 0px));
    justify-content: center;
    left: 0;
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0);
    width: 100%;
    z-index: 1500
}

@media screen and (max-width:600px) {
    body.admin-bar .ghostkit-video-fullscreen {
        height: 100%;
        top: 0
    }
}

.ghostkit-video-fullscreen-frame {
    height: calc(90vw*var(--gkt-fullscreen-video__aspect-ratio-height)/var(--gkt-fullscreen-video__aspect-ratio-width));
    max-height: 90%;
    max-width: calc((90vh - var(--wp-admin--admin-bar--height, 0px))*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height));
    position: relative;
    width: 90%;
    z-index: 1
}

@media screen and (max-width:600px) {
    body.admin-bar .ghostkit-video-fullscreen-frame {
        max-width: calc(100vh*var(--gkt-fullscreen-video__aspect-ratio-width)/var(--gkt-fullscreen-video__aspect-ratio-height))
    }
}

.ghostkit-video-fullscreen-frame iframe,
.ghostkit-video-fullscreen-frame video {
    height: 100%;
    width: 100%
}

.ghostkit-video-fullscreen-frame video {
    background: var(--gkt-fullscreen-video--video__background)
}

.ghostkit-video-fullscreen-close {
    color: var(--gkt-video-fullscreen--close-button__color);
    cursor: pointer;
    font-size: var(--gkt-video-fullscreen--close-button__font-size);
    height: var(--gkt-video-fullscreen--close-button__height);
    line-height: var(--gkt-video-fullscreen--close-button__height);
    opacity: var(--gkt-video-fullscreen--close-button__opacity);
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    transition: var(--gkt-video-fullscreen__transition-duration) opacity var(--gkt-video-fullscreen__transition-easing);
    width: var(--gkt-video-fullscreen--close-button__width);
    z-index: 2
}

.ghostkit-video-fullscreen-close:focus,
.ghostkit-video-fullscreen-close:hover {
    opacity: var(--gkt-video-fullscreen--close-button-hover__opacity)
}