/* Source Han Sans CN */
#index-forecast {
    margin: 20px 0;
    width: 100%;
    /* height: 480px; */
}

#index-forecast * {
    box-sizing: border-box;
}

.index-forecast-title > div {
    float: left;
    width: 50%;
    height: 28px;
    line-height: 28px;
}

.index-forecast-title .title-left {
    background-color: #2371ed;
    padding-left: 10px;
    color: #fff;
    font-size: 16px;
}

.index-forecast-title .title-right {
    background-color: #4688ff;
    text-align: right;
}

.index-forecast-title .title-right span {
    display: inline-block;
    width: 30%;
    color: #fff;
    font-size: 14px;
    padding-right: 10px;
    background-color: #ff8c2f;
    cursor: pointer;
}

#index-forecast .content {
    width: 100%;
    height: -webkit-calc(100% - 28px);
    height: -moz-calc(100% - 28px);
    height: calc(100% - 28px);
    font-size: 0;
    border: 1px solid #dfdfdf;
}

#index-forecast .content > div {
    display: inline-block;
    width: 50%;
    /* height: 100%; */
    vertical-align: top;
}

.forecast-chart {
    padding-right: 4px;
    background-color: #dbdbdb;
}

.forecast-chart .forecast-chart-header {
    height: 30px;
    line-height: 30px;
    padding-left: 15px;
    color: #3b3b3b;
}

.forecast-chart .rain-forecast {
    height: 150px;
    background-color: #fff;
}

.forecast-chart .rain-forecast > div,
.forecast-chart .hourly-forecast > div {
    float: left;
    height: 100%;
}

.forecast-left > div:nth-child(1) {
    border-right: 1px solid #dbdbdb;
}

.forecast-left > div:nth-child(2) {
    text-align: center;
    color: #3b3b3b;
    background-color: #dbdbdb;
    border-right: 1px solid #fff;
}

.forecast-left.rain,
.forecast-left.hourly {
    width: 85px;
}

.forecast-left.rain > div:nth-child(1) {
    height: 120px;
    padding-top: 50%;
    text-align: center;
}

.forecast-left.rain > div:nth-child(2),
.forecast-left.hourly > div:nth-child(2) {
    height: 30px;
    line-height: 30px;
}

.fixed-yAis {
    position: absolute;
    top: 9px;
    left: 26px;
    width: 1px;
    height: 103px;
    background-color: #dbdbdb;
}

.y-top,
.y-mid,
.y-tmb,
.y-bot {
    position: absolute;
    left: -5px;
    width: 6px;
    height: 1px;
    background-color: #dbdbdb;
}

.y-top {
    top: 0px;
}

.y-top::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -17px;
    width: 20px;
    height: 20px;
    background: url(/img/indexForecast/heavy-rain.png) no-repeat;
}

.y-tmb {
    top: 50px;
}

.y-tmb::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -17px;
    width: 20px;
    height: 20px;
    background: url(/img/indexForecast/moderate-rain.png) no-repeat;
}

.y-mid {
    top: 83px;
}

.y-mid::before {
    content: '';
    position: absolute;
    top: 4px;
    left: -17px;
    width: 20px;
    height: 20px;
    background: url(/img/indexForecast/light-rain.png) no-repeat;
}

.y-bot {
    top: 103px;
}

.time-axis {
    position: absolute;
    height: 30px;
    width: 100%;
    bottom: -4px;
    border: 4px solid #dbdbdb;
}

.forecast-right {
    position: relative;
    width: -webkit-calc(100% - 85px);
    width: -moz-calc(100% - 85px);
    width: calc(100% - 85px);
    border-bottom: 4px solid #dbdbdb;
}

.scrollbar-axis {
    margin-left: 4px;
    width: calc(100% - 4px);
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.rain .scrollbar-axis {
    margin-left: 27px;
    width: calc(100% - 30px);
}

.forecast-chart .hourly-forecast {
    background-color: #fff;
}

.hourly-forecast {
    height: 258px;
}

.forecast-left.hourly > div:nth-child(1) {
    height: 228px;
    padding-top: 100%;
    text-align: center;
}

.forecast-map {
    position: relative;
    height: 438px;
    background-color: rgba(0, 0, 255, 0.1);
}

.nicescroll-cursors {
    z-index: 5;
}

.tab-map {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    box-shadow: 4px 5px 10px 5px rgba(0, 0, 0, 0.2);
}

.tab-map span {
    padding: 5px 8px;
    color: #fff;
    cursor: pointer;
}

.tab-map span:nth-child(1) {
    background-color: #2371ed;
}

.tab-map span:nth-child(2) {
    background-color: #ff8c2f;
}

.tooltip-wrapper {
    background-color: #5494ff;
    padding-left: 4px;
}
.tooltip-wrapper h5 {
    color: #fff;
}

.forecast-left.hourly {
    position: relative;
}
.title-weather {
    position: absolute;
    top: 50px;
    left: 34px;
}
.title-rain {
    position: absolute;
    bottom: 34px;
    left: 24px;
}

#ascrail2004-hr {
    display: block !important;
}
.map-time-tip {
    position: absolute;
    bottom: 10px;
    right: 30px;
    z-index: 9999;
}
