﻿body {
    max-width: 640px;
    margin: 0 auto;
    font-size: 12px;
    font-family: "微软雅黑";
}

body {
    color: #7A7A7A;
}

div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
span {
    padding: 0;
    margin: 0;
    vertical-align: baseline;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img,
abbr,
acronym {
    border: 0;
}

button {
    cursor: pointer;
}

abbr,
article,
aside,
bb,
datagrid,
datalist,
details,
dialog,
eventsource,
figure,
figcaption,
footer,
header,
hgroup,
mark,
menu,
meter,
nav,
output,
progress,
section,
time {
    display: block;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}

code,
kbd,
pre,
samp {
    font-family: courier new, courier, monospace;
}

a {
    color: #7A7A7A;
    text-decoration: none;
    /*-webkit-transition:color 0.3s ease-in-out;transition:color 0.3s ease-in-out;*/
}

a:hover {
    color: #f85d4f;
    text-decoration: none;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

legend {
    color: #000000;
}

ol,
ul,
li {
    list-style: none;
}

i {
    font-style: normal;
}

caption,
th {
    text-align: left;
}

q:before,
q:after {
    content: '';
}

.dxlBlock {
    display: block;
}

input,
textarea,
select {
    -webkit-appearance: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    background: #fff;
}

header {
    position: relative;
    padding: 0;
    height: 47.5px;
    text-align: center;
    line-height: 48.5px;
    font-size: 18px;
    color: #666;
    background: #fff;
}

header .back {
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 30px;
    background: url("../img/index/back.png") no-repeat 0 0 /cover;
    background-size: 18px 24px !important;
    background-position: 5px 5px;
    margin-top: 6px;
    margin-left: 5px;
}

header img {
    position: absolute;
        top: -10px;
        left: -10px;
    height: 40px;
}

.headerTitle {
    position: absolute;
    left: 60px;
    top: 3px;
    width: 115px;
    margin-top: -11px;
    font-size: 16px;
}

header .city {
    position: absolute;
    top: -10;
    right: 0;
    height: 47.5px;
    text-align: right;
    line-height: 47.5px;
    font-size: 16px;
}

header .city * {
    position: absolute;
    right: 0;
    padding-right: 15px;
    height: 100%;
}

header .city span {
    width: 50px;
}

header select {
    z-index: 9;
    opacity: 0;
}

.banner img {
    display: block;
    width: 100%;
}

.order {
    padding: 0 15px 20px 15px;
}

.part {
    padding-top: 15px;
}

.partTitle {
    height: 14px;
    line-height: 14px;
    font-size: 14px;
    color: #333;
}

.inputWrap {
    margin-left: -10px;
    margin-bottom: 5px;
    padding-top: 14px;
    font-size: 0;
    color: #333;
}

.inputWrap span {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: 12px;
    width: 88px;
    height: 27px;
    border-radius: 2px;
    text-align: center;
    line-height: 27px;
    border: 1px #ccc solid;
    font-size: 12px;
    cursor: pointer;
}

@media screen and (min-width: 375px) {
    .inputWrap span {
        width: 106.3px;
    }
}

@media screen and (min-width: 414px) {
    .inputWrap span {
        width: 119.3px;
    }
}

.inputWrap span.active {
    border-color: #ff5384;
    color: #ff5384;
    background: #fff5f7;
}

.service span.active {
    background: #fff5f7 url(../images/duigou.png) no-repeat right bottom/11px 11px;
}

.createOrder {
    display: block;
    margin-top: 30px;
    height: 44px;
    border-radius: 3px;
    text-align: center;
    line-height: 44px;
    font-size: 18px;
    color: #fff;
    background: #ff5384;
}

.createOrder:hover {
    color: #fff;
}

.telphone {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

#oneAppDown {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
}

#oneAppDown a {
    display: block;
}

#oneAppDown img {
    display: block;
    width: 100%;
    height: auto;
}

header .secTitMain .home {
    right: auto;
    left: 0;
}

::-webkit-inner-spin-button {
    -webkit-appearance: none
}

.arrow-down,
.arrow-down:after {
    position: absolute;
    top: 13px;
    right: 20px;
    width: 8px;
    height: 2px;
    background-color: #ccc;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.arrow-down:after {
    content: "";
    top: -3px;
    left: 3px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg)
}

.main section {
    background-color: #fff;
    padding: 2.5% 4%;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1.5%
}

.main section h2 {
    font-size: 14px;
    color: #333
}

.select-box {
    position: relative;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    margin-top: 6px
}

.select-box select {
    width: 100%;
    height: 30px;
    background: transparent;
    font-size: 14px;
    padding: 0 5%;
    -webkit-appearance: none;
    color: #999
}

.list {
    overflow: hidden;
    min-height: 35px
}

.list ul {
    margin-right: -5%
}

.list li {
    font-size: 12px;
    color: #666;
    border: 1px solid #c9c9c9;
    float: left;
    margin: 2% 5% 0 0;
    width: 28.3%;
    padding: 1.5% 0;
    text-align: center;
    border-radius: 5px;
    box-sizing: border-box
}

.list li.current {
    color: #ff608e;
    border-color: #ff608e
}

#action {
    padding: 8px 6%;
    border-top: 1px solid #e5e5e5
}

.btn-submit {
    background-color: #ff5384;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #fff;
    border-radius: 3px;
    border: 0 none;
    display: block;
    width: 100%
}

.pop-box {
    background-color: #fff;
    width: 100%;
    height: 100%;
    -webkit-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    display: none;
    z-index: 5
}

.pop-box .title {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #c0c0c0;
    position: relative;
    color: #666;
    font-size: 16px;
    text-align: center
}

.pop-box .title .cancel {
    position: absolute;
    right: 0;
    top: 0;
    color: #ed721a;
    font-size: 16px;
    width: 60px;
    cursor: pointer;
}

.pop-box .content {
    padding: 35px 5%
}

.pop-box .form-item {
    margin-top: 15px;
    overflow: hidden
}

.pop-box input {
    border: 1px solid #e5e5e5;
    font-size: 14px;
    height: 40px;
    width: 100%;
    padding: 0 10%;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
    z-index: 1
}

.pop-box h3 {
    color: #333;
    font-size: 15px
}

.pop-box h3 em {
    color: #ed721a;
    font-size: 20px;
}

.pop-box .rewards {
    line-height: 28px;
    color: #999;
    font-size: 12px;
    margin-top: 15px
}

.pop-box .rewards h4 {
    color: #666
}

.pop-box .rewards a {
    color: #999
}

.pop-box #SMS {
    width: 60%
}

.pop-box .getcode {
    font-size: 14px;
    border: 1px solid #ff6d96;
    color: #ff6d96;
    width: 36%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 5px;
    float: right
}

#popHunyan input {
    text-align: center
}

#sort,
#weddingPhoto {
    display: none
}

.page-container {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

@-webkit-keyframes sliderightout {
    from {
        -webkit-transform: translateX(0px);
        opacity: 1
    }
    to {
        -webkit-transform: translateX(50%);
        opacity: 0
    }
}

@-webkit-keyframes sliderightin {
    from {
        -webkit-transform: translateX(50%);
        opacity: 0
    }
    to {
        -webkit-transform: translateX(0px);
        opacity: 1
    }
}

.sliderightout {
    -webkit-animation: sliderightout 350ms ease-in-out;
}

.sliderightin {
    -webkit-animation: sliderightin 350ms ease-in-out;
}

.animatestart {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow-x: hidden
}

.animatestart.page-container {
    overflow-x: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
}

@media screen and (max-height:480px) {
    .main section {
        padding: 2% 4%;
        margin-bottom: 3px
    }
}

@media screen and (min-height:570px) {
    .main section {
        padding: 4% 4%;
    }
    .list li {
        margin: 3% 5% 0 0;
    }
}