/**中部样式**/
#calendar {
    width: 820px;
    margin: 0 auto;
    overflow: hidden
}

#calendar ul {
    width: 100%;
    text-align: left!important
}

#calendar ul.weekdays {
    font-size: 0;
    -webkit-text-size-adjust: none
}

#calendar ul.weekdays li {
    color: #fff;
    font-size: 14px;
    width: 100px;
    background: #03a852;
    text-align: center;
    display: inline-block;
    padding: 12px 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}

#calendar ul.weekdays li .en {
    font-size: 12px
}

#calendar ul.weekdays li+li {
    margin-left: 20px
}

#calendar .days {
    margin-top: 30px
}

#calendar .days li {
    position: relative;
    color: #555;
    font-size: 14px;
    width: 100px;
    height: 70px;
    text-align: center;
    margin-top: 20px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #aaa;
    vertical-align: top;
    cursor: pointer
}

#calendar .days li+li {
    margin-left: 20px
}

#calendar .days li:nth-of-type(7n+1) {
    margin-left: 0!important
}

#calendar .days li:hover {
    border: 2px solid #146460
}

#calendar .days li .stock {
    font-size: 12px;
    color: #1d9993
}

#calendar .days li.active {
    color: #fff;
    background: #03a852;
    border: 2px solid #146460
}

#calendar .days li.active .stock {
    color: #fff
}

#calendar .days li.active:after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 25px;
    height: 20px;
    background: url(../images/selected.png?a691b41fe4d0e71013f9581a4dd04777) no-repeat
}

#calendar .days li.disabled {
    line-height: 37px;
    opacity: .5;
    cursor: not-allowed
}

#calendar .days li.disabled:hover {
    border: 2px solid #aaa
}

#calendar .days li.full {
    color: #a1a1a1;
    cursor: not-allowed
}

#calendar .days li.full:hover {
    border: 2px solid #aaa
}

#calendar .days li.closed {
    color: #a1a1a1;
    opacity: .5;
    cursor: not-allowed
}

#calendar .days li.closed:hover {
    border: 2px solid #aaa
}

#calendar .days li.closed .stock {
    color: #a1a1a1
}

#calendar .days li.today:after {
    content: "\4ECA";
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    font-size: 12px;
    width: 20px;
    height: 15px;
    background: #1d9993;
    text-align: center;
    line-height: 12px;
    display: block
}

#calendar .times-tit {
    width: 100px;
    line-height: 35px;
    float: left;
    margin: 50px 0
}

#calendar .times {
    float: left;
    width: calc(100% - 100px);
    text-align: left;
    margin: 50px 0
}

#calendar .times:after {
    clear: both
}

#calendar .times li {
    position: relative;
    font-size: 14px;
    width: 140px;
    height: 35px;
    line-height: 31px;
    text-align: center;
    border: 2px solid #aaa;
    display: inline-block;
    cursor: pointer
}

#calendar .times li:hover {
    border: 2px solid #146460
}

#calendar .times li+li {
    margin-left: 30px
}

#calendar .times li.active {
    color: #fff;
    background: #03a852;
    border: 2px solid #146460
}

#calendar .times li.active:after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 25px;
    height: 20px;
    background: url(../images/selected.png?a691b41fe4d0e71013f9581a4dd04777) no-repeat
}

#calendar .times li.disabled {
    opacity: .5;
    cursor: not-allowed
}

#calendar .times li.disabled:hover {
    border: 2px solid #aaa
}
