a {
	-webkit-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
a {
  color: #231f20;
  text-decoration: none;
}
a:hover, a:focus {
  color: red;
  text-decoration: none;
}

@media (min-width: 768px) {
  #mainmenu .container {
		display: flex;
		position: relative;
  }
}

@media (min-width: 1270px) {
  .container {
    width: 1250px;
  }
}
.navbar.navbar-default .navbar-nav > li > a {
	padding-top: 25px;
	padding-bottom: 25px;
}
.navbar.navbar-default .navbar-nav > li > a.btn {
	margin-top: 10px;
	padding-top: 15px;
	padding-bottom: 15px;
} 
.navbar.navbar-default .navbar-nav > li > a.img {
	padding-top: 15px;
	padding-bottom: 15px;
	padding-right:0;
} 

.navbar.navbar-default .navbar-right > li:after, 
.navbar.navbar-default .navbar-right > li:hover:after {
	background: transparent;
	display: none;
}
.blog-masthead .navbar {margin-bottom:0px;}

.navbar-default {
  background-color: #fff;
  border-color: #fff;

}
.nav.nav-sidebar > li:not(:last-child) {
	border-bottom: 1px solid #bdc2d0;
}
.nav.nav-sidebar li {
	display: -webkit-box;
   display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	font-weight: 500;
/*	color: #848E99; */
	flex-wrap: wrap;
}
.nav.nav-sidebar > li.active:before{
	content: '';
    background: red;
    width: 4px;
    flex-grow: 0;
    left: -27px;
    position: absolute;
	top:0;
	bottom: 0;
	
}
.nav.nav-sidebar > li > a {
	flex-grow: 8;
}
.nav.nav-sidebar > li > a.ico  {
	flex-grow: 0;
	padding-right:0;
}
.navbar-all .nav.nav-sidebar > li > a.ico  {
	flex-grow: 0;
	padding-right:15px;
}

.nav.nav-sidebar li a:hover, 
.nav.nav-sidebar li a:focus, 
.nav.nav-sidebar li.active a,
.nav.nav-sidebar ul.collapse > li > a:hover, 
.nav.nav-sidebar ul.collapse > li > a:focus {
 	color: red;
}
.nav.nav-sidebar li.dropdown-header {
	font-size:  16px;	
}

.nav.nav-sidebar .dropdown-menu {
	position: initial;
	float: none;
	min-width: auto;
	border: 0px solid;
	box-shadow: none;
	-webkit-box-shadow: none;
	display: block;
	padding: 0;
	margin: 0px;
	height: 0px;
	overflow: hidden;
	opacity:0;
	-webkit-transition: .4s;
   transition: .4s;
}
.nav.nav-sidebar .dropdown ul {
	flex-grow: 8;
}
.nav.nav-sidebar .open > .dropdown-menu {
	height: auto;
	opacity: 1;
	padding: 5px 0;
	margin: 2px 0 0;
}
.nav.nav-sidebar ul.collapse {
	margin: 2px 0 6px;
/*	padding: 5px 0; */
	padding:0;
	flex-grow:8;
	width: 100%;
}
.nav.nav-sidebar ul.collapsing {
	margin: 2px 0 0;
	padding:0;
	flex-grow:8;
	width: 100%;
}
.nav.nav-sidebar ul.collapse, .nav.nav-sidebar ul.collapsing {
	margin-bottom: 40px;
}
.nav.nav-sidebar ul.collapse > li > a, .nav.nav-sidebar ul.collapsing > li > a {
	display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: normal;
	text-decoration: none;
	font-size: 16px;
}
.blog-sidebar .nav > li > a {
 	color: #848E99;
	padding: 10px 0px;
	
}
.blog-sidebar  {padding-bottom: 30px;}
/*
.nav.nav-sidebar .collapse {
	position: initial;
	float: none;
	min-width: auto;
	border: 0px solid;
	box-shadow: none;
	-webkit-box-shadow: none;
	display: block;
	padding: 0;
	margin: 0px;
	height: 0px;
	overflow: hidden;
	opacity:0;
	-webkit-transition: .4s;
   transition: .4s;
}

.nav.nav-sidebar > .collapse.in {
	height: auto;
	opacity: 1;
	padding: 5px 0;
	margin: 2px 0 0;
}

*/
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus,
.nav.nav-sidebar .open > a, .nav.nav-sidebar .open > a:hover, .nav.nav-sidebar .open > a:focus,
.nav.nav-sidebar > li > a:hover, .nav.nav-sidebar > li > a:focus {
	background-color: transparent;
	color: red;
}

.nav.nav-sidebar  li > a:hover >.caret, .nav.nav-sidebar  li > a:focus >.caret {
    border: 2px solid red;
	color: red;
}

.nav.nav-sidebar .caret {
	min-width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #bdc2d0;
    background: #fff;
    color: #bdc2d0;
    -webkit-transition: .4s;
    transition: .4s;
    font-size: 14px;
    font-size: 1.4rem;
	 display: block;
	position: relative;
}

.nav.nav-sidebar .dropdown .caret:before {
	content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: normal;
    line-height: 0.1;
}
.nav.nav-sidebar .open > a >.caret:before {
	content : '-';
}
.nav.nav-sidebar li:not(.dropdown) .caret:before {
	content: '-';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: normal;
    line-height: 0.1;

}
.nav.nav-sidebar li:not(.dropdown) a.collapsed .caret:before {
	content : '+';
}

.navbar {
   border-radius: 0px;
}


 .navbar-default {

  background-color: #fff;
  border-color: transparent;

 }
 .navbar-default .navbar-nav > li > a:not([class]):hover,
 .navbar-default .navbar-nav > li > a:not([class]):focus {
 	color: red;
   background-color: transparent;
 }

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {

	color: red;
	background-color: #e7e7e7;
	background-color: transparent;
}
.navbar-default .navbar-nav > li:after {
	-webkit-transition: .4s;
    transition: .4s;
	content: '';
	display: block;
	background: red;
	height: 0px;
	margin: 0 15px;
	opacity:0;
}

.navbar-default .navbar-nav > li > a:after{
	content: '';
	display: block;
	background: transparent;
	height: 4px;
	margin: 0;
	opacity:1;
	position: relative;
    bottom: -25px;
}


.navbar-default .navbar-nav > li.active > a:after,
.navbar-default .navbar-nav > li.open > a:after,
.navbar-default .navbar-nav > li > a:hover:not(.btn, .menu-open, .img):after {
	content: '';
	display: block;
	background: red;
	height: 4px;
	margin: 0;
	opacity:1;
	position: relative;
    bottom: -25px;
}


.navbar-default .navbar-nav > .open > a:focus {
  color: red;
  background-color: transparent;

}
.navbar-default .navbar-toggle, .menu-open {color: red; cursor: pointer; border-color: transparent;}
.navbar-default .navbar-nav > li > a.menu-open {color: red; cursor: pointer;}

.navbar-inverse .navbar-nav > li > a {
  color: #fff;
}

.navbar-default .navbar-nav > li > a {
	color: rgb(35, 31, 32);
	font-size: 14px;
  	font-size: 1.0715em;
}
.navbar-inverse .nav.navbar-nav {
	display: flex;
	justify-content: space-between;
	float:none;
	align-items: center;
	align-content: center;
	
}
.navbar-inverse .nav.navbar-nav a {
	font-weight: 400;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
}
.navbar-inverse .nav.navbar-nav li:first-child {
	flex-grow: 2;
}
.navbar-inverse .nav.navbar-nav li:first-child a {
	justify-content: flex-start;	
}
.navbar-inverse .nav.navbar-nav li:first-child  i {
	margin-left: 1em;
	font-size: 1.1em;
}
.navbar-inverse .nav.navbar-nav li:last-child a{
	font-weight: 600;
	text-transform: uppercase;
}
.navbar-inverse .nav.navbar-nav i {
	font-size: 1.2em;
	font-weight: 600;
	line-height: 20px;
	margin-right:0.5em;
}
#navbar .nav > li {
	position: initial;
	
}
#navbar {
/*	position: relative; */
}
#navbar .dropdown-menu {
	right:0;

}
#navbar .dropdown-menu {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	height:0px;
	overflow: hidden;
	opacity:0;
	padding-right:30px;
	padding-left:30px;
	-webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
    -webkit-transition-duration: .35s;
    -o-transition-duration: .35s;
    transition-duration: .35s;
    -webkit-transition-property: height, visibility;
    -o-transition-property: height, visibility;
    transition-property: height, visibility;
    -webkit-transition: .4s;
    transition: .4s;
}
#navbar .open .dropdown-menu {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    width: 100%;
    margin-bottom: 25px;
	padding: 30px 30px 45px;
	height: auto;
	opacity:1;
	background: #fff;
}
#navbar .dropdown-menu li {
	width: 20%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding-right: 30px;
}

#navbar .dropdown-menu > li:last-child {
	width: auto;
}
.dropdown-header {color: initial;}
#navbar .dropdown-menu li.dropdown-header {
	width: 100%;
	font-size: 16px;
	color: #000;
	font-weight: 600;
	padding-top: 10px;
	padding-bottom: 10px;
		
}
#navbar .dropdown-menu li.divider {
	width: 100%;
	margin-bottom: 25px;
	margin-top: 25px;
}
#navbar .dropdown-menu > li > a {
	padding-top: 10px;
	padding-bottom: 10px;
	white-space: normal;
}
#navbar  a.btn.btn-danger {
	background: #fff;
	border-color: red;
}
#navbar a.btn.btn-danger:hover{
	background: red;
	color: #fff;
}

#navbar  a.btn.btn-info {
	background: #48D6D2;
	border-color: #48D6D2;
	color: #fff;
}
#navbar  a.btn.btn-info:hover {
	background: red;
	border-color: red;
	color: #fff;
}

#navbar .dropdown-menu a.btn {
	font-weight: 400;
}
#navbar .open > a {color: red;}

.navbar-all .panel-default > .panel-heading {
	background-color: #3b4256;
	border-color: #3b4256;
	border-radius: 0px;
	color: #fff;
	line-height: 50px;
	text-transform: uppercase;
	font-size: 16px;
	padding: 0px 15px;
	border-bottom: 0px solid;	
}
.navbar-all .panel-default {
	background-color: #3b4256;
	border-color: #3b4256;
	border-radius: 0px;

}
.panel-default button.close {
	line-height: 50px;
}
.panel-default .close {
	color: #fff;
	text-shadow: none;
	filter: none;
	opacity: 1;
	font-size: 16px;
}
.blog-modal .close {
	margin-top: 10px;
}
.blog-modal .close i {
	margin-right: 10px;
}
.close:hover, .close:focus {
	color: red;
	text-shadow: none;
	filter: none;
	
}
.navbar-all .nav {padding-left: 20px; padding-right: 20px;}
.navbar-all .nav > li > a {
	padding: 18px 15px;
	color: #231f20;
	font-weight: 500;
	font-size: 16px;
}
.dropdown-menu {background-color: transparent;}

@media (min-width: 768px) {

	#navbar .navbar-nav > li:nth-child(1n+3) {
		display: none;

	}
	#navbar .menu  {display: block !important;}
}
@media (min-width: 992px) {

	#navbar .navbar-nav > li:nth-child(1n+3) {
		display: block;

	}

	#navbar .navbar-nav > li:nth-child(1n+4) {
		display: none;

	}
	#navbar .menu  {display: block !important;}
}

@media (min-width: 1270px) {

	#navbar .navbar-nav > li:nth-child(1n+3) {
		display: block;

	}

	#navbar .navbar-nav > li:nth-child(1n+4) {
		display: block;

	}

	#navbar .navbar-nav > li:nth-child(1n+6) {
		display: none;

	}
	#navbar .menu  {display: block !important;}

}
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
	 display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
/*.navbar-brand img {height: 40px; width: auto; margin-right: 10px;} */
.navbar-brand span {max-width: 25em;}

@media (min-width: 992px) {
	.navbar-header { max-width: 200px; }
	.navbar-brand span {max-width: 25em;}
}
@media (max-width: 350px) {
.navbar-brand span {max-width: 11em;}	
}
.navbar-brand {
    font-size: 0.9em;
	height: 70px;
}
@media (max-width: 350px) {
/*.navbar-brand {height: auto;}	 */
}

.breadcrumb {
	background-color: transparent;
	padding-top: 15px; 
	padding-bottom: 15px;
	padding-left: 0px;
	color: #939598;
	margin-bottom:auto;
}

.breadcrumb > li > a  {
	color:#939598; 
}

.navbar-inverse {
    background-color: #0c6e8c;
    border-color: transparent;
	border: 0px solid;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
	color: #fff;
   background-color: #0A637E;	
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
	border-color: #0c6e8c;
}
.blog-footer .nav > li > a {padding-left: 0px; padding-right:0px; font-size: 16px; color: #231F20;}
.blog-footer  .navbar-brand {float: none; display: flex; font-size: 16px; padding: 0 0 15px 0;}
.blog-footer, .blog-footer a  {font-size: 16px; color: #231F20; }
hr {
	border-top: 1px solid #d5dae0;
}
.btn-danger {
	background-color: #e20338;
   border-color: #e20338;
}
.btn-danger:hover,
.btn-danger:active	 {
	background-color: #b0022c;
    border-color: #b0022c;
}
.blog-footer p a,
.blog-main a:not([class]) {
	border-color: rgba(226, 3, 56, 0.5);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    text-decoration: none;
    -webkit-transition: border 0.2s linear;
    transition: border 0.2s linear;
	cursor: pointer;
	color: #231F20;
}
.blog-footer p a:hover,
.blog-main a:not([class]):hover {
	color: rgba(226, 3, 56, 1); 
	border-bottom-width:0px;
}
 
.btn {
	transition: all .2s linear;
}
.btn i {margin-right: 10px; font-size: 1.1em;}
.location .btn-lg {font-size: 16px; padding: 12px;}
.close {
	text-shadow: none;
    filter: none;
    opacity: 1;
	color: #3b4255;
	font-size: 16px;
	font-weight: 400;
}

.close:hover, .close:focus {
	opacity: 1;
}

.media .title .media-body {

	font-size: 1.8rem;
	display: block;
	font-weight:600;
}

.media .title .img-responsive {
	padding-bottom: 53.7634%;
   background-size: cover;
	border-radius: 8px;
	width: 100%;
	height: 1px;
}

.media a.title .date-news { color: #848E99 !important; font-size: 1.4rem; font-style: normal;}
.media a.title:hover, 
.media a.title:focus,
.media a.title:hover .media-body, 
.media a.title:focus .media-body
{color: red; text-decoration: none;}

.media li {margin-bottom: 50px;}
/* for newslist with image */

.media.noimg1, .media.related {display: flex; flex-wrap: wrap;}

.media.noimg1 .ico img  {
	display: block;
	padding-bottom: 53.7634%;
   background-size: cover;
	border-radius: 8px;
	width: 100%;
	height: 1px;
	
}

.media.noimg0, .media.related {display: flex; flex-wrap: wrap; align-content: stretch;}

.media.related li {margin-bottom: 30px;}
.media.related li .title {display: block; border: 1px solid #e6e7e8; border-radius: 8px; padding: 20px;}
.media.related li .title:hover {
	-webkit-box-shadow: 0 3px 30px 0px rgba(165, 187, 182, 0.4);
    box-shadow: 0 3px 30px 0px rgba(165, 187, 182, 0.4);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.media.related .title {
	font-size: 1.8rem;
	display: block;
	font-weight:600;
	margin-bottom: 10px;
	margin-top: 10px;
	height: 100%;
	min-height: 250px;
}
.media.related .title .datetime {
    color: #848E99 !important;
    font-size: 1.4rem;
    font-style: normal;
	 font-weight: 400;	
}

.media.noimg0 .datetime {
    color: #848E99 !important;
    font-size: 1.4rem;
    font-style: normal;
	 font-weight: 400;	
}

.media.related .desc {
	display: none;
}


.media.noimg1 .title {
	font-size: 1.8rem;
	display: block;
	font-weight:600;
	margin-bottom: 10px;
	margin-top: 10px;
}
.media.noimg1 .title .datetime {
    color: #848E99 !important;
    font-size: 1.4rem;
    font-style: normal;
	 font-weight: 400;	
}

.media.noimg1 .datetime {
    color: #848E99 !important;
    font-size: 1.4rem;
    font-style: normal;
	 font-weight: 400;	
}

.media.noimg1 .desc {
	display: none;
}


.dropdown-menu > .active > a, 
.dropdown-menu > .active > a:hover, 
.dropdown-menu > .active > a:focus {
	background-color: transparent;
	color: red !important;
}

@media print {
	.media .title .img-responsive {
		height: 30vh;
		width: auto;
		padding-bottom: 30px;
		background-image: none !important;
		margin-left:0;
		margin-right: auto;
	}
	.location a[href]:after {display: none;}
	marquee {display:none;}
	#mainmenu {display: block;}
	#mainmenu a[href]:after {display:none;}
	#mainmenu .nav.navbar-nav {display: none;}
	#mainmenu .container {border-bottom: 1px solid #999;}
	.tizer-block {display: none;}
	.btn.btn-danger {border-color: #ccc;}
	.blog-footer p a, .blog-main a:not([class]) {border-color: transparent;}
	.nav a:after {display: none;}
	.blog-footer a:after { display: none;}
	.blog-footer .container {border-top: 1px solid #666; padding-top: 20px;}
	.media.noimg1 .ico img {height: auto; padding-bottom:0px;}
	a[rel="noopener external"]:after, a[rel="external noopener"]:after {display: none;}
	.related a:after {display: none;}
	.location .btn {display: none;}
	a.ico:after {display:none;}
	.tp1 a:after, .tp2 a:after {display: none;}
}

table {
	max-width: 100%;
	display: block;
    overflow-x: auto;

}
.maincontent img {max-width: 100%;}

.blog-main .pagination > .active > a, 
.blog-main .pagination > .active > span, 
.blog-main .pagination > .active > a:hover, 
.blog-main .pagination > .active > span:hover, 
.blog-main .pagination > .active > a:focus, 
.blog-main .pagination > .active > span:focus {
	border: 0px solid;	
	transition: none;
	border-bottom-width: 0px;
	background-color: #f1f2f2;
	border-radius: 0px;
	color: #333333;
	font-weight: 500;
}
.blog-main .pagination > li > a, 
.blog-main .pagination > li > span {
	border: 0px solid;	
	transition: all 0.2s ease-in-out;
	border-bottom-width: 0px;
	padding: 16px 26px;
	border-radius: 0px;
	color: #333333;
	font-weight: 500;

}
.blog-main .pagination > li > a:hover, 
.blog-main .pagination > li > span:hover, 
.blog-main .pagination > li > a:focus, 
.blog-main .pagination > li > span:focus {
	color: #333333;

}

#navbar .nav > li > a > img {height: 40px;}

.datetime {
	display:  block;
	margin-bottom: 20px;
    color: #999;
}

.rykov .blog-main > section  {clear: both;}
.rykov .blog-main > section.jumbotron:after {content:''; width: 100%; height: 1px; clear: both; display: block;}
.navbar-header { flex-grow: 1; }
.navbar-brand img {max-width: 200px;}

.jumbotron p {
	font-size: 1.6rem;
}
@media (max-width: 767px) {

	.navbar-header {display: flex; flex-direction: row-reverse; justify-content: space-between;}
	.navbar-brand {display: block !important; flex-grow:8; float: none; padding: 9px 10px;}
	.navbar-header button {flex-grow: 1; float: none; margin-right:0; font-size: 2.3rem;}	

	.media.related .title {
		min-height: inherit;
	}
	.navbar-brand > img {max-height: 60px;}
}

.carousel-inner {padding:0;}
.index .carousel-indicators {
	display : flex;
	flex-direction: column;
	position: initial;
	width: auto;
	margin-left: auto;	
}

.index .carousel-indicators li, .index.carousel-indicators .active {
	width: 100%;
	height: auto;
}