.calendar-wrapper{
    width: 100%;
}
.calendar-wrapper header{
    display: flex;
    align-items: center;
    padding: 0 20px 10px;
    justify-content: space-between;
}
.calendar-wrapper header .cal-tit {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}
header .cal-tit span{
    height: 38px;
    width: 38px;
    margin: 0 1px;
    cursor: pointer;
    color: #878787;
    text-align: center;
    line-height: 38px;
    font-size: 1.9rem;
    user-select: none;
    border-radius: 50%;
}
.cal-tit span:last-child{
    margin-right: -10px;
}
header .cal-tit span:hover{
    background: #f2f2f2;
}
header .current-date{
    font-size: 1rem;
}
.calendar{
    padding: 0 20px;
}
.calendar ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    text-align: center;
}
.calendar .days{
    margin-bottom: 20px;
}
.calendar li{
    color: #333;
    width: calc(100% / 7);
    font-size: 0.875rem;
}
.calendar .weeks li{
    font-weight: 500;
    cursor: default;
}
.calendar .days li{
    z-index: 1;
    cursor: pointer;
    position: relative;
    margin-top: 20px;
}
.calendar .days li:not(.inactive):hover:before{
    border: 1px solid var(--dark900) !important;
}
.days li.inactive{
    color: #aaa;
    cursor: initial;
}
/* 오늘 일자 */
.days li.today{
    color: #333;
    text-decoration: underline;
    font-weight: bold;
}
.days li::before{
    position: absolute;
    content: "";
    left: 50%;
    top: 50%;
    height: 30px;
    width: 30px;
    z-index: -1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}
/* 선택한 일자 */
.days li.active::before{
    border: 1px solid var(--dark900) !important;
}
.days li:not(.active):active {
}
.days li:not(.active):hover::before{
}
/*파란색*/
.days li.cbg-b {
    color: var(--white);
}
.days li.cbg-b::before{
    background: var(--blue500);
    color: white;
}
/*빨간색*/
.days li.cbg-a {
    color: var(--white);
}
.days li.cbg-a::before{
    background: var(--alert);
    color: white;
}
/*초록색*/
.days li.cbg-grn {
    color: var(--white);
}
.days li.cbg-grn::before{
    background: var(--green500);
    color: white;
}
/*회색*/
.days li.cbg-gry {
    color: var(--white);
}
.days li.cbg-gry::before{
    background: var(--dark600);
    color: white;
}

