:root {
    --fc-border-color: #123043;
    --fc-event-bg-color: #123043;
    --fc-page-bg-color: #123043;
    --fc-event-border-color: #123043;
    --fc-event-text-color: #DADFE1;
}
.fc .fc-daygrid-more-link[aria-controls*='fc-dom'] {
    pointer-events: none;
}
.fc .fc-daygrid-more-link:after,
.fc-h-event,
.fc .fc-daygrid-more-link,
.fc .fc-header-toolbar .fc-icon:before,
.fc-event-title {
    transition: .3s;
}
.fc-theme-standard td, .fc-theme-standard th {
    border-width: 2px;
}
.fc .fc-toolbar.fc-header-toolbar {
    background: #123043;
    padding: 50px 34px;
    margin-bottom: 0;
}
.fc .fc-toolbar-title {
    font-size: 62px;
    font-weight: 600;
    color: #D2D8DA;
    line-height: 1;
}
.fc .fc-header-toolbar .fc-button-primary,
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    background: none;
    border: none;
    padding: 0;
    position: relative;
}
.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: none;
}
.fc .fc-header-toolbar .fc-icon:before {
    position: absolute;
    content: '';
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='22.835' height='40.247' viewBox='0 0 22.835 40.247'%3e%3cpath d='M59.07,102.537,41.5,84.14l17.57-18.4' transform='translate(-38.043 -64.017)' fill='none' stroke='%23d6691c' stroke-width='5'/%3e%3c/svg%3e ") no-repeat;
    width: 22px;
    height: 40px;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
}
.fc .fc-header-toolbar .fc-icon-chevron-right.fc-icon:before {
    transform: translate(-50%, -50%) rotate(180deg) ;
}
.fc .fc-header-toolbar .fc-icon:hover:before {
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='22.835' height='40.247' viewBox='0 0 22.835 40.247'%3e%3cpath d='M59.07,102.537,41.5,84.14l17.57-18.4' transform='translate(-38.043 -64.017)' fill='none' stroke='%23669FB2' stroke-width='5'/%3e%3c/svg%3e ") no-repeat;
    background-size: contain;
}
.fc .fc-col-header-cell {
    background: #669FB2;
    padding: 13px;
}
.fc .fc-col-header-cell-cushion {
    font-size: 32px;
    font-weight: 500;
    color: #D2D8DA;
    text-transform: uppercase;
}
.fc .fc-daygrid-day-number {
    font-size: 22px;
    font-family: 'HelveticaNeueCyr',sans-serif;
    font-weight: 700;
    color: #518EA3;
    right: 15px;
    top: 10px;
}
.fc .fc-day-other .fc-daygrid-day-top {
    opacity: .4;
}
.fc .fc-scroller {
    height: auto !important;
    overflow-y: auto;
}
.fc-h-event .fc-event-title,
.fc .fc-daygrid-more-link {
    font-size: 16px;
    font-weight: 700;
    font-family: 'HelveticaNeueCyr',sans-serif;
    /*padding: 8px 11px;*/
    line-height: 1.3;
}
.fc-h-event .fc-event-title-container,
.fc .fc-daygrid-more-link {
    padding: 8px 11px;
}
.fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
    max-width: 73.4%;
    right: 52px;
    left: 13px;
    top: 7px;
}
.fc .fc-daygrid-event {
    margin-top: 8px;
    white-space: normal;
}
.fc .fc-daygrid-more-link {
    color: #D2D8DA;
    background: #123043;
    width: 100%;
    transition: .3s;
}
.fc .fc-daygrid-more-link:after {
    position: absolute;
    content: '';
    right: 13px;
    top: 15px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12.093' height='6.914' viewBox='0 0 12.093 6.914'%3e%3cpath d='M6.049,4.83,10.621.254a.861.861,0,0,1,1.221,0,.871.871,0,0,1,0,1.224L6.661,6.662a.863.863,0,0,1-1.192.025L.252,1.482A.864.864,0,0,1,1.473.257Z' fill='%23ed9b51'/%3e%3c/svg%3e ");
    width: 12px;
    height: 7px;
}
.fc .fc-daygrid-more-link:hover:after {
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12.093' height='6.914' viewBox='0 0 12.093 6.914'%3e%3cpath d='M6.049,4.83,10.621.254a.861.861,0,0,1,1.221,0,.871.871,0,0,1,0,1.224L6.661,6.662a.863.863,0,0,1-1.192.025L.252,1.482A.864.864,0,0,1,1.473.257Z' fill='%23DADFE1'/%3e%3c/svg%3e ");
}
.fc .fc-more-popover .fc-event-title {
    border-radius: 5px;
}
.fc .fc-more-popover .fc-event-title-container {
    padding: 8px 4px 7px 8px;
}
.fc-h-event:hover,
.fc .fc-daygrid-more-link:hover {
    background: #ED9B51;
    color: #DADFE1;
    border-color: #ED9B51;
}
.fc .fc-daygrid-day-bottom {
    margin-top: 9px !important;
}
.fc-theme-standard .fc-popover {
    transform: translate(16px, 165px);
    max-width: 175px;
    border-radius: 0 0 5px 5px;
}
.fc-theme-standard .fc-popover-header {
    display: none;
}
.fc .fc-more-popover .fc-popover-body {
    min-width: 0;
    padding: 0 11px 8px;
}
.fc .fc-more-popover .fc-h-event {
    margin: 8px 0 0;
}
.fc .fc-daygrid-more-link[aria-controls*='fc-dom']:after {
    transform: rotate(180deg);
}
.fc .fc-daygrid-more-link[aria-controls*='fc-dom'] {
    border-radius: 5px 5px 0 0;
}
.fc-h-event .fc-event-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fc a[data-navlink] {
    pointer-events: none;
    cursor: auto;
}
@media (max-width: 1779px) {
    .fc-h-event .fc-event-title, .fc .fc-daygrid-more-link {
        font-size: 12px;
    }
    .fc .fc-col-header-cell-cushion {
        font-size: 24px;
    }
    .fc .fc-toolbar-title {
        font-size: 46px;
    }
    .fc .fc-toolbar.fc-header-toolbar {
        padding: 37px 25px;
    }
    .fc .fc-header-toolbar .fc-icon:before {
        width: 16px;
        height: 30px;
    }
    .fc .fc-daygrid-day-number {
        font-size: 16px;
    }
    .fc-theme-standard .fc-popover {
        transform: translate(16px, 110px);
        max-width: 114px;
    }
    .fc .fc-more-popover .fc-popover-body {
        padding: 0 5px 8px;
    }
    .fc .fc-more-popover .fc-event-title-container {
        padding: 5px;
    }
}
@media (max-width: 1399px) {
    .fc .fc-daygrid-day-number {
        right: 5px;
        top: 5px;
    }
    .fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
        left: 5px;
        right: 34px;
    }
    .fc-theme-standard .fc-popover {
        transform: translate(8px, 110px);
        max-width: 111px;
    }
}
@media (max-width: 1199px) {
    .fc .fc-daygrid-day-number {
        right: 0px;
        top: 0px;
        font-size: 14px;
    }
    .fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
        right: 12px;
        max-width: 80%;
    }
    .fc-theme-standard .fc-popover {
        transform: translate(8px, 51px);
        max-width: 101px;
    }
}
@media (max-width: 991px) {
    .fc .fc-daygrid-more-link:after {
        content: none;
    }
    .fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
        left: 50%;
        top: 50%;
        width: 40px;
        height: 40px;
        transform: translate(-50%, -50%);
    }
    .fc .fc-daygrid-more-link {
        font-size: 0;
        margin: 0 !important;
        padding: 10px;
        background: transparent;
        width: 40px;
        height: 40px;
    }
    .fc .fc-daygrid-more-link:after {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        content: '';
        display: block;
        background: #123043;
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }
    .fc .fc-daygrid-day-bottom {
        margin: 0 !important;
    }
    .fc .fc-daygrid-more-link:hover:after {
        background: #ED9B51;
    }
    .fc .fc-daygrid-more-link:hover {
        background: transparent;
    }
    .fc .fc-col-header-cell-cushion {
        font-size: 18px;
    }
    .fc .fc-toolbar-title {
        font-size: 34px;
    }
    .fc .fc-daygrid-more-link[aria-controls*='fc-dom']:after {
        transform: translate(-50%, -50%);
    }
    .fc-theme-standard .fc-popover {
        transform: translate(0, 0);
        max-width: 100px;
    }
}
@media (max-width: 575px) {
    .fc .fc-daygrid-body-balanced .fc-daygrid-day-events {
        width: 20px;
        height: 20px;
    }
    .fc .fc-daygrid-more-link {
        padding: 5px;
        width: 20px;
        height: 20px;
    }
    .fc .fc-daygrid-more-link:after {
        width: 10px;
        height: 10px;
    }
    .fc .fc-daygrid-day-number {
        font-size: 11px;
    }
}


