@font-face {
    font-family: 'PN';
    src: url('/bitrix/templates/web20/fonts/ptsans_narrow.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'PNB';
    src: url('/bitrix/templates/web20/fonts/ptsans_narrow_bold.ttf');
    font-weight: normal;
    font-style: normal;
}

*{
	box-sizing: border-box;
	outline: none;
}

html, body, form{
	margin: 0;
	padding: 0;
}
html{
	height:100%;
}
body{
	min-height: 100vh;
	font-size: 16px;
	line-height: 1.2;
	color: #2f2f2f;
	background:#f1f1f1;
	font-family: PN;
	position: relative;
    display: flex;
    flex-direction: column;
}

a{
color:#007bbe;
text-decoration: none;
}
a:hover{
text-decoration: underline;
}

img{
	max-width: 100%;
	border: 0px solid transparent;
	max-height: 100%;
	height: auto;
}

h1, h2, h3, h4, h5, h6{
	font-family: PNB;
	font-size: 18px;
	color:#2f2f2f;
}

p{
	margin:5px 0px;
}

.main{
	width: 1200px;
	margin:0px auto;
	position: relative;
    padding: 0px 15px;
    flex-direction: column;
    min-height: 100vh;
    display: flex;
}

header{
    position: relative;
    display: flex;
    min-height: 110px;
    /*background: url(images/flag.png) 100% 0px/contain no-repeat;*/
   text-align:center;
   text-transform: uppercase;
}
.logo{
    width: 500px;
    position: relative;
margin:0 auto;
}
.logo a{
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    font-size: 30px;
    color: #ac2726;
    font-family: PNB;
    padding-top: 35px;
}
.logo a:hover{
	text-decoration: none;
	color:#861e1d;
}

.search-menu{
    display: flex;
    margin-top: 35px;
    align-items: center;
    position: relative;
    z-index: 100;
}
.menu{
    flex-grow: 1;
background:#003d90;
color:#fff;
margin-bottom:15px;
}
.menu-m-checkbox, .menu-m-label{
    display: none !important;
}
.menu-main-wrap{
}
.menu-main-wrap, .menu-main-wrap *{
    transition: all ease 0.5s;
}
.menu-main{
	display: flex;
    justify-content: center;
    align-items: center;
}
.menu-main-item{
    margin-right: 5px;
    font-size: 22px;
    position: relative;
    padding: 3px 9px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 34px;
}
/*.menu-main-item:hover{
	background-color:#ffffff;
}*/
.menu-main-item>a{
    display: block;
    color:#ffffff;
    position: relative;
    z-index: 1;
}
.menu-main-item>i{
	color:#8e7535;
	margin-left:5px;
}
.menu-main-item>a:hover{
    text-decoration: none;
color:#fff;
}
.menu-main-sub{
    position: absolute;
    height: 0px;
    width: 300px;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    top: 34px;
    left: 0px;
    background-color: #003d90;
    padding: 8px 5px 5px 5px;
    box-shadow: 1px 3px 2px 0px rgba(0,0,0,0.1);
    z-index: 0;
}
.menu-main-sub-item{
    font-size: 16px;
    padding: 0px 5px 10px;
    position: relative;
    display: flex;
    justify-content: space-between;
}
.menu-main-sub-item a{
    color: #ffffff;
    display: block;
}
.menu-main-sub-item a:hover{
	
}
.menu-main-sub-item i{
    margin-left: 3px;
}

.menu-main-item:hover>i{
	transform: rotateZ(180deg);
}
.menu-main-item:hover>.menu-main-sub{
	height: auto;
	opacity: 1;
	overflow: visible;
	visibility: visible;
}

.menu-main-sub-item>.menu-main-sub{
    left: 100%;
    top: 0px;
}

.menu-main-sub-item>.menu-main-sub:before{
    content: "";
    position: absolute;
    left: -15px;
    width: 20px;
    height: 100%;
    display: block;
    top: 0px;
}
.menu-main-sub-item:hover>.menu-main-sub{
    height: auto;
    opacity: 1;
    overflow: visible;
    visibility: visible;
}


.search{
    width: 220px;
    flex-shrink: 0;
  /*  margin-left: 30px;
    margin-right: 1px; */
}
.search-form{

}
.search-form input[type=text]{
    width: 100%;
    border: 1px solid #ededed;
    padding: 5px 5px 5px 15px;
    background-color: #ffffff;
}
.search-form input[type=submit]{
display: none;
}

.breadcrumbs{
    margin-bottom: -35px;
    padding-left: 10px;
}
.breadcrumbs a{
	
}

.pagetitle{
    font-size: 24px;
    margin: 0px 0px 21px 0px;
    border-bottom: 1px solid #e1e5e8;
    /*text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;*/
    padding-bottom: 2px;
}

.main-content{
    margin-top: 30px;
    display: flex;
    position: relative;
    justify-content: space-between;
 
}
.main-content-left{
    width: 230px;
    flex-shrink: 0;
}
.main-content-center{
    width: 925px;
    /*border: 1px solid #e1e5e8;*/
    border: 1px solid transparent;
 
    font-size: 22px;
}
.main-content-right{
    width: 220px;
	margin-left: 10px;
    flex-shrink: 0;
}


/*лента - начало*/

.lenta-wrap{
    /*border: 1px solid #e1e5e8;*/
    border: 1px solid transparent;
    padding: 7px;
}
.lenta-head{
    border-bottom: 1px solid #e1e5e8;
    padding-bottom: 2px;
    margin-bottom: 5px;
    margin-top: 8px;
}
.lenta-head h2{
    font-size: 24px;
    margin: 0px;
}
.lenta-block{
    margin-top: 21px;
}
.lenta-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.lenta-item:last-child{
    margin-bottom: 0px;
}
.lenta-name{
    font-size: 18px;
    line-height: 1;
    flex-grow: 1;
    width: 100%;
    order: 1;
    margin-bottom: 22px;
}
.lenta-name a{
}
.lenta-img{
    width: 80px;
    flex-shrink: 0;
    border: 1px solid #e1e5e8;
    overflow: hidden;
    position: relative;
    height: 80px;
    text-align: center;
    order: 2;
    margin: 0px auto 10px;
}
.lenta-img div{
    display: block;
    position: relative;
    height: 100%;
    width: 300%;
    left: -100%;
}
.lenta-img img{
height: 100%;
}


.lenta-detail-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.lenta-detail-img{
    width: 125px;
    flex-shrink: 0;
    border: 1px solid #414544;
    overflow: hidden;
    position: relative;
    height: 125px;
    text-align: center;
    margin: 0px 5px 5px 0px;
    order:2;
}
.lenta-detail-img div{
    display: block;
    position: relative;
    height: 100%;
    width: 300%;
    left: -100%;
}
.lenta-detail-img img{
height: 100%;
}
.lenta-detail-content{
flex-grow:1;
width: 100%;
}
.lenta-detail-name{
    flex-grow: 1;
    order: 1;
    width: 100%;
    margin-bottom: 5px;
}
.lenta-detail-name a{

}
.lenta-detail-page-block{

}
.lenta-detail-page-img{
width: 100%;
position: relative;
max-height: 300px;
text-align: center;
overflow: hidden;
}
.lenta-detail-page-img div{
position: relative;
height: 100%;
width: 300%;
left: -100%;
}
.lenta-detail-page-img img{
height: 100%;
}
.lenta-detail-page-content{

}
.lenta-detail-page-link{
    text-align: right;
    font-size:18px;
}

/*лента - конец*/


/*новости на главной - начало*/
.main-news-head{
    border-bottom: 1px solid #e1e5e8;
    padding-bottom: 2px;
    margin-bottom: 5px;
}
.main-news-head h2{
    font-size: 24px;
    margin: 0px;
}
.main-news-block{
    margin-top: 21px;
    margin-bottom: 20px;   
}
.main-content-right .main-news-block{
    background: #fff;
	padding: 10px;
	min-height: 296px;    
}
.main-news-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.main-news-img-block + .main-news-content{
    margin-left: 15px;
}
.main-news-content{
	flex-grow:1;
	border: 1px solid #e1e5e8;
	padding: 15px 15px 10px 15px;
	background:#ffffff;
}
.main-news-block .main-news-content {
	background:#fff;
	padding: 10px;
}
.main-news-name{
    font-size: 18px;
    line-height: 1;
}
.main-news-name a{

}
.main-news-img{
    /*width: 125px;*/
    flex-shrink: 0;
    border: 1px solid #414544;
    overflow: hidden;
    position: relative;
    /*height: 125px;*/
    text-align: center;
}
.main-news-img a{
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    width: 100%;
}
.main-news-img img{
    /*height: 100%;*/
}
.main-news-date{
    font-size: 14px;
    color: #9a9a9a;
    margin-top: 8px;
}
.main-news-anounce{
    margin-top: 14px;
    font-size: 18px;
}

/*новости на главной - конец*/

/*страница новостей - начало*/

.news-detail-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.news-detail-img + .news-detail-content{
    margin-left: 15px;
}
.news-detail-content{
flex-grow:1;
width: 100%;
order: 2;
}
.news-detail-name{
    font-size: 18px;
    line-height: 1;
}
.news-detail-name a{

}
.news-detail-img-block {
    order: 1;
}
.news-detail-img-block + .news-detail-content{
    margin-left: 15px;
}
.news-detail-img{
    width: 125px;
    flex-shrink: 0;
    border: 1px solid #414544;
    overflow: hidden;
    position: relative;
    height: 125px;
    text-align: center;
    margin: 5px;
}
.news-detail-img a{
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    align-items: center;
}
.news-detail-img img{
    /*height: 100%;*/
}
.news-detail-date{
    font-size: 14px;
    color: #9a9a9a;
    margin-top: 8px;
}
.news-detail-anounce{
    margin-top: 14px;
    font-size: 18px;
}

.news-detail-page-block{
    display: flex;
    flex-wrap: wrap;
	padding-right: 23px;
}
.news-detail-img-page-block{
    order: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.news-detail-page-img{
    width: 23%;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 120px;
    margin: 5px;
}
.news-detail-page-img a{
position: relative;
height: 100%;
width: 300%;
left: -100%;
display: block;
}
.news-detail-page-img img{
height: 100%;
}

.news-detail-img-page-block-one{
    order: 1;
    display: flex;
    width: 100%;
    justify-content: center;
}
.news-detail-page-one{
    width: 100%;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 300px;
    margin: 5px auto;
}
.news-detail-page-one a{
position: relative;
height: 100%;
width: 300%;
left: -100%;
display: block;
}
.news-detail-page-one img{
height: 100%;
}

.news-detail-page-content{
    order: 1;
    margin-bottom: 15px;
}
.news-detail-page-link{
    text-align: right;
    font-size:18px;
}

/*страница новостей - конец*/


/*обращения - начало*/

.obr-detail-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.obr-detail-img + .obr-detail-content{
    margin-left: 15px;
}
.obr-detail-content{
flex-grow:1;
width: 100%;
order: 2;
}
.obr-detail-name{
    font-size: 18px;
    line-height: 1;
}
.obr-detail-name a{

}
.obr-detail-img-block {
    order: 1;
}
.obr-detail-img-block + .obr-detail-content{
    margin-left: 15px;
}
.obr-detail-img{
    width: 125px;
    flex-shrink: 0;
    border: 1px solid #414544;
    overflow: hidden;
    position: relative;
    height: 125px;
    text-align: center;
    margin: 5px;
}
.obr-detail-img a{
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    align-items: center;
}
.obr-detail-img img{
    /*height: 100%;*/
}
.obr-detail-date{
    font-size: 14px;
    color: #9a9a9a;
    margin-top: 8px;
}
.obr-detail-anounce{
    margin-top: 14px;
    font-size: 18px;
}

.obr-detail-page-block{
    display: flex;
    flex-wrap: wrap;
}
.obr-detail-img-page-block{
    order: 1;
    display: flex;
    width: 100%;
    justify-content: center;
}
.obr-detail-page-img{
    width: 100%;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 300px;
    margin: 5px auto;
}
.obr-detail-page-img a{
position: relative;
height: 100%;
width: 300%;
left: -100%;
display: block;
}
.obr-detail-page-img img{
height: 100%;
}

.obr-detail-page-content{
    order: 1;
    margin-bottom: 15px;
}
.obr-detail-page-link{
    text-align: right;
    font-size:18px;
}


/*обращения - конец*/



/*статьи - начало*/

.article-detail-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.article-detail-img + .article-detail-content{
    margin-left: 15px;
}
.article-detail-content{
flex-grow:1;
}
.article-detail-name{
    font-size: 18px;
    line-height: 1;
}
.article-detail-name a{
    
}
.article-detail-name a:not([href]){
    color:#000000;
}
.article-detail-name a:not([href]):hover{
    text-decoration: none;
}
.article-detail-img{
    width: 125px;
    flex-shrink: 0;
    border: 1px solid #414544;
    overflow: hidden;
    position: relative;
    height: 125px;
    text-align: center;
}
.article-detail-img a{
    display: block;
    position: relative;
    height: 100%;
    width: 300%;
    left: -100%;
}
.article-detail-img img{
height: 100%;
}
.article-detail-date{
    font-size: 14px;
    color: #9a9a9a;
    margin-top: 8px;
}
.article-detail-anounce{
    margin-top: 14px;
    font-size: 18px;
}

.article-detail-page-block{

}
.article-detail-page-img{
width: 100%;
position: relative;
max-height: 300px;
text-align: center;
overflow: hidden;
}
.article-detail-page-img div{
position: relative;
height: 100%;
width: 300%;
left: -100%;
}
.article-detail-page-img img{
height: 100%;
}
.article-detail-page-content{

}
.article-detail-page-link{
    text-align: right;
    font-size:18px;
}

.article-detail-file{
    margin-top: 10px;
    text-align: right;
    padding-right: 15px;
    font-size: 18px;
}

/*статьи - конец*/


/*актуально - начало*/

.actual-wrap{
    /*border: 1px solid #e1e5e8;*/
    border: 1px solid transparent;
    padding: 7px;
}
.actual-head{
    border-bottom: 1px solid #e1e5e8;
    padding-bottom: 2px;
    margin-bottom: 5px;
    margin-top: 8px;
}
.actual-head h2{
    font-size: 24px;
    margin: 0px;
}
.actual-block{
    margin-top: 21px;
}
.actual-item{
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.actual-item:last-child{
    margin-bottom: 0px;
}
.actual-content{
    flex-grow: 1;
    width: 100%;
    margin-bottom: 22px;
}
.actual-name{
    font-size: 18px;
    line-height: 1;
}
.actual-name a{
}

/*актуально - конец*/

/*баннеры справа - начало*/

.banner-right-wrap{
    margin-top: 20px;
    padding: 0px 10px;
}
.banner-right-item{
    margin-bottom: 8px;
}
.banner-right-img{
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
}
.banner-right-img a{
    display: block;
    position: relative;
    height: auto;
}
.banner-right-img img{
width: 100%;
}

/*баннеры справа - конец*/


footer{
    margin-top: 30px;
    background-color: #454545;
    padding: 15px;
    color: #fff;
}
.subscribe-wrap{
    width: 20%;
	display: inline-block;
	float: right;
}
.subscribe-head{
    font-family: PNB;
    font-size: 18px;
    line-height: 1;
}
.subscribe-form label{
    display: none;
}
.subscribe-form form{
    display: flex;
    background-color: #626262;
    margin-top: 10px;
    box-shadow: 0px 1px 1px 0px #000000 inset;
}
.subscribe-form section{

}
.subscribe-form section:nth-child(1){
    flex-grow: 1;
}
.subscribe-form section:nth-child(2){
    
}
.subscribe-form input[type=text]{
    width: 100%;
    background-color: transparent;
    padding: 10px 13px;
    border: 0px solid transparent;
    color: #ffffff;
}
.subscribe-form input[type=submit]{
    background-color: transparent;
    border: 0px solid transparent;
    padding: 8px 10px;
    color: red;
    font-family: PNB;
    line-height: 1;
    font-size: 18px;
    cursor: pointer;
}
.subscribe-comment{
    color:red;
}

.rss{
    display: flex;
    align-items: center;
    margin: 8px 0px;
    font-size: 14px;
}
.rss a{
    background: url(./images/rss.jpg) 0px 0px no-repeat;
    width: 57px;
    height: 22px;
    display: block;
    margin-right: 8px;
}
.copyright{
    text-align: center;
	display: inline-block;
	float: left;
	width: 80%;
}
@media (max-width: 768px) {
	.copyright{
		width: 100%;
	}
	.subscribe-wrap {
		width: 250px;
		clear: both;

	}
}
#fancybox-wrap, #fancybox-wrap *{
    box-sizing: content-box;
}
.zakony-omsu .article-detail-name {
	max-width: 90%;
}