html,
body {
    width: 100%;
    overflow-x: hidden !important;
}

.bold {
    font-weight: bold;
}

.loadingmask {
    opacity: 0.5;
}

.loadingmask:before {
    content: "";
    position: absolute;
    left: 48%;
    opacity: 1;
    font-size: 19px;
    z-index: 1;
    margin-top: 10px;
}

.stall.loading {
    width: 100%;
    margin: 10px;
}

.overflowhidden {
    overflow: hidden;
}

.bookname {
    font-size: 12px;
    color: black;
}

.width100 {
    width: 100%;
}

.podsearch:focus+.label-icon .material-icons {
    color: #555555 !important;
}


.ssub1217,
.ssub1222 {
    pointer-events: none;
}

.ssub1217 .sub_button,
.ssub1222 .sub_button {
    background-color: #aaaaaa;
    position: relative;
}

.ssub1217 .sub_button:after,
.ssub1222 .sub_button:after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: "截止訂閱";
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    margin: 30px 0;
}

.fixednav #bodywrapper.puremaincenter {
    width: 100%;
}

.sidenav {
    top: 50px !important;
}

.sidenav li>a {
    font-weight: bold;
}

.sidenav li .collapsible-body li a {
    font-weight: normal;
    padding-left: 40px;
}

.sidenav li .imgleftmenu {
    font-size: 14px;
    margin-left: 5px;
}

.sidenav .second__Header {
    position: absolute;
    top: -50px;
}

.sidenav-overlay {
    z-index: 54;
    transition: all ease-out 0.1s;
}

.sidenav .colfooter {
    margin: 20px 32px;
    line-height: 28px;
}

.collapsible-body li.menu-link.active {
    background-color: inherit !important;
}

.collapsible-body li.menu-link.active a {
    color: #d9b832 !important;
    font-weight: bold;
}

.collapsible-header {
    text-wrap: nowrap;
}

.collapsible-header>img {
    width: 30px;
    margin-right: 3px;
}

.sidenav li.active>a.collapsible-header {
    background-color: color-mix(in srgb, var(--md-sys-color-secondary) 10%, transparent);
}

.sidenav .collapsible-body li.active>a:not(:hover) {
    background-color: transparent !important;
}

.sidenav::-webkit-scrollbar,
.sidenav ::-webkit-scrollbar {
    width: 10px;
}

.sidenav ::-webkit-scrollbar {
    display: none;
}

.sidenav ::-webkit-scrollbar-thumb,
.sidenav::-webkit-scrollbar-thumb {
    background: #aaaaaa;
    border-radius: 10px;
}

.sidenav:hover::-webkit-scrollbar,
.collapsible-body:hover::-webkit-scrollbar {
    display: block;
}

@media only screen and (min-width : 992px) {
    .navopen.fixednav .puremaincenter {
        padding-left: 360px !important;
    }

    .navopen .puremaincenter.gridarea {
        padding-left: 320px !important;
    }

    .navopen .puremaincenter.gridarea.wideside {
        padding-left: 480px !important;
        padding-right: 80px !important;
    }
}

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

    .second__Header {
        z-index: 98;
    }

    html .puremaincenter {
        width: 100% !important;
        min-width: auto !important;
    }

    #bodywrapper.gridarea {
        padding: 80px 10px;
    }

    .top-nav {
        position: fixed;
        top: 20px;
        left: 20px;
        color: #504207;
    }

    .top-nav i {
        color: #504207;
    }

    .homeicon {
        margin-left: 10px;
    }

    #header {
        display: none;
    }
}

.first__header {
    height: 25px;
    display: flex;
    align-items: center;
    background-color: rgb(247, 247, 247);
    position: sticky;
    top: 0px;
    z-index: 100;
    width: 100%;
    flex: 1;
}

.first__header .left {
    position: fixed;
    left: 20%;
}

@media (max-width:900px) {
    .first__header .left {
        position: absolute;
        left: 16%;
    }
}

.first__header .left .p {
    font-size: small;
    margin-left: 10px;
}

.first__header .left .phone {
    border: 1px solid black;
    border-radius: 5px;

}

.first__header .header_right img {
    width: 15px;
}

.first__header .header_right {
    position: fixed;
    right: 5%;
}

@media (max-width:1300px) {
    .first__header .header_right {
        position: fixed;
        right: 50px;
    }
}

@media (max-width:900px) {
    .first__header .header_right {
        position: absolute;
        right: 50px;
    }
}

.first__header .header_right .p {
    font-size: small;
    margin-left: 10px;
    display: inline;
}

.second__Header {
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #ebce58;
    color: #c5992d;
    position: fixed;
    z-index: 100;
    width: 100%;
    flex: 1;
}

.second__Header>.nav {
    margin-left: 20px;
    font-size: 0;
}

.second__Header>.nav>button {
    background-color: #ffcd23;
    border: none;
    cursor: pointer;
}

.second__Header>.nav>button>.img {
    width: 25px;
}

.second__Header .headerlink {
    margin-left: 10px;
}

.second__Header .headertitle {
    color: #795548;
    margin-left: 2px;
}

.headerlink:hover {
    text-decoration: none;
}

.second__Header>.option {
    margin-left: 30px;
    color: #9e7100;
    cursor: pointer;
}

@media (max-width:1050px) {
    .second__Header>.option {
        margin-left: 5px;
        color: #9e7100;
        cursor: pointer;
    }
}

.second__Header>.option:active {
    color: #604400;
}

.second__Header>.header_right {
    display: flex;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 20px;
}

.mobilesearch {
    font-size: 28px;
    margin-right: 10px;
    display: none;
}

@keyframes delay-overflow {
    from {
        overflow: hidden;
    }

    to {
        overflow: visible;
    }
}

@media (max-width:600px) {
    .searchform {
        display: flex !important;
        width: 100%;
        height: 0 !important;
        position: fixed !important;
        overflow: hidden;
        top: 50px;
        left: 0;
        border-radius: 0 !important;
        box-shadow: 0 1px 5px rgb(91 91 91 / 25%);
    }

    .searchform.expand {
        height: 35px !important;
        transition: height 0.2s ease;
        animation: 0.2s delay-overflow;
        animation-fill-mode: forwards;
    }
}

@media (max-width:900px) {
    .headertitle {
        display: none;
    }

    .second__Header>.header_right {
        width: auto;
        flex-grow: 1;
        margin-left: 115px;
    }
}

.second__Header>.header_right>.search {
    flex-grow: 1;
    margin-right: 30px;
    height: 70%;
    background-color: white;
    border-radius: 30px;
    display: flex;
    position: relative;
}

.second__Header>.header_right>.search.active {
    border-radius: 18px 18px 0 0;
}

.second__Header>.header_right>.search>input {
    border: none;
    outline: none;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    border-radius: 0 30px 30px 0;
}

.second__Header>.header_right>.search>select {
    max-height: 20px;
    border-radius: 0;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid gray;
    margin-left: 8px;
    padding: 0;
    width: auto;
    outline: none;
}

.second__Header>.header_right>.search>select .second__Header>.search>select,
input:active {
    border: none;
}

.second__Header>.header_right>.search>.searchicon {
    position: relative;
    width: 25px;
    right: 5px;
}

@media (max-width:1000px) {
    .second__Header>.header_right>.search>.searchicon {
        position: relative;
        width: 25px;
        right: 5px;
        display: none;
    }
}

.optionimg {
    width: 25px;
    margin-left: 25px;
}

.third__Header {
    height: 25px;
    display: flex;
    align-items: center;
    background-color: rgb(247, 247, 247);
    position: sticky;
    top: 60px;
    z-index: 99;
    width: 100%;
    flex: 1;
}

.third__Header .notification {
    background-color: #FF053A;
    margin-left: 15%;
}

@media (max-width:1000px) {
    .third__Header .notification {
        background-color: #FF053A;
        margin-left: 22%;
    }
}

@media (max-width:900px) {
    .third__Header .notification {
        background-color: #FF053A;
        margin-left: 17%;
    }
}

.displaynone {
    display: none;
}

.notice {
    background: rgb(252, 239, 152);
    color: initial;
    padding: 10px;
    margin: 5px 0;
    font-size: 13px;
}

.cards img {
    border-radius: 3px;
}

.container,
.onecontent {
    position: relative;
    z-index: 2;
}

input.quantity {
    width: 35px !important;
    border: none !important;
    font-family: 微軟正黑體, "Microsoft JhengHei", 儷黑Pro, HelveticaNeue, "Helvetica Neue Regular", Arial, Helvetica, sans-serif;
}

.rightlogo {
    color: #776a69 !important;
}

.btn.pod {
    color: #776a69 !important;
    background-color: rgb(252, 239, 152);
}

.btn.pod:hover {
    color: rgb(252, 239, 152) !important;
    background-color: #787e9f !important;
}

.btn>.material-icons {
    /*color: #776a69 !important;*/
}

.btn>.material-icons:hover {
    /*color: rgb(252, 239, 152) !important;*/
}

.header_bg {
    background-color: rgb(252, 239, 152);
    color: #776a69 !important;
}

.footer_bg {
    background-color: rgb(252, 239, 152);
    color: #776a69 !important;
}

.footer-copyright {
    background-color: #776a69 !important;
    color: white !important;
    font-size: 12px;

}

.pod .collection .collection-item.active {
    background-color: #776a69 !important;
}

.cartsubmit {
    background-color: rgb(252, 239, 152);
    color: #776a69 !important;
}

.cartsubmit:hover {
    color: rgb(252, 239, 152) !important;
    background-color: #776a69 !important;
}

.paypaper_proceed {
    background-color: rgb(252, 239, 152);
    color: #776a69 !important;
}

.paypaper_proceed:hover {
    color: rgb(252, 239, 152) !important;
    background-color: #776a69 !important;
}

.maincenter {
    min-height: 56vh;
}

a {
    color: #776a69;
}

.delete_cart_item {
    color: #776a69 !important;
}

.lf2_content {
    width: 100vw;
    padding: 0px;
    margin: 0px;
}

.lf2_container {
    margin: auto;
    background-color: #898da1;
    height: auto;
    width: 1024px;
}

.lf2_header_shadow {
    position: relative;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    background: linear-gradient(to top, #132565 0%, transparent 40%);
}

.lf2_header_images {
    position: relative;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
}

.lf2_main_content {
    padding: 25px;
    height: auto;
    min-height: 60vh;
    background-color: #132565;
}

.lft_footer {

    color: white;
    background-color: #122565;
}

.lf2_black_text {
    color: black;
}

.lf2_title {
    margin: 0px 10px 15px;
    color: #132565;
    font-size: 42px;
    text-align: left;
    letter-spacing: 2px;
    line-height: 50px;
    font-family: "Dela Gothic One", sans-serif;
    background-color: #FFC812;
    font-weight: 400;
    font-style: normal;
    padding: 5px 5px 7px;
}


.lf2_p {
    color: white;
    font-size: 16px;
    text-align: left;
    line-height: 30px;
    font-family: "Noto Sans HK", sans-serif;
    font-weight: 500;
}

.lf2_header {
    height: 480px;
    min-height: 30vh;
    width: 100%;
    background-image: url('images/bg/1.png');
    background-position: center;
    background-size: cover;
    box-shadow: inset 3px 4px 100px #132565;
}

.subtitle {
    font-family: "Noto Sans HK", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 24px;
    text-align: left;
    line-height: 30px;
    text-align: center;
    color: #FFC812;
}

.bullet {
    color: White;
}

#header_image {
    width: 480px;
}

#footer_logo {
    width: 500px;
}



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

    .lf2_container {
        margin: auto;
        background-color: #898da1;
        height: auto;
        width: 100%;
    }

    .lf2_main_content {
        padding: 15px;
        height: auto;
        min-height: 60vh;
        background-color: #132565;
    }

    .lft_footer {
        padding: 15px;
        min-height: 10vh;
        color: white;
        background-color: #122565;
    }

    .lf2_header {
        height: 395px;
    }

    .lf2_title {
        font-size: 28px;
    }

    #header_image {
        width: 400px;
    }
}


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

    .lf2_container {
        margin: auto;
        background-color: #898da1;
        height: auto;
        width: 100%;
    }

    .lf2_main_content {
        padding: 15px;
        height: auto;
        min-height: 60vh;
        background-color: #132565;
    }

    .lft_footer {
        padding: 15px;
        min-height: 10vh;
        color: white;
        background-color: #122565;
    }

    .lf2_header {
        height: 395px;
    }

    #header_image {
        margin-top: 10%;
        width: 100%;
        max-width: 320px;
    }

    #footer_logo {
        width: 100%;
        max-width: 320px;
    }
}