.text h1,
.text h2,
.text h3 {
	font-weight: 600;
}

.text h1,
.text h2,
.text h3,
.text p {
	margin: 15px 6%;
}

.text img {
	border: 3px solid #8BC9D0;
	margin: 0 6%;
	max-width: 88%;
}

body {
	font-size: 17px;
	color: #393838;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
font-family: "Open Sans", sans-serif;
}

 img {
	max-width: 100%;
}

.lang {
	margin: 30px 0 0 30px;
	font-size: 14px;
	color: #ebe4f1;
}

nav select{
	display: none;
}

.soc {
	margin: 0 0 0 25px;
	position: absolute;
	bottom: 30px;
}

.soc li {
	float: left;
	list-style: none;
	margin: 0 5px;
}

.soc img {
	width: 30px;
}

.lang a {
	color: #FFF;
}

.lang a:hover {
	text-decoration: none;
}

nav {
	position: fixed;
	z-index: 100;
	height: 100%;
	top: 0;
	background: #9168b2;
	width: 261px;
}

nav .logo {
	margin: 30px 0 0 0px;
}

nav .logo > a{
	display: block;
}

nav .logo > a > img{
	display: block;
	margin:0 auto;
}

nav .sub-menu {
	display: flex;
	justify-content: center;
	margin: 20px 20px 0 20px;
}

nav .sub-menu li {
	list-style: none;
	margin-right: 10px;
	padding: 4px 0;
}

nav .sub-menu li:last-child {
	margin-right: 0;
}

nav .sub-menu li a {
	color: #FFF;
	text-decoration: none;
	font-size: 1.4em;
}

nav .sub-menu li a:hover {
	text-decoration: underline;
	color: #a7cbd7;
}

.wrapper .frame{
	margin-left: 261px;
	height: 664px;
}

div.frame iframe{
	height: 100%;
	width: 100%;
}
.content {
	position: relative;
	margin: 0 auto;
	height: 100%;
	margin-left: 261px;
}

.main-item {
	display: none;
}

.sub-menu li.active a {
	color: #000;
}

.gl .sub-menu li.active a {
	color: #000;
}

.gl .sub-menu li a:hover {
	text-decoration: underline;
	color: #ded3e7;
}

.text {
	width: 960px;
	margin: 0 auto;
	padding-bottom: 50px;
}

.text form{
	width: 80%;
	margin: 0 auto;
}

.text input[type="text"],
 .text input[type="email"], 
 .text input[type="tel"], 
 .text textarea{
	width: 100%;
	height: 40px;
	border: 1px solid #8BC9D0;
	padding: 0 15px;
	font-size: 14px;
}
 .text textarea{
 	height: 100px !important;
 }

.text form label{
	display: block;
	margin: 5px 5px;
}

.text input[type="submit"] {
	background: #8BC9D0;
	border: none;
	color: #fff;
	width: 336px;
	height: 46px;
	font-size: 17px;
	margin-top: 20px;
	margin: 16px auto;
	display: block;
}

.text form h3{
	text-align: center;
}

form .block_in_form{
    float: left;
    margin-left: 9.5%;
    margin-bottom: 5px;
    width: 27%;
}

form > div:first-of-type{
    margin-left: 0px !important;
}

.text p {
		font-size: 19px;
	}
	.text h3{
		font-size: 1.5em !important;
	}
	.text h2{
		font-size: 1.8em !important;
	}
	.text h1{
		font-size: 2.1em !important;
	}