﻿#expire_win.fixed-box-exp {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    font-size: 60px;

    z-index: 9999;
}

    #expire_win.fixed-box-exp.show {
        display: block;
    }

#expire_win .block {
    display: table;
    vertical-align: middle;
    height: 100%;
    width: 100%;
}

#expire_win .middle {
    display: table-cell;
    vertical-align: middle;
}

#expire_win .overflow {
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: none;
}

    #expire_win .overflow::-webkit-scrollbar {
        width: 0px;
    }

#expire_win .close-btn {
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.45em;
    text-align: center;
    white-space: nowrap;
    background: #faebe3;
    box-shadow: 0 0 .1em #201a18, inset 0 0 0 .75em #ca8;
    color: #fff;
    text-shadow: 0 0 .15em rgba(48,0,26,.2), .01em .01em .05em rgba(48,0,26,.4);
    position: absolute;
    right: -.6em;
    top: -.6em;
    cursor: pointer;
    transition: box-shadow .5s, filter .5s, color .5s, background .1s .4s;
}

    #expire_win .close-btn:hover, #expire_win .close-btn:active, #expire_win .close-btn:focus {
        box-shadow: -.05em .05em .2em rgba(0,0,0,.4), inset 0 0 0 .05rem #ddd;
        filter: brightness(1.2);
        color: #fff;
        background: #366;
        transition: box-shadow .5s, filter .5s, color .5s, background 0s;
    }

#expire_win .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 5em;
    position: relative;
    background: #a21;
    border: .2em solid #fa0;
    box-shadow: inset 0 0 0px .05em #fff;
    border-radius: .65em;
    width: 86%;
    height: 86%;
    max-width: 900px;
    margin: 5% auto;
    /*animation: pop .2s ease-out;*/
}

#expire_win .mask {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    background: rgba(0,0,0,.7) !important;
    animation: fade .2s ease-out !important;
}

#expire_win .title {
    position: static;
    text-align: center;
    font-weight: 700;
    margin: .65em 0 .15em;
    color: #fff8f0;
    text-shadow: .05em .05em .02em rgba(0,0,0,.25), 0 0 .15em rgba(255,255,255,.25);
    line-height: 1.4;
}

#expire_win .pic {
    margin: .45em .5em;
}
#expire_win .evtlink {
    display: block;
}
#expire_win .evtImg {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border-radius: .25em;
    background-color: rgba(0,0,0,.2);
    box-shadow: 0 0 0 .025em rgba(0,0,0,.25);
}

@supports (backdrop-filter: blur(.75vmin)) {
    #expire_win .mask {
        backdrop-filter: blur(.75vmin);
    }
}

@media (max-width: 1000px) {
    #expire_win.fixed-box-exp {
        font-size: 6vw;
    }

        #expire_win.fixed-box-exp .title {
            font-size: 5.4vw;
        }
}

@keyframes pop {
    0% {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@keyframes fade {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}