.calendar-block {
	position: absolute;
	display: none;
}

.calendar-block.opened {
	display: block;
}

.ic__container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    background: #FFF;
    box-shadow: 0px 5px 23px #D1D1D1;
    border-radius: 4px;
    max-width: 260px;    
}
.ic__container table tbody {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}
.ic__container td, .ic__container th, .ic__container tr {
    border: 0;
    vertical-align: middle;
    width: 24px;
    box-sizing: border-box;
    height: 24px;
    text-align: center;
}
.ic__container tr:nth-last-child(2n+2) {
    background-color: transparent;
}
.ic__header {
    display: flex;
    align-items: center;
	flex-wrap: wrap;
    margin-bottom: 10px;
}
.ic__prev, .ic__next {
	cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ic__prev {
    order: 1;
	margin-left: 14px;
}
.ic__next {
    order: 4;
	margin-right: 14px;
}
.ic__prev::before,
.ic__next::before {
    font-family: 'Magic';
    content: '\e90f';   
	font-size: 20px;
	color: #C5C0DB;
}
.ic__prev::before {
    transform: rotate(180deg);
}
.ic__prev:hover, .ic__next:hover {
    color: #00C659;
}
.ic__month, .ic__year {
    display: flex;
    align-items: center;
    position: relative;
}
.ic__month {
    order: 3;
	width: calc(100% - 68px);
}
.ic__year {
    background-color: #ebebeb;
	width: 100%;
}
.ic__year-select {
    width: 100%;
	text-align: center;
	font-size: 14px;
	line-height: 17px;
}
.ic__month-select {
    font-size: 16px;
	line-height: 19px;
}
.ic__year-select, .ic__month-select {
    appearance: none;
    border: none !important;
    background-color: transparent;
    padding: 11px 0;
    cursor: pointer;
    text-transform: capitalize;
	text-align: center;
	width: 100%;
	font-weight: 700;
}
.ic__year::after, .ic__month::after {
    font-family: 'Betru';
    content: '\e906';
    font-size: 5px;
    position: absolute;
    right: 7px;
    color: #d9eafa;
}
.ic__week-head {
    font-weight: 400;
	font-size: 12px;
	line-height: 16px;
	color: #9E9EB0;
}

.ic__week-head td:nth-child(n + 6) {
	color: #F93232;
}
.ic__days, .ic__week-head {
	border-collapse: separate;
    width: 100%; /* Ширина таблицы */ 
    border-spacing: 12px 13px;
}
.ic__day {
    cursor: pointer;
    color: #212121;
    font-size: 14px;
    border-radius: 2px;
}
.ic__day_state_current {
    color: #fff;
    background-color: #9c9c9c;
}
.ic__day_state_selected {
    background-color: #393939;
    color: #ffffff;
}
.ic__day:hover {
    color: #ffffff;
    background-color: #393939;
}



/*

#max-calendar {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 25px 20px;
    background: #FFFFFF;
    box-shadow: 0px 5px 23px #D1D1D1;
    border-radius: 10px;
    max-width: 260px;
}
#max-calendar::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -12px;
    right: 32px;
    display: block;
    width: 23px;
    height: 23px;
    background-color: #fff;
    transform: rotate(-45deg);
}
div[style="clear:both;"] {
    display: none;
}
.mc-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 13px;
    font-style: normal;
    font-weight: 400; 
    line-height: 24px;
    letter-spacing: 0em;
    text-align: center;
    color: #262F56;
    margin-bottom: 11px;
}
.mc-title button {
    display: block;
    padding: 0;
    background-color: transparent;
    border: none;
    outline: none;
}
.mc-title button::before {
    font-family: 'Betru';
    content: '\e934';
    font-size: 13px;
    color: #444444;
}
.mc-title button:first-of-type {
    transform: rotate(180deg);
}
.mc-title button:focus::before,
.mc-title button:hover::before,
.mc-title button:active::before {
    cursor: pointer;
    color: #00C659;
}
#max-calendar .row {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
}
.cell {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nd span {
    font-family: "Rubik";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0em;
    color: #262F56;
}
.dw span {
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0em;
    color: #9E9E9E;
}
.cell__number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid transparent;
}
.cell__number.current {
    font-weight: 500;
    color: #00C659;
    border: 1px solid #00C659;
}*/
