.nborg-only-screenreaders {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
}

.nborg-calendar-section {
    max-width: 1300px;
    margin: 20px auto 30px;
    color: #222;
    font-family: 'Manrope', sans-serif;
}

.nborg-calendar-section+.nborg-calendar-more-button-wrap {
    margin-bottom: 100px;
}

.nborg-calendar-wrap {
    border-radius: 0 10px 10px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.nborg-calendar-month-wrap,
.nborg-calendar-week-wrap {
    display: flex;
    justify-content: center;
    align-items: center;

}

.nborg-calendar-content-item {
    width: 100%;
    border-top: 1px solid #ccc;
    overflow: hidden;
    position: relative;
}

.nborg-calendar-content-item.disabled {

    pointer-events: none;
}

.nborg-calendar-content-item-enable,
.nborg-calendar-content-item-disabled {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #5a5f61bd;
    border-radius: 50px;
    font-size: 10px;
    padding: 2px 10px 0;
    font-weight: 600;
    color: #fff;
    z-index: 1;
}

.nborg-calendar-content-item-enable {
    background: #37875d;
}

.nborg-calendar-item-cnt {
    display: flex;
    align-items: center;
    width: calc(100% - 75px);
}

.nborg-calendar-item-info-wrap,
.nborg-calendar-content-item {
    display: flex;

    align-items: center;
    color: #222;
}


.nborg-calendar-content-item:hover,
.nborg-calendar-content-item:focus-within {
    background-color: #f9f9f9;
}

.nborg-calendar-content-item:hover .nborg-calendar-item-info:before,
.nborg-calendar-content-item:focus-within .nborg-calendar-item-info:before {
    background: linear-gradient(0deg, rgb(249 249 249) 0%, rgba(255, 255, 255, 0) 100%);
}

.nborg-calendar-item-info-wrap:hover {
    color: #222;
}

.nborg-calendar-item-img {
    display: none;
}

.nborg-calendar-item-info {
    padding: 0 50px 0 0;

    position: relative;
}

.nborg-calendar-item-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 75px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
}

.nborg-calendar-item-date-day {
    font-size: 18px;
    letter-spacing: 1px;
}

.nborg-calendar-item-date-number {
    font-size: 30px;
    font-weight: 900;
}

.nborg-calendar-item-date-month {
    letter-spacing: 1px;
}

.nborg-calendar-month-txt {
    font-size: 16px;
    font-weight: 700;
    max-width: calc(100% - 165px);
    margin: 0 10px;
}

.nborg-calendar-section:not(.nborg-calendar-month-txt-ready) {
    opacity: 0;
}

.nborg-calendar-week-txt {
    font-size: 14px;
    font-weight: 500;
    margin: 0 10px;
    max-width: calc(100% - 110px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nborg-calendar-week-txt-label-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 2px 0 !important;
}

.nborg-calendar-week-txt-label {
    background: #222222;
    border-radius: 4px;
    padding: 1px 10px;
    font-size: 12px;
    color: #fff;
}

.nborg-calendar-week-txt>span {
    white-space: nowrap;
    margin-left: 5px;
}

.nborg-calendar-month-btn,
.nborg-calendar-week-btn {
    border: 1px solid #ccc;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    transition: 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nborg-calendar-month-wrap {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.nborg-calendar-week-wrap {
    padding: 20px 10px;
    background-color: #f9f9f9;
    text-align: center;
}

.nborg-calendar-item-addcalendar-btn-screenreaders {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.nborg-calendar-item-addcalendar-btn {
    border-radius: 50px;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #fff;
    transition: 0.2s;
    margin-top: 16px;
}

.disabled .nborg-calendar-item-addcalendar-wrap,
.calendardisabled .nborg-calendar-item-addcalendar-wrap {
    display: none;
}

.nborg-calendar-item-addcalendar-wrap {
    width: 50px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
}

.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box {
    background-color: #fff;
    color: #333;
    position: absolute;
    top: 0;
    right: 35px;
    padding: 0 0 11px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    min-width: 160px;
}

.nborg-calendar-item-addcalendar-btn-svg {
    width: 24px;
}

.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box .nb-add-to-calendar-box-tlt {
    padding: 5px 10px;
    text-align: center;
    background: #f9f9f9;
    font-weight: 600;
    color: #222;
}

.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: #333;
    justify-content: center;
}

.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box a:hover,
.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box a:focus {
    background: #e8e8e8;
}

.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box svg {
    margin-right: 10px;
    height: 18px;
}

.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box:focus-within,
.nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box:hover,
.nborg-calendar-item-addcalendar-wrap .nborg-calendar-item-addcalendar-btn:hover+.nb-add-to-calendar-box,
.nborg-calendar-item-addcalendar-wrap .nborg-calendar-item-addcalendar-btn:focus+.nb-add-to-calendar-box {
    opacity: 1;
    pointer-events: all;
}

.nborg-calendar-item-info-wrap {
    width: 100%;
    padding: 10px 0;
    position: relative;
    min-height: 100px;
}

.nborg-calendar-item-type {
    color: #505050;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    padding-right: 25px;
}

.nborg-calendar-item-title {
    font-weight: 700;
    font-size: 16px;
}

.nborg-calendar-tille {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 28px;
}

.nborg-calendar-filters-btn {
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 20px;
    line-height: 1.4;
    margin: 5px 0 5px 10px;
    background: #e8e8e8;
    border: 1px solid transparent;
    transition: 0.2s;
}

.nborg-calendar-filters-btn.active {
    background: #fff;
    border-color: #ccc;
}

.nborg-calendar-filters-btn:hover,
.nborg-calendar-filters-btn:focus-visible {
    border-color: #ccc;
    background: #f8f8f8;
}

.nborg-calendar-tille-and-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.nborg-calendar-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 10px 0;
}

.nborg-calendar-no-items {
    padding: 50px 10px;
    width: 100%;
    font-size: 16px;
    text-align: center;
}


.nborg-calendar-month-btn:before,
.nborg-calendar-week-btn:before {
    content: '\e930';
    display: inline-block;
    font-family: 'icomoon' !important;
    font-size: 24px;
    font-weight: normal;
}

.nborg-calendar-month-btn.month-arrow-before:before,
.nborg-calendar-week-btn.week-arrow-before:before {
    transform: rotate(180deg);
}

input[type*="date"].nborg-calendar-date-picker-button {
    font-size: 40px;
    border: 1px solid #ccc;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
}

.nborg-calendar-date-picker-button:hover+.nborg-calendar-date-picker-button-icon,
.nborg-calendar-date-picker-button:focus-visible+.nborg-calendar-date-picker-button-icon {
    background: #f8f8f8;
}

.nborg-calendar-date-picker-button-wrap {
    position: relative;
    width: 45px;
    height: 45px;
    margin-right: 10px;
    overflow: hidden;
}

.nborg-calendar-date-picker-button-icon {
    border: 1px solid #ccc;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    transition: 0.2s;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    pointer-events: none;
    padding: 10px;
}

@media (min-width: 450px) {

    .nborg-calendar-item-img {
        width: 65px;
        display: block;
    }

    .nborg-calendar-week-txt {
        font-size: 16px;
        margin: 0 25px;
        max-width: calc(100% - 160px);
    }

    .nborg-calendar-date-picker-button-wrap {
        margin-right: 25px;
    }

    .nborg-calendar-month-txt {
        max-width: calc(100% - 195px);
        margin: 0 10px 0 25px;
        font-size: 20px;
    }

    .nborg-calendar-item-info {
        padding: 0 50px 0 10px;
    }


}

@media (min-width: 576px) {

    .nborg-calendar-page-section .nborg-calendar-view-modes .nborg-calendar-mode {
        padding: 15px 25px;
    }

    .nborg-calendar-week-txt-label-wrap {
        width: auto;
    }

    .nborg-calendar-item-addcalendar-wrap {
        align-items: flex-start;
    }

    .nborg-calendar-item-addcalendar-btn {
        margin-top: 40px;
    }

    .nborg-calendar-item-addcalendar-wrap {
        width: 60px;
    }

    .nborg-calendar-item-addcalendar-wrap .nb-add-to-calendar-box {
        top: calc(50% - 50px);
    }

    .nborg-calendar-item-info {
        padding: 0 60px 0 20px;
    }

    .nborg-calendar-item-type {
        padding-right: 0;
    }

}

@media (min-width: 992px) {

    .nborg-calendar-content-item:last-child:not(:first-child):nth-child(2n+1) {
        border-bottom: 1px solid #ccc;
    }

    .nborg-calendar-content-wrap:before {
        content: '';
        position: absolute;
        left: calc(50% - 5px);
        top: 0;
        border: 1px solid #ccc;
        width: 10px;
        height: 100%;
        background: #fff;
        border-width: 1px 1px 0;
    }

    .nborg-calendar-content-wrap {
        column-count: 2;
        gap: 10px;
        display: block;
        position: relative;
    }

    .nborg-calendar-content-item:first-child:last-child,
    .nborg-calendar-no-items {
        column-span: all;
        border-top: 1px solid #ccc;
        position: relative;
        background: #fff;
    }

    .nborg-calendar-item-date {
        width: 120px;
    }

    .nborg-calendar-item-cnt {

        width: calc(100% - 120px);
    }

    .nborg-calendar-item-date {
        font-size: 16px;
    }

    .nborg-calendar-item-date-day {
        font-size: 20px;
        letter-spacing: 3px;
    }


    .nborg-calendar-item-date-month {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .nborg-calendar-item-date-number {
        font-size: 40px;
    }

    .nborg-calendar-item-img {
        width: 80px;
    }

    .nborg-calendar-item-info {
        max-width: calc(100% - 80px);
    }

    .nborg-calendar-week-txt {
        font-size: 18px;
    }
}

.nborg-calendar-view-modes {
    display: flex;
}

.nborg-calendar-view-modes .nborg-calendar-mode {
    padding: 15px;
    background: #fff;
    border-color: #ccc;
    margin-bottom: -1px;
    box-shadow: none;
}

.nborg-calendar-view-modes .nborg-calendar-mode.active {
    border-bottom: 0;
    padding-bottom: 16px;
    pointer-events: none;
}

.nborg-calendar-view-modes .nborg-calendar-mode:nth-child(1) {
    border-radius: 10px 0 0;
}

.nborg-calendar-view-modes .nborg-calendar-mode:nth-child(2) {
    border-width: 1px 0 1px;
}

.nborg-calendar-view-modes .nborg-calendar-mode:nth-child(3) {
    border-radius: 0 10px 0 0;
}