/* 日历 */
.zh-almanac {
    margin-top: 5px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    width: 100%;
}

.zh-almanac * {
    box-sizing: border-box;
}

.alc-container {
    position: relative;
    color: #333;
    margin-top: 14px;
}

.alc-container .left {
    width: 100%;
    padding: 0;
}

.alc-container .right {
    position: absolute;
    right: 0;
    top: 0;
}

.btn-alc {
    cursor: pointer;
    line-height: 22px;
    margin: 0 5px;
    margin-top: 2px;
    overflow: hidden;
    padding-left: 7px;
    padding-right: 7px;
    width: auto;
    background-color: #5bc0de;
    border-color: #46b8da;
    color: #fff;
}

.hint-bar {
    height: 30px;
    line-height: 30px;
    position: relative;
    /*z-index: 200;*/
}

.control-bar {
    position: absolute;
    right: 0;
    top: 0;
}

.control-bar .control-module {
    float: left;
    margin-right: 5px;
    position: relative;
}

.control-bar .control {
    float: left;
    border: 1px solid #D7D9E0;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
}

.control .field {
    float: left;
    padding: 0 10px;
}

.year-control .control,
.month-control .control {
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    margin: 0 2px;
}

.year-control .control .trigger,
.month-control .control .trigger {
    float: right;
    width: 24px;
    line-height: 30px;
    font-size: 12px;
    cursor: pointer;
}

.control-module .prev,
.control-module .next {
    float: left;
    height: 30px;
    line-height: 30px;
    width: 30px;
    text-align: center;
}

.control-module .prev {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.control-module .next {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.control-bar .btn-today {
    float: left;
    margin-right: 2px;
    width: 68px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #F5F5F6;
    border-radius: 6px;
    color: #333;
    cursor: pointer;
}

.control-bar .list {
    position: absolute;
    top: 33px;
    left: 30px;
    right: 30px;
    height: 200px;
    background: #fff;
    border-color: #c9cccf;
    border-style: none solid solid;
    border-width: 0 1px 1px;
    padding: 0;
    margin-top: -2px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 200;
    list-style: none;
    box-shadow: 0 1px 5px rgb(0 0 0 / 15%);
}

.control-bar .list li {
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    padding-left: 10px;
}

/* 日历 */
.dates-hd,
.dates-bd {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dates-hd .days-title {
    width: 14.25%;
    height: 36px;
    line-height: 36px;
    float: left;
    font-size: 13px;
    color: #333333;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.dates-hd .days-title.weekend {
    color: #b04343;
}

.dates-bd .cross-month {
    background: none repeat scroll 0 0 #f5f5f5;
    opacity: 0.6;
}

/*.dates-bd .today {*/
    /*background: url("/assets/lib/almanac/images/today-c38d561ae73cf44071e18fbaaedc3866.gif") no-repeat scroll center top rgba(0, 0, 0, 0);*/
/*}*/

.rest .border, .work .border {
    background-image: url("../image/vacation-56affc5f78db4b817074ff5582c9c716.gif");
    background-repeat: no-repeat;
    display: block;
    height: 16px;
    left: 1px;
    overflow: hidden;
    position: absolute;
    top: 1px;
    width: 15px;
}

.rest .border {
    background-position: 0 0;
}

.work .border {
    background-position: 0 -20px;
}

.dates-bd li span::selection {
    background-color: #fff;
}

.dates-bd li span::-moz-selection {
    background-color: #fff;
}

.dates-bd li span::-webkit-selection {
    background-color: #fff;
}

.dates-bd li {
    position: relative;
    width: 14.25%;
    height: 65px;
    float: left;
    padding-top: 10px;
    background: none repeat scroll 0 0 #fff;
    /*border-bottom: 1px solid #f1ebe4;*/
    /*border-right: 1px solid #f1ebe4;*/
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    text-align: center;
    overflow: hidden;
    margin-bottom: 2px;
}

/*.dates-bd li:hover,*/
/*.dates-bd li.on {*/
    /*background-color: #fefbeb;*/
/*}*/

.dates-bd li .layer {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    filter: alpha(opacity=0.8);
    z-index: -1;
}

.dates-bd li .layer span {
    width: 50%;
    font-size: 14px;
    float: left;
    height: 16px;
}

.weekend .solar {
    color: #b04343;
}

.dates-bd .solar {
    line-height: 18px;
    text-align: center;
    width: 100%;
    font-weight: 500;
    font-size: 18px;
    color: #000;
}

.lunar {
    color: #333;
    font-size: 12px;
    display: block;
    height: 25px;
    line-height: 25px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.lunar-style .lunar { /*阴历节日*/
    color: #8eb475;
}

.solar-style .lunar { /*阳历节日*/
    color: #86a9c0;
}

.black-style .lunar { /*黑色星期五*/
    color: #000;
}

.vacation .lunar {
    color: #b04343;
}

.unover { /*禁止滑动*/
    background: none repeat scroll 0 0 #f4f1f1;
    cursor: auto;
}

/* 右侧今日 */
.almanac-tips {
    border-bottom: 1px solid #d2d2d2;
    height: 185px;
    width: 140px;
}

.dates-bar {
    margin: 15px 5px;
}

.weekday {
    padding-left: 6px;
}

.date-show-panel {
    color: #c00;
    font-size: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.desc {
    color: #999;
}

.lunar-ganzhi,
.lunar-term {
    text-align: center;
}

/* 黄道吉日 */
.almanac-extra {
    border-bottom: 1px dashed #f1ebe4;
    margin: 0 14px;
    overflow: hidden;
    padding-bottom: 15px;
    width: 106px;
}

.almanac-extra .suited,
.almanac-extra .tapu {
    float: left;
    padding: 8px 0;
    width: 50px;
}

.almanac-extra .suited {
    margin-right: 2px;
}

.almanac-extra .st-label {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    width: 55px;
    margin: 2px;
}

.suited, .suited .st-label {
    color: #b04343;
}

.tapu, .tapu .st-label {
    color: #5b5b5b;
}

.almanac-extra .st-items {
    padding: 10px 0 0;
    list-style: none;
}

.st-items li {
    float: left;
    padding: 1px 0;
    text-align: center;
    width: 60px;
}

.ban .st-items li {
    clear: both;
    margin-top: 15px;
    width: 100%;
    color: #f00;
    font-weight: bold;
    font-size: 16px;
}

.hidden {
    display: none;
}

.clearfix::before, .clearfix::after {
    box-sizing: border-box;
    clear: both;
    content: " ";
    display: table;
}
