#auth * {
  display: block;
}
#auth {
  position: absolute;
  top: 0;
  right: 0;
}
script {
  display: none !important;
}

main {
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-flow: row nowrap; -ms-flex-flow: row nowrap; flex-flow: row nowrap;
  overflow-x: hidden;
  max-width: 100%;
  flex-grow: 1;
}

footer {
  position: fixed;
  bottom: 0;
  right: 0;
  border: solid red;
  padding: 0.5em;
  background-color: black;
}

#projekt, article {
	/*styly pre section tag ktory je zobrazeny*/
  display: block;
  overflow-y: auto;
	padding: 1em 0 1em 1em;
	box-sizing: border-box;
  position: relative;
}
#projekt > article {
	box-sizing: border-box !important;
	padding: 0;
	padding-right: 1em;
}
#projekt > article:first-child {
	white-space: nowrap;
}
#projdesc {
  margin-bottom: 2em;
}
article a, li.selected {
  color: red;
}
article li:before {
  content: ">";
  color: red;
  padding-right: 1em;
  font-size: 0.6em;
}

article > *, tbody {
	display: inline-block;
	width: 100%;
	text-align: justify;
}
article > ul li, tbody {
	padding-left: 1em;
	text-indent: -1em;
}
article > * {
  padding-right: 16px;
}

h1 > span {
	font-size: initial;
}
td:first-child {
	width: auto;
	vertical-align: middle;
	padding-right: 2em;
}

ol form, #projekt nav input {
  margin-bottom: 2em;
}
ol li * {
	display: inline-block;
	max-width: 100%;
	transition-property: transform, color, width;
	transition-duration: 1s;
	transition-timing-function: eause-out;
}

ol .ps__rail-y {
  left: 0 !important;
}
nav .ps__rail-y {
  left: unset !important;
}

@media screen and (max-height: 500px) {
  #projekt > article:first-child {
    display: none;
  }
  #projekt > img {
    padding-top: 0 !important;;
  }
}
/*
::-webkit-scrollbar:horizontal, ::-webkit-scrollbar {
  height: 5px !important;
  background-color: #131313 !important;
}
::-webkit-scrollbar:vertical, ::-webkit-scrollbar {
  width: 5px !important;
  background-color: #131313 !important;
}
::-webkit-scrollbar-thumb {
  background-color: lightgray !important;
}
