/*========================================
	Календарь (вырезано из main.css)
  ========================================*/


.calendar,
.calendarEvents__desc__item__number {
    --color-dark: #1d1d1d;
    --color-primary: #f6ed54;
}

.calendarEvents {
    position: relative;
}

/*.calendarEvents__desc {
    position: absolute;
    top: 0;
    right: 0;
}*/

.calendarEvents__desc__item {
    position: relative;
    display: inline-flex;
    margin-right: 10px;
}
.calendarEvents__desc__item:last-child {
    margin-right: 0;
}

.calendarEvents__desc__item >* {
    flex-shrink: 0;
    flex-grow: 0;
}

.calendarEvents__desc__item:nth-child(2) .calendarEvents__desc__item__event {
    background-color: #b0b5be;
}

.calendarEvents__desc__item:nth-child(3) .calendarEvents__desc__item__event {
    background-color: #6db629;
}

.calendarEvents__desc__item__number,
.calendarEvents__desc__item__event {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    color: #fff;
    line-height: 1;
    background-color: #e94c4a;
    border-radius: 50%;
    padding: 3px;
}
.calendarEvents__desc__item__number {
    background-color: var(--color-primary);
}

.calendarEvents__desc__item__text {
    font-size: 0.75rem;
    line-height: 1.6;
    padding-left: 5px;
}

/*.calendar .fc-view-container {*/
/*    background-color: #f5f8fa;*/
/*    border-radius: 15px;*/
/*    padding: 15px;*/
/*}*/

.calendar .fc-header-toolbar h2 {
    /*font-family: 'robotomedium';*/
    font-size: 1.25rem;
    line-height: 1.3;
    text-transform: uppercase;
    font-weight: inherit;
}

/*.calendar .fc-widget-header {*/
/*    font-size: 0.875rem;*/
/*}*/

.calendar .fc-head-container.fc-widget-header {
    border-color: #edde0c;
}

.calendar .fc-widget-header th {
    color: var(--color-dark);
    background-color: var(--color-primary);
    padding-top: 10px;
    padding-bottom: 10px;
    border-color: var(--color-primary);
}

.calendar .fc-prev-button,
.calendar .fc-next-button {
    width: 60px;
    height: 25px;
    border: none;
    background: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.calendar .fc-prev-button span,
.calendar .fc-next-button span {
    display: none;
}

.calendar .fc-prev-button:focus,
.calendar .fc-next-button:focus {
    outline: 0;
}

.calendar .fc-prev-button.fc-state-down,
.calendar .fc-next-button.fc-state-down {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.calendar .fc-prev-button {
    background-image: url(../img/arrow_left_double.png);
}

.calendar .fc-next-button {
    background-image: url(../img/arrow_right_double.png);
}

.calendar .fc-content-skeleton .fc-week-number {
    /*font-family: 'robotomedium';*/
    color: #333333;
    font-size: 0.875rem;
}

.calendar .fc-content-skeleton .fc-past .fc-day-number {
    color: #8d95a1;
}

.calendar .fc-content-skeleton .fc-today .fc-day-number {
    color: var(--color-dark);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 700;
}

.calendar .fc-content-skeleton .fc-day-number {
    display: block;
    width: 30px;
    height: 30px;
    /*font-family: 'robotomedium';*/
    color: #333333;
    font-size: 0.875rem;
    text-align: center;
    line-height: 30px;
    border: 1px solid transparent;
    border-radius: 50%;
    margin-top: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
}

.calendar .fc-bg .fc-week-number {
    background-color: #ffcc00;
    border-color: #fff;
}

.calendar .fc-bg .fc-past {
    background-color: #f8f8f8;
}

.calendar .fc-bg .fc-future {
    background-color: #fff;
}

.calendar .fc-event {
    font-size: 0.75rem;
}


