/* popup layer */
.popuplayer {width: 100%;height: 100%;position: fixed;top: 0;display: none;text-align: center;z-index: 999999999;}

.popuplayer ::-webkit-scrollbar {width:0; height: 0;overflow:visible;}
.popuplayer ::-webkit-scrollbar-track {background-color:transparent;}
.popuplayer ::-webkit-scrollbar-thumb {border-radius: 3px; width:6px; margin-left: -6px;}
.popuplayer ::-webkit-scrollbar-button {display:none;}
.popuplayer ::-webkit-scrollbar-corner {background-color: transparent;}

.popuplayer .dim{position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999999999;}
.popuplayer .popup{
    width: auto;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 999999999;
    box-sizing: border-box;
    margin: 0 auto;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 40px rgba(0,0,0,0.4);
    color: black;
}
.popuplayer .popup .title {
/*     color: white; */
    color: black;
    position: absolute;
    height: 40px;
    width: 100%;
    top: 0;
    display: block;
    z-index: 999999999;
/*     background-color: #ac0001; */
    background-color: #ffffff;
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    padding: 0 40px;
}
.popuplayer .popup[hide*='title'] .title {
    display:none;
}
.popuplayer .popup .close {
    position: absolute;
    height: 40px;
    top: 0;
    right: 0;
    z-index: 999999999;
    display: none;
    width: 40px;
/*     color: white; */
    color: black;
    text-shadow: none;
    opacity: 1;
    font-weight: initial;
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}
.popuplayer .popup[hide*='close'] .close {
    display: none !important;
}
.popuplayer .popup .close::before{
    content: " " !important;
/*     background-image: url(/common/img/material.close.white.svg); */
    background-image: url(/common/img/material.close.svg);
    background-position: center;
/*     background-size: 70%; */
    background-size: 60%;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: bottom;
}
.popuplayer .popup .btn {
    position: absolute;
    height: 50px;
    width: 100%;
    bottom: 0;
    display: table;
    z-index: 999999999;
    padding: 0;
    table-layout: fixed;
    border: 5px solid white;
}
.popuplayer .popup .btn .btn_wrap {
    display: table-cell;
    padding: 0 1px;
    box-sizing: border-box;
    max-width: 0px;
}
.popuplayer .popup .btn .btn_wrap:first-child {
    padding-left: 0;
}
.popuplayer .popup .btn .btn_wrap:last-child {
    padding-right: 0;
}
.popuplayer .popup .btn .btn_wrap button{
    position: relative;
    border: 0;
    height: 100%;
    width: 100%;
    border: 2px solid white;
    border-radius: 6px;
    background-color: #ac0001;
    color: white;
    font-size: 18px;
}
.popuplayer .popup .btn .btn_wrap button:hover::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.2);
}
.popuplayer .popup .pop_contents_wrap {
    display: block;
    max-width: 100vw;
    max-height: 100vh;
    max-height: calc(var(--vh, 1vh) * 100);
    overflow: auto;
}

.popuplayer .popup .msg_wrap {
    display: table;
    height: 100%;
    width: 100%;
    position: relative;
    padding-bottom: 50px;
    margin-top: 40px;
}
.popuplayer .popup[hide*='title'] .msg_wrap {
    margin-top: 0px;
}
.popuplayer .popup .disable_today {
    text-align: left;
    padding: 8px 5px;
    color: white;
    background: #2e2e2e;
}
.popuplayer .popup .disable_today input + label span:before {
    background-image: url(/img/material.unchecked.circle.white.svg);
}
.popuplayer .popup .disable_today input:checked + label span:before {
    background-image: url(/img/material.check.circle.white.svg);
}
.popuplayer .popup .btn:empty {
    height: 0px;
}
.popuplayer .popup .btn:empty + .pop_contents_wrap .msg_wrap {
    padding-bottom: 0px;
    background: white;
    color: #2e2e2e;
}
.popuplayer .popup .title:empty {
    height: 0px;
}
.popuplayer .popup .title:empty ~ .pop_contents_wrap .msg_wrap {
    margin-top: 0px;
}
.popuplayer .popup .msg {
    word-break: break-word;
    width: 100%;
    position: relative;
    overflow: hidden;
    white-space: initial;
    display: table-cell;
    vertical-align: middle;
    font-size: 16px;
    line-height: 160%;
    font-weight: 400;
    word-break: keep-all;
}

.popuptoastlayer {
    color: white;
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    z-index: 999999999;
    display: block;
    overflow: hidden;
    pointer-events: none;
}
.popuptoastlayer:empty {
    display:none;
}
.popuptoastlayer .toast{
    width: auto;
    min-width: 20%;
    max-width: 80%;
    min-height: 36px;
    max-height: 50%;
    position: absolute;
    background: rgba(60,60,60,0.7);
    z-index: 999999999;
    margin: 0 auto;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: table;
    border-radius: 10px;
}
.popuptoastlayer .toast .toast_msg {
    display: table-cell;
    vertical-align: middle;
    word-break: break-word;
    white-space: initial;
    font-size: 16px;
    padding: 10px;
}
