h2, h3, h4, h5, h6 {
	color: #9D000C;
	font-family: 'SegoeUILight';
	font-weight: normal;
	margin: 20px 0;
}

h1 {
	color: #FFF;
	font-family: 'SegoeUILight';
	font-size: 36px;
	margin: 40px 0 60px 20px;
	position: relative;
	z-index: 1;
	text-transform: uppercase;
}

h1::after {
	position: absolute;
	z-index: -1;
	content: ' ';
	height: 100%;
	width: 100%;
	left: 0px;
	top: -42%;
	background-color: inherit;
}

p {
	font-size: 15px;
	margin-bottom: 20px;
}

.bx-content {
	margin: 30px 0;
}

.sections_list_wrap {
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 7px;
}
.sections_list {
/*	text-decoration: none !important;
	color: black;
	font-family: 'SegoeUILight';
	font-size: 15px;
	font-weight: bold;*/
    text-decoration: none !important;
	color: black;
	border-bottom: solid 1px;
	font-family: 'SegoeUILight';
	 font-size: 15px;
	 font-weight: bold;
}

.count-5 {
	float: left;
	width: 20%;
}



.subcategory_list {
	list-style: none;
	padding-left: 0;
	margin: 5px;
}

.subcategory_list a li {
	margin-bottom: 5px;
}

.subcategory_list li span {
	display: flex;
	align-items: center;
	font-size: 13px;
	border-bottom: solid 1px;
}

.subcategory_list li  {
	/*display: flex;
	min-height: 45px;
	max-height: 110px;
	color: #000000;
	text-align: center;*/
	/*border-radius: 15px;*/
	/*width: 100%;
	text-decoration: none;
	background-color:  #ebebeb;
	padding: 0;
	justify-content: center;
	margin-bottom: 10px*/
}
.subcategory_list li:hover{
	/*background-color: #ebebeb;
	-webkit-box-shadow: inset #9fa7ac 0 0 4px 0;
	-moz-box-shadow: inset #9fa7ac 0 0 4px 0;
	box-shadow: inset #9fa7ac 0 0 4px 0;*/
}
.subcategory_list li:hover span {
	color: #517287;
}

@media (max-width:656px)  {
	.count-5 {
		width: 50%;
	}

}
@media (max-width:767px) {
	.modern-page-navigation-container {
		text-align: left;
		margin-top: 20px;
	}
    body h2:after{
        content: none;
    }
}          
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 991px) {
    h1::after{
        content: none;  
    }
	.subcategory_list li {
		min-height: 63px;
		text-align: center;
		/*display: flex;
    justify-content: center;
        align-items: center;*/
	}
}
@media (max-width: 991px) {
    h1::after{
        content: none;  
    }
}
hr {
	border: none;
	border-bottom: 1px solid #ccc;
}

/* Заголовки с линией по бокам */
.line-heading {
    margin: 30px 0;
	padding-top: 35px;
    overflow: hidden;
}

.line-heading > span {
    display: inline-block;
    font-family: 'SegoeUILight';
    padding: 0 15px;
    position: relative;
    text-transform: uppercase;
}

.line-heading > span:before,
.line-heading > span:after {
    border-bottom: 1px solid #EDD9B2;
    content: '';
    height: 1px;
    width: 150%;
    right: 100%;
    top: 50%;
    position: absolute;
}

.line-heading > span:before {
    left: 100%;
}

.line-heading.light > span:after,
.line-heading.light > span:before {
	border-bottom-color: #FFF;
}

.line-heading.light > span {
	color: #FFF;
}

.line-heading.dark > span:after,
.line-heading.dark > span:before {
	border-bottom-color: #000;
}

.line-heading.dark > span {
	color: #333;
}

/* Текст на главной странице */
.index-text {
	margin: 30px 0;
}

