nav[login="false"] .header .btnWrap_pc li.loginshow {
    display: inline-block;
}
nav[login="false"] .header .btnWrap_m li.loginshow{
    display: block;
}
nav[login="true"] .header .btnWrap_pc li.logoutshow{
    display: inline-block;

    b{
        color: #c56624;
        background-color: #ffe8d8;
        padding: 5px;
        border-radius: 5px;
        margin-right: 5px;
        font-weight: 400;
    }
    span{
        margin-right: 10px;
        color: #c5804f;
        font-size: 15px;
        margin-left: 10px;
    }
}

nav[login="true"] .header .btnWrap_m li.logoutshow{
    display: block;

    b{
        color: #c56624;
        background-color: #ffe8d8;
        padding: 5px;
        border-radius: 5px;
        margin-right: 5px;
        font-weight: 400;
    }
    span{
        margin-right: 10px;
        color: #c56624;
        font-size: 15px;
        margin-left: 10px;
    }
}


nav {


    .header{
        height: 60px;
        position: fixed;
        width: 100%;
        z-index: 10;
        top: 0px;
                border-bottom: 1px solid #e8bea15e;


        &:after{
            content: '';
            display: block;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 90) 0%, rgba(255, 255, 255, 0) 100%);
            width: 100%;
            height: 100px;
            pointer-events:none;
        }

        .logo_text{
            color: #484848;
            position: absolute;
            left: 0;
            top: 16px;
            font-size: 18px;
            text-align: center;
            width: 100%;
            text-align: left;
            left: 96px;
            letter-spacing: 5px;

            
        }
        .logo{
            background-color: #e4a173;
            width: 27px;
            left: 44px;
            top: 10px;
            border-radius: 50px;
            padding: 6px;
            position: absolute;
            z-index: 1;
        }


        .btnWrap_m{
            position: absolute;
            right: 20px;
            top: 59px;
            width: calc(100% - 40px);
            background-color: #fff3eb;
            padding-bottom: 20px;
            padding-top: 20px;

            .toolbtn{
                border-top: 1px solid #e8bea15e;
            }
         

            li{
                display: block;
                padding: 9px;
                cursor: pointer;
                font-size: 16px;
                color: #1a1a1a;
                text-align: left;
                padding-left: 30px;
                padding-right: 30px;
                

                &:hover{
                    background-color: #0000000d;
                }

                span{
                    vertical-align: middle;
                }

                .icon{
                    margin-right: 10px;
                    opacity: 0.7;
                    font-size: 21px;
                    color: #838383;
                }
            }

            li.loginshow{
                display: none;
            }

            li.logoutshow{
                display: none;
            }

        }



        .btnWrap_pc{
            position: absolute;
            right: 20px;
            

            .cp{
                max-width: 150px;
                display: inline-block;
                line-height: 1.2;
                font-size: 14px !important;
                text-align: right;
            }

            .toolbtn{
                border-left: 1px solid #e8bea15e;
            }

            li{
                display: inline-block;
                padding: 18px;
                padding-bottom: 0;
                padding-top: 0;
                line-height: 60px;
                height: 60px;
                cursor: pointer;
                margin-right: -4px;
                margin-left: -4px;
                font-size: 15px;
                color: #3d3d3d;
                overflow: hidden;

                span{
                    vertical-align: middle;
                }

                .icon{
                    margin-right: 5px;
                    opacity: 0.7;
                    font-size: 21px;
                }
                

                &:hover{
                    background-color: #0000000d;
                }
            }

            li.loginshow{
                display: none;
            }

            li.logoutshow{
                display: none;
            }
        }

        m{

            .menu-icon{
                position: fixed;
                right: 0px;
                font-size: 12px;
                top: 5px;
                cursor: pointer;
                z-index: 950;
                padding: 24px;
                padding-left: 8px;
                padding-right: 17px;            
            }

            .menu-icon span {
                height: 2px;
                width: 21px;
                background-color: #bdbdbd;
                display: block;
                margin-left: 6px;
                position: relative; /* 加這行才能讓 before/after 定位 */
            }

            .menu-icon span::before,
            .menu-icon span::after {
                content: '';
                height: 2px;
                width: 27px;
                background-color: #bdbdbd;
                display: block;
                position: absolute;
                left: 0;
                transition: all 0.3s ease;
            }

            .menu-icon span::before {
                top: -7px;
            }

            .menu-icon span::after {
                top: 7px;
            }

        }

    }
    
}


footer{
    padding-bottom: 40px;

    .btnwrap{
        text-align: left;
        font-size: 16px;
        position: relative;
        display: block;
        color: #2e2e2e;

        li{
            display: inline-block;
                        margin-right: 20px;

            span{
                    vertical-align: middle;
                
                
            }
            .icon{
                width: 36px;
                text-align: center;
                vertical-align: middle;

            }
            .i{
                vertical-align: middle;
                margin-right: 8px;
                font-size: 18px;
            }
        }

        .left{
            padding: 20px;
        }

        .right{
            position: absolute;
            text-align: right;
            right: 0;
            padding: 20px;
            top: 0;
        }
    }
}


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

    nav  .header  .logo {
        left: 20px;
    }

    nav .header .logo_text{
        text-align: left;
        left: 70px;
        font-size: 16px;
        top: 17px;
    }

    .loginWrap  .loginbox {
        width: calc(100% - 120px);
        left: 20px;
    
    }

    footer  .btnwrap .right {
        position: relative;
        text-align: center;
        padding-top: 0;
    }
    footer  .btnwrap .left {
        text-align: center;
        border-bottom: 1px solid #e9e9e9;
        margin: 20px;
        margin-top: 0;
    }

    nav[login="true"] .header .btnWrap_m li.logoutshow {
        b {
            color: #c56624;
            background-color: #ffe8d8;
            padding: 5px;
            border-radius: 5px;
            margin-right: 5px;
            font-weight: 400;
            margin-top: 9px;
            display: block;
            margin-left: 5px;
            width: fit-content;
        }
    }
    nav {
        & .header {
            & .btnWrap_m {
                .toolbtn {
                    border-top: 1px solid #e8bea15e;
                    padding-top: 13px;
                    margin-top: 10px;
                }
            }
        }
    }

}