 
.calendar1{
    width: 100%;
    overflow: hidden;
    background: none !important;
}
.totalbox{
    overflow: hidden;
}
.calendar .title{
    width: 138px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    float: left;
    margin-top: 2px;
}
em{
    font-style: normal;
}
.manyweek{
    width: 98px;
    height: 30px;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    line-height: 30px;
    text-align: center;
    color: var(--main-color);
    font-size: 16px;
    font-weight: bold;
    float: right;
    box-sizing: border-box;
}
.calendar .title .prev_month_btn{
    display: block;
    float: left;
    margin-right: 4px;
    text-decoration: none;
    cursor: pointer;
}
.calendar .title .prev_month_btn img , .calendar .title .next_month_btn img{
    width: 8px;
    height: 16px;
    vertical-align: middle;
}
.calendar .title .prev_month_btn img:hover , .calendar .title .next_month_btn img:hover{
    opacity: 0.7;
}
.calendar .title #month{
    color: #333;
    font-size: 16px;
    vertical-align: middle;
}
.calendar .title .next_month_btn{
    display: block;
    float: right;
    margin-left: 4px;
    text-decoration: none;
    cursor: pointer;
}
.calendar .calendars{
    width: 100%;
    margin: 0 auto;
    /*background: #FFCC99;*/
}
.calendar .calendars .table{
    border: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}
.calendar .calendars .table .tr{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.calendar .calendars .table .thead{
    color: #888888;
}
.calendar .calendars .table .thead .td{
    border: 0;
    text-align: center;
    width: 40px;
    padding: 0;
    padding-top: 18px;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
}
.calendar .calendars .table .tbody .td {
    width: 28px;
}
.calendar .calendars .table .tbody .td .td1{
    border: 0;
    text-align: center;
    width: 28px;
    height: 28px;
    padding: 0;
    margin-top: 6px;
    position: relative;
    cursor: pointer;
    border-radius: 50%;
    color: #777;
    font-size: 15px;
    flex-shrink: 0;
    text-align: center;
    line-height: 28px;
}
.calendar .calendars .table .td.today{
    background-color: rgba(0,0,0,0.2);
    color: #000;
}
.calendar .calendars .table .td.active{
    background-color: #999;
    color: #fff;
}
.calendar .calendars .table .td .td1{
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 14px;
}
.calendar .calendars .table .td .td2{
    width: 100%;
    height: 0;
    overflow: hidden;
}
.tbody .tr .td:not(.onLineBegin,.onLineEnd)[data-date]:hover .td1{
    color: #fff !important;
    font-weight: bold;
    background: var(--main-color);
    flex-grow: 0;
}
.onLineBegin .td1::after{
    content: '';
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--main-color);
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.onLineEnd .td1{
   
    font-weight: bold;
    
    flex-grow: 0;
}
.tbody .onLineEnd.td:hover[data-date] .td1 ,.tbody .onLineBegin.td:hover[data-date] .td1 {
    font-weight: bold;
}
.today-bg .td1 , .tbody .tr .td:hover:not([data-date]) .td1{
    cursor: auto;
}
.middle .td1{
    color: #9f1b29 !important;
    font-weight: bold;
}
.active-bg .td1{
    background: #ff9932 !important;
    color: #fff !important;
}
.today-bg .td1{
    background: var(--main-color) !important;
    color: #fff !important;
}