html.gk-btn-popup-open, body.gk-btn-popup-open {
    height: calc(100vh);
    overflow: hidden !important;
}

html[dir] .gohk-btn-container a.gohk-btn {
    display: -webkit-flex;
    display: flex;
    cursor: pointer;
    text-decoration: none;
    align-items: center;
    box-sizing: border-box;
}

html[dir] .gohk-btn-container.gohk-btn-sm .gohk-btn {
    height: 36px;
    padding: 3px 20px;
    border-radius: 200px;
}

html[dir] .gohk-btn-container.gohk-btn-lg .gohk-btn {
    height: 50px;
    padding: 5px 30px;
    border-radius: 50px;
}

html[dir] .gohk-btn-container {
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 5px;
    margin-left: 0;
}

html[dir=rtl] .gohk-btn-container {
    margin-right: 0;
    margin-left: 10px;
}

html[dir] .gohk-btn-container .gohk-btn .btn-ico {
    display: -webkit-flex;
    display: flex;
}

html[dir] .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-ico img {
    max-height: 30px;
}

html[dir] .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-ico img {
    max-height: 40px;
}

html[dir] .gohk-btn-container .gohk-btn .btn-ico .btn-ico-placeholder {
    width: 7px;
}

html[dir] .gohk-btn-container .gohk-btn .btn-text {
    font-family: "elza-text", "Open Sans", arial, sans-serif;
}

html[dir] body.zh-CN .gohk-btn-container .gohk-btn .btn-text {
    font-family: "source-han-sans-simplified-c", "Microsoft JHei TC Blod", "Open Sans", arial, sans-serif;
    letter-spacing: 0.08em;
}

html[dir] body.zh-TW .gohk-btn-container .gohk-btn .btn-text {
    font-family: "source-han-sans-traditional", "Microsoft JHei TC Blod", "Open Sans", arial, sans-serif;
    letter-spacing: 0.08em;
}

html[dir] .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    font-style: normal;
    font-weight: 500;
}

html[dir] body.zh-TW .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-text,
html[dir] body.zh-CN .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-text {
    font-weight: 500;
    font-size: 14px;
}

html[dir] .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-text {
    line-height: 24px;
    font-weight: 500;
    font-size: 20px;
}

html[dir] body.zh-TW .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-text,
html[dir] body.zh-CN .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-text {
    font-weight: 400;
    font-size: 20px;
}

html[dir] .gohk-btn-popup {
    position: fixed;
    /* visibility: hidden; */
    z-index: -1999;
    top: -100000px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    /* opacity: 0.9; */
    background-color: rgba(0, 0, 0, 0.7);
}

html[dir] .gohk-btn-popup .gohk-btn-popup-container {
    position: relative;
    margin: 96px auto 0 auto;
    height: calc(100% - 96px - 96px);
    max-width: 1330px;
    border-radius: 8px;
    -webkit-transform: rotate(0deg);
}

html[dir] .gohk-btn-popup .gohk-btn-popup-container .gohk-btn-popup-body {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding-top: 85px;
    padding-bottom: 85px;
    border-radius: 8px;
    overflow: hidden;
    -webkit-transform: rotate(0deg);
}

html[dir] .gohk-btn-popup .gohk-btn-popup-close-btn {
    position: absolute;
    top: -40px;
    right: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

html[dir=rtl] .gohk-btn-popup .gohk-btn-popup-close-btn {
    right: auto;
    left: 10px;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-close-btn > svg {
    width: 100%;
    height: 100%;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item {
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: content-box;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
    font-family: "elza-text", "Open Sans", arial, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 30px;
}

html[dir] body.zh-CN .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
    font-family: "source-han-sans-simplified-c", "Microsoft JHei TC Blod", "Open Sans", arial, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

html[dir] body.zh-TW .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
    font-family: "source-han-sans-traditional", "Microsoft JHei TC Blod", "Open Sans", arial, sans-serif;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section,
html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section * {
    font-family: "elza-text", "Open Sans", arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section a {
    text-decoration: underline;
}

html[dir] body.zh-TW .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section,
html[dir] body.zh-TW .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section * {
    font-family: "Microsoft JHei TC Regular", "Open Sans", arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

html[dir] body.zh-CN .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section,
html[dir] body.zh-CN .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section * {
    font-family: "Microsoft JHei TC Regular", "Open Sans", arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section:not(:last-child) {
    margin-bottom: 32px;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section.inverse {
    flex-direction: row-reverse;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .single-section {
    width: 100%;
}

html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .couple-section {
    width: 48.83%;
}

html[dir] .gohk-btn-popup.gohk-btn-iframe-popup .gohk-btn-popup-body {
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
}

html[dir] .gohk-btn-popup.gohk-btn-iframe-popup .gohk-btn-popup-body > iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media screen and (max-width: 1330px) {
    html[dir] .gohk-btn-popup .gohk-btn-popup-container {
        margin: 129px auto 0 auto;
        height: calc(100% - 129px);
        /* max-height: calc(100vh - 129px - 129px); */
        border-radius: 12px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-container .gohk-btn-popup-body {
        padding-top: 76px;
        padding-bottom: 76px;
        border-radius: 12px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    html[dir] .gohk-btn-popup.gohk-btn-iframe-popup .gohk-btn-popup-container .gohk-btn-popup-body {
        padding-top: 0;
        padding-bottom: 0;
    }
    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item {
        padding-left: 80px;
        padding-right: 80px;
    }

    /*
    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.md-full {
        padding-left: 0;
        padding-right: 0;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.md-full .owl-carousel .image-wrapper .image-item > img {
        border-radius: unset !important;
    }
    */

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section {
        display: block;
        justify-content: space-between;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
        margin-bottom: 26px;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .couple-section {
        width: 100%;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section:not(:last-child),
    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .couple-section:nth-child(odd) {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    html[dir] .gohk-btn-container.gohk-btn-lg .gohk-btn {
        height: 42px;
        padding: 5px 20px;
        border-radius: 50px;
    }

    html[dir] .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-ico img {
        max-height: 22px;
    }

    html[dir] .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-text {
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        font-style: normal;
        font-weight: 500;
    }

    html[dir] body.zh-TW .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-text,
    html[dir] body.zh-CN .gohk-btn-container.gohk-btn-sm .gohk-btn .btn-text {
        font-weight: 500;
        font-size: 14px;
    }

    html[dir] .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-text {
        line-height: 24px;
        font-weight: 500;
        font-size: 15px;
    }

    html[dir] body.zh-TW .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-text,
    html[dir] body.zh-CN .gohk-btn-container.gohk-btn-lg .gohk-btn .btn-text {
        font-weight: 400;
        font-size: 15px;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-container {
        margin: 59px auto 0 auto;
        height: calc(100% - 59px);
        /* max-height: calc(100vh - 59px - 59px); */
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-container .gohk-btn-popup-body {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item {
        padding-left: 25px;
        padding-right: 25px;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
        font-family: "elza-text", "Open Sans", arial, sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    html[dir] body.zh-CN .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
        font-family: "source-han-sans-simplified-c","Microsoft JHei TC Blod", "Open Sans", arial, sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0.08em;
    }

    html[dir] body.zh-TW .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-title {
        font-family: "source-han-sans-traditional","Microsoft JHei TC Blod", "Open Sans", arial, sans-serif;
        font-style: normal;
        font-weight: 500;
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0.08em;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section,
    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section * {
        font-family: "elza-text", "Open Sans", arial, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.5;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section a {
        text-decoration: underline;
    }

    html[dir] body.zh-TW .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section,
    html[dir] body.zh-TW .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section * {
        font-family: "Microsoft JHei TC Regular", "Open Sans", arial, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 0.08em;
    }

    html[dir] body.zh-CN .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section,
    html[dir] body.zh-CN .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .text-section * {
        font-family: "Microsoft JHei TC Regular", "Open Sans", arial, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 1.5;
        letter-spacing: 0.08em;
    }

    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section:not(:last-child),
    html[dir] .gohk-btn-popup .gohk-btn-popup-body .popup-content-item.popup-section .couple-section:nth-child(odd) {
        margin-bottom: 20px;
    }
}
