tr, td, table, tbody, tfoot, th, thead {
    margin: 0;
    padding: 0;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    background: 0 0;
    border-spacing: 0px;
}
table, tr, td {
    border: 1px solid gray;
}
#table-ruz td {
	vertical-align: middle;
    text-align: center;
	font-size:18px;
}
.rasp-cont td {
	width:140px;
	height:85px;
}
.first-row-cell {
    border: 0px;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 20px;
}
.first-row td {
	height:40px;
}
.first-row {
    background: #ececec;
    padding: 10px;
    border: 1px solid #dadada;
}
hr {
    width: 100%;
    float:left;
    margin-top: 10px;
    margin-left: 0px;
}
.flex-cont {
    display: flex;
    flex-direction: column;
}
.dayOfWeek {
    clear: both;
    border: 1px solid #ececec;
    background: #ececec;
    width: 100%;
    padding: 10px;
    margin: 5px;
    text-align: left;
    font-weight: 600;
}
.timeOfLesson {
    text-align: center;
    padding: 20px;
    width: 40px;
    margin-left: 0;
    margin-right: 50px;
}
.lessonInfo {
    /* text-align: center; */
    margin-left: 0;
    width: 200px;
    margin-left: 50px;
}
.but-cont, .ruz-buttons {
	display:inline-block;
}
#groupInput {
	margin-bottom: 10px;
    height: 37px;
    padding-left: 5px;
    width: 225px;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    border-color: #d9d9d9;
    background-color: white;
    box-sizing: content-box;
}
#Prev {
    border: solid #A9A9A9;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background-color: transparent;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-225deg);
}
#Prev:hover {
	cursor:pointer;
}
#Next {
    border: solid #A9A9A9;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    background-color: transparent;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
}
#Next:hover {
	cursor:pointer;
}
.but-cont:active {
	transform: translateY(4px);
}

#TableButton {
    margin-right: 20px;
}

.activated {
	background-color: #d9d9d9 !important;
}
#groupButton, #TableButton {
	float:right;
}
.filter-date__item {
	display:inline-block !important;
	border:unset;
}
#groupButton:active {
	transform: translateY(4px);
}
#TableButton:active {
	transform: translateY(4px);
}
.marg4 .ms-rteTableOddCol-9 {min-width:100px;}
.nav-but {
    margin-right: -5px;
    height: 35px;
    box-sizing: content-box;
    border: 1px solid transparent;
    border-color: #d9d9d9;
    background-color: white;
    transition: background-color 0.2s linear;
}
.nav-but:hover {
    background-color: #d9d9d9;
    cursor:pointer;
}
#table-ruz .lessonInfo {
	margin:0;
}
.ruz-list-wrap {
	width: 60%;
}
@media screen and (max-width:1550px) {
	.ruz-wrap {
		display:flex;
		flex-direction:column;
		gap:10px;
	}
	#groupInput {
		margin:0;
		padding:0;
		width:100%;
		text-align:center;
	}
	#groupInput::placeholder {
	   text-align: center; 
	}
	#TableButton {
		margin:0;
	}
	#Next, #Prev {
		width: 10px;
    	height: 10px;
		margin:0;
	}
	#table-ruz {
		margin-top:10px;
	}
	.ruz-buttons {
		margin:0 auto;
	}
	.ruz-table-wrap {
		overflow-x:scroll;
	}
}
@media screen and (max-width:900px) {
	#groupInput, #groupInput::placeholder, #table-ruz td {
	   font-size:12px; 
	}
	.ruz-list-wrap {
		margin: 0 auto;
		font-size: 12px;
		width:290px;
	}
	.ruz-list-wrap {
		width: 330px;
	}
}