﻿/* font */

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
.garamond {
    font-family: Garamond;
    font-weight: bold;
}

.QS {
    margin:0;
    padding:0;
    font-family: Times New Roman, "微軟新細明體", "細明體";
    font-weight: lighter;
}

.QS .main {
    width: 70%;
    margin: 180px auto 0;
    min-height: 650px;
}


/* header */

.QS header {
    width: 100vw;
    margin: 0 auto;
    background-color: #fff;
    position: fixed;
    z-index: 999;
    /*padding-bottom: 20px;*/
}

.masterImg{
    height:7%;
    width:7%;
}

.masterImg-member{
    height:7%;
    width:7%;
}

.masterImg-wish{
    height:7%;
    width:7%;
}
.QS header h1 {
    margin: 0;
}

.QS header a {
    color: #000;
}

.QS header a:hover {
    opacity: .5;
}

.QS header .header-inner {
    width: 79%;
    margin: 0 auto;
    position: relative;
}

.QS header .header-inner .logo a {
    width: 340px;
    height: 60px;
    display: block;
    background: url(../../images/zh-TW/queenshop-logo.svg) no-repeat center center;
    background-size: contain;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin:25px auto 30px;
    /* set animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
@media (max-width: 993px) {
    .QS header .header-inner .logo a {
		width: 140px;
		height: 50px;
        margin:0 auto ;
	}
}

.QS header .header-inner nav ul:first-child {
    position: absolute;
    left: 0;
    top: 40px;
    /* set animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    z-index: 3;
}

/*.QS header .header-inner nav ul:first-child li:first-child a, .QS header .header-inner nav ul:first-child li:last-child a {
    background: url(../../images/aLady-logo.svg) no-repeat center center;
    background-size: contain;
    width: 100px;
    height: 32px;
    display: inline-block;
    white-space: nowrap;
    text-indent: 100%;
    overflow: hidden;
    padding: 0;
    /* set animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

/*.QS header .header-inner nav ul:first-child li:last-child a {
    background: url(../../images/Lanas-logo.svg) no-repeat center top;
    background-size: 95%;
    width: 96px;
    height: 25px;
    vertical-align: super;
    margin-left: 15px;
}*/

.QS header .header-inner nav ul:last-child {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.QS header .header-inner nav ul:last-child li:first-child {
    margin-left: 15px;
}

.QS header .header-inner .search {
    position: absolute;
    right: 20px;
    top: 0;
    border-bottom: 1px solid #000;
    padding-bottom: 1px;
}

    .QS header .header-inner .search input {
        border: none;
        font-size: 12px;
        line-height: 15px;
    }

.QS header .header-inner .search input[type=submit] {
    background: url(../../images/zh-TW/icon/magnifying-glass.svg) no-repeat center center;
    background-size: contain;
    border: none;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    width: 40px;
    display: inline-block;
    padding: 0;
    margin: 0;
}
@media (max-width: 993px) {
    .QS header .header-inner .search {
        position: relative;
        padding: 0;
        width: 70%;
        margin: 60px auto 30px;
        right: auto;
    }

        .QS header .header-inner .search input {
            -webkit-appearance: none;
            border-radius: 0;
            width: calc(100% - 55px);
            background: transparent;
        }

        .QS header .header-inner .search button {
            position: absolute;
            right: 0;
            top: 0;
        }
        .QS header .header-inner .search input[type=submit] {
            width:50px;
        }
}
.QS header .header-inner .login {
    position: absolute;
    right: 0;
    top: 40px;
    width: 240px;
    text-align: center;
    font-size: 12px;
    /* set animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.QS header .header-inner .login li {
    margin-bottom: 10px;
}

.QS header .header-inner .login li:nth-child(odd) {
    width: 40%;
}


/* sticky-top */

.QS header.sticky-top {}

.QS header.sticky-top .header-inner .logo a {
    width: 270px;
    height: 40px;
    margin: 20px auto;
}

.QS header.sticky-top .header-inner nav ul:first-child {
    top: 15px;
    left: 110px;
}

.QS header.sticky-top .header-inner nav ul:first-child li:first-child a, .QS header.sticky-top .header-inner nav ul:first-child li:last-child a {
    background-size: contain;
    width: 75px;
    height: 25px;
}

.QS header.sticky-top .header-inner nav ul:first-child li:last-child {
    margin-left: 10px;
}

.QS header.sticky-top .header-inner nav ul:first-child li:last-child a {
    background-size: contain;
    width: 75px;
    height: 20px;
}

.QS header.sticky-top .header-inner nav ul:last-child {
    margin-top: -15px;
}

.QS header.sticky-top .header-inner .login {
    top: 30px;
    right: 0;
}

.QS header.sticky-top .header-inner .login li {
    margin-bottom: 5px;
}
/* footer */

.QS footer {
    width: 100%;
    /*display: white;*/
    background-color: #2A2A2A;
    margin-top: 50px;
    position: relative;
    color:#fff;
    font-size:12px;
}

.QS footer ul:first-of-type {
    width: 80%;
    margin: 0 auto;
}

.QS footer ul:first-of-type li {
    /*padding: 20px calc((100% - 1092px)/13);*/
    padding: 20px 20px;
    padding-left: 0;
}

.QS footer ul:first-of-type li:last-child {
    padding-right: 0;
}

.QS footer ul:last-of-type {
    border-top: 1px solid #ffffff;
    padding: 12px;
    margin: 0 auto;
    font-weight: bold;
}

.QS footer a {
    color: #ffffff;
}

.QS footer h6 {
    color: #ffffff;
    font-weight: lighter;
    margin: 0;
    padding: 10px 0 20px;
}

.QS footer .other-links, .QS footer .e-paper {
    position: absolute;
    top: 45%;
    left: 11%;
}

.QS footer .other-links a:hover {
    opacity: .5;
}

.QS footer .e-paper {
    left: inherit;
    right: 10.5%;
    width: 300px;
}

.QS footer .e-paper span {
    font-size: 12px;
    text-decoration: underline;
}

/*.QS footer .e-paper input {
    border: none;
    background-color: #000;
    color: #fff;
    width: 70%;
    float: right;
}*/

.QS footer .e-paper input[type=text] {
    border: none;
    background-color: #fff;
    color: #000;
    width: 70%;
    float: right;
}

/*.QS footer .e-paper button {
    border: none;
    background-color: rgba(255, 0, 0, 0);
    padding: 0;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 25px;
}*/
.QS footer .e-paper input[type=submit] {
    border: none;
    background-color: rgba(255, 0, 0, 0);
    padding: 0;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 25px;
}


/* #rTscroller */

#mTS_1 {
}

#rTscroller {
    width: 100%;
}
#rTscroller .mTSThumbContainer {
    width: 100%;
    max-width: 250px;
    margin: 0;
    text-align: center;
}
#rTscroller .mTSThumbContainer:first-child {
    max-width: 249px;
}
#rTscroller .mTSThumbContainer a:hover {
  opacity: .5;
}
#rTscroller .mTSThumbContainer img {
    width: 98%;
    height: auto;
}
#mTS_1_buttonUp, #mTS_1_buttonDown {
    margin-left: -18px;
}

#mTS_1_buttonUp {
    top: -8%;
}

#mTS_1_buttonDown {
    bottom: -2%;
}

/* today view */

#today_slider_scroll {
    top: 0;
    left: -160px;
    width: 160px;
    position: fixed;
    z-index: 999
}

#today_slider_content {
    background: #fff;
    text-align: center;
    padding-top: 140px;
    background: #fff\9;
    filter: alpha(opacity=30)\9;
    background-color: hsla(0, 0%, 100%, .3);
    box-shadow: 0 3px 1px #ddd
}

#today_content {
    background: #fff;
    text-align: center;
    padding-top: 140px
}

#today_tab {
    position: absolute;
    top: 150px;
    right: -50px;
    width: 50px;
    background: #737373;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    -moz-border-radius-topright: 2px;
    -moz-border-radius-bottomright: 2px;
    -webkit-border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    opacity: .6
}

#today_tab span {
    display: block;
    height: 9pt;
    padding: 1px 0;
    line-height: 9pt;
    text-transform: uppercase;
    font-size: 9pt
}


/* back-to-top */

.QS #back-to-top {
    width: 80px;
    position: fixed;
    bottom: 200px;
    right: 10px;
    display: none;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
}

.QS #back-to-top:hover {
    opacity: .5;
}

.QS #back-to-top span {
    display: block;
    font-size: 34px;
    margin-bottom: -10px;
}

.QS #back-to-top span:before {
    content: "";
    border-top: 2px solid #000;
    display: block;
    width: 34px;
    margin: 0 auto -22px;
}

.QS .item-menu ul {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.QS .item-menu ul li {
    line-height: 25px;
}

.QS .item-menu ul li a {
    color: #000;
}

.QS .follow-us {
    position: fixed;
    z-index: 999;
    top: 15%;
    right: 34px;
}

.QS .follow-us h5 {
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 5px 5px 3px;
    margin-bottom: 5px;
}

.QS .follow-us .switch {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
}

.QS .follow-us .folow-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 300px;
    overflow: hidden;
    /* set animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.QS .follow-us .folow-icons li {
    width: 32px;
    margin: 0 auto;
    overflow: hidden;
}

.QS .follow-us .folow-icons li+li {
    margin-top: 5px;
}

.QS .follow-us .folow-icons li a, .QS .follow-us .folow-icons li a img {
    width: 100%;
    height: auto;
}

.QS .follow-us .folow-icons li a {
    opacity: .5;
}

.QS .follow-us .folow-icons li a:hover {
    opacity: 1;
}

.QS .follow-us .folow-icons.off {
    height: 0;
    overflow: hidden;
}


/* event */
.event {
    position: fixed;
    padding: 10px;
    width: 180px;
    height: 480px;
    overflow: hidden;
    top: 160px;
    left: 4%;
    text-align: center;
    background-color: #fff;
    /* set animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    opacity: 0.8;
}
.event h6 {
    background-color: #fff;
    color: #000;
    position: absolute;
    top: 0;
    left: 13px;
    padding: 5px 10px 3px;
}

.event button.narrow, .event button.turn-off {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 0;
    padding: 0;
    text-indent: -10px;
    position: absolute;
    top: 10px;
    right: 30px;
}

.event button.turn-off {
    font-size: 15px;
    text-indent: 0;
    top: 10px;
    right: 5px;
}

.event #lTscroller li {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.event #lTscroller li a {
    width: 100%;
    height: 100%;
    display: inline-block;
    color: #000;
}

.event #lTscroller li img {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.event #lTscroller li p {
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-top: 10px;
}

.event #lTscroller li p span {
    background-color: #db7589;
    color: #fff;
    padding: 3px 3px 0;
    margin-right: 3px;
}

.event.on-small {
    height: 35px;
}

.event.on-small button.next {
    display: none;
}


#mTS_2_buttonDown {
    bottom: -2%;
}

#mTS_2_buttonUp {
    top: -10%;
}

#lTscroller {
    width: 150px;
    height: 400px;
    margin: 60px auto;
}

#mTS_2 {
    height: 300px;
    overflow: hidden;
	opacity: 0.2;
}

.QS .sort-menu {
    position: relative;
    z-index: 99;
}

.QS .sort-menu>.sort-l01, .QS .sort-menu>.sort-l01 ul {
    position: relative;
    list-style: none;
    text-align: center;
    padding: 0;
    font-size: 0;
}

.QS .sort-menu>.sort-l01>li {
    display: inline-block;
    font-size: 16px;
    margin: 0 2.5%;
}

.QS .sort-menu>.sort-l01>li>a {
    color: #000;
    padding: 0 10px;
}

.QS .sort-menu>ul li>div {
    position: absolute;
    background-color: #fff;
    width: 100%;
    left: 0;
    padding: 20px;
    color: #000;
    overflow: hidden;
    display: none;
    line-height: 25px;
    height: 400px;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
    /*border-top: 1px solid rgba(0, 0, 0, 0.05);*/
}

.QS .sort-menu>ul li>div ul {
    display: inline-block;
    margin: 0 10px;
    vertical-align: top;
}

.QS .sort-menu>ul li>div ul li {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
}
.QS .sort-menu>ul li>div ul li:first-child::before {
    content: "|";
    margin-right: 5px;
    margin-left: -8px;
}
.QS .sort-menu>ul li:nth-child(4)>div ul li:first-child::before {
    content: "";
    margin-right: 0;
    margin-left: 0;
}
.QS .sort-menu>ul li>div ul li a {
    color: #333;
    font-weight: normal;
}

.QS .sort-menu>ul li>div ul li a img {
    max-width: 220px;
    margin-top: 20px;
}
.QS .sort-menu>ul li:hover>div.nonehover{
    display:none;
}
.QS .sort-menu>ul li:hover>div {
    display: block;
}
@media(max-width:767px) {}

@media(min-width:768px) {}

@media(min-width: 992px) {}

@media(min-width: 1200px) {}

.alertMsg {
    color:red;
    padding-top:20px;
}
/*
.lottery-alert{
    padding-top:20px;
    position:relative;
} .pop-windows {
    margin: 12% auto;
    max-width: 520px;
}

.lottery-pop-windows {
    margin: 12% auto;
    max-width: 100vh;
}

.lottery-pop-windows .ibtnLottery{
    position:absolute;
    right:5.5%;
    width:14%;
    height:11%;
    bottom:11%;
}*/
.pop-windows .window {
    border-radius: 0;
    border: 1px solid #a9a9a9;
    box-shadow: none;
    text-align: center;
    color: #8b827f;
}
.pop-windows .window .window-header h4 {
    font-family: Garamond;
    font-size: 26px;
    font-weight: bold;
    margin: 40px 0 0;
}
.pop-windows .window .window-header h4 span {
    font-size: 20px;
    font-family: Times New Roman, "微軟新細明體", "細明體";
    font-weight: normal;
    margin-left: 10px;
}
.pop-windows .window .window-body {
    text-align: left;
    margin: 20px 0 20px 115px;
}
.pop-windows .window .window-body p {
    margin: 20px 0 20px 10px;
    line-height: 30px;
}
.pop-windows .window .window-body strong {
    font-weight: normal;
    text-decoration: underline;
}
.pop-windows .window .window-body input[type="text"]:first-of-type {
    width: 68%;
    margin-bottom: 20px;
}
.pop-windows .window .window-body input {
    padding: 5px;
}
.pop-windows .window .close {
    position: absolute;
    top: 15px;
    right: 20px;
    opacity: 1;
}
@media (max-width: 768px) {
    .pop-windows{
        margin:150px 0px;
        width:100vw;
    }

    .lottery-pop-windows {
        margin:150px 0px;
        width:100vw;
    }

    .lottery-alert img{
        width:100%;
    }
}

.send-btn {
    text-align: center;
    margin: 40px 0;
}
.member-sign ul li .button, .member-join .join-btn button, .send-btn button, .send-btn input[type="submit"], .join-btn .button {
    border: none;
    width: 40%;
    background-color: #8b827f;
    color: #fff;
    line-height: 30px;
    font-size: 16px;
} @media (min-width: 768px) { .lottery-alert {    margin: 10% 25%;}.lottery-alert img{ width:50vw; }}.lottery-alert{    position:absolute;}