@font-face {
	font-family: 'Noto-Serif-Display-ExtraCondensed';
	src:  url('/content/templates/poradna/fonts/Noto-Serif-Display-ExtraCondensed.ttf.woff') format('woff'),
	url('/content/templates/poradna/fonts/Noto-Serif-Display-ExtraCondensed.ttf.svg#Noto-Serif-Display-ExtraCondensed') format('svg'),
	url('/content/templates/poradna/fonts/Noto-Serif-Display-ExtraCondensed.ttf.eot'),
	url('/content/templates/poradna/fonts/Noto-Serif-Display-ExtraCondensed.eot?#iefix') format('embedded-opentype');
	font-weight: normal;
	font-style: normal;
}

body{
	background: #F8F4F4;
}
#admin{
	display:none;
}

.header{
	width:100%;
}

.logo{
	text-align:right;
	margin-top:40px;
	padding-left:calc((100vw - 450px) / 2);
	padding-right:calc((100vw - 450px) / 2);
}

.logo img{
	width:220px;
}

.header-image{
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	height: calc((200 / 360) * 100vw);
	max-width: 450px;
	max-height: 250px;
	margin-top: 10px;
}

.header-image-image{
	width:100%;
	height: 100%;
}

.header-image-image div{
	width:100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

.header-image-image div::after{
	content: "";
	position: absolute;
	background: linear-gradient(to right, transparent 0%, #F8F4F4 70%);
	height: 100%;
	width: 60px;
	right: 0;
}

.header-menu{
	margin-top:20px;
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	max-width: 450px;
	font-family:"Noto Serif Display", serif;
}

ul.nav-header{
	list-style-type: none;
	padding-left: 0;
	display:flex;
}

.nav-header-item{
	flex:1;
	text-align: center;
	font-size:18px;
}

.nav-header-item a{
	color: rgb(138, 68, 78);
}

h2{
	color: rgb(138, 68, 78);
	font-family:"Noto Serif Display", serif;
	font-size:28px;
	font-weight: 400;
	margin-bottom:20px;
}

.text-1{
	margin-top:50px;
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	max-width: 400px;
}

.text-2{
	margin-top:50px;
	width: 92%;
	margin-left: auto;
	margin-right: auto;
	max-width: 400px;
	padding-bottom:50px;
}

.text-2 img{
	max-width: 500px;
}

.btn-primary {
	color: #fff;
	border-radius: 0;
	width: 180px;
	padding:10px 0;
	background: #722232;
	border:0;
	font-size: 16px;
}

.btn-primary:hover, .btn-primary:focus{
	background: #521521;
	border:0;
}

.text-3, .text-5, .text-8{
	width: 100%;
	padding-left:calc((100vw - 580px) / 2);
	padding-right:calc((100vw - 580px) / 2);
	background: #EBEBEB;
	padding-top:30px;
}

.text-inner{
	padding:15px 15px 0 15px;
}

.box-image{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	height: calc((275 / 360) * 100vw);
	max-width: 580px;
	max-height: 465px;
}

.box-image-image{
	width:100%;
	height: 100%;
}

.box-image-image div{
	width:100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

.box-image-image div::after{
	content: "";
	position: absolute;
	background: linear-gradient(to right, #EBEBEB 0%, transparent 100%);
	height: 100%;
	width: 60px;
	left:0
}

.text-4, .text-6{
	width: 100%;
	padding-left:calc((100vw - 580px) / 2);
	padding-right:calc((100vw - 580px) / 2);
	background: #fff;
}

.text-4 .text-inner, .text-6 .text-inner{
	padding:0 15px 15px 15px;
}

.text-4 .box-image-image div::after, .text-6 .box-image-image div::after{
	content: "";
	position: absolute;
	background: linear-gradient(to right, transparent 0%, #FFFFFF 100%);
	height: 100%;
	width: 60px;
	right:0;
	left:auto;
}

.text-4 .box-image, .text-6 .box-image{
	margin-bottom:30px;
}

.border-about{
	height: 1px;
	width: 100%;
	background: #000;
	margin-bottom:30px;
}

.text-7{
	width: 100%;
	padding-left:calc((100vw - 900px) / 2);
	padding-right:calc((100vw - 900px) / 2);
	background: #fff;
	padding-bottom: 15px;
}

h3{
	color: rgb(138, 68, 78);
	font-family:"Noto Serif Display", serif;
	font-size:20px;
	font-weight: 400;
	margin-bottom:20px;
}

.mottoto{
	width: 340px;
	margin-left: auto;
	margin-right: auto;
	background: #EBEBEB;
	padding: 20px;
	text-align: center;
	color: rgb(138, 68, 78);
	font-family:"Noto Serif Display", serif;
	font-style:italic;
}

.text-9{
	padding-top:30px;
	background: #722232;
	color:#fff;
}

.text-9 .text-inner{
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

.text-9 h2{
	color:#fff;
}

.cf-name{
	font-weight: 300;
	font-size:20px;
	margin-bottom:20px;
	color:#000;
}

.contactform{
	max-width: 450px;
	margin-right: auto;
	margin-left: auto;
	background: #fff;
	padding:20px;
	border-radius: 5px;
}

.contactform label{
	font-size:12px;
	color:#000;
}

.contactform button{
	background: #EAEAEA;
	border-color: #EAEAEA;
	width: 100%;
	color:#000;
}

.contactform button:hover{
	background: #c1c1c1;
	border-color: #c1c1c1;
	color:#000;
}

footer{
	background: #3B3E3F;
	color:#fff;
	text-align:center;
}

footer a{
	color:#fff !important;
}

.hp-links-links {
	flex-wrap: wrap;
	display: flex;
	padding:20px 5px;
	margin-top:30px;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

a.hp-link{
	width:calc(50% - 5px);
	display:flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom:20px;
	padding-right:10px;
}

a.hp-link:hover{
	text-decoration: none;
}

a.hp-link:nth-child(2n)>div:nth-child(2){
	border-left: 1px solid #000;
	padding-left: 10px;
	padding-right:0;
	width:100%;
}

a.hp-link:nth-child(2n)>div:nth-child(3){
	border-left: 1px solid #000;
	padding-left: 10px;
	padding-right:0;
	width:100%;
}

a.hp-link img{
	height: 50px;
	width: fit-content;
}

a.hp-link>div:nth-child(2){
	font-family: "Noto Serif Display", serif;
	margin:10px 0 0 0;
	padding: 0 0 10px 0;
	font-size:1.1rem;
}

a.hp-link>div:nth-child(3){
	color:#000;
}

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

	a.hp-link {
		width: calc(25% - 5px);
	}

	a.hp-link>div:nth-child(3){
		height: -webkit-fill-available;
	}

	a.hp-link>div:nth-child(2){
		font-size:1.2rem;
		padding-bottom: 30px;
	}

	.hp-links-links{
		max-width: 930px;
		padding:50px 0;
	}

	a.hp-link:nth-child(3)>div:nth-child(2){
		border-left: 1px solid #000;
		padding-left: 10px;
		padding-right:0;
		width:100%;
	}

	a.hp-link:nth-child(3)>div:nth-child(3){
		border-left: 1px solid #000;
		padding-left: 10px;
		padding-right:0;
		width:100%;
	}

	#admin {
		display: block;
	}

	.header{
		margin-top: 40px;
		display:grid;
		grid-template:
			"logo menu" auto
			"image text" auto / 500px 1fr;
		max-width: 1350px;
		margin-left: auto;
		margin-right: auto;
	}

	.logo{
		grid-area: logo;
		margin-top:0;
		padding:0;
	}

	.header-image{
		grid-area: image;
		max-width: 500px;
		max-height: 285px;
	}

	.header-menu{
		grid-area: menu;
		margin-top:0;
		display: flex;
		width: 100%;
		align-items: end;
	}

	.navigation-header{
		flex:1;
	}

	ul.nav-header{
		margin-bottom:0;
	}

	.text-1{
		grid-area: text;
	}

	.text-2{
		max-width: 1000px;
		display: flex;
	}

	.text-3, .text-5{
		padding-left: calc((100vw - 1350px) / 2);
		padding-right: calc((100vw - 1350px) / 2);
		padding-top:0;
	}

	.text-inner{
		display:flex;
		padding:0 0 0 15px;
	}

	.box-image{
		height:500px;
		max-height: 500px;
		width:600px;
		max-width: 600px;
	}

	.text-3 .text-inner>div:first-child, .text-5 .text-inner>div:first-child{
		flex:1;
		padding-top:60px;
		padding-left:calc((100vw - 1100px));
		padding-right:50px;
	}

	.text-4, .text-6{
		padding-left: calc((100vw - 1350px) / 2);
		padding-right: calc((100vw - 1350px) / 2);
		padding-top:0;
	}

	.text-4 .text-inner>div:nth-child(2), .text-6 .text-inner>div:nth-child(2){
		flex:1;
		padding-top:60px;
		padding-right:calc((100vw - 1100px));
		padding-left:50px;
	}

	.text-4 .text-inner, .text-6 .text-inner{
		padding:0 15px 0 0;
	}

	.text-4 .box-image, .text-6 .box-image{
		margin-bottom:0;
	}

	.text-7 .text-inner, .text-8 .text-inner{
		display:block;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.mottoto{
		float: right;
		margin-left: 40px;
	}

	.text-8, .text-9{
		padding-left: calc((100vw - 900px) / 2);
		padding-right: calc((100vw - 900px) / 2);
	}

	.text-9 .text-inner {
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}

	.text-9{
		padding-top:50px;
	}

	footer{
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 20px;
	}


}

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

	.text-3 .text-inner>div:first-child, .text-5 .text-inner>div:first-child{
		padding-left:250px;
	}

	.text-4 .text-inner>div:nth-child(2), .text-6 .text-inner>div:nth-child(2){
		padding-right:250px;
	}

}