/* Základné globálne štýly - hlavička a pätička si doplníš vlastným obsahom */

* {
	box-sizing: border-box;
}
html {
	height: 100%;
}
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #002b25;
  	background-color: #e0feff;
	background: linear-gradient(180deg,rgb(218, 254, 255) 0%, rgb(235, 246, 246) 32%);
	background-attachment: fixed;
}
a {
	color: #008572
}
a:hover {
	color: #003078;
}
.buttonlink {
	background-color: #008572;
  color: white;
  padding: 10px;
  display: inline-block;
  text-decoration: none;
}
.buttonlink:hover {
	background-color: #006354;
	color: white;
}
#site-header {
	max-width: 900px;
  margin: 0 auto;
    margin-bottom: 0px;
  padding: 1rem;
  background-color: #fff;
  color: #008572;
  padding: 20px 0px 0px 0px;
  box-shadow: 0px 11px 50px -12px #00655263;
  border-radius: 0 0 10px 10px;
  margin-bottom: 50px;
  overflow: hidden;
}
#site-header h1 {
	font-size: 1.6em;
	text-align: center;
}
#site-header h1 span {
	position: relative;
  bottom: 15px;
}
@media screen and (max-width: 768px){
	#site-header h1 {
	font-size: 1.2em;
	text-align: center;
	}
	#site-header h1 span {
		position: relative;
		bottom:20px;
	}
}
@media screen and (max-width: 400px){
	#site-header h1 {
	font-size: 1em;
	text-align: center;
	}
	#site-header h1 span {
		position: relative;
		bottom:0px;
	}
}
#site-header a{
	color: #008572;
	text-decoration: none;
}
#site-header a:hover{
	color: #003078;
}
.navbar {
	background: rgb(218, 255, 249);
	text-align: center;
}
ul.navbar-nav {
	padding: 0;
	margin: 0;
	border-top: 1px solid #0085713e;
}
ul.navbar-nav li {
	list-style: none;
	display: inline-block;
	position: relative;
}
ul.navbar-nav li a::after {
	content: '';
  display: block;
  width: 1px;
  height: 20px;
  right: 0;
  top: 9px;
  position: absolute;
  background-color: #0085713e;
}
ul.navbar-nav li:last-child a::after {
    display: none;
    /* prípadne content: none; */
}
ul.navbar-nav li a.nav-link {
	color: #008572;
	padding: 10px;
	display: block;
}
ul.navbar-nav li a.nav-link:hover {
	background-color: #f2ffe5;;
	text-decoration: none;
	color: #00703c !important;
}
img.header-logo {
	height: 50px;
  margin-right: 30px;
}
#site-footer {
	max-width: 900px;
	margin: 0 auto;
	padding: 1rem;
	margin-top: 2rem;
	font-size: 0.85rem;
	color: #485968;
  background-color: #c7f4e9;
}
#site-footer a {
	color: #003078;
}
#site-footer a:hover {
	color: rgb(183, 0, 0);
}
#edit-link {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1rem 1rem;
	font-size: 0.8rem;
}

#edit-link a {
	color: #1c6ea4;
}

/* Accordion – blok .rozvrh */
.rozvrh {
	max-width: 900px;
	margin: 0 auto 20px;
	padding: 0 1rem;
}
.rozvrh .accordion-item {
	background-color: #ffffff;
	border: 1px solid #00857240;
	border-radius: 10px;
	margin-bottom: 5px;
	overflow: hidden;
}
.rozvrh .accordion-item:last-child {
	margin-bottom: 0;
}
.rozvrh h2.accordion-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 18px;
	font-size: 1.1em;
	color: #008572;
	cursor: pointer;
	user-select: none;
	font-weight: normal;
}
.rozvrh h2.accordion-toggle:hover {
	background-color: #00857212;
}
.rozvrh .accordion-icon {
	flex: 0 0 auto;
	display: inline-flex;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: #008572;
	color: #ffffff;
	font-size: 1em;
	line-height: 22px;
}
.rozvrh .accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.rozvrh .accordion-content-inner {
	padding: 10px 18px 18px 56px;
}
.rozvrh .accordion-content-inner ol,
.rozvrh .accordion-content-inner p {
	margin: 0 0 20px 0;
}
.rozvrh .accordion-content-inner ol {
	padding-left: 30px;
}
.rozvrh .accordion-content-inner li + li {
	margin-top: 6px;
}


.acc-list {
    margin-left: 30px;
}
ol.acc-list {
  list-style: none;
  counter-reset: steps;
}
ol.acc-list li {
  counter-increment: steps;
  line-height: 2.2em;
  position: relative;
  line-height: 1.6em;
  padding-bottom: 10px;
}

ol.acc-list li::before {
  content: counter(steps) ".";
  margin-right: 0.5rem;
  background: #ebebeb;
  color: var(--black);
  width: 1em;
  height: 1em;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  line-height: 1em;
  padding: 5px;
  font-weight: bold;
  font-size: 0.8em;
  text-align: center;
  position: absolute;
  left: -30px;
  top: 0px;
  
}
.footer-menu {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #00857144;
	text-align: center;
}
.footer-menu ul {
	margin: 0;
	padding: 0;
}
.footer-menu ul li {
	list-style: none;
	display: inline-block;
}
.footer-menu ul li a {
	display: block;
	padding: 5px 10px;
}
#site-footer .footer-menu ul li a:hover{
	background-color: #dcfff6;
	color: #00574a;
}