#footer .fbox {
	display: table;
	padding: 10px 0 15px 0;
	line-height: 2.0;
	box-sizing: border-box;
	vertical-align: top;
	text-align: center;
}

#footer hr {
	width: 100%;
}

#footer .social {
	margin-top: 25px;
}

#footer .box-1,
#footer .box-2,
#footer .box-3 {
	width: calc(33% - 40px);
}

#footer .box-4 {
	width: 100px;
}

/* two items */
#footer .fbox:first-of-type:nth-last-of-type(2),
#footer .fbox:first-of-type:nth-last-of-type(2) ~ .fbox {
	width: 49%;
}

/* three items */
#footer .fbox:first-of-type:nth-last-of-type(3),
#footer .fbox:first-of-type:nth-last-of-type(3) ~ .fbox {
	width: 32%;
}

#footer .fbox-obsah {
	display: inline-block;
	text-align: left;

}

#footer .box-1H,
#footer .box-2H,
#footer .box-3H {
	width: 26%;
}

#footer .box-4H {
	width: 18%;
}

#footer .box-1L,
#footer .box-2L,
#footer .box-3L {
	width: 32%;
}

#footer a {
	text-decoration: none;
}

#footer a::before {
	content: "» ";
	font-size: 12px;
}

#footer .pridat {
	background: #dc4e41;
	padding: 7px 10px 7px 5px;
	line-height: 1.5;
	font-weight: 500;
	border-radius: 4px;
	display: block;
}

#footer .logo {
	width: 120px;
	height: 26px;
	position: relative;
	left: 10px;
	top: 10px;
	vertical-align: top;
}

#footer .social-site {
	width: 32px;
	height: 32px;
	display: inline-block;
	margin-right: 5px;
}

#footer .box-5 {
	text-align: center;
	line-height: 1.8;
}

#footer .male {
	font-size: 12px;
	display: block;
	padding-left: 10px;
}

#footer hr {
	background: white;
	height: 1px;
	border: 0;
}

#footer .no-ico::before {
	content: " ";
}

#footer .box-5 a {
	text-decoration: underline;
}

#footer .boxes {

}

#footer .forum-pocasi-lastminute + .sezoni-odkazy,
#footer .forum-pocasi-lastminute + .dalsi-sluzby {
	margin-top: 25px;
}

#footer .sezoni-odkazy + .dalsi-sluzby,
#footer .nase-servery + .dalsi-sluzby {
	margin-top: 25px;
}

.modal-open {
	overflow: hidden;
	-webkit-overflow-scrolling: touch;
}

@media only screen and (min-width: 541px) {
	#footer .fbox {
		display: inline-block;
	}
}

@media only screen and (max-width: 1000px) and (min-width: 541px) {
	#footer .fbox {
		width: 49% !important;
		text-align: left;
	}
}

@media only screen and (max-width: 540px) {
	#footer .fbox {
		display: block;
		width: 80% !important;
		min-width: 300px;
		margin: 0 auto;
		text-align: left;
	}
}
