﻿
#date_box {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    background-color: white;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    backface-visibility: hidden;
    overflow: hidden;
    z-index: 99999;
}

    #date_box > div.top {
        position: relative;
        z-index: 100;
    }

.date_boxOpen {
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}

#date_box span.title {
    display: block;
    width: 100%;
    height: 0.86rem;
    background-color: #fbaf23;
    text-align: center;
    line-height: 0.86rem;
    font-size: 0.36rem;
    color: white;
}

#date_box ul.week {
    width: 100%;
    height: 0.48rem;
    background-color: white;
}

    #date_box ul.week > li {
        float: left;
        width: 14%;
        height: 100%;
        color: #3e3a39;
        font-size: 0.28rem;
        text-align: center;
        line-height: 0.48rem;
    }

        #date_box ul.week > li:first-child {
            margin-left: 1%;
        }

#date_box > ul.box {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    top: 1.34rem;
    z-index: 1;
}

    #date_box > ul.box > li:last-child {
        padding-bottom: 1.34rem;
    }

    #date_box > ul.box > li > span.month {
        display: block;
        width: 100%;
        height: 0.88rem;
        line-height: 0.88rem;
        color: #fbaf23;
        border-top: 1px solid #c9caca;
        border-bottom: 1px solid #c9caca;
        text-align: center;
        font-size: 0.3rem;
    }

    #date_box > ul.box > li > div.day {
    }

        #date_box > ul.box > li > div.day > span {
            display: block;
            width: 0.95rem;
            height: 0.95rem;
            text-align: center;
            float: left;
            margin-left: 0.11rem;
            border-radius: 5px;
            font-size: 0.28rem;
        }

            #date_box > ul.box > li > div.day > span:nth-child(7n+1) {
                margin-left: 0.06rem;
            }

#date_box .dayExpire {
    color: #c9caca;
    line-height: 0.95rem;
}

    #date_box .dayExpire > .name {
        display: none;
    }

#date_box .dayStart_End {
    background-color: #fbaf23;
}

    #date_box .dayStart_End > span {
        display: block;
        color: white;
    }

    #date_box .dayStart_End > .date {
        height: 0.5rem;
        line-height: 0.7rem;
    }

    #date_box .dayStart_End > .name {
        height: 0.4rem;
        line-height: 0.3rem;
        font-size: 0.24rem;
    }

#date_box .dayChoose {
    background-color: #efefef;
    color: #3e3a39;
    line-height: 0.95rem;
}

    #date_box .dayChoose > .name {
        display: none;
    }

#date_box .dayClear {
    line-height: 0.95rem;
    color: #3e3a39;
}

    #date_box .dayClear > .name {
        display: none;
    }
/*自定义弹窗*/
#date_box>div.popup{
    position:absolute;
    top:50%;
    left:50%;
    width:3.3rem;
    height:0.96rem;
    margin:-0.48rem 0 0 -1.65rem;
    line-height:1rem;
    text-align:center;
    font-size:0.28rem;
    color:white;
    background-color:#FBAF23;
    -webkit-border-radius:0.15rem;
    -moz-border-radius:0.15rem;
    border-radius:0.15rem;
    z-index:2;
    pointer-events: none;
    opacity:0;
    display:none;
}
#date_box>div.popup.animation{
    -webkit-animation:popupFadeIn 2s linear;
    -o-animation:popupFadeIn 2s linear;
    -moz-animation:popupFadeIn 2s linear;
    animation:popupFadeIn 2s linear;
}
@-webkit-keyframes popupFadeIn {
    0%{
        opacity:0;
    }
    25%,75%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}
@-o-keyframes popupFadeIn {
    0%{
        opacity:0;
    }
    25%,75%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}
@-moz-keyframes popupFadeIn {
    0%{
        opacity:0;
    }
    25%,75%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}
@keyframes popupFadeIn {
    0%{
        opacity:0;
    }
    25%,75%{
        opacity:1;
    }
    100%{
        opacity:0;
    }
}