@font-face {
    font-family: 'TrixieCyr-Plain';
    src: local('TrixieCyr-Plain'), url('font/trix.woff') format('woff');
}


@font-face {
    font-family: 'Intro-Book';
    src: local('Intro-Book'), url('font/introbook.woff') format('woff');
}

html, body{
	margin:0;
	padding:0;	
	width:100%;
	height:100%;	
}	

body{
	background-image: url("images/top_left.png"),
			  url("images/top_right.png"),
			  url("images/top_map.png"),
			  url("images/bg_new.jpg");
  	background-position: 0 0,
			  100% 0,
			  50% 0,
			  0 0;
	background-repeat: no-repeat, no-repeat, no-repeat, repeat;
	background-size: auto, auto, auto, auto;
	/*background-image: url("images/bg.jpg");*/
	width: 100%;
	height: auto;
	max-width:1920px;	
	/*background-position: 50% 0;*/
	margin:0 auto;
	/*background-repeat: no-repeat;*/
	font-family: 'Intro-Book';
}

.layout-main {
	background-image: url("images/bottom_left.png"),
	url("images/bottom_right.png"),
	url("images/bottom_map.png");
	background-position: 0 100%,
		100% 100%,
		50% 100%;
	background-repeat: no-repeat, no-repeat, no-repeat;
	background-size: auto, auto, auto;
}
.hr-img {
	width:100%;
	height:1px;
	background-image: url("images/hr_border.png");
	background-position: 0 0;
	background-repeat: repeat;
}
.hr-img.hr-about {
	margin-top: -30px;
}
.hr-img.hr-partner {
    margin-top: 90px;
}
.hr-img.hr-news {
    margin-bottom: 100px;
}
.right-convert {
	position: absolute;
	right:0;
	margin-top: -380px;
	width: 509px;
	height: 834px;
	background-image: url("images/right_convert.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: auto;
}
.left-convert {
	position: absolute;
	left:0;
	margin-top: 170px;
	width: 351px;
	height: 762px;
	background-image: url("images/left_convert.png");
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: auto;
}
.right-convert.mt-700 {
    margin-top: 700px;
}
.right-convert.mt-250 {
    margin-top: -100px;
}
.left-convert.mt-0 {
    margin-top: 0px;
}

a{
	text-decoration: none;
	color: #993333;
}

.image-preview {
    background-size: cover !important;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}
.ext-body {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 130px);
}


/*main*/
.b-wrap{
	width:1500px;
	margin:0 auto;
}

.mrg40{
	margin: 70px 0 !important;
}
.kadr-wrap {
	position: absolute;
	left: 0;
	width: 100%;
	height: 191px;
	background: transparent url('images/lenta.png') 50% 50% no-repeat;
	display:none;
}
.kadr{
	position: absolute;
	left: -242px;
	display: block;
}	

.partner{
	margin: 69px 0 0 0;
    width: 1140px;
}
	
.b-wrap-block{
	width:1140px;
	margin:40px auto;
	position:relative;
	box-sizing:border-box;
}	

.zagolovok {
    width: 1140px;
    margin: 40px auto;
    position: relative;
    box-sizing: border-box;
}

.news-list, .news-detail {
    width: 1140px;
    margin: 40px auto;
    position: relative;
    box-sizing: border-box;
}
#members {
	width:1140px;
	margin:40px auto;
	position:relative;
	box-sizing:border-box;
}	
.partnery-list {
	width:1140px;
	margin:40px auto;
	position:relative;
	box-sizing:border-box;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: flex-start;
    align-items: flex-start;
}
.partnery-list .part-item {
    flex: 0 0 calc(25% - 30px);
    text-align: center;
    padding: 40px 15px;
    height: 100%;
}
.partnery-list .part-item a {
    background: #fff;
    display: table-cell;
	padding: 15px;
	font-size:14px;
	color: #000;
	font-weight: 600;
	line-height: 18px;
	text-decoration: none;
	text-transform: uppercase;
	height: 180px;
    vertical-align: middle;
	width: 285px;
	border-radius: 5px;
}
.partnery-list .part-item a .title-part {
    margin-top: 15px;
}

table#gallery {
    width: 100%;
}

.i-about-img{
	position:absolute;
	right: -358px;
}

.b-about{
	padding-right: 250px;
	margin-bottom: 100px;
}	

.b-wrap-title{
	font-size:40px;
	font-family: 'TrixieCyr-Plain';
	text-transform: uppercase;
	margin:20px 0 40px;
}
.b-wrap-title.gallery-title {
	font-size: 40px;
	font-family: 'TrixieCyr-Plain';
	text-transform: uppercase;
	margin: -40px auto 40px auto;
	width: 100%;
	text-align: center;
	border-top: 2px dashed #531702;
	padding: 40px 0 40px 0;
	border-bottom: 2px dashed #531702;
}

.b-wrap-text p{
	font-size:20px;
	font-family: 'Intro-Book';
	color:#531702;
}
.b-about .b-wrap-text p {
    font-size: 18px;
}

.b-head-menu{
	height:70px;
	padding-left: 300px;
	margin-top: 30px;
}	

.b-head-menu div{
	float:left;
}	

.b-main-menu{
	padding-left: 300px;
}	

.b-main-block{
 position:relative;	
 margin-top: 35px;
}
.b-m-img {
	min-height: 60px;
}	

.b-m-img img{
	    box-shadow: 0px 10px 40px #ababab;
}
.footer{
	font-family: 'Intro-Book';
	margin: 40px auto 0 auto;
    height: 350px;
}	
.b-foot-left{
		display:inline-block;
		width:700px;
		vertical-align:top;
}

.b-foot-right{
	display:inline-block;
		width:320px;
		vertical-align:top;
		padding-left:60px;
}	

.adr{
	margin-top:30px;
	line-height:34px;
}	
.f-tel{
	font-size:24px;	
}	
.adr a{
	color:#e53c2c;
}	

.f-img{
	width: 200px;
    float: left;
}	

.f-txt{
	width: 465px;
    float: left;
    margin: 60px 0 0 30px;
}	

.f-title{
	color: #531702;
    font-size: 29px;
    font-weight: normal;
    text-transform: uppercase;
}	
.f-text{
	color: #531702;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}	
/*strelki*/
.b-arr{
	width:50px;
	height:50px;
	position:absolute;
	z-index: 1;
}	

.bar-b-right{
	background-image:url("./images/arrow-b-right.png");	
    top: 235px;
    right: -30px;
}

.bar-b-left{
	background-image:url("./images/arrow-b-left.png");	
	top: 235px;
    left: -56px;
}	

.bar-w-right{
	background-image:url("./images/arrow-w-right.png");	
    top: 160px;
    right: -30px;
}

.bar-w-left{
	background-image:url("./images/arrow-w-left.png");	
	    top: 160px;
    left: -65px;
}
	
.b-m-logo{
	position:absolute;
	left:20px;
	top:-140px;
	z-index: 1;
}	


ul.u-foto{
	list-style: none;
	padding:0;
	margin:0;
	position: relative;
}	


ul.u-foto li{
	display: inline-block;
    margin-right: 20px;
    max-width: 354px;
    vertical-align: top;
}

.u-foto-img{
	width:350px;
	height:350px;
	overflow:hidden;
}	

.u-foto-img img{
 width:100%;	
}	
.u-foto-title{
	font-family:Intro-Book;
	font-size:25px;
	margin:10px 0;
}	

.u-foto-text{
	font-family:Intro-Book;
	color: #531702;
	font-size: 18px;
    line-height: 30px;;
}

/*search*/

.i-search{
	margin-left:155px;	
}	

.i-search input{
	border:none;
 	border-bottom:1px solid #a59c8c;
	padding:5px 0 9px 10px;
	background: transparent;
	background-image:url("./images/search.png");
	background-repeat: no-repeat;
	background-position: right 8px;
    font-size: 20px;
	font-style: italic;
	width: 480px;
}	

.i-b-search{
	margin:10px 0 0 0;
}	

/*soc*/
.b-soc{
	list-style: none;	
}	

ul.b-soc li{
	display: inline-block; /* Отображать как строчный элемент */
	width:30px;
	height:30px;
	background-image:url("./images/soc.png");
	background-repeat:no-repeat;
}

.b-soc a{
	display:block;
    width: 36px;
    height: 36px; 
}	

ul.b-soc li.b-soc-fb{
	    background-position: 10px 5px;
}	

ul.b-soc li.b-soc-vk{
	    background-position: -34px 5px;
}

ul.b-soc li.b-soc-ok{
	    background-position: -84px 5px;
}
/*menu*/

ul.u-main-menu{
	list-style: none;
	
}

ul.u-main-menu li{
	display: inline; /* Отображать как строчный элемент */
    margin-right: 5px; /* Отступ слева */
    padding: 3px; /* Поля вокруг текста */	
}	

ul.u-main-menu li a{
	font-family: 'TrixieCyr-Plain';	
	color:#000000;
	font-size: 24px;
    text-transform: uppercase;
}	



ul.u-top-menu{
	list-style: none;
	    margin: 20px;
}	

li{
	display: inline; /* Отображать как строчный элемент */
    margin-right: 5px; /* Отступ слева */
    padding: 3px; /* Поля вокруг текста */	
}	

ul.u-top-menu li a{
	font-family: 'Intro-Book';
	color:#000000;
	font-size: 22px;
    text-transform: uppercase;
}	


/*button red*/
.b-but-foto{
	width:184px;
	height:40px;
	background-color: #e53c2c;
    border-radius: 4px;
	margin: 12px 0 0 0;
    text-align: center;
}	

.b-but-left{
   margin-left:100px;
}
.b-but-foto span{
	
}	
.b-but-foto a{
	font-family: 'Intro-Book';
	color:#ffffff;	
	padding: 0px 12px;
    line-height: 40px;
}	


/*news*/
.b-w-news{
	display:inline-block;
	width:540px;
	font-family: 'Intro-Book';
	vertical-align:top;
	margin:0 20px 40px 0;
}	

.b-w-news div{
  display:inline-block;
}	

.n-img{
	width: 190px;
	vertical-align: top;
	margin-right: 10px;
	overflow: hidden;
	height: 130px;
	background-size: cover !important;
	border-radius: 5px;
}	
.n-img img{
	width:100%;	
}	

.n-text{
	width: 330px;
}
	
.n-text p{
	
    color: #531702;
    line-height: 24px;
    font-size: 15px;
}	

.n-text a{
	color:#000000;	
	font-size: 18px;
}

.news-item{
	font-size: 18px;
	margin-bottom: 40px;
}

.news-item a img {
    height: auto;
    max-width: 150px;
    margin-right: 10px !important;
}

.news-item a{
	    color: #993333;
    font-size: 18px;
}	

/*filtr*/	
form[name="arrFilter_form"] {
	padding:10px;
}
#filtrgal {
	background: rgba(255,255,255,0.7);
	padding:20px;
}
#filtrgal > div:first-child {
	display:flex;
	flex-direction: row;
	flex-wrap:wrap;
	justify-content: flex-start;
	align-items: flex-start;
	font-size:14px;
}
#filtrgal > div .b-filtr-elem {
	flex: 0 0 calc(16.666666% - 10px);
	padding: 5px;
}	

.b-filtr-elem input, .b-filtr-elem select{
	border: 1px solid #767676;
    border-radius: 5px;
    padding: 5px 10px;
    margin: 5px 0px;
    width: calc(100% - 30px)!important;
}
.b-filtr-elem select{
    width: calc(100% - 10px)!important;
}
.b-filtr-elem input {
    padding: 6px 10px;
}

.filtr_send{
	background: #e53c2c;
    border-radius: 5px;
    padding: 10px 40px;
    color: #ffffff;
    width: 20%;
	margin: 20px 40px;
	font-size:16px;
	border:0;
	font-family: 'Intro-Book';
}
font.text {
    font-size: 12pt;
    line-height: 22pt;
    color: Black;
}
font.text a {
    color: #993333;
}
.slick-slide img {
    display: inline-block;
	border-radius: 5px !important;
	vertical-align: middle;
    width: 100%;
}
.partner-item {
	width: 125px !important;
    display: table-cell !important;
    height: 117px;
    background: #fff;
    border-radius: 4px;
    text-align: center;
    vertical-align: middle;
    padding: 5px;
}
.photo-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.photo-gallery .photo-gallery-item {
	flex: 0 0 calc(33.333333% - 20px);
    overflow: hidden;
    margin: 10px;
}
.photo-gallery .photo-gallery-item .photo-item {
	width: 100%;
	height: 250px;
	text-align: center;
	background: rgba(0,0,0,0.5);
}
.photo-gallery .photo-gallery-item .photo-item .photo-item-cover {
	position: absolute;
    height: 250px;
    width: calc(33.333333% - 20px);
    background-size: 150% !important;
    z-index: -1;
	filter: blur(3px);
}
.photo-gallery .photo-gallery-item .photo-item img {
    height: 100%;
}
.photo-gallery .photo-gallery-item .photo-text-box {
	/*background: #fff;*/
	padding: 20px 0;
	position: relative;
	height: 120px;
}
.photo-gallery .photo-gallery-item .photo-text-box .photo-name {
    font-family: 'Intro-Book';
    color: #000;
	font-weight: bold;
    /*text-transform: uppercase;*/
	font-size: 14px;
	margin: 15px 0;
}
.photo-gallery .photo-gallery-item .photo-text-box .photo-field {
	font-family: 'Intro-Book';
	color: #531702;
	font-size: 14px;
	line-height: 20px;
}
.photo-gallery .photo-gallery-item .photo-text-box .photo-field span {
    font-weight: bold;
}
.photo-gallery .photo-gallery-item .photo-text-box .comment {
    width: 32px;
    height: 32px;
    position: absolute;
    top: -235px;
    right: 20px;
    background: #ffeb00;
	border-radius: 50%;
}
.photo-gallery .photo-gallery-item .photo-text-box .comment::after {
    content: '\2605';
    position: absolute;
    color: #010101;
    top: -5px;
    left: 4px;
    font-size: 28px;
    font-weight: bold;
}
.photo-gallery .photo-gallery-item .photo-text-box .comment .comment-text {
	display: none;
	position: absolute;
	width: 250px;
	right: -9px;
	top: 50px;
	background: #000;
	padding: 15px;
	border-radius: 5px;
	color: #fff;
	font-family: 'Intro-Book';
	font-size: 12px;
}
.photo-gallery .photo-gallery-item .photo-text-box .comment .comment-text::after {
	content: '';
    position: absolute;
	border: 20px solid transparent; 
	border-bottom: 20px solid #000;
	top: -30px;
    right: 5px;
}
.photo-gallery .photo-gallery-item .photo-text-box .comment:hover .comment-text {
	display: block;
}
.search-page > a {
	color: #993333; /*#486DAA*/
	font-size: 20px;
}
.search-page a {
	color: #993333;
}
.news-date-time {
    color: #555 !important;
}
#at_frm_bitrix {
	max-width: 400px;
	margin: 50px auto;
	background: rgba(255,255,255,0.7);
	padding: 30px;
	height: auto;
}
.form_field, .form_check {
	margin-top:10px;
}
.form_field label {
	display:block;
	margin: 2px 0;
	width: calc(100% - 0px);
	padding: 5px 0;	
}
.form_field input {
	display:block;
	margin: 2px 0;
	width: calc(100% - 20px);
	padding: 5px 10px;
}
.form_check input[type="checkbox"] {
	margin: 10px 10px 10px 0;
	padding: 0;
}
.form_button input[type="submit"] {
	background: #e53c2c;
	height: 40px;
	width: 180px;
	border:0;
	border-radius: 4px;
	color: #fff;
	font-family: 'Intro-Book';
	font-size:16px;
	margin: 10px 0;
}
.form_button.form_button_dip input[type="submit"] {
	width: 230px;
	margin: 30px 0;
}
.link-auth {
	display: block;
	margin-bottom: 50px;
}
.link-auth a {
	display: block;
	padding: 20px 0;
}
.link-auth a.left {
	float:left;
}
.link-auth a.right {
	float: right;
}
.search-page {
	margin-bottom: 60px;
}
.search-result .item-result {
	background: rgba(255,255,255,0.7);
	padding: 20px;
	margin: 20px 0;
}
.search-result .item-result {
	background: rgba(255,255,255,0.7);
	padding: 20px;
	margin: 20px 0;
}
.search-result .item-result > a {
	font-size: 20px;
}
.search-result .item-result > p {
	border-left: 1px solid #993333;
	padding-left:30px;
}
.search-result .item-result .date {
	background: #993333;
	width: 70px;
	color:#fff;
	font-size:13px;
	padding:2px 7px;
	margin:5px 0;
}
.search-page form input[type="text"] {
	margin: 2px 0;
	width: calc(100% - 295px);
	padding: 5px 10px;
}
.search-page form select {
	margin: 2px 0;
	width: 150px;
	padding: 5px 10px;
}
.search-page form input[type="submit"] {
	background: #e53c2c;
	width: 100px;
	border: 0;
	border-radius: 4px;
	padding: 7px 10px;
	color:#fff;
	font-size: 14px;
	font-weight: 600;
}
.search-page .sortable {
	margin-right: 15px;
}
.search-page .sortable.active {
	background: #993333;
	border: 0;
	border-radius: 4px;
	padding: 7px 10px;
	color:#fff;
	font-size: 14px;
}
.pagination-custom {
	margin: 15px 0;
}
.pagination-custom > span {
	background: #bbbbbb;
	margin-right: 10px;
	color:#000;
	padding: 3px 10px;
	border-radius: 3px;
}
.pagination-custom > span.active {
	background: #ffeb00;
}
.pagination-custom > a {
	background: #993333;
	margin-right: 5px;
	color:#fff;
	padding: 3px 10px;
	border-radius: 3px;
}
.auth-header {
	font-family: 'TrixieCyr-Plain';
	font-weight: bold;
	text-transform: uppercase;
	font-size:22px;
	text-align: center;
	padding: 15px 0;

}
.form_field .starrequired {
    color: #e53c2c;
    font-weight: bold;
    font-size: 18px;
    margin-left: 5px;
}
#box-nd1, #box-nd2 {
    display: block;
    padding: 20px;
	background: rgba(255,255,255,0.7);
	margin-bottom: 30px;
}
#box-nd1 .nd-title, #box-nd2 .nd-title{
	font-weight:bold;
	text-transform: uppercase;
	color: #993333;
	font-size: 28px;
	display: block;
	text-align: center;
}
#box-nd1 .nd-span, #box-nd2 .nd-span {
    display: block;
	margin: 10px 0 0 0;
    color: #000;
	font-size: 20px;
	text-align: center;
}
#box-nd1 a, #box-nd2 a {
	width: 100px;
    height: 30px;
    background-color: #262626;
    border-radius: 4px;
    margin: 20px auto 0 auto;
    text-align: center;
    font-family: 'Intro-Book';
	color: #fff;
	font-weight: 700;
    padding: 0px 10px;
    line-height: 30px;
    display: block;
}
#box-nd1 a.toggle, #box-nd2 a.toggle {
    background-color: #484848;
    color: #fff;
}