.lim-modal.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* overflow-y: scroll; */
    -webkit-overflow-scrolling: touch;
    z-index: 20;
    padding: 0px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.85);
    text-align: center;
    scroll-behavior: smooth;
}

.lim-modal.blocker * {
    box-sizing: border-box;
}

.lim-modal.blocker.padding-top-bottom-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.lim-modal.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}

.lim-modal.blocker.behind {
    background-color: transparent
}

.lim-modal.blocker .layout {
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000000;
    overflow: hidden;
}

.lim-modal.blocker .layout > .header-box {
    height: 2em;
    line-height: 2em;
    width: 100%;
    display: block;
    text-align: center;
    background-color: #ffa500;
    border-radius: 8px 8px 0 0;
}

.lim-modal.blocker .layout > .header-box > span {
    display: block;
    height: 100%;
}

.lim-modal.blocker .layout > .header-box > span:before {
    content: '';
    height: 100%;
    width: 0;
    display: inline-block;
    vertical-align: middle;
}

.lim-modal.blocker .layout > .content-box-outer {
    display: block;
    width: 100%;
    padding: 15px 15px;
}
.lim-modal.blocker .layout > .footer-box {
    text-align: center;
    padding: 0px 15px 15px;
    border-radius: 0 0 8px 8px;
    position: relative;
}
.lim-modal.blocker .layout > .footer-box > button {
    width: 40%;
    padding: 5px 10px;
    margin: 0px 5px;
}

.lim-modal.blocker .layout > .footer-box > .hr {
    width: 80%;
    margin: 0 auto 1em;
    border: 1px solid transparent;
}

.lim-modal.blocker .layout {
    font-size: 14px;
    width: 80%;
    background: #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    position: relative;
}

/* header exit btn */
.lim-modal .layout .header-box > .exit-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    background-color: transparent;
}

.lim-modal .layout .header-box > .exit-btn span {
    height: 20px;
    width: 20px;
    background-size: contain;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==');
    display: block;
}
/* alert_icon */
.lim-modal.blocker .layout .content-box-outer.lim-icon-content-outer {
    word-wrap: break-word;
    padding: 0px 15px;
    display: inline-block;
    vertical-align: middle;
}

.lim-modal.blocker .layout .content-box-outer.lim-icon-content-outer .lim-icon-box {
    display: table-cell;
    width: 50px;
    height: 50px;
    padding: 10px;
    vertical-align: middle;
}

.lim-modal.blocker .layout .content-box-outer.lim-icon-content-outer .lim-icon-box .lim-icon-exception {
    display: inline-block;
    width: 64px;
    padding-top: 64px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAC3UlEQVR42uXZ7VHjMBAGYNEBqYDQwV0FZzqADkIHUAG5Cu46ACqADjAVhA4uHZAOQBqcG8Uj2dqPd5eZaGZ/JM5Yfp840do+CUc+TrwPwHt4AvyI9RLrNtbDsQHsw58Or6+9EDwAxuH3wwXBGqAW3g3BEmAuvAuCFUBreHMECwBqeFMENAA3vBkCEkAa3gQBBaAVHo6AANAOD0XQBkCFhyFoAqDDQxC0AKzCqyNoAFDCX8TqZz6zGfZpgiAFoH7zV7GeZz7zQZhfjCAB4Jz2v2OtJ7YvY/0jHocIgQvA/c0/DAdcG92wX+pgI3AAJH94ffj6H6iNVax7ThAuAhVA+m+/jXU+sX0d6465bxYCBUBrqZuaM337K+H+SQitAJrrfDoDtpVtaY5OYY5mhBYA7SZnqhdIK8BSaZ4mhDkARIeXboP/rWyj9AAqCFMAqPa21guk+TbKc80i1ACQvX3qBK8K73eB1wOIEEoA6AubPpR7gZtYf0BzVhHGABZXdbtYi8L76yDrAVgIOYDlJW3pzHuKdWkw9wFCfiDvRuHTKC2FWj1Ay/h/VZoDrAK/D9cA0F4Ca+NtmH83BrBEKC2FFgAH4UsAVghjgC7glsBq+BqABUIfDpdCNEAx/BQAGiEd0M/s9TrglsBq+DkANEI+d2qAbqzDtwAgERbZgSGWwNnwrQAohHwpbL0VrhqeAoBAyG+Ray6BzeGpANoI+6UwdZ/vHuE5AJoIfazXWGdBfh+QFZ4LoImgNVjhJQAaCOn3/xjr17Av7oUYO7wUQIIwvivUBV4nKAqvAcBFKF0NUpdCcXgtAA5C6Skx5X6ESnhNACrCdgiwHV5TngiphdcGoCKk0YevByFLj/AIAA5C61APjwJAIEDCIwE0EWDh0QAaCNDwFgASBHh4KwAOgkl4SwAKgll4a4AWBNPwHgBTCObhvQBKCC7hPQFyBLfw3gBppMfhvVf47wDgPo4e4BNJ0dRB6R3hrQAAAABJRU5ErkJggg==');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.lim-modal.blocker .layout .content-box-outer.lim-icon-content-outer .lim-icon-box + .content-box {
    display: table-cell;
    vertical-align: middle;
    /*max-width: calc(100% - 90px);*/
    padding: 0;
    text-align: left;
}

.lim-modal .layout.width-auto {
    width: auto !important;
}

/** 沒背景 layout */
.lim-modal .layout.layout-no-background {
    width: auto;
    background: transparent;
}

/** 扩充请加在下面 **/

/* one button width (ok) */
.lim-modal.blocker .layout > .footer-box > button:first-of-type:nth-last-of-type(1) {
    width: 100%;
    margin: 0 auto;
}

/* two buttons width (ok, no) */
.lim-modal.blocker .layout > .footer-box > button:first-of-type:nth-last-of-type(2),
.lim-modal.blocker .layout > .footer-box > button:first-of-type:nth-last-of-type(2) ~ button {
    width: 45%;
}

/*----- layout-style1 Start -----*/
/*----- layout-style1 Start -----*/

.lim-modal .layout.layout-style1 {
    border: none;
    width: calc(100% - 30px);
    border-radius: 3px;
    z-index: 10;
    font-size: 14px;
    color: #ffffff;
    /*border: 1px solid #3a689b;*/
    background-color: #0C0C0C;
}

.lim-modal .layout.layout-style1 .header-box {
    height: 30px;
    line-height: 30px;
    border-radius: 0px;
    background-image: linear-gradient(180deg,
		#ceb680 0%,
		#8b7548 100%);
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    position: relative;
}

.lim-modal .layout.layout-style1 > .content-box-outer {
    border: 1px solid #8e774b;
    border-radius: 0 0 3px 3px;
}

.lim-modal .layout.layout-style1 > .footer-box {
    border: 1px solid #8e774b;
    border-top: none;
    border-radius: 0 0 3px 3px;
    padding: 0 15px 15px;
    background-color: #0C0C0C;
    margin-top: -3px;

}

.lim-modal.blocker .layout > .footer-box > .hr {
    width: 100%;
    border: none;
    margin: 0;
}

.lim-modal .layout.layout-style1 .header-box > .exit-btn span {
    background-image: url(./img/img_alert-close.png?v=2);
}

.lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn {
    color: #ffffff;
    border: 1px solid #9f8653;
    background-color: #9f8653;
    cursor: pointer;
    border-radius: 5px;
    outline: none;
    height: 36px;
}
.lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn:hover {
    border: 1px solid #b09967;
    background-color: #b09967;
}
.lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn:active,
.lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn:focus {
    border: 1px solid #8b7548;
    background-color: #8b7548;
}
.lim-modal .layout.layout-style1 .footer-box > button.css-hollow-btn {
    color: #8182f2;
    border: 1px solid #9f8653;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    outline: none;
    height: 36px;
}

/* web */
@media screen and (min-width:1024px) {
    .lim-modal .layout.layout-style1 {
        width: 405px;
        font-size: 14px;
    }

    .lim-modal .layout.layout-style1 > .content-box-outer {
        border: 1px solid #8e774b;
        padding: 19px 19px;
    }

    .lim-modal .layout.layout-style1 > .footer-box {
        border: 1px solid #8e774b;
        border-top: none;
        padding: 0 19px 19px;
    }

    .lim-modal.blocker .layout > .footer-box > .hr {
        width: 100%;
        border: none;
        margin: 0;
    }

    .lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn {
        color: #ffffff;
        border: 1px solid #9f8653;
        background-color: #9f8653;
    }
    .lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn:hover {
        border: 1px solid #b09967;
        background-color: #b09967;
    }
    .lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn:active,
    .lim-modal .layout.layout-style1 .footer-box > button.css-filling-btn:focus {
        border: 1px solid #8b7548;
        background-color: #8b7548;
    }
    .lim-modal .layout.layout-style1 .footer-box > button.css-hollow-btn {
        color: #8182f2;
        border: 1px solid #9f8653;
    }
}

/*----- layout-style1 End -----*/
/*----- layout-style1 End -----*/