.cc-mdl,
.cc-mdl>.cc-mdl-close {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cc-mdl>.cc-mdl-close {
    display: inline;
    left: -100vw;
    opacity: 0;
    transition: opacity var(--modalduration, 0.4s), left 0s var(--modalduration, 0.4s);
    background: var(--backgroundOverlay, rgba(0, 0, 0, 0.6));
}

.cc-mdl {
    z-index: 1001;
    left: -100vw;
    transition: opacity var(--modalduration, 0.4s), left 0s var(--modalduration, 0.4s), background var(--modalduration, 0.4s);
}

.cc-mdl.active,
.cc-mdl:target {
    left: 0;
    transition: opacity var(--modalduration, 0.4s), left 0s;
}

.cc-mdl.active>.cc-mdl-close,
.cc-mdl:target>.cc-mdl-close {
    transition: opacity var(--modalduration, 0.4s), left 0s;
    left: 0;
    text-decoration: none;
    opacity: 1;
}

.cc-mdl .cc-mdl-container {
    height: 100%;
    width: 100%;
    display: flex;
}

.cc-mdl .cc-modaler {
    transition: transform var(--modalduration, 0.4s), opacity var(--modalduration, 0.4s);
}

.cc-mdl.cc-modal-fade-in .cc-modaler {
    opacity: 0;
}

.cc-mdl.cc-modal-slide-in-top .cc-modaler {
    transform: translateY(-100%);
}

.cc-mdl.cc-modal-slide-in-top-medium .cc-modaler {
    transform: translateY(-1000px);
}

.cc-mdl.cc-modal-slide-in-top-max .cc-modaler {
    transform: translateY(-100vh);
}

.cc-mdl.cc-modal-slide-in-bottom .cc-modaler {
    transform: translateY(100%);
}

.cc-mdl.cc-modal-slide-in-bottom-medium .cc-modaler {
    transform: translateY(1000px);
}

.cc-mdl.cc-modal-slide-in-bottom-max .cc-modaler {
    transform: translateY(100vh);
}

.cc-mdl.cc-modal-slide-in-left .cc-modaler {
    transform: translateX(-100%);
}

.cc-mdl.cc-modal-slide-in-left-medium .cc-modaler {
    transform: translateX(-1000px);
}

.cc-mdl.cc-modal-slide-in-left-max .cc-modaler {
    transform: translateX(-100vw);
}

.cc-mdl.cc-modal-slide-in-right .cc-modaler {
    transform: translateX(100%);
}

.cc-mdl.cc-modal-slide-in-right-medium .cc-modaler {
    transform: translateX(1000px);
}

.cc-mdl.cc-modal-slide-in-right-max .cc-modaler {
    transform: translateX(100vw);
}

.cc-mdl.cc-modal-scale-in-center .cc-modaler {
    transform: scale(0);
}

.cc-mdl.cc-modal-scale-in-top .cc-modaler {
    transform: scale(0);
    transform-origin: 50% 0%;
}

.cc-mdl.cc-modal-scale-in-bottom .cc-modaler {
    transform: scale(0) translateY(100%);
}

.cc-mdl.cc-modal-scale-in-left .cc-modaler {
    transform: scale(0);
    transform-origin: 0% 50%;
}

.cc-mdl.cc-modal-scale-in-right .cc-modaler {
    transform: scale(0);
    transform-origin: 100% 50%;
}

.cc-mdl.cc-modal-scale-in-v-center .cc-modaler {
    transform: scaleY(0);
}

.cc-mdl.cc-modal-scale-in-v-top .cc-modaler {
    transform: scaleY(0);
    transform-origin: 100% 0%;
}

.cc-mdl.cc-modal-scale-in-v-bottom .cc-modaler {
    transform: scaleY(0);
    transform-origin: 0% 100%;
}

.cc-mdl.active.cc-modal-fade-in .cc-modaler,
.cc-mdl:target.cc-modal-fade-in .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-top .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-top .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-top-medium .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-top-medium .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-top-max .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-top-max .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-bottom .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-bottom .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-bottom-medium .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-bottom-medium .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-bottom-max .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-bottom-max .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-left .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-left .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-left-medium .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-left-medium .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-left-max .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-left-max .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-right .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-right .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-right-medium .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-right-medium .cc-modaler,
.cc-mdl.active.cc-modal-slide-in-right-max .cc-modaler,
.cc-mdl:target.cc-modal-slide-in-right-max .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-center .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-center .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-top .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-top .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-bottom .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-bottom .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-left .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-left .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-right .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-right .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-v-center .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-v-center .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-v-top .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-v-top .cc-modaler,
.cc-mdl.active.cc-modal-scale-in-v-bottom .cc-modaler,
.cc-mdl:target.cc-modal-scale-in-v-bottom .cc-modaler {
    transform: scale(1) translate(0, 0);
    opacity: 1;
}

.cc-modal-close {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--backgroundOverlay, rgba(0, 0, 0, 0.6));
}

.cc-modal-container {
    height: 100%;
    width: 100%;
    display: flex;
}

.cc-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
}

@keyframes ccModalBackgroundIn {
    from {
        background: transparent;
    }

    to {
        background: var(--backgroundOverlay, rgba(0, 0, 0, 0.6));
    }
}

@keyframes ccModalBackgroundOut {
    from {
        background: var(--backgroundOverlay, rgba(0, 0, 0, 0.6));
    }

    to {
        background: transparent;
    }
}

/* .cc-mdl .cc-modaler {
    will-change: transform;
} */