#modalWindow {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
    overflow: none;
}

#modalWindow * {
    box-sizing: border-box;
}

#modalWindow.showing {
    pointer-events: all;
    backdrop-filter: blur(5px) brightness(60%);
    -webkit-backdrop-filter: blur(5px) brightness(60%);
}

body.showing-modal-window {
    overflow: hidden;
}

.modal {
    --margin: 20px;
    --color: #35296b;
    --background: white;
    --num: 0;

    display: flex;
    flex-direction: column;
    filter: blur(calc(var(--num)*1.5px)) brightness(calc(1 - var(--num)*0.2)) opacity(calc(1 - var(--num)*0.25));
    transform: scale(calc(1 - (var(--num)*0.06))) translateY(calc((var(--num)*-35px)));
    top: calc(40px + env(safe-area-inset-top, 0px));
    border-bottom: 4px solid whitesmoke;
    border-radius: 20px;

    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.10),  0 10px 20px -10px rgba(0, 0, 0, 0.10);
    color: var(--color);
    transition: all 0.5s ease-in-out;
    margin: auto;
    background-color: var(--background);
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

.modal.dialog-modal {
    align-items: stretch;
    position: absolute;
    width: 95%;
    max-width: 350px;
    font-size: 18px;
    justify-content: space-around;
    text-align: center;
}

.modal.modal-card {
    pointer-events: all;
    position: fixed;
    max-width: 500px;
    overflow: hidden;
    height: calc(90% - 50px);
}
.modal.dir-center {
    left: var(--margin);
    right: var(--margin);
    animation-name: card-appear-center;
}

.modal:is(.dir-left, .dir-right) {
    max-width: 300px;
    width: 100%;
}

.modal.dir-left {
    left: var(--margin);
    animation-name: card-appear-left;
}

.modal.dir-right {
    right: var(--margin);
    animation-name: card-appear-right;
}

.modal.to-remove {
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
    animation-timing-function: ease-in-out;
}

.modal.dir-center.to-remove {
    animation-name: card-disappear-center;
}

.modal.dir-right.to-remove {
    animation-name: card-disappear-right;
}

.modal.dir-left.to-remove {
    animation-name: card-disappear-left;
}

.modal .close-btn {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 15px;
    border: none;
    max-width: 30px;
    height: 30px;
    font-weight: bold;
    font-size: 15px;
    padding: 5px 10px;
    margin: 8px;
    cursor: pointer;
    color: transparent;
    transition: all 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.1);
}

.modal .close-btn:hover {
    max-width: 100px;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
}

.modal .close-btn:active {
    transform: scale(0.85);
    background-color: rgba(0, 0, 0, 0.3);
}

.modal .close-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 30px;
    height: 30px;
    display: block;
    background: url("https://cdn.lherisson.me/images/xmark?color=white") no-repeat center;
    background-size: 30px;
    transition: all 0.5s ease-in-out;
}

.modal .close-btn:hover::before {
    opacity: 0;
    background-size: 1px;
}

.modal.modal-card :is(.modal-header, .modal-footer)  {
    display: flex;
    flex: 0 0 auto;
    background-color: var(--background);
    color: var(--color);
}

.modal.modal-card .modal-header {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--color);
    text-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    min-height: 40px;
    justify-content: space-between;
}

.modal.modal-card .modal-footer {
    border-top: 1px solid rgb(239, 239, 239);
    background: rgb(245, 245, 245);
    justify-content: space-evenly;
    padding: 3px;
}

.modal.modal-card :is(.modal-header, .modal-footer):empty {
    padding: 0;
    height: 0;
    min-height: 0;
    border: none;
    background-color: transparent;
}


.modal.modal-card.with-image .modal-header {
    height: 30%;
    align-items: flex-end;
}

.modal-header .modal-title {
    padding: 15px;
    margin-right: 40px;
    overflow: hidden;
    //white-space: nowrap;
    text-overflow: ellipsis;
    color: white;
    flex-grow: 1;
    font-size: 28px;
    font-weight: bold;
}

.modal.modal-card.with-image .close-btn {
    background-color: rgba(0, 0, 0, 0.3);
}

.modal.modal-card.with-image .close-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.modal.modal-card .modal-body {
    padding: 20px 15px;
    overflow: auto;
    flex: 1 0;
    min-height: 20px;
    background-color: var(--background);
}

.modal.dialog-modal .modal-body {
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.modal.dialog-modal .modal-body > * {
    flex: 0 0 auto;
}

.modal.dialog-modal .modal-body > *:not(:last-child) {
    margin-bottom: 10px;
}

.modal.dialog-modal .modal-body .form {
    flex: 1 1 auto;
    overflow: auto;
    align-self: stretch;
}

.modal.modal-card .modal-body section {
    margin-bottom: 20px;
    color: black;
}

.modal.modal-card .modal-body .section-title {
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 25px;
    filter: opacity(60%);
    color: var(--color);
}

.modal.dialog-modal .modal-header {
    margin-bottom: 10px;
}

.modal.dialog-modal .modal-header:empty {
    margin-bottom: 40px;
}

.modal.dialog-modal .modal-title {
    color: var(--color);
    font-size: 30px;
    margin: 10px auto;
    padding-bottom: 0px;
}

.modal.dialog-modal > button {
    align-self: center;
}

.modal.dialog-modal > *:not(:last-child) {
    margin-bottom: 20px;
}

@keyframes card-appear-center {
    0% {transform: translateY(110vh);}
    70% {transform: translateY(-20px);}
}

@keyframes card-disappear-center {
    100% {transform: translateY(110vh);}
}

@keyframes card-appear-left {
    0% {left: -110vw;}
    70% {left: calc(var(--margin) + 30px);}
}

@keyframes card-appear-right {
    0% {right: -110vw;}
    70% {right: calc(var(--margin) + 30px);}
}

@keyframes card-disappear-left {
    40% {left: calc(var(--margin) + 30px);}
    100% {left: -55vw;}
}

@keyframes card-disappear-right {
    40% {right: calc(var(--margin) + 30px);}
    100% {right: -55vw;}
}
}

.err-msg {
    position: absolute;
    top: 35px;
    left: 10px;
    right: 10px;
    padding: 5px;
    color: darkred;
    border: 1px solid rgba(139, 0, 0, 0.2);
    background-color: rgba(255, 229, 229, 0.9);
    border-radius: 5px;
    text-align: left;
    z-index: 5;
}

.err-msg:before {
    content: "Error";
    display: block;
    font-weight: bold;
}

.err-msg:empty {
    display: none;
}

.inputContainer {
    position: relative;
    margin: 12px 0 5px 0;
    transition: all 0.2s ease-in-out;
    background-color: var(--background);
}

.inputContainer.text {
    --field-color: rgb(250, 250, 250);
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid whitesmoke;
    display: flex;
    align-items: baseline;
    background-color: var(--field-color);
}

.inputContainer.text .unit {
    color: dimgray;
}

.inputContainer.text .unit.before {
    padding-left: 10px;
}

.inputContainer.text .unit.after {
    padding-right: 10px;
}

.inputContainer.readonly {
    --field-color: whitesmoke;
    pointer-events: none;
    background-color: whitesmoke;
    border: 1px solid gainsboro;
}

.inputContainer.readonly input {
    color: #afafaf;
}

.inputContainer .label {
    color: #747474;
    font-size: 16px;
}

.inputContainer.text .label {
    content: attr(data-label);
    position: absolute;
    display: block;
    top: 11px;
    bottom: 0;
    left: 10px;
    height: 20px;
    transition: all 0.2s ease-in-out;
    background-color: transparent;
    pointer-events: none;
    border-radius: 3px;
}

.inputContainer.color input {
    padding:0;
    margin: 0;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border: 2px solid gainsboro;
    border-radius: 50%;
    cursor: pointer;
}

.inputContainer.color input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

input[type="color"]::-webkit-color-swatch {
    border-radius: 50%;
}

.inputContainer.readonly .label {
    background: whitesmoke; !important;
}


.inputContainer.text :is(.field, input, textarea):focus ~ .label,
.inputContainer.text :is(input, textarea):not(:placeholder-shown) ~ .label,
.inputContainer :is(input, textarea).with-placeholder ~ .label,
.inputContainer.text .tagfield ~ .label  {
    top: -10px;
    left: 10px;
    font-size: 15px;
    background: linear-gradient(to top, var(--field-color), var(--background)); !important;
}

.inputContainer input::placeholder {
    color: gainsboro;
    opacity: 1;
}

.field, .textarea, .tagfield {
    outline: none;
    width: 100%;
    border: none;
    background-color: rgba(255,255,255,0);
    padding: 5px 10px;
    font-size: 16px;
    color: var(--color);

}

.inputContainer.time {
    display: flex;
    height: auto;
    margin-top: 30px;
    align-items: center;
    justify-content: flex-start;
}

.inputContainer.time .label {
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 15px;
}

.inputContainer.time input {
    min-width: 0;
    width: 60px;
    border: none;
    outline: none;
    padding: 5px 10px;
    font-size: 16px;
    color: var(--color);
    margin: 2px;
    border-radius: 3px;
    background-color: #efefef;
    text-align: center;
}

.field {
    height: 40px;
}

.tagfield {
    text-align: left;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 40px;
    padding: 10px;
}

.tagfield>span {
    display: inline-block;
    margin: 2px;
    outline: none;
}

.tagfield>span.tag {
    padding: 0 5px;
    margin: 1px 2px 1px 0;
    text-align: center;
    border-radius: 4px;
    background-color: var(--color);
    color: white;
    border: 1px solid rgba(0,0,0,0.2);
}

.textarea {
    display: block;
    height: 100px;
    padding: 10px;
    resize: none;
}

.button {
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    padding: 5px 15px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    width: 60%;
    min-height: 40px;
}

.button[data-style="destructive"] {
    border: none;
    background-color: transparent;
    color: darkred;
    padding: 0;
    min-height: 0;
    width: 100%;
}

.button[data-style="normal"] {
    background-color: var(--color);
}

.button[data-style="secondary"] {
    background-color: gray;
}

.btn-list {
    background-color: var(--background);
    border-radius: 8px;
    border: 1px solid gainsboro;
    overflow: hidden;
}

.optionsContainer {
    display: none;
    background-color: white;
    margin-top: 5px;
    border-radius: 8px;
    width: 100%;
    position: absolute;
    border: 1px solid gainsboro;
    max-height: 150px;
    overflow-y: auto;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1), 0 10px 5px -10px rgba(0, 0, 0, 0.2);
    z-index: 11;
    top: 40px;
}

.optionsContainer:empty:before {
    content: "No Results";
    display: block;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    padding: 15px;
    color: dimgray;
}

.optionsContainer > *, .btn-list > * {
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    padding: 15px;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
}

.optionsContainer > div:hover, .btn-list > *:hover {
    background-color: #e8e8e8;
}

.optionsContainer > div:not(:last-child), .btn-list > *:not(:last-child) {
    border-bottom: 1px solid gainsboro;
}

.optionsContainer .new-option {
    font-weight: bold;
    background-color: whitesmoke;
}

/*
CHECKBOX
 */
.inputContainer.toggle, .inputContainer.color {
    display: flex;
    align-items: center;
}

.inputContainer.checkbox div {
    width: 22px;
    height: 22px;
    margin: 0 10px;
    background: transparent no-repeat center;
    border: 1px solid gainsboro;
    border-radius: 8px;
    background-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.inputContainer.checkbox div.on {
    background-image: url("https://cdn.lherisson.me/images/check.svg");
    background-color: var(--color);
    border-color: var(--color);
}

.inputContainer.toggle > .label {
    display: block;
}

.inputContainer.toggle:not(.checkbox) div {
    position: relative;
    width: 35px;
    height: 20px;
    margin: 0 10px;
    background-color: #ececec;
    border: 1px solid gainsboro;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.inputContainer.toggle:not(.checkbox) div:before {
    content: "";
    display: block;
    position: absolute;
    height: 22px;
    width: 22px;
    border: 1px solid gainsboro;
    top: -2.5px;
    left: -3px;
    border-radius: 50%;
    background-color: whitesmoke;
    right:auto;
}

.inputContainer.toggle:not(.checkbox) div:after {
    background-color: var(--color);
    display: block;
    border-radius: 10px;
    content: "";
    width: 0;
    height: 100%;
}

.inputContainer.toggle:not(.checkbox) div.on:after {
    width: 100%;
}

.inputContainer.toggle:not(.checkbox) div.on:before {
    left: auto;
    right: -3px;
}

/*
Disclosure
 */

.disclosure {
    --background: #f8f8f8;
    background-color: var(--background);
    border-radius: 8px;
    padding: 5px;
    margin-top: 15px;
}

.disclosure > a {
    display: block;
    color: gray;
    font-weight: 600;
    text-align: left;
    margin: 10px;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
}

.disclosure > a:before {
    content: "\25B8";
    display: inline-block;
    width: 10px;
    margin-right: 10px;
    color:lightgray;
}

.disclosure > div {
    display: none;
    margin: 20px 0 10px 0;
}

.disclosure.open > div {
    display: block;
}

.disclosure.open > a:before {
    content: "\25BE";
}

.stack {
    --spacing: 5px;
    display: flex;
    align-items: center;
}

.vstack {
    flex-direction: column;
}

.hstack {
    width: 100%;
}

.vstack > *:not(:last-child) {
    margin-bottom: var(--spacing);
}

.hstack > *:not(:last-child) {
    margin-right: var(--spacing);
}


/*
CALENDAR
 */


.calendar {
    display: none;
    font-family: sans-serif;
    position: absolute;
    margin: 5px auto auto auto;
    border: 1px solid var(--color);
    border-radius: 4px;
    padding: 5px;
    background-color: white;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1), 0 10px 5px -10px rgba(0, 0, 0, 0.2);
    --cell-highlight-color: #e9e9e9;
    --cell-range-color: #a4ced6;
    --ranged-border-color: #7cabb4;
    z-index: 11;
    top: 40px;
    outline: none;
}

.calTable {
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar .monthRow {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 20px;
    font-weight: bolder;
    padding: 5px;
}

.calendar .monthName {
    flex-grow: 1;
    color: var(--color);
}

.calendar .navButton {
    border: none;
    box-sizing: content-box;
    background-color: var(--color);
    height: 20px;
    width: 20px;
    padding: 0px;
    border-radius: 50%;
    line-height: 0px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
}

.calendar .navButton:hover {
    filter: brightness(1.5);
}

.calendar .navButton:active {
    background-color: var(--color);
}

.actionBar {
    display: flex;
    padding: 5px;
    justify-content: space-between;
}

.actionBar > input {
    color: gray;
    border: none;
    background-color: transparent;
    font-size: 13px;
    cursor: pointer;
}

.actionBar > input:hover {
    color: var(--color);
}


.calendar .wkdNameRow>* {
    font-weight: normal;
    text-align: center;
    font-size: 14px;
    padding: 2px;
    color: var(--color);
}

.dayCell {
    font-weight: lighter;
    text-align: center;
    vertical-align: center;
    transition: all 0.1s ease-in-out;
    width: 40px;
    height: 40px;
    border: 1px solid gainsboro;
    color: gray;
    cursor: pointer;
}

.dayCell::before {
    display: inline-block;
    box-sizing: border-box;
    content: attr(data-date);
}

.dayCell.today::before {
    background-color: var(--color);
    border-radius: 50%;
    color: white;
    width: 30px;
    height: 30px;
    padding: 6px;
    font-weight: bold;
}

.dayCell:hover {
    color: var(--color);
    background-color: var(--cell-highlight-color);
}

.dayCell.ranged {
    background-color: var(--cell-range-color);
    border: 1px solid var(--ranged-border-color);
    color: white;
}

.dayCell.endPoint {
    background-color: var(--color);
    font-weight: bold;
    border: 1px solid var(--ranged-border-color);
    color: white;
}

.calendar:not(.with-time) .timeContainer {
    display: none;
}

.calendar .timeContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
}

.calendar .timeContainer input {
    min-width: unset;
    width: 60px;
    border-radius: 5px;
    outline: none;
    border: none;
    background-color: whitesmoke;
    padding: 5px 10px;
    height: 30px;
    margin: 3px;
    text-align: center;
}

/* TABS */
.mtabs {

}

.mtabs .tab-detail .tab-det {
    display: none;
}

.mtabs .tab-detail .tab-det.active {
    display: initial;
}

.seg-controller {
    display: flex;
    border: 1px solid gainsboro;
    border-radius: 5px;
    justify-content: space-evenly;
    cursor: pointer;
    overflow: hidden;
    margin: auto auto 20px auto;
    width: 80%;
}

.seg-controller .seg {
    flex-grow: 1;
    padding: 3px;
    color: var(--color);
}

.seg-controller .seg.active {
    background-color: #f0f0f0;
}

.seg-controller .seg:not(:last-child) {
    border-right: 1px solid gainsboro;
}

.seg-controller .seg:hover {
    background-color: #ebebeb;
}

/*
    POPUP
 */

.popup {
    background-color: white;
    width: auto;
    position: absolute;
    min-width: 200px;
    max-width: 200px;
    border-radius: 10px;
    list-style: none;
    padding: 0;
    margin: 10px;
    box-shadow: 0 5px 50px -5px rgba(0, 0, 0, 0.20),  0 5px 10px -5px rgba(0, 0, 0, 0.30);
    overflow: hidden;
    pointer-events: all;
    outline: none;
    animation: popup-appear 0.2s ease-in-out;
    font-size: 14px;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(0,0,0,0.8);
    border: 1px solid #4b4b4b;
}

.popup.to-remove {
    animation: popup-disappear 0.4s ease-in-out;
    animation-fill-mode: forwards;
}

.popup > li {
    position: relative;
    padding: 8px 8px 8px 15px;
    cursor: pointer;
    color: white;
}

.popup > li:not(:last-child):after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5px;
    right: 5px;
    height: 1px;
    background-color: #4b4b4b;
}

.popup > div:not(:first-of-type) {
    height: 2px;
    background-color: #4b4b4b;
}

.popup > li:hover, .popup > li:focus {
    background-color: rgba(0,0,0,0.2);
}

@keyframes popup-appear {
    0% {
        opacity: 0;
        transform: scale(0.9) translate(-10px, -10px);
    }
}

@keyframes popup-disappear {
    100% {
        opacity: 0;
        transform: scale(0.9) translate(-10px, -10px);
    }
}

/* CALENDAR */

.calendarModal {
    height: auto !important;
}

.calendar-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    --cell-height: 60px;
}

.calendar-view .cal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    //border: 0.5px solid gainsboro;
    flex-grow: 1;
}

.calendar-view > * {
    width: 100%;
    box-sizing: border-box;
}

.calendar-view > header {
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-view > header .today-btn {
    position: absolute;
    left: 10px;
    top: 10px;
    border: none;
    border-radius: 8px;
    background-color: var(--color);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;

}

.calendar-view > header .nav-btn {
    height: 30px;
    width: 30px;
    display: block;
    background: none;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
}

.calendar-view > header .nav-btn.prev {
    background-image: url('https://cdn.lherisson.me/images/left_arrow_circle.svg');
}

.calendar-view > header .nav-btn.next {
    background-image: url('https://cdn.lherisson.me/images/right_arrow_circle.svg');
}

.calendar-view .cal-month-label {
    font-size: 25px;
    font-weight: 800;
    padding: 5px;
    text-align: center;
    min-width: 55%;
    margin: 0 10px;
}


.cal-day-cells {
    overflow: auto;
    display: flex;
    flex-direction: column;
    -ms-overflow-style: none;
    flex-grow: 1;
    height: calc(var(--cell-height) * 5);
    border-radius: 10px;
    border-radius: 15px;
}

.cal-day-cells::-webkit-scrollbar {
    display: none;
}

.cal-wkd-row, .cal-wk-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    flex-shrink: 0;
}

.cal-wkd-row {
    //background-color: whitesmoke;
    font-size: 16px;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 900;
}

:is(.cal-wkd-row, .cal-wk-row) > * {
    flex: 1 1 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 3px;
}

:is(.cal-wkd-row, .cal-wk-row) > *:not(:first-child) {
    //border-left: 0.5px solid gainsboro;
}

:is(.cal-wkd-row, .cal-wk-row) {
    //border-bottom: 0.5px solid gainsboro;
}

.cal-day-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    height: var(--cell-height);
    cursor: pointer;
    position: relative;
    font-weight: 400;
}

.cal-day-cell:before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    border-radius: 15px;
    transition: all 0.2s ease-in-out;
}

.cal-day-cell:hover:before {
    background-color: rgba(0, 0, 0, 0.03);
}

.cal-day-cell:active:before {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(0.9);
}

.cal-day-cell > span {
    position: relative;
    z-index: 1;
    padding: 5px;
}

.cal-day-cell.has-event > span:after {
    content: "";
    position: absolute;
    display: block;
    background-color: var(--color);
    opacity: 0.4;
    bottom: -7px;
    width: 10px;
    height: 10px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
}

.cal-today-cell > span {
    font-weight: bold;
    display: block;
    height: 30px;
}

.cal-today-cell:after {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    width: calc(var(--cell-height) - 10px);
    height: calc(var(--cell-height) - 10px);
    margin: auto;
    background-color: var(--color);
    opacity: 0.05;
    border-radius: 50%;
}

.cal-first-day-cell {
    font-weight: bold;
}

.cal-wk-row > *:first-child, .cal-wk-row > *:last-child {
    background-color: #f8f8f8;
}

.cal-wk-row > *:not(.cal-this-month-cell) {
    color: #cdcdcd;
}