body {
  padding-top: 70px;
  padding-bottom: 30px;
}
.photo100 img{ width:100%; height:auto;}
.photo100 img.astat{ /* для всех потомков */ 
  all: initial;
  width: inherit;
  height: inherit;
}
.photo100 iframe{width:100%;border:0;}
.photo100 a{text-decoration: underline;}

.neighbors img{    -moz-transition: 1s ease;; /* Для Firefox */
    -ms-transition: 1s ease;; /* Для IE */
    -webkit-transition: 1s ease;; /* Для Safari, Chrome, iOS */
    -o-transition: 1s ease;; /* Для Opera */
    transition: 1s ease;}
.neighbors img:hover{
    -moz-transform: rotate(30deg); /* Для Firefox */
    -ms-transform: rotate(30deg); /* Для IE */
    -webkit-transform: rotate(30deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(30deg); /* Для Opera */
    transform: rotate(30deg);}

.image {
	position	: relative;
	width		: 100%; /* for IE 6 */
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.image p {
	position	: absolute;
	bottom		: 5%;
	left		: 0;
	width		: 100%;
}

.image span {
	color			: #fff;
	font-size:12px;
	letter-spacing: 5px;
	text-transform:uppercase;
	background		: #4d72c0; /* на случай, если следующая строка не сработает */
	padding			:4px 10px ;
	    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.image span:hover {

	background		: rgba(150,0,0,0.2); /* на случай, если следующая строка не сработает */
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.page_thumb {
	position	: relative;
	width		: 100%; /* for IE 6 */
	margin-right: 15px;
}

.page_thumb p {
	position	: absolute;
	right		: 0;
	width		: 100%;
top: 5px;
}

.page_thumb span {
    	max-width		: 45%;
	color			: #fff;
	font-size:10px;
	background		: rgba(150,0,0,0.4); /* на случай, если следующая строка не сработает */
	padding			:0px 10px ;
	    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.page_thumb span:hover {
padding			:0px 20px ;
	background		: rgba(150,0,0,0.2); /* на случай, если следующая строка не сработает */
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.outside {background:#4d72c0;color:#fff; margin:10px 0;}
.outside a{color:#fff;}
.outside h7{ font-weight:600;}
.outside span{float:right}
.theme-dropdown .dropdown-menu {
  display: block;
  position: static;
  margin-bottom: 20px;
}
h6{ text-transform:uppercase;}
.theme-showcase > p > .btn {
  margin: 5px 0;
}


.newsarchivecontainer { font-family: sans-serif; color: #666; }
.newsarchivecontainer ul.arc-year-group {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
}
    .newsarchivecontainer li.arc-year-group-row {
        display: block;
        overflow: hidden;
    }
        /* year (number) */
        .newsarchivecontainer li.arc-year-group-row > a,
        .newsarchivecontainer li.arc-year-group-row > a:link,
        .newsarchivecontainer li.arc-year-group-row > a:visited {
            text-decoration: none;
            color: #777;
            font-size: 18px;
        }
        .newsarchivecontainer li.arc-year-group-row > a:hover,
        .newsarchivecontainer li.arc-year-group-row > a:active {
            color: #000;
        }
        .newsarchivecontainer ul.arc-group {
            display: block;
            list-style: none;
            margin: 0;
            padding: 0;
        }
            .newsarchivecontainer li.arc-row {
                display: block;
                float: left;
                margin-right: 5px;
            }
            .newsarchivecontainer li.arc-row:last-child {
                margin-right: 0;
            }
                /* month (name - short)*/
                .newsarchivecontainer ul.arc-group a,
                .newsarchivecontainer ul.arc-group a:link,
                .newsarchivecontainer ul.arc-group a:visited {
                    text-decoration: none;
                    display: block;
                    padding: 3px 6px;
                    color: inherit;
                    background-color: #fbfbfb;
                    border: 1px solid #e0e0e0;
                    border-top-width: 3px;
                    border-bottom-width: 3px;
                }
                .newsarchivecontainer ul.arc-group a:hover,
                .newsarchivecontainer ul.arc-group a:active {
                    border-color: #666;
                }
                    .newsarchivecontainer ul.arc-group span {
                        display: block;
                        font-size: 12px;
                        text-align: center;
                        color: #c0c0c0;
                    }
                    
#mansory {
	width: auto;
}

.item {
	display: block;
	float: left;
	height: 310px;
	margin-bottom:15px;
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
transition-duration: 0.5s;

}

@media screen and (max-width: 800px){
.item {
	display: block;
	float: left;
	height: 310px; 
	margin-bottom:15px;
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
transition-duration: 0.5s;

}
}

hr.red {
margin-top: -10px;
margin-bottom: 20px;
border-width: 2px 0px 0px;
border-style: solid none none;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
border-color: #4d72c0 -moz-use-text-color -moz-use-text-color;
margin-left: 240px;
}

hr.red2 {
margin-top: -20px;
margin-bottom: 20px;
border-width: 1px 0px 0px;
border-style: solid none none;
-moz-border-top-colors: none;
-moz-border-right-colors: none;
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
border-image: none;
border-color: #4d72c0 -moz-use-text-color -moz-use-text-color;

}
.red {color: #4d72c0;}
.gray {color: #A6A6A6;}
.blue {color: #102737;}
a.lang {
    color: #a6a6a6;
    padding-right: 15px;
	margin-top:15px;
	text-transform:uppercase;
	font-size: 12px;
}

a.lang:hover, a.lang.active{
	    color: #4d72c0;
	text-decoration:underline;
}
a.link {
    color: #4d72c0;
    padding-right: 15px;
text-decoration:underline;
text-decoration-color: #f4da00;
}

a.link:hover, a.link.active{
	color: #a6a6a6;
	text-decoration: none;
}
.bottom20{
	margin-bottom:20px;}
	
.top15{margin-top: 15px; border-radius: 2px;}
.right50{margin-right: 50px;}
.left20{margin-left: 20px;}
.left50{margin-left: 50px;}
	h6{ color:#4d72c0; font-size:16px; font-weight:600;}
.sml{font-size:12px; line-height: 17px;}
p.sml i{padding-left: 10px;}
p.bb{font-weight: 600;}
p.line{border-bottom: 1px solid #f4da00;}
.bord ht, .bord td, .bord tr {border: 1px solid #ccc;}

/* Main menu wrapper */
.cbp-hsmenu-wrapper {
	position: relative;
}

/* Common style for all lists */
.cbp-hsmenu-wrapper ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
}

/* 100% width bar for menu */
.cbp-hsinner {
	background: #4d72c0;
	position: relative;
	z-index: 100;
/*	border-bottom: 1px solid #ccc; */
	border-radius: 2px;
}

/* Main menu style */
.cbp-hsmenu-wrapper .cbp-hsmenu {
width: 100%;
padding: 0px 0.8em;
/*	max-width: 69em;
	margin: 0 auto; */

}

.cbp-hsmenu > li {
	margin-left: 1em;
	display: inline-block;
}

.cbp-hsmenu > li:first-child {
	margin-left: 0;
}

/* Main menu link style */
.cbp-hsmenu > li > a {
	color: #fff;
	font-size: 1em;
	line-height: 2.7em;
	display: inline-block;
	position: relative;
	z-index: 10000;
	outline: none;
	text-transform:uppercase;
	-webkit-transition: all opacity 0.1s 0s;
	-moz-transition: all opacity 0.1s 0s;
	transition: all opacity 0.1s 0s;
}

.cbp-hsmenu > li > a:hover {
	color: #f4da00;
	-webkit-transition: all opacity 0.1s 0s;
	-moz-transition: all opacity 0.1s 0s;
	transition: all opacity 0.1s 0s;
}

.no-touch .cbp-hsmenu > li > a:hover,
.no-touch .cbp-hsmenu > li > a:focus,
.cbp-hsmenu > li.cbp-hsitem-open > a {
	color: #ccc;
}
.brd{
border: 2px solid #4d72c0;
}
.bgray{
	border-top:2px solid #f4da00;
	background-color:#f1f1f1;
    border-bottom: 1px solid #ccc;
}
.bgray a{color:#102737;}
.bgray a:hover{color:#4d72c0;}
.bgray a.red{color:#4d72c0;}
a.blue{color:#102737;}
/* Add a triangle to currently open menu item link */
.cbp-hsmenu > li.cbp-hsitem-open > a:after {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: transparent;
	border-top-color: #4d72c0;
	border-width: 10px;
	left: 50%;
	margin-left: -10px;
}

/* Submenu style */
ul.cbp-hssub-rows {
	background:#102737;}


.cbp-hssubmenu {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	z-index: 0;
	/*text-align: center;  for aligning the sub items */
	visibility: hidden;
}

.cbp-hssubmenu:before, 
.cbp-hssubmenu:after { 
	content: " "; 
	display: table; 
}
.cbp-hssubmenu:after { 
	clear: both; 
}

/* Let's allow 6 item in a row */
.cbp-hssubmenu > li {
	display: inline-block;
	vertical-align: top;
/*	border-right: 1px solid #ddd; */
	opacity: 0;
	-webkit-transition: opacity 0.1s 0s;
	-moz-transition: opacity 0.1s 0s;
	transition: opacity 0.1s 0s;
}

/* First 6 items don't have upper box shadow */
.cbp-hssubmenu > li:nth-child(-n+6) {

/*	border-right: 1px solid #ddd; */
} 

/* Every 7th item does not have a left box shadow */
.cbp-hssubmenu > li:nth-child(6n+1) {
/*	border-right: 1px solid #ddd; */
}

/* The first one does not have any box shadow */
.cbp-hssubmenu > li:first-child {
	box-shadow: none;
}

.cbp-hssubmenu > li a {
	display: block;
	text-align: center;
	color: #a2a2a2;
	outline: none;
padding: 0em 0.5em;
}

.no-touch .cbp-hssubmenu > li a:hover,
.no-touch .cbp-hssubmenu > li a:focus {
	color: #888;
}

.cbp-hssubmenu > li a img {
	border: none;
	outline: none;
	display: inline-block;
	margin: 0;
	max-width: 100%;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
}

.no-touch .cbp-hssubmenu > li a:hover img {
	opacity: 0.5 !important;
}

.cbp-hssubmenu > li a span {
	display: block;
min-height: 2em;
margin-top: 0.5em;
	font-weight:400;
	color:#fff;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
	z-index: 1000;
	visibility: visible;
}

.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu > li {
	opacity: 1;
	-webkit-transition: opacity 0.5s 0.1s;
	-moz-transition: opacity 0.5s 0.1s;
	transition: opacity 0.5s 0.1s;

}

/* Helper div for animating the background */
.cbp-hsmenubg {
	background: #f7f7f7;
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	z-index: 0;
	height: 0px;
}

.no-touch .cbp-hsmenubg {
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

@media screen and (max-width: 65em){
	.cbp-hsmenu-wrapper {
		font-size: 80%;
	}
}

@media screen and (max-width: 45.4375em){
	.cbp-hsmenu-wrapper {
		font-size: 100%;
	}

	.cbp-hsmenu-wrapper .cbp-hsmenu {
		padding: 0;
		max-width: none;
		width: 100%;
	}

	.cbp-hsmenu > li {
		border-top: 1px solid rgba(255,255,255,0.5);
		text-align: center;
		margin: 0 auto;
		display: block;
	}

	.cbp-hsmenu > li:first-child {
		border-top: none;
	}

	.cbp-hsmenu > li > a {
		display: block;
	}

	.cbp-hsmenu > li > a:not(:only-child):before {
		line-height: 1.8;
		right: 0;
		position: absolute;
		font-size: 200%;
	}

	.cbp-hsmenubg {
		display: none;
	}

	.cbp-hssubmenu {
		background: #f7f7f7;
		position: relative;
		overflow: hidden;
		height: 0;
	}

	.cbp-hsmenu > li.cbp-hsitem-open .cbp-hssubmenu {
		height: auto;
	}

	/* Let's only allow 3 item in a row now */
	.cbp-hssubmenu > li {
		width: 30%;
	}

	/* Reset box shadows for the 6 items in row case */
	.cbp-hssubmenu > li:nth-child(-n+6),
	.cbp-hssubmenu > li:nth-child(6n+1) {
		box-shadow: -28px 0 0 -27px #ddd, 0 -28px 0 -27px #ddd;
	}

	/* First 4 items don't have upper box shadow */
	.cbp-hssubmenu > li:nth-child(-n+3) {
		box-shadow: -28px 0 0 -27px #ddd;
	} 

	/* Every 5th item does not have a left box shadow */
	.cbp-hssubmenu > li:nth-child(3n+1) {
		box-shadow:  0 -28px 0 -27px #ddd;
	}

}

@media screen and (max-width: 25em){
	/* Let's only allow 1 item in a row now */
	.cbp-hssubmenu > li {
		width: 100%;
		display: block;
	}

	.cbp-hsmenu-wrapper .cbp-hssubmenu > li {
		box-shadow: 0 1px #cecece;
		text-align: left;
	}

	.cbp-hssubmenu > li a {
		text-align: left;
		line-height: 50px;
		padding: 0.4em 1em;
	}

	.cbp-hssubmenu > li a img {
		float: left;
		max-height: 50px;
	}

	.cbp-hssubmenu > li a span {
		min-height: 0;
		margin: 0;
	}
}

@media (max-width:985px) {
   .hide985{
       display:none;
   }
}
@media (max-width:1200px) {
   .hide1200{
       display:none;
   }
}
@media only screen and (min-width: 120px) and (max-width: 800px) {
.bottom20 {
    margin-bottom: 0;
}
.size {
    overflow: hidden;
    font-weight:600;
    text-overflow: ellipsis;
    display: -webkit-box;
    height: 173px;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}
}