/* Minification failed. Returning unminified contents.
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(13,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(14,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(17,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-primary'
(22,21): run-time error CSS1039: Token not allowed after unary operator: '-width-min'
(23,21): run-time error CSS1039: Token not allowed after unary operator: '-width-max'
(26,17): run-time error CSS1039: Token not allowed after unary operator: '-theme-color'
(40,22): run-time error CSS1039: Token not allowed after unary operator: '-box-title-shadow'
(84,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-day-active'
(116,30): run-time error CSS1046: Expect comma, found '93'
(116,35): run-time error CSS1046: Expect comma, found ')'
(129,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-select-day'
 */


/* MAIN */


:root {
    --width-max: auto;
    --width-min: auto;
    --bg-primary: white;
    --size-primary: 16px;
    --box-title-shadow: none;
    --padding-container: px;
    --bg-select-day: rgb(16, 152, 161);
    --bg-disabled-day: rgb(189, 186, 186);
    --bg-today: rgb(7, 97, 68);
    --bg-day-active: #1D875A;
    --theme-color: #666;
}

.calendar {
    background: var(--bg-primary);
    min-width: var(--width-min);
    max-width: var(--width-max);
    font-size: 22px;
    font-family: inherit;
    color: var(--theme-color);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.calendar__title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .89em;
    font-weight: bold;
    color: #5a5757;
    box-shadow: var(--box-title-shadow);
    text-transform: capitalize;
    margin: 5px 0 3px;
}

.calendar__button {
    cursor: pointer;
    font-size: 1.2em;
    fill: #3a3838;
    display: flex;
}

.calendar__button--disabled {
    fill: #d2c6c6 !important;
    cursor: initial;
}

.calendar__week {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    grid-gap: 2px;
    margin: 0 0 5px;
    font-size: .8em;
}

.calendar__week-name {
    text-align: center;
}

.calendar__content-days {
    display: grid;
    grid-gap: 2px;
    grid-template-columns: repeat(7,1fr);
}

.calendar__day {
    text-align: center;
    cursor: pointer;
    font-size: 0.66em;
    padding: 3px 0;
    border-radius: 2px;
}

.calendar__day--active {
    background: var(--bg-day-active);
    color: white;
    position: relative;
}

    .calendar__day--active:hover::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.30);
    }

.calendar__disabled {
    background: #efefef;
    cursor: not-allowed;
}

.calendar__previusMonth {
    color: #dbdbdb;
}

.calendar__disabled:hover::before {
    content: none;
}

.calendar__today {
    /* background: var(--bg-today); */
    background: white;
    color: black;
    border: 1px solid rgb(28 93 51) !important;
    display: flex;
    flex-direction: column;
}

.calendar__today::before {
    content: "*";
    position: absolute;
    right: 5px;
    top: 0;
}

.calendar__day-select {
    background: var(--bg-select-day)
}

@media screen and (min-width: 790px) {

    .calendar__week {
        font-size: .71em;
    }
    .calendar {
        font-size: 16px;
    }
}
