#root .popup-widget {
    position:relative;
    z-index: 1003;
}
#root .hide-popup .popup,#root .hide-popup .popup-click-mask {
    display: none
}
#root.popup-present {
    overflow:hidden;
}
#root .popup ul {
    list-style-type: circle
}

#root .popup-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000
}

#root .popup-click-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10800;
    background-color: var(--c-black)
}

#root .popup {
    max-width: 100%;
    max-height: 95vh;
    /* overflow: auto; */
    width: auto;
    background-color: var(--o-primary-b);
    border: 1px solid var(--c-white);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2000;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
    box-shadow: 2px 2px 3px var(--o-primary-h),-2px -2px 3px var(--o-primary-h)
}
#root .popup p {
    margin:0;
}
#root .popup-banner {
    position: sticky;
    top: 0
}

#root .popup-banner img {
    width: 100%;
    box-shadow: 0 2px 2px var(--c-shade-b);
    border-bottom: 1px solid var(--c-tint)
}

#root .popup img {
    width: 100%;
    height:auto
}

#root .popup.with-title {
    overflow: hidden
}

#root .popup-buttons div {
    text-align: center
}

#root .popup-buttons div button {
    max-width: 100px;
    width: 100%;
    height: 36px;
    background-color: var(--o-green-b);
    margin-top: 5px
}

#root .popup-buttons button.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    margin: unset;
    border-bottom-left-radius: 50%;
    color: var(--c-black);
    background-color: var(--c-white-e);
    font-weight: 700
}

#root .popup-buttons {
    height: 0
}

#root .popup-buttons img {
    display: none
}

#root .popup-title {
    padding: 12px;
    min-height: 36px;
    text-align: center;
    background-color: var(--o-blue-b)
}

#root .mobile .popup {
    max-height: calc(100vh - 108px);
}

#root .mobile .popup {
    max-width:95%;
    width:100%;
    /* height: auto; */
    /* max-height: unset; */
}

#root .popup-text {
}

#root .desktop .popup.with-title .popup-text {
    overflow: auto;
    max-height: calc(95vh - 142px)
}

#root .temp-notice div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px
}

#root .temp-text {
    display: block;
    background-color: var(--o-primary-c)
}

#root .temp-text ul {
    list-style-type: circle
}
