html {
	font-size: 10px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/*---------------------- Page ----------------------*/

.Page {
	font-family: 'Roboto', sans-serif;
	line-height: 1.2;
	margin: 0 auto;
	/*max-width: 120rem;*/
	overflow: hidden;
}

/*---------------------- Header ----------------------*/

.Page-header {
	padding: 18.3em 5px 12em 5px;
}
.Page-title {
	color: #fff;
	font-size: 3rem;
	font-weight: 500;
	text-align: center;
}

/*---------------------- Body ----------------------*/

.Page-body {
	padding: 0 0 6.5em 0;
	position: relative;
}

/*---------------------- Filter ----------------------*/

.NewsToggle {
	background-color: #e6e6e6;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	font-size: 1.6rem;
	justify-content: center;
	padding: 1em 0 1em 0;
}
@media (min-width: 540px) {
	.NewsToggle {
		display: none;
	}
}
.NewsToggle span {
	display: inline-block;
	margin-right: 0.5em;
}

.NewsFilter {
	display: none;
	flex-wrap: wrap;
	font-size: 1.6rem;
	justify-content: center;
	padding: 3em 0 2em 0;
}
@media (min-width: 540px) {
	.NewsFilter {
		display: flex;
	}
	.NewsFilter--disactive {
		display: flex;
	}
}
.NewsFilter label {
	cursor: pointer;
	margin: 0 2%;
	padding: 0.5em 0;
	white-space: nowrap;
}
.NewsFilter input {
	cursor: pointer;
	margin-right: 0.4em;
	position: relative;
	top: 1px;
}
.NewsFilter--disactive {
	display: flex;
}

/*---------------------- News ----------------------*/

.NewsBlock {
	font-family: 'Roboto', sans-serif;
	line-height: 1.4;
	margin: 4em auto 0 auto;
	max-width: 105rem;
	padding: 0 5px;
}
.NewsBlock-wrap {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 -2%;
}
.NewsBlock-item {
	display: flex;
	justify-content: center;
	margin: 0 2% 8% 2%;
	width: 96%;
}
@media (min-width: 470px) {
	.NewsBlock-item {
		margin: 0 2% 4% 2%;
		width: 46%;
	}
}
@media (min-width: 700px) {
	.NewsBlock-item {
		width: 29.33%;
	}
}
.SingleNews:link,
.SingleNews:visited,
.SingleNews:hover,
.SingleNews:active {
	background-color: #ebecee;
	color: #000;
	display: flex;
	flex-direction: column;
	max-width: 32.5rem;
	width: 100%;
	text-decoration: none;
	transition: all 0.3s ease-out;
}
.SingleNews:hover {
	background-color: #f5f5f5;
}
.SingleNews-img {
	max-height: 21.4rem;
	height: 100%;
	overflow: hidden;
}
.SingleNews-img img {
	transition: all 0.3s ease-out;
	width: 100%;
	height: 100%;
    object-fit: cover;
}
.SingleNews:hover .SingleNews-img img {
	transform: scale(1.05);
}
.SingleNews-info {
	border-right: 1.4em solid #fff200;
	flex-grow: 1;
	font-size: 1.2rem;
	padding: 1em 2em 2.4em 1.2em;
	position: relative;
}
.SingleNews-date {
	color: #666;
	font-weight: 500;
	margin-bottom: 0.5em;
}
.SingleNews-title {
	font-size: 1.4rem;
}
.SingleNews-arrow {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(0, -50%) rotate(180deg);
	transition: all 0.3s ease-out;
}
.SingleNews:hover .SingleNews-arrow {
	right: -1.6em;
}

/*---------------------- Pagination ----------------------*/

.Pagination {
	font-family: 'Roboto', sans-serif;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.4;
	padding-top: 1.5em;
	text-align: center;
}
@media (min-width: 700px) {
	.Pagination {
		margin-top: 0;
	}
}
.Pagination a:link,
.Pagination a:visited,
.Pagination a:hover,
.Pagination a:active {
	color: #000;
	line-height: 0;
	margin: 0 -1px;
	padding: 0.5em 0.9em;
	text-decoration: none;
}
.Pagination--active {
	background-color: #fff200;
}

/*---------------------- Spinner ------------------------*/

.WaitSpineer {
	background-color: rgba(255,255,255,0.7);
	display: none;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 100;
}
.WaitSpineer--active {
	display: block;
}