﻿.main_head, .main_footer {
    display: none;
}

* {
    margin: 0;
    padding: 0;
}

.w {
    padding-bottom: 0;
}

.question, .giftcom, .endcom {
    width: 740px;
    margin: 0px auto;
    display: none;
}

input {
    box-sizing: border-box;
    border-radius: 3px;
}

.questionnaire {
    position: relative;
    padding-top: 18px;
}

.mid2-head {
    font-size: 26px;
    border: 1px solid transparent;
    position: relative;
}

    .mid2-head img {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        height: 80%;
    }

    .mid2-head span {
        /*padding: 8px 30px;*/
        line-height: 40px;
    }

.que-title {
    width: 100%;
    height: 70px;
    border-bottom: 1px solid #ccc;
}

    .que-title .inner {
        position: relative;
        height: 100%;
        text-align: center;
        line-height: 69px;
        font-size: 28px;
    }

    .que-title img {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 80%;
    }


.que-banner {
    padding: 40px 0;
}

    .que-banner img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

/*.que-main {
    width: 740px;
    margin: 0 auto;
}*/

.que-item {
    padding: 30px 0;
    border-bottom: 1px solid #ccc;
    position: relative;
    width: 100%;
    margin: 0 auto;
    font-size: 16px;
}

.img-item.que-item {
    border: none;
}

.title_l {
    line-height: 24px;
    margin-bottom: 10px;
}

    .title_l .title-icon {
        color: #d93025;
    }

.super-title .que-item {
    font-size: 16px;
}

.super-title .title_l {
    margin-bottom: 0px;
}


.c_box {
    padding-left: 12px;
}

    .c_box li {
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .c_box span {
        display: inline-block;
    }

    .c_box .my_icon {
        height: 18px;
        width: 18px;
        border: 1px solid #ccc;
        margin-right: 10px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        color: #fff;
    }

        .c_box .my_icon.icon-gou {
            background: #ccc;
        }

.m_box {
    padding-left: 12px;
}

    .m_box li {
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .m_box span {
        display: inline-block;
    }

    .m_box .my_icon {
        height: 20px;
        width: 20px;
        border: 1px solid #ccc;
        margin-right: 10px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        color: #fff;
    }

        .m_box .my_icon.active span {
            width: 14px;
            height: 14px;
            background: #ccc;
            border-radius: 50%;
        }


/*.text_box {
    padding-left: 12px;
}*/

.text_box textarea {
    border: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1%;
    width: 98%;
    height: 80px;
}

.c_else input {
    margin-left: 8px;
    border: none;
    border-bottom: 1px solid #ccc;
    width: 200px;
}

.title_l .title-num {
    font-weight: bold;
}


.user-name {
    font-size: 14px;
    display: flex;
    padding-left: 12px;
    margin-top: 24px;
    align-items: center;
}

    .user-name input {
        margin-left: 8px;
        margin-right: 8px;
        border: none;
        border: 1px solid #ccc;
        width: 130px;
        height: 30px;
        padding-left: 8px;
    }

.user-email {
    padding-left: 12px;
    margin-top: 24px;
}

    .user-email input {
        border: none;
        border: 1px solid #ccc;
        width: 230px;
        height: 30px;
        padding-left: 8px;
    }

.user-mobile {
    display: flex;
    /*margin-top: 24px;*/
    justify-content: space-around;
}

.m-inner {
    position: relative;
    width: 30%;
}

    .m-inner input {
        border: none;
        height: 30px;
        border: 1px solid #ccc;
        width: 100%;
    }

.c-list {
    position: absolute;
    width: calc(100% - 26px);
    height: 0;
    transition: top .2s;
    top: 160%;
    background: #fff;
    overflow-x: auto;
}

    .c-list.active {
        padding: 10px 0;
        border: 1px solid #ccc;
        max-height: 200px;
        top: 100%;
        height: auto;
        z-index: 10;
    }

.area-code {
    padding-left: 8px;
    box-sizing: border-box;
}

.c-list li {
    line-height: 20px;
    display: flex;
    padding: 8px 10px;
    justify-content: space-between;
    cursor: pointer;
}

    .c-list li:hover {
        background: #ccc;
    }

.user-mobile .mobile-num {
    width: 68%;
    border: none;
    border: 1px solid #ccc;
    padding-left: 8px;
}

.submi-btn {
    border-bottom: none;
    /*display: flex;
    justify-content: center;*/
}

    .submi-btn span {
        padding: 10px 40px;
        background: #000;
        color: #fff;
        cursor: pointer;
    }

textarea, input {
    font-size: 14px;
}

.questionnaire .tip {
    padding-left: 12px;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: red;
    display: none;
}

.select_box span {
    cursor: pointer;
}


.myprogress {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
}

    .myprogress .layui-progress-bar {
        border-radius: 0;
        background: #ccc;
    }

.mask_pop_max {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.2);
    display: none;
}

    .mask_pop_max img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
/*.select_box li:hover {
    background: #ccc;
}*/
.que-inp {
    height: 32px;
}

    .que-inp input {
        border: none;
        border: 1px solid #ccc;
        width: 100%;
        height: 100%;
        padding-left: 8px;
        border-radius: 3px;
        box-sizing: border-box;
    }
/*下拉框*/
.dropcombox .m-inner {
    width: 100%;
}

    .dropcombox .m-inner p.my_down {
        width: 100%;
        height: 32px;
        border: 1px solid #ccc;
        border-radius: 3px;
        line-height: 30px;
        background: #fff;
        word-break: break-all;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

/*單行文本框*/
.sintextbox input {
    border: none;
    height: 30px;
    border: 1px solid #ccc;
    width: 100%;
    padding-left: 8px;
}

.que-section2 {
    display: none;
}

button {
    padding: 8px 30px;
    border-radius: 4px;
    background: #000;
    color: #fff;
    cursor: pointer;
    border: 0px;
}

.que-inp, .m-inner, .text_box, .title_l {
    padding: 0px 10px;
}
/*驗證手機*/
.verify .text_box {
    display: flex;
    justify-content: space-between;
}

    .verify .text_box input:nth-child(2) {
        margin: 0px 15px;
    }

    .verify .text_box button {
        font-size: 14px;
        padding: 5px 30px;
        min-width: 130px;
    }

        .verify .text_box button.disbtn {
            background: #ccc !important;
            color: white;
            cursor: not-allowed;
        }

.question > p {
    display: none;
}

.swiper img {
    margin: 0px auto;
}

.module_m {
    display: block;
    padding: 20px 0px;
    text-align: center;
}

.giftcom .gift, .endcom .end {
    text-align: center;
}
/*換領禮物頁*/
.giftcom .title_l .tips {
    line-height: 50px;
    font-size: 25px;
}

.giftcom .redemption {
    margin-bottom: 20px;
}

    .giftcom .redemption p.echange {
        margin-bottom: 15px;
    }

    .giftcom .redemption .m-inner {
        text-align: left;
        width: auto;
    }

    .giftcom .redemption .title_l, .giftcom .redemption .tip {
        text-align: left;
    }


.giftcom.two .eyes {
    width: 50%;
    float: left;
}

.giftcom .showimg {
    width: 280px;
    margin-bottom: 10px;
}

.endcom .box {
    margin-bottom: 10px;
}

.expired {
    text-align: center;
    padding-top: 150px;
}

    .expired p {
        margin: 0px auto;
        font-size: 22px;
        white-space: pre-line;
        line-height: 1.6;
    }

    .expired button {
        font-size: 18px;
        margin-top: 50px;
    }

@media (max-width: 1023px) {
    .question, .giftcom, .endcom {
        width: 100%;
    }

    .questionnaire {
        padding: 10px;
        padding-top: 18px;
    }

    .top-title {
        float: right;
    }

    .questionnaire .mid2-head {
        text-align: right;
    }

        .questionnaire .mid2-head img {
            height: 50%;
        }


    .verify .text_box {
        display: block;
    }

        .verify .text_box input:nth-child(2) {
            width: calc(100% - 150px);
            margin: 10px 20px 0px 0px;
        }

    .giftcom .showimg {
        width: 150px;
    }

    .giftcom.two .eyes {
        float: none;
        width: 100%;
    }
}
