
/* reset */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
	list-style-position: inside;
	line-height:1.2;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


p {
	text-align: justify;
}



/*Variables*/
:root{
--text-color:#a0adaf;

           --primary-color: #DA3100;

           --secondary-color: #F07818;

           --bg-color: #2d2d2d;

           --deep-bg-color: #181818;

           color:var(--text-color);

	--menu-color: black;
	--max-width: 1400px;
	--mobile-base-font-size:14px;
	--tablet-base-font-size:16px;
	--desktop-base-font-size:16px;
	/* mobile 400 px tablet 900 px desktop */
	--tufte-width:80%;
}

/*Fonts*/
/* Google webfonts helper: https://google-webfonts-helper.herokuapp.com/fonts/open-sans?subsets=latin */
/* open-sans-regular - latin */
@font-face {
  font-display:swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
  font-display:swap;
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v18-latin-italic.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Italic'), local('OpenSans-Italic'),
       url('../fonts/open-sans-v18-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v18-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v18-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v18-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v18-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-display:swap;
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('../fonts/open-sans-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v18-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}


@font-face {
	font-display:swap;
	font-family:"Unicephalon";
	src:url("/fonts/unicephalon.ttf") format("truetype");
}
@font-face {
	font-display:swap;
	font-family:"CMUbold";
	src:url("/fonts/CMUbold.ttf") format("truetype");
}
.unicephalon {
	font-family:Unicephalon;
}
.CMUbold {
	font-family:CMUbold;
}

/*
@font-face{
	font-family:"Dignity of Labour W05 Regular";
	src:url("/fonts/5100574/39457303-dd8c-4eb5-abf6-556e02a52193.eot?#iefix");
	src:url("/fonts/5100574/39457303-dd8c-4eb5-abf6-556e02a52193.eot?#iefix") format("eot"),url("/fonts/5100574/895bcbe5-dfe9-4f5b-b609-7b8c9084240c.woff2") format("woff2"),url("/fonts/5100574/8e2b3f2f-cb26-4751-b42d-9b7e4ca9fc23.woff") format("woff"),url("/fonts/5100574/cf9107ab-5148-4534-8a54-91e19d4d65f4.ttf") format("truetype");
}
*/

/*************************************************/
/*************** START ***************************/
/*************************************************/

/* Common */

body {
	font-family: 'Open Sans',sans-serif;
}

a {
	color: var(--secondary-color);
}
a:visited {
	color: var(--primary-color);
}
.dropdown-content a:visited {
	color: var(--menu-color);
}

.footerlink {
	color: var(--text-color);
}
.footerlink:visited {
	color: var(--text-color);
}
.velkylink {
	text-decoration:none;
	color: var(--primary-color);
}
.velkylink:visited {
	text-decoration:none;
	color: var(--primary-color);
}

p {
	line-height: 1.3em;
	font-size:var(--desktop-base-font-size);
	max-width:var(--max-width);
}


/* Základní rozvržení */
div.hornobal{
	width: 100%;
	list-style-type: none;
	top: 20px;
	padding: 0px;
}
div.vnepapiru{
	background-color:transparent;
}
div.papir {
	margin:0 auto;
	overflow:auto;
	background-color:var(--bg-color);
	height:auto;
	min-height:500px;
	padding-left: 45px;
	padding-right: 45px;
	padding-bottom: 90px;
	padding-top: 5px;
	border-style: none;
		border-top-style: none;
	border-bottom-style: none;
	border-width: 0.5px;
	border-color: grey;
}


/* Footer */
footer{
	background-color: var(--primary-color);
	color:var(--menu-color);
	width:95%;
	margin:auto;
	padding: 4px;
	height: 1.2em;
	text-align:center;
}
.footerleft{
	display:inline-block;
	float:left;
}
.footercenter{
	display:inline-block;
	float:center;
}
.footerright{
	display:inline-block;
	float:right;
}

/* Menu */
ul.navbar {
	width: 95%;
	left:3.5%;
	list-style-type: none;
	top: 20px;
	padding: 0px;
	overflow: hidden; /* Enable scrolling if the sidenav has too much content */
	background-color: var(--primary-color);
	margin:auto;
}
li.dropdown{
	font-size: 24px;
	padding-top:15px;
	display: inline-block;
	height:45px;
	min-width:110px;
}
li.dropdown:last-child {
  float: right;
  border-right: none;
}
li.dropdown:hover {
	/*  background: radial-gradient(#FF8F00 , var(--secondary-color));*/
	background-color: var(--secondary-color);
}
.dropdown-div:hover {
	/*  background: radial-gradient(#FF8F00 , var(--secondary-color));*/
	background-color: var(--secondary-color);
	box-shadow: 0.5em 0.5em 0px 0px var(--secondary-color),-0.5em -0.5em 0px 0px var(--secondary-color),-0.5em 0.5em 0px 0px var(--secondary-color),0.5em -0.5em 0px 0px var(--secondary-color);
}
.dropdown.active {
	background-color: var(--secondary-color);
}
li.dropdown a {
	color: var(--menu-color);
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}
.dropdown-div{
	text-align: left;
}
.dropdown-link{
	font-size:18px;
	color: var(--menu-color);
	text-decoration: none;
	vertical-align: middle;
	line-height: 2.5;
}
.dropdown:hover + .dropdown-content {
	display: block;
}
.dropdown-content:hover{
	display: block;
}
.dropdown-content {
	display: none;
	background-color: var(--primary-color);
	color: var(--menu-color);
	position: absolute;
	box-shadow: 0px 16px 16px 0px rgba(0,0,0,0.2);
	padding:0.5em;
	z-index: 1;
	min-width:110px;
}


/* Titulní obrázek */
.obr{
	width:100%;
	height:400px;
}
.titul{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	color:var(--text-color);
	text-shadow: -1.5px 0 var(--primary-color), 0 1.5px var(--primary-color), 1.5px 0 var(--primary-color), 0 -1.5px var(--primary-color);
	font-size:5em;
	text-align:center;
	font-weight:bold;
	max-width:none;

	height:100%;
	backdrop-filter:brightness(0.5);
	display:flex;
	align-items:center;
	justify-content:center;
}
.titulb{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	color:white;
	text-shadow: -1.5px 0 var(--primary-color), 0 1.5px var(--primary-color), 1.5px 0 var(--primary-color), 0 -1.5px var(--primary-color);
	font-size:5em;
	text-align:center;
	font-weight:bold;
	max-width:none;

	height:100%;
	backdrop-filter:brightness(0.5);
	display:flex;
	align-items:center;
	justify-content:center;
}
.titulu{
	position: relative;
	font-family:Unicephalon;
	top: 50%;
	transform: translateY(-50%);
	color:var(--text-color);
	text-shadow: -1.5px 0 var(--primary-color), 0 1.5px var(--primary-color), 1.5px 0 var(--primary-color), 0 -1.5px var(--primary-color);
	font-size:5em;
	text-align:center;
	font-weight:bold;
	max-width:none;

	height:100%;
	backdrop-filter:brightness(0.5);
	display:flex;
	align-items:center;
	justify-content:center;
}
.titulcm{
	position: relative;
	font-family:CMUbold;
	top: 50%;
	transform: translateY(-50%);
	color:var(--text-color);
	text-shadow: -1.5px 0 var(--primary-color), 0 1.5px var(--primary-color), 1.5px 0 var(--primary-color), 0 -1.5px var(--primary-color);
	font-size:5em;
	text-align:center;
	font-weight:bold;
	max-width:none;

	height:100%;
	backdrop-filter:brightness(0.5);
	display:flex;
	align-items:center;
	justify-content:center;
}

/* Errory */
.errorh{
	position: relative;
	font-size:5em;
}
.errorhb{
	position: relative;
	color:white;
	font-size:5em;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.errorp{
	font-size:2em;
}
.errorpb{
	color:white;
	font-size:2em;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.errordiv {
	margin:0 100px 0 100px;
	overflow:auto;
	background-color:white;
	height:auto;
	min-height:500px;
	padding-left: 45px;
	padding-right: 45px;
	padding-bottom: 45px;
	padding-top: 5px;
}

/* Bloky kódu */
pre, code {
	font-family: monospace, monospace;
}
pre {
	overflow: hidden;
}
pre > code {
	display: block;
	padding: 0.5em;
	word-wrap: normal;
	box-sizing:content-box;
}

/* Seznamy */
ul, ol {
	display: block;
	list-style: disc outside none;
	margin: 1em 0;
	padding: 0 0 0 40px;
}
ol {
	list-style-type: decimal;
}
ul ul, ol ul {
	list-style-type: circle;
	margin-left: 15px;
}
ol ol, ul ol {
	list-style-type: lower-latin;
	margin-left: 15px;
}

/*****************/
/* Desktop START */
/*****************/
@media only screen and (min-width: 901px) {

.tabletonly {
	display:none;
}
.mobileonly {
	display:none;
}
.desktoponly {
}

body {
	font-size:var(--desktop-base-font-size);
}


h1 {
	font-size: 5em;
	margin: 0.8em 0 0.5em 0;

}

h2 {
	font-size: 2em;
	margin: 0.8em 0 0.5em 0;
}

h3 {
	font-size: 1.5em;
	margin: 0.8em 0 0.5em 0;
}

h4 {
	font-size: 1.17em;
	margin: 0.8em 0 0.5em 0;
}
h5 {
	font-size: 1.12em;
	margin: 0.8em 0 0.5em 0;
}
h6 {
	font-size: 0.83em;
	margin: 0.8em 0 0.5em 0;
}


/* Základní rozvržení */
div.vnepapiru{
	margin-left:100px;
	margin-right:100px;
}


/* Tufte */
.ptufte {
	width:var(--tufte-width);
}
.divtufte {
	width:19.5%;
	float:right;
	margin-left:1em;
}
.imgtufte {
	width:var(--tufte-width);
	text-align:center;
}



}
/*Desktop END*/


/* Tablet START */
@media only screen and (min-width: 501px) and (max-width: 901px) {

.tabletonly {
}
.mobileonly {
	display:none;
}
.desktoponly {
	display:none;
}

body {
	font-size:var(--tablet-base-font-size);
}


h1 {
	font-size: 5em;
	line-height: 40px;
	margin: 0.8em 0 0.5em 0;

}

h2 {
	font-size: 2em;
	line-height: 40px;
	margin: 0.8em 0 0.5em 0;
}

h3 {
	font-size: 1.5em;
	line-height: 40px;
	margin: 0.8em 0 0.5em 0;
}

h4 {
	font-size: 1.17em;
	line-height: 20px;
	margin: 0.8em 0 0.5em 0;
}
h5 {
	font-size: 1.12em;
	line-height: 20px;
	margin: 0.8em 0 0.5em 0;
}
h6 {
	font-size: 0.83em;
	line-height: 20px;
	margin: 0.8em 0 0.5em 0;
}


/* Základní rozvržení */
div.vnepapiru{
	margin-left:20px;
	margin-right:20px;
}

/* Tufte */
.ptufte {
}
.divtufte {
	width:19.5%;
	float:right;
	margin-left:1em;
}
.imgtufte {
	width:var(--tufte-width);
	text-align:center;
}


/* Errory */
.errordiv {
	margin:0 20px 0 20px;
}


}
/*Tablet END*/




/*Mobile START*/
@media only screen and (max-width: 501px) {
.tabletonly{
	display:none;
}
.mobileonly {
}
.desktoponly {
	display:none;
}


body {
	font-size:var(--mobile-font-size);
}


h1 {
	font-size: 3em;
	line-height: 40px;
	margin: 0.8em 0 0.5em 0;

}

h2 {
	font-size: 2em;
	line-height: 40px;
	margin: 0.8em 0 0.5em 0;
}

h3 {
	font-size: 1.5em;
	line-height: 40px;
	margin: 0.8em 0 0.5em 0;
}

h4 {
	font-size: 1.17em;
	line-height: 20px;
	margin: 0.8em 0 0.5em 0;
}
h5 {
	font-size: 1.12em;
	line-height: 20px;
	margin: 0.8em 0 0.5em 0;
}
h6 {
	font-size: 0.83em;
	line-height: 20px;
	margin: 0.8em 0 0.5em 0;
}

/*
p:last-of-type {
	margin-bottom: 50px;
}
*/

/*
div{
font-family: Unicephalon;
}
*/

/* Základní rozvržení */
div.vnepapiru{
	margin-left:5px;
	margin-right:5px;
}
div.papir {
	padding-left: 15px;
	padding-right: 15px;
}

/* Footer */
footer{
	height:90px;
	color:var(--menu-color);
}
.footerleft{
	width:100%;
	height:30px;
}
.footercenter{
	float:center;
	height:30px;
}
.footerright{
	width:100%;
	float:center;
	height:30px;
}



/* Menu */
li.dropdown{
	font-size: 30px;
	padding-left: 1px;
	padding-right: 1px;
	padding-top: 1px;
	padding-bottom: 11px;
	display: inline-block;
	height: 30px;
	min-width:0px;
	float: left;
}
/*Desktoponly menus*/
.desktoponly:hover{
	display: none;
}
.dropdown:hover + .desktoponly {
	display: none;
}

/* Tufte */
.ptufte {
}
.divtufte {
	border-top:solid;
	border-bottom:solid;
}
.imgtufte {
	text-align:center;
}

/* Titulní obrázek */
.obr{
	height:200px;
}
.titul{
	font-size:3em;
}
.titulb{
	font-size:3em;
}
.titulu{
	font-size:3em;
}
.titulcm{
	font-size:3em;
}

/* Errory */
.errorh{
	font-size:3em;
}
.errorhb{
	font-size:3em;
}
.errorp{
	font-size:var(--mobile-base-font-size);
}
.errorpb{
	font-size:var(--mobile-base-font-size);
}
.errordiv {
	margin:0 5px 0 5px;
}


/* Bloky kódu */
pre > code {
	padding: 1em;
}


}
/*Mobile END*/


