﻿/* 首頁東稅問問我：接在右側快捷選單最下方，與選單一起固定顯示。 */
.right_menu_box {
    top: 255px;
    right: 24px;
    top: clamp(134px, calc(100vh - 626px), 255px);
}
.home-tax-chat {
    display: block;
    width: 112px;
    margin: 8px -20px 0;
    line-height: 0;
    border-radius: 12px;
}
.home-tax-chat img {
    display: block;
    width: 100%;
    height: auto;
}
.home-tax-chat:focus {
    outline: 3px solid #663300;
    outline-offset: 3px;
}
@media screen and (min-width: 1025px) {
    .gototop {
        right: 144px;
    }
}
@media screen and (min-width: 1025px) and (max-height: 760px) {
    .right_menu > ul > li > a,
    .right_menu > ul > li > div > a {
        margin: 4px 0;
    }
}
@media screen and (max-width: 1024px) {
    .right_menu_box {
        position: fixed;
        display: block;
        top: auto;
        right: 8px;
        bottom: 160px;
        bottom: calc(160px + env(safe-area-inset-bottom, 0px));
        width: 128px;
        z-index: 9;
    }
    .right_menu_box .right_menu {
        display: none;
    }
    .home-tax-chat {
        width: 128px;
        margin: 0;
    }
}
@media print {
    .home-tax-chat {
        display: none;
    }
}
