* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f8fa;
}

/* ========== 主要內容區 ========= */
.main {
    padding-top: 100px;
    padding-left: 120px;
    overflow: hidden;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.main_content {
    width: calc(100%);
    min-width: 343px;
    min-height: calc(100vh - 100px);
    padding: 35px;
    box-sizing: border-box;
}

.contents {
    width: 100%;
    /* max-width: 1279.98px; */
    /* border: 2px dashed blue; */
    position: relative;
}

.tippy-box {
    /* min-width: 200px; */
    padding: 6px;
    background-color: var(--main-primary-color);
    border: 2px solid var(--main-primary-color);
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.3);
    text-align-last: left;

}

.tippy-box .tippy-arrow {
    color: var(--main-primary-color);
}

.tippy-content {
    white-space: pre-line;
}

.tippy-box[data-placement^=bottom]>.tippy-arrow {
    top: -3px;
}

.tippy-box[data-placement^=bottom]>.tippy-arrow:before {
    top: -6px;
}

.tippy-box[data-theme~="custom1"] {
    min-width: 200px;
}

.tippy-box[data-theme~="custom2"] {
    background-color: var(--main-primary-color);
    border: 2px solid var(--main-primary-color);
}

.tippy-box[data-theme~="custom2"] .tippy-arrow {
    color: var(--main-primary-color);
}

.keep_update {
    position: fixed;
    bottom: 0;
    left: 120px;
    right: 0;
    min-width: 311px;
    height: 64px;
    background-color: #2E4A8F;
    transform: translateY(66px);
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    padding-left: 16px;
    opacity: 0;
    z-index: 100;
}

.keep_update.active {
    transform: translateY(0px);
    opacity: 1;
}

.navb {
    position: fixed;
    right: 40px;
    bottom: 72px;
    display: flex;
    flex-direction: column;
    z-index: 99;
}

.navb .comp {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-sizing: border-box;
}

.navb .comp img {
    width: 100%;
}

.mydialog {
    background-color: #fff;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    width: 343px;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
    display: none;
    z-index: 1000;

}

.mydialog_line {
    position: fixed;
    right: 5vw;
    bottom: 4vw;
    /* right: 120px;
    bottom: 72px; */
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.mydialog_app {
    position: fixed;
    right: 5vw;
    bottom: 8vw;
    /* bottom: 236px;
    right: 48px; */
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

@media screen and (max-width:930px) {
    .mydialog_line {
        width: 100%;
        right: 0;
        bottom: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .mydialog_app {
        width: 100%;
        right: 0;
        bottom: 0;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

.dialog_header {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mydialog_line .dialog_header {
    background-color: #00b900;
}

.mydialog_app .dialog_header {
    background-color: #e4b849;
}

.dialog_header img.dialog_line {
    width: 24px;
    height: 24px;
    margin-left: 8px;
    margin-right: 8px;
}

.mydialog_app .dialog_header>span {
    margin-left: 8px;
    margin-right: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;

}

.dialog_body {
    padding: 16px;
}

.dialog_body .message {
    width: 100%;
    min-width: 311px;
    border-radius: 16px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    background-color: #feffff;
    padding: 16px 8px 16px 40px;
    box-sizing: border-box;
}

.dialog_body .message+.message {
    margin-top: 24px;
}

.dialog_body .message h4 {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.dialog_body .message h4::before {
    position: absolute;
    left: -32px;
    width: 24px;
    height: 24px;
}

.mydialog_line .dialog_body .message h4::before {
    content: url("../../../../images/components/info/info_check1_g.svg");
}

.mydialog_app .dialog_body .message h4::before {
    content: url("../../../../images/components/info/info_check1_y.svg");
}

.dialog_body .message p {
    margin-bottom: 8px;
    letter-spacing: 0.8px;
    line-height: 1.2;
}

.dialog_body .message .line_qrcode {
    margin-bottom: 8px;
}

.copy_text {
    display: flex;
    align-items: center;
}

.copy_img {
    margin-left: 8px;
    cursor: pointer;
}

.btn_close {
    cursor: pointer;
}

.blocker {
    position: fixed;
    top: 100px;
    right: 0;
    bottom: 0;
    left: 120px;
    width: calc(100% - 120px);
    height: calc(100% - 100px);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background-color: rgb(255, 255, 255, 0.2);
}

@media screen and (max-width:1024px) {
    .main {
        padding-left: 0;
    }

    .keep_update {
        left: 0px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .blocker {
        left: 0;
        width: calc(100%);
    }
}


@media screen and (max-width: 450px) {

    .main_content {
        min-width: 343px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .navb {
        bottom: 66px;
        right: 0px;
    }

    /* .mydialog_line{
        right: 0;
        bottom: 144px;
    } */

    /* .mydialog_app{
        right: 0;
    } */

}