*{
margin:0px;
padding:0px;
font-family:'Lucida Sans Unicode';
font-size:13px;
}

body{
text-align:center;
background-color: #c1c1c1;
background: linear-gradient(#c1c1c1, linen) fixed;
}

#page{
position:relative;
margin:auto;
text-align:left;
width:calc(885px + 100px);
padding:25px;
background:white;
box-sizing: border-box;
min-width: calc(320px + 50px);
}

#head {
position:relative;
display:block;
height:120px;
background:url('img/h-optimised.jpg') no-repeat left top;
background-size:cover;
margin-top:10px;
border-radius:10px;
}

#logo {
position:relative;
text-decoration:none;
color:black;
font-size:2em;
}

#main, #menu{
position:relative;
padding-top:25px;
padding-bottom:25px;
}

#main{
width:600px;
float:right;
}

#menu{
width:calc(250px + 50px);
float:left;
}

#side{
position:absolute;
top:0px;
right:-165px;
}

#foot{
text-align:center;
margin-top:15px;
border-top:1px solid #f4f4f4;
padding-top:15px;
}

.cols3 {
column-count:3;
column-gap:10px;
/* mozilla */
-moz-column-count:3;
-moz-column-gap:10px;
/* webkit */
-webkit-column-count:3;
-webkit-column-gap:10px;
list-style-position:inside;
list-style-type:decimal;
}

/* MENU */

#menu ul {
list-style-type:none;
padding:8px;
background: #cc4343; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NjNDM0MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiMjAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #cc4343 0%, #b20000 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc4343), color-stop(100%,#b20000)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #cc4343 0%,#b20000 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #cc4343 0%,#b20000 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #cc4343 0%,#b20000 100%); /* IE10+ */
background: linear-gradient(to bottom,  #cc4343 0%,#b20000 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc4343', endColorstr='#b20000',GradientType=0 ); /* IE6-8 */
border-radius:5px;
}

#menu ul li {
border-bottom:1px solid #B20000;
}

#menu ul li a {
position:relative;
display:block;
padding:8px 12px;
color:white;
text-decoration:none;
border-radius:5px;
}

#menu ul li a:hover {
background:#ffefef;
color:#B20000;
}

/* TABLE */

table {
width:100%;
border-collapse:collapse;
color:grey;
}

#page table th:first-child {
border-top-left-radius:5px;
}

#page table th:last-child {
border-top-right-radius:5px;
}

th {
color:white;
background:#cd373b;
text-transform:uppercase;
}

td, th {
padding:4px 10px;
}

tr {
border-bottom:1px solid #ffe0e0;
}

tr:nth-child(odd){
background:#fff4f4;
}

td a, td:nth-child(2) {
font-size:1.2em;
text-transform:uppercase;
text-decoration:none;
}

td:nth-child(2) {
color:#591212;
}

td a:hover {
text-decoration:underline;
}

td:last-child, th:last-child {
text-align:right;
}

td:nth-child(1), td:nth-child(2) {
	word-break: break-all;
}

/* FORM */

#page > form {
position:absolute;
top:35px;
right:30px;
}

#page > form input[type=text] {
width:250px;
}

#page > form input {
padding:3px 6px;
}

/* THANKS TO */

#podekovani {
font-style:italic;
padding:8px;
border-radius:5px;
background: #f4f4f4;
color:#757575;
}

/* GLOBAL */

h1, h2, h3 {
font-size:1.8em;
font-weight:normal;
margin-bottom:12px;
}

h2, h3 {
	margin-top:18px;
}

a {
color:#dd454a;
}

a:hover {
text-decoration:none;
}

p {
text-indent:35px;
}

.cl{
clear:both;
}

.motto {
font-size:1.2em;
}

.motto:before {
content:open-quote;
}

.motto:after {
content:close-quote;
}

@media screen and (max-width: 865px) {
	#page, #main, #menu {
		width: 100%;
	}

	#main, #menu {
		float: initial;
	}
}

@media screen and (max-width: 680px) {
	#page > form {
		position: relative;
		width: 100%;
		top: auto;
		right: auto;
		margin: 1.5em 0;

		> input[type=text] {
			width: calc(100% - 90px);
		}

	}
}

@media screen and (max-width: 680px) {
	#page .cols3 {
		column-count: 2;
    	-moz-column-count: 2;
   		-webkit-column-count: 2;
	}
}

@media screen and (max-width: 500px) {
	#page table th:last-child, #page table td:last-child {
		display:none;
	}
}