@charset "UTF-8";
/****************
 * BASIC COLORS *
 *
 * Main Color: #5C93D3
 * Text Color: #E0E0E0
 * Background: #0A0A0A
 *
 ****************/
* {
  margin: 0;
  padding: 0;
}

html {
  padding: 0px 0px;
  margin: 0 auto;
}

body {
  margin-top: 0px;
  background-color: #0A0A0A;
  text-align: justify;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 90%;
  color: #E0E0E0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Wrapper for page width, header and main use this width by default */
main, header, .wrapper {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}

p, blockquote, ul, ol {
  margin-bottom: 0px;
  /*line-height: 2em;*/
}

p {
  margin-top: 1em;
  margin-bottom: 1em;
}

ul {
  list-style: none;
}

li {
  padding-top: 0.5em;
}

#content ul, #epiceditor-preview ul {
  list-style-type: square;
}

#content li, #epiceditor-preview li {
  margin-left: 1.3em;
}

.double_ul li {
  width: 46%;
  float: left;
}

.minilist, .minilist li {
  list-style: none;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}

.minilist li {
  margin-top: 0pt;
  margin-bottom: 0pt;
}

.minilist {
  margin-top: -0.8em;
}

/*.tasks li { considered a bug by MJ
	color: #5C93D3;
}*/
.inverse {
  color: #0A0A0A;
  background-color: #5C93D3;
}

.inverse a,
.inverse a:link,
.inverse a:visited,
.inverse a:hover {
  color: #5C93D3;
}

.image {
  background-color: white;
  margin: 5px;
  padding: 5px;
}

/*********/
/* LINKS */
/*********/
a, div.auth input, .postlink {
  text-decoration: underline;
  color: #5C93D3;
  background-color: inherit;
  border: none;
}

a:hover, div.auth input:hover, .postlink:hover {
  text-decoration: none;
  color: #838383;
  cursor: pointer;
}

img {
  border: none;
}

.postlink {
  padding: 0;
  margin: 0;
  font-size: inherit;
}

/* .proglink */
/************/
/* HEADINGS */
/************/
h1, h2, h3, h4 {
  color: #5C93D3;
  padding: 4px 2em 4px 0px;
  margin: 5px 0px 0em 0px;
  text-align: left;
}

h2 {
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}

h3 {
  padding-top: 1em;
  margin-bottom: 0px;
}

h4 {
  padding-top: 1em;
  padding-bottom: 0px;
}

/***************/
/* ERROR PAGES */
/***************/
/*Error pages headings*/
h1.pageError {
  padding: 4px 0px;
  color: red;
}

h2.pageError {
  padding: 0px 0px 20px 0px;
  color: red;
}

span.pageErrorCode {
  font-size: 75px;
  font-weight: bold;
  color: red;
}

/****************/
/* MATH CLASSES */
/****************/
.overline {
  text-decoration: overline;
}

.math {
  font-style: italic;
}

.nomath {
  font-style: normal;
}

div.math {
  text-align: center;
}

.math table {
  text-align: left;
}

.fraction {
  text-align: center;
  border-top: solid 1pt #E0E0E0;
}

/***********/
/* COLUMNS */
/***********/
div.columns2:after, div.columns3:after {
  content: "";
  display: table;
  clear: both;
}

@media only screen and (min-width: 940px) {
  /* Calculate width and margin for all columns */
  div.columns2 > div {
    width: calc(50% - 10px);
    float: left;
    margin-left: 20px;
  }

  div.columns3 > div {
    width: calc(33% - 11px);
    float: left;
    margin-left: 20px;
  }

  div.columns3 > div.double {
    width: calc(66% - 10px);
  }

  /* Special case for 1st column */
  div.columns2 > div:first-child, div.columns3 > div:first-child {
    margin-left: 0px;
  }
}
/**********/
/* ALIGNS */
/**********/
.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.leftfloat {
  float: left;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.rightfloat {
  float: right;
  margin-left: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.clearfloat {
  clear: both;
}

hr {
  border: 0;
  border-top: 1px solid #252726;
  margin: 1.5em 0 1em 0;
}

#news p {
  margin-top: 0.1em;
  color: #cccccc;
  line-height: 1.3;
}

#news li {
  list-style-type: none;
  margin-left: 0;
  clear: both;
}

pre {
  margin: 0.2em 1em 0.2em 1em;
  padding: 0.3em;
  background-color: #181914;
}

p code {
  padding: 0.3em;
  background-color: #181914;
}

code[class*=language-],
pre[class*=language-] {
  line-height: 1.4 !important;
  font-size: 13px;
}

.leftlined {
  padding-left: 0.6ex;
  position: relative;
  left: -1ex;
  top: 0;
  border-left: 0.4ex solid #4a4e4c;
}

.boxed {
  padding-top: 3pt;
  padding-bottom: 3pt;
  border: 1px solid #4a4e4c;
}

div.greybox {
  border: 1px solid #444444;
  background-color: #111111;
  padding: 10px;
  margin: 15px 5px;
}

div.greybox h3:first-child, div.greybox h2:first-child {
  padding-top: 0px;
}

/*****************/
/* TABLE CLASSES */
/*****************/
table {
  text-align: left;
}

.centertable {
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.centertable tr td {
  white-space: nowrap;
}

/* fix IE bug, which doesn't inherit */
.centertable th td {
  white-space: nowrap;
}

.borderedtable {
  border-collapse: collapse;
}

.borderedtable > tbody > tr > td, .borderedtable > tbody > tr > th {
  /* We use explicit child selectors, so that nested tables (e.g., fractions inside the main table) are not bordered */
  border: 1px solid #252726;
  padding: 3px;
}

.paddedtable > tbody > tr > td, .paddedtable > tbody > tr > th {
  /* Same as above, since we don't want fractions padded either */
  padding: 0.15em 0.6em 0.15em 0;
}

.formtable {
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.formtable tr td {
  padding: 0.3em;
  white-space: nowrap;
}

/* fix IE bug, which doesn't inherit */
.formtable th td {
  padding: 0.3em;
  white-space: nowrap;
}

.floattable {
  display: inline;
  vertical-align: middle;
  white-space: nowrap;
}

.floattable tr td {
  white-space: nowrap;
}

/* fix IE bug, which doesn't inherit */
.floattable th td {
  white-space: nowrap;
}

table.rightalign td {
  text-align: right;
}

table.rightalign tr.header td {
  text-align: center;
}

table.rightalign tr.header td.leftspace {
  padding: 0px 10px 0px 20px;
}

/* Non-IE set inline correctly */
html > body .floattable {
  display: -moz-inline-box;
  display: inline-table;
}

.scoretable {
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
  border: 1px solid #252726;
  border-collapse: collapse;
}

.scoretable td {
  border: 1px solid #252726;
  padding: 3px 3px 3px 3px;
}

.adresar {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

.adresar td {
  padding: 0.25ex 0.5em 0.25ex 0.5em;
}

.adresar tr.x0 {
  background-color: #0A0A0A;
}

.adresar tr.x1 {
  background-color: #4F4F4F;
}

.organizerList {
  width: 100%;
  text-align: center;
  border: 1px solid #252726;
}

.organizerList td {
  padding: 0.5em;
  border: 1px solid #252726;
}

/*****************/
/* VARIOUS STUFF */
/*****************/
div.cleaner {
  visibility: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  clear: both !important;
  float: none !important;
}

div.auth {
  margin: 1em 0;
}

div.auth, div.auth * {
  display: inline;
  padding: 0;
  line-height: 100%;
  font-size: 100%;
}

.story {
  margin-top: 2em;
  margin-bottom: 1em;
  font-style: italic;
}

.menuactive {
  font-weight: bold;
}

.author {
  text-align: right;
  font-style: italic;
}

div.authors {
  float: right;
  width: 70%;
  text-align: right;
  font-style: italic;
  margin-bottom: 10px;
}

.letaklink {
  font-size: small;
  text-align: right;
  font-style: italic;
}

.ent {
  vertical-align: middle;
}

.dang {
  float: left;
  padding-right: 10px;
}

.todo {
  color: red;
  font-size: x-large;
  background-color: #5C93D3;
}

.tt {
  font-family: monospace;
}

.big {
  font-size: large;
}

.song li {
  margin-bottom: 1ex;
}

.pline {
  width: 70%;
  clear: both;
  margin-left: 4em;
}

.ptest {
  margin-left: 2em;
}

.vysledkovkaKral {
  background-color: gold;
  color: black;
}

.vysledkovkaPodzimnik {
  background-color: #080;
  color: black;
}

.vysledkovkaUspesny {
  background-color: olive;
  color: black;
}

/*
 * Created for serial 34 for a video tag surrounded by a container.
 * Is meant to be used as a sane default CSS for a video.
 */
.videoContainer {
  margin: 0px auto;
  width: 90%;
}
.videoContainer video {
  width: 100%;
}

/* SPOILER ALERT: the ".spoiler *" part is a hack to allow spoiler-ing text with
 * coloured bits (see e.g. akce/sous/2014-podzimni/labyrint/otazky.html). */
.spoiler {
  color: #202020;
  background-color: #202020;
}

.spoiler * {
  visibility: hidden;
}

.spoiler:hover {
  color: inherit;
  background: inherit;
}

.spoiler:hover * {
  visibility: visible;
}

/* Definition list */
dl dt {
  font-weight: bold;
  margin-top: 1em;
}

dl dd {
  margin-left: 3em;
}

.nowrap {
  white-space: nowrap;
}

.algcmt {
  margin-left: 1.4em;
  color: gray;
}

.algname {
  font-variant: small-caps;
}

.alghead {
  margin-bottom: 0.5ex;
}

/***************/
/* POSITIONING */
/***************/
/* Header */
#header {
  position: relative;
  margin-bottom: 20px;
  background-color: #dddddd;
  color: #444444;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden;
  box-shadow: 0px 7px 4px -5px rgba(200, 200, 200, 0.5);
  background-image: url(/img/slide/diagram.jpg);
  background-size: cover;
  /* HACK | TODO: Update images for the new header width. */
  display: grid;
  /* head_news - aktuality */
}
#header #logo {
  padding: 0em 1.5em 0.5em 0.5em;
  background-color: #0A0A0A;
  box-shadow: 0px 3px 10px rgba(20, 20, 20, 0.5);
  border-bottom-right-radius: 20px;
  margin-bottom: auto;
  margin-right: auto;
  grid-row: 1;
  grid-column: 1;
}
#header #logo h1 {
  margin: 0;
  padding: 0;
  font: normal 3.2em Georgia, "Times New Roman", Times, serif;
  text-align: left;
}
#header #logo h2 {
  margin: 0px 0 5px 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8em;
  font-weight: bold;
}
#header #logo a {
  text-decoration: none;
  color: white;
}
#header #menu {
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px;
  overflow: hidden;
  background-color: #3E74B3;
  background-image: url(/img/menu_background.png);
  box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.75);
  z-index: 1;
  margin-left: auto;
}
@media only screen and (min-width: 910px) {
  #header #menu {
    grid-row: 2;
    grid-column: 1/span 2;
  }
}
@media only screen and (max-width: 910px) {
  #header #menu {
    grid-row: 3;
    grid-column: 1;
  }
}
#header #menu ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}
#header #menu li {
  display: block;
  text-align: center;
  padding-top: 0;
}
#header #menu a {
  display: block;
  height: 14px;
  float: left;
  border-left: 1px solid #2C5280;
  padding: 13px 15px;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  color: #191919;
}
#header #menu li:last-of-type a {
  padding-right: 20px;
  /* default + 5px */
}
#header #menu a:hover, #header #menu .active a {
  background-color: #3E74B3;
  color: white;
}
#header #menu a.home {
  width: 28px;
  color: transparent;
  padding-left: 5px;
  position: relative;
}
#header #menu a.home:after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 5px;
  background-image: url(/img/home.png);
  background-repeat: no-repeat;
  background-position: center;
}
#header #menu a.home:hover:after, #header #menu .active a.home:after {
  background-image: url(/img/home-white.png);
}
#header #headnews {
  padding: 10px 15px 5px;
  color: white;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background-color: #0A0A0A;
  /* compatibility */
  background-color: rgba(10, 10, 10, 0.8);
}
@media only screen and (min-width: 910px) {
  #header #headnews {
    grid-row: 1;
    grid-column: 2;
    margin: 0.5em 0 0.5em auto;
  }
}
@media only screen and (max-width: 910px) {
  #header #headnews {
    grid-row: 2;
    grid-column: 1;
    margin: 3px 0 3px auto;
  }
}
#header #headnews h3 {
  margin: -2px 0px 4px;
  padding: 0px;
  font-variant: small-caps;
  color: white;
}
#header #headnews table th {
  font-variant: small-caps;
  padding-right: 5px;
}
#header #headnews hr {
  margin-top: 8px;
  border-color: #777777;
  background-color: #777777;
}
@media only screen and (max-width: 910px) {
  #header #headnews h3, #header #headnews table, #header #headnews hr {
    display: none;
  }
}
#header #headnews span.login_label {
  font-variant: small-caps;
  font-weight: bold;
}
#header #headnews span.splitter {
  margin: 0px 8px;
  color: #777777;
}

/* Minimal header - for use on included pages as Putovní přednášky */
#minimalHeader {
  position: relative;
  height: 71px;
  margin-bottom: 10px;
}

#minimalHeader #logo {
  float: left;
  width: 30em;
  height: 4em;
  margin: 0px;
  padding: 1em 0px 0px 0px;
}

#minimalHeader #logo h1 {
  margin: 0;
  padding: 0;
  font: normal 2.9em Georgia, "Times New Roman", Times, serif;
  text-align: left;
}

#minimalHeader #logo h2 {
  margin: -2px 0 0 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7em;
  font-weight: bold;
  color: #444444;
}

#minimalHeader #logo a {
  text-decoration: none;
  color: #F0F0F0;
}

/* Menu */
#minimalHeader #menu {
  /*hotfix*/
  /*position: absolute;
  right: 0px;
  bottom: 0px;*/
  height: 3.2em;
  margin-bottom: -18px;
}

#minimalHeader #menu ul {
  margin: 0;
  padding: 0.9em 0 0 0px;
  list-style: none;
  line-height: normal;
  margin-left: 0px;
}

#minimalHeader #menu li {
  display: inline;
  text-align: center;
}

#minimalHeader #menu a {
  display: block;
  float: left;
  margin-right: 3px;
  padding: 5px 10px;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  color: #5C93D3;
}

#minimalHeader #menu a:hover, #minimalHeader #menu .active a {
  background: #5C93D3;
  color: #0A0A0A;
}

/* End minimal header */
/* Micro header - only menu in minimalistic form */
#microHeader {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: #1b1b1b;
  margin-bottom: 10px;
  overflow: hidden;
}

#microHeader #menu {
  margin-right: -3px;
}

#microHeader #menu ul {
  list-style: none;
  display: table;
  width: 100%;
}

#microHeader #menu li {
  display: table-cell;
  text-align: center;
  padding-top: 0px;
}

#microHeader #menu a {
  display: block;
  margin-right: 3px;
  padding: 10px 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  color: #5C93D3;
}

#microHeader #menu a:hover, #microHeader #menu .active a {
  background: #5C93D3;
  color: #0A0A0A;
}

/* End micro header */
/* Shortcuts links on homepage */
ul#home_shortcuts {
  display: inline-flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0px;
}

ul#home_shortcuts li {
  display: inline;
  margin: 0px;
  margin-left: 15px;
  float: left;
}

@media only screen and (max-width: 500px) {
  #home-hippo {
    display: none;
  }
}
#splash {
  width: 100%;
  margin: 0 auto;
  margin-top: 10px;
}

#slider {
  width: 100%;
  height: 170px;
  overflow: hidden;
}

#shade {
  background: url(/img/gradient-blue.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 40px;
}

/* Epiceditor content */
#epiceditor-preview {
  border: 1px #444444 solid;
  padding: 10px;
}

#content img.taskTypeIcon {
  position: relative;
  top: 10px;
  margin-right: 10px;
  margin-top: -20px;
}

.disabled-link {
  color: gray;
  text-decoration: line-through;
}

.color-invert {
  -webkit-filter: invert(1);
  filter: invert(1);
}

.nobreak {
  white-space: nowrap;
}

.list-align-left {
  text-align: left;
}

/* Page */
#page {
  width: 100%;
  margin: 0 auto 20px;
  position: relative;
  display: grid;
  gap: 0.5em;
}
@media only screen and (min-width: 500px) {
  #page:not(.nosidebar) {
    grid-template-columns: 20% 80%;
  }
  #page.nosidebar {
    grid-template-columns: 100%;
  }
}
@media only screen and (max-width: 500px) {
  #page {
    grid-template-columns: 100%;
  }
}
#page #sidebar-wrapper {
  grid-row: 1;
  grid-column: 1;
  width: 95%;
}
@media only screen and (min-width: 500px) {
  #page #sidebar-wrapper {
    margin: 0 auto 0 0;
  }
  #page #sidebar-wrapper label[for=sidebar-checkbox], #page #sidebar-wrapper input#sidebar-checkbox {
    display: none;
  }
}
@media only screen and (max-width: 500px) {
  #page #sidebar-wrapper {
    position: relative;
    width: 100%;
  }
  #page #sidebar-wrapper label[for=sidebar-checkbox] {
    display: block;
    cursor: pointer;
    line-height: 1.5em;
    padding-left: 1em;
    text-decoration: underline;
  }
  #page #sidebar-wrapper input#sidebar-checkbox {
    display: none;
  }
  #page #sidebar-wrapper input:checked ~ #sidebar {
    max-height: 100%;
    transition: 0.3s;
  }
  #page #sidebar-wrapper input ~ label::before {
    content: "ᐯ";
    transform: rotate(-90deg) scaleX(2) scaleY(0.7);
    transition: 0.5s;
  }
  #page #sidebar-wrapper input:checked ~ label::before {
    transform: rotate(0deg) scaleX(2) scaleY(0.7);
  }
  #page #sidebar-wrapper input:checked ~ label {
    background-color: #222;
    font-weight: bold;
  }
  #page #sidebar-wrapper input ~ label:hover {
    background-color: #222;
    font-weight: bold;
    transition: 0.3s;
  }
  #page #sidebar-wrapper input ~ label::before {
    display: inline-block;
    margin-right: 1em;
  }
  #page #sidebar-wrapper #sidebar {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    background-color: #222;
  }
}
#page #sidebar-wrapper #sidebar ul {
  padding-left: 0em;
  list-style: none;
  line-height: normal;
}
#page #sidebar-wrapper #sidebar ul li ul {
  margin-left: 1em;
  padding-left: 0em;
}
#page #sidebar-wrapper #sidebar > ul > li {
  margin-bottom: 1px;
  border-bottom: 1px solid #252726;
  padding: 9px 0px;
  padding-left: 0.5em;
  text-align: left;
}
#page #sidebar-wrapper #sidebar .active > a {
  color: #5C93D3;
  font-weight: bold;
}
#page #sidebar-wrapper #sidebar h2 {
  margin: 0px;
  padding: 15px 0px 20px 0px;
  font-size: 160%;
  font-weight: normal;
  color: #5C93D3;
}
#page #sidebar-wrapper #sidebar h3 {
  font-size: 77%;
  color: #5C93D3;
}
#page #sidebar-wrapper #sidebar p {
  margin: 0;
  line-height: normal;
  color: #D4C792;
}
#page #sidebar-wrapper #sidebar a {
  border: none;
  text-decoration: none;
  color: #E0E0E0;
}
#page #sidebar-wrapper #sidebar a:hover {
  text-decoration: underline;
}
@media only screen and (max-width: 500px) {
  #page #sidebar-wrapper #sidebar ul li {
    padding: 0px;
  }
  #page #sidebar-wrapper #sidebar a, #page #sidebar-wrapper #sidebar span {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 9px 0.5em;
  }
  #page #sidebar-wrapper #sidebar a:hover {
    background-color: #333;
    text-decoration: none;
  }
}
#page #content {
  line-height: 1.5;
  padding-right: 1em;
  contain: layout;
  overflow-x: auto;
}
@media only screen and (max-width: 500px) {
  #page #content {
    grid-row: 2;
    grid-column: 1;
    padding-left: 1em;
  }
}
@media only screen and (min-width: 500px) {
  #page #content {
    grid-row: 1;
    grid-column: 2;
  }
}
#page.nosidebar #content {
  grid-row: 1;
  grid-column: 1;
}

/*** Forms ***/
form div.form_error {
  color: red;
  margin-top: -1px;
  margin-bottom: 3px;
  white-space: normal;
}

form .wrong {
  border: 1px red dashed !important;
  background-color: pink;
}

/* Footer */
footer {
  width: 100%;
  font-size: 90%;
  margin: auto auto 0px;
  padding-bottom: 10px;
  background-color: #0A0A0A;
  border-top: 1px solid #252726;
}
footer .footer-line {
  opacity: 0.9;
  transition: all 0.5s;
  display: flex;
  flex-wrap: wrap;
}
footer .footer-line div {
  margin: 10px 5px 5px;
  flex-grow: 4;
}
footer .footer-line div.logo {
  flex-grow: 1;
}
footer .footer-line div.logo span {
  display: block;
  margin-bottom: 5px;
}
footer .footer-line div.logo img {
  opacity: 0.5;
  transition: all 0.1s;
}
footer .footer-line div.logo img:hover {
  opacity: 1;
}
footer h3 {
  color: inherit;
  margin-top: 0px;
  padding-top: 0px;
}
footer h3 a {
  color: inherit;
  text-decoration: none;
}
footer h3 a:hover {
  text-decoration: underline;
}
footer p {
  opacity: 0.9;
  transition: all 0.5s;
  margin: 0;
  text-align: center;
  font-size: 77%;
  font-style: italic;
  padding-right: 1em;
}

/*** Login form ***/
.login {
  width: 23em;
  text-align: center;
  color: #E0E0E0;
  background-color: #0A0A0A;
  padding: 0.5em;
  border: solid 1px #5C93D3;
  border-right: solid 2px #5C93D3;
  border-bottom: solid 2px #5C93D3;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4ex;
}

.login h2 {
  text-align: center;
}

.login td.right {
  width: 10em;
}

.error {
  font-weight: bolder;
  font-size: larger;
  color: red;
}

.okay {
  font-weight: bolder;
  font-size: larger;
  color: yellow;
}

.footnote {
  font-size: 80%;
  font-style: italic;
}

/*** Schedule ***/
.schedule {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  text-align: center;
}

.schedule td {
  padding: 0.25ex 0.5em 0.25ex 0.5em;
  border: 1px solid #252726;
}

.schedule th {
  padding: 0.25ex 0.5em 0.25ex 0.5em;
  border: 1px solid #252726;
}

/*** Contestant profile ***/
div.profile_contestant_info {
  width: 50%;
}

div.profile_contestant_info div.box {
  margin: 1em;
  border: 1px solid #222;
  background-color: #101010;
  padding: 1.5em;
}

div.profile_contestant_info div.box hr {
  margin: 0.5em 0;
}

div.profile_contestant_info div.box_image {
  text-align: center;
}

div.profile_contestant_info img {
  border: 1px solid #222;
}

div.profile_contestant_info span.name {
  display: block;
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
  color: #5C93D3;
}

div.profile_contestant_info.org span.name {
  color: #D19832;
}

div.profile_contestant_info li.sous.staff::marker {
  color: #D19832;
}

div.profile_contestant_info li.sous.org::marker {
  color: #D19832;
}

div.profile_contestant_info span.total_points,
div.profile_contestant_info span.total_adjusted_points,
div.profile_contestant_info span.total_series,
div.profile_contestant_info span.homepage,
div.profile_contestant_info span.occupation,
div.profile_contestant_info span.hobbies,
div.profile_contestant_info span.location,
div.profile_contestant_info span.email,
div.profile_contestant_info span.im {
  clear: both;
  display: block;
  text-align: right;
}

div.profile_contestant_info span.total_points em,
div.profile_contestant_info span.total_adjusted_points em,
div.profile_contestant_info span.total_series em,
div.profile_contestant_info span.homepage em,
div.profile_contestant_info span.occupation em,
div.profile_contestant_info span.hobbies em,
div.profile_contestant_info span.location em,
div.profile_contestant_info span.email em,
div.profile_contestant_info span.im em {
  float: left;
  font-weight: bold;
  font-style: normal;
}

div.profile_solved_tasks {
  width: 705px;
}

/*inside div.profile_solved_tasks*/
div.profile_year {
  clear: both;
  margin-bottom: 5px;
}

div.profile_year_menu {
  float: left;
  width: 105px;
}

div.profile_year_menu a, div.profile_year_menu span {
  display: block;
  margin-bottom: 5px;
  padding: 5px 10px;
  width: 100%;
  font-weight: bold;
  font-size: 1.3em;
  text-decoration: none;
  color: #444444;
}

div.profile_year_menu a:hover, div.profile_year_menu span {
  color: white;
}

div.profile_year_menu span {
  background-color: #101010;
}

div.profile_year_tasks {
  float: right;
  width: 580px;
  background-color: #101010;
  padding: 0px 5px;
}

div.profile_year_tasks table {
  margin: 5px 0px;
  width: 100%;
  border-spacing: 0px 4px;
}

div.profile_year_tasks table th {
  text-align: left;
}

div.profile_year_tasks table td {
  width: 11em;
}

div.profile_year_tasks table th,
div.profile_year_tasks table td {
  padding: 3px 5px;
}

div.profile_year_tasks table tr {
  background-color: #202020;
}

div.profile_year_tasks table tr.series_header th {
  text-align: center;
}

/*end inside div.profile_solved_tasks*/
div.orglist {
  display: grid;
  gap: 0.5em;
}
@media only screen and (min-width: 1060px) {
  div.orglist {
    grid-template-columns: 1fr 1fr;
  }
}
@media only screen and (max-width: 1060px) {
  div.orglist {
    grid-template-columns: 1fr;
    place-items: center;
  }
  div.orglist .org {
    width: 100%;
    max-width: 400px;
  }
}
div.orglist .org {
  border: 1px solid #222;
  background-color: #101010;
  padding: 8px;
  font-size: 80%;
  overflow: hidden;
}
div.orglist .org h3 {
  text-align: center;
  margin: 0px 0px 5px;
  padding: 0px;
  color: #D19832;
  font-size: 18px;
}
div.orglist .org h3 a {
  text-decoration: none;
  color: inherit;
}
div.orglist .org h3 a:hover {
  text-decoration: underline;
}
div.orglist .org h4.function {
  text-align: center;
  margin: -5px 0px 5px;
  padding: 0px;
  color: white;
  font-size: 13px;
}
div.orglist .org span.history_function {
  display: block;
  text-align: center;
  margin: -5px 0px 5px;
  padding: 0px;
  color: white;
  font-style: italic;
}
div.orglist .org img {
  border: 1px #777 solid;
  padding: 3px;
  margin-right: 1em;
  max-width: 100px;
}
div.orglist .org a:hover img {
  border: 1px white solid;
}
div.orglist .org hr {
  margin: 0.5em 0em;
}

/*CodeGroup*/
div.codegroup {
  position: relative;
  padding-top: 30px;
}

div.codegroup ul.switcher {
  position: absolute;
  top: 0px;
  border-bottom: 1px #333333 solid;
  padding: 0px;
  margin-left: 10px;
  padding: 0px 20px;
  width: 644px;
}

div.codegroup ul.switcher li {
  position: relative;
  display: block;
  height: 20px;
  float: left;
  list-style: none outside none;
  padding: 5px 10px;
  border: 1px #333333 solid;
  margin: 0px 5px -1px !important;
  background-color: #181914;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  z-index: 5;
}

div.codegroup ul.switcher li.active {
  border-bottom: 1px #181914 solid;
}

/*end CodeGroup*/
/*************/
/* SUBMITTER */
/*************/
.zs-tasklist {
  border-collapse: collapse;
}

.zs-tasklist tr th,
.zs-tasklist tr td {
  border: solid 1px #252627;
  padding: 0.2em 0.5em;
}

.zs-expired a, .zs-submitted a, .zs-unsubmitted a, .zs-partial a {
  color: #0A0A0A;
}

.zs-expired {
  background-color: #FC616C;
  color: #0A0A0A;
}

.zs-submitted {
  background-color: #6DE95A;
  color: #0A0A0A;
}

.zs-partial {
  background-color: #96E989;
  color: #0A0A0A;
}

.zs-unsubmitted {
  background-color: #FFC362;
  color: #0A0A0A;
}

.zs-subtable {
  border-collapse: collapse;
}

.zs-subtable tr td {
  padding: 0.2em 0.5em;
  border: solid 1px #252627;
}

.zs-rawpts {
  color: red;
}

.zs-warning {
  color: yellow;
  font-weight: bold;
}

/*********************/
/* ORGOVSKÉ ROZHRANÍ */
/*********************/
.os-disabled a, .os-submitted a, .os-partial a {
  color: #0A0A0A;
}

.os-disabled {
  background-color: #FC616C;
  color: #0A0A0A;
}

.os-submitted {
  background-color: #6DE95A;
  color: #0A0A0A;
}

.os-partial {
  background-color: #D6D979;
  color: #0A0A0A;
}

.os-test {
  color: #888;
  font-style: italic;
}

.os-hidden {
  color: #cc8;
  font-style: italic;
}

.os-missing {
  color: red;
}

.os-t-warn {
  color: red;
  font-weight: bold;
}

.os-t-ok {
  color: green;
  font-weight: bold;
}

.os-error {
  color: red;
}

.os-s-table TD {
  padding: 0.2ex;
}

.os-s-none {
  background-color: #FC616C;
  text-align: center;
  color: #0A0A0A;
}

.os-s-future {
  background-color: #D6D979;
  color: #0A0A0A;
}

.os-s-past {
  background-color: #6DE95A;
  color: #0A0A0A;
}

.os-s-warn {
  color: #c00;
  font-weight: bold;
}

.os-s-ok {
  color: #080;
  font-weight: bold;
}

/**************************/
/* KAROLINKA (MELOLONTHA) */
/**************************/
/*** Switcher ***/
.melolontha ul.switcher {
  padding: 0px;
  padding-left: 20px;
  width: 100%;
}

.melolontha ul.switcher li {
  position: relative;
  display: block;
  height: 100%;
  float: left;
  list-style: none outside none;
  padding: 5px 10px;
  border: 1px #444444 solid;
  margin: 0px 5px -1px !important;
  background-color: #111111;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  z-index: 5;
  cursor: pointer;
  color: #bbbbbb;
  text-align: center;
}

.melolontha ul.switcher li.active {
  border-bottom: 1px #0D0D0D solid;
  background-color: #0D0D0D;
  color: white;
}

.melolontha div.category_tab, .melolontha div.filter_tab {
  border: 1px #444444 solid;
  border-radius: 10px;
  width: 100%;
  padding: 5px;
  background-color: #0D0D0D;
}

.melolontha div.chosen_tab {
  border: 1px #444444 solid;
  border-radius: 10px;
  padding: 5px;
  background-color: #C77D1E;
}

.melolontha div.chosen_tab h2 {
  color: white;
}

.melolontha ul.switcher li span.points {
  font-size: 10px;
  color: #bbbbbb;
}

/*** Lecture ***/
.melolontha div.lecture, .melolontha details {
  border-top: solid transparent 5px;
  border-bottom: solid transparent 5px;
  background-color: #252726;
  border: 1px solid #252726;
  padding: 0.5em;
}

.melolontha details summary::-webkit-details-marker {
  display: none;
}

.melolontha details summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  outline: none;
}

.melolontha details:nth-child(odd), .melolontha div.lecture.odd {
  background-color: #0A0A0A;
}

.melolontha div.chosen_tab div.lecture, .melolontha div.chosen_tab details {
  border: 1px solid #0A0A0A;
}

.melolontha div.lecture .code, .melolontha details .code, .k-code {
  font-weight: bold;
  color: #E0E0E0;
  font-size: smaller;
}

.melolontha div.lecture .name, .melolontha details .name, .k-name {
  font-weight: bold;
  color: #5C93D3;
  cursor: pointer;
}

.melolontha div.lecture .difficulty, .melolontha details .difficulty, .k-diff {
  font-weight: bold;
  color: red;
}

.melolontha div.lecture .motto, .melolontha details .motto, .k-motto {
  font-family: sans-serif;
  font-size: small;
  padding: 0 0.5em;
}

.melolontha div.lecture .speaker, .melolontha details .speaker, .k-who {
  font-style: italic;
}

.melolontha div.lecture p.annot, .melolontha details p {
  margin: 0px;
}

.melolontha div.lecture .prereq, .melolontha details .prereq, .k-prereq {
  font-style: italic;
}

.melolontha div.lecture .ref, .melolontha details .ref, .k-ref {
  font-size: smaller;
}

/* Compatibility with old lectures lists */
.k-x0 {
  background-color: #252726;
  border: 1px solid #252726;
  padding: 0.5em;
}

.k-x1 {
  background-color: #0A0A0A;
  border: 1px solid #252726;
  padding: 0.5em;
}

/*** Voting form ***/
.melolontha div.lecture .voteform {
  float: right;
  font-size: 80%;
  padding: 3px 5px;
  margin: -8px -8px 0px 10px;
  border-left: 1px #0A0A0A solid;
  border-bottom: 1px #0A0A0A solid;
}

.melolontha div.lecture.odd .voteform {
  border-color: #252726;
}

.melolontha div.lecture .voteform p {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.melolontha div.lecture .voteform span.status {
  position: relative;
  top: -7px;
}

.melolontha div.lecture .voteform input.amount {
  width: 3em;
  font-size: 12px;
  padding: 0px;
  border: 1px #444444 solid;
  height: 20px;
  font-weight: bold;
  color: white;
  background-color: #555555;
}

.melolontha div.lecture .voteform input.changed {
  background-color: #C77D1E;
  border-color: orange;
}

.melolontha div.lecture .voteform input.error {
  background-color: #CF2C2C;
  border-color: red;
}

.melolontha div.error, .melolontha div.success {
  font-weight: normal;
  font-size: small;
  color: white;
  border: 1px red solid;
  background-color: #CF2C2C;
  padding: 10px;
  margin: 10px 0px;
}

.melolontha div.success {
  border: green;
  background-color: #32A838;
}

.melolontha div.statusbar {
  position: sticky;
  display: none;
  bottom: 0px;
  padding: 5px;
  border: 1px #dddddd solid;
  background-color: #202221;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: white;
  z-index: 10;
  text-align: center;
}

.melolontha span.show-all {
  cursor: pointer;
  border-bottom: 1px #dddddd dashed;
}

.melolontha div.statusbar span.points {
  float: right;
}

/*** Courses ***/
ol.course {
  list-style-type: decimal;
}

ol.course {
  font-size: larger;
  font-weight: bold;
}

ol.course .desc {
  font-size: smaller;
  font-weight: normal;
}

ol.course li.locked {
  color: gray;
}

.course-heading h1 {
  float: left;
}

.course-heading p.course-panel {
  float: right;
}

p.course-panel span {
  margin-right: 0.5em;
}

table.courses-results td, table.courses-results th {
  padding: 0.4em;
}

/*** end Courses ***/
/*tabswitcher*/
div.tabswitcher div.tab {
  clear: both;
  border: 1px #444444 solid;
  padding: 10px;
}
div.tabswitcher div.tab > h1:first-child,
div.tabswitcher div.tab > h2:first-child,
div.tabswitcher div.tab > h3:first-child,
div.tabswitcher div.tab > h4:first-child {
  margin-top: 0px;
  padding-top: 0px;
}

div.tabswitcher ul.switcher li, div.tabswitcher.purecss > label {
  display: block;
  height: 20px;
  float: left;
  list-style: none outside none;
  padding: 5px 10px;
  border: 1px #444444 solid;
  margin: 0px 0px -1px 10px !important;
  background-color: #111111;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

div.tabswitcher ul.switcher li.active, div.tabswitcher.purecss > input:checked + label {
  border-bottom: 1px #0A0A0A solid;
  background-color: #0A0A0A;
}

div.tabswitcher hr.switcher_bottom {
  clear: both;
  border-color: #444444;
}

/* Pure CSS version of the tabswitcher:
<div class="tabswitcher purecss">
	<input type="radio" id="tab1" checked><label for="tab1">...</label>
	<input type="radio" id="tab2"><label for="tab2">...</label>
	...
	<div class="tabs">
		<div class="tab"></div>
		<div class="tab"></div>
		....
	</div>
</div>
*/
div.tabswitcher.purecss > input {
  display: none;
}
div.tabswitcher.purecss > label:hover {
  background-color: #222222;
  cursor: pointer;
}
div.tabswitcher.purecss .tabs div.tab {
  display: none;
}
div.tabswitcher.purecss > input:nth-child(1):checked ~ .tabs > div.tab:nth-child(1), div.tabswitcher.purecss > input:nth-child(3):checked ~ .tabs > div.tab:nth-child(2), div.tabswitcher.purecss > input:nth-child(5):checked ~ .tabs > div.tab:nth-child(3), div.tabswitcher.purecss > input:nth-child(7):checked ~ .tabs > div.tab:nth-child(4), div.tabswitcher.purecss > input:nth-child(9):checked ~ .tabs > div.tab:nth-child(5), div.tabswitcher.purecss > input:nth-child(11):checked ~ .tabs > div.tab:nth-child(6), div.tabswitcher.purecss > input:nth-child(13):checked ~ .tabs > div.tab:nth-child(7), div.tabswitcher.purecss > input:nth-child(15):checked ~ .tabs > div.tab:nth-child(8), div.tabswitcher.purecss > input:nth-child(17):checked ~ .tabs > div.tab:nth-child(9), div.tabswitcher.purecss > input:nth-child(19):checked ~ .tabs > div.tab:nth-child(10) {
  display: block;
}

/*end tabswitcher*/
/*Videos*/
div.video_player video {
  margin-bottom: -6px;
}

div.video_player ul.quality_switcher {
  list-style-type: none !important;
  float: left;
  background-color: #151515;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
}

div.video_player ul.quality_switcher li {
  display: block;
  float: left;
  margin: 0px !important;
  padding: 0px;
  text-align: center;
  border-left: 1px black solid;
}

div.video_player ul.quality_switcher li:first-child {
  border-left: 0px;
}

div.video_player ul.quality_switcher li a {
  font-size: 12px;
  display: block;
  padding: 10px 9px;
  color: #777777;
  text-decoration: none;
}

div.video_player ul.quality_switcher li.active {
  background-color: #444444;
}

div.video_player ul.quality_switcher li.active a {
  color: white;
}

div.hidden_video {
  border: 1px solid #444444;
  background-color: #111111;
  padding: 10px;
  text-align: center;
}

/*end videos*/
/*Lecture recordings*/
.lecrec-table {
  width: 100%;
}

.lecrec-col-camp, .lecrec-col-speaker {
  text-align: left;
}

.lecrec-col-speaker {
  font-style: italic;
}

#content table.lecrec-detail-heading th {
  vertical-align: top;
  padding-bottom: 4px;
}

/*end lecture recordings*/
/*** Hippo::Form::HTML ***/
.f-table {
  border-collapse: collapse;
  border: 1px solid #252726;
  padding: 3px;
  empty-cells: show;
}

.f-table th {
  text-align: right;
  padding-right: 1em;
  border-left: 1px solid #252726;
}

.f-table td, .f-table th {
  padding-top: 0.5ex;
  padding-bottom: 0.5ex;
  border-top: 1px solid #252726;
  border-bottom: 1px solid #252726;
}

.f-table td + th {
  padding-left: 1em;
}

th.f-mand:after {
  content: "*";
  color: orange;
  margin-left: 1px;
}

.f-bad {
  color: red;
}

.f-err {
  color: magenta;
}

.f-full {
  text-align: center;
}

ul.f-radio {
  padding: 0px;
  margin: 0px;
}

.f-radio li {
  list-style-type: none;
}

.f-radio li input {
  margin-right: 0.5em;
}

/*** Changelog of cookbooks ***/
div.changelog {
  background-color: #0F0F0F;
  border: 1px solid #444444;
  padding: 8px;
}

div.changelog h3 {
  margin: 0px;
  padding: 0px;
}

div.changelog span.showbuttons {
  float: right;
  margin-top: 1px;
}

div.changelog div.topline {
  border-bottom: 1px dotted #777777;
}

div.changelog a {
  font-weight: bold;
}

div.changelog span.author {
  float: right;
  color: #777777;
}

div.changelog div.change {
  color: #777777;
}

div.changelog div.add {
  color: #40760D;
}

div.changelog div.remove {
  color: #BA0800;
}

div.changelog div.change span.type {
  font-family: monospace;
}

div.changelog div.change:hover, div.changelog div.topline:hover {
  background-color: #1F1F1F;
}

/*** KSP::Poll ***/
/* Most selectors include #poll, so that they are more specific than generic defaults for #content */
#poll .poll-question {
  margin-top: 2ex;
  margin-bottom: 2ex;
  text-align: left;
}

#poll .poll-question-buttons {
  margin-top: 3ex;
}

#poll ul.poll-checkboxes {
  padding: 0px;
  margin: 0px;
}

#poll .poll-checkboxes li {
  list-style-type: none;
}

#poll .poll-checkboxes li input {
  margin-right: 0.5em;
}

#poll .poll-bar, #poll .poll-smiley {
  padding: 0px;
  margin: 0px;
  display: inline;
}

#poll .poll-bar li {
  list-style-type: none;
  margin-left: 0em;
  margin-right: 0.5em;
  display: inline;
}

#poll .poll-smileys li {
  list-style-type: none;
  margin-left: 0em;
  margin-right: 1em;
  display: inline;
}

#poll:not(old) .poll-smileys li {
  margin-right: 0.5em;
}

#poll:not(old) .poll-smileys input {
  display: none;
}

#poll:not(old) .poll-smileys input + img {
  margin: 3px;
  padding: 3px;
}

#poll:not(old) .poll-smileys input:checked + img {
  margin: 0px;
  border: 3px solid white;
}

#poll:not(old) .poll-smileys input.f-def + img {
  margin-left: calc(1em + 3px);
}

#poll:not(old) .poll-smileys input.f-def:checked + img {
  margin-left: 1em;
}

#poll .smiley {
  vertical-align: middle;
  margin-top: 1ex;
  border-radius: 7px;
}

#poll .smiley.extra-good {
  background-color: #0F924677;
}

#poll .smiley.good {
  background-color: #7EBB4277;
}

#poll .smiley.neutral {
  background-color: #FECC0977;
}

#poll .smiley.bad {
  background-color: #EF482377;
}

#poll .smiley.extra-bad {
  background-color: #BD1F2777;
}

.poll-button {
  margin-top: 2ex;
  margin-right: 0.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

#poll textarea {
  resize: both;
  overflow: auto;
}

#poll-overview, #poll-submits, #poll-submit-stats {
  border-collapse: collapse;
}

#poll-submit-stats {
  margin-top: 2ex;
  margin-bottom: 2ex;
}

#poll-overview td, #poll-submits td, #poll-submit-stats td {
  border: 1px solid #252726;
  padding: 3px;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

#poll-overview .done, #poll-submits .done, #poll-submit-stats .done {
  color: green;
}

#poll-overview .partial, #poll-submits .partial, #poll-submit-stats .partial {
  color: yellow;
}

.poll-ref {
  font-size: small;
  color: gray;
}

/*******************************/
/* Side to side compare slider */
/*******************************/
div.side-to-side-compare {
  position: relative;
  margin: 0px auto 10px;
}
div.side-to-side-compare .side {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}
div.side-to-side-compare .side:last-of-type {
  border-right: 1px #2196F3 solid;
}
div.side-to-side-compare div.slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
}

/*# sourceMappingURL=ksp.css.map */
