.entry-content>p>ymaps{
	margin-left:auto;
	margin-right:auto;
}

/* Hide content*/
.page-id-202 .mega-container #content,
.page-id-296 .mega-container #content,
.page-id-588 .mega-container #content,
.page-id-596 .mega-container #content,
.page-id-584 .mega-container #content{
	display: none;
}

.empty_line{
	clear: both;
	padding-top: 20px;
	padding-bottom: 10px;
}

#tablepress-1 thead th,
#tablepress-8 thead th,
#tablepress-10 thead th,
#tablepress-13 thead th
{
	background-color: rgba(91, 74, 155, 0.5);
}

#tablepress-1 .row-7 td,
#tablepress-1 .row-13 td,
#tablepress-8 .row-7 td,
#tablepress-8 .row-13 td,
#tablepress-10 .row-7 td,
#tablepress-10 .row-13 td{
	background-color: rgba(91, 74, 155, 0.5);
	font-weight: 700;
	vertical-align: middle;
}

#tablepress-11 img.border-image,
#tablepress-12 img.border-image{
	border: 3px solid #eee;
	padding:3px;
}

#ir35photo img.border-image,
#perimeter-o-photo img.border-image,
#perimeter-mb-photo img.border-image,
#ttm640-photo img.border-image{
	border: 3px solid #eee;
	padding:3px;
	margin:3px;
}

#tablepress-12 td{
	width: 33%;
}

#tablepress-1,
#tablepress-8,
#tablepress-10,
#tablepress-13
{
	width: auto;
	min-width: 750px;
}

#prim-header h1.entry-title {
	font-weight: normal;
	color: #333;
	font-size: 34px;
	margin-top: 0px;
	padding: 10px;
	padding-left: 0;
	margin-bottom: 0px; 
}

#page-header{
	text-align: center;
}

#docs-grid{
	width: 60%;
}

@media screen and (max-width: 991px) {
	#docs-grid{
		width: 80%;
	}
}

#tablepress-14 td.column-1, #tablepress-15 td.column-1{
	vertical-align: middle;
}
#tablepress-14 td.column-2, #tablepress-15 td.column-2{
	max-width: 100px;
}

#post-37 form.wpcf7-form p{
	text-align: center;
}
#post-37 form.wpcf7-form p label{
	text-align: left;
}
#post-37 form.wpcf7-form input.wpcf7-submit{
	margin-left: 20px;
}

.wpcf7-form input.wpcf7-text,
.wpcf7-form textarea{
	width: 400px;
}

.fg-item{
	text-align: center;
}

/* HEADER */
#text-title-desc
{
	text-align: left;
    padding-left: 50px;
}

#masthead .masthead-inner .social-icons{
	padding: 39px 0;
}

#site-logo{
	position: absolute;
	margin-left: 15px;
}

#site-logo img{
	height: 116px;
}

#masthead .masthead-inner .site-branding{
	padding-top: 35px;
}

#searchicon span{
	text-shadow: #5b4a9b 1px 1px 0, #5b4a9b -1px -1px 0,
	#5b4a9b -1px 1px 0, #5b4a9b 1px -1px 0;
}

#masthead .social-icons .soc{
	margin-right: 11px;
}

#masthead .social-icons .flags{
	border: none;
	padding: 0;
}
#masthead .social-icons .flags img{
	max-width: none;
}
#masthead .soc-block{
	padding-right: 50px;
}
#masthead .social-icons .flag-ru{
	margin-right: 20px;
}

/* hdr1 - for search result*/
.search-results #masthead,
.error404 #masthead{
	background-image: url("../images/hdr1.jpg");
}

/* hdr3 - Gallery */
.page-id-192 #masthead
{
	background-image: url("../images/hdr3.jpg");
	background-position-y: center;
}

/* hdr4 - Новости */
.blog #masthead{
	background-image: url("../images/hdr4.jpg");
	background-position-y: bottom;
}
/* hdr7 - Продукция/камеры */
.page-id-296 #masthead,
.page-id-293 #masthead,
.page-id-425 #masthead,
.page-id-588 #masthead,
.page-id-596 #masthead,
.page-id-423 #masthead,
.page-id-594 #masthead,
.page-id-584 #masthead
{
	background-image: url("../images/hdr7-2.jpg");
	background-position-y: bottom;
}
/* hdr8 - Галерея/документация */
.page-id-194 #masthead,
.page-id-13 #masthead,
.page-id-15 #masthead
{
	background-image: url("../images/hdr8.jpg");
	background-position-x: right;
	background-position-y: bottom;
}
/* hdr9 - Галерея/фото */
.page-id-190 #masthead{
	background-image: url("../images/hdr9.jpg");
	background-position-y: bottom;
}

.single-post #masthead {
	background-image: url("../images/hdr4.jpg");
	background-position-y: bottom; 
}

/* FOOTER*/
.site-footer{
	height: 116px;
}
.footer-logo1{
	float: left;
}
.footer-logo2{
	float: right;
}

#primary-mono footer.entry-footer{
	/*display: none;*/
	border-top: none;
	border-bottom: none;
}
/* MEDIA SCREEN STYLES*/

@media screen and (min-width: 1600px) {	/* width >= 1600 */
	/* hdr1 - main*/
	.page-id-6 #masthead{
		background-image: url("../images/hdr1-2.jpg");
	}
}
@media screen and (max-width: 1599px) {	/* width <= 1599 */
	/* hdr1 - main*/
	.page-id-6 #masthead{
		background-image: url("../images/hdr1.jpg");
	}
}

@media screen and (min-width: 1346px) {/* width >= 1346 */
	/* hdr5 - Контакты */
	.page-id-37 #masthead
	{
		background-image: url("../images/hdr5.jpg");
		background-position-y: bottom;
	}
	/* hdr6 - Применение жд/неф/аэро/энерг */
	.page-id-80 #masthead,
	.page-id-90 #masthead,
	.page-id-68 #masthead,
	.page-id-98 #masthead,
	.page-id-114 #masthead
	{
		background-image: url("../images/hdr6.jpg");
		background-position-y: bottom;
	}
}
@media screen and (max-width: 1345px) {/* width <= 1345 */

	/* hdr3 - Фото/Видео/Док */
	.page-id-192 #masthead,
	{
		background-image: url("../images/hdr3.jpg");
		background-position-y: center;
	}
	/* hdr5 - Контакты */
	.page-id-37 #masthead
	{
		background-image: url("../images/hdr5.jpg");
		background-position-y: bottom;
	}
	/* hdr6 - Применение жд/неф/аэро/энерг */
	.page-id-80 #masthead,
	.page-id-90 #masthead,
	.page-id-68 #masthead,
	.page-id-98 #masthead,
	.page-id-114 #masthead
	{
		background-image: url("../images/hdr6.jpg");
		background-position-x: right;
	}
}

@media screen and (min-width: 1200px) {/* width >= 1200 */
	/* hdr2 - Системы/камеры */
	.page-id-201 #masthead,
	.page-id-202 #masthead,
	.page-id-244 #masthead,
	.page-id-266 #masthead
	{
		background-image: url("../images/hdr2.jpg");
		/*background-position-y: center;*/
	}
}

@media screen and (max-width: 1199px) { /* width <= 1199 */
	/* hdr2 - Системы/камеры */
	.page-id-201 #masthead,
	.page-id-202 #masthead,
	.page-id-244 #masthead,
	.page-id-266 #masthead
	{
		background-image: url("../images/hdr2-2.jpg");
		background-position-y: center;
	}
	/* hdr4 - Новости */
	.blog #masthead,
	.single-post #masthead{
		background-position-x: left;
	}
}

@media screen and (max-width: 991px) {
	/* hdr3 - Фото/Видео/Док */
	.page-id-192 #masthead,
	{
		background-image: url("../images/hdr3-2.jpg");
	}
	 /*hdr4 - Новости*/
	.blog #masthead,
	.single-post #masthead{
		background-position-x: -120px;
	}
	/* hdr7 - Продукция/камеры */
	.page-id-296 #masthead,
	.page-id-293 #masthead,
	.page-id-425 #masthead,
	.page-id-588 #masthead,
	.page-id-596 #masthead,
	.page-id-423 #masthead,
	.page-id-594 #masthead,
	.page-id-584 #masthead{
		background-image: url("../images/hdr7.jpg");
	}
}

@media screen and (max-width: 767px) { /* width <= 767 */
	#tablepress-1,
	#tablepress-8,
	#tablepress-10,
	#tablepress-13
	{
		width: 100%;
		min-width: 0;
	}
	.search-results #masthead{
		min-height: 0;
		background-image: none;
	}
	#masthead .masthead-inner .social-icons{
		padding: 5px 0;
	}
	.page #masthead,
	.single-post #masthead{
		min-height: 0;
		background-image: none;
	}
	.blog #masthead{
		min-height: 0;
		background-image: none;
	}
	#masthead .soc-block{
		padding-right: 0;
	}
	#masthead .masthead-inner .site-branding{
		padding: 4px 0;
	}
    #text-title-desc
    {
        text-align: center;
        padding-left: 0;
    }
}