@import url('common.css');

#app {
    padding-bottom: 5rem;
}

.mask {
    position: fixed;
    z-index: 88;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.mask div {
    font-size: 1.8rem;
    color: #fff;
    line-height: 2em;
    font-weight: bold;
    padding: 1.5rem;
    text-align: right;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mask div.share-tip {
    position: fixed;
    top: 0;
    right: 0;
}

.title {
    font-size: 1.6rem;
    line-height: 2em;
    padding: 0 1.5rem;
    font-weight: bold;
}

.gift-tip {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.6rem;
    font-size: 1.2rem;
    line-height: 1.5em;
}

.gift-info {
    background: #fff;
    padding: 1rem;
}

.gift-info h2 {
    font-size: 1.2rem;
    color: #2196F3;
    font-weight: normal;
    line-height: 1.3em;
    padding-bottom: 1rem;
}

.gift-info .user-info {
    width: 50%;
    float: left;
    font-size: 1.2rem;
}

.gift-info .booking-info {
    width: 50%;
    float: right;
}

.gift-info .booking-info .type {
    font-size: 1.6rem;
    color: #2196F3;
    font-weight: bold;
    padding-top: 1rem;
}

.gift-info .booking-info .tip {
    color: #888;
    font-size: 1.3rem;
}

.gift-info .get-gift-btn {
    clear: both;
    cursor: pointer;
    width: 40%;
    margin: 0 auto;
    text-align: center;
    background: #398cee;
    font-size: 1.2rem;
    line-height: 2.5em;
    border-radius: 0.5rem;
    color: #fff;
}

.gift-info .title-tip {
    font-size: 1.4rem;
    color: #333;
    font-weight: bold;
}

.gift-info .title-tip span {
    color: #2196F3;
}

.gift-info .warn {
    text-align: center;
}

.gift-info .warn .iconfont {
    font-size: 4rem;
    color: #888;
}

.gift-info .warn p {
    font-size: 1.4rem;
    color: #888;
}

.summary {
    padding: 0 1.5rem;
    font-size: 1.2rem;
    color: #999;
}

.summary i {
    font-size: 1rem;
}

.summary span {
    padding-right: 1.5rem;
}

.info {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
}

.detail article {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
}

.detail article p {
    margin-bottom: 1rem;
    text-indent: 2em;
}

.detail article img {
    margin-left: -2em;
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.booking .userlist {
    padding: 0 1.5rem;
}

.booking .userlist li {
    text-align: center;
    height: auto;
    float: left;
    margin: 1rem 0.5rem 0;
    position: relative;
    width: 3.5rem;
}

.booking .userlist li .avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
    background-color: #eee;
}

.booking .userlist li .username {
    line-height: 1.2em;
    font-size: 1.2rem;
    color: #333;
    width: 3.5rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.booking .userlist li .count {
    line-height: 1em;
    font-size: 1.2rem;
    color: #fff;
    background: #2296cc;
    border-radius: 0.2em;
    padding: 0 0.2em;
    position: absolute;
    bottom: 1.5em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: auto;
    max-width: 100%;
    white-space: nowrap;
}

.booking .userlist li.loadmore .avatar {
    font-size: 1.4rem;
    line-height: 3.5rem;
}

.booking .userlist li.loadmore .username {
    color: #a1a1a1;
}

.menu {
    position: absolute;
    background-color: red;
    top: 0.5rem;
    right: 0.5rem;
    width: auto;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    margin-top: 0.2rem;
}

.menu .menu-button {
    padding: 0.5rem;
    font-size: 1.3rem;
    color: #333;
}

.tabs {
    position: fixed;
    left: 0;
    width: 100%;
    bottom: 0;
    font-size: 1.6rem;
    line-height: 4rem;
    height: 4rem;
    color: #fff;
    background: #398dee;
    text-align: center;
}

.tabs .button {
    width: 100%;
    float: left;
    cursor: pointer;
    border-left: 1px solid #72adf1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 2px solid #72adf1;
}

.tabs .text {
    width: 100%;
    float: left;
    background: #eee;
    color: #000;
}

.tabs .half {
    width: 50%;
}

.sign-box {
    position: fixed;
    z-index: 99;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    height: auto;
    background-color: #fff;
}

.sign-box .title {
    font-size: 1.4rem;
    text-align: center;
    line-height: 4em;
}

.sign-box .close {
    position: absolute;
    cursor: pointer;
    right: 0.5rem;
    top: 0;
}

.sign-box .close i {
    font-size: 3rem;
}

.sign-box .booking-types {
    margin-bottom: 5rem;
}

.sign-box .booking-types .booking-type .info {
    float: left;
    font-size: 1.2rem;
}

.sign-box .booking-types .booking-type .info .name {
    line-height: 1em;
}

.sign-box .booking-types .booking-type .info .price {
    padding-left: 3rem;
}

.sign-box .booking-types .booking-type .info .tip {
    font-size: 1.2rem;
    color: #888;
    line-height: 1em;
}

.sign-box .booking-types .booking-type .count {
    float: right;
    margin-right: 1.5rem;
}

.sign-box .booking-types .booking-type .count span,
.sign-box .booking-types .booking-type .count input {
    display: block;
    float: left;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    border: 1px solid #ddd;
}

.sign-box .booking-types .booking-type .count span {
    width: 2rem;
    cursor: pointer;
}

.sign-box .booking-types .booking-type .count input {
    width: 5rem;
}

.sign-box .booking-types .booking-type .soldout {
    line-height: 3rem;
    color: #666;
    float: right;
    margin-right: 1.5rem;
    font-size: 1.4rem;
}
