.map-direction {width:auto; height:auto; position:static; left:auto; top:auto;}
.detail-video-block {margin-top:16px;}

/*Spoiler*/
.spoiler {margin:16px 0; border:1px solid #66797f; border-radius:4px; padding:5px 10px;}
.sp-title {font-weight:bold; cursor:pointer;}
.sp-text {display:none; padding-top:16px;}

.btn-footer-mod {float:right; border-bottom:0 none; border-top:0 none; line-height:30px; height:30px; margin:2.5px 0;}
@media(max-width:991px) {
	.footer .callback {margin-top:10px;}
}
@media(max-width:767px) {
	.btn-footer-mod {float:none;}
	.footer .callback {text-align:center;}
}

.footer .developer {float:right; padding-right:0; padding-left:42px; text-align:left;}
.footer .developer .logo {background:url(/local/codenails/images/logo-small.svg) center center no-repeat; border-radius:0; background-size: 32px 32px; left:0; right:auto;}
.footer .developer:hover .logo {background-color:transparent;}

.news .item-pic, .services-item .item-pic, .section-item .item-pic {background-color:transparent; background-size:contain; transition:transform 0.3s ease 0s;}
.news .item-pic:hover, .services-item .item-pic:hover, .section-item .item-pic:hover {transform: scale(1.25);}
.item-pic {background-position:center center; background-repeat:no-repeat;}
.item-pic.no-img {background-image:url(/local/codenails/images/logo-export-mono-alfa.svg);}

/*
.item-pic {background:url(/local/codenails/images/logo-export-default.png) center center no-repeat;}
.item-pic {background:url(/local/codenails/images/logo-export-default-alfa.png) center center no-repeat;}
.item-pic {background:url(/local/codenails/images/logo-export-default-mono.png) center center no-repeat;}
.item-pic {background:url(/local/codenails/images/logo-export-default-mono-alfa.png) center center no-repeat;}

.item-pic {background:url(/local/codenails/images/logo-export.svg) center center no-repeat;}
.item-pic {background:url(/local/codenails/images/logo-export-alfa.svg) center center no-repeat;}
.item-pic {background:url(/local/codenails/images/logo-export-mono.svg) center center no-repeat;}
.item-pic {background:url(/local/codenails/images/logo-export-mono-alfa.svg) center center no-repeat;}
*/

.rel {position:relative;}

.max-width img {max-width:100%;}
.stuff-title {font-weight:bold; text-transform:uppercase; text-align:center;}

/*.search { z-index:10; position:relative;}*/
.search {display:inline-block; float:right; position:relative; z-index:10;}
.search-inp {width:0px; opacity:0; overflow:hidden; position:absolute; right:33px; top:0; bottom:0; left:auto; background:#54156a;
	transition: all 0.5s ease, top 0s ease;
	-webkit-transition: all 0.5s ease, top 0s ease;
	-moz-transition: all 0.5s ease, top 0s ease;
	-o-transition: all 0.5s ease, top 0s ease;
	-ms-transition: all 0.5s ease, top 0s ease;
}
.search-inp input {width:calc(100% - 40px); height:46px; line-height:46px; margin:5px 0; border-radius:4px; background:#fff; border:1px solid #54156a; padding:0 10px;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
}
.search-btn {background:transparent; border:0 none; height:56px; line-ehight:56px; color:#fff;}
.search-btn:hover {background:#54156a;}

.search-close {display:inline-block; opacity:0; position:absolute; right:26px; top:14px; height:28px; width:28px; font-size:28px; line-height:28px; text-align:center; font-weight:bold; color:#d0e0e3; text-decoration:none;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
}
.search-inp .search-close {color:#d0e0e3; text-decoration:none;}
.search-close:hover {color:#8ea6ab; text-decoration:none;}


@media(max-width:1199px) {
	.header .logo img {max-height:120px; width:auto;}
	li.dropdown.more a {padding:18px 12px;}
}
@media(max-width:991px) {
	.settings-panel {display:none;}

	.navbar-brand > img {max-height:90px; width:auto;}
	.search {float:none; display:block; position:static;}
	/*padding: 9px 10px; width:44px; height:34px*/
	.search-btn {position:absolute; right:16px; top:56px; width:44px; text-align:center; height:34px; line-ehight:34px; border:1px solid #d0e0e3; border-radius:4px; z-index:10;}
	.search-btn i {color:#8ea6ab;}
	.search-btn:hover {border-color:#d0e0e3; background-color:#d0e0e3;}

	.search-inp {bottom:0; top:auto; left:0; right:0; background:#f1f6f7; height:0; width:100%; z-index:10;}
	.search-inp input {border:1px solid #d0e0e3; margin:5px 20px 10px;}
}

.search-page.mod form input {margin-bottom:5px;}
.search-page.mod form input[type="text"] {height:36px; line-height:36px; padding:0 10px; border:1px solid #66797f; border-radius:4px; position:relative; top:-1px;}
