/* Стили блоков новостей */
@charset "utf-8";
.content #header_news_search {
	padding-top:8px;
	padding-bottom:8px;
	margin: 0 auto;
    width: 66%;
}

.content #table a, .content #table_pa a, .content #text a, .content #header3 a, .content #header_news_search a, .nav a  {
	color: #0240a3;
	font-size:14px;
	text-decoration:none;
	font-family: Consolas;
	padding-left:8px;
	padding-right:8px;
}
.news-container {
    width: 100%;
    margin: 2px 0px;
    min-height: 50px;
    padding: 0;
    display:  flex;
    flex-direction: row;
    align-items: stretch;
    align-content: stretch;
}

.news-container:hover > .news-date {
	transition-property: background-color;
	transition-duration: .2s;
	background-color: darkorange;
}

.news-container:hover > .news-title {
	transition-property: background-color;
	transition-duration: .2s;
	background-color: #bbbbbb;
}

.news-deck a, .nav a {
	text-decoration: none!important;
}

.news-container .news-date {
	transition-duration: .2s;
    min-width: 100px;
    padding: auto;
    padding-left: 10px;
    background-color: orange;
    height:auto;
    min-height: 50px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.news-container .news-title {
	transition-duration: .2s;
    background-color: #f0f0f0;
    padding: auto;
    height: 100%;
    width: 100%;
    min-height: 50px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
	display: flex;
	align-items: center;
	padding-left: 5px;
}

.news-title p {
	padding: auto;
	margin: 0;
	padding-left: 5px;
	min-width: 170px;
}

.news-date p {
	color: black;
	font-weight: 700;
	padding-right: 5px;
}

.nav a {
	border-radius: 4px!important;
    background: #f0f0f0!important;
	white-space: pre!important;
	word-wrap: normal!important;
	border: 1px solid #909090!important;
	line-height:21px!important;
}

.nav a:hover {
	background:#C8C8C8!important;
}

.nav .one_new:hover {
	background:#d0d0d0!important;
}
@media screen and (max-width: 1600px) {
	.content #header3 a  {
		font-size:13px;
		padding-left:6px;
		padding-right:6px;
	}
	.content #news_category {
		font-size: 12px;
		text-align: center;
		padding-top: 8px;
		padding-bottom: 10px;
	}
	.news-deck {
		margin: 5px 40px;
	}
}
@media screen and (max-width: 1200px) {
	.content #header3 a {
		min-height: 21px;
		white-space: pre-wrap;
    	display: block;
		margin: 0 auto;
		font-size: 14px;
		margin-bottom: 3px;
		width: 95%;
	}
	.content #header3_left, .content #header3_right {
		width:100%;
		border-left: none;
	}
}
@media screen and (max-width: 768px) {
	.news-deck {
    	margin: 0;
	}
	.content #header3 a  {
		font-size: 14px;
	}	
}
@media screen and (max-width: 375px) {
	.content #header_news_search {
    	width: 90%;
	}
    .news-deck {
        width: 90%;
        margin: 0 auto;    
    } 
}

@media screen and (max-width: 280px) {
	.news-container .news-date {
		width: 80px;
		min-width: 80px;
	}	
}
