﻿* {
    box-sizing:border-box;
}
body,html{
    padding-bottom: 20px;
}
body {
    -webkit-overflow-scrolling: touch;
}
img{
    width: 100%;
    height: auto;
}
ul {   
    margin:0;
    padding:0;
    border:0;
}
    ul li {
        list-style-type:none;
    }
.room-appoint{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 56px;
    line-height: 56px;
    font-size: 18px;
    color: #fff;
    /* font-weight: bold; */
    background-color: #829C9D;
    text-align: center;
    box-shadow: 5px 5px 14px #829C9D;
    z-index: 99;
}
.van-overlay {
    z-index: 100;
}

/* 预约 首页 */
.bran-list{
    padding: 8px 15px 8px 13px;
}
.bran-list .bran-item{
    margin-bottom: 16px;
    position: relative;
    height: 176px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.bran-item img{
    height: 100%;
}
.bran-item .bran-bottom{
    height: 52px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(154, 160, 156, .8);
    padding-top: 9px;
    font-size: 0;
}
.bran-bottom .bran-title{
    font-size: 15px;
    color:#fff;
    padding-left: 7px;
    display: block;
}
.bran-bottom .bran-address {
    font-size: 10px;
    display: block;
    color: #fff;
    padding-left: 7px;
    color: #EEE3B9;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bran-bottom .bran-address i{
    font-size: 12px;
    margin-right: 4px;
}
.bran-bottom .bran-loc {
    position: absolute;
    top: 15px;
    right: 9px;
    font-size: 12px;
    color: #fff;
}
.bran-bottom .bran-loc i{
    font-size: 14px;
    margin-right: 4px;
}
.bran-item .bran-top{
    position: absolute;
    top: 13px;
    font-size: 0;
    left: 3px;
}
.bran-top .bran-top-item{
    margin-left: 8px;
    margin-right: 8px;
    font-size: 10px;
    color: #fff;
    display: inline-block;
    height: 16px;
    line-height: 16px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: rgba(154, 160, 156, .8);
    border-radius: 4px;
}

/* 预约详情,显示多个类型的自习室 */
.room-type-list{
    padding-left: 21px;
    padding-right: 21px;
}
.room-type-list .room-type-item{
    height: 80px;
    padding-top: 16px;
    border-bottom: 1px solid #DCDFE6;
    font-size: 0;
    position: relative;
    width: 100%;
}
.room-type-item .room-type-name{
    font-size: 17px;
    color: #606266;
    font-weight: bold;
    display: block;
}
.room-type-item .room-type-desc{
    padding-top: 4px;
    font-size: 13px;
    color: #6E7073;
    display: block;
}
.room-type-item .room-type-btn{
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    background-color:#829C9D;
    width: 55px;
    height: 27px;
    line-height: 27px;
    text-align: center;
    display: block;
    position: absolute;
    right: 0;
    top: 27px;
    border-radius: 5px;
}

/* 预约页面 */
.order-bran-name{
    height:40px;
    line-height: 40px;
    font-size: 14px;
    color: #829C9D;
    text-align: center;
    width: 100%;
}
.order-select{
    padding-bottom: 4px;
    margin-top: 5px;
    padding-top: 5px;
    position:relative;
}
.order-bran-name,
.order-select,
.van-tabs__nav{
    background-color: #EDEDED;
}
.van-tab__text{
    -webkit-line-clamp: 2; 
    text-align: center;
}
.van-tab__text{
    font-size: 12px;
}
.van-tab__text span{
    display: block;
}
.van-tab--active .van-tab__text{
    color: #819D9C;
}
/* .van-tabs__nav .van-tab:last-child .van-tab__text span{
    color:#E5A14F !important;
} */

.van-tabs__line{
    width: 60px;
    background-color: #819D9C;
}
.type-select{
    padding-left: 15px;
}
.type-select .van-tab{
    flex: none;
    text-align: center;
}
.type-select .van-tabs__line{
    transform:none;
}
.type-select .van-tab,
.type-select .van-tabs__line{
    width: 70px;
}
.order-room-scoll{
    height: calc(100vh - 307px);
    overflow-y: auto;
}
.room-intro{
    display: block;
    width: 100%;
    height: 62px;
    background-color: #3E6F76;
    padding: 7px 16px 2px 12px;
    display: flex;
    margin-top: 5px;
}
    .room-intro .room-img-c {
        width: 70px;
        height: 46px;
        position:relative;
    }
        .room-intro .room-img-c i {
            position: absolute;
            right: 0;
            color: white;
            bottom: 0;
        }
        .room-intro .room-intro-text {
            padding-left: 8px;
            font-size: 12px;
            color: #fff;
        }
.room-intro .room-intro-text .light{
    color:#E5A04A;
}

.order-room-c{
    font-size: 0;
    line-height: 34px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 5px;
}
.order-room-c .order-room-title{
    width: 156px;
    text-align: center;
    display: inline-block;
    color:#8CA4A5;
    font-size: 12px;
    margin-right: 14px;
}
.order-room-c .order-room-title:last-child{
    margin-right: 0;
}
.order-room-title .span-icon{
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #7E9596;
    position: relative;
    line-height: 16px;
    text-align: center;
}
.order-room-title .span-icon .van-icon{
    top: 1px;
    left: .8px;
}
.order-room-scoll::-webkit-scrollbar,
.order-room-c::-webkit-scrollbar {
    display: none; /* Chrome Safari */
    -ms-overflow-style: none; /* IE 10+ */
    scrollbar-width: none; /* Firefox */
}
.order-room-list{
    margin-right: 14px;
    display: inline-block;
    width: 156px;
}
.order-room-c .order-room-list:last-child{
    margin-right: 0;
}
.order-room-item{
    /*width: 156px;*/
    height: 68px;
    border-radius: 4px;
    background-color: #BFD7D2;
    margin-bottom: 16px;
    display: block;
    position: relative;
}
.order-room-item .order-memb-price{
    position: absolute;
    min-width: 70px;
    padding-left: 4px;
    padding-right: 4px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
    right: 4px;
    top: 2px;
    background-color: #CFE5E2;
    color: #E59B43;
    border-radius: 6px;
}
.order-room-item .order-pre-btn{
    width: 30px;
    height: 12px;
    font-size: 8px;
    text-align: center;
    line-height: 12px;
    color: #fff;
    background-color: #A0B8B5;
    position: absolute;
    right: 4px;
    bottom: 2px;
    border-radius: 4px;
}
.order-room-item .order-room-time{
    top: 0;
    height: 100%;
    line-height: 68px;
}
.order-room-item .order-room-price{
    top:36px;
}
.order-room-item .order-room-time,
.order-room-item .order-room-price{
    font-size: 14px;
    color: white;
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
}

.order-room-item-no{
    background-color:#B7B7B7;
}
.order-room-item-no span{
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    font-size: 12px;
    color: #fff;
}
.order-room-item-no span:first-child{
    top: 8px;
}
.order-room-item-no span:last-child{
    top: 28px;
}
.order-active{
    background-color: #829C9D;
}
.time-select-dialog {
    width: 80%;
    height: 430px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 0px 10px #000;
    position: absolute;
    top: 108px;
    overflow: hidden;
    left: 10%;
    padding-left: 11px;
    padding-right: 11px;
}
    .time-rang {
        font-size: 17px;
        color: #3E6F77;
        font-weight: bold;
        padding-top: 14px;
    }
.time-rang .van-icon{
    float: right;
    margin-top: 2px;
    color: #737373;
}
.time-select-dialog .time-select-btn{
    width: 110px;
    height: 34px;
    border-radius: 6px;
    background-color: #819D9C;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 34px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -55px;
    bottom: 22px;
}

.load-c {
    background-color: white;
    width: 100%;
    height: 100%;
    padding-top: calc(50% - 25px);
    padding-left: calc(50% - 12px);
    z-index: 999;
}

/* 确认订单 */
.place-order {
    padding:30px 22px 0px
}
    .place-order ul li {
        height: 66px;
        width: 100%;
        line-height: 66px;
        border-bottom: 1px solid #F6F4F4;
        font-size: 16px;
    }
        .place-order ul li .right {
            float: right;
            color: #627E7F;
        }
            .place-order ul li .right.credit-card {
                height: 28px;
                background-color: #EDAC6D;
                line-height: 28px;
                width: 125px;
                text-align: center;
                color: white;
                border-radius: 5px;
                margin-top: 19px;
            }
                .place-order ul li .right.credit-card .van-icon {
                    top:3px;
                }
            .place-order ul li .right.member-price {
                line-height: 18px;
                text-align: right;
                color: white;
                margin-top: 15px;
                color: #EDAE72;
            }
.place-order-bottom {
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:56px;
    line-height:56px;
    color:white;
    font-size:16px;
}
    .place-order-bottom .left {
        float: left;
        width: 60%;
        background-color: #4A747A;
        display:block;
        padding-left:20px;
    }
    .place-order-bottom .right {
        float:right;
        width: 40%;
        display: block;
        background-color: #829C9D;
        text-align:center;
    }
.van-overlay_top {
    z-index:200;
}
.img_swiper_modal {
    padding-top: calc(50vh - 138px);
    position: fixed;
    top: 0;
    z-index: 201;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    left:-200%;
}

@media (max-heigth: 550px) {
    .time-select-dialog {
        height: 75vh;
        top: calc(15vh + 30px);
    }
}