
#hp-box-1{
	background-image:url("/upload/sablona/11.png");
}

#hp-box-2{
	background-image:url("/upload/sablona/12.png");
}

#hp-box-3{
	background-image:url("/upload/sablona/13.png");
}

.hp-box{
	width:100%;
	padding:1em;
	text-align:center;
	box-sizing:border-box;
	background-size: cover;
    background-position: center;
	display: flex;
    justify-content: center;
	position: relative;
}

h3.hp-box-header{
	text-align:center;
	font-weight:bold;
	color: #d5d5d5;
	font-size: 1.4rem;
}

.hp-box-inner{
	background: #000000d4;
    color: #d5d5d5;
    padding: 1em;
    font-size: 1.2rem;
    line-height: 1.2;
}

.hp-box-text{
	font-weight: 200;
}

#layout{
    font-family: Open Sans;
}

#header-mobile{
	background:#f2f2f2;
}

#title a{
	text-decoration: none;
	color: #000;
	font-weight: 200;
	font-size: 1.3em;
}

.footer-photos{
	display:flex;
	margin-bottom:1em;
}

#footer{
	width:100%;
}

#footer{
	height:auto;
}

.footer-photo{
	height: 130px;
	flex:1;
	text-align:center;
}

.footer-photo img{
	max-height: 100%;
}

@media screen and (min-width: 576px) {

	.hp-box{

	}

	.hp-box-inner{
		background-color:transparent;
		padding: 0;
		position:relative;
		font-size: 3vw;
	}

	.oct-left{
		float:left;
		shape-outside: polygon(0 0, 100% 0, 30% 15%, 0 50%, 30% 85%, 100% 100%, 0 100%);
    	width: 50%;
    	height: 65vw;
	}

	.oct-right{
		width: 50%;
    	height: 65vw;
		float: right;
		shape-outside: polygon(100% 0, 0 0, 70% 15%, 100% 50%, 70% 85%, 0 100%, 100% 100%);
	}

	.hp-box-octangle::before{
		background-image:url("/upload/files/sablona/octo.svg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		content: '';
		position:absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		mix-blend-mode: multiply;
	}

	.hp-box-octangle{
		height: 65vw;
		position: relative;
		width: 65vw;
	}

	h3.hp-box-header{
		padding-top: 15%;
		font-size: 4vw;
	}

}

@media screen and (min-width: 768px) {

	.hp-box-octangle{
		height:500px;
		width:500px;
	}

	.oct-left, .oct-right{
		height:500px;
	}

	.hp-box-inner{
		font-size:1.7rem;
	}

	h3.hp-box-header{
		font-size:1.8rem;
	}


}

@media screen and (min-width: 992px) {

	.hp-box{
		justify-content: flex-end;
		padding-right:200px;
		background-attachment: fixed;

	}

	.hp-box:nth-child(2n){
		justify-content:left;
		padding-left:200px;
	}

}

@media screen and (min-width: 1100px) {

	#title {
    	width: 190px;
    	line-height: 1.3;
		flex:none;
	}

	#title-padding{
		text-align:right;
	}

	#headerText{
		padding: 0.5em;
    	box-sizing: border-box;
	}

	.sf-menu{
		flex:1;
		display: flex;
		height:100%;
	}

	.sf-menu li{
		height:100%;
		padding:1.2em;
		box-sizing:border-box;
		display: flex;
    	align-items: center;
		cursor:pointer
	}

	.sf-menu li a{
		text-decoration:none;
		color:#fff;
		font-size:1.1em;
		font-weight:100;
		display: flex;
    	align-items: center;
		height:100%;
	}

	#searchForm{
		position: relative;
	}

	#layout #search input{
		width:180px;
		float:none;
		padding-right: 30px;
    	box-sizing: border-box;
	}

	#searchHelper{
		position: absolute;
	    display: block;
	    top: 5px;
	    right: 5px;
	    height: 20px;
	    width: 20px;
	}

	#searchImg{
		margin:0 !important;
		height: 20px;
    	width: 20px;
		padding:0;
	}

	#slider{
		margin-top:100px;
	}

	#header{
		height:440px;
	}


}


@media (max-width: 1099px) {

	#navigation-padding{
		padding:0;
	}

	#menuMobile li div a{
		font-size:1.3em;
		font-weight:400;
	}

}
