.gearDate {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    bottom:0;
    width: 100%;
    z-index: 9900;
    overflow: hidden;
    animation-fill-mode: both;
}
.date_ctrl {
    vertical-align: middle;
    background-color: #fff;
    color: #000;
    margin: 0;
    height: auto;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9901;
    overflow: hidden;
    transform: translate3d(0, 0, 0)
}
.slideInUp {
    animation: slideInUp .3s;
}

@keyframes slideInUp {
    from {
        transform: translate3d(0, 100%, 0)
    }
    to {
        transform: translate3d(0, 0, 0)
    }
}
.ym_roll,
.date_roll,
.datetime_roll,
.time_roll {
    display: flex;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: transparent;
    -webkit-mask: -webkit-linear-gradient(top, rgba(0,0,0,1) 10%, rgba(0,0,0,0.1));
    /* -webkit-mask: -webkit-gradient(linear, 0% 50%, 0% 100%, from(#debb47), to(rgba(36, 142, 36, 0)));
    -webkit-mask: -webkit-linear-gradient(top, #debb47 50%, rgba(36, 142, 36, 0)); */
}

.ym_roll>div,
.date_roll>div,
.datetime_roll>div,
.time_roll>div {
    font-size: 1.6em;
    height: 13em;
    float: left;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    flex: 4
}

.ym_roll>div .gear,
.date_roll>div .gear,
.datetime_roll>div .gear,
.time_roll>div .gear {
    width: 100%;
    float: left;
    position: absolute;
    z-index: 9902;
    margin-top: -4em;
}

.date_roll_mask {
    /* -webkit-mask: -webkit-gradient(linear, 0% 40%, 0% 0%, from(#debb47), to(rgba(36, 142, 36, 0)));
    -webkit-mask: -webkit-linear-gradient(bottom, #debb47 50%, rgba(36, 142, 36, 0));  */
    -webkit-mask: -webkit-linear-gradient(bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.1));
    padding: 0;
}

.date_roll>div:nth-child(2) {
    flex: 2;
}

.date_roll>div:nth-child(1),
.datetime_roll>div:nth-child(1) {
    flex: 4;
}

.datetime_roll>div:first-child {
    flex: 6;
}

.datetime_roll>div:last-child {
    flex: 6;
}

.date_grid {
    position: relative;
    top: 4em;
    width: 100%;
    height: 2em;
    margin: 0;
    box-sizing: border-box;
    z-index: 0;
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
}

.date_grid>div {
    color: #000;
    position: absolute;
    right: 0;
    top: 0;
    font-size: .8em;
    line-height: 2.5em;
}
.ym_roll>div .date_grid>div,
.time_roll>div .date_grid>div {
    right: 5em;
}

.date_btn_box {
    align-items: stretch;
    background-color: #f7f7f7;
    position: relative;
}

.date_btn_box:before {
    left: 0;
    top: 0;
    transform-origin: 50% 20%;
}

.date_btn_box:after {
    left: 0;
    bottom: 0;
    transform-origin: 50% 70%;
}
.date_btn_box>div{
    width:94%;
    margin:0 auto;
    font-size: 0;
}
.date_btn_box>div>.date_btn {
    display: inline-block;
    width:50%;
    color: #007aff;
    font-size: 0.3rem;
    height: 0.9rem;
    line-height: 0.9rem;
}
.date_btn_box>div>.date_btn:first-child{
    text-align: left;
}
.date_btn_box>div>.date_btn:last-child{
    text-align: right;
}
.tooth {
    height: 2em;
    line-height: 2em;
}
.date_yy .tooth{
    text-indent: 60%;
}
.date_mm .tooth{
    text-indent: 30%;
}