body {
	overflow-x:hidden;
}

h1, h2, p, div, span, form, input, select, button, label, table, td, a {
	max-width:100%;
	box-sizing:border-box;
	line-height:1.3;
}

h1 {
	text-align:center;
}

.divider {
	height:70px;
}

.header {
	position:fixed;
	display:flex;
	z-index:10;
	width:100%;
	left:0;
	top:0;
	justify-content: space-between;
	padding:10px 30px 10px;
	background-color:#fff;
	border-bottom:2px solid #1a4071;
}

.menu {
	display:block;
	display:flex;
	justify-content:center;
	align-items:center;
	margin:0 auto;
}

.menu_trigger {
	display:none;
}

.logo {
    display: inline-block;
    height: 50px;
}

.logo img {
	height:100%;
}

.menu a {
	position:relative;
	font-size:16px;
	color:#1a4071;
	margin: 0 15px;
	text-decoration:none;
}

.menu a:after {
  	position:absolute;
  	content:'';
  	left: 0;
  	bottom: -7px;
  	width: 0;
  	height: 3px;
  	font-size: 1px;
  	line-height: 1px;
  	background-color: #52737c;
  	transition: all 0.5s ease-out;
}

.menu a:hover:after {
  	width:100%;
}

.header .contact {
	margin-right:30px;
}

.header .contact:last-child {
	margin-right:0;
}

.ico_phone, .email {
	color:#444;
	font-size:21px;
	text-decoration:none;
	white-space:nowrap;
	padding-top:5px;
}

.ico_phone img, .email img {
	position:relative;
}

.submit-button {
	color:#ffffff;
	border:none;
	outline:none;
	cursor:pointer;
}

.form {
    width: 320px;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    background-color:#1a4071;
    color: #fff;
    border-radius: 10px;
    text-align: center;
}

.form__title {
    color: #fff !important;
    margin: 0 0 20px;
    font-size: 24px;
	font-weight:bold;
    letter-spacing: 1px
}

.form__input {
    display: block;
    width: 100%;
    padding: 5px 10px;
    margin-bottom: 15px;
    border: 1px solid #b6b8b5;
    font-weight: 300;
    border-radius: 3px;
    outline: 0;
    transition: all .2s ease-in
}

.form__input:focus {
    box-shadow: 0 0 3px 3px rgba(255, 255, 255, .3)
}

.form-ui.form-ui_checkbox, .form__checkbox {
    font-size: 12px
}

.form .label {
	display: inline-block;
	font-size:10px;
}

.section {
	height:420px;
	background-image: -webkit-linear-gradient(40deg, #014066, rgba(0, 0, 0, .6) 65%), url(../img/fonimage.jpg);
    background-image: linear-gradient(50deg, #014066, rgba(0, 0, 0, .6) 65%), url(../img/fonimage.jpg);
}

.section, .section-1 .section-2, .section-3, .section-4 {
	margin-left:0;
}

.first .logo {
	width:25%;
	padding:20px;
}

.first .logo img {
	width:100%;
	height:auto;
}

.first .desc {
	width:75%;
	text-align:center;
}

.heading-2 {
    margin-top: 36px;
    line-height: 52px;
}

.first a {
	position: relative;
	color:#fff;
	text-decoration:none;
}

.first .lead_magnit {
	display:flex;
	width:450px;
	color:#fff;
	font-size:25px;
	justify-content: space-between;
	margin:0 auto;
}

.borders {
	position:relative;
	display: inline-block;
	font-size:60px;
	margin:30px 0;
	transition: all 0.5s linear;
}

.borders:after, .borders:before {
    content: "";
    display: block;
    position: absolute;
	transition: all 0.5s linear;
}

.borders:before {
    left: -25px;
	top: -8px;
	width: 35px;
    height: 35px;
    border-left: 2px solid #ffffff;
	border-top: 2px solid #ffffff;
}

.borders:after {
    right: -25px;
	bottom:-8px;
	width: 35px;
    height: 35px;
    border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
}

.borders:hover {
	transform:scale(1.05);
}

.borders:hover:before {
	top:auto;
	bottom:-8px;
	transform:rotate(-90deg);
}

.borders:hover:after {
	top:-8px;
	bottom:auto;
	transform:rotate(-90deg);
}

.flex {
	display:flex;
}

.vac {
	position:relative;
	width:32.5%;
	height:400px;
	padding:0 !important;
	margin: 0 1.25% 15px 0;
}

.vac:nth-child(3n) {
	margin-right:0;
}

.vac img {
	height:320px;
}

.vac .text_cont {
	position:absolute;
	width:100%;
	height:320px;
	overflow:hidden;
}


.vac .text {
	opacity: 0;
	position:absolute;
	box-sizing:border-box;
	width:100%;
	height:100%;
	left:0;
	top:0;
	z-index:1;
	color:#fff;
	font-size:13px;
	line-height:16px;
	
	padding:12px;
	transition: all 0.5s linear;
}

.vac:hover .text{
	display:block;
	width:96%;
	height:96%;
	left:2%;
	top:2%;
	opacity:1;
}

.vac .text:before {
	position:absolute;
	content:'';
	width:100%;
	height:100%;
	left:0;
	top:0;
	z-index:-1;
	background-color:rgba(0,0,0,0.5);
}

.vac .title {
	font-size:20px;
	font-weight:bold;
	text-align:center;
	margin-bottom:6px;
}

.vac .submit-button {
	width:150px;
	height:30px;
	text-align:center;
	padding-top:6px;
	cursor:pointer;
}

.owl-stage {
	max-width: none;
}

.owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.owl-next, .owl-prev {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    text-indent: -200px;
    overflow: hidden;
    position: absolute;
    top: 50%
}

.owl-prev {
    transform: rotate(45deg);
    left: 0px
}

.owl-next {
    transform: rotate(225deg);
    right: 0px
}

#documents {
	padding-bottom:30px;
}

#documents .item {
	width:320px;
	margin:0 auto;
}

#contacts {
	position:relative;
}

#map {
	width:100%;
	height:440px;
}

#map_contacts {
	position:absolute;
	z-index: 5;
	width:400px;
	top:30%;
	right:10%;
	color:#fff;
	font-size: 18px;
	padding:20px 20px;
	background-color: rgba(26,64,113,0.9);
}

#map_contacts div {
	color:#fff;
	font-size:18px;
}

#map_contacts a {
	font-size:18px;
}

#map_contacts .adres {
	font-size:18px;
}

.footer {
	padding: 20px 0 7px;
	background-color:#fff;
}

.footer__container {
    display: table;
	width:1280px;
	padding-top:0;
	margin:0 auto;
}

.footer__container .cell {
	display:table-cell;
	text-align:center;
	vertical-align:middle;
	white-space:nowrap;
}

.footer__note {
	color:#333;
}

.soc_icon {
	position:relative;
	top:7px;
	width:30px;
}


.footer_phone, .footer__email {
	display: block;
	font-size: 30px;
}

.footer .footer__phone {
	margin:2px 0 15px;
}

.footer__email {
    padding-left: 40px;
    text-decoration: none;
    color:#0466A0;
    background: url(../img/icons/letter.svg) no-repeat;
    background-size: 26px 26px;
    background-position: left center;
    background-repeat: no-repeat;
}

.overlay {
	display:none;
	position:fixed;
	z-index:10;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:rgba(0,0,0,0.5);
}

.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: calc(50% - 140px) !important;
  top: calc(50% - 200px) !important
}

.js-modal-close {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 7px;
  top: 7px;
  background: url(../img/icons/btn_close.svg);
  background-size: 100%;
  cursor: pointer
}

.up-btn {
	display: none;
	position: fixed;
	right: 40px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
	background: #52737c;
    font-size: 150%;
    z-index: 9999;
    transform: rotate(-90deg);
    cursor: pointer
}

.up-btn svg {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto
}

.up-btn svg polygon {
    fill: #fff
}

@media screen and (max-width:1300px) {
	
	.header .email {
		display: none;
	} 
	
	.contact_title {
		display: none;
	}
	
	.vac {
		height:320px;
	}
	
	.vac .text_cont {
		height:260px;
	}
	
	.vac img {
		height:260px;
	}
	
	.footer__container {
		width:100%;
	}
}

@media screen and (max-width:1080px) {
	.menu a {
		font-size:16px;
	}
	
}

@media screen and (max-width:990px) {
	.header {
		padding: 12px 12px 2px;
	}
	
	.header .ico_phone {
		width: 33px;
		margin:0;
	}
	
	.header .ico_phone img {
		top:0px;
		width: 31px !important;
		height: 45px;
	}
	
	.menu_trigger {
		font-weight: bold;
		display: block;
		color: #1a4071;
		padding: 3px 8px 0;
		font-size: 24px;
		line-height:34px;
		border: 2px solid #1a4071;
		border-radius: 6px;
		margin-bottom:9px;
	}
	
	.menu {
		display:none;
		position:fixed;
		width:100%;
		top:65px;
		left:0;
		background-color:#fff;
		box-shadow: 0 5px 5px #ccc;
		padding-left:0;
	}
	
	.menu a {
		display:block;
		width:100%;
		padding:7px 15px;
		margin:0;
		border-top:1px solid #ccc;
	} 
	
	.menu a:after {
		display:none;
	}
	
	.ico_phone, .email {
		display:inline-block;
		width:25px;
		overflow:hidden;
		margin:0 10px;
	}
	
	.h1 {
		margin-top: 25px;
		font-size:25px;
		line-height: 30px;
	}

	.borders {
		font-size:25px;
		line-height: 30px;
	}
	
	.section {
		height:auto;
	}
	
	.first .logo {
		width:100%;
		height:auto;
		padding:20px;
		text-align:center;
	}

	.first .logo img {
		width:50% !important;
		height:auto;
	}

	.first .lead_magnit div {
		width:100%;
		float:none !important;
		text-align:center !important;
	}
	
	.first .desc {
		width:100%;
		text-align:center;
	}

	
	.flex {
		display: block;
	}
	
	.vac {
		width:48%;
		height:320px;
	}
	
	.vac {
		margin-right:4%;
	}
	
	.vac:nth-child(2n) {
		margin-right:0;
	}
	
	#map {
		height:270px;
	}

	#map_contacts {
		position: static;
		width:100%;
		font-size:16px;
		line-height:21px;
		text-align: center;
		padding:20px 30px;
		margin:0 auto 0;
		border:none;
	}
	

	#map_contacts div {
		font-size:16px;
		line-height:21px;
	}

	#map_contacts a {
		font-size:16px;
	}

	#map_contacts .adres {
		font-size:16px;
	}
	
	.footer__container, .footer__container .cell {
		display: block;
	}
}

@media screen and (max-width:540px) {
	.vac {
		width:100%;
		height:320px;
		margin-right:0;
		margin-bottom:60px;
	}
	
	.modal {
		top:50px !important;
		left:0 !important;
		width:100%;
	}
}