/* CSS version 3 */
/* az to bude nekdo validovat, tak validator podivne mate 'border-radius' */

body
{
	margin: 0;
	background-color: Gray;
	/*background-image:url('images/par.png');*/
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAEAQMAAACTPww9AAAABlBMVEUhKy84ODurOy/WAAAADklEQVR4XmNIYJgAhAkAB4gB4dEuOXAAAAAASUVORK5CYII=');
	font-family: cambria, times, sans-serif;
	font-size: 16px;
	color: black;
}

.page
{
	width: 950px;
	margin-left: auto;
	margin-right: auto;
	background-color: White;
	/*background-image: url('images/bg.png');*/
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA7MAAAABAQMAAAA2OmvPAAAABlBMVEX///8DAwR7xPr9AAAAAXRSTlMAQObYZgAAABBJREFUeF5jwAuYfzDQCAAAV74A/AsjLKgAAAAASUVORK5CYII=');
	background-position: 2px 0;
	background-repeat: repeat-y;
	overflow: hidden;
	border-left: 1px solid Silver;
	border-right: 1px solid Silver;
	box-shadow: 0px 0px 10px Black;
}

a
{
	color: Black;
}

a:hover
{
	text-decoration: none;
}

p
{
	text-indent: 10px;
	margin: 0;
	padding: 0;
	text-align: justify;
	margin-bottom: 0.5em;
}

header
{
	/*background-image: url('images/header.png');*/
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA7MAAADIBAMAAADIPavDAAAAD1BMVEX///8DAwQDAwQDAwQDAwSVsdfkAAAABHRSTlMAQIDAY+6xoQAAAfBJREFUeNrt1L1RwzAYgOHPIQNQMAAFA1AwAJCMbSADUGQACgZwwQDhR0osFOHQcRc4nrfTRX/2c04Xv6ZuETGsQz/UzCtAK7RCK7RCK7RohVZohVZohRat0Aqt0Aqt0KIVWqEVWqEVWqFFK7RCK7RCK7RohVZohVZohRat0Aqt0Aqt0AotWqEVWqEVWqFFK7RCK7RCK7RohVZohVZohRat0Aqt0Aqt0AotWqEVWqEVWqFFK7RCK7RCK7RohVZoddzmy4in5zJKg80qTm7K+PUhusXn3D7i4jxPmN1uF51dll+G9XbR48veRmnC/PrgRu935aS8Uf/lRs3pecKut/v966WTmtPH6vXqoqvTMkqL0iBNqLPThHyv8f7Nsc3967G7xkV5Qj89Nj9gfZi0KE0YO/RWmof5/nqTXZvrTXYdfLX+kIVWaIVWaIUWrdAKrdAKrdCiFVqhFVqhFVq0Qiu0Qiu0Qiu0aIVWaIVWaIUWrdAKrdAKrdCiFVqhFVqhFVqhRSu0Qiu0Qiu0aIVWaIVWaIUWrdAKrdAKrdCiFVqhFVqhFVqhRSu0Qiu0Qiu0aIVWaIVWaIUWrdAKrdAKrdAKLVqhFVqhFVqhRSu0Qiu0Qiu0aIVWf6DuSOcuIzYrr99XK7RCi1ZohVZohVZo/1kfUg5ZwYXUVEAAAAAASUVORK5CYII=');
	background-color: White;
	width: 947px;
	height: 200px;
	margin-left: 2px;
}

nav
{
	float: left;
	width: 200px;
	padding-left: 15px;
	padding-bottom: 10px;
	padding-top: 10px;
}

article
{
	float: right;
	width: 670px;
	padding-bottom: 10px;
	padding-right: 15px;
	min-height: 400px;
}

main
{
	float: right;
	width: 700px;
	min-height: 100px;
	border-left: 1px solid Silver;
	border-right: 1px solid Silver;
	background-color: White;
}

nav ul
{
	padding: 0;
	margin: 0;
}

nav ul li
{
	/*list-style: square inside url("images/list.png");*/
	list-style: square inside url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAFElEQVR4XmOAAPsDIGSAQFARMAAAiToHvT71zfUAAAAASUVORK5CYII=');
}

header span:nth-of-type(1)
{
	position: absolute;
	margin-left: 120px;
	font-size: 75px;
}

header span:nth-of-type(2)
{
	position: absolute;
	margin-left: 300px;
	font-size: 75px;
}

header span:nth-of-type(3)
{
	display: none;
}

header span:nth-of-type(4)
{
	position: absolute;
	margin-left: 600px;
	margin-top: 45px;
	font-size: 30px;
}

nav ul li a
{
	text-decoration: none;
}

nav ul li a:hover
{
	text-decoration: underline;
}

h1
{
	padding: 0;
	margin: 0;
	font-size: 200%;
	font-weight: normal;
}

h2
{
	padding: 0;
	margin: 0;
	font-size: 175%;
	font-weight: normal;
	margin-top: 10px;
}

footer
{
	margin-right: 15px;
	margin-top: 20px;
	width: 680px;
	float: right;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 80%;
	text-align: center;
	border-top: 2px solid Black;
}

form label
{
	cursor: pointer;
}

fieldset
{
	border: 1px solid Silver;
	float: left;
	margin: 5px;
	width: 420px;
}

fieldset.full
{
	width: 605px;
}

fieldset:hover
{
	border: 1px solid #737373;
}

#qrgen fieldset:first-of-type
{
	width: 150px;
}

textarea
{
	display: block;
	width: 400px;
	height: 200px;
	border: 1px solid Silver;
	overflow: auto;
}

textarea:hover
{
	border: 1px solid #2291FF;
}

#fqrurl, #fqrvcard, #fqrsms, #fqrcall, #fqrgeo, #fqrevent, #fqremail, #fqrwifi
{
	display: none;
}

fieldset table tr td:first-of-type:after
{
	content: ": ";
}

fieldset#control
{
	width: 605px;
}

fieldset#preview
{
	display: none;
	width: 605px;
	overflow: hidden;
	max-height: 500px;
}

#preview_canvas
{
	max-width: 600px;
	max-height: 320px;
}

fieldset#result
{
	display: none;
	width: 605px;
}

fieldset#error
{
	display: none;
	width: 605px;
	color: Red;
}

fieldset#error a
{
	color: Red;
}

fieldset#error legend
{
	color: Maroon;
}

.btn
{
	border: 1px solid Silver;
	color: Black;
	cursor: pointer;
	background-color: #D6D6D6;
	padding: 5px;
	font-weight: bold;
	text-decoration: none;
	font-size: 14px;
	font-family: cambria, times, sans-serif;
}

.btn:hover
{
	border: 1px solid #2291FF;
}

.btn_disabled
{
	border: 1px solid Silver;
	color: Black;
	cursor: default;
	background-color: #D6D6D6;
	padding: 5px;
	font-weight: bold;
	text-decoration: none;
	font-size: 14px;
	font-family: cambria, times, sans-serif;
	color: #7F7F7F;
}

fieldset input
{
	border: 1px solid Silver;
}

fieldset input:hover
{
	border: 1px solid #2291FF;
}

#fqrsms textarea, #fqremail textarea
{
	width: 300px;
}

#bccanvas
{
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 10px solid White;
}

article img
{
	max-width: 600px;
	max-height: 400px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	height: auto;
}

.atable
{
	border-collapse: collapse;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 300px;
	margin-top: 10px;
}

.atable thead td
{
	color: White;
	background-color: Black;
}

.atable td
{
	border: 1px solid Black;
	padding: 3px;
}

#viewer
{
	position: relative;
	width: 320px;
	height: 240px;
	background-image: url('images/camera.png');
	
	margin-left: 150px;
	
}

#viewer video
{
	position: absolute;
	top: 0;
	left: 0;
	width: 320px;
	height: 240px;
}
viewer#inner
{
	position: absolute;
	margin: 0 auto;
	top: 0; left: 0;
	width: 260px;
	height: 180px;
	border: 30px solid rgba(64,64,64, 0.5);
	zindex: 10;
}

div#redline
{
	position: absolute;
	top: 120px;
	width: 320px;
	height: 2px;
	background-color: rgba(255, 0, 0, 0.3);
	zindex: 11;
}

article dt:after
{
	content: ':';
}

/* tohle opravuje IE bug s list-style-type: decimal, po kterem neslo klikat na menu */
article ol li
{
	list-style: none inside;
}
article ol li:nth-of-type(1):before
{
	content: '1: ';
}
article ol li:nth-of-type(2):before
{
	content: '2: ';
}
article ol li:nth-of-type(3):before
{
	content: '3: ';
}
article ol li:nth-of-type(4):before
{
	content: '4: ';
}
article ol li:nth-of-type(5):before
{
	content: '5: ';
}
