/* vim: set sts=4 sw=4 ai */

body {
    background-color: white;
    color: black;
    font-family: Verdana, "Dejavu Sans", "Bitstream Vera Sans", sans-serif;
    line-height: 1.33333;
    background-repeat: no-repeat;
}
code, kbd, samp {
    font-family: lucida console, lucida sans typewriter, lucidatypewriter,
		 luxi mono, luximono, monospace;
    font-size: 90%;
}
.hd {
    font-weight: bold;
}

a:link, a:visited {
    text-decoration: none;
  /*border-bottom: solid 1px #f8f8d0;
    border-bottom: solid 1px #a5cee4;*/
    border-bottom: solid 1px #e0e01a;
}
a:link {
    color: #1870a0;
}
a:visited {
    color: #003b5b;
}
a:link:hover, a:link:active, a:link:focus,
a:visited:hover, a:visited:active, a:visited:focus {
    background-color: #f8f8d0;
}
a:link:hover, a:link:active, a:link:focus {
    border-bottom: solid 1px #1870a0;
}
a:visited:hover, a:visited:active, a:visited:focus {
    border-bottom: solid 1px #003b5b;
}
a:link:active, a:visited:active {
    background-color: #f8f8d0;
    color: red;
}
a.nonexistent {
    color: #808080;
    border-bottom: dashed 1px #f0f0f0;
}
a.nonexistent:link:hover, a.nonexistent:link:active, a.nonexistent:link:focus,
a.nonexistent:visited:hover, a.nonexistent:visited:active, a.nonexistent:visited:focus {
    background-color: #f0f0f0;
    border-bottom: dashed 1px #000000;
}
a[name]:hover {
    background-color: inherit !important;
    text-decoration: inherit !important;
    border-bottom: none !important;
}
.updated {
    color: red;
}
.controller {
    display: block;
    height: 7px;
    width: 100%;
    color: black;
    background-color: #d0f0ff;
    border: 1px outset #d0f0ff;
}
:active.controller {
    background-color: #d0f0ff;
    color: black;
    border: 1px inset #d0f0ff;
}
.contracted .controller {
    display: block;
    height: 7px;
    width: 100%;
    color: black;
    background-color: #3080b0;
    border: 1px outset #3080b0;
}
.contracted :active.controller {
    color: inherit;
    background-color: #3080b0;
    border: 1px inset #3080b0;
}
.controller + h1, .controller + h2 {
    cursor: pointer;
}
.controller + h1::after, .controller + h2::after {
    display: inline-block;
    margin-left: .25em;
    vertical-align: baseline;
    content: '';
    width: 0ex;
    height: 0ex;
    border-left: solid transparent 0.5ex;
    border-right: solid transparent 0.5ex;
    border-bottom: solid #3080b0 0;
    border-top: solid #3080b0 0;
}
.contracted .controller + h1::after, .contracted .controller + h2::after {
    border-top-width: 1ex;
}
.expanded .controller + h1::after, .expanded .controller + h2::after {
    border-bottom-width: 1ex;
}
.contracted h1 {
    font-size: 144% !important;
}
.contracted h2 {
    font-size: 120% !important;
}
.contracted div {
    display: none !important;
}
.expanded div {
    display: block;
}
p {
    margin-top: 2ex; margin-bottom: 2ex;
}
div.block {
    margin-top: 1ex; margin-bottom: 1ex;
}
div.block p,li p {
    margin-top: 1ex; margin-bottom: 1ex;
}
.highlighted {
    background-color: #d0f0ff;
}

@media print {
    .contracted {
	display: none !important;
    }
    .controller {
	display: none !important;
    }
    img {
	display: none;
    }
}
.cl {
    font-style: italic;
}
#location {
    font-size: 83%;
    margin: 0em;
    color: black;
    background: #d0f0ff;
}
#location a, #linkbar a {
    border: none;
}
#location a:hover, #location a:active, #location a:focus {
    background-color: inherit; !important
}
#linkbar { /* Gimme my (l|dr)ink! ;-) */
    font-size: 83%;
    margin: 0em;
    color: black;
    background: #f8f8d0;
    border-collapse: collapse;
    border: 0pt;
}
#linkbar td { padding: 0pt; }
#linkbar td.links { text-align: left; }
#linkbar td.lang { text-align: right; }
.note,#toc {
    color: inherit;
    font-size: 83%;
}
#main {
    margin-left: 11.5em;
    padding-left: 1.44em;
    padding-top: 1px;
    max-width: 44em;
    border-left: 1px solid #f0f0f0;
}
#toc {
    position: absolute;
    position: fixed;
    width: 13em;
    height:100%;
    left: 0.66667em;
    padding-right: 0.6667em;
}
#toc h2, #toc h3 {
    font-size: 1em;
    margin: 1.2em 0;
    padding: 0;
    border: none;
}
#toc p, ul#toc li {
    margin: 1.2em 0;
}
#toc hr {
    border-style: solid;
    border-color: #f0f0f0;
    border-width: 1px 0px 0px 0px;
    margin: 1.2em -0.6667em 1.2em 0;
}
ul#toc {
    margin: 0;
    padding: 0 0.6667em 0 0;
}
ul#toc li {
    display: block;
    padding: 0;
}
.note {
    padding: 0.167em;
    background: #f8f8d0;
    font-style: italic;
    margin: 1em;
    padding: 0.167em;
    border-color: #f0f0f0;
    border-style: solid;
    border-width: 0pt 0 0.167em;
}
.note em {
    font-style: normal;
}
.note a:link:hover, .note a:visited:hover {
    background-color: #f0f093;
}	
/*
.note:before {
    content: "Note: ";
    font-style: normal;
    font-weight: bold;
}
*/

th,td { padding-left: 0.167em; padding-right: 0.167em; }
th {
    background: #d0f0ff;
    font-weight: bold;
}
th.top	{ text-align: center; }
th.left	{ text-align: left; }

td	    { text-align: center; }
.oddrow td  { background: #f8f8f8; }
.evenrow td { background: #f0f0f0; }
.odd  { background: #f8f8f8; }
.even { background: #f0f0f0; }
.irr,.max,.comment	    { font-size: 83%; }
.total			    { font-weight: bold; }
/*table.vysledky { border-collapse:collapse; }*/
table.vysledky td.irr { border-left: 2px; border-right:2px}
table.vysledky td { vertical-align: baseline; }
table.vysledky td { text-align: right; }
table.vysledky td.hd { text-align: left; }
table td.l { text-align: left; }
table .r { text-align: right; }
table .hdr { font-weight: bold; text-align: right; }
td.score { text-align: right; }
td.score.max { text-align: left; }
td.score.total { text-align: right; }
.replaced { text-decoration: line-through; }
td.date { min-width: 6em; }
.exercises th, .exercises td { height: 2em; }
th, td { height: 1.5em; }

.news .hd   { font-size: 83%; color: #1870a0; }
.old	    { color: #404040; font-size: 83%; }
.older	    { color: #a0a0a0; font-size: 69%; }
.veryold    { display: none; color: #d0d0d0; font-size: 69%; }
.old a[href]	{ color: #3582ac; }
.older a[href]	{ color: #5294b8; }
.veryold a[href]{ color: #8cb8d0; }
.old .hd	{ color: #3582ac; }
.older .hd	{ color: #5294b8; }
.veryold .hd	{ color: #8cb8d0; }

.news p,.news ol,.news ul {
    margin-top: 0.83333ex;
    margin-bottom: 0.83333ex;
}
.news {
    margin-top: 2ex;
    margin-bottom: 2ex;
}


label:hover { color: #1870a0; }

h1, h2, h3 {
    font-style: normal;
    font-weight: normal;
    margin: 0.6em 0 0.6em;
}
h1 {
    font-size: 250%;
    letter-spacing: -0.015em;
    word-spacing: -0.05em;
    position: relative;
}
h2 {
    font-size: 200%;
    /* width: 62.8%; */
    letter-spacing: -0.0125em;
    word-spacing: -0.05em;
}
h3 {
    /* font-family: Verdana, sans-serif;*/
    font-size: 150%;
    /* width: 38.2%; */
    letter-spacing: -0.01em;
    word-spacing: -0.025em;
}
h1.has-toc {
    margin-bottom: 0em;
    padding-bottom: 0.6em;
    border-bottom: 1px solid #f0f0f0;
}
h2,h3 {
    /*border-bottom: 0.069em solid #e2dca2*/;
    /*border-bottom: 2px solid #f8f8d0;
    padding-bottom: 0.167em;*/
    margin-top: 1.2em;
}
h2:first-child {
    margin-top: 0.6em;
}
h2 + h3 {
    margin-top: 0.6em;
}
h1 span.courseid {
    font-size: 60%;
    display: block;
    color: #808080;
    margin-bottom: 0.1em;
    letter-spacing: -0.015em;
}

dt {
    font-weight: bold;
    font-family: inherit;
    font-style: normal;
    margin: 1.2em 0 0 0;
}
dd {
    margin-left: 2.4em;
}
dd ul {
    margin: 0;
}
dd ul li {
    list-style-type: circle;
    margin: 0;
    padding: 0;
}
dd dl {
    margin: 0;
}
dd dl dt {
    /*display: list-item;
    list-style-type: circle;*/
    font-weight: normal;
    font-style: normal;
    margin: 0.6em 0 0 0em;
}
dd dl dd {
    /*display: list-item;
    list-style-type: none;*/
}
dd dl dd p {
    margin: 0.0em 0 0.6em 0;
}
a[name] {
    position: relative;
}
a:target::before {
    content: '‣';
    position: absolute;
    color: #1870a0;
    left: -.75em;
}
a img {
    border: none;
}

dl.news {
    margin: 0;
    padding: 0;
    position: relative;
}
dl.news dt {
    float: left;
    clear: left;
    margin: 0;
    padding: 0;
    text-align: right;
    font-weight: bold;
    width: 3.2em;
}
dl.news dt.old {
    width: 3.855422em;
}
dl.news dt.older, dl.news dt.veryold {
    width: 4.637681em;
}
dl.news dd {
    margin: 1.2em 0 1.2em 3.7em;
}
dl.news dd.old {
    margin: 1.44578em 0 1.44578em 4.45783em;
}
dl.news dd.older, dl.news dd.veryold {
    margin: 1.73913em 0 1.73913em 5.36231884em;
}
dl.news dd:after {
    content: ' ';
    display: block;
    height: 0;
    clear: left;
}
dl.news dl {
    display: block;
    margin: 0.6em 0;
    overflow: hidden;
}
dl.news dl dt {
    display: block;
    float: left;
    width: auto;
    margin: 0 0.5em 0 0;
    font-style: italic;
    font-weight: normal;
}
dl.news dl dd {
    display: block;
    margin: 0
}
td.date {
    text-align: right;
}

.eval dt {
	margin: 0.6em 0 0;
	padding: 0
}

