.whattime-inline-widget,
.whattime-inline-widget *,
.whattime-badge-widget,
.whattime-badge-widget *,
.whattime-overlay,
.whattime-overlay * {
    font-size: 16px;
    line-height: 1.2em
}

.whattime-inline-widget iframe,
.whattime-badge-widget iframe,
.whattime-overlay iframe {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
}

.whattime-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5);
}

.whattime-close-overlay {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.whattime-popup-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    width: 19px;
    height: 19px;
    cursor: pointer;
    background: url(https://assets.whattime.co.kr/assets/close.svg) no-repeat;
    background-size: contain;
}

.whattime-popup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 900px;
    max-width: 1025px;
    max-height: 680px;
}

.whattime-popup-content {
    width: 100%;
    height: 100%;
}

@media (max-width: 850px) {
    .whattime-popup {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        -webkit-transform: none;
        transform: none;
        width: 100%;
        height: auto;
        min-width: 0;
        max-height: none
    }

    .whattime-popup-content {
        padding-top: 2rem;
        width: 95%;
        height: 90%;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.whattime-spinner {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    z-index: -1
}

.whattime-spinner > div {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    vertical-align: middle;
    -webkit-animation: whattime-bounce-delay 1.4s infinite ease-in-out;
    animation: whattime-bounce-delay 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.whattime-spinner .whattime-bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s
}

.whattime-spinner .whattime-bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s
}

@-webkit-keyframes whattime-bounce-delay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes whattime-bounce-delay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

.whattime-badge-widget {
    position: fixed;
    right: 20px;
    bottom: 15px;
    z-index: 9998
}

.whattime-badge-widget .whattime-badge-content {
    display: table-cell;
    width: auto;
    height: 45px;
    padding: 0 30px;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 2px 5px;
    font-family: sans-serif;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    cursor: pointer
}
