/*------- Общее -------*/
#news .clear {clear: both;}

/*------- Новости -------*/
#news {
	position: relative;
	display: block;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}
#news .top_line {
	position: relative;
	width: 100%;
	padding: 20px 30px 20px 0;
	background: #fff;
	min-height: 76px;
}


#news .news_title {
	position: absolute;
	top: 25px;
	left: 30px;
	display: block;
	width: 160px;
	text-transform: none;
	font-size: 24px;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
}
.news {
	position: relative;
	display: block;
	background: #fff;
	padding: 22px 30px 25px 30px;
	border: 1px solid #e8e8e8;
}
.news h1 {
	position: relative;
	font-weight: 700;
	font-family: "Roboto", sans-serif;
	font-size: 24px;
	margin: 0 0 30px 0;
}
.news h2 {
	position: relative;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 20px;
	margin: 0 0 20px 0;
}
.news h3 {
	position: relative;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #236D9A;
	margin: 0 0 20px 0;
}
.news p {
	font-size: 16px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	line-height: 24px;
	margin: 0 0 10px 0;
}
.news p strong {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
}
.news a {
	font-size: 16px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	line-height: 24px;
}
.news ol {
	position: relative;
	display: block;
	margin: 20px 0 0 0;
	padding: 0 0 0 40px;
	list-style: none;
}
.news ol li {
	position: relative;
	margin: 15px 0;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
}
.news ol > li:before {
	content: '1';
	position: absolute;
	left: -40px;
	top: -3px;

	height: 28px;
	width: 28px;
	line-height: 28px;
	text-align: center;
	font-weight: bold;
	color: white;
	background-color: rgb(39, 139, 250);
	/*background: #f8b947;*/
	border-radius: 2em;
	transition: all .3s ease-out;
}
.news ol > li:nth-child(1):before {content: '1';}
.news ol > li:nth-child(2):before {content: '2';}
.news ol > li:nth-child(3):before {content: '3';}
.news ol > li:nth-child(4):before {content: '4';}
.news ol > li:nth-child(5):before {content: '5';}
.news ol > li:nth-child(6):before {content: '6';}
.news ol > li:nth-child(7):before {content: '7';}
.news ol > li:nth-child(8):before {content: '8';}
.news ol > li:nth-child(9):before {content: '9';}
.news ol > li:nth-child(10):before {content: '10';}
.news ol > li:nth-child(11):before {content: '11';}
.news ol > li:nth-child(12):before {content: '12';}
.news ol > li:nth-child(13):before {content: '13';}
.news ol > li:nth-child(14):before {content: '14';}
.news ol > li:nth-child(15):before {content: '15';}
.news ol > li:nth-child(16):before {content: '16';}
.news ol > li:nth-child(17):before {content: '17';}
.news ol > li:nth-child(18):before {content: '18';}
.news ol > li:nth-child(19):before {content: '19';}
.news ol > li:nth-child(20):before {content: '20';}
.news ol > li:nth-child(21):before {content: '21';}
.news ol > li:nth-child(22):before {content: '22';}
.news ol > li:nth-child(23):before {content: '23';}
.news ol > li:nth-child(24):before {content: '24';}
.news ol > li:nth-child(25):before {content: '25';}

.news ul {
	position: relative;
	display: block;
	margin: 20px 0 0 0;
	padding: 0 0 0 40px;
	list-style: none;
}
.news ul li {
	position: relative;
	margin: 15px 0;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
}
.news ul > li:before {
	content: '';
	position: absolute;
	left: -25px;
	top: 8px;
	background-color: rgb(39, 139, 250);
	/*background: #f8b947;*/
	height: 7px;
	width: 7px;
	border-radius: 2em;
	transition: all .3s ease-out;
}
.news table a:visited, table a:visited span {color: initial!important;}
.news table a.submit_btn:visited {color:#fff!important;}
.news tr:hover td {background: none;}
.news td {padding: 0!important; margin: 0!important;}

.news .news-form {
	position: relative;
	display: block;
}
.news .news-form .submit-block {
	background: none!important;
	border: none!important;
	padding: 0;
	margin-top: 15px;
}
.news .news-form .submit-block:before,
.news .news-form .submit-block:after,
.news .news-form .submit-block.save:before,
.news .news-form .submit-block.save:after {
	content: none;
}
.news .news-form .submit-block input[type="submit"] {
	text-decoration: none;
	margin: 0 0 0;
	display: inline-block;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	border: 2px solid #f23c2f;
	border-radius: 50px;
	padding: 16px 30px 14px;
	line-height: 18px;
	background: #f23c2f;
	letter-spacing: 1px;
}
.news .news-form .submit-block input[type="submit"]:hover {
	background:#ac2c23;
	border: 2px solid #ac2c23;
}

/*------- Фильтр -------*/
#news .news_filter {
	position: relative;
	display: block;
	float: right;
	padding: 0;
}
#news .news_filter .news_sorting {
	position: relative;
	display: block;
	width: calc(100% - 74px);
	float: left;
}
#news .news_filter .news_sorting label {
	position: relative;
	display: inline-block;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 36px;
	color: #959595;
}
#news .news_filter .news_sorting label:before {
	content: '';
	position: absolute;
	width: 17px;
	height: 17px;
	top: 10px;
	right: 20px;
	background: url(/img/tc/date_icon.png) 0 0 no-repeat;
	z-index: 1;
}
#news .news_filter .news_sorting input {
	position: relative;
	display: inline-block;
	width: 120px;
	height: 36px;
	line-height: 34px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 14px;
	border: 1px solid #e2e2e2;
	outline: none;
	padding: 0 10px;
	margin: 0 10px 0 3px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
#news .news_filter .news_sorting input:focus {
	border: 2px solid #25acfe;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#news .news_filter .toggle_buttons {
	position: relative;
	display: block;
	float: left;
	width: 74px;
	height: 36px;
	margin: 0;
}
#news .news_filter .toggle_buttons .toggle_button {
	position: relative;
	display: block;
	float: left;
	width: 37px;
	height: 36px;
	border: 1px solid #e2e2e2;
	cursor: pointer;
}
#news .news_filter .toggle_buttons .toggle_button:first-child {
	-webkit-border-radius: 4px 0 0 4px;
	-moz-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;
	border-right: none;
}
#news .news_filter .toggle_buttons .toggle_button:first-child:before {
	content: '';
	position: absolute;
	top: 10px;
	left: 8px;
	width: 20px;
	height: 20px;
	background-color: #ccc;
	-webkit-mask:  url(/img/contractor/block_list_icon.svg) no-repeat 0 0;
	mask: url(/img/contractor/block_list_icon.svg) no-repeat 0 0;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}
#news .news_filter .toggle_buttons .toggle_button:last-child {
	-webkit-border-radius: 0 4px 4px 0;
	-moz-border-radius: 0 4px 4px 0;
	border-radius: 0 4px 4px 0;
}
#news .news_filter .toggle_buttons .toggle_button:last-child:before {
	content: '';
	position: absolute;
	top: 11px;
	left: 9px;
	width: 16px;
	height: 16px;
	background-color: #ccc;
	-webkit-mask:  url(/img/contractor/lines_list_icon.svg) no-repeat 0 0;
	mask: url(/img/contractor/lines_list_icon.svg) no-repeat 0 0;
	-webkit-transition: all 0.1s ease-in;
	-moz-transition: all 0.1s ease-in;
	-o-transition: all 0.1s ease-in;
	transition: all 0.1s ease-in;
}
#news .news_filter .toggle_buttons .toggle_button:first-child:hover:before,
#news .news_filter .toggle_buttons .toggle_button:last-child:hover:before,
#news .news_filter .toggle_buttons .toggle_button.active:before {background-color: #25acfe;}
#news .news_filter .toggle_buttons .toggle_button.active {cursor: default; pointer-events: none;}

/*------- "Хлебные крошки" -------*/
#news .breadcrumbs {
	position: relative;
	display: block;
	padding: 20px 30px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	font-size: 14px;
}
#news .breadcrumbs a {
	display: inline-block;
	line-height: 14px;
	margin-right: 10px;
	border-bottom: 1px dashed #25acff;
}
#news .breadcrumbs a:hover {
	border-bottom: 1px dashed transparent;
}

/*------- Список новостей -------*/
.news_wrapper {
	position: relative;
	display: block;
	padding: 0 30px 30px;
	width: 100%;
}

/*------- Табы групп новостей -------*/
.news_tabs_block {
	position: relative;
	margin: 30px 0 0 0;
	width: 100%;
}

@media screen and (max-width :700px){
.news_tabs_block{
	margin: 0;
}
}

.news_tabs_block label {
	position: relative;
	color: #b7b7b7;
	background: #efefef;
	cursor: pointer;
	display: block;
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	float: left;
	height: 58px;
	padding: 0 30px;
	line-height: 58px;
	border: 1px solid transparent;
	border-bottom: none;
	text-align: left;
	margin: 0 0 -1px 0;
}
.news_tabs_block input {
	position: absolute;
	left: -9999px;
}
.news_tabs_block label .count {
	position: relative;
	display: inline-block;
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-size: 11px;
	text-align: center;
	line-height: 24px;
	background: #f44336;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	margin: -3px -10px 0 7px;
	vertical-align: middle;
}

.news_tabs_block #all_news:checked  ~ #tab_01,
.news_tabs_block #main_news:checked  ~ #tab_02,
.news_tabs_block #system_news:checked  ~ #tab_03,
.news_tabs_block #company_news:checked  ~ #tab_04 {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-bottom: none;
	color: #000;
	z-index: 3;
}

.news_tabs_block .tabs_cont {
	background: #fff;
	position: relative;
	z-index: 2;
	border: 1px solid #e8e8e8;
}
.news_tabs_block .tabs_cont > div {
	position: absolute;
	left: -9999px;
	top: 0;
	opacity: 0;
	-moz-transition: opacity .5s ease-in-out;
	-webkit-transition: opacity .5s ease-in-out;
	transition: opacity .5s ease-in-out;
}
.news_tabs_block #all_news:checked ~ .tabs_cont #tab_all_news,
.news_tabs_block #main_news:checked ~ .tabs_cont #tab_main_news,
.news_tabs_block #system_news:checked ~ .tabs_cont #tab_system_news,
.news_tabs_block #company_news:checked ~ .tabs_cont #tab_company_news {
	position: static;
	left: 0;
	opacity: 1;
}
.news_tabs_block #company_news:checked ~ .tabs_cont #tab_company_news,
.news_tabs_block .tabs_cont #tab_company_news,
.news_tabs_block #company_news ~ #tab_04 {display: none!important; /* Раздел временно скрыт */ }

.news_tabs_block .news {
	border: none;
	padding: 30px 0px 30px 30px;
}
.news_tabs_block .news_block {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}
/*------- Новости блоками -------*/
.news_tabs_block .news_block.blocks {
	font-size: 0;
}

.news_tabs_block .news_block.blocks .news_item {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 25%;
	height: auto !important;
	padding: 0 30px 0 0;
	margin: 0 0 30px 0;
	-moz-transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}
.news_tabs_block .news_block.blocks .news_item .img_block {
	position: relative;
	display: block;
	width: 100%;
	height: 170px;
	background: #dfdfdf;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
	transition: opacity .1s ease-in-out;
	overflow: hidden;
}
/*.news_tabs_block .news_block.blocks .news_item.viewed .img_block {opacity: 0.5;}*/
.news_tabs_block .news_block.blocks .news_item .img_block img {
	width: 100%;
}
.news_tabs_block .news_block.blocks .news_item .date_and_viewed {
	position: relative;
	display: block;
	width: 100%;
	margin: 10px 0;
}
.news_tabs_block .news_block.blocks .date_and_viewed .date {
	position: relative;
	display: block;
	font-size: 13px;
	color: #b7b7b7;
	line-height: 17px;
	padding: 0 0 0 22px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
}
.news_tabs_block .news_block.blocks .date_and_viewed .date:before {
	content: '';
	position: absolute;
	width: 17px;
	height: 17px;
	top: 0;
	left: 0;
	background: url(/img/tc/date_icon.png) 0 0 no-repeat;
}
.news_tabs_block .news_block.blocks .date_and_viewed .viewed {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 11px;
	line-height: 17px;
	padding: 0 5px;
	text-transform: uppercase;
	background: #ececec;
	color: #a5a5a5;
	letter-spacing: 0.05em;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.news_tabs_block .news_block.blocks .news_item .item_title a {
	position: relative;
	display: inline-block;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 10px 0;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
	transition: opacity .1s ease-in-out;
}
.news_tabs_block .news_block.blocks .news_item.viewed .item_title a {color:#8a2be2;}
.news_tabs_block .news_block.blocks .news_item .item_description {
	position: relative;
	display: block;
	font-size: 16px;
	line-height: 24px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
	transition: opacity .1s ease-in-out;
}
.news_tabs_block .news_block.blocks .news_item.viewed .item_description {opacity: 0.5;}
.news_tabs_block .news_block.blocks .news_item.viewed:hover .img_block,
.news_tabs_block .news_block.blocks .news_item.viewed:hover .item_title a,
.news_tabs_block .news_block.blocks .news_item.viewed:hover .item_description {opacity: 1;}

/*------- Новости в строку -------*/
.news_tabs_block .news_block.lines .news_item {
	position: relative;
	display: block;
	width: 100%;
	height: auto!important;
	float: left;
	padding: 0 30px 30px 0;
	-moz-transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
}
.news_tabs_block .news_block.lines .news_item .img_block {
	position: relative;
	display: block;
	float: left;
	width: 200px;
	height: 120px;
	margin: 0 20px 0 0;
	background: #dfdfdf;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
	transition: opacity .1s ease-in-out;
	overflow: hidden;
}
.news_tabs_block .news_block.lines .news_item.viewed .img_block {opacity: 0.5;}
.news_tabs_block .news_block.lines .news_item .img_block img {width: 100%;}
.news_tabs_block .news_block.lines .news_item .date_and_viewed {
	position: relative;
	display: block;
	width: 100%;
	margin: 10px 0;
	padding: 0 0 0 220px;
}
.news_tabs_block .news_block.lines .date_and_viewed .date {
	position: relative;
	display: inline-block;
	font-size: 13px;
	color: #b7b7b7;
	line-height: 17px;
	padding: 0 10px 0 22px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
}
.news_tabs_block .news_block.lines .date_and_viewed .date:before {
	content: '';
	position: absolute;
	width: 17px;
	height: 17px;
	top: 0;
	left: 0;
	background: url(/img/tc/date_icon.png) 0 0 no-repeat;
}
.news_tabs_block .news_block.lines .date_and_viewed .viewed {
	position: relative;
	display: inline-block;
	font-size: 11px;
	line-height: 17px;
	padding: 0 5px;
	text-transform: uppercase;
	background: #dfdfdf;
	color: #a5a5a5;
	letter-spacing: 0.05em;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.news_tabs_block .news_block.lines .news_item > a {
	position: relative;
	display: block;
	overflow: hidden;
	float: left;
	z-index: 1;
}
.news_tabs_block .news_block.lines .news_item .item_title a {
	position: relative;
	display: inline-block;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 10px 0;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
	transition: opacity .1s ease-in-out;
}
.news_tabs_block .news_block.lines .news_item.viewed .item_title a {opacity: 0.5;}
.news_tabs_block .news_block.lines .news_item .item_description {
	position: relative;
	display: block;
	font-size: 16px;
	line-height: 24px;
	font-family: "Roboto", sans-serif;
	font-weight: 300;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
	transition: opacity .1s ease-in-out;
}
.news_tabs_block .news_block.lines .news_item.viewed .item_description {opacity: 0.5;}
.news_tabs_block .news_block.lines .news_item.viewed:hover .img_block,
.news_tabs_block .news_block.lines .news_item.viewed:hover .item_title a,
.news_tabs_block .news_block.lines .news_item.viewed:hover .item_description {opacity: 1;}

a.big_blue_link {
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	padding: 8px 16px 9px;
	background: #25acfe;
	font-size: 14px;
	color: white;
	cursor: pointer;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	border: 0;
	-o-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
	outline: none;
	vertical-align: middle;
}

.news img {
	max-width: 100%;
	min-width: 90%;
	height: auto !important;
}
