@charset "utf-8";
* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
    display: block;
}

.clear:after,
.clear:before {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

html,
body {
    height: 100%;
    height: 100%;
    font-family: "Microsoft JhengHei", "敺株�甇��擃�";
}

body {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/bg.jpg) repeat;
    background-attachment: fixed;
    color: #000;
}

#wrapper {
    width: 100%;
    max-width: 1196px;
    margin: 0 auto;
    min-height: 2000px;
    overflow: hidden;
}

header {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    line-height: 0;
}

header img {
    max-width: 100%;
    height: auto;
}

.header-mobile {
    display: none;
}

#logo {
    position: absolute;
    top: 13%;
    right: 10%;
    width: 200px;
}

#main {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #fffbc6;
    padding: 20px 0 20px;
}

nav {
    width: 100%;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

nav:before {
    content: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/Ingots.png);
    width: 180px;
    height: 105px;
    position: absolute;
    left: 5%;
    bottom: 5%;
}

nav .menu {
    width: 80%;
    margin: 30px 5% 30px 15%;
    overflow: hidden;
}

nav .menu a {
    width: 16%;
    float: left;
    margin: 0 .2% 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 9;
}

#buttons button {
    width: 13%;
    height: 106px;
    float: left;
    margin: 0 .2% 20px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    position: relative;
    z-index: 9;
    outline: none;
    border: none;
    color: transparent;
    opacity: .6;
    transition: .5s;
}

#buttons button.active,
#buttons button:hover {
    opacity: 1;
}

button:first-of-type {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_0.png) no-repeat center center;
    background-size: contain;
}

button:nth-of-type(2) {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_1.png) no-repeat center center;
    background-size: contain;
}

button:nth-of-type(3) {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_2.png) no-repeat center center;
    background-size: contain;
}

button:nth-of-type(4) {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_3.png) no-repeat center center;
    background-size: contain;
}

button:nth-of-type(5) {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_4.png) no-repeat center center;
    background-size: contain;
}

button:nth-of-type(6) {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_5.png) no-repeat center center;
    background-size: contain;
}

button:last-of-type {
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/menu_6.png) no-repeat center center;
    background-size: contain;
}

section {
    width: 100%;
    overflow: hidden;
    padding: 1%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.date-list {
    width: 25%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0 0 20px;
    padding: 0 1%;
    position: relative;
    border-right: solid 1px #959595;
}

.date-list:nth-of-type(4n),
.date-list:last-of-type {
    border-right: none;
}

.date-list h3 {
    width: 90%;
    margin: 0 5% 20px;
    color: #fff;
    font-size: 24px;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
    position: relative;
}

.date-list h3.ora {
    background: #ff6702;
}

.date-list h3.red {
    background: #fb282c;
}

.date-list h3 span {
    font-size: 15px;
    position: absolute;
    right: 8%;
    bottom: 22%;
    color: #fff24a;
    font-weight: bold;
}

.date-list a {
    display: block;
    transition: .3s;
    line-height: 21px;
    margin-bottom: 5px;
    padding: 8px 0;
    font-size: 15px;
}

.date-list .list-display {
    margin-bottom: 0;
    padding: 0;
}

.date-list a:last-of-type {
    border-bottom: none;
}

.date-list a:hover {
    color: #00c2ca;
}

.list {
    width: 108%;
    padding: 0 5%;
    margin: 0 -4%;
    overflow: hidden;
}

.border-none {
    border-right: none;
}


/*============== footer ==============*/

footer {
    color: #fff;
    font-size: 13px;
    line-height: 0;
    letter-spacing: 1px;
    position: relative;
    background: url(https://www.artisan.com.tw/2019_events/2019NewYear/images/footer_bg.jpg) repeat-y;
    100% height: auto;
    margin: 0 auto;
    overflow: hidden;
    word-break: break-all;
    border-top: solid 7px #ff9b0b;
}

footer a {
    color: #fff;
    display: inline-block;
}

footer a:hover {
    color: #fded01;
}

.footer_table {
    width: 90%;
    max-width: 1196px;
    margin: 0 auto;
    padding: 10% 0;
    line-height: 20px;
    min-height: 350px;
}

.footer_left {
    width: 30%;
    float: left;
}

.footer_right {
    width: 70%;
    float: left;
}

.footer_right table td {
    padding-bottom: 20px;
}


/*============== go top ==============*/

#gotop {
    display: none;
    position: fixed;
    width: 130px;
    height: 120px;
    z-index: 999;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
}

#gotop img {
    width: 100%;
    height: auto;
}

@media (max-width:768px) {
    #logo {
        width: 150px;
    }
    nav {
        margin-bottom: 0;
    }
    nav .menu {
        width: 90%;
        margin: 10px 5%;
        overflow: hidden;
    }
    nav:before {
        display: none;
    }
    #buttons button {
        width: 13.2%;
        margin: 0 .5% 20px;
    }
    .date-list {
        width: 50%;
        padding: 0 2%;
    }
    .date-list:nth-of-type(2n) {
        border-right: none;
    }
}

@media (max-width:500px) {
    header {
        margin-top: 50px;
    }
    .header-PC {
        display: none;
    }
    .header-mobile {
        display: block;
    }
    #logo {
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        height: 50px;
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 99;
    }
    #logo img {
        width: 170px;
    }
    #buttons button {
        width: 23%;
        margin: 0 1% 10px;
        height: 85px;
    }
    section {
        padding: 1% 3%;
    }
    .date-list {
        width: 100%;
        border-right: none;
    }
    .date-list h3 {
        width: 100%;
        margin: 0 0 20px 0;
    }
    .date-list a {
        border-bottom: dotted 1px #b1aa53;
    }
    /* footer */
    .footer_left {
        margin-bottom: 20px;
    }
    .footer_right {
        text-align: left;
    }
    .footer_left,
    .footer_right {
        width: 100%;
        float: none;
    }
    .footer_right table td {
        display: block;
        padding-bottom: 20px;
    }
    #gotop {
        width: 100px;
        right: 10px;
        bottom: 10px;
    }
}
