body {
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

/* Unifikované CSS linkované z každého webu
 * Verze TEST 4.10.2024 (v04)
 */


/* Základní barevnost webu lze nastavit ve web.css ve složce style
 * Primární: #014959
 * Sekundární: #6C9BA8
 * Doplňková kontrastní: #EFE9EB
 * Background hlavičky: #EFE9EB
 * Inverzní text: fcfcfc (inverzní k primární barvě)
 */

/* Barvy fakult */
.mu { color: #0000dc; }
.is { color: #00a442; }
.lf { color: #f01928; }
.ff { color: #4bc8ff; }
.prf { color: #9100dc; }
.fss { color: #008c78; }
.prif { color: #00af3f; }
.fi { color: #f2d45c; }
.pdf { color: #ff7300; }
.fsps { color: #5ac8af; }
.esf { color: #b9006e; }
.bg-mu { background-color: #0000dc; }
.bg-is { background-color: #00a442; }
.bg-lf { background-color: #f01928; }
.bg-ff { background-color: #4bc8ff; }
.bg-prf { background-color: #9100dc; }
.bg-fss { background-color: #008c78; }
.bg-prif { background-color: #00af3f; }
.bg-fi { background-color: #f2d45c; }
.bg-pdf { background-color: #ff7300; }
.bg-fsps { background-color: #5ac8af; }
.bg-esf { background-color: #b9006e; }
.b-mu { border-color: #0000dc; }
.b-is { border-color: #00a442; }
.b-lf { border-color: #f01928; }
.b-ff { border-color: #4bc8ff; }
.b-prf { border-color: #9100dc; }
.b-fss { border-color: #008c78; }
.b-prif { border-color: #00af3f; }
.b-fi { border-color: #f2d45c; }
.b-pdf { border-color: #ff7300; }
.b-fsps { border-color: #5ac8af; }
.b-esf { border-color: #b9006e; }
/*  *********
    Layout stránky
    ********* */

hr {
  border-color: #dbdbdb;
  margin: 2rem auto;
}

main h2 { margin-top: 3rem; }
main hr + h2, main h3, main h4 { margin-top: 2rem; }
main h2 + h3, main h3 + h4, main h2 + h4 { margin-top: 0.5rem; }
main div > h2, main div > h3, main div > h4 { margin-top: 0; }

header {
  background-color: var(--doplnkova); /* pozadí pod obrázkem hlavičky - musí být čitelný text a loga !!! */
  min-height: 8rem;
  background-repeat: no-repeat;
}
#titulka header {
  min-height: 35rem;
  padding-bottom: 12rem;
}
#titulka header.nizky {
  min-height: 30rem;
}
header .stitek { /* deprecated starý štítek */
  max-width: 13.37142rem;
  position: relative;
  z-index: 1;
}
header .logo_mu { /* nové logo MUNI */
  max-width: 4.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}
header .ikony {
  margin-top: .6rem;
  z-index: 2;
}
header .ikony > a {
  color: #0000dc;
  border-right: 1px solid #0000dc;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  padding: 0 .35714rem 0 .35714rem;
  width: 3.21428rem;
  text-align: center;
  font-size: 1.14rem;
  height: 1.85714rem;
  vertical-align: middle;
}
header .ikony > a:last-of-type {
  border-right: none;
}
header .ikony > a:hover {
  color: #00a442;
}
header .ikony > a i {
  font-size: 1.5rem;
  margin-top: -2px;
  display: block;
}
#header::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 45px;
    background: rgba(255,255,255,.5);
    z-index: 0;
}
header h1 {
	margin-top: 2.5rem;
	margin-bottom: 0;
}
header h1, header h2, header h3 {
	font-size: 1.28571rem;
	font-weight: normal;
	color: var(--primary); /* primary */
}
header h2 {
  font-size: 1rem;
	font-weight: 300;
}
body:not(#titulka) header h2 {
  margin-top: 3px;
  margin-bottom: 1.5rem;
}
@media screen and (max-width: 39.9375em) {
	header h1 { margin-top: 2rem; }
  #titulka header h1 {font-size: 1.571429rem!important;}
  #titulka header h2 {font-size: 1.28571rem!important;}
  #titulka header h3 {font-size: 1.14285rem!important;}
  header {background-color: var(--doplnkova)!important; }
}
#titulka header h1 {
  margin-top: 5rem;
  font-size: 2.85714rem;
  font-weight: 500;
  color: var(--primary); /* primary */
}
#titulka header h1 > span {
  font-weight: 300;
  font-size: 1.78571rem;
  display: block;
}
#titulka header h2 {
  margin-top: 3.28571rem;
  color: var(--primary); /* primary */
  font-weight: 400;
  font-size: 1.571429rem;
}
#titulka header h3 {
  color: var(--primary); /* primary */
  font-size: 1.28571rem;
  font-weight: 300;
}
#titulka nav {
  margin-top: -9.14284rem;
}
#titulka .toc-first-title {
  margin-top: -7.643rem;
}
nav {
	background: var(--secondary); /* secondary */
}
#titulka nav {
	background: none !important;
}
nav:not(.local-navig) .menu a {
  color: #fff;
}
nav .menu a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  background-color: var(--secondary); /* secondary */
  transition: background ease .3s;
  padding: 0.7rem;
  line-height: 1.3;
}
nav .dropdown > li > a {
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  padding: 1rem;
}
nav .dropdown.menu.expanded {
    align-items: stretch;
    flex-wrap: wrap;
}
nav .dropdown.menu.expanded > li > a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .menu a:hover, nav a.active, nav .menu .is-active a {
  background-color: var(--primary); /* primary */
  text-decoration: none;
}

#titulka nav .menu a {
  padding: 1.28571rem 1rem;
}
/*nav .menu a::after {
	display: none !important;
}*/

nav#main-navig .menu .is-dropdown-submenu-parent a::after {
  position: static;
}
nav#main-navig .menu .is-dropdown-submenu-parent .menu.vertical a::after {
  position: absolute;
}
nav#main-navig .is-dropdown-submenu-parent.otevreni-dolu > .is-dropdown-submenu {
  bottom: 100%;
  left: auto;
  position: relative;
}
nav#main-navig .is-dropdown-submenu-parent.opens-left > .is-dropdown-submenu {
  top: 100%;
  right: 0;
  left: auto;
  position: relative;
}
nav#main-navig .is-dropdown-submenu-parent.opens-right ul.is-dropdown-submenu.otevreni-dolu {
  top: 100%;
  right: 0;
  left: auto;
  position: relative;
}
/*to do*/
nav#main-navig .menu .is-dropdown-submenu-parent .menu.vertical:has(.otevreni-dolu) a::after {
  position: absolute;
  top: 16px;
}
@media screen and (max-width: 400px) {
  nav#main-navig .menu .is-dropdown-submenu {
      min-width: 75vw;
      left: -25vw;
  }
}
nav .menu .is-dropdown-submenu-parent a::after,
nav .menu .is-dropdown-submenu-parent.is-active .is-dropdown-submenu-parent a::after {
  display: flex!important;
  margin-top: 0!important;
  margin-left: .5rem;
  border-color: #fff transparent transparent transparent !important;
}
nav .menu .is-dropdown-submenu-parent.is-active a::after,
nav .menu .is-dropdown-submenu-parent.is-active .is-dropdown-submenu-parent.is-active a::after {
  border: 5px inset;
  border-top-width: 0;
  border-color:  transparent transparent #fff transparent !important;
}
/* konec */
nav.local-navig .menu .is-dropdown-submenu-parent a::after {
  border-color: #888 transparent transparent transparent !important;
}
nav.local-navig .menu .is-dropdown-submenu-parent.is-active a::after {
  border-color:  transparent transparent #888 transparent !important;
}
nav.local-navig .menu .is-dropdown-submenu-parent a:hover::after {
  border-color: #666 transparent transparent transparent !important;
}
nav.local-navig .menu .is-dropdown-submenu-parent.is-active a:hover::after {
  border-color:  transparent transparent #666 transparent !important;
}
nav.local-navig .dropdown.menu {
  display: inline-block;
}
nav .submenu a.active {
  font-weight: 700;
}

nav#main-navig .dropdown > li {
	border-right: 2px solid #fff;
}
nav#main-navig .dropdown > li:first-of-type {
	border-left: 2px solid #fff;
}
#titulka nav .dropdown > li {
  margin-right: 4px;
  border: none;
}
#titulka nav .dropdown > li:last-of-type {
  margin-right: 0;
}
nav#main-navig .otevreni-dolu .submenu::before {
  display: none;
}
nav .submenu {
	background-color: #eaeaea !important; /* svetla varianta */
	width: 100%;
	border: none;
	box-shadow: none;
	padding: 1rem 0;
}
nav .submenu::before {
	display: block;
	content: '';
	width: 3.5rem;
	border-top: 6px dotted var(--secondary); /* kontrastní */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}

nav .submenu a {
	background-color: #eaeaea !important;
	color: #3a3a3a !important;
	padding: 0.7rem 1rem 0.7rem 1.14rem;
}
nav .submenu a:hover {
	color: #000 !important;
  background-color: #d6d6d6 !important;
}
#titulka main > .row {
  background-color: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.autori > .column {
  font-size: 14px;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
#titulka #tech-spoluprace {
  background-color: #f5f5f5;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 1rem;
}
.column.shrink.w6rem {
  width: 10.71428rem;
  min-height: 9rem;
}
@media screen and (max-width: 39.9375em) {
  .column.shrink.w6rem {
    width: 8.14286rem;
  }
}
#titulka #recenze .column {
  margin-left: 10.71428rem;
  min-height: 9rem;
}
#titulka #recenze .column + .column {
  margin-left: 4rem;
}
@media screen and (max-width: 39.9375em) {
  #titulka #recenze .column,
  #titulka #recenze .column + .column {
    margin-left: 8.14286rem;
    margin-top: 2rem;
  }
}
#titulka #tech-spoluprace h3 {
  color: #4a4a4a;
  font-size: 1rem;
  text-transform: uppercase;
}
#titulka #tech-spoluprace h4 {
  color: #4a4a4a;
}
#titulka #tech-spoluprace hr {
  border-color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
#tiraz {
  background-color: var(--primary); /* primarní barva */
  color: #fcfcfc; /* inverzní text */
  font-size: 1rem;
  padding: 2rem 0;
  min-height: 22rem;
}
#tiraz a {
  color: #fcfcfc; /* inverzní text */
}
#tiraz h2 {
  transform: rotate(270deg);
  font-size: 6.2rem;
  position: relative;
  top: 8.5rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}
html:lang(en) {
  #tiraz {min-height: 29rem;}
  & #tiraz h2 {
      font-size: 5rem;
      top: 18.5rem;
  }
}
@media screen and (max-width: 39.9375em) {
  #tiraz h2 {top: 9.5rem;}
  html:lang(en) #tiraz h2 {top: 19.5rem;}
}
#tiraz h3 {
  color: #fcfcfc; /* inverzní text */
  font-size: 22px;
}
#tiraz strong {
  font-size: 16px;
}
footer {
  border-top-color: #dbdbdb;
  background: #fff;
  font-size: 1rem;
  color: #4a4a4a;
  font-weight: 400;
  padding-top: 1rem;
  font-family: Open Sans,Arial,sans-serif;
  line-height: 1.5;
  margin-top: 0;
}
footer img.logo {
  width: 9rem;
  margin-top: .5rem;
}
@media screen and (max-width: 39.9375em) {
  footer img.logo { width: 6rem; }
}
footer > .row {
  background: none;
}
footer > .row > .column > div {
  margin-top: 1.5rem;
}
footer > .row > .column > div:first-of-type {
  margin-top: 0;
}
footer strong {
  color: #01193f;
}
footer .autori > strong {
  font-size: 1.1428rem;
  display: block;
}
footer .stech > h4 {
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
footer .go-up {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0.8em 0.8em 0.8em;
  border-top-color: transparent!important;
  border-right-color: transparent!important;
  border-left-color: transparent!important;
  margin: 3rem auto 0 auto;
}
footer .copy {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  color: #fff;
}
footer .copy a {
  color: #fff
}
footer .copy.bg-fi {
  color: #4a4a4a;
}
#hlavni-nadpis {
  background-color: #f5f5f5;
  padding: 2rem 0;
  margin-top: -2px;
}
#hlavni-nadpis h1 {
  font-size: 2.28571rem;
  font-weight: 500;
  color: var(--primary);
}
#hlavni-nadpis h1::after {
	display: block;
	content: '';
	width: 5rem;
	border-top: 8px dotted var(--primary); /* primary */
	margin-left: auto;
	margin-right: auto;
	margin-top: 1rem;
}
.main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
ul, ol { margin-left: 2rem; }
.rozc_paticka { margin-top: 2rem; }
/*  *********
    KONEC - Layout stránky
    ********* */

/*  *********
    obsah stránky
    ********* */

.logo-kulate,
.foto-kulate {
  width: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  position: absolute;
  background: #fff;
  border: 1px solid #f5f5f5;
  overflow: hidden;
}
.logo-kulate img {
  max-width: 5.5rem;
  max-height: 5.5rem;
}
.foto-kulte img {
  width: 8rem;
}
@media screen and (max-width: 39.9375em) {
  .logo-kulate, .foto-kulate { width: 6rem; height: 6rem; }
  .logo-kulate img { max-width: 4rem; max-height: 4rem; }
  .foto-kulate img { width: 6rem; }
}

/* boxíky */
section[class*="box-"] {
  border-top: 1px solid #dbdbdb;
  border-bottom: 1px solid #dbdbdb;
  padding: 2rem 1rem 1rem 4rem;
  font-size: 1rem;
  background: no-repeat;
  background-size: 3rem;
  background-position: .5rem 1.2rem;
  margin: 3rem 0;
}
@media screen and (max-width: 39.9375em) {
  padding: 1rem 1rem 1rem 4rem;
}

section[class*="box-"] h3 {
  text-transform: uppercase;
  font-size: 1.14285rem;
  color: #99210a;
  font-weight: 400;
  font-family: Open Sans,Arial,sans-serif;
  margin-top: 0;
}
section.box-info { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/info.svg'); }
section.box-cil { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/cil.svg'); }
section.box-literatura { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/literatura.svg'); }
section.box-cviceni { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/cviceni.svg'); background-size: 2.8rem; background-position: .5rem 1.4rem;}
section.box-zamysleni { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/zamysleni.svg'); }
section.box-diskuse { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/diskuse.svg'); }
section.box-slovnik { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/slovnik.svg'); background-size: 2.9rem; background-position: .5rem 1.7rem;}
section.box-text { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/text.svg'); }
section.box-odpovedniky { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/odpovedniky.svg'); }
section.box-video { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/video.svg'); }
section.box-upozorneni { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/upozorneni.svg'); }
section.box-tisk { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/tisk.svg'); }
section.box-poslech { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/poslech.svg'); }
section.box-priklad { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/priklad.svg'); }
section.box-klic { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/klic.svg'); }
section.box-uloha { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/uloha.svg'); }
section.box-definice { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/definice.svg'); }
section.box-citace { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/citace.svg'); }
section.box-puzzle { background-image: url('https://is.muni.cz/do/rect/el/storage/unicss2/design/box2/puzzle.svg'); }

section.box-info h3,
section.box-uloha h3,
section.box-diskuse h3 {
  color: #002776; /* modra iS .barva1*/
}

section.box-cviceni h3,
section.box-odpovedniky h3,
section.box-puzzle h3 {
  color: #00a442; /* zelená iS .barva2 */
}

section.box-cil h3,
section.box-definice h3 {
  color: #c91717; /* červená iS .barva3 */
}

section.box-zamysleni h3,
section.box-upozorneni h3,
section.box-klic h3 {
color: #fc9603; /* oranžová is .barva4 */
}

section.box-slovnik h3,
section.box-tisk h3 {
  color: #00a1de; /* světle modrá is .barva5 */
}

section.box-text h3,
section.box-citace h3
{
  color: #16a3ae; /* zelenomodrá is .barva6 */
}

section.box-poslech h3,
section.box-video h3 {
color: #8430a0; /* fialová is .barva7 */
}

section.box-priklad h3,
section.box-literatura h3 {
  color: #7f0d0a; /* vinova is .barva8 */
}
/* boxiky .VYRAZNE */
section[class*="box-"].vyrazne {
  border-left: 2px solid;
  border-top: none;
  border-bottom: none;
  padding: 2rem 2rem 1rem 4rem;
  margin: 2rem 0;
}
section.box-info.vyrazne,
section.box-uloha.vyrazne,
section.box-diskuse.vyrazne,
section.box-info.vyrazne .accordion-content,
section.box-uloha.vyrazne .accordion-content,
section.box-diskuse .accordion-content {
  background-color: #e3e7f0; /* modra iS .barva1 11% */
  border-left-color: #002776;
}

section.box-cviceni.vyrazne,
section.box-odpovedniky.vyrazne,
section.box-puzzle.vyrazne,
section.box-cviceni.vyrazne .accordion-content,
section.box-odpovednik.vyrazne .accordion-content,
section.box-puzzle.vyrazne .accordion-content {
  background-color: #e3f5ea; /* zelená iS .barva2 11% */
  border-left-color: #00a442;
}

section.box-cil.vyrazne,
section.box-definice.vyrazne,
section.box-cil.vyrazne .accordion-content,
section.box-definice.vyrazne .accordion-content {
  background-color: #f9e5e5; /* červená iS .barva3 11% */
  border-left-color: #c91717;
}

section.box-zamysleni.vyrazne,
section.box-upozorneni.vyrazne,
section.box-klic.vyrazne,
section.box-zamysleni.vyrazne .accordion-content,
section.box-upozorneni.vyrazne .accordion-content,
section.box-klic.vyrazne .accordion-content {
  background-color: #fff3e3; /* oranžová is .barva4 11% */
  border-left-color: #fc9603;
}

section.box-slovnik.vyrazne,
section.box-tisk.vyrazne,
section.box-slovnik.vyrazne .accordion-content,
section.box-tisk.vyrazne .accordion-content {
  background-color: #e3f5fc; /* světle modrá is .barva5 11% */
  border-left-color: #00a1de;
}

section.box-text.vyrazne,
section.box-citace.vyrazne,
section.box-text.vyrazne .accordion-content,
section.box-citace.vyrazne .accordion-content {
  background-color: #e5f5f6; /* zelenomodrá is .barva6 11% */
  border-left-color: #16a3ae;
}

section.box-poslech.vyrazne,
section.box-video.vyrazne,
section.box-poslech.vyrazne .accordion-content,
section.box-video.vyrazne .accordion-content {
  background-color: #f1e8f5; /* fialová is .barva7 11% */
  border-left-color: #8430a0;
}

section.box-priklad.vyrazne,
section.box-literatura.vyrazne,
section.box-priklad.vyrazne .accordion-content,
section.box-literatura.vyrazne .accordion-content {
  background-color: #f1e4e4; /* vinova is .barva8 11% */
  border-left-color: #7f0d0a;
}

section[class*="box-"] + section[class*="box-"] {
  margin-top: -3rem;
  border-top: none;
}
section[class*="box-"] + section[class*="box-"].vyrazne{
  margin-top: -2rem;
}
section[class*="box-"].vyrazne + section[class*="box-"].vyrazne,
section[class*="box-"].vyrazne + section[class*="box-"] {
  margin-top: -1rem;
}
section[class*="box-"].vyrazne + section[class*="box-"]:not(.vyrazne) {
  border-top: 1px solid #dbdbdb;
}
/*boxíky - rozevírací*/
section[class*="box-"].accordion {
  padding: 2rem 0 1.5rem 4rem;
}

section[class*="box-"].accordion .accordion-item .accordion-title,
section[class*="box-"].accordion .accordion-item .accordion-content {
  border: none;
  box-shadow: none;
}

section[class*="box-"].accordion .accordion-item .accordion-title {
  padding: 0;
  margin: 0;
  background-color: inherit;
}
section[class*="box-"].accordion .accordion-item .accordion-title h3 {
  max-width: 93%;
  margin-bottom: .5rem;
}
section[class*="box-"].accordion .accordion-item .accordion-title:hover {
  background-color: inherit;
}

section[class*="box-"].accordion .accordion-item .accordion-content {
  padding: 1rem 1rem 1rem 0;
}

section[class*="box-"].accordion .accordion-item .accordion-content p:last-child {
  margin-bottom: 0;
}

/*vlastní boxík*/
section.box-vlastni {
  padding: 2rem 0 1rem 4rem;
  margin: 2rem 0;
  background: none;
}
section.box-vlastni.vyrazne {
  padding: 2rem 2rem 1rem 4rem;
}
section.box-vlastni[class*="isi-"]::before {
  float: left;
  margin-left: -3.5rem;
  font-size: 3rem;
  margin-top: -1rem;
}

/* boxíky - konec */
/* clickbox */
a.clickbox, a.clickbox:visited, a.clickbox:hover { /* box pro zvyrazneni odkazu */
  display: block;
  position: relative;
  margin: 2rem 0;
  padding: 1.643rem 5.857rem 1.643rem 5.214rem;
  text-indent: 0px;
  text-decoration: none;
  text-align: left;
  font-weight: 600;
}
a.clickbox span {
  padding-top: 0.5rem;
  display: block;
  font-weight: 500;
  color: #777;
}
a.clickbox.nevyrazny, a.clickbox.nevyrazny:hover {
  font-weight: 500;
  color: #777;
}
a.web, a.pdf, a.vid, a.odp, a.epub, a.dokument, a.audio, a.soubor { /* jednotlive boxy pro odkazy */
  background-position: 1.5rem 1.429rem;
  background-repeat: no-repeat!important;
  border: 1px solid #eee;
}
a.web, a.web:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_web.svg");
  background-color: #f3f9ff;
  background-size: 2.214rem;
  border-color: #d4eaf7;
  color: #046FB7;
}
a.web:hover, a.web:focus {
  background-color: #eef6ff;
  border-color: #cce6ff;
}
a.web::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "WEB";
	font-size: 0.786rem;
  color: #046FB7;
}
a.pdf, a.pdf:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_pdf.svg");
  background-color: #fff5f2;
  background-size: 2.214rem;
  border-color: #f9dddd;
  color: #a52700;
}
a.pdf:hover, a.pdf:focus {
  background-color: #fcefed;
  border-color: #fbdbd1;
}
a.pdf::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "PDF";
	font-size: 0.786rem;
  color: #a52700;
}
a.vid, a.vid:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_vid.svg");
  background-color: #fbf8ff;
  background-size: 2.214rem;
  border-color: #ece6f4;
  color: #61439b;
}
a.vid:hover, a.vid:focus {
  background-color: #f7f2fc;
  border-color: #e5daf2;
}
a.vid::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "VIDEO";
	font-size: 0.786rem;
  color: #61439b;
}
a.odp, a.odp:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_odp.svg");
  background-color: #fffbea;
  background-size: 2.214rem;
  border-color: #f9e9c9;
  color: #DF9F03;
}
a.odp:hover, a.odp:focus {
  background-color: #fdfade;
  border-color: #f9e5b0;
}
a.odp::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "ODPOVĚDNÍK";
	font-size: 0.786rem;
  color: #DF9F03;
}
a.epub, a.epub:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_epub.svg");
  background-color: #f0fbef;
  background-size: 2.214rem;
  border-color: #daf0d1;
  color: #78BC00;
}
a.epub:hover, a.epub:focus {
  background-color: #eafbe9;
  border-color: #ccf9c9;
}
a.epub::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "E-KNIHA";
	font-size: 0.786rem;
  color: #78BC00;
}
a.dokument, a.dokument:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_dokument.svg");
  background-color: #F1F8FF;
  background-size: 2.214rem;
  border-color: #DCEDF9;
  color: #2C82FF;
}
a.dokument:hover, a.dokument:focus {
  background-color: #EAF4FD;
  border-color: #C9E4F4;
}
a.dokument::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "DOKUMENT";
  font-size: 0.786rem;
  color: #2C82FF;
}
a.audio, a.audio:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_audio.svg");
  background-color: #FFF4F9;
  background-size: 2.214rem;
  border-color: #FFE4F0;
  color: #FF54A9;
}
a.audio:hover, a.audio:focus {
  background-color: #FFEEF6;
  border-color: #FFD7EA;
}
a.audio::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "AUDIO";
  font-size: 0.786rem;
  color: #FF54A9;
}
a.soubor, a.soubor:hover {
  background-image: url("https://is.muni.cz/do/rect/el/storage/unicss2/design/clickbox/a_soubor.svg");
  background-color: #F9F9F9;
  background-size: 2.214rem;
  border-color: #EAEAEA;
  color: #666;
}
a.soubor:hover, a.soubor:focus {
  background-color: #F2F2F2;
  border-color: #D9D9D9;
}
a.soubor::before {
  position: absolute;
  top: 0.2em;
  right: 0.5em;
  content: "SOUBOR";
  font-size: 0.786rem;
  color: #666;
}
@media screen and (max-width: 39.9375em) {
    a.clickbox, a.clickbox:visited, a.clickbox:hover {
  /*    padding-top: 2rem;    */
      padding-right: 1.5rem;
    }

    a.web, a.pdf, a.vid, a.odp, a.epub {
      background-position: 1.5rem 1.786rem;
    }

    a.web::before, a.pdf::before, a.vid::before, a.odp::before, a.epub::before {
      display: none;
    }
}
html:lang(en) a {
    &.soubor::before {
        content: "FILE";
      }
    &.dokument::before {
      content: "DOCUMENT";
    }
    &.epub::before {
      content: "E-BOOK";
    }
    &.odp::before {
      content: "ROPOT";
    }
}
/* clickbox - konec*/
/* Obrázky, videa apod. */
figure {
  margin: 1.5rem 0 2rem 0;
  text-align: center;
}
figure > div {
  background-color: #f9f9f9;
  border: 1px solid #dbdbdb;
}
figure img {
  max-width: 100%;
  height: auto;
  padding: 0.5rem;
}
figure video {
  max-width: 100%;
  height: auto;
}
figure video:not(.vidis) {
  padding: 0.5rem;
}
figure figcaption {
  font-size: 1rem;
  margin-top: 0.5rem;
  text-align: left;
}
figure figcaption .cislovani {
  font-weight: 600;
}
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    figure img.navysku, figure.navysku img, figure video.navysku, figure.navysku video {
        max-width: 80%;
    }
}
@media screen and (min-width: 64em) {
    figure img.navysku, figure.navysku img, figure video.navysku, figure.navysku video {
        max-width: 60%;
    }
}
/* Obrázky, videa apod. - konec */

/* klikací rozcestník (seznam kapitol) */

.separated::before, .toc-section.toc-section.toc-section h2 { background-color: var(--primary); /* primary */ }
.toc_kapitola .separated::before, .toc_kapitola .toc-section h2 { background-color: var(--secondary); /* secondary */ }

.toc, .toc_kapitola {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding-left: .78571rem;
	padding-right: .78571rem;
	font-size: 1rem;
}

.toc-section {
  padding: 0;
}

@media screen and (min-width: 64em) {
.toc-section.large-up-2 > .toc-item:nth-of-type(odd) {
    border-right: 1px solid #fff;
}
}

.toc-section > .toc-item:nth-of-type(odd):last-of-type {
	border-bottom: 0px none;
}

.separated::before {
	display: block;
	height: 20px;
	width: 100%;
	content: "";
	border-bottom: 1px solid #fff;
}

.toc-section h2 {
  flex: 1 0 100%;
  margin: 0;
  padding: 0.8rem 0.5rem 0.8rem 90px;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 1rem;
  font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
  min-height: 2.5rem;
  text-transform: uppercase;
  border-bottom: 1px solid #fff;
}

.toc-column {
  padding: 0;
}

.toc-column + .toc-column {
	border-left: 1px solid #fff;
}

a.toc-item, span.toc-item {
  padding: 0;
  min-height: 4.57142rem;
  padding-right: 10px;
  text-decoration: none;
  overflow: hidden;
  border-bottom: 1px solid #fff;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
}

.toc_kapitola a.toc-item, .toc_kapitola span.toc-item {
  color: rgba(119, 119, 119, 0.9);
  background-color: #f5f5f5;
}

a.toc-item.active,  a.toc-item:hover, a.toc-item:focus {
  color: var(--inverzni);
  background-color: var(--primary);
}
.toc_kapitola .toc-item.active, .toc_kapitola a.toc-item:hover, .toc_kapitola a.toc-item:focus {
  color: var(--inverzni);
  background-color: var(--primary);
}

@media screen and (max-width: 63.9375em) {
    span.toc-item {
        display: none;
    }
    .toc-column + .toc-column {
        border-left: none;
    }
}
  /*Accordion menu - index*/
@media screen and (min-width: 64em) {
  #titulka .toc-section.large-up-2 .vertical.menu ul.vertical.submenu {
    z-index: 100;
    position: absolute;
  }
}
#titulka .is-accordion-submenu-parent > a::after {
  border-color: #fff transparent transparent;
}

#titulka .toc-section .menu.vertical > li > a {
  -ms-flex-pack: start;
  justify-content: flex-start;
  -ms-flex-align: start;
  align-items: center;
  line-height: 1.5;
}
#titulka .menu.vertical a.toc-item, #titulka .menu.vertical span.toc-item {
  display: flex;
  padding: 0;
}
#titulka nav .submenu::before {
  display: none;
}
  /*Číslování kapitol menu*/
.toc-item .cap-num {
  font-family: Roboto;
  font-weight: 200!important;
  flex: 0 0 auto;
	height: 94px;
	display: block;
	font-weight: bold;
}

.toc a.toc-item .cap-num, .toc span.toc-item .cap-num {
  font-size: 80px;
  margin: -34px 40px -11px 0;
	letter-spacing: -20px;
	width: 60px;
  text-align: right;
}

.toc a.toc-item .cap-num.cap-icon i {
  font-size: 45px;
  margin: 0px 5px;
  vertical-align: 10px;
}

.toc_kapitola a.toc-item .cap-num, .toc_kapitola span.toc-item .cap-num {
  font-size: 35px;
  margin: -2px 15px -45px 15px;
  width: 50px;
  text-align: left;
  color: var(--primary)
}
/* Odsazení číslování menu */
.toc_kapitola .toc-item.active .cap-num, .toc_kapitola a.toc-item:hover .cap-num{
  color: var(--inverzni);
}
.toc_kapitola.trojmistne a.toc-item .cap-num, .toc_kapitola.trojmistne span.toc-item .cap-num {
  width: 65px;
}

.toc_kapitola.ctyrmistne a.toc-item .cap-num, .toc_kapitola.ctyrmistne span.toc-item .cap-num {
  width: 85px;
}

.toc_kapitola.ctyrmistne a.toc-item .cap-num, .toc_kapitola.petimistne span.toc-item .cap-num {
  width: 105px;
}
/****************************************************************************************************** TO DO *************************************************************************************************/
#titulka .submenu .toc-item .cap-num {
  height: 60px;
  text-align: left;
  color: var(--primary)
}
#titulka .submenu a.toc-item, #titulka .submenu span.toc-item {
  min-height: 3.75rem;
  line-height: 1;
}
#titulka .submenu a.toc-item .cap-num, #titulka .submenu span.toc-item .cap-num {
  font-size: 48px;
  margin: -22px 5px -11px 45px;;
  letter-spacing: -5px;
}
#titulka .toc_section.trojmistne a.toc-item .cap-num, #titulka .toc_section.trojmistne span.toc-item .cap-num,
#titulka .trojmistne.submenu a.toc-item .cap-num, #titulka .trojmistne.submenu span.toc-item .cap-num {
  width: 80px;
}

#titulka .toc_section.ctyrmistne a.toc-item .cap-num, #titulka .toc_sectiona.ctyrmistne span.toc-item .cap-num,
#titulka .ctyrmistne.submenu a.toc-item .cap-num, #titulka .ctyrmistne.submenu span.toc-item .cap-num {
  width: 85px;
}

#titulka .toc_section.ctyrmistne a.toc-item .cap-num, #titulka .toc_section.petimistne span.toc-item .cap-num,
#titulka .petimistne.submenu a.toc-item .cap-num, #titulka .petimistne.submenu span.toc-item .cap-num {
  width: 105px;
}
#titulka nav .submenu {
  padding: 0;
}

/* klikací rozcestník (seznam kapitol) - konec*/
/* rozcestník ve stránce - taby */
.tabs {
  display: flex;
  flex-flow: wrap;
  padding-right: 0;
  border: 0px;
  margin-top: 1rem;
}
.tabs-title {
  display: grid;
}

.tabs-title > a {
  border-right: none;
  border-left: none;
  margin-left: 0;
  text-align: center;
  padding: 1rem;
  line-height: 1.4;
  border-bottom: 1.5px solid var(--primary);
}

.tabs-title > a:focus,
.tabs-title > a[aria-selected="true"] {
  position: initial;
  box-shadow: none;
  background-color: var(--primary);
  color: #fff;
  border-bottom: 1.5px solid var(--primary);
}

.tabs-title > a[aria-selected="false"] {
  position: initial;
  box-shadow: none;
  color: rgba(119, 119, 119, 0.9);
  background-color: #f5f5f5;
  border-bottom: 1.5px solid var(--primary);
}

.tabs-title:hover > a[aria-selected="false"]:hover {
  background-color: var(--primary);
  color: #fff;
}

.tabs-content {
  margin-bottom: 1rem;
}
/* rozcestník ve stránce - taby - konec */
/* sticky menu */

.local-navig {
  background-color: #f5f5f5;
  font-size: 1rem;
}

.local-navig .dropdown a {
  background-color: #f5f5f5;
  text-transform: none;
}

nav.local-navig i.isi-zobacek-vpravo {
  display: inline-block;
  padding: 0 .2rem;
}
nav.local-navig .upper {
  display: none;
}
nav.local-navig.is-stuck .upper {
  display: block;
}

.local-navig .dropdown a:hover, .local-navig .menu .is-active a {
	background-color: #f5f5f5;
}

.local-navig .top-label.top-label {
	margin-right: 0.8em;
  border-left: 0;
}

.local-navig .dropdown > li {
	border-left: 0 none;
	border-right: 0 none;
}

.local-navig .dropdown .is-dropdown-submenu-parent > a {
  padding-left: 0.2rem;
  padding-right: 1rem;
  font-weight: 400;
}

.local-navig.is-at-top {
	width: 100%;
    z-index: 1;
}

.local-navig.is-stuck {
	padding-top: 0;
}

.local-toc {
	z-index: 10;
  margin-left: 1rem;
  width: 350px !important;
}

.local-navig .is-dropdown-submenu-parent a {
	display: flex;
}

.local-toc.submenu::before {
	display: none;
}

.js-dropdown-active.local-toc {
	max-height: 80vh;
	overflow: auto;
}

.js-dropdown-active.local-toc li {
  box-sizing: border-box;
	flex: 0 0 auto;
	width: auto;
}

/* sticky menu - konec */


/* galerie obrázků */

.hide {
	display: none;
}

.gallery-wrap {
	/* margin-right: -1.4rem; */
	outline: none;
}

.gallery-main {
	position: relative;
	margin-bottom: 0.5rem;
	background: #f5f5f5;
	width: 100%;
}

.gallery-main .gallery-size-ratio-content {
	/*display: flex;*/
	align-items: center;
}

.gallery-prev-next,
.gallery-full-size {
	position: absolute;
	top: 0;
	color: #d6d6d6;
	text-shadow: -1px 0 #8e8e8e, 0 1px #8e8e8e, 1px 0 #8e8e8e, 0 -1px #8e8e8e;
}

.gallery-prev-next {
	font-size: 3rem;
	height: 100%;
	padding-top: 25%;
}

html:not(.whatinput-types-touch) .gallery-prev-next i,
html:not(.whatinput-types-touch) .gallery-full-size i {
	visibility: hidden;
}

.gallery-main:hover .gallery-prev-next i,
.gallery-main:focus .gallery-full-size i {
	visibility: visible;
}

.gallery-prev-next:hover,
.gallery-full-size:hover,
.gallery-full-size:focus {
	color: #fff;
	text-shadow: -1px 0 #8e8e8e, 0 1px #8e8e8e, 1px 0 #8e8e8e, 0 -1px #8e8e8e;
	cursor: pointer;
}

.gallery-prev-next.prev {
	width: 10rem;
	text-align: left;
}

.gallery-prev-next.next {
	right: 0;
	width: calc(100% - 5rem);
	text-align: right;
}


.gallery-main .cover {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.gallery-main .full {
	max-width: 100%;
	max-height: 600px;
	display: block;
	margin: auto;
}
.gallery-full-size {
	display: block;
	right: 0.5rem;
	font-size: 2.5rem !important;
	padding-left: 1rem;
	padding-bottom: 1rem;
}

.gallery-descriptions {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}

.gallery-descriptions {
	font-size: 0.929rem;
}

.gallery-title {
	font-weight: 600;
}

.gallery-thumbnails {
	overflow: auto;
	display: flex;
	margin-top: 0.5rem;
}

.gallery-thumbnail-wrap {
	width: 10rem;
	display: inline-block;
}

.gallery-thumbnail-wrap + .gallery-thumbnail-wrap {
	margin-left: 4px;
}

.gallery-thumbnail-wrap .gallery-size-ratio-wrap {
	width: 10rem;
}

.gallery-thumbnails img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-thumbnail-wrap:not(.active) {
	opacity: 0.7;
	cursor: pointer;
}

.gallery-size-ratio-wrap {
	position: relative;
}

.gallery-size-ratio-8-5 {
	padding-bottom: 62.5%;
}

.gallery-size-ratio-content {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

@media screen and (max-width: 39.9375em) {

	.gallery-thumbnail-wrap,
	.gallery-thumbnail-wrap .gallery-size-ratio-wrap {
		width: 7rem;
	}

	.gallery-escriptions {
		font-size: 0.929rem;
		padding: 0.5rem;
	}

	.gallery-prev-next {
		font-size: 2rem;
		padding-top: 20%;
	}

}

/* galerie obrázků – konec */


/* ******************/
/*  NASTAVENI BAREV */
/* ******************/


h2 {color: var(--secondary)} /* secondary */
h3, h4 {color: #0a0a0a}


.t1, .t1 strong, .t1 em {background-color: var(--primary)!important; color: #fafafa;} /* primary */
.t2, .t2 strong, .t2 em {background-color: var(--secondary)!important; color: #fafafa;} /* secondary */
.t3, .t3 strong, .t3 em {background-color: var(--doplnkova)!important; color: #242424;} /* doplnkova */

/* rozcestník */


/* ******************/
/*  TABULKY */
/* ******************/

table { font-size: 14px; }

/* **************************************** */
/* ************    TO DO    *************** */

sup a, sup a:visited { /* klikaci horni index, vhodne pro pozn. pod carou */
  margin: 0px 2px 0px 2px;
  padding: 0px 3px 0px 3px;
  text-decoration: none;
  background: #eee;
  color: var(--secondary)!important;
  font-size: 9px;
  font-weight: bold;
}
sup a:hover {
  background: #777;
  color: #fff!important;
}

.f5, th {background: #f5f5f5}
.fa {background: #fafafa;}


a.lit, a.lit:hover, a.lit:visited, a.lit:active, .lit a, .lit a:hover, .lit a:active, .li a:visited {
	font-size: 12px;
	font-family: "Courier New", courier, monospace;
}
