
/* Reset ***********************/


body,button,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,input,textarea,p,blockquote,th,td{
	margin: 0;
	padding: 0;
	border:none;
	outline:none;
	box-sizing: border-box;
    }
table{
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset,img,abbr{
	border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var{
	font-style: normal;
	font-weight: normal;
}
ul li{
	list-style: none;
}
caption,th{
	text-align: left;
}
h1,h2,h3,h4,h5,h6{
	font-size: 100%;
	font-weight: normal;
}
sup{
	vertical-align: text-top;
}
sub{
	vertical-align: text-bottom;
}
input,textarea,select{
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}
legend{
	color: #000;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main{
	display: block;
}

/* Base ***********************/

body {
	font-family: 'RobotoLight', sans-serif;
	font-size: 14px;
	color: #555353;
	line-height: 1.5em;
	background: #ffffff;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	position: relative;
}

a {
	text-decoration:none;
	cursor:pointer;
	color:#555353;
}

a:hover, 
a:focus, 
a:visited {
	text-decoration: none;
	outline: none;
}


h1, h2, h3, h4, h5, h6 {
	position: relative;
	font-family: 'LoraRegular', serif;
	font-weight: normal;
	background: none;
	line-height: 1.2em;
}

h1 {
	text-transform: uppercase;
	text-align: center;
}


h2 {
	font-size: 32px;
	text-align: center;
}

h3 {
	font-size: 25px;
}

input,
button,
select,
textarea {
	font-family: 'RobotoLight', sans-serif;
}

video, 
iframe {
	display: block;
}


p {
	padding: 10px 0;
}


ul {
	list-style-type: none;
}


/* Layout ***********************/

.container {
	margin: 0 auto;
	max-width: 980px;
	padding: 0;
	position: relative;
}

.flex-justify, .flex-justify-start {
  	display: flex;
	justify-content: center;
  	align-items: center;
  	flex-wrap: wrap;
}

.flex-justify-start {
	align-items: flex-start;
}

.header-justify {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: nowrap;
}


/* Header ***********************/

.header__logo, .button__link {
	background-color: rgb(178, 188, 80);
    border: solid rgb(178, 188, 80) 0px;
    cursor: pointer;
    text-align: center;
	color: white;
	transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
}

.header__logo:hover, .button__link:hover {
	background-color: #809513;
    border: solid #809513 0px;
}

.header__logo {
	width: 25%;
	min-width: 240px;
	height: 125px;
}

.logo__link, .logo:hover {
	color: #fff;
	font-size: 21px;
}


/* Modul Social */

.social {
	display: flex;
	justify-content: center;
}

.social__item {
	position: relative;
	margin: 0 5px;
	width: 18px;
	height: 22px;
}

.social__item a{
	display: block;
}

.social__item img{
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
}


/* Menu ***********************/

.menu {
	display: flex;
	margin: 20px 20px;
	white-space: nowrap;
}

.menu li {
	margin: 0 10px;
}

.menu a:hover {
	color: #BEBEBE;
}



/* Parallax ***********************/
.parallax-main {
    min-height: 600px;
    background: transparent;
}


/* Section Promo ***********************/

.promo {
	position: relative;
}

.promo__wrapper {
	background-color: rgba(255, 255, 255, 0.78);
	max-width: 375px;
	height: 600px;
	position: absolute;
	padding: 5%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}


/* Modul Button */

.button {
	display: flex;
	//align-items: center;
	margin: 20px 0 0 0;
}

.button__link {
	height: 46px;
    width: 165px;
	display: block;
}


.button__link span{
	white-space: nowrap;
	color: #fff;
	font-size: 15px;
	vertical-align: middle;
	line-height: 46px;
}
	

/* Section Type 1 ***********************/
	
/* Modul Video */

.company__video1 {
	padding-top: 60px;
	position: relative;
	max-width: 450px;
	z-index: 10;
	margin-bottom: 87px;
}

.company__video2 {
	position: relative;
	max-width: 645px;
	max-height: 374px;
}

.video-flex {
	flex-basis: 52%;
}

.company__video3 {
	position: relative;
	max-width: 503px;
	max-height: 291px;
}

.relation__offset{
    height: 0;
}

.relation__offset-16-9{
    padding-top: 56.25%;
}

.relation__content, .relation__content2{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 62px;
    left: 0;
}

.relation__content2 {
	top: 0px;
}

.relation__content iframe{
    width: 100%;
    height: 80%;
    border: none;
}

.relation__content2 iframe{
    width: 100%;
    height: 100%;
    border: none;
}


/* Modul Company Text */

.company__text-type1 {
	overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 375px;
    background-color: rgba(240, 240, 240, 1);
	padding: 90px 20px 60px 160px;
	height: 400px;
}

.company__text-wrapper {
	position: relative;
	z-index: 10;
}

.company__title {
		padding-bottom: 0.75em;
}

.read-more {
	color: rgb(178, 188, 80);
	padding-top: 20px;
	display: inline-block;
	cursor: pointer;
}

.read-more-white{
	color: #fff;
}


/* Section Type 2, 3 ***********************/

/* Modul Company Text */

.company__text {
	padding: 40px 60px 20px;
	background-color: rgb(178, 188, 80);
	flex-basis: 470px;
	position: relative;
}
.company__text-white {
	background-color: #fff;
}

.company__text-bggrey {
    background-color: rgba(240, 240, 240, 1);
}

.company__text-inner {
	flex-basis: 40%;
	min-width: 320px;
	background-color: rgba(112, 105, 98, 1);
	color: white;
}


/* Modul Subtitle */

.subtitle {
    height: 148px;
    flex-basis: 148px;
	position: relative;
	background-color: rgba(112, 105, 98, 1);
	color: #fff;
}

.subtitle-green {
	background-color: rgb(178, 188, 80);
}



/* Modul Read More Panel */

.read-more__panel {
	display: none;
}

.rm-panel__wrapper {
    flex-basis: 35%;
	min-width: 320px;
	position: relative;

}

.rm-panel__wrapper img {
	max-width: 100%;
}

.rm-panel__subtitle {
	font-family: 'LoraItalic', serif;
	color: #fff;
	text-align: center;
	padding: 40px;
}



/* Section Contacts ***********************/

.contacts__wrapper {
	margin-bottom: 80px;
}


/* ModulInput */

.mainform {
	align-self: stretch;
	flex-basis: 362px;
	padding: 20px;
	text-align: center;
	background-color: rgb(178, 188, 80);
	position: relative;
	top: 80px;
}

.mainform input, .mainform textarea {
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid white;
    color: #555353;
    margin: 0 0 15px;
    width: 100%;
	padding: 10px;
}

.mainform button {
	border: 1px solid white;
	margin: 20px auto;
}

.contacts {
	font-size: 12px;
}


.success {
	display: none;
}




/* Footer ***********************/

.parallax-footer {
    background-color: grey;
	background-image: url(../images/footer_bg_1600.jpg);
	background-repeat: no-repeat;
    background-position: center center;
	background-attachment: fixed;
	background-size: cover;
	z-index: -10;
	}

.footer__wrapper {
	color: #fff;
	padding: 60px 0 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-around;
}

.footer__item {
	position: relative;
	flex: 1 1 224px;
	padding: 0 20px;
	text-align: center;
}

.footer__contacts {
	text-align: left;
}

.footer__line:after, .footer__line-slogan:after {
	content: "";
	height: 95px;
	border-right: 1px solid #fff;
	position: absolute;
	right: 0;
	bottom: 0;
}

.footer__line-slogan:after {
	bottom: -31px;
}

.footer__slogan {
	font-family: 'LoraRegular', serif;	
	font-size: 21px;
	color: #fff;
}

.footer__social {
	padding-top: 10px;
}

.footer__phone a {
	color: #fff;
}

.footer__copyright {
	text-align: center;
	padding-bottom: 60px;
	color: #fff;
}


/* Scroll To Top ***********************/

.scroll-to-top{
	position:fixed;
	bottom:50px;
	right:10px;
	width:40px;
	height:40px;
	color:#ffffff;
	background: rgb(178, 188, 80);
	font-size:14px;
	line-height:38px;
	border:1px solid rgb(178, 188, 80);
	text-align:center;
	z-index:100;
	cursor:pointer;
	border-radius:3px;
	display:none;	
	font-size: 20px;
}

.scroll-to-top:hover{
	background:#ffffff;
	color:rgb(178, 188, 80);
	border-color:rgb(178, 188, 80);
}


/* Section Main Responsive ***/

@media only screen and (max-width: 996px){
	.company__text-type1 {
		padding-top: 60px;
	}
	
}

@media only screen and (max-width: 980px){
	
	.mainform {
		top: 0;
	}

}

@media only screen and (max-width: 800px){
	.video-flex {
		flex-basis: 100%;
	}

}

@media only screen and (max-width: 767px){
	.promo-bg {
		height: 400px;
	}
	
	.promo__wrapper {
		height:  400px;
	}
	
	.parallax-main {
    	min-height: 400px;
	}
	
	.company__text-type1{
		position: relative;
		left: 0;
		padding: 32px;
		height: auto;
	}
	.company__video1,
	.company__video2 {
		padding-top: 0;
		max-width: 100%;
	}
	.relation__content {
		top: 0;
	}
	
	.relation__content iframe {
		height: 100%;
	}

}

@media only screen and (max-width: 684px){
	
	.menu {
		display: none;
	}
	
	.header__navigation {
		flex-basis: calc(100vw - 240px);
	}
	
	.footer__phone {
		display: block;
		margin-top: 30px;
	}
}

@media only screen and (max-width: 671px){
	
	
	.footer__line-slogan:after {
		display: none;
	}
}

@media only screen and (max-width: 480px){
	.promo__wrapper {
		max-width: 480px;
	}
	
	.footer__item {
		padding: 0 10px;
	}
}

@media only screen and (max-width: 447px){
	.footer__contacts {
		text-align: center;
		padding-bottom: 20px;
	}
	
	.footer__line:after {
		display: none;
	}
}

@media only screen and (max-width: 400px){
	
	.social {
		display: none;
	}
	
	.header__logo {
    	min-width: 100%;
	}
}

