/*-----------------------------------------------
CSS Framework Lisena
Author:   hmelii
Web:      http://www.hmelii.ru
Email:    anufry@inbox.ru
Version:  6.00 14.11.15 n
----------------------------------------------- */
/*---------------------- basic styles --------------------------------------*/
@import url("bases.css");
@import url(https://fonts.googleapis.com/css?family=EB+Garamond&subset=latin,cyrillic);
@import url("modals/slit.css");
/*---------------------- end basic styles ----------------------------------*/
/*---------------------- global --------------------------------------*/
html {
	height: 100%;
	overflow-y: scroll;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
.main_page {
	background: #261c1d url(../images/bg_2.png);
}
body {
	background: #261c1d;
	height: 100%;
	color: #c1b9ab;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 1.2;
	text-align: left;
	word-wrap: break-word;
}
input, button, select, textarea, html {
	font-family: "Times New Roman", sans-serif;
}
a {
	color: #fdf79d;
	text-decoration: underline;
}
a:hover, a:hover:visited {
	text-decoration: none;
}
.nu a:hover, a.nu:hover {
	text-decoration: underline;
}
.nu a, a.nu {
	text-decoration: none;
}
a.link_dashed, .link_dashed a {
	text-decoration: none;
	border-bottom: 1px dashed;
}
a.link_dashed:hover, .link_dashed a:hover {
	border: 0;
	text-decoration: none;
}
.h1 {
	background: rgba(4,10,5,0.30);
	font-size: 14px;
	font-size: 1.4rem;
	color: #fdf79d;
	margin: 0 0 14px;
	padding: 10px 16px 7px;
}
.main_page .h2 {
	margin: 0 0 14px;
}
.h2 {
	background: rgba(4,10,5,0.30);
	font-size: 14px;
	font-size: 1.4rem;
	color: #fdf79d;
	margin: 0 0 17px;
	padding: 10px 16px 8px;
}
.h3 {
	font-size: 19px;
	font-size: 1.9rem;
	font-weight: bold;
	margin: 0 0 1em;
}
.h4 {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: bold;
	margin: 0 0 1.33em;
}
.h5 {
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: bold;
	margin: 0 0 1.67em;
}
.h6 {
	font-size: 11px;
	font-size: 1.1rem;
	font-weight: bold;
	margin: 0 0 2.33em;
}
/*colors*/
/*end colors*/
/*fonts*/
.f-10 {
	font-size: 10px;
	font-size: 1rem;
}
.f-11 {
	font-size: 11px;
	font-size: 1.1rem;
}
.f-12 {
	font-size: 12px;
	font-size: 1.2rem;
}
.f-13 {
	font-size: 13px;
	font-size: 1.3rem;
}
.f-14 {
	font-size: 14px;
	font-size: 1.4rem;
}
.f-15 {
	font-size: 15px;
	font-size: 1.5rem;
}
.f-16 {
	font-size: 16px;
	font-size: 1.6rem;
}
.f-17 {
	font-size: 17px;
	font-size: 1.7rem;
}
.f-18 {
	font-size: 18px;
	font-size: 1.8rem;
}
.f-20 {
	font-size: 20px;
	font-size: 2rem;
}
/*end fonts*/
/*forms fields*/
.field {
	border: 1px solid #ddd;
	padding: 5px;
	-webkit-transition: all 0s ease 0s;
	transition: all 0s ease 0s;
}
.field:focus {
	border-color: #51cbee;
	-webkit-box-shadow: rgba(81, 203, 238, 1) 0px 0px 5px;
	box-shadow: rgba(81, 203, 238, 1) 0px 0px 5px;
}
 .field:-moz-placeholder {
 opacity: 1;
 color: gray;
 font-style: italic;
}
 .field::-moz-placeholder {
 opacity: 1;
 color: gray;
 font-style: italic;
}
 .field::-webkit-input-placeholder {
 opacity: 1;
 color: gray;
 font-style: italic;
}
 .field:-ms-input-placeholder {
 opacity: 1;
 color: gray;
 font-style: italic;
}
.field.placeholder {
	color: gray;
	font-style: italic;
}
.field.invalid {
	border-color: red;
}
.parent_field {
	display: inline-block;
	vertical-align: top;
}
.invalid_message {
	display: block;
	color: red;
	font-size: 11px;
	font-size: 1.1rem;
	line-height: 1.2;
}
.valid_message {
	display: none;
	color: green;
	font-size: 11px;
	font-size: 1.1rem;
	line-height: 1.2;
}
/*end forms fields*/
/*over blocks*/
.o {
	overflow: hidden;
}
.cx:before, .cx:after {
	content: "";
	display: table;
}
.cx:after {
	clear: both;
}
.ct {
	display: table;
}
.ct:after {
	content: '. . . . . . . . . . .';
	display: block;
	word-spacing: 99in;
	height: 0;
	overflow: hidden;
	font-size: 0.05em;
	line-height: 0.05em;
}
/*end over blocks*/
/*other*/
hr {
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	border: 0;
	margin: 0 0 10px;
	height: 0;
	display: block;
	width: 100%;
	vertical-align: top;
	overflow: hidden;
	border-top: 1px solid #a5b136;
}

::-moz-selection {
 background-color: rgba(255, 0, 0, 0.5);
 color: #fff;
 text-shadow: none;
}
::selection {
	background-color: rgba(255, 0, 0, 0.5);
	color: #fff;
	text-shadow: none;
}
 img::-moz-selection {
 background-color: transparent;
 -moz-box-shadow: none;
}
img::selection {
	background-color: transparent;
	box-shadow: none;
}
/*end other*/
/*---------------------- end global ----------------------------------*/
/*---------------------- wrapper ------------------------------------*/
.wrapper {
	min-width: 1000px;
	min-height: 100%;
	margin: auto;
	overflow: hidden;
	position: relative;
	z-index: 1;
}
.bg_top {
	background: url(../images/bg_1.png) 50% 0;
	height: 346px;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: -4;
}
.bg_left {
	content: "";
	background: rgba(4,9,5,0.30);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 50%;
	z-index: -3;
}
.inner {
	width: 942px;
	margin: auto;
}
.inner:before, .inner:after {
	content: "";
	display: table;
}
.inner:after {
	clear: both;
}
/*---------------------- *** ----------------------------------------*/
/*---------------------- header -------------------------------------*/
.header {
	padding: 144px 0 0;
	position: relative;
}
.logo {
	background: url(../images/logo.png) no-repeat;
	width: 257px;
	height: 124px;
	position: absolute;
	top: 15px;
	left: 0;
}
.logo .link {
	display: block;
	width: 257px;
	height: 124px;
}
.slogan {
	position: absolute;
	top: 83px;
	right: 0;
	font-family: 'EB Garamond', serif;
	font-size: 25px;
	color: #fff;
}
.nav {
	background: url(../images/menu.png) repeat-x;
	border: 1px solid #8f6f6d;
	height: 41px;
	position: relative;
	z-index: 10;
}
.nav > .list {
	display: table;
	width: 940px;
	position: relative;
	z-index: 1;
}
.nav > .list:before, .nav > .list:after, .nav > .list > .item:before, .nav > .list > .item:after {
	display: none;
}
.nav > .list > .item {
	background: url(../images/border_menu.png) no-repeat;
	display: table-cell;
	vertical-align: top;
	position: relative;
}
.nav > .list > .item:first-child {
	background: none;
}
.nav > .list > .item > .link {
	display: table;
	width: 100%;
	height: 41px;
	position: relative;
	color: #fdf79d;
	text-decoration: none;
	z-index: 2;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}
.nav > .list > .item:hover > .link, .nav > .list > .active > .link {
	background: url(../images/menu_hover.png) repeat-x;
	color: #d88180;
}
.nav .text {
	display: table-cell;
	vertical-align: middle;
	padding: 0 10px;
	text-align: center;
}
.nav .sub {
	position: absolute;
	top: -2px;
	left: -1px;
	width: 303px;
	display: none;
	z-index: 11;
}
.nav .sub_menu {
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI2MWQxZCIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzM3MWExOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
	background-image: -moz-linear-gradient(bottom, #261d1d 0%, #371a19 100%);
	background-image: -o-linear-gradient(bottom, #261d1d 0%, #371a19 100%);
	background-image: -webkit-linear-gradient(bottom, #261d1d 0%, #371a19 100%);
	background-image: linear-gradient(bottom, #261d1d 0%, #371a19 100%);
	border: 1px solid #8f6f6d;
	display: block;
	padding: 3px 11px 4px;
	float: left;
	position: relative;
}
.nav .sub_menu .item {
	font-size: 17px;
}
.nav .sub_menu .link {
	border-top: 1px solid #4f3b39;
	display: block;
	padding: 8px 11px;
	position: relative;
	color: #fdf79d;
	text-decoration: none;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}
.nav .sub_menu .item:first-child .link {
	border: none;
}
.nav .sub_menu .link:hover {
	color: #d88180;
}
.nav > .list > .item:hover .sub {
	display: block;
}
.main_page .promo_fig {
	margin: 0 1px;
}
.promo_fig {
	margin: 0 1px 13px;
}
.promo_fig .img {
	border-bottom: 5px solid rgba(3,7,4,0.30);
	vertical-align: top;
}
/*---------------------- end header ----------------------------------*/
/*---------------------- side ---------------------------------------*/
.side {
	width: 209px;
	margin: 25px 35px 0 0;
	position: relative;
	float: left;
}
.services_list_2 {
}
.services_list_3 .item {
	width: 209px;
	margin: 0 0 21px;
}
.services_list_3 .link {
	color: #fdf79d;
}
/*---------------------- end side ------------------------------------*/
/*---------------------- content -------------------------------------*/
.main_page .content {
	overflow : visible;
	padding: 0 0 29px;
}
.main_page .content:before, .main_page .content:after {
	content: "";
	display: table;
}
.main_page .content:after {
	clear: both;
}
.content {
	padding: 0 0 29px;
	position: relative;
	overflow: hidden;
}
.services_box {
	float: right;
	width: 447px;
	padding: 26px 0 0;
}
.services_box .h1 {
	background: none;
	padding: 0;
}
.services_list_1 {
	margin: 0 0 0 -28px;
}
.services_list_1 .item {
	width: 209px;
	margin: 0 0 20px 28px;
}
.services_list_1 .link {
	color: #fdf79d;
}
.services_list_1 .fig {
	display: block;
	margin: 0 0 5px;
}
.services_list_1 .img {
	vertical-align: top;
}
.about_box {
	float: left;
	width: 457px;
	margin: 18px 0 0;
}
.text_box p {
	text-indent: 18px;
}
.more {
	color: #fdf79d;
}
main_page .promo {
	clear: none;
	padding: 17px 0 0;
}
.promo {
	clear: both;
	border-top: 2px solid rgba(127,115,94,0.20);
	padding: 17px 0 29px;
	color: #8d8069;
}
.crumbs {
	margin: 0 0 6px;
}
.crumbs:before, .crumbs:after {
	display: none;
}
.crumbs:after {
	clear: both;
}
.crumbs .item {
	background: url(../images/pic8.png) no-repeat 3px 3px;
	display: inline;
	padding: 0 0 0 12px;
	font-size: 12px;
	color: #c1b9ab;
	line-height: 1.6;
}
.crumbs .item:first-child {
	background: none;
	padding-left: 0;
}
.crumbs .item:before, .crumbs .item:after {
	display: none;
}
.crumbs .item:after {
	clear: both;
}
.crumbs .link {
	color: #c1b9ab;
}
.services_list_2 {
	margin: 0 0 0 -35px;
}
.services_list_2 .item {
	width: 209px;
	margin: 0 0 14px 35px;
}
.services_list_2 .title {
	margin: 0 0 5px;
}
.services_list_2 .link {
	color: #fdf79d;
}
.services_list_2 .fig {
	display: block;
	margin: 0 0 5px;
}
.services_list_2 .img {
	vertical-align: top;
}
.fig_1 {
	float: left;
	margin: 0 35px 10px 0;
}
.fig_1 .img {
	vertical-align: top;
}
.back {
	color: #fdf79d;
}
.projects_list_1 {
	margin: 0 0 3px -35px;
}
.projects_list_1 .item {
	width: 209px;
	margin: 0 0 6px 35px;
}
.projects_list_1 .title {
	margin: 0 0 8px;
}
.projects_list_1 .link {
	color: #fdf79d;
}
.projects_list_1 .fig {
	display: block;
	margin: 0 0 5px;
}
.projects_list_1 .img {
	vertical-align: top;
}
.pages {
	margin: 0 0 0 -7px;
}
.pages .item {
	color: #fdf79d;
	text-align: center;
}
.pages .link {
	display: block;
	width: 22px;
	height: 22px;
	color: #fdf79d;
	line-height: 22px;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}
.pages .item:hover .link, .pages .active {
	width: 22px;
	height: 22px;
	color: #fdf79d;
	text-decoration: none;
	line-height: 22px;
}
.fig_2 {
	margin: 0 0 17px;
}
.fig_2 .img {
	vertical-align: top;
}
.modal {
	position: fixed;
	z-index: 1000;
}
.modal__inner {
	overflow: hidden;
	overflow-y: scroll;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.modal, .modal__bg {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.modal__horisontal_inner {
	display: table;
	height: 100%;
	margin: auto;
}
.modal__vertical_inner {
	display: table-cell;
	vertical-align: middle;
	-webkit-perspective: 1300px;
	perspective: 1300px;
}
.modal__bg {
	background: #000;
	zoom: 1;
	filter: alpha(opacity=0);
	opacity: 0;
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.show .modal__bg {
	zoom: 1;
	filter: alpha(opacity=50);
	opacity: 0.75;
}
.modal__content {
	background: #261c1d;
	padding: 24px 0 12px;
	position: relative;
}
.modal__close_btn {
	background: url(../images/pic13.png) no-repeat 50% 50%;
	width: 21px;
	height: 23px;
	position: absolute;
	top: 0;
	right: 0;
	line-height: 23px;
	z-index: 2;
}
.modal_lightbox__title {
	margin: 10px 43px 0;
	text-align: center;
}
.modal_lightbox__image img {
	vertical-align: top;
}
.modal_lightbox__prev, .modal_lightbox__next {
	cursor: pointer;
	width: 50%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
}
.modal_lightbox__next {
	left: auto;
	right: 0;
}
.modal_lightbox__prev:before, .modal_lightbox__next:before {
	content: "";
	background: url(../images/pic15.png) no-repeat;
	width: 11px;
	height: 18px;
	position: absolute;
	bottom: 11px;
	left: 14px;
}
.modal_lightbox__next:before {
	background: url(../images/pic14.png) no-repeat;
	left: auto;
	right: 14px;
}
/*---------------------- end content ----------------------------------*/
/*---------------------- footer ---------------------------------------*/
.footer {
	width: 942px;
	height: 40px;
	margin-left: -471px;
	position: absolute;
	bottom: 0;
	left: 50%;
}
.footer:after {
	content: "";
	background: url(../images/bg_footer.png) 50% 0;
	position: absolute;
	top: 0;
	bottom: 0;
	right: -10000px;
	left: -10000px;
	z-index: -2;
}
.footer:before {
	content: "";
	border-top: 6px solid rgba(4,10,5,0.30);
	width: 942px;
	margin-left: -471px;
	position: absolute;
	top: -4px;
	left: 50%;
	z-index: -1;
}
.counter {
	position: absolute;
	top: 6px;
	left: 3px;
}
.company_footer {
	position: absolute;
	top: 16px;
	left: 108px;
	font-size: 11px;
	color: #937b7a;
}
.developer {
	position: absolute;
	top: 13px;
	right: 83px;
	font-size: 11px;
}
.developer .link {
	color: #7b6363;
}

/*---------------------- end footer -----------------------------------*/
/* media queries */
/* small screens (portrait and landscape) */
/* small screens (landscape) */
/* small screens (portrait) */
/* medium small screens */
/* medium screens (excludes iPad & iPhone) */
/* ipads (portrait and landscape) */
/* ipads (landscape) */
/* ipads (portrait) */
/* medium large screens */
/* large screens */
/* extra large screens */
/* iphone 4 and high pixel ratio (1.5+) devices */
/* iphone 4 and higher pixel ratio (2+) devices (retina) */
/*CSS for serving the retina image to devices with a high "device-pixel-ratio":*/
/* print media */
@media print {
* {
	color: black !important;
	background: transparent !important;
	text-shadow: none !important;
	box-shadow: none !important;
	border: none !important;
	float: none !important;
	clear: none !important;
}
html,  body,  article,  header,  section,  footer,  aside,  div {
	width: 100% !important;
}
a,  a:link,  a:visited,  a:hover,  a:active,  abbr,  acronym {
	text-decoration: none;
	border-bottom: 0 none;
}
h1,  h2,  h3,  h4,  h5,  h6,  p,  li {
	page-break-inside: avoid;
	orphans: 3;
	widows: 3;
}
h1,  h2,  h3,  h4,  h5,  h6 {
	page-break-after: avoid;
}
thead {
	display: table-header-group;
}
tr,  img {
	page-break-inside: avoid;
}
nav {
	display: none;
}
}
