/*****************/
/* html elements */
/*****************/
html,
body {
	background: #fff;
	height: 100%;
}
body {
	color: #4b4b4d;
	font: 16px/24px 'DINPro', sans-serif;
	word-wrap: break-word;
	-webkit-overflow-scrolling: touch;
}
a {
	color: #001d2d;
	text-decoration: none;
}
a:hover {
	color: #70a096;
}
figure {
	margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #001d2d;
	font-weight: 700;
	margin: 0;
}
h1,
h2,
h3 {
	font: 600 20px/32px 'TangerSerifMedium', sans-serif;
	margin-bottom: 8px;
}
h1 strong,
h2 strong,
h3 strong {
	font-weight: 300;
}
h4,
h5 {
	font-size: 22px;
	line-height: 25px;
}
h6 {
	color: #a1d7be;
	font: 300 20px/26px 'TangerSerifMedium', sans-serif;
	margin: -2px 0 22px;
	padding-left: 21px;
	text-indent: -13px;
}
img {
	border: none;
	display: block;
	max-width: 100%;
}
p {
	margin: 0 0 32px;	
}

hr {
	border: none;
	border-top: 1px solid #ccc;
	margin-bottom: 19px;
}
iframe {
	display: block;
}
input,
textarea,
select {
	background: #fff;
	border: none;
	border-bottom: 1px solid #dddedf;
	border-radius: 0;
	box-sizing: border-box;
	color: #001d2d;
	display: block;
	font-size: 18px;
	line-height: 32px;
	-moz-box-sizing: border-box;
	padding: 19px;
	-webkit-box-sizing: border-box;
	width: 100%;
}
input:focus,
textarea:focus,
select:focus {
	background: #f2f2f2;
	outline: none;
}
input:disabled,
textarea:disabled,
select:disabled {
	background: #f0f0f0;
	opacity: 0.8;
}
input,
select {
	height: 70px;
}
label {
	cursor: pointer;
}
textarea {
	min-height: 210px;
	resize: none;
}
input[type="checkbox"],
input[type="radio"] {
	box-shadow: none;
	height: auto;
	margin: 0;
	width: auto;
}
::-webkit-input-placeholder {
	color: #959595;
}
:-moz-placeholder {
	color: #959595;
	opacity: 1;
}
::-moz-placeholder {
	color: #959595;
	opacity: 1;
}
table {
	border-collapse: collapse;
	margin-bottom: 32px;
}
td,
th {
	border: none;
	padding: 5px 10px;
	text-align: left;
	vertical-align: top;
}
td:first-child {
	padding-left: 0;
	white-space: nowrap;
}
ul,
ol {
	margin: 0;
	padding: 0;
}
h1:last-child,
h2:last-child,
h3:last-child,
p:last-child,
ol:last-child,
ul:last-child,
li:last-child,
table:last-child {
	margin-bottom: 0 !important;
}

.mfp-bg {
	background-color: #0d1e2b;
	opacity: 0.9;
	filter: alpha(opacity=90);
}

/* Clearfix */
.clear {
	clear: both;
	font-size: 0;
	height: 0;
	line-height: 0;
}
.cf,
.container,
.fw_form_option {
	zoom: 1;
}
.cf:after,
.container:after,
.fw_form_option:after,
.fw_form:after {
	clear: both;
	content: '.';
	display: block;
	font-size: 0;
	height: 0;
	visibility: hidden;
}
.fw_google_maps img {
	max-width: none;
}
.menu_open {
	overflow: hidden;
}
.hidden {
	display: none;
}
.visible {
	display: block;
}
.table {
	display: table;
	height: 100%;
	width: 100%;
}
.cell {
	display: table-cell;
	vertical-align: middle;
}

/* Buttons */
a.fw_button {
	background: #a1d7be;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	padding: 15px 34px 15px 19px;
	position: relative;
	transition: background 0.25s;
	vertical-align: top;
	-webkit-transition: background 0.25s;
}
a.fw_button:after {
	background: url(/img/bg/sprite.png) no-repeat 0 -50px;
	content: '';
	display: block;
	height: 13px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 9px;
}
a.fw_button:hover {
	background: #001d2d;
	color: #fff;
}
a.fw_button_alt {
	background: #fff;
	color: #001d2d;
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	padding: 15px 34px 15px 19px;
	position: relative;
	transition: background 0.25s;
	vertical-align: top;
	-webkit-transition: background 0.25s;
}
a.fw_button_alt:after {
	background: url(/img/bg/sprite.png) no-repeat 0 0;
	content: '';
	display: block;
	height: 13px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 9px;
}
a.fw_button_alt:hover {
	background: #70a096;
	color: #fff;
}
a.fw_button_alt:hover:after {
	background-position: 0 -50px;
}
a.fw_form_submit_link {
	background: #a1d7be;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	line-height: 20px;
	padding: 15px 34px 15px 19px;
	position: relative;
	transition: background 0.25s;
	vertical-align: top;
	-webkit-transition: background 0.25s;
}
a.fw_form_submit_link:after {
	background: url(/img/bg/sprite.png) no-repeat 0 -50px;
	content: '';
	display: block;
	height: 13px;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 9px;
}
a.fw_form_submit_link:hover {
	background: #001d2d;
	color: #fff;
}


/* Grid */
.container {
	margin: 0 auto;
	padding: 0 15px;
	position: relative;
}
.col {
	min-height: 1px;
	padding: 0 15px;
}
.row {
	margin: 0 -15px;
}

/**********/
/* Header */
/**********/
.header {
	background: #fff;
	height: 60px;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 100;
}
.header .container {
	height: 60px;
}
.header .logo {
	float: left;
	height: 60px;
	max-width: 160px;
	position: relative;
}
.header .logo a {
	display: block;
}
.header .logo a:first-child {
	position: relative;
	z-index: 10;
}
.header .logo a + a {
	left: 0;
	max-width: 90px;
	padding: 11px 0 0 19px;
	position: absolute;
	top: 0;
}
.header .social {
	float: right;
	margin-right: -5px;
	padding-top: 31px;
	position:absolute;
	top:-18px;
	right:55px;
}
.header.fixed {
	box-shadow: 0 5px 3px rgba(0,0,0,0.1);
}

/* Social */
.social {
}
.social ul {
	font-size: 0;
	list-style: none;
}
.social li {
	display: inline-block;
	padding: 0 2px;
	vertical-align: top;
}
.social:empty {
	display: none;
}
.social a {
	display: block;
}
.social img {
	display: none;
}
.social img:first-child {
	display: block;
}
.social a:hover img {
	display: block;
}
.social a:hover img:first-child {
	display: none;
}

/* Main menu */
.menu {
	background: #fff;
	height: 100%; 
	left: 0; 
	overflow: auto; 
	padding: 0 10px; 
	position: fixed; 
	right: 0; 
	top: 0; 
	visibility: hidden;
	z-index: 100; 
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	transition:opacity .3s;
	-webkit-transition:opacity .3s;
}

.menu .fw_main_wrapper {max-width: 416px; margin: 0 auto; padding: 50px 8px;
	transform: translate(0, -50px); 
	-webkit-transform: translate(0, -50px); 
	transition:transform .6s;
	-webkit-transition:transform .6s;
}
.menu ul {
	font-size: 0;
	list-style: none;
}
.menu ul ul {
	padding-left: 20px;
}
.menu li {
	position: relative;
}
.menu a {
	display: block;
	font-size: 18px;
	line-height: 30px;
	padding: 5px 0;
}
.menu .fw_subs_wrapper {
	display: none;
}
.menu .fw_active > a {
	color: #70a096;
}
.menu_open .fw_main_wrapper {
	transform: translate(0, 0);
	-webkit-transform: translate(0, 0);
}
.menu_open .menu {
	opacity: 1;
	visibility: visible;
}
.menu_close .fw_main_wrapper {
	transform: translate(0, -50px);
	-webkit-transform: translate(0, -50px);
}
.menu_close .menu {
	opacity: 0;
	visibility: visible;
}

/* Main menu switcher*/
.menu_handler {
	background: #fff;
	cursor: pointer;
	display: block;
	height: 36px;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 40px;
	z-index: 110;
}
.menu_handler i {
	background: #001d2d;
	display: block;
	height: 3px;
	left: 5px;
	margin-top: -1px;
	position: absolute;
	right: 5px;
	top: 50%;
}
.menu_handler i:after,
.menu_handler i:before {
	backface-visibility: none;
	background: #001d2d;
	content: "";
	display: block;
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	transform: translateZ(0);
	transition: all 0.3s;
	-webkit-backface-visibility: none;
	-webkit-transition: all 0.3s;
}
.menu_handler i:before {
	top: 8px;
}
.menu_handler i:after {
	bottom: 8px;
}
.menu_handler.active i {
	background: none;
}
.menu_handler.active i:before {
	top: 0;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.menu_handler.active i:after {
	bottom: 0;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}
.show_sub_menu {
	cursor: pointer;
	height: 24px;
	line-height: 18px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 8px;
	width: 24px;
	z-index: 20;
}
.show_sub_menu:after {
	color: #001d2d;
	content: '+';
	display: block;
	font-size: 30px;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.show_sub_menu.active:after {
	content: '-';
}

/* Slider */
.slider {
	min-height: 100%;
	overflow: hidden;
	position: relative;
}
.slider .royalSlider {
	bottom: 0;
	height: auto;
	left: 0;
	position: absolute;
	right: 0;
	top: 60px;
	width: auto;
}
.slider .rsMinW, 
.slider .rsMinW .rsOverflow, 
.slider .rsMinW .rsSlide, 
.slider .rsMinW .rsVideoFrameHolder, 
.slider .rsMinW .rsThumbs {
	background: #f6f6f6;
}
.slider .rsMinW .rsArrow {
	bottom: auto;
	height: 53px;
	top: 50%;
	transition: background 0.25s;
	visibility: hidden;
	-webkit-transition: background 0.25s;
	width: 54px;
}
.slider .rsMinW .rsArrow .rsArrowIcn {
	background: url(/img/bg/sprite.png) no-repeat -50px 0;
	border-radius: 0;
	height: 55px;
	margin: -1px;
	width: 56px;
}
.slider .rsMinW .rsArrowLeft {
	left: 0;
}
.slider .rsMinW .rsArrowRight {
	right: 0;
}
.slider .rsMinW .rsArrowRight .rsArrowIcn {
	background-position: -50px -100px;
}
.slider .rsMinW .rsArrow:hover {
	background: #70a096;
}
.slider .rsBullets {
	bottom: 75px;
	font-size: 0;
	height: 25px;
	left: 10px;
	padding: 0;
	right: 10px;
}
.slider .rsBullet {
	cursor: pointer;
	height: 25px;
	padding: 0;
	width: 25px;
}
.slider .rsBullet span {
	background: #fff;
	border: 3px solid #fff;
	height: 9px;
	margin: 5px;
	padding: 0;
	width: 9px;
}
.slider .rsBullet.rsNavSelected span {
	background: none;
}
.slider .scroll {
	bottom: 0;
	display: block;
	height: 53px;
	left: 50%;
	margin-left: -27px;
	position: absolute;
	transition: background 0.25s;
	-webkit-transition: background 0.25s;
	width: 54px;
	z-index: 90;
}
.slider .scroll span {
	background: url(/img/bg/sprite.png) no-repeat -50px -200px;
	display: block;
	height: 55px;
	margin: -1px;
	width: 56px;
}
.slider .scroll:hover {
	background: #70a096;
}

/* Cover */
.cover {
	max-height: 300px;
	overflow: hidden;
	padding-top: 60px;
	position: relative;
}
.cover img {
	height: 100px;
	max-width: none;
	min-width: 100%;
}

/* Content */
.content {
	padding: 30px 0 30px;
}
.content ul,
.content ol {
	margin: 0 0 18px 30px;
}
.content h1 + h2 {
	color: #a1d7be;
	font-size: 20px;
	line-height: 25px;
	margin: -10px 0 25px;
}
.content .social {
	padding: 10px 0;
}
.content .social ul {
	margin-left: 0;
}

/* Back link */
.back {
	background: url(/img/bg/sprite.png) no-repeat 10px -90px;
	display: block;
	float: left;
	height: 32px;
	margin: 0 5px 0 -10px;
	width: 32px;
}
.back:hover {
	background-position: 10px -140px;
}

/* Gallery */
.gallery {
	padding: 9px 0 0;
}
.gallery ul {
	font-size: 0;
	list-style: none;
	margin: 0 -15px;
}
.gallery li {
	box-sizing: border-box;
	display: inline-block;
	height: 220px;
	margin-bottom: 30px;
	padding: 0 15px;
	vertical-align: top;
	-webkit-box-sizing: border-box;
	width: 100%;
}
.gallery a {
	background: #001d2d;
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.gallery a:after {
	background: url(/img/bg/sprite.png) no-repeat -150px 0;
	content: '';
	display: block;
	height: 87px;
	left: 50%;
	margin: -44px 0 0 -44px;
	opacity: 0;
	position: absolute;
	top: 40%;
	transition: all 0.25s;
	-webkit-transition: all 0.25s;
	width: 87px;
	pointer-events:none;
}
.gallery img {
	height: 100%;
	/*left: 50%;*/
	max-width: none;
	position: absolute;
	top: 0;
	/*transform: translateX(-50%);*/
	transition: opacity 0.25s;
	/*-webkit-transform: translateX(-50%);*/
	-webkit-transition: opacity 0.25s;
	
	left:0;
	width:100%;
	object-fit:cover;
}
.gallery a:hover img {
	opacity: .3;
}
.gallery a:hover:after {
	opacity: 1;
	top: 50%;
}

/***********/
/* Teasers */
/***********/
.teasers {
	background: #001d2d;
	color: #fff;
}
.teasers p {
	margin-bottom: 17px;
}
.teasers p img {
	height: auto;
	max-width: none;
	width: 100%;
}
.teasers h3 {
	color: #fff;
	margin-bottom: 19px;
}
.teasers h4 {
	color: #a1d7be;
	font-size: 18px;
	line-height: 32px;
}
.teasers a {
	color: #fff;
}
.teasers {
	padding: 71px 0 50px;
}
.teasers .teaser {
	padding: 0 0 50px;
}
.teasers .fw_button {
	background: #fff;
	color: #001d2d;
}
.teasers .fw_button:hover {
	background: #a1d7be;
	color: #fff;
}
.teasers .fw_button:after {
	background-position: 0 0;
}
.teasers .fw_button:hover:after {
	background-position: 0 -50px;
}
.teasers .bx-pager {
	display: none;
}
.teasers .bx-wrapper {
/*	margin-bottom: 29px; */
	margin-bottom: 17px;
	position: relative;
}
.teasers .bx-controls-direction {
}
.teasers .bx-controls-direction a {
	font-size: 0;
	height: 33px;
	position: absolute;
	top: 43px;
	width: 33px;
	z-index: 90;
}
.teasers .bx-controls-direction a:after {
	background: url(/img/bg/sprite.png) no-repeat -150px -100px;
	bottom: -1px;
	content: '';
	display: block;
	left: -1px;
	position: absolute;
	right: -1px;
	top: -1px;
}
.teasers .bx-controls-direction a:hover {
	background: #70a096;
}
.teasers .bx-controls-direction .bx-prev {
	left: 1px;
}
.teasers .bx-controls-direction .bx-next {
	right: 1px;
}
.teasers .bx-controls-direction .bx-next:after {
	background-position: -150px -150px;
}
.teasers .image {
/*	float: left;
	margin-right: 30px;
	max-height: 173px; */
	overflow: hidden;
    margin-right: 0;
    /*max- */height: 111px;
    margin-bottom: 17px;
    position: relative;
}
.teasers .image img
{
	width: 100%;
}
.teasers .image .centered_img
{
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.teasers .text {
	overflow: hidden;
	position: relative;
	/* top: -10px; */
}

/* Filter box */
.filter_box {
	background: #a1d7be;
	font-size: 0;
	padding: 20px 0 15px;
}
.filter_box ul,
.filter_box li {
	display: inline-block;
	list-style: none;
	vertical-align: top;
}
.filter_box li {
	margin: 0 5px 5px 0;
}
.filter_box .fw_button:after {
	display: none;
}
.filter_box .fw_button {
	background: none;
	border: 2px solid #fff;
	color: #fff;
	font-size: 12px;
	padding: 10px 15px;
}
.filter_box .fw_button:hover,
.filter_box .fw_active .fw_button {
	background: #fff;
	color: #001d2d;
}
.filter_box .categories .fw_button {
	border-color: #001d2d;
	color: #001d2d;
}
.filter_box .categories .fw_button:hover,
.filter_box .categories .fw_active .fw_button {
	background: #001d2d;
	color: #fff;
}

/* Grid */
.fw_list_paging_top,
.fw_list_paging_bottom {
	display: none;
}
.grid {
	background: url(/img/bg/bg-projects.png) no-repeat 0 100%;
	overflow: hidden;
	padding: 30px 10px 10px;
}
.grid .container {
	padding: 0;
}
.grid .wrapper {
	margin: 0 -5px;
}
.grid .item {
	border: 5px solid transparent;
	border-bottom: none;
	border-top-width: 10px;
	box-sizing: border-box;
	display: inline-block;
	position: relative;
	vertical-align: top;
	-webkit-box-sizing: border-box;
	width: 100%;
}
.grid .item.w2 {
	height: 261px;
	max-height: 261px;
	width: 100%;
}
.grid .item.w2 img {
	height: 100%;
	width: auto;
}
.grid .text {
	background: #fff;
	background: rgba(255,255,255,0.9);
	bottom: 0;
	left: 0;
	opacity: 0;
	padding: 15px;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 0.25s;
	-webkit-transition: opacity 0.25s;
	visibility:hidden;
}
.grid h4 {
	margin-bottom: 16px;
	max-height: 50px;
	overflow: hidden;
}
.grid p {
	margin-bottom: 16px;
	max-height: 72px;
	overflow: hidden;
}

.grid .item.hover .text,
.grid .item:hover .text {
	opacity: 1;
	visibility:visible;
}
.grid img {
	transition: transform .2s ease-in-out;
	width: 100%;
}

.grid .item.hover .image img,
.grid .item:hover .image img {
	transform: scale(1.1);
}

.grid .image {
	height: 100%;
	overflow: hidden;
}

.grid .w2 img {
	left: 50%;
	max-height: 100%;
	max-width: none;
	min-width: 100%;
	position: relative;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	width: auto;
}

.grid .item.w2.hover .image img,
.grid .item.w2:hover .image img {
	-webkit-transform: translateX(-50%) scale(1.1);
	transform: translateX(-50%) scale(1.1);
}

#infscr-loading {
	visibility: hidden;
}
.grid .to_top {
	background: #70a096;
	display: block;
	display: none;
	height: 53px;
	position: absolute;
	right: 0;
	top: 30px;
	transition: background 0.25s;
	-webkit-transition: background 0.25s;
	width: 54px;
	z-index: 90;
}
.grid .to_top span {
	background: url(/img/bg/sprite.png) no-repeat -50px -400px;
	display: block;
	height: 55px;
	margin: -1px;
	width: 56px;
}
.grid .to_top:hover {
	background: #001d2d;
}
.grid .link {
	padding: 50px 0 40px 0; /*80px 0 50px */
	text-align: center;
}

/* Green box */
.green_box {
	background: #a7d8bb;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	color: #001d2d;
	margin: 0 -15px;
	/*padding: 54px 29px 134px;*/
	padding: 54px 15px;
	position: relative;
}
.green_box:empty {
	display: none;
}
.green_box.small {
	/* padding-bottom: 84px;*/
	padding-bottom: 32px;
}
.green_box h3 {
	line-height: 25px;
	margin-bottom: 16px;
}
.green_box ul {
	display: inline-block;
	list-style: none;
	margin-right: 34px;
	vertical-align: top;
}
.green_box .fw_button {
	background: #70a096;
}
.green_box .fw_button:hover {
	background: #fff;
	color: #001d2d;
}
.green_box .fw_button:hover:after {
	background-position: 0 0;
}

/* White box */
.green_box + .white_box {
	/*margin-top: -41px;*/
	position: relative;
}
.white_box {
	/*margin: 0 -15px 41px;*/
	/*padding: 47px 27px 66px;*/
	margin: 0 -15px;
	padding: 45px 25px;
}
.white_box:empty {
	display: none;
}
.white_box h3 {
	line-height: 25px;
	margin-bottom: 17px;
}
.white_box h5 {
	font-size: 18px;
	margin-bottom: 4px;
	padding-top: 24px;
}
.white_box .image {
	margin-top: -32px;
	padding: 1px;
	position: relative;
	z-index: 10;
}
.white_box .image:after {
	background: url(/img/bg/image-mask.png) no-repeat 0 0 / 100% 100%;
	bottom: 0;
	content: '';
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
.white_box img {
	max-height: 200px;
	max-width: 150px;
}

/* Banner */
.banner {
	max-height: 550px;
	overflow: hidden;
	position: relative;
	text-align: center;
}
.banner .image {
}
.banner .image:after {
	background: #001d2d;
	bottom: 0;
	content: '';
	display: block;
	left: 0;
	opacity: .94;
	position: absolute;
	right: 0;
	top: 0;
}
.banner .image img {
	height: 280px;
	max-width: none;
	min-width: 100%;
}
.banner .text {
	bottom: 0;
	color: #fff;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 10;
}
.banner .text h3 {
	color: #fff;
	margin: 0 0 44px;
	padding-bottom: 28px;
	position: relative;
}
.banner .text h3:after {
	background: #fff;
	content: '';
	display: block;
	height: 3px;
	left: 50%;
	margin-left: -25px;
	position: absolute;
	top: 100%;
	width: 50px;
}
.banner a {
	color: #fff;
}

.banner .fw_button {
	margin-bottom: 5px;
}

.banner .fw_button:hover {
	background: #fff;
	color: #001d2d;
}
.banner .fw_button:hover:after {
	background-position: 0 0;
}

/* Project navigation */
.nav {
	background: #a1d7be;
	padding: 50px 0 30px;
	text-align: center;
}
.nav .fw_button {
	background: #fff;
	color: #70a096;
	margin: 0 10px 10px;
}
.nav .fw_button:after {
	background-position: 0 -200px;
}
.nav .fw_button:hover {
	background: #001d2d;
	color: #fff;
}
.nav .fw_button:hover:after {
	background-position: 0 -50px;
}
.nav .invert {
	padding-left: 34px;
	padding-right: 19px;
}
.nav .invert:after {
	background-position: 0 -150px;
	left: 20px;
	right: auto;
}
.nav .invert:hover:after {
	background-position: 0 -250px;
}

/* Team */
.team .item {
	margin-bottom: 30px;
}
.team .image {
	margin-bottom: 10px;
}
.team img {
}
.team h4 {
	font: 600 20px/25px 'TangerSerifMedium', sans-serif;
}

/**********/
/* Footer */
/**********/
.footer {
	background: url('/img/bg/footer_p.png') no-repeat right bottom;
	
	
	color: #959595;
	font-size: 15px;
	padding: 29px 0 31px;
}
.footer .copyright {
}
.footer .links {
}
.footer .links ul {
	list-style: none;
	margin: 0 -5px;
}
.footer .links li {
	display: inline-block;
	padding: 0 5px;
	vertical-align: top;
}
.footer .links a {
	color: #959595;
	text-decoration: underline;
	font-size: 13px;
}
.footer .links a:hover {
	text-decoration: none;
}
.footer .social {
	display: table;
	padding-top: 30px;
}
.footer .social:after {
	content: '. .';
	display: block;
	font: .1px/0 a;
	overflow: hidden;
	word-spacing: 99in;
}

/******************/
/* Magnific popup */
/******************/
.mfp-container {
	padding: 0;
}
.mfp-counter {
	display: none;
}
img.mfp-img {
	border: 15px solid #fff;
	padding: 0;
}
.mfp-image-holder .mfp-close, 
.mfp-iframe-holder .mfp-close {
	right: 15px;
	top: 15px;
	width: 54px;
}
button.mfp-close, 
button.mfp-arrow {
	font-size: 0;
	height: 53px;
	opacity: 1;
	width: 54px;
}
button.mfp-close:hover, 
button.mfp-arrow:hover {
	background: #70a096;
}
button.mfp-arrow:before, 
button.mfp-arrow .mfp-b, 
button.mfp-arrow .mfp-a {
	display: none;
}
button.mfp-arrow,
button.mfp-arrow:active {
	margin-top: -20px;
}
button.mfp-arrow:after {
	border: none;
	height: auto;
	margin: 0;
	width: auto;
}
button.mfp-close:after, 
button.mfp-arrow:after {
	background: url(/img/bg/sprite.png) no-repeat;
	bottom: -1px;
	content: '';
	display: block;
	left: -1px;
	position: absolute;
	right: -1px;
	top: -1px;
}
button.mfp-close:after {
	background-position: -50px -300px;
}
button.mfp-arrow-left {
	left: 15px;
}
button.mfp-arrow-left:after {
	background-position: -50px 0px;
}
button.mfp-arrow-right {
	right: 15px;
}
button.mfp-arrow-right:after {
	background-position: -50px -100px;
}

/*********/
/* Formm */
/*********/
.fw_form_wrapper {
}
.fw_inside .fw_form_label {
	display: none;
}
.fw_form_row {
	box-sizing: border-box;
	clear: both;
	margin-bottom: 30px;
	-moz-box-sizing: border-box;
	position: relative;
	-webkit-box-sizing: border-box;
}
.fw_form_row.blocked a.fw_form_submit_link {
	background-color:#ccc;
}
.fw_form_sub_field {
	clear: both;
	float: left;
	margin-right: 5px;
}
.fw_form_feedback_error {
	color: #e5362a;
	margin-bottom: 30px;
}
.fw_form .form-error {
	display: none;
}
.fw_form .filled {
	border-color: #70a096;
}
.fw_form .conditional {
	display: none;
}
.fw_form .forbid {
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 30;
	/*background:rgba(255,255,255,0.5);*/
}
.fw_form_feedback {
	margin-bottom: 30px;
}
.fw_form_sub_field,
.fw_form_option_label {
	color: #001d2d;
	display: inline-block;
	font-weight: 700;
	vertical-align: top;
}
.fw_form_label {
	display: none;
	font-weight: 700;
	margin-bottom: 10px;
}
.fw_form_field {
}
.fw_form_option {
	padding: 7px 0;
}
.fw_form_sub_field {
	margin-right: 20px;
}
div.fw_error input,
div.fw_error textarea,
div.fw_error select {
	border-color: #e5362a;
}
.show_label .fw_form_label {
	display: block !important;
}

/* Custom checkbox and radio */
.radioArea,
.checkboxArea {
	border: 1px solid #dddedf;
	height: 28px;
	margin-top: 1px;
	position: relative;
	width: 28px;
}
.radioArea:after,
.checkboxArea:after {
	background: #70a096;
	content: '';
	display: none;
	height: 16px;
	left: 6px;
	position: absolute;
	top: 6px;
	width: 16px;
}
.checkboxArea:after {
	background: url(/img/bg/sprite.png) no-repeat 0 -298px;
}
.radioArea,
.radioArea:after {
	border-radius: 100%;
}
.radioArea.checked:after,
.checkboxArea.checked:after {
	display: block;
}

/* Custom select */
.replaced_wrapper {
	position: relative;
}
.replaced {
	left: -9999px;
	position: absolute;
}
.select {
	position: relative;
}
.cs_select {
	background: #fff;
	border-bottom: 1px solid #dddedf;
	border-radius: 0;
	box-sizing: border-box;
	position: relative;
	text-align: left;
	-webkit-box-sizing: border-box;
}
.cs_select .cs_text {
	display: block;
	height: 32px;
	line-height: 32px;
	overflow: hidden;
	padding: 19px 35px 19px 19px;
}
.cs_select .cs_button {
	bottom: 0;
	left: 0;
	outline: none;
	position: absolute;
	right: 0;
	top: 0;
}
.cs_select .cs_button:after {
	border: 10px solid transparent;
	border-top-color: #dddedf;
	content: '';
	display: block;
	position: absolute;
	right: 8px;
	top: 30px;
}
.cs_select.active .cs_button:after {
	top: 20px;
	transform: rotate(-180deg);
}
.cs_options {
	padding: 0 0;
	z-index: 900;
}
.cs_options .cs_options_wrapper {
	background: #fff;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
	margin-top: 5px;
	-webkit-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
	z-index: 10;
}
.cs_options a {
	display: block;
	padding: 5px;
}
.cs_options a:hover {
	text-decoration: none;
}
.cs_options .selected a {
	color: #70a096;
}
.cs_options ul {
	list-style: none;
	padding: 5px;
}

@media (min-width: 480px){
	.container {
		max-width: 1170px;
	}
	.header .container {
		padding: 0;
	}
	.slider .rsBullets {
		bottom: 25px;
		left: 50%;
		margin-left: -210px;
		right: auto;
	}
	.cover img {
		height: 150px;
	}
	.grid .container {
		max-width: 436px;
	}
	.grid .item {
		width: 50%;
	}
	.grid .item.w2 {
		height: 211px;
		max-height: 211px;
		width: 100%;
	}
	.grid .text p {
		max-height: 48px;
	}
	.green_box + .white_box:before {
		background: #ececed;
		bottom: 100%;
		content: '';
		display: block;
		height: 123px;
		position: absolute;
		right: -2px;
		width: 2px;
	}
	.white_box {
		border: 2px solid #ececed;
		border-bottom: none;
		border-top: none;
	}
	.white_box:after {
		left: -2px;
		right: -2px;
	}
	.white_box .image {
		float: right;
		margin-top: -30px;
	}
}

@media (min-width: 768px){	
	body {
		font-size: 18px;
		line-height: 32px;
	}
	h1,
	h2,
	h3 {
		font-size: 30px;
		line-height: 42px;
	}
	
	.tmpl-detail .content h1 {
		line-height: 25px;
		margin-top: 8px;
	}
	
	h6 {
		font-size: 30px;
		line-height: 36px;
		padding-left: 61px;
	}
	a.fw_button {
		font-size: 18px;
	}
	.menu_open {
		overflow: visible;
	}
	.menu_open,
	.header {
		margin-right: 0 !important;
	}
	.menu_handler,
		.show_sub_menu {
		display: none !important;
	}
	.header,
		.header .container {
		height: 90px;
	}
	.header .logo {
		max-width: 200px;
	}
	.header .logo a + a {
		max-width: none;
		padding: 17px 0 0 24px;
	}
	.header .social {
		position:static;
	}
	.menu {
		background: none;
		bottom: auto;
		display: table;
		height: auto;
		opacity: 1;
		overflow: visible;
		padding: 0;
		position: relative;
		transition: none;
		visibility: visible;
		z-index: 20;
	}
	.menu .fw_main_wrapper {
		max-width: none;
		padding: 0;
		transform: none;
		-webkit-transform: none;
		transition: none;
	}
	.menu ul {
		padding-left: 10px;
	}
	.menu li {
		display: inline-block;
		padding: 31px 4px 29px;
		vertical-align: top;
	}
	.menu a {
		padding: 0;
	}
	.menu li:hover .fw_subs_wrapper {
		display: block !important;
	}
	.menu .fw_subs_wrapper {
		display: none !important;
		left: -10px;
		min-width: 200px;
		position: absolute;
		top: 100%;
	}
	.menu ul ul {
		background: #a7d8bb;
		padding: 17px 0;
	}
	.menu ul ul li {
		display: block;
		padding: 0;
	}
	.menu ul ul a {
		padding: 5px 29px 5px 47px;
	}
	.menu ul ul a:before {
		background: url(/img/bg/sprite.png) no-repeat 0 0;
		content: '';
		height: 13px;
		left: 31px;
		position: absolute;
		top: 14px;
		width: 9px;
	}
	.menu ul ul .fw_active a,
		.menu ul ul a:hover {
		background: #70a096;
		color: #fff;
	}
	.menu ul ul .fw_active a:before,
		.menu ul ul a:hover:before {
		background-position: 0 -50px;
	}
	.slider .royalSlider {
		top: 90px;
	}
	.slider .rsMinW .rsArrow {
		visibility: visible;
	}
	.slider .rsBullets {
		margin-left: -349px;
	}
	
	.cover .lines_lb,
	.slider .lines_lb {
		background: url('/img/bg/lines_lb.png') no-repeat left bottom;
		bottom: 0;
		height: 198px;
		left: 0;
		pointer-events: none;
		position: absolute;
		width: 161px;
		z-index: 10;
	}
	
	.cover .lines_rt,
	.slider .lines_rt {
		background: url('/img/bg/lines_rt.png') no-repeat right top;
		height: 325px;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0;
		width: 175px;
		z-index: 10;
	}
	
	.cover {
		padding-top: 90px;
	}
	.cover img {
		height: 200px;
	}
	
	.main_content {
		background: url('/img/bg/wm_p.png') no-repeat left bottom;
	}
	
	.gallery li {
		height: 230px;
		width: 60%;
	}
	.gallery .w1 {
		width: 40%;
	}
	.teasers {
		margin-bottom: 40px;
	}
	.content {
		padding: 46px 15px 50px;
	}
	.back {
		background: url(/img/bg/sprite.png) no-repeat 16px -84px;
		height: 42px;
		margin: 0 0 0 -15px;
		width: 42px;
	}
	.back:hover {
		background-position: 16px -134px;
	}
	.filter_box {
		padding: 40px 0 20px;
	}
	.filter_box li {
		margin: 0 20px 20px 0;
	}
	.filter_box .fw_button {
		font-size: 16px;
		padding: 7px 10px;
	}
	
	.page-home .grid {
		padding-bottom: 15px;
	}
	.grid {
		padding-bottom: 40px;
	}
	.grid .container {
		max-width: 714px;
	}
	.grid .wrapper {
		margin: 0 -15px;
	}
	.grid .item {
		width: 33.3333%;
	}
	.grid .item.w2 {
		height: 235px;
		max-height: 235px;
		width: 66.6667%;
	}
	.grid .text p {
		max-height: 64px;
	}
	.grid .to_top {
		right: -75px;
	}
	.grid h2 {
		padding-left: 15px;
	}
	
	.grid .link {
		padding: 50px 0 150px 0;
	}
	
	.green_box {
		margin-bottom: 41px;
		padding: 54px 29px 134px;
	}
	
	.green_box.small {
		padding-bottom: 84px;
	}

	.green_box:after {
		background: url(/img/bg/green-block-bottom-bg.png) no-repeat 0 100%/100% auto;
		bottom: 0;
		content: '';
		display: block;
		left: 0;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0;
	}
	
	.green_box + .white_box {
		margin-top: -41px;
	}
	
	.green_box + .white_box:before {
		height: 67px;
	}
	.white_box .image {
		float: none;
	}
	
	.white_box:after {
		background: url(/img/bg/white-block-bottom-bg.png) no-repeat 0 100%/100% auto;
		bottom: 0;
		content: '';
		display: block;
		left: -2px;
		pointer-events: none;
		position: absolute;
		right: -2px;
		top: 0;
	}
	
	.nav {
		background: #a1d7be url(/img/bg/bg-nav.png) no-repeat 0 0;
	}
	
	.nav br {
		display: none;
	}
	.banner .image img {
		height: auto;
		max-width: 100%;
	}
	.fw_form .col-6 {
		clear: none;
		float: left;
		padding-right: 15px;
		width: 50%;
	}
	.fw_form .col-6 + .col-6 {
		padding-left: 15px;
		padding-right: 0;
	}
	.fw_form .col-6 .col-6 {
		width: 100%;
	}
	.footer .social {
		padding-top: 20px;
	}
	.footer .links {
		text-align: right;
	}
	
	.teasers .row {
		margin: 0;
	}
}

@media (min-width: 1024px){
	.header .logo {
		max-width: none;
	}
	.header .logo a + a {
		padding-left: 30px;
	}
	.menu ul {
		padding-left: 15px;
	}
	.slider .rsBullets {
		margin-left: -468px;
	}
	.cover img {
		height: 250px;
	}
	.gallery li {
		width: 65.3%;
	}
	.gallery .w1 {
		width: 34.7%;
	}
	.filter_box .fw_button {
		font-size: 18px;
		padding: 13px 17px;
	}
	
	.page-home .grid {
		padding-bottom: 20px;
	}
	
	.grid {
		padding-bottom: 80px;
	}
	.grid .container {
		max-width: 964px;
	}
	.grid .wrapper {
		margin: 0 -20px;
	}
	.grid .item {
		border-width: 10px;
		border-top-width: 20px;
	}
	.grid .item.w2 {
		height: 318px;
		max-height: 318px;
	}
	.grid .text p {
		max-height: 128px;
	}
	.grid .to_top {
		right: -85px;
	}
	.green_box + .white_box:before {
		height: 90px;
	}
	.white_box .image {
		float: right;
		margin-top: -45px;
	}
	.footer .copyright {
		padding-left: 14px;
	}
	.footer .links {
		padding-right: 7px;
	}
	.footer .links li {
		padding: 0 8px;
	}
	.footer .social {
		padding: 0;
		text-align: center;
	}
	
	.teasers .teaser {
		padding: 0 0 30px;
	}
}

@media (min-width: 1280px){
	.menu ul {
		padding-left: 40px;
	}
	.menu li {
		padding-left: 18px;
		padding-right: 18px;
	}
	.slider .rsBullets {
		margin-left: -555px;
	}
	.cover img {
		height: auto;
		min-height: 300px;
	}
	/*
	.grid {
		padding-bottom: 80px;
	}
	*/
	.grid .container {
		max-width: 1170px;
	}
	.grid .wrapper {
		margin: 0 -15px;
	}
	.grid .item {
		border-width: 15px;
		border-top-width: 30px;
	}
	.grid .item.w2 {
		height: 380px;
		max-height: 380px;
	}
	.grid .text {
		padding: 53px 30px;
	}
	.grid p {
		margin-bottom: 21px;
		max-height: 160px;
	}
	.grid h2 {
		padding-left: 30px;
	}
	.green_box + .white_box:before {
		height: 105px;
	}
}

/***********************/
/* 		  POPUP 	   */
/***********************/
.popup_wrapper.closed {
	display:none;
}

.popup_wrapper {
	position:fixed;
	left:0;
	top:0;
	right:0;
	bottom:0;
	background: rgba(0, 0, 0, 0.5);
	z-index:100;
	overflow:auto;
	text-align:center;
	font-size:0;
}

.popup_wrapper:before {
	content:'';
	width:1px;
	height:100%;
	display:inline-block;
	vertical-align:middle;
	margin-left:-1px;
}

.popup {
	max-height: 90vh;
	overflow-x: hidden;
	overflow-y: auto;
	max-width:560px;
	margin:0 auto;
	border:10px solid white;
	/*position:fixed;
	top:50%;
	transform:translateY(-50%);
	left:0;
	right:0;*/
	background:#fff;
    padding: 26px 20px;
    position:relative;
    text-align:left;
    box-sizing:border-box;
    display:inline-block;
	vertical-align:middle;
	font-size:16px;
}
.popup p {
	margin-bottom:1em;
}

.popup .close {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    text-align: center;
    width:30px;
}

@media (min-width:768px) {
	.popup .close {
	    right: -1px;
	}
}