* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: Helvetica, Arial, "Microsoft JhengHei", sans-serif;
    font-size: 16px;
    color: #4B4B4B;
    overflow-x: hidden;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

a {
    color: #00a499;
}

a:active {
    outline: none;
}

a:focus {
    -moz-outline-style: none;
    outline: none;
}

a {
    text-decoration: none;
}

.header {
    background: #00a499;
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00a499', endColorstr='#76c89a', GradientType=1);
    height: 120px;
    width: 100%;
    position: relative;
}

.wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    overflow: auto;
}

.header-img {
    position: relative;
    z-index: 2;
    line-height:120px;
}
.header-img img{vertical-align: middle; height:66px;}

.header-img-2 {
    display: none;
}



a:hover {
    text-decoration: underline;
}

.form-style {
    padding: 10px 20px;
    background: #f4f7f8;
    margin: 10px auto;
    padding: 20px;
    background: #f4f7f8;
    border-radius: 8px;
    padding-left: 35px;
}

.form-style label {
    height: 35px;
    line-height: 35px;
}

.form-style input[type="text"],
.form-style input[type="date"],
.form-style input[type="datetime"],
.form-style input[type="email"],
.form-style input[type="number"],
.form-style input[type="search"],
.form-style input[type="time"],
.form-style input[type="url"],
.form-style textarea,
.form-style select {
    background: rgba(255, 255, 255, .1);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    margin: 0;
    outline: 0;
    padding: 7px;
    width: 100%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    /* background-color: #e8eeef; */
    background-color: #FFF;
    color: #8a97a0;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
}

.form-style input[type="text"]:focus,
.form-style input[type="date"]:focus,
.form-style input[type="datetime"]:focus,
.form-style input[type="email"]:focus,
.form-style input[type="number"]:focus,
.form-style input[type="search"]:focus,
.form-style input[type="time"]:focus,
.form-style input[type="url"]:focus,
.form-style textarea:focus,
.form-style select:focus {
    /* background: #d2d9dd; */
}

.form-style select {
    -webkit-appearance: menulist-button;
    height: 35px;
}

.form-style .number {
    background: #00A499;
    color: #fff;
    height: 20px;
    width: 20px;
    display: inline-block;
    font-size: 15px;
    margin-right: 4px;
    line-height: 20px;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    /* position: absolute; */
    /* left: -26px; */
    /* top: 3px; */
}

.btn {
    display: inline-block;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: auto;
    text-decoration: none;
    padding: 4px 10px;
    font-size: 17px;
    line-height: 40px;
    letter-spacing: 0;
    color: #fff;
    vertical-align: middle;
    background-color: #00a499;
    border: 0px solid currentColor;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
    width: 100%;
    cursor: pointer;
}

.btn:hover {
    background: #008a82;
}

.form-style input[type="submit"]:hover,
.form-style input[type="button"]:hover {
    background: #005151;
}

.form-style input[type="radio"] {
    margin: 0 5px 20px 0;
}

.form-style input[type="checkbox"] {
    margin: 0 5px 10px 0;
}

p {
    /* margin-bottom: 5px; */
    font-size: 18px;
    position: relative;
    color: #000;
}

.padding {
    padding-left: 35px;
}

.margin {
    margin-right: 20px;
}

.footer {
    text-align: center;
    padding: 60px 0 32px 0;
    color: #BDBDBD;
    font-size: 14px;
}

.ty {
    color: #000;
    margin: 48px auto 60px auto;
    display: block;
    position: relative;
    padding:26px 0;
}

.ty img {
    display: block;
    /* margin: 0 auto; */
	max-width: 100%;
    height: 210px;
    position:absolute;
    top:0;
    right:45px;
}

.ty p {
    text-align: center;
    margin: 10px 0;
    font-size: 18px;
}
.ty-msg {
    font-size: 24px;
    font-weight: bold;
    color: #121212;
    margin-bottom: 12px;
}
.ty-content{
    color: #121212;
    line-height: 22px;
    margin-bottom: 24px;
}
h2 {
    line-height: 40px;
    font-size: 22px;
    color: #055150;
    font-weight: bold;
    display: block;
    margin: auto;
    margin-top: 10px;
}
.ec-product-list h5.pd-row-title{
    font-weight: bold;
    padding-bottom: 4px;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 16px;
    color: #121212;
}


form header {
    margin: 0 0 20px 0;
}

form header div {
    font-size: 90%;
    color: #999;
}

form header h2 {
    margin: 0 0 5px 0;
}

form > div {
    clear: both;
    overflow: hidden;
    padding: 1px;
    margin: 0 0 10px 0;
}

form > div > fieldset > div > div {
    margin: 0 0 5px 0;
}

form > div > label,
legend {
    width: 23%;
    float: left;
    padding-right: 10px;
    text-align: right;
}

form > div > div,
form > div > fieldset > div {
    width: 50%;
    float: left;
    position: relative;
}

form > div > fieldset label {
    font-size: 90%;
}

fieldset {
    border: 0;
    padding: 0;
    float: left;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
    width: 100%;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password] {
    width: 50%;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
    outline: 0;
    border-color: #4697e4;
}


.clearfix {
    height: 20px;
}

.error-msg {
    width: 23%;
    float: left;
    color: #f13200;
    font-size: 13px;
}

.remark {
    color: #9f9f9f;
    font-size: 13px;
}

.remark a {
    color: #00a499;
    text-decoration: underline;
}

.form-btn {
    padding: 8px 30px;
    border: 1px solid #909090;
    border-radius: 4px;
    background-color: #e8eeef;
    font-size: 14px;
    color: #333333;
}

.checker-tick {
    position: absolute;
    top: 0;
    right: 0;
    margin: 9px;
}



.ty a {
    cursor: pointer;
}

form.form-style textarea {
    margin-bottom: 5px;
    color: #545454;
}

.merchant {
    text-align: center;
    float: left;
    margin-right: 20px;
}

.merchant:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.merchant img {
    max-height: 100px;
    max-width: 200px;
    display: inline-block;
    vertical-align: middle;
}

.title {
    padding: 0 0 15px 0;
    border-bottom: 2px solid #00a499;
    margin-bottom: 20px;
}

form > div > div.merchant {
    width: inherit;
}

.ty a.btn {
    width: 180px;
}

.ty a.btn:hover {
    color: #fff;
    background: #008a82;
}


/*swiper*/

.ec-pd-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: auto;
}

.ec-mainpage-listtitle {
    border-bottom: 2px solid #eee;
    margin: 0 10px 5px;
    height: 40px;
    display: block;
    width: calc(100% - 20px);
    float: left;
    position: relative;
}

.ec-mainpage-list-swiper-container {
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ec-mainpage-list-swiper-container .swiper-slide {
    width: 180px;
    height: 300px;
    padding: 0 10px;
}
.ec-product-img {
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
    position: relative;
}
.ec-product-img img {
    max-width: 100%;
}
.ec-label-wrapper {
    display: block;
    position: absolute;
    bottom: 0;
}
.ec-label-wrapper .ec-label {
	display: inline-block;
	border: 1px solid #f63969;
	padding: 1px 7px;
	background-color: #f63969;
	border-radius: 12px;
	color: #ffffff;
	font-size: 12px;
}

.ec-label-wrapper .ec-label-sub {
    background: linear-gradient(-75deg, #fff, #fff);
    border: 1px solid #F25162;
    color: #f25162;
}
.ec-product-title {
    height: 40px;
    font-size: 14px;
    line-height: 20px;
    margin: 2px 0;
    overflow: hidden;
}
.ec-product-title a {
    color: #111111;
}
.ec-deposit {
    font-size: 24px;
    line-height: 22px;
    margin: 0;
    font-weight: bold;
    display: inline-block;
    color: #ff7930;
    margin-top: 0;
    height: 22px;
}
.deposit-unit {
    color: #77665f;
    font-size: 14px;
    margin-right: 2px;
}
.ec-deposit .text-price-unit {
    font-size: 16px;
    margin-right: 3px;
}
.ec-deposit .text-price-number {
    font-size: 22px;
    margin-right: 4px;
}
.deposit-original-price {
    font-size: 14px;
    margin: 0;
    display: inline-block;
    color: #ff7930;
    font-weight: bold;
}
.deposit-original-price .text-price-number {
    font-size: 1em;
    font-weight: bold;
}
.ec-product-price {
    color: #e02152;
    font-size: 24px;
    line-height: 22px;
    margin: 0;
    font-weight: bold;
    height: 22px;
    display: inline-block;
}
.ec-product-price span {
    font-size: 15px;
    margin-right: 2px;
}
.ec-product-price span.text-price-number {
    font-size: 22px;
}
.ec-product-original-price {
    font-size: 14px;
    color: #8e8e93;
    margin: 0 0 0 -2px;
    text-decoration: line-through;
        display: inline-block;
}
.ec-mainpage-listtitle span {
    border-bottom: 2px solid #f1c400;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    padding: 0 10px;
    font-size: 18px;
}
.ec-mainpage-listtitle a{color: #545454;}
a.ec-mainpage-listtitle-more {
    position: absolute;
    right: 0px;
    bottom: 5px;
    height: 20px;
    line-height: 20px;
    padding: 0;
    font-size: 13px;
    color: #8e8e93;
    cursor: pointer;
    padding-right: 20px;
    background: url(../images/ec-arrow-right.png) right no-repeat;
}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled {
    opacity: 0 !important;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: url(../images/ec/swiper-arrow-next.png);
    width: 40px;
    height: 60px;
    background-size: 40px 60px;
    opacity: 1;
    transition: 0.15s;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image: url(../images/ec/swiper-arrow-prev.png);
    width: 40px;
    height: 60px;
    background-size: 40px 60px;
    opacity: 1;
    transition: 0.15s;
}
.ec-product-container:hover{opacity: 0.8;}
.ec-product-container-more {
    border: 1px solid #eee;
    height: 286px;
    text-align: center;
    display: table-cell;
    width: 300px;
    vertical-align: middle;
    color: #111111;
}
.ec-product-container-more p.ec-product-container-more-number {
    margin: 0;
    font-size: 38px;
}
.ec-product-container-more p {
    margin: 0;
    font-size: 14px;
}
.ec-product-container-more:hover, .ec-product-container-more:focus {
    border: 1px solid #ddd;
    color: #00a499;
    cursor: pointer;
    text-decoration: none;
}

.survey-popover{
    margin: -2px 0 0 0;
    color: #f75252;
}

/*20170821*/

.form-style .number{background: #055150;left: -25px;}
.title{border-bottom: 2px solid #d8e4e2;}
.survey-popover{display: none;}
.form-style{overflow: auto}
form > div > div, form > div > fieldset > div {width: 100%;}
.form-style label{color: #4B4B4B;}
.form-style label:hover{color: #000;}
.margin{margin-right: 10px;padding-right: 20px;}
.question-container{
        margin: 0;
        overflow: auto;
        padding: 0 0 5px 25px;
    }
.question-remark{color: #8e8e93;font-size: 15px;}
.msite-list-wrapper{display: none;}

.ec-list-gallery .item-wrapper {
    width: calc(50% - 4px);
    padding: 0 2px 4px;
    float: left;
}
.ec-list-gallery .item {
    border: 1px solid #eee;
    padding-bottom: 10px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}
.item-img {
    position: relative;
}
.ec-list-gallery .item-name{
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 10px auto 0;
    font-size: 15px;
    font-weight:bold;
    color: #545454;
    padding: 0 5px;
    height: 20px;
}
.ec-list-gallery .product-price{ padding:0 5px 5px 5px;}
.ec-list-gallery-ori-price{ font-size:13px; color:#aaa;font-weight: normal;text-decoration: line-through; margin-right:5px;}
.ec-list-gallery .item-qty{color:#aaa; font-size:13px; padding:0 5px;height: 18px;}

.ec-list-gallery .sold-out-item{background:#F9F9F9;}
.ec-list-gallery .sold-out-item .item-img img{opacity:0.5;}
.ec-list-gallery .sold-out-item .item-name{ color:#888;}
.ec-list-gallery .sold-out-item .product-price{color:#B1989E;}

.ms-product-list-item-list .ec-list-gallery .item:hover{background:#fff; opacity:0.8;}
    .ec-gallery-label {
    display: block;
    border: 1px solid #f63969;
    padding: 1px 4px;
    background-color: #f63969;
    color: #ffffff;
    position: absolute;
	/* top: 0; */
	/* right: 0; */
	bottom: 0;
    margin: 5px;
    font-size: 13px;
}
.product-price {
    font-weight: bold;
    color: #E02152;
    padding: 0 5px 5px 5px;
}
.product-price .text-price-unit {
    font-size: 13px;
    margin-right: 2px;
}
.text-price-number {
    font-size: 1.2em;
}
.ec-list-gallery .ec-deposit-unit {
    color: #77665f;
    font-size: 13px;
}
.ec-list-gallery .deposit-original-price span {
    color: #ff7930;
    font-size: 13px;
    text-decoration: none;
}
.ec-list-gallery .deposit-price {
    padding: 0 5px 5px 5px;
    font-weight: bold;
    color: #ff7930;
}

.question-container .qfive_choice{
}
.question-container .qfive_choice button{
        font-size: 14px;
    padding: 2px 8px;
    border-radius: 14px;
    border: 1px solid #b3b3b3;
    background: transparent;
    color: #8e8e93;
    margin-bottom: 5px;
}
.question-container .qfive_choice button:hover{
    background: #fff;
    cursor: pointer;
}

@media screen and (max-width: 736px){
    /* .footer{padding: 60px 0 32px;} */
    .header{height: 52px; }
    .header-img{line-height:52px;}
    .header-img img{height: 32px;margin-left: 20px;}
    .form-style{padding: 10px;border-radius: 0px;}
    .merchant{float: none;margin: 0;} 
    .content {padding:0 16px;}
    .title h2{line-height: 28px;font-size: 20px;}
    .question-container{
        margin: 0;
        overflow: initial;
        padding: 0 0 0 0px;
    }
    .ec-mainpage-list-swiper-container{
        display: none;
    }
    .msite-list-wrapper{padding: 0 2px;display: block;}
    .ty{text-align: center;margin: 24px 0;padding: 0;}
    .ty img {
        display: block;
        margin: 0 auto 12px;
        max-width: 100%;
        height: 100px;
        position:unset; 
    }
    .ty-msg{font-size: 20px;}
    .ty-content{font-size: 14px;line-height: 18px;margin: 0;}
    .wrapper-button{display: none;}
   
}

/*20170831*/
.question-radio-container{
    display: flex;
    justify-content: space-between;
    max-width: 300px;    
	margin: 10px 0;
}
.question-radio-item{display: inline-block;}
.question-radio-item label{padding-right: 20px;}

.form-style textarea{height: 70px;}




/* Custom Checkboxes */
/* The container */
.wrapper-checkbox input[type='checkbox']:disabled {
	cursor: default;
}
.wrapper-checkbox,
.wrapper-radio {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	line-height: 18px;
}

/* Hide the browser's default checkbox */
.wrapper-checkbox input,
.wrapper-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
	vertical-align: top;
}
.wrapper-checkbox .checkbox-text, 
.wrapper-radio .checkbox-text{
	vertical-align: middle;
}
/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #FFF;
	border: 1px solid #DDD;
	border-radius: .28571429rem;
}
.checkmark.radio {
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.wrapper-checkbox:hover input:not([disabled]) ~ .checkmark, 
.wrapper-radio:hover input:not([disabled]) ~ .checkmark {
    /* background-color: #CCC; */
	border: 1px solid #00a499;
}

/* When the disabled, add a blue background */
.wrapper-checkbox input:disabled ~ .checkmark, 
.wrapper-radio input:disabled ~ .checkmark {
    background-color: #EEE;
	cursor: default;
}

/* When the checkbox is checked, add a blue background */
.wrapper-checkbox input:checked ~ .checkmark, 
.wrapper-radio input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.wrapper-checkbox input:checked ~ .checkmark:after, 
.wrapper-radio input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.wrapper-checkbox .checkmark:after{
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* Style the indicator (dot/circle) */
.wrapper-radio .checkmark.radio:after {
 	top: 4px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}

label * {
	vertical-align: middle;
    line-height: 18px;
}

p > span {
    vertical-align: middle;
}

.wrapper-button {
    margin-top: 5px;
}
.wrapper-button .button {
	display: inline-block;
	text-align: center;
	min-width: 100px;
    cursor: pointer;
    height: 46px;
    line-height: 46px;
    padding: 0px 30px;
    font-weight: bold; 
    border-radius: 4px; 
}
.wrapper-button .button:hover{
    background-color: #008a81;
}
.wrapper-button .button-white {
	background: #FFF;
    color: #00a499;
    border: 1px solid #00a499;
}
.wrapper-button .button-price {
	background: #00a499;
    color: #FFF;
    border: 1px solid #00a499;
}
