.ati-modal {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 999999;
    background: #66666666;
    backdrop-filter: blur(8px);
    overflow-y: hidden;
    overscroll-behavior: contain;
}
.ati-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ati-modal-wrapper {
    display: flex;
    position: relative;
    height: inherit;
    width: inherit;
}
.ati-modal-wrapper > .ati-modal-btn {
    flex: 1;
}
.ati-modal-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    background: var(--ati-sbg);
    width: var(--ati-modal-width);
    height: 350px;
    padding: 0 var(--ati-m-padd);
    transition: .35s ease;
}
.ati-modal-right,
.ati-modal-left {
    height: var(--ati-height-full);
}
.ati-modal-right {
    right: 0;
    right: calc(-1 * var(--ati-modal-width));
}
.ati-modal-right.open{
    right:0;
}
.ati-modal-left {
    left: 0;
    left: calc(-1 * var(--ati-modal-width));
}
.ati-modal-left.open{
    left:0;
}
.ati-modal-center{
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    opacity:0;
    transition:opacity .25s ease;
}

.ati-modal-center.open{
    opacity:1;
}

.ati-modal-responsive {
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    opacity:0;
    transition:opacity .25s ease;
}
.ati-modal-responsive.open{
    opacity:1;
}

.ati-modal-bottom {
    width:100%;
    height:90%;
    bottom:-90%;
    border-top-right-radius: var(--ati-xxxl-rad);
    border-top-left-radius: var(--ati-xxxl-rad);
}
.ati-modal-responsive,
.ati-modal-center {
    border-radius: 8px;
}
.ati-modal-bottom.open{
    bottom:0;
}
.ati-modal-search{
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    opacity:0;
    transition:opacity .25s ease;
}
.ati-modal-search.open{
    opacity:1;
}
.ati-modal-close {
    position: absolute;
    left: 0;
    color: red;
    cursor: pointer;
    font-size: 1.8rem;
    transform: translate(0, 5px);
    z-index: 9999;
    width: 29px;
    height: 29px;
    padding: var(--ati-s-padd) 0;
}
.ati-modal-left .ati-modal-close {
    right: 0;
}
.ati-modal-bottom .ati-modal-close {
    position: relative;
    margin-inline: auto;
    border-top: 2px solid;
    width: 80px;
    color: var(--ati-color);
    margin-top: var(--ati-m-marg);
}
.ati-modal-content {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.ati-modal-view {
    height: 100%;
}
.ati-modal-view-header {
    display: flex;
    justify-content: center;
    min-height: 50px;
    align-items: center;
    font-weight: bold;
}
@media screen and (max-width: 1230px) {
    .ati-modal-responsive {
        top: unset;
        left: unset;
        transform: unset;
        opacity: unset;
        transition: bottom .35s ease;
        width: 100%;
        height: 90%;
        bottom: -90%;
        border-top-right-radius: var(--ati-xxxl-rad);
        border-top-left-radius: var(--ati-xxxl-rad);
    }
    .ati-modal-responsive.open {
        bottom: 0;
    }
    .ati-modal-responsive .ati-modal-close {
        position: relative;
        margin-inline: auto;
        border-top: 2px solid;
        width: 80px;
        color: var(--ati-color);
        margin-top: var(--ati-m-marg);
    }
}