.parallax {
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}

.noparallax {
	background-attachment: scroll !important;
}

.wrap {
	width: 100%;
	position: relative;
	box-sizing: border-box;	
	padding: 100px 50px;
}

.iwrap {
	width: 100%;
	max-width: 1200px;
	position: relative;
	margin: 0 auto;
}
.text-iwrap {max-width: 900px}

.iwrap::after {
	content: "";
	clear: both;
	display: table;
}

.wrap p {
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
}

.wrap h2 {
	font-size: 27px;
}

.wrap ul {
	margin-left: 25px;
}

.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;
}

.fc-blue {color: #475ED1}

.bc-color {background-color: red}
.bc-grey {background-color: #efefef}

.ta-left {text-align: left}
.ta-right {text-align: right}

strong {font-weight: 600}

hgroup {margin-bottom: 50px}

h2 {
	font-size: 52px;
	line-height: 52px;
	font-weight: 600;
	margin-bottom: 20px;
}

h3 {
	font-size: 24px;
	line-height: 24px;
	font-weight: 600;
}

h4 {
	font-size: 22px;
	line-height: 28px;
	font-weight: 400;
	font-family: 'Noto Serif', serif;
	font-style: italic;
}

#scroll-top {
	position: fixed;
	z-index: 99;
	bottom: 50px;
	right: 38px;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	padding: 2px;
	border-radius: 50%;
	background-color: rgba(44,60,132,0.5);
	display: none;
}

#scroll-top span {
	display: block;
	width: 36px;
	height: 36px;
	border: 2px solid white;
	border-radius: 50%;
	background-image: url(../img/scroll-top.png);
	background-size: cover;
}

.box-link {
	display: inline-block;
	color: white;
	background: red;
	outline: 2px solid red;
	font-weight: 500;
	font-size: 18px;
	padding: 12px 40px;
	margin-top: 40px;
}
.box-link:hover {
	color: red;
	background: white;
}

.tel-link {cursor: default}

.mail-link:hover {text-decoration: underline}

footer .social-menu {margin: 30px 0 10px 0}

.social-menu a {
	display: inline-block;
	width: 28px;
	height: 24px;
	background-position: top center;
	background-size: 28px 48px;
	margin: 0 5px;
}
.social-menu a:hover {background-position: bottom center}
.social-fb {background-image: url(../img/social-fb.png)}
.social-tw {background-image: url(../img/social-tw.png)}
.social-in {background-image: url(../img/social-in.png)}
.social-yt {background-image: url(../img/social-yt.png)}



/*GRID: 1024px */
@media all and (max-width: 1024px) {

.wrap {padding: 60px 50px}

.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%;
}

.ta-left, .ta-right {text-align: center}

hgroup {margin-bottom: 30px}

h2 {
	font-size: 36px;
	line-height: 36px;
	margin-bottom: 10px;
}

h3 {
	font-size: 20px;
	line-height: 20px;
}

h4 {
	font-size: 20px;
	line-height: 24px;
}

#scroll-top {
	right: 33px;
	bottom: 20px;
	opacity: 1 !important;
}

footer .social-menu {margin: 20px 0 15px 0}

.box-link {margin-top: 30px}

.social-menu a {background-position: top center !important}
	
}


/*GRID: 750px */
@media all and (max-width: 750px) {

.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}

hgroup {margin-bottom: 20px}

h2 {
	font-size: 32px;
	line-height: 32px;
	margin-bottom: 5px;
}

h3 {
	font-size: 18px;
	line-height: 18px;
}

h4 {
	font-size: 18px;
	line-height: 20px;	
}

#scroll-top {
	bottom: 15px;
	right: 20px;
	width: 28px;
	height: 28px;
	border: 1px solid #5B5B5B;
}


#scroll-top {
	bottom: 15px;
	right: 20px;
	width: 32px;
	height: 32px;
	padding: 1px;
}

#scroll-top span {
	width: 26px;
	height: 26px;
	border: 1px solid white;
}

.social-menu a {
	width: 21px;
	height: 18px;
	background-size: 21px 36px;
	margin: 0 2px;
}
	
}


/*GRID: 500px */
@media all and (max-width:500px) {

.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: 28px;
	line-height: 28px;
}

h3 {font-size: 18px}

#scroll-top {right: 10px}
	
}

/* MOJE */
.myOkreg {
	display: inline-block;
	border: 3px solid #fff;
	border-radius: 50%;
	padding: 10px 15px;
	color: #fff;
	font-weight: bold;
	font-size: 2em;
	font-family: arial;
}
	
a.myOkreg:hover {
	background-color: rgba(255,255,255, 0.4);

    -webkit-transition: background-color 100ms linear;
    -ms-transition: background-color 000ms linear;
    transition: background-color 100ms linear;
}