.nav ul {
    position: relative;
	 top: interit;	 
}
.nav ul li{
    position: relative;
	float: left;
}
.nav ul li ul{
	display: none;
}
span.submenu{
	display: none;
}

	.nav ul.show-xs{
		display: none;
	}

@media (max-width: 760px){
.nav ul li{
	float: none;
}
	.hidexs{
		display: none;
	}
	.nav ul{
		float: none !important;
	}
	.nav ul li{
		white-space: nowrap;
	}
  .nav ul.nav-scroll{
  position:fixed;
    top: 108px;
    bottom: 0;
    overflow-y: auto;
	}

span.submenu {
    position: absolute;
    color: white;
    top: 0;
    right: 10px;
	display: block;
	cursor: pointer;
    padding: 0 15px;
	text-align: right;
    width: 100%;
}
.nav ul ul.show-xs{
	display: none;
}
.nav ul ul.show-xs li{
	background: rgba(255,255,255,0.2);
}
.nav ul li:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

}
.clear{
	clear: both;
}

.heading{
	clear: both;
	margin: 15px 0 7px 0;
	font-size: 1.5rem;
}

.publication-text-link {
	display: block;
}


/* Из-за изначального отсутствия box-sizing: border-box на всех элемнтах понадобились эти хаки */

#search .form-textbox-border input {
	width: 100%;
}

#search .form-textbox-border input,
#wowslider-container1,
#wowslider-container1 * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#wowslider-container1 {
	width: 100%;
}

.bx-viewport {
	height: auto !important;
}

/*----------------------------------------------*/

@media screen and (min-width: 769px) {
	.bx-wrapper .ws_images > * {
		width: auto !important;
	}
}
.publication-useful .preview-link{
float: left;
}
.publication-useful img{
	width: 100px;
}
@media screen and (min-width: 500px) {
	.publication-news {
		display: flex;
		flex-wrap: wrap;
	}
	.publication-news .preview-link {
		width: 210px;
		float: none;
	}
	.publication-news.publication-useful .preview-link {
		width: 100px;
		float: none;
	}
	.publication-news .publication-text {
		float: none;
		flex: 1;
		height: 100%;
		margin: 0;
	}
	.publication-news.publication-useful .publication-text {
		float: none;
		flex:1;
		height: 100%;
		margin: 0;
	}
	.publication-news .news_date {
		width: 100%;
	}

}

/*.owl-carousel .owl-item img{*/
/*	width: 210px !important;*/
/*	height: auto;*/
/*}*/

.news-list .owl-carousel .owl-stage-outer {
	padding: 1px 0;
}
div.catalog-item-card .item-image img{
	margin: 0 auto;
}

div.catalog-item-image{
	position: relative;
}
span.cataolog-badage-type {
    position: absolute;
    top: 0;
    background: red;
    left: 0;
    font-size: 0.7rem;
    padding: 3px;
    color: #fff;
}
span.cataolog-badage-type + span.cataolog-badage-type {
	top: 25px;
}
span.cataolog-badage-type + span.cataolog-badage-type  + span.cataolog-badage-type{
	top: 50px;

}
span.cataolog-badage-type + span.cataolog-badage-type  + span.cataolog-badage-type + span.cataolog-badage-type {
	top: 75px;

}

.serv a {
    margin: 0px 12px !important;
}

.page{
	background:#fff;
}

.preview_text {
	 display: block;
	 height: 127px;
	 outline: none;
	 overflow: hidden;
}