/* Sets element margins, padding, and border to 0 to even out browser differences when adding desired values later. */
html, body, div, p, h1, h2, h3, h4, h5, h6, blockquote, ol, ul, li, dl, dt, dd, td, form, fieldset, a, img, address {
     margin: 0;
     padding: 0;
     border: 0;     
}

h1, h2, h3, h4, h5, h6 {color:#444444;}

/*Typographics styles adapted from http://www.thenoodleincident.com/tutorials/typography/ */
h1 {
	margin-top:1em;
	font-size: 1.4em;
	font-weight: bold;
}
h2 {
	margin-top:1em;
	font-size: 1.3em;
	font-weight: bold;
}
h3 {
	margin: 0.5em 0;
	font-size: 1.1em;
	font-weight: normal;
}
h4 {
	margin: 0.5em 0;
	font-size: 1.0em;
	font-weight: bold;
}
h5 {
	margin: 0.5em 0;
	font-size: 0.9em;
	font-weight: bold;
}
h6 {
	margin: 0.5em 0;
	font-size: 0.8em;
	font-weight: bold;
}

p  {margin: 0.9em 0;}

a {text-decoration:underline;}

a:hover {text-decoration:none;}

ol, ul, li {
    margin:0.2em 0 0.1em 0;
	line-height: 1.8em;
	font-size: 0.9em;			
}

/* "Jello Mold" page construction technique see http://www.positioniseverything.net/articles/jello-expo.html */
body {
	padding: 0 377px;	
	text-align: center;	
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:0.78em;	
}
#skiptocontent{
	position:absolute;
	margin-left:-1000px;
}
#sizer {
	margin: 0 auto;
	width: 30%;
	max-width: 150px;
	padding: 10px 0;
	text-align:left;	
}
#expander {
	position: relative;
	width: 900px; 
	/*min-width: 750px;/* Critical Safari fix! */	
	margin: 0 -375px;
	background-color:#F6CDAB;
}

/* Holly hack for IE \*/
* html #expander { height: 0; }
/* */

#wrapper { 
	width: 100%; /* helps IE get the child percentages right. */	
	background-color:#F5BF92;
} 

/* http://positioniseverything.net/easyclearing */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#sidebar {
	display: inline; /* IEwin doubled margin bug fix */			
	float: right;
	width: 190px;
	margin-top:10px;
	margin-left:-3px; /*IE Win 3px gap fix*/
}

html>body #sidebar {margin-left:0;}

#content {
	padding:0;	
	height:1%;
	margin:0;
	background-color:#F6CDAB;
}
html>body #content {
	height:auto;
	margin-right:243px;
}
#header {
	background-color:#F5BF92;	
	background-image:none;
	height:100px;
}
#headertop {	
	position:relative;
	top:0;
	left:0;
	bottom:0;
	height:75px;
	padding-top:2px;
	background-color:#F6CDAB;
}
#ownername {	
	padding:5px 20px;	
	margin-left:10px;	
	height:49px;	
	letter-spacing:0.2em;	
	background-color:#F6CDAB;
	font-size:large;
	text-align:left;		
	vertical-align:middle;	
}
#ownername h1 {
	margin-left:-2px;
	font-size:160%;
	font-weight:bold;
	letter-spacing:normal;
}
#ownerinfo {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	width:70%;
	height:46px;	
	background-color:#E3E3E3;
	background-position:2px 2px;	
}
#ownerinfo address {
	position:absolute;
	top:0;
	right:0;
	padding-top:5px;			
	height:40px;
	width:243px;		
	font-style:normal;
	text-align:center;	
	background-position:0 2px;	
}
#mainnav {
	margin-left:40px;
	margin-top:-12px;
	background-color:#F5BF92;	
}

#mainnav, #mainnav tr {height:24px;}

* html #mainnav {margin-top:-1px;}

#mainnav a {text-decoration:none;}

/* Adds a height to a button so that IE Win will allow it to be clickable across its full width. */
/* Hide from IE5-Mac \*/
* html #mainnav a {height: 1%;}
/* end hiding */ 

#mainnav .normallink {
	padding:0 10px;	
	color:#333333; 
}
#mainnav .selectedlink {
	padding:0 10px;
	background-color:#573323;
	color:#BC8F5F;	
}
#contentwrapper 
{	
	background-position:top right;	
	background-color:#F6CDAB;
}

/* Hides from IE5-mac \*/ 
     * html #contentwrapper{height:1%;}
/* End hide from IE-mac */ 

#quote {
	height:auto;
	padding:10px 10px 10px 20px;
	overflow:hidden;	
	line-height:150%;
	letter-spacing:0.05em;
	margin-top:5px;
	color:#333333; 
	/*barva modra #F5BF92;*/
	background-color:#F6CDAB;
}

#sidebarcontent 
{
	margin:5 10px 1em;
	background-color:#F6CDAB;
	/*margin:5px;*/
	padding:6px;
	border:1px solid Gray;
	text-align:left;
}
#sidebarcontent h3 {
	padding:0.3em 1.5em;
	margin:10px 0 0;	
	background-color:#573323;	
	color:#F0E6D5;	
}
.sidebarcontainer{
	margin:5px;	
	padding:6px;
	border:1px solid #FFFFFF;
	background-color:#ffcc66;
	color:Black;
	font-size:smaller;
}
/* \*/
* html .sidebarcontainer {height:1%;}
/* */


.sidebarcontainer a {color:#FF284E;}

.sidebarcontainer li {list-style-type:none;}

#headerimgwrapper {
	padding-right:10px;
	margin-right:-8px;
	background-image:none;
	background-repeat:no-repeat;
	background-position:100% 2px;
	background-color:Red;
}
#headerimg {
	height:149px;
	background-image:none;
	background-repeat:no-repeat;
	background-color:Fuchsia;
	background-position:10px 2px;
}
#copy a {color:#993300;}

#copy .container {
	margin:5px;
	margin-top:15px;
	padding:0 20px 15px 20px;
	border:1px solid #999999;
	/*background-color:#FFFFFF;*/
	width:605px;
}

#copy .container_pro_GRIDVIEW {
	margin:5px;	
	padding:0 20px 15px 20px;	
	/*background-color:#FFFFFF;*/
	width:605px;
}

#copy ul
{    
    margin-left:20px;
    font-size:small
}

#copy ol
{   
    content:"Note: ";
    counter-reset: poc;
    margin-left:20px;
    font-size:small;        
}

#copy .odrazka
{
    font-weight:bold;
    margin-bottom:10px;
    margin-top:10px;
}

#copy li
{    
    counter-reset:poc;
}

#copy .doc_image
{
    text-align:center;   
    
}

	
/* \*/
* html #copy .container {height:1%;}
/* */

#copy img, #rightcolumn img {border:1px solid #993300 !important;}

#copy .teaser {
	color:#999999;
	font-size:0.9em;
	font-weight:bold;
}
#copy .container h1, #copy .container h2 {
	margin: 0 -20px;
	padding: 0 20px 2px 20px;
	background-color:#AB1414;
	color:White;
} 

#copy td, #copy th {padding: 0.2em 0.5em;}

#copy td {
	padding: 0.2em 0.5em;
	font-family: Arial, Helvetica, sans-serif;
}

.txtBox {border:1px solid #666666;}

#copy fieldset {	
	padding:1em;
	margin-bottom:1em;
	border:1px dotted #000000;
}

#copy legend {color:#666666;}

div#contactForm {margin-left:4em;}

/* Hides from IE5-mac \*/ 
     * html div#contactForm{height:1%;}
/* End hide from IE-mac */ 

.imgfloatright {
	float:right;
	display:inline;
	margin: 0.25em 0 0.25em 0.5em;
}
.imgfloatleft {
	float:left;
	display:inline;
	margin: 0.25em 0.5em 0.25em 0;
}
#footer {
	clear:both;	
	position:relative;
	bottom:0;
	left:0;
	right:0;
	height:26px;	
	border-top:2px solid #496A8B;
	margin-left:0px;	
	padding-left:10px;
	padding-top:2px;
	margin-bottom:0;
	background-color:#573323;
	font-family:Georgia;
	color:#F0E6D5;		
	font-size:small;
	letter-spacing:0.25em;
	text-align:center;
}
#footer a 
{
	color:#F0E6D5;		
	margin:1px 5px;	
}
#sidebarfooter {
	position:absolute;
	top:0;
	right:0;
	width:243px;
	height:28px;
	background-color:#BC8F5F;
}

#copy .tabulka_projektu
{
    background-color:ButtonFace;
}

#copy .viewGENSPI
{
    background-color:ButtonFace;   
}
#copy .menuGENSPI
{
	margin:-1;
}


@media print {	
	body {
		margin:0;
		padding:0;
		font-size:10pt;
		line-height:12pt;		
		background:#FFFFFF !important;
	}
	#sizer {
		margin:0; 
		width:auto !important;
	}
	#expander {
		position:static;
		margin:0 !important;
	}	
	#headertop, #ownerinfo {
		position:static; 
		height:auto;
	}	
	#ownerinfo address {
		position:static; 
		height:auto !important; 
		margin-bottom:2em;
	}	
	#header {
		border-bottom:1px solid #000000; 
		margin-bottom:2em;
	}	
	#wrapper, #header, #headertop, #ownername, #ownerinfo, #ownerinfo address, #mainnav, #maimenu .selectedlink, #contentwrapper, #quote, #copy .txtBox, #copy .button, #copy .label, #copy legend, #footer, #sidebarfooter {
		background:none !important;
	}
	h1, h2, h3, h4, h5, h6, #ownername, #mainnav {		
		font-weight: bold;
	}	
    #sidebar, #themepicker, #headerimgwrapper, #sidebarfooter {
		display:none !important;
	} 
    #copy {
		margin:0;
		padding:0;
	}

	#copy fieldset{border:none;}

	#copy legend{color:#496A8B;}

	#footer {
		position:static;
		margin-top:2em;
		font-size:1em;
	}

	#content{width:100%;}

	html>body #content{
		width:85%;
		margin-left:2em;
	}
}
