@font-face { font-family: 'TUL Mono'; src: url('../font/TULMono-Regular.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: optional; }
@font-face { font-family: 'TUL Mono'; src: url('../font/TULMono-Bold.woff2') format('woff2'); font-weight: bold; font-style: normal; font-display: optional; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Regular.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: optional; }
@font-face { font-family: 'Inter'; src: url('../font/Inter-Bold.woff2') format('woff2'); font-weight: bold; font-style: normal; font-display: optional; }


body { background: #fff; color: #000; margin: 0; padding: 0; font-size: 14px; font-family: 'Inter', Arial; }

h1 { font-size: 30px; font-weight: normal; padding: 0; margin: 0; color: #5948ad; }
h2 { font-size: 24px; font-weight: normal; padding: 0; margin: 20px 0; color: #5948ad; }
h2 a { color: inherit; text-decoration: inherit; }
h3 { font-size: 16px; font-weight: bold; padding: 0; margin: 20px 0; color: #5948ad; }
h3 a { color: inherit; text-decoration: inherit; }
h4 { font-size: 14px; font-weight: bold; padding: 0; margin: 20px 0; color: #5948ad; }
h4 a { color: inherit; text-decoration: inherit; }
a { color: inherit; text-decoration: underline; }
a:hover { text-decoration: none; }
p { margin:0 0 15px 0; padding: 0; line-height: 1.5em; }
p a,
ul a,
ol a,
address a { color: #5948ad; }
ul, ol { margin:0 0 15px 0; padding: 0 0 0 40px; line-height: 1.5em; }
table { border-collapse: collapse; width: 100%; margin: 10px 0; }
table tr td { padding: 7px 15px; border-bottom: 1px solid #ccc; }
table tr:first-child td { border-top: 1px solid #ccc; }
table tr:hover td { background: rgba(128,128,128,0.2); }
hr { border: none; background: #ccc; height: 2px; margin: 50px 0; }

.width { margin: 0 auto; width: 80vw; max-width:900px; }

body > header { background: #5948ad; color: #fff; }
body > header .width { padding: 30px 0; display: flex; justify-content: space-between; align-items: center; }
body > header .logo { font-family: 'TUL Mono'; font-size: 30px; display: inline-block; text-decoration: none; }
body > header .tullogo img { vertical-align: top; height: 40px; }

body > nav { background: #5948ad; color: #fff; }
body > nav > .width > ul { padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; }
body > nav > .width > ul > li { list-style: none; position: relative; }
body > nav > .width > ul > li > a { display:block; padding:12px 0; text-decoration: none; font-size: 15px; text-align: center; color: inherit; font-family: 'TUL Mono'; }
body > nav > .width > ul > li.active > a,
body > nav > .width > ul > li:hover > a { opacity:0.7; }
body > nav > .width > ul > li > ul { display: none; position: absolute; z-index: 100; top:100%; padding: 0; margin: 0; width: 200px; right: 0; border-top: 2px solid #fff; box-shadow: 0 5px 5px rgba(0,0,0,0.2); }
body > nav > .width > ul > li:hover > ul { display: block; }
body > nav > .width > ul > li > ul ul { display: none; }
body > nav > .width > ul > li > ul > li { list-style: none; display: block; padding: 0; margin: 0; }
body > nav > .width > ul > li > ul > li > a { display: block; text-decoration: none; padding:10px 20px; font-size: 13px; background: #5948ad; color: #fff; }
body > nav > .width > ul > li > ul > li.active > a,
body > nav > .width > ul > li > ul > li > a:hover { background: #e8e8e8; color: #5948ad; }

#mobileMenu { display: none; }
@media only screen and (max-width: 800px) {
	#desktopMenu { display: none; }
	#mobileMenu { display: block; text-align: right; }
	#mobileMenu button { display: inline-block; height: 46px; width: 100%; padding:0 22px; color: #fff; background: transparent; margin-left: 10px; font-family: 'TUL Mono'; }
	#mobileMenu button::before { display: inline-block; vertical-align: middle; content: ''; width:20px; height: 3px; background: #fff; margin-right: 11px; box-shadow: 0 6px #fff, 0 -6px #fff; position: relative; top:-1px; }
	body > nav { opacity: 0.9; }
}


body > section.main { padding:30px 0; }
body > section.main h1 { padding:0; margin: 0 0 30px 0; font-weight: 300; font-size: 30px; }

.path { margin-bottom: 20px; font-size: 0.9em; opacity: 0.5; }

.gallery3 .item .label { display: none; }

footer { background: #e8e8e8; padding: 50px 0; }
.foot__cols { display: flex; justify-content: space-between; }
.foot__left	{ line-height: 150%; }
.foot__left a { color: #5948ad; }
.foot__right { width: 133px; margin: 0 0 0 100px; }
.foot__right img { height: 133px; }


.kontakty__item { padding: 20px 0; position: relative; border-bottom: 2px solid #eee; }
.kontakty__item::last-child { border: none; }
.kontakty__name { font-weight: bold; display: flex; align-items: center; }
.kontakty__name::before { content: ''; display: inline-block; width: 36px; height: 36px; background: url("../images/account-circle.svg") center no-repeat; background-size: contain; margin: 0 14px 0 0; opacity: 0.2; }
.kontakty address { line-height: 150%; }
.kontakty__tools { position: absolute; top: 20px; right: 0; }


nav.subpages { margin: 50px 0; }
nav.subpages li > a { background: #5948ad; color: #fff; }
nav.subpages li > a:hover { background: #fff; color: #5948ad; }





#rfmenu { position: fixed; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #fff; }
#rfmenu_close { position: fixed; z-index: 99; right: 0; top: 0; width: 52px; height: 52px; background: transparent; color:#000; font-size: 24px; }
#rfmenu_close::after { content: '×'; display: inline; }
#rfmenu_close:focus { background-color: #eee; }
.rfmenu_list { display: flex; flex-direction: column; width: 100%; height: 100%; position: absolute; top:0; left: 100%; background: #fff; transition: all 300ms; }
.rfmenu_list.inview { left: 0%; }
.rfmenu_header { width: 100%; padding: 0 60px 0 20px; border-bottom: 1px solid #ddd; box-sizing: border-box; line-height: 52px; font-size: 18px; }
.rfmenu_header button { background: transparent; border: none; color: inherit; font-style: inherit; font-size: inherit; padding:0; height: 52px; }
.rfmenu_header button::before { content: ''; display: inline-block; vertical-align: middle; width: 8px; height: 8px; border-top: 2px solid #000; border-left: 2px solid #000; transform: rotate(-45deg); margin-left: 4px; margin-right: 10px; }
.rfmenu_header button:focus { background-color: #eee; }
.rfmenu_body { height: 1px; flex-grow: 1; overflow-y: auto; padding-top: 8px; }
.rfmenu_body ul { list-style: none; padding:0; margin: 0; }
.rfmenu_body ul ul { display: none; }
.rfmenu_footer { padding: 20px 22px; background: #dddddd; display: flex; flex-wrap: wrap; }
.rfmenu_footer .langs a { font-weight: bold; text-decoration: none; }
.rfmenu_footer > * { width: 50%; margin-bottom: 14px; text-decoration: none; }
.rfmenu_footer > *:nth-child(even) { text-align: right; }
.rfmenu_footer > a img { margin-right: 5px; }
.rfmenu_footer .sign { display: inline-block; vertical-align: middle; }
.rfmenu_footer #maincontent { display: none; }
.rfmenu_row { display: flex; }
.rfmenu_row > a { width: 1px; flex-grow: 1; min-height: 48px; display: flex; align-items: center; padding:5px 22px; box-sizing: border-box; text-decoration: none; font-size: 18px; font-weight: bold;}
.rfmenu_row > button { padding: 0; width:48px; height: 48px; background:transparent; color: #000; font-size: 24px;}
.rfmenu_row > button::after { content: '+'; display: inline; }
.rfmenu_row > button:focus { background:#eee; }
body.rfmenuVisible { overflow:hidden; }



@media only screen and (max-width: 600px) {
	body > header .logo { font-size: 24px; }
	body > header .tullogo img { height: 30px; }
	.foot__cols { flex-direction: column; align-items: center; }
	.foot__left { text-align: center; }
	.foot__right { margin: 50px 0 0 0; }
	footer a { display: inline-block; }
}

@media only print {
	/* aby to vyslo kloudne na tiskarne */
}
