body.main #calendar{width:100% !important;height:auto !important;   padding-top: 5px;}
.dropdown-month,#dropdown-year,.calendar-date .value, .calendar-content,.calendar-select .btn-group{display:none}

.calarrow.cal_prev,.calarrow.cal_next{display: block;    cursor: pointer;
    width: 29px;
    height: 29px;
  border-radius:50%;float:left;}
.calarrow.cal_prev{background:url(/_upload/tpl/01/03/259/template259/images/cal_prev.svg) no-repeat center / contain;    }
.calarrow.cal_next{background:url(/_upload/tpl/01/03/259/template259/images/cal_next.svg) no-repeat center / contain;}
.calarrow.cal_prev:hover{background:url(/_upload/tpl/01/03/259/template259/images/cal_prev_a.svg) no-repeat center / contain;}
.calarrow.cal_next:hover{background:url(/_upload/tpl/01/03/259/template259/images/cal_next_a.svg) no-repeat center / contain;}
.calendar-header>div{float:left}
.calendar-header{    font-size: 18px;    line-height: 29px;    padding-top: 15px;
    padding-bottom: 5px;
    color: #B71B31;}
.calendar-header .calendar-month-select::before{content:'-';display:inline}
.calendar-table{    width: 100%;
    text-align: center;
    line-height: 29px;}
.calendar-next-month-cell .calendar-date{    display: none;}
.calendar-last-month-cell .calendar-date{    display: none;}
.calendar-cell{   padding-bottom:13px;       position: relative; }
.calendar-cell .calendar-date{ position: relative; }
.calendar-cell .calendar-date{ width: 29px; height: 29px;margin: auto;border-radius:50%;    cursor: pointer;}
.calendar-cell.calendar-today .calendar-date{background:#B71B31;box-shadow:0 4px 8px #FF000060;    color: #fff;}
.calendar-cell.calendar-today .calendar-date .calendar-value{ color: #fff;}
.calendar-cell.calendar-weekend .calendar-date{color:#B71B31}
.you.calendar-cell.calendar-next-month-cell::after,.you.calendar-cell.calendar-last-month-cell::after{display:none !important}
.you.calendar-cell.calendar-next-month-cell .calendar-content,.you.calendar-cell.calendar-last-month-cell .calendar-content{display:none !important}
.you.calendar-cell .calendar-date::after{content:'';display:block;width:5px;height:5px;border-radius:50%;background:#0080CC;    margin: auto;
    position: absolute;
    bottom: -9px;
    left: 0;
    right: 0;}
.you.calendar-cell:hover .calendar-content{display:block;}
.calendar-content{    position: absolute;
   
       background: linear-gradient(135deg, #B81C30, #D93438);
       width: 350px;
    left: 50%;
    transform: translate(-50%,41px);
    top: 0;
    min-height: 140px;
max-height:280px;
    border-radius: 5px;z-index: 1;    color: #fff;text-align: left;    padding: 22px 26px;
    overflow-y: auto;box-sizing:border-box;}
.calendar-content .news_title a{color:#fff;transition: .5s;}
.calendar-content .date_bg{    background: #fff;
    color: #B71B31;
    font-size: 18px;
    border-radius: 15px;
    line-height: 30px;
    display: inline-block;
    padding: 0 13px;margin-bottom:22px;}
.calendar-content .events li{    font-size: 14px;
    line-height: 24px;
    padding-left: 20px;
    position: relative;margin-bottom: 17px;padding-bottom:5px;}
.calendar-content .events li:last-child{margin-bottom:0}
.calendar-content .events li::after{content:'';width:8px;height:8px;border-radius:50%;background:#fff;position: absolute;    display: block;transition: .5s;  visibility: visible;    left: 0; top: 9px;}
.calendar-content .events li:hover::after{background:#FFBC8D;}
.calendar-content li:hover .news_title a{color:#FFBC8D}
.calendar-content .events li::before{content:'';display:block;width:0;height:1px;position: absolute;background:#FFBC8D;left:0;bottom:0;transition: .5s;}
.calendar-content .events li:hover::before{width:100%}

.shadowbg{    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 22;
    background: rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;}
.shadowbg::after{content:'';display:block;width:38px;height:38px;background:url(/_upload/tpl/01/03/259/template259/images/load.gif) no-repeat center / contain}
.calendar-content::before{content:'';width:180px;height:100%;background:url(/_upload/tpl/01/03/259/template259/images/hongbg.png) no-repeat center / contain;    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;}
.calendar-next-month-cell {padding-bottom:0}
.calendar-column-header-inner{    font-weight: 500;    font-size: 16px;    display: block;
    height: 39px;}
.test_week{    position: absolute;
    right: 0;
    background: #F7F7F7;
    height: 34px;
    line-height: 34px;
    padding: 0 17px;
    border-radius: 17px;
    font-size: 15px;
    font-weight: 600;
    color: #B71B31;
    margin-top: 8px;}

.calendar-holiday~div.calendar-value{color:#D02F38}
.calendar-holiday{   position: absolute;
    right: -10px;
    color: #fff;
    background: #B71B31;
    top: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    line-height: 17px;
    text-align: center;
    font-size: 11px;}
.calendar-holiday-bg{width: 100%;
    height: 100%;
    background: #FEF6F6;
    display: block;
    border-radius: 50%;
    position: absolute;
    z-index: -1;}



/*.calendar-work~div.calendar-value{color:#000}*/
.calendar-work{   position: absolute;
    right: -10px;
    color: #fff;
    background: #5d5555;
    top: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    line-height: 17px;
    text-align: center;
    font-size: 11px;}
.calendar-work-bg{width: 100%;
    height: 100%;
    background: #c3c0c040;
    display: block;
    border-radius: 50%;
    position: absolute;
    z-index: -1;}

.holidayName{    position: absolute;
    font-size: 9px;
    bottom: -7px;
    line-height: 10px;
    color: #B71B31;}

.calendar-cell.calendar-weekend .calendar-content{left: auto;
    transform: translate(0, 41px);
    right: -41px;}
.calendar-cell.calendar-weekend:last-child .calendar-content{left: auto;
    transform: translate(0, 41px);
    right: 0;}
.test_week{    margin-top: 6px;}
.calendar-header{    padding-top: 9px;    font-size: 16px;}
.calendar-body{    margin: 0 -22px;}
.calendar-cell.active .calendar-date{    border: 2px solid #B71B31;line-height:25px;
    box-sizing: border-box;}
/*7.12*/
.calarrow.cal_next{    margin-left: 10px;
    margin-top: 2px;}
.calarrow.cal_prev{    margin-right: 10px;
    margin-top: 2px;}
.calendar-header{    float: left;    margin-top: 1px;
    background: #F2F2F2;
    border-radius: 17px;
    padding-top: 2px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 2px;    margin-bottom: 5px;}
.calarrow.cal_prev, .calarrow.cal_next{    width: 25px;
    height: 25px;}
.test_week{ background: #F2F2F2;}
body.rililist .sudyclndr .clndr-controls{ background: #F2F2F2;}
.calendar-table{background:url(/_upload/tpl/01/03/259/template259/images/cal_bg.png) no-repeat center}