.parallax {
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}

.noparallax {
	background-attachment: scroll !important;
}

.scrolling-elements {
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	top: 0;
	left: 0;
}
.scrolling-elements.logo-bg {
	background-image: url('../img/onas-bg.png');
	background-position: right 100px;
	background-repeat: no-repeat;
}

.scrolling-elements figure {
	display: block;
	position: absolute;
	width: calc(50vw - 550px);
	height: 650px;
	left: 0;
	overflow: hidden;
}

.scrolling-elements figure img {
	position: absolute;
	right: 0;
	display: block;
	width: 300px;
}

.scrolling-elements figure.right {
	left: auto;
	right: 0;
}
.scrolling-elements figure.right img {
	right: auto;
	left: 0;
}

.wrap {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	padding: 80px 50px;
}
.wrap.small-wrap {padding: 60px 50px}

.iwrap {
	width: 100%;
	max-width: 900px;
	position: relative;
	margin: 0 auto;
	box-sizing: border-box;
}

.iwrap::after {
	content: "";
	clear: both;
	display: table;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.flex > div {box-sizing: border-box}

.flex50 > div {
	width: 50%;
	padding: 0 20px;
}

.flex33 > div {
	width: 33.3%;
	padding: 0 10px;
}

.flex33 img {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}

.flex25 > div {
	width: 25%;
	padding: 0 10px;
}

.flex25 img {
	margin-bottom: 20px;
}

.flex50-50 > div {width: 50%}

.flex50-50-reverse {flex-direction: row-reverse}

.flex50-50-illustration {
	background-size: cover;
	background-position: center;
	background-image: url('../img/slider.jpg');
}

.flex50-50-text {padding: 100px 70px;}

.flex50-50-text > div {
	display: inline-block;
	box-sizing: border-box;
	width: 90%;
	max-width: 600px;
}

.flex .iflex60 {
	width: 60%;	
}

.flex .iflex40 {
	width: 40%;	
}

.fc-color {color: red}

.bc-red {
	background-color: #E31E24;
	color: white;
}
.bc-red  h3 {color: white}


.ta-left {text-align: left}
.ta-right {text-align: right}

strong {font-weight: 700}

h2 {
	font-size: 100px;
	line-height: 100px;
	font-weight: 800;
	color: #E7E7E7;
	position: absolute;
	top: -20px;
	z-index: -1;
}

h3 {
	font-family: 'Lato', sans-serif;
	color: #E31E24;
	font-style: italic;
	font-size: 28px;
	line-height: 28px;
	font-weight: 400;
	margin-bottom: 10px;
}

h4 {
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 40px;
	font-weight: 700;
}

.box-link {
	display: inline-block;
	font-family: 'Lato', sans-serif;
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	margin-top: 20px;
	color: #E31E24;
}
.box-link.box-link-white {color: white}

.box-link span {
	display: block;
	width: 100%;
	height: 2px;
	background: #D7D7D7;
	position: relative;
	margin: 5px auto 0 auto;
	overflow: hidden;
}
.box-link.box-link-white span {background: white}

.tel-link {cursor: default}

#header-logo {
	display: block;
	position: absolute;
	top: 50px;
	left: 70px;
	z-index: 100;
}
#header-logo img {display: block}

#footer-kontakt {
	display: flex;
	flex-wrap: wrap
}
#footer-kontakt > div {
	width: 50%;
	box-sizing: border-box;
}

#footer-kontakt > div:first-of-type {
	position: relative;
	padding-right: 50px;
	text-align: right;
	border-right: 2px solid #D7D7D7;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#footer-kontakt > div:first-of-type img {
	max-height: 100%
}

#footer-kontakt > div:last-of-type {
	text-align: left;
	padding-left: 50px;
}

#footer-wrapper {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	padding: 0 30px 30px
}

footer {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	background-image: url('../img/footer-bg.jpg');
	background-position: center;
	background-size: cover;
}

#footer-logo-bg {
	position: absolute;
	opacity: 0.1;
	display: block;
	height: calc(100% - 20px);
	top: 10px;
	margin: auto;
	left: 0;
	right: 0;
}

#footer-menu {margin-top: 20px}

#footer-menu ul {
	list-style: none;
	display: inline-block;
	border-top: 1px solid white;
	padding-top: 15px;
}

#footer-menu li {
	display: inline-block;
	margin: 0 10px;
}

#footer-menu a {
	color: white;
	font-weight: 700;
	word-spacing: 2px;
	font-family: 'Lato', sans-serif;
}

#footer-socials {
	margin-top: 30px;
	margin-bottom: 10px;
	display: flex;
	justify-content: center;
}

#footer-socials div {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0 2px;
}

#footer-socials a {
	display: block;
	position: relative;
	width: 34px;
	height: 34px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background-position: center;
	background-size: 30px;
	background-repeat: no-repeat;
}

.social-fb {
	background-color: #4669C9;
	background-image: url('../img/social-fb.png')
}
.social-yt {
	background-color: #F24B2E;
	background-image: url('../img/social-yt.png')
}
.social-ig {
	background-color: #e7448c;
	background-image: url('../img/social-ig.png')
}

.copyright {
	position: absolute;
	padding: 0 10px;
	bottom: 10px;
	left: 0;
	right: 0;
	font-size: 11px;
	line-height: 11px;
	color: white;
	font-weight: 700;
}
.copyright:first-of-type {
	right: auto;
	left: 10px;
	z-index: 2;
}
.copyright:last-of-type {
	right: 50px;
	left: auto;
}

.copyright a {color: white}
.copyright a:hover {text-decoration: underline}

#scroll-top {
	position: fixed;
	z-index: 99;
	bottom: 30px;
	right: 30px;
	width:40px;
	height: 40px;
	background-color: #E31E24;
	background-image: url('../img/scroll-top.png');
	background-size: 100%;
	display: none;
}


/*GRID: 1440px */
@media all and (max-width: 1440px) {
	
.scrolling-elements figure {
	width: calc(50vw - 450px);
	height: 488px;
}

.scrolling-elements figure img {width: 225px}

.iwrap {max-width: 800px}
	
}


/*GRID: 1280px */
@media all and (max-width: 1280px) {
	
.scrolling-elements figure {width: calc(50vw - 400px)}

.iwrap {max-width: 700px}

.copyright {
    position: relative;
    padding: 0;
    bottom: auto;
    left: auto !important;
    right: auto !important;
	top: 30px;
	margin-bottom: 5px;
}
.copyright:last-of-type {top: 40px}

	
}


/*GRID: 1024px */
@media all and (max-width: 1024px) {
	
.scrolling-elements {display: none}

.wrap {padding: 60px 50px}

.iwrap {max-width: 800px}

.flex50 > div {
	width: 100%;
	padding: 0;
	margin-bottom: 50px;
}
.flex50 > div:last-of-type {margin-bottom: 0}

.flex25-wrap {padding-bottom: 0}

.flex25 > div {
	width: 50%;
	padding: 0 10px;
	margin-bottom: 50px;
}

.flex50-50-reverse {flex-direction: row}

.flex50-50 > div {width: 100%}

.flex50-50-illustration {height: 300px}

.flex50-50-text {padding: 60px 50px}

.flex50-50-text > div {
	width: 100%;
	max-width: 100%;
}

.flex .iflex60 {
	width: 100%;	
}

.flex .iflex40 {
	width: 100%;	
}

.ta-left, .ta-right {text-align: center}

.black-to-red {color: #404040 !important}

#header-logo {
	top: 40px;
	left: 50px;
	width: 150px;
}

#footer-wrapper {padding: 0 20px 20px}

footer {padding: 60px 50px}

#footer-menu a {color: white !important}

#footer-socials a {
	width: 34px !important;
	height: 34px !important;
	top: 3px !important;
	left: 3px !important;
}

.copyright:first-of-type {
    left: 10px;
    right: auto;
}

#scroll-top {
	right: 20px;
	bottom: 20px;
	background-color: #E31E24 !important;
}

.box-link {margin-top: 30px}
	
}


/*GRID: 750px */
@media all and (max-width: 750px) {
	
.wrap, .wrap.small-wrap {padding: 50px 20px}

.flex33 > div {
	width: 100%;
	padding: 0;
	margin-bottom: 40px;
}
.flex33 > div:last-of-type {margin-bottom: 0}

.flex50-50 > div {width: 100%}

.flex50-50-illustration {height: 250px}

.flex50-50-text {padding: 50px 20px}

h2 {
	font-size: 70px;
	line-height: 70px;
	top: -10px;
}

#header-logo {
	top: 30px;
	left: 30px;
}
#header-logo img {width: 300px}

#footer-kontakt > div {width: 100%}

#footer-kontakt > div:first-of-type {
    padding-right: 0;
    text-align: center;
    border-right: none;
    display: block;
}

#footer-kontakt > div:first-of-type img {
	height: 100px;
	margin-bottom: 30px;
	max-height: auto;
}

#footer-kontakt > div:last-of-type {
    text-align: center;
    padding-left: 0;
}

#footer-wrapper {padding: 0 15px 15px}

footer { padding: 50px 20px}

#footer-logo-bg {display: none}

#scroll-top {
	right: 15px;
	bottom: 15px;
}

.box-link {margin-top: 20px}
	
}


/*GRID: 500px */
@media all and (max-width:500px) {
	
.wrap, .wrap.small-wrap {padding: 40px 15px}

.flex25 > div {
	width: 100%;
	padding: 0;
	margin-bottom: 40px;
}
.flex25 > div:last-of-type {margin-bottom: 0}

.flex50-50-illustration {height: 250px}

.flex50-50-text {padding: 40px 15px}

h2 {
	font-size: 50px;
	line-height: 50px;
	top: 0 !important;
	position: relative;
	margin-bottom: 0;
}

#header-logo {
	top: 20px;
	left: 20px;
}
#header-logo img {width: 250px}

#footer-wrapper {padding: 0 10px 10px}

footer { padding: 40px 15px }

#scroll-top {
	right: 10px;
	bottom: 10px;
	width: 32px;
	height: 32px;
}
	
}