/*************************************************/
/* Base */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Oxanium', sans-serif;
	font-size: 15px;
	margin: 0;
	padding: 0;
}

main {
	text-align: justify;
}

section .section-wrapper, footer .footer-wrapper, nav ul {
	width: 950px;
}

/* responsive */
@media screen and (max-width: 1024px) {
	section .section-wrapper, footer .footer-wrapper, nav ul {
		width: 100%;
	}

	section .section-wrapper, footer .footer-wrapper {
		padding: 20px 36px 20px 36px;
	}
}

@media screen and (max-width: 720px) {
	section .section-wrapper, footer .footer-wrapper {
		padding-left: 36px;
		padding-right: 36px;
	}
}

#nase-cile {
	padding-top: 60px;
	padding-top: 30;
	padding-bottom: 20px;
	margin-bottom: 0;
	background-color: #fafafa;
}

#kdo-jsme {
	margin-top: 30px;
	padding-bottom: 30px;
	padding-bottom: 0;
}

#clenstvi-benefity {
	margin-top: 0;
}

#dokumenty {
	padding-top: 40px;
	padding-bottom: 40px;
}

#kontakt {
	padding-top: 40px;
	padding-bottom: 60px;
}

/*************************************************/
/* Body */
main section {
	margin: 0 auto;
	padding-top: 20px;
}

.section-bg {
	background-image: url("../img/mid-page-2.jpg");
	background-size: cover;
	background-position: 30% 60%;
	min-height: 780px;
	display: flex;
	align-items: center;
}

.section-wrapper {
	margin: 0 auto;
}

/* responsive */
@media screen and (max-width: 720px) {
	section .section-wrapper {
		padding-top: 0px;
		padding-bottom: 0px;
	}

	.section-bg {
		padding-left: 20px;
		padding-right: 20px;
	}

	.section-bg .section-wrapper {
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (max-width: 460px) {
	.section-bg {
		min-height: 820px;
	}
}

.section-wrapper div {
	width: auto;
}

.section-wrapper div h2 {
	text-transform: uppercase;
}

.container-info-boxes {
	display: flex;
	width: 100%;
}

.info-box {
	flex: 1;
	text-align: justify;
	padding: 20px;
	border-radius: 20px;
	margin: 10px;
	background-color: rgba(245, 245, 245, 0.9);
	box-shadow: inset 0px 0px 22px -10px rgba(0, 0, 0, 0.1),
		13px 22px 22px -14px rgba(0, 0, 0, 0.25);
}

.info-box p {
	padding: 10px;
}

.info-box h2 {
	text-align: center;
}

.info-box ul {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 1.05em;
}

/* responsive */
@media screen and (max-width: 800px) {
	.container-info-boxes {
		flex-direction: column;
		padding-bottom: 20px;
	}
	.info-box {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}

.document-wrapper {
	text-align: justify;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.document-list {
	width: 500px;
	font-size: 1.05em;
}

/* responsive */
@media screen and (max-width: 720px) {
	.document-wrapper {
		align-items: flex-start;
	}
	.document-list {
		padding-left: 60px;
		padding-right: 20px;
		/*width: 320px;*/
		width:auto;
		text-align: left;
	}
	.document-list .document-link {
		text-align: left;
	}
}

.contact-wrapper {
	display: flex;
	width: 100%;
}

.contact-col {
	flex: 1;
}

/* responsive */
@media screen and (max-width: 900px) {
	.contact-wrapper {
		flex-direction: column;
	}

	.contact-col {
		padding-top: 20px;
		display: flex;
		flex-direction: row;
		width: 100%;
	}

	.contact-item {
		flex: 1;
		text-align: left;
		padding: 10px;
	}
}

.contact-col p {
	padding-top: 4px;
	padding-bottom: 4px;
	margin: 0;
}

.contact-col h3 {
	padding-top: 0;
	margin-top: 0;
}

.contact-item {
	padding-bottom: 40px;
}

.brick {
	box-shadow: 0px 0px 29px -10px rgba(0, 0, 0, 0.35);
}

.pt20 {
	padding-top: 20px;
}

.pb20 {
	padding-bottom: 20px;
}

/*************************************************/
/* Text */

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2em;
	color: #000000;
	padding-bottom: 10px;
}

h3 {
	text-transform: uppercase;
	font-size: 1.4em;
	color: #000000;
}

p {
	padding-bottom: 40px;
	font-size: 1.05em;
	line-height: 25px;
}
ul li {
	font-size: 1.05em;
	line-height: 25px;
}

/* responsive */
@media screen and (max-width: 720px) {
	h3 {
		font-size: 1.1em;
	}

	p {
		padding-bottom: 20px;
	}
}

a:visited {
	color: rgb(109, 109, 253);
}

.heading-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding-bottom: 20px;
	padding-top: 10px;
}

.heading-wrapper h2 {
	display: flex;
	padding: 0;
	margin: 0;
	margin-left: 10px;
}

/* responsive */
@media screen and (max-width: 720px) {
	.heading-wrapper {
		padding-bottom: 10px;
		padding-top: 5px;
	}

	.heading-wrapper h2 {
		font-size: 1.3em;
	}

	.header-wrapper svg {
		width: 48px;
		height: 48px;
	}
}

.phone, .phone:visited {
	color: #4b4b4b;
	text-decoration: none;
	font-style: italic;
}

.phone:hover {
	text-decoration: underline;
}

.email {
	color: rgb(73, 114, 226);
	text-decoration: none;
}

.email:hover {
	color: rgb(51, 51, 252);
	text-decoration: underline;
}

.document-link, .document-link:visited {
	color: rgb(73, 114, 226);
}

.document-link:hover {
	color: rgb(51, 51, 252);
}

/*************************************************/
/* Header */

header {
	height: 360px;
	background-image: linear-gradient(90deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%), url("../img/header.PNG");
	background-size: cover;
	background-position: 40% 80%;
	padding-top: 120px;
	padding-bottom: 120px;
	margin: 0 auto;
}

.header-wrapper {
	display: flex;
	flex-direction: column;
	margin: 30px 12% -75%;
}

.header-wrapper h1 {
	display: inline-block;
	color: #ffffff;
	background-color: #000000;
	background: linear-gradient(90deg, rgb(0,0,0) 30%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.25) 100%);
	width: fit-content;
	padding-left: 6px;
	padding-right: 6px;
}

.header-wrapper .motto {
	font-size: 1.2em;
	font-style: italic;
	display: inline-block;
	width: fit-content;
	color: #000000;
	margin-top: 25px;
	padding-left: 10px;
}

/* responsive */
@media screen and (max-width: 1200px) {
	.header-wrapper h1 {
		font-size: 1.8em;
	}
}

@media screen and (max-width: 1024px) {
	.header-wrapper .motto {
		margin-top: 10px;
	}
}

@media screen and (max-width: 700px) {
	.header-wrapper h1 {
		font-size: 1.65em;
	}
}

@media screen and (max-width: 540px) {
	.header-wrapper h1 {
		font-size: 1.5em;
	}

	.header-wrapper .motto {
		margin-top: 8px;
	}
}

@media screen and (max-width: 480px) {
	.header-wrapper .motto {
		margin-top: 2px;
	}
}

/*************************************************/
/* Menu */
nav {
	background-color: #000000;
	text-align: center;
	overflow: hidden;
}

nav ul {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	padding-left: 0;
	margin: 0 auto;
}

.menu-wrapper ul,
.menu-wrapper-show ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0;
	margin: 0;
}

.menu-wrapper ul li,
.menu-wrapper-show ul li,
nav ul li {
	list-style-type: none;
	flex-grow: 1;
}

.menu-wrapper ul li a,
.menu-wrapper-show ul li a {
	display: block;
	color: white;
	background-color: #000000;
	text-decoration: none;
	font-size: 1.1em;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 21px 0px 21px 0px;
	flex: 1;
}

.menu-wrapper-show ul li a:hover {
	background-color: #ffffff;
	color: #000000;
}

@media screen and (max-height: 540px) {
	.menu-wrapper-show ul li a {
		padding: 8px;
	}

	.menu-wrapper-show ul li a:hover {
		background-color: #ffffff;
		color: #000000;
	}
}

.dropdown-wrapper {
	display: none;
	position: absolute;
}

.dropdown-wrapper ul {
	display: flex;
	flex-direction: column;
	padding-left: 0;
}

.dropdown-wrapper ul li a {
	display: block;
	padding: 21px 0px 21px 0px;
}

nav ul .wrap:hover .dropdown-wrapper {
	display: block;
}

nav a:hover,
.menu-wrapper a:hover,
.menu-wrapper-show a:hover,
.dropdown-wrapper a:hover {
	background-color: #eeeeee;
	color: #000000;
	cursor: pointer;
}

nav ul li #menu-toggle-button {
	display: none;
	font-weight: bold;
}

.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}

.sticky + section {
	padding-top: 90px;
}

/* responsive */
@media screen and (max-width: 980px) {
	.menu-wrapper {
		display: none;
	}

	.menu-wrapper-show {
		display: block;
	}

	.menu-wrapper-show ul li {
		width: 75vw;
		transition: 0.25 ease-in;
	}

	.menu-wrapper-show ul li a {
		width: 100%;
	}

	.menu-wrapper-show ul li:hover .dropdown-wrapper {
		display: none;
	}

	nav ul li #menu-toggle-button {
		display: block;
		color: white;

		background-color: #000000;
		text-decoration: none;
		padding: 21px 0px 21px 0px;
		border: none;
		outline: none;
		font-size: 1.1em;
		width: 100%;
		transition: 0.1s ease-in;
		user-select: none;
	}

	nav ul li #menu-toggle-button:hover {
		cursor: pointer;
		background-color: #eeeeee;
		color: #000000;
		transition: 0.1s ease-in;
	}
}

/*************************************************/
/* Footer */

footer {
	min-height: 160px;
	color: #fff;
	background-color: #0e0e0e;
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-wrapper {
	margin: 0 auto;
	padding-top: 20px;
	text-align: center;
}

.footer-wrapper p {
	padding-top: 6px;
	padding-bottom: 6px;
	margin: 0;
}

.footer-wrapper hr {
	margin-bottom: 20px;
}

.footer-wrapper .media_icon_link {
	text-decoration: none;
	float: right;
	margin: 10px;
}
.footer-wrapper .media_icon {
	/*background-color:black;*/
	width:40px;
	height:40px;
	color:#ffffff;
	fill: currentColor;
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	text-align: justify;
}

.footer-col {
	flex: 1;
}

.footer-col .name {
	display: block;
	margin-top: 20px;
}

.footer-right {
	text-align: right;
}

.footer-col span a {
	display: inline-block;
	width: fit-content;
	padding-top: 20px;
	padding-bottom: 10px;
	color: rgb(73, 114, 226);;
}

.footer-col span a:hover {
	color: rgb(76, 76, 241);
}

/* responsive */
@media screen and (max-width: 720px) {
	.footer-container {
		flex-direction: column;
	}

	.footer-col {
		padding-top: 20px;
		width: 100%;
	}

	.footer-col a {
/*		display: flex;*/
		justify-content: center;
	}

	.footer-col .name {
		text-align: center;
	}

	.footer-right {
		margin-top: 30px;
		text-align: center;
	}

	.footer-wrapper p {
		font-size: 1em;
	}
}

/*************************************************/
/* Back to top button */
#btnBackToTop {
	display: none;
	position: fixed;
	bottom: 60px;
	right: 60px;
	z-index: 99;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 8px;
	color: white;
	padding: 30px;
	border: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' fill-rule='evenodd' d='m4 15l8-8l8 8l-2 2l-6-6l-6 6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center center ;
	background-size: contain;
	transition: 0.5s;
}

#btnBackToTop:hover {
	background-color: #0a0a0a;
	color: #fff;
	transition: 0.5s;
}

/* responsive */
@media screen and (max-width: 980px) {
	#btnBackToTop {
		padding: 36px;
		bottom: 40px;
		right: 40px;
	}
}

@media screen and (max-width: 680px) {
	#btnBackToTop {
		padding: 36px;
		bottom: 20px;
		right: 20px;
	}
	.contact-col {
		flex-direction: column;
	}
}

/* kontakt - mapa */
iframe {
     height: 450px;
     width: 100%;
     border: none;
}