﻿.calendar-wrapper {
    flex: 0 0 auto;
    width: 50%;
}

.calendar-wrap {
    width: 300px;
    height: 325px;
    /*padding: 17px 10px 21px 6px;
    border-radius: 7px;
    border: solid 1px #828282;*/
    background-color: #fff;
}

.calendar-wrap .header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-wrap .year-month-this {
    font-size: 1.3rem;
    margin: 0 18px;
    text-align: center;
    color: #000;
}

.calendar-wrap .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
}

.calendar-wrap .nav-btn {
    width: 60px;
    height: 30px;
    border: none;
    font-size: 24px;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #828282;
}
.calendar-wrap .nav-btn.mobile {
    display: none;
}
.nav-btn.go-prev {
    position: absolute;
    left: 0;
}
.nav-btn.go-next {
    position: absolute;
    right: 0;
}

.calendar-wrap .go-today {
    position: absolute;
    top: 3px;
    right: 10px;
    width: 54px;
    height: 30px;
    border-radius: 15px;
    font-size: 12px;
    background-color: #f4f4f4;
    display: flex;
    color: #828282;
    justify-content: center;
    align-items: center;
}

.calendar-wrap .days {
    display: flex;
    width: 100%;
    height: 26px;
    margin: 15px 0 10px;
    padding-top: 5px;
    /*opacity: 0.49;*/
    /*border-radius: 3px;
    background-color: #f4f4f4;*/
}

.calendar-wrap .day {
    width: calc(100% / 7);
    text-align: center;
    font-size: 12px;
    color: #000;
}

.calendar-wrap .dates {
    display: flex;
    flex-flow: row wrap;
}

.calendar-wrap .date {
    width: calc(100% / 7);
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-wrap .date div {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.calendar-wrap .date.selected div {
    border-radius: 50%;
    background-color: #69A9ED;
    color: #fff;
    font-weight: bold;
}

.calendar-wrap .date:nth-child(7n + 1) {
    color: #d13e3e;
}

.calendar-wrap .this {
    cursor: pointer;
}
.calendar-wrap .this.no-schedule {
    opacity: 0.3;
}

.calendar-wrap .other {
    opacity: 0;
}

.calendar-wrap .disable {
    opacity: 0.3;
}

.calendar-wrap .holiday {
    color: #DA5542;
}

.calendar-wrap .today {
    border-radius: 50%;
    border: solid 1px #c9c9c9;
}

@media (max-width: 1059px) {
    .calendar-wrapper:not(.mobile-none) {
        width: 100vw;
        min-width: 333px;
    }
    .calendar-wrapper:not(.mobile-none) .calendar-wrap {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .calendar-wrap .nav-btn.mobile {
        display: flex;
    }
}
@media (min-width: 1060px) {
    .calendar-wrap .date div.this:hover {
        border-radius: 50%;
        background-color: rgba(105, 169, 237, 0.3);
    }
}