/*********************************************************************
 * Copyright © 2020 - 2023 HsiangYee All Rights Reserved.
 * 著作權 © 2020 - 2023 HsiangYee 版權所有
 * 非經同意不得翻印轉載或以任何方式重製，以免侵犯臺灣智慧財產權須負責刑法與民法
 * 君子請自重 勿淪為小人，請勿以身試法，留下前科
 *********************************************************************/

html, body {
    overflow-x: hidden;
}

.curcursor-pointer {
    cursor: pointer;
}

.custom-icon {
    width: 20px;
}

.shareSection {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    width: 60px;
}

.round-icon {
    border-radius: 50px;
    width: 50px;
    height: 50px;
    margin: 5px 0px;
}

.btn-coffee {
    background-color: #6f4e37;
}

.box {
    position: relative;
    min-height: 100px;
    overflow: hidden;
    z-index: 100;
}

.box:hover > .mask{
    opacity: 0.15;
}

.box-bg-image {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: .9;
}

.box .mask {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    background: #000;
    opacity: .5;
    transition: .3s;
}

.box-content {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: #fff;
}

.zoom { 
    width: 110%;
    height: 45vw;
    max-height: 185px;
    max-width: 480px;
    margin-bottom: 15px;
}

/*
|--------------------------------------------------------------------------------------
| form
|--------------------------------------------------------------------------------------
*/
/* checkbox style */
.onoffswitch {
    position: relative;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid #999999; border-radius: 20px;
}

.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 26px; padding: 0; line-height: 26px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    padding-left: 13px;
    background-color: #336699; color: #FFFFFF;
}

.onoffswitch-inner:after {
    padding-right: 13px;
    background-color: #6699cc; color: #FFFFFF;
    text-align: right;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

.onoffswitch-unit {
    width: 43px;
}

.onoffswitch-inner-unit:before {
    content: "張";
}

.onoffswitch-inner-unit:after {
    content: "股";
}

.onoffswitch-discountType {
    width: 100px;
}

.onoffswitch-inner-discountType:before {
    content: "日退";
}

.onoffswitch-inner-discountType:after {
    content: "月退";
}

.ads-banner {
    max-width: 600px;
    background-color: #e01a4f;
    color: #fff;
    border-radius: 10px;
}

a.ads-banner:hover {
    color: #fff;
}

.ads-title {
    font-size: 24px;
    font-weight: bolder;
}

.ads-content {
    font-size: 18px;
}

.ads-yellow {
    color: yellow;
}

@media screen and (max-width: 320px){
    .ads-title {
        font-size: 18px;
        font-weight: bolder;
    }
    
    .ads-content {
        font-size: 14px;
    }
}

@media screen and (min-width: 321px) and (max-width: 425px){
    .ads-title {
        font-size: 20px;
        font-weight: bolder;
    }
    
    .ads-content {
        font-size: 16px;
    }
}