/* reset */
.head-search-block form,.right-head-block .user-name{margin:0}

/*** BX PANEL ***/
#ip51-panel{position:relative}

/*** PAGE ***/
body{
	background-image:url('images/fon_white.jpg?86400');
	background-repeat:repeat-y;
	background-position:top center;
	background-color:#fafafa;
	font-family:'Fira Sans', sans-serif;
	margin:0px;
	padding:0px;
	height:100%;
	width:100%;
    background-attachment: fixed;
}

/* head */
.slogan{color:#fff}
#ip51_head .logo img{
	max-width:280px;
	-moz-transition:all 0.5s ease-out;
	-o-transition:all 0.5s ease-out;
	-webkit-transition:all 0.5s ease-out;
    opacity: 1;
}
#ip51_head .logo img:hover{
	-webkit-transform:scale(1.1);
	-moz-transform:scale(1.1);
	-o-transform:scale(1.1);
    opacity: 1;
}
.ip51-head-block{padding-top:75px;background-color:transparent}
.contacts{text-shadow:0px 0px 2px #828282}
.company-phone a{color:#e22b2b;font-weight:bold;text-decoration:none}
.company-phone a:hover{color:#e22b2b;text-decoration:none}
.company-phone div{color:#e22b2b;font-size:80%;display:inline}
.company-phones a{font-size: 14px;color: rgb(226, 43, 43);text-decoration: none;}
.company-phones a span{font-size: 15px;}
.phone-table{margin:0px auto;border-collapse:collapse}
.header-phone{font-size:200%}
.center-head-block{font-size:24px}
.ip-tel,.ip-tel:hover{color:#000;text-decoration:none}
.footer-phone{font-size:200%}
.ip51-head-menu-wrap{}
.body-bg{background-color:transparent}
/*.body-bg{background-color:rgba(255, 255, 255, 0.6)}*/
.ip51-footer{
	/*background-color:rgba(255,255,255,0.6);*/
	/*border-top:1px solid rgb(0, 80, 158)*/
}
#bx-composite-banner{display:inline-block}

/**/
hr{
	border:none;
	border-bottom:1px solid rgb(0, 80, 158);
	margin-top:10px
}
.include-body-top img{width:100%}

/*** BUTTONS ***/
.back_btn{margin:15px 0 0 0}
.ip51_button_metro_size120{width:120px;height:inherit;line-height:normal}
.ip51_button_metro_size160{width:160px;height:inherit;line-height:normal}
.ip51_button_metro{
	/*background:#85b914;*/
    background:#BDECB6;
	color:#000;
    text-transform: uppercase;
	border:none;
	position:relative;
	height:40px;
	font-size:14px;
	text-decoration:none !important;
	text-align:center;
	display:block;
	margin:0 auto;
	padding:5px;
	line-height:30px;
	cursor:pointer;
	transition:800ms ease all;
	outline:none
}
.ip51_button_metro:hover{
	background:transparent;
	color:#1AAB8A
}
.ip51_button_metro:before,
.ip51_button_metro:after{
	content:'';
	position:absolute;
	top:0;
	right:0;
	height:2px;
	width:0;
	background: #1AAB8A;
	transition:400ms ease all
}
.ip51_button_metro:after{
	right:inherit;
	top:inherit;
	left:0;
	bottom:0
}
.ip51_button_metro:hover:before,
.ip51_button_metro:hover:after{
	width:100%;
	transition:800ms ease all
}
.scroll_top{
	position:fixed;
	background-image:url("images/up.png?86400");
	background-repeat:no-repeat;
	z-index:801;
	bottom:10px;
	right:10px;
	width:64px;
	height:64px;
	cursor:pointer
}
.scroll_top span{
	padding:10px 0px 0px 32px;
	position:relative;
	display:block;
	color:RGB(21, 160, 0);
	text-shadow:0px 0px 2px rgb(204, 204, 204)
}

.owner{font-size:80%;margin:5px 0}
.creator:hover,.workonbx:hover{text-decoration:underline}
.creator,.workonbx{font-size:80%}

/* mobile font */
@media (min-width:280px) and (max-width:991px){
	body#ip51{font-size:0.85rem}
}

@media all and (orientation:landscape){
	#ip51_head .logo img{}
}
@media all and (orientation:portrait){
	#ip51_head .logo img{}
}

@media (min-width:280px) and (max-width:1200px){
	.contacts .phone-table td img{display:none}
}
@media (min-width:992px) and (max-width:1200px){
	.ip51-head-block .center-head-block{font-size:36px}
}
@media (min-width:769px) and (max-width:991px){
	.ip51-head-block .center-head-block{font-size:26px}
	.mobile-off{display:none}
	.mobile-mtop{margin-top:10px}
	.header-phone{font-size:150%}
}
@media (min-width:577px) and (max-width:768px){
	.ip51-head-block .center-head-block{font-size:28px}
	.bx-breadcrumb{display:none}
	.mobile-off{display:none}
	.mobile-mtop{margin-top:10px}
}
@media (min-width:280px) and (max-width:576px){
	#ip51_head .logo img{width:100%}
	.ip51-head-block .center-head-block{font-size:26px}
	.bx-breadcrumb{display:none}
	.mobile-off{display:none}
	.mobile-mtop{margin-top:10px}
}

/*** MODAL ***/
.modal_background{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:9999;
	background:rgba(0,0,0,0.6);
	display:none;
	flex-direction:column;
	align-items:center;
	justify-content:center
}
.modal_form{
	background:#fff;
	border-radius:2px;
	width:500px;
	padding:40px 30px;
	position:relative;
	display:none;
	max-width:100%
}
a.close_form{
	position:absolute;
	right:30px;
	top:40px;
	z-index:5
}