/* Версия для слабовидящих */

:root{
	--radius:0px;
}

.calendar-section{
	display: flex;
	flex-direction: column;
	gap: 0px;
}

.calendar-month-all{
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	gap: 20px;
}

.calendar-month{
	font-weight: 600;
}

.calendar-button-all{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	border-left: none!important;
}

.calendar-left-button, .calendar-right-button,
.calendar-plus-button{
	width: 40px; height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: 0.3s;
    display: block;
    filter: grayscale(100%) contrast(500%);
}

.calendar-plus-button{
	width: 20px; height: 20px;
	position: absolute;
	right: 0px; top: 0px;
}

.calendar-left-button{background-image:url(images/angle-left.svg); }
.calendar-right-button{background-image:url(images/angle-right.svg); }
.calendar-plus-button{background-image:url(images/calendar-plus.svg);}
.calendar-plus-button:hover{background-image:url(images/calendar-plus1.svg);}

.calendar-table-all{
	overflow-x: auto;
}

.calendar-table{
	width: 100%; 
	overflow: hidden;
	border-radius: var(--radius);
	table-layout:fixed;
	margin-bottom: 30px;
	border: 0.2px solid;
	min-width: 800px;
}

.calendar-table-row{
	overflow-y: auto;
}

.calendar-table th{
	font-weight: 600;
	text-align: left;
	padding: 10px;
}

/*td*/
.calendar-cell{
	text-align: center;
	vertical-align: top;
	transition: 0.3s;
	position: relative;
	padding: 10px;
	border: 0.2px solid;
}

/*td сегодня*/
.calendar-cell-today{
	border: 0.5px solid #0560FD;
}

.calendar-cell-yesterday{
	background-color: #F8F8F8;
}

.calendar-cell-all{
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
	min-height: 100px; height: 100%;	
}

.calendar-cell-date-all{
	display: flex;
	align-items: center;
	gap: 20px;
	justify-content: flex-start;
}

.calendar-cell-date{
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 5px;
	text-align: left;
}

.calendar-cell-date-today, .calendar-cell-date-yesterday{
	display: none;
	visibility: hidden;
}

.calendar-cell-event-all{
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.calendar-cell-event{
	border-radius: var(--radius);
	display: flex;
	font-weight: 600;
	text-align: left;
	position: relative;
	justify-content: stretch;
	height: 30px;
	align-items: center;
	padding: 0px 8px;
	color: #fff!important;
	background-color: #000!important;
}

.calendar-cell-event a{
	text-decoration: none;	
	width: 100%;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	z-index: 2;
	position:relative;
}

.calendar-cell-event-sequel{
	margin-left: -40px;
	position: relative;
	z-index: 1;
}

.calendar-edit-button-all, .calendar-edit-title-all{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 20px;
	gap: 20px;
}

.calendar-edit-title-all h1{
	margin: 0;
}

.calendar-del-button{
	border: 1.5px solid;
	display: flex;
	align-items: center;
	gap: 10px;
}

.calendar-del-button img{
	object-fit: contain;
	width: 18px;
}

.calendar-edit-title-all .button img{
	object-fit: contain;
	width: 16px;
}

.calendar-edit-title-all .button {
	padding: 10px 20px;
}

.calendar-modal{
	 pointer-events: none;
	 position: absolute;
	z-index: 5;
	display: none;
	border-radius: var(--radius);
	min-width: 280px;
	max-width: 400px;
	min-height: 24px;
	padding: 14px;
	text-align: left;
}

.calendar-modal-active{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
 }

.calendar-modal-date-all{
	display: flex;
	align-items: center;
	gap: 2px;
}

.calendar-modal-date{
    font-weight: 500;
}
