/*
Theme Name: Penzion Hanka
Theme URI: 
Author: Tomáš Gažůr
Author URI: https://www.tomasgazur.cz/
Version: 1.0
*/

img{display:block;} button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline: transparent dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}
html,
body {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}
body {
	font-family: 'bio-sans', Arial, sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #393939;
	font-size: 16px;
	letter-spacing: normal;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
}
.row {
	width: 100%;
	max-width: 1210px;
	padding: 0 20px;
	margin: 0 auto;
	display: block;
	position: relative;
}
header {
	width: 100%;
	float: left;
	padding: 37px 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 400;
}
body#logged header {
	top: 32px;
}
header .logo {
	float: left;
	width: 190px;
}
header .main-menu {
	width: calc(100% - 190px);
	padding-left: 165px;
	margin-top: 20px;
	float: right;
}
header .main-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
header .main-menu li {
	margin-right: 70px;
	display: inline-block;
}
header .main-menu li a {
	font-size: 18px;
}
a.button, .form input[type="submit"] {
	color: #fff;
	padding: 0 20px;
	min-width: 210px;
	height: 50px;
	line-height: 48px;
	display: table;
	font-weight: 700;
	text-align: center;
}
a.button.left {
	float: left;
}
a.button.right {
	float: right;
}
a.button.center {
	margin: 0 auto;
}
a.button:hover, .form input[type="submit"]:hover {
	opacity: 0.9;
}
header .menu-show {
	position: absolute;
	right: 20px;
	top: 35px;
	width: 35px;
	display: none;
	font-size: 0;
	height: 28px;
	z-index: 300;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: 300ms linear;
	-moz-transition:300ms linear;
	-ms-transition: 300ms linear;
	-o-transition: 300ms linear;
	transition: 300ms linear;
	cursor: pointer;
	text-transform: uppercase;
}
.open-mobile header .menu-show {
	background-position: left top;
	background-repeat: no-repeat;
	background-image: url('img/icon-close.svg');
}
.open-mobile header .menu-show svg {
	display: none;
}
.open-mobile header .main-menu {
	display: flex;
}
body.open-mobile .main-menu ul {
	position: fixed;
	top: 0;
	margin: 0;
	right: 0;
	width: 180px;
	z-index: 100;
	display: block;
	height: 100vh;
	padding: 120px 35px 0;
	text-align: right;
}
body.open-mobile .main-menu ul li {
	margin: 30px 0;
	float: left;
	width: 100%;
	padding: 0;
}
body.open-mobile .main-menu ul li.menu-item-has-children > a:after {
	display: none;
}
body.open-mobile .main-menu ul li a {
	color: #fff;
	font-size: 16px;
	line-height: inherit;
	height: inherit;
}
.main {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 180px;
	position: relative;
	height: 484px;
}
.main h1 {
	font-size: 41px;
	margin: 0 0 15px;
	font-weight: 700;
}
.main p {
	font-size: 18px;
	margin: 0 0 20px;
	max-width: 420px;
	line-height: 140%;
}
.boxes {
	display: flex;
	gap: 30px;
	align-self: stretch;
	margin-top: -80px;
}
.boxes .box {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	flex: 1 0 0;
	position: relative;
	color: #fff;
	padding: 22px 32px 32px;
}
.boxes .box:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	content: '';
	width: 100%;
	height: 100%;
	background: #608315;
	opacity: 1;
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
}
.boxes .box:hover:before {
	opacity: 0.9;
}
.boxes .box .inner {
	position: relative;
	z-index: 10;
}
.boxes .box h2 {
	font-size: 30px;
	margin: 0 0 15px;
}
.boxes .box p {
	line-height: 125%;
}
.half {
	width: 50%;
}
.half.right {
	float: right;
}
a.link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 666;
}
section {
	width: 100%;
	float: left;
}
a {
	transition: all 150ms linear;
	-webkit-transition: all 150ms linear;
	text-decoration: none;
}
img {
	width: auto;
	max-width: 100%;
	height: auto;
}
p {margin: 0;}
section.content {
	padding: 50px 0;
}
.section-title {
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 40px;
	text-align: center;
}
.section-title.left {
	text-align: left;
}
.services {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	align-self: stretch;
}
.services .item {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	flex-direction: column;
	flex: 1 0 0;
	position: relative;
	text-align: center;
}
.services .item img {
	margin: 0 auto 24px;
}
.services .item h3 {
	font-size: 18px;
	margin: 0;
	font-weight: 400;
	line-height: 120%;
}
section.grey {
	background: #F5F5F5;
}
.halfs {

}
.halfs .half.photo {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.halfs .half {
	padding: 30px 0;
	float: left;
	min-height: 360px;
}
.halfs .half.right {
	padding-left: 50px;
}
.halfs .half .section-title {
	margin-bottom: 35px;
}
.halfs .half ul {
	margin-bottom: 35px;
	padding: 0 0 0 20px;
}
.halfs .half li {
	line-height: 135%;
	margin-bottom: 10px;
}
section.contact-us {
	background: #EFEFEF;
	text-align: center;
	padding: 40px 0;
}
section.contact-us p {
	font-size: 18px;
	margin-bottom: 5px;
}
section.contact-us .phone {
	color: #608315;
	font-size: 30px;
	font-weight: 700;
}
body.page header {
	background: #EFEFEF;
	box-shadow: 0px 3px 6px #00000029;
}
section.first {
	margin-top: 125px;
}
.cols .col {
	float: left;
	width: 25%;
}
.cols .col h2 {
	font-size: 25px;
	line-height: 120%;
	margin: 0 0 25px;
}
.cols .col p {
	line-height: 140%;
	margin: 0 0 20px;
}
.cols .col.second {
	width: 35%;
}
.cols .col.last {
	width: 40%;
}
img.soc {
	display: inline-block;
	margin-right: 15px;
}
a.icon {
	padding: 8px 0 8px 0;
	background-position: left center;
	background-repeat: no-repeat;
	margin-bottom: 5px;
	font-size: 19px;
	line-height: 130%;
	color: #608315;
	font-weight: 700;
	display: block;
}
a.icon svg {
	margin-right: 20px;
	float: left;
}
a.icon.phone {
}
a.icon.email {
	margin-bottom: 20px;
}
.form-wrap .row {
	max-width: 750px;
}
.form {
	background: #EFEFEF;
	padding: 50px;
}
.form .title {
	font-size: 30px;
	font-weight: 700;
	margin-bottom: 10px;
	text-align: center;
}
.form p.desc {
	margin-bottom: 30px;
	text-align: center;
}
.cars h2 {
	font-size: 25px;
	margin: 0 0 20px;
}
.cars-items .item {
	background: #EFEFEF;
	box-shadow: 0px 3px 6px #00000029;
	margin-bottom: 20px;
	width: 100%;
	float: left;
}
.cars-items .item .thumb {
	width: 370px;
	float: left;
}
.cars-items .item .content {
	width: calc(100% - 370px);
	float: right;
	padding: 25px 30px;
}
.cars-items .item .content h3 {
	margin: 0 0 20px;
	font-size: 22px;
}
.cars-items .item .content ul {
	margin: 0;
	padding: 0 0 0 20px;
}
.cars-items .item .content li {
	margin-bottom: 5px;
	line-height: 120%;
}
.cars .cat-list {
	margin-bottom: 60px;
	float: left;
	width: 100%;
}
.entry a {
	color: #608315;
}
.entry p {
	margin-bottom: 25px;
	line-height: 145%;
}
.form input[type="text"], .form input[type="date"], .form input[type="email"], .form textarea {
	background: none;
	border: 0;
	border-bottom: 1px solid #CCCED2;
	padding: 10px 0;
	width: 100%;
	margin-bottom: 15px;
	color: #393939;
	position: relative;
	outline: none;
}
.form textarea {
	height: 100px;
}
.form input[type="date"] {
	margin-bottom: 40px;
}
.form .terms {
	margin-bottom: 30px;
	float: left;
	width: 100%;
}
.form .terms a {
	color: #608315;
}
.form span[data-name="checkbox-171"] {
	width: 100%;
	float: left;
	margin: 20px 0 35px 0;
}
.form span[data-name="checkbox-171"] span {
	width: 48%;
	margin: 15px 0 0 0;
	cursor: pointer;
}
.form .terms .wpcf7-list-item {
	margin-left: 0;
}
.form input[type="submit"] {
	cursor: pointer;
	border: 0;
}
.form .wpcf7-not-valid-tip {
	display: none !important;
}
.form .wpcf7-not-valid {	
	border-color: #F00 !important;
}
.form .wpcf7 input[type="date"]:before {
	content: attr(placeholder);
	color: #9396A1;
	top: -3px;
	position: relative;
}
.grecaptcha-badge {
	display: none !important;
}
footer {
	background: #434343;
	text-align: center;
	padding: 25px 0;
	color: #A8A8A8;
	font-size: 16px;
	float: left;
	width: 100%;
}
footer a {
	text-decoration: underline;
	color: #A8A8A8;
}
footer a:hover {
	text-decoration: none;
}
.clear {clear: both;}
.only-mobile {display: none;}
@keyframes fadeInDown {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
    }
}
@keyframes fadeInUp {
    from {
        transform: translate3d(0,-40px,0)
    }

    to {
        transform: translate3d(0,0,0);
    }
}
@keyframes fadeInRight {
    from {
        transform: translate3d(40px,0,0)
    }

    to {
        transform: translate3d(0,0,0);
    }
}
@keyframes fadeInLeft {
    from {
        transform: translate3d(-40px,0,0)
    }

    to {
        transform: translate3d(0,0,0);
    }
}
.animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    opacity: 0
}
.animated.active {
    opacity: 1;
}
.fadeInUp {
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}
.fadeInLeft {
    animation-name: fadeInLeft;
    -webkit-animation-name: fadeInLeft;
}
.fadeInRight {
    animation-name: fadeInRight;
    -webkit-animation-name: fadeInRight;
}
.fadeInDown {
    animation-name: fadeInDown;
    -webkit-animation-name: fadeInDown;
}


@media (max-width: 800px) {
	.main-menu ul {display: none;}
	header .menu-show {display: block;}
	.boxes, .services {gap: 0; flex-wrap: wrap;}
	.boxes .box, .services .item {display: block; width: 100%; margin-bottom: 20px; flex: auto;}
	.main {height: 550px; text-align: center; padding-top: 100px;}
	header {padding: 17px 0;}
	header .logo {width: 120px;}
	.main p {margin: 0 auto 20px;}
	.main h1 {font-size: 30px;}
	.services .item h3, section.contact-us p {font-size: 16px;}
	.services .item {margin-bottom: 35px;}
	.half {width: 100%;}
	.halfs .half {min-height: 360px;}
	.halfs .half.right {padding: 30px 20px;}
	.halfs .half.right a.button {margin: 0 auto;}
	footer {font-size: 12px;}
	section.contact-us .phone, .section-title {font-size: 25px;}
	.cars-items .item .thumb, .cars-items .item .thumb img, .cars-items .item .content, .cols .col, .cols .col.second, .cols .col.last, .form span[data-name="checkbox-171"] span {width: 100%;}
	.cars-items .item .content {font-size: 16px;}
	.cars-items .item .content h3, .cols .col h2 {font-size: 18px;}
	section.first {margin-top: 65px;}
	.cars h2, .form .title {font-size: 18px;}
	.section-title {margin-bottom: 25px;}
	.cols .col.second {margin: 20px 0;}
	.cols .col h2 {margin-bottom: 15px;}
	.form p.desc {font-size: 14px;}
	section.content.form-wrap {padding-top: 0;}
	.form {padding: 25px 20px;}
	section.contact-us {padding: 20px 0;}
	
	
}


