/*
CSS Document
############

Media: screen, presentation
Tested in: (not really tested)
Note: advanced-browsers-enhancement (MOSe) approach applied (IE6 therefore suffers)


Global information
******************

Author: Peter Kahoun aka Kahi
Author contact: kahi@kahi.cz; web: kahi.cz
License: CC by-sa

Created: 2009/04
Modified: Fri, 19 June 2009 22:29:07 GMT
Version: 2009.4


Font-size table
***************

PX | from 94% (15px) | from 100% (16px)
---------------------------------------
27px | 180%
24px | 160%
21px | 140%
18px | 120%
17px | 113%
16px | 107% | 100%
15px | 100% | 94%
14px | 93%  | 88%
13px | 87%  | 81%
12px | 80%  | 75%
11px | 73%  | 69%
10px | 67%  | 63%
9px  | 60%

@see http://riddle.pl/emcalc/


Color table (just main colors)
***********

13437e	darkest blue (links)
365F91	dark blue (top headings)
4F81BD	light blue (lower headings)
e6f0fb 	lightest blue (inline code back, th)
FF8700	orange

*/


/* reset */

img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

body,
dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6,
form, fieldset, legend,
th, td, hr, pre, p, blockquote {margin:0; padding:0;}



body {
	/*
	origoš
  max-width:45em; padding:2em;*/
	font-family:Calibri, Arial, Helvetica, sans-serif; color:#222; font-size:94%;}


p, ul, ol, dl, table, pre {
	margin-bottom:1em;
	line-height:1.1;}


 	/* headings */

h1, h2, h3, h4, h5, h6 {
	margin:1.66em 0 .66em; position:relative;
	font-family:Cambria, Georgia, "New York CE", utopia, serif; color:#005440; line-height:1;}

h1, h2, h3, h4 {
	clear:both;}

h1 {
	margin-top:0;
	font-size:180%; color:#005440;}

h2 {
	margin:2em 0 1em;
 	font-size:160%;  color:#005440;}

h3 {
	font-size:140%;}

h4 {
	font-size:120%;}

h5 {
	font-size:107%;}

h6 {
	font-size:100%; font-style:italic; font-weight:normal;}

h2:target, h3:target, h4:target, h5:target, h6:target {
	color:#005440;}

	h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
		color:inherit; text-decoration:none;}

	h2 .bc, h3 .bc, h4 .bc, h5 .bc, h6 .bc {
		visibility:hidden;
		position:absolute; left:0; top:-20px;
		padding:.2em;
		background:#fff;
		font-family:Calibri, Arial, Helvetica, sans-serif; font-size:13px; color:#999; font-weight:normal;}

		h2:hover .bc, h3:hover .bc, h4:hover .bc, h5:hover .bc, h6:hover .bc {
			visibility:visible;}


	/* links */

a {
	color:#005440;}

a:hover {
	text-decoration:none;}

a:visited {
	color:#000;}

a:active {
	background-color:#000;
	color:#fff;}


		/* links to specific file-types */

a[href$='.zip'],
a[href$='.rar'],
a[href$='.7z'],
a[href$='.gz'],
a.type-archive {
	padding-right:20px; margin-right:2px;
	background:url(images/icons/compress.png) right center no-repeat;}

a[href$='.pdf'],
a.type-pdf {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/page_white_acrobat.png) right center no-repeat;}

a[href$='.jpg'],
a[href$='.gif'],
a[href$='.png'],
a.type-image {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/picture.png) right center no-repeat;}

a[href$='.txt'],
a.type-text {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/page_white_text.png) right center no-repeat;}

a[href$='.doc'],
a[href$='.docx'],
a[href$='.rtf'],
a.type-richtext {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/page_white_word.png) right center no-repeat;}

a[href$='.xls'],
a[href$='.xlsx'],
a.type-table {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/page_white_excel.png) right center no-repeat;}

a[href$='.ppt'],
a[href$='.pptx'],
a.type-presentation {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/page_white_powerpoint.png) right center no-repeat;}

a[href^='mailto:'],
a.email {
	padding-right:20px; margin-right:3px;
	background:url(images/icons/email.png) right center no-repeat;}

a.linking-image, /* =by JS assigned class */
a.no-type {
	padding-right:0; margin-right:0;
	background:url();}

span[title], em[title], strong[title] {
	border-bottom:1px dotted #666;
	cursor:help;}


 		/* skip links */

a#to-top {
	position:fixed; top:0; right:0;
	padding:15px;
	/* background-color:rgba(255,255,255,0.8); */
	/* text-shadow:0 0 5px #fff; */}


	/* lists */

ul, ol {
	margin-left:0;
	padding-left:3em;
	list-style-position:outside;}

dl dt {
	margin:.5em 0 0 0;
	font-weight:bold; font-style:italic; }

dl dd {
	margin:0 0 .5em 3em;}


	/* quotes */

blockquote, q {
	color:#444; font-style:italic;}

blockquote {
	margin:2em 0;
	padding-left:2em;}

cite {
	font-style:italic;}

blockquote + p cite:only-child {
	display:block; margin:-1em 1em 2em 2em;
	text-align:right;}

	blockquote + p cite:only-child:before {
		content:'— '}


	/* code */

code,
textarea.blockcode {
	padding:1px;
	background:#e6f0fb;
	font-family:monospace;}

pre code,
textarea.blockcode {
	display:block;
	max-height:15em; padding:.5em; overflow-y:scroll; overflow:auto;
	border:1px dashed #ccc;
	background-color:transparent;}

textarea.blockcode {
	height:10em; width:98%; /* might be js-overwritten */
	font-size:73%;}

code.block .select-all,
pre .select-all {
	display:none;
	position:absolute; top:5px; right:20px; font-size:73%;}

code.block:hover .select-all,
pre:hover .select-all {
	display:block;}


	/* tables */

table {
	border-collapse:collapse;}

	th,
	td {
		padding:4px;
		border:1px solid #ddd;
		text-align:left;
		white-space: nowrap;}

	th {
		background-color:#a3e2d2;
		font-weight:bold;}

tfoot td,
tfoot th {
	border-top:1px solid #aaa;}

tfoot td {
	background-color:#f4f4f4;
	font-weight:bold;}


 	/* images */

.rght{
text-align: right;}
.right,
.figure-right {
	float:right; margin:.5em 0 .5em 1em;}

.left,
.figure-left {
	float:left; margin:.5em 1em .5em 0;}

	.figure-left p,
	.figure-right p,
	.figure p {
		padding:.5em 0;
		font-style:italic;}

a img {
	padding-bottom:2px;
	border:0; border-bottom:4px double #abd1ed;}

	a:hover img,
	a:active img {
		border-bottom:4px double #005440;}


 	/* else */

hr {
	clear:both; margin:3em 0;
	height:2px;
	border:0;
	background-color:#ddd;
	color:#fff;}


	/* blocks */

p.important,
div.important,
.warning,
.positive,
.negative,
.negativeLogin,
.download {
	padding:.5em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.important {
	padding-top:.5em; padding-bottom:.5em; /* eg. ul.important */
	border:1px solid #e4e4e4;
	background-color:#f4f4f4;}

.warning {
	border:1px solid #ffee99;
	background-color:#fff8dd;}

.positive {
	border:1px solid #cceba1;
	background-color:#eaf7d8;
  z-index: 9999;
}

.negative, .negativeLogin {
	border:1px solid #f99;
	background-color:#fdd;
}

.negative {
  position:absolute !important;
  z-index: 9999;
}

.negativeLogin{
  display:inline-block;
}

.download {
	border:1px solid #abd1ed;
	background-color:#e3f0f9;
	text-align:center;}

	.download:first-line {
		font-size:140%;}


	/* gallery */

.gallery {
	padding:0; overflow:hidden; /* auto-clearing */
	list-style-type:none;}

	.gallery li {
		float:left; margin:0 .5em .5em 0}


	/* forms */
.sel{
	width:200px;
}

input[type='text'], input[type='password']{
	padding:1px;
    width: 99%;
//	width:430px;
}

.selsm{
	width:430px;
}

textarea {
	width:100%; height:7em;
	font-family:inherit; font-size:inherit;}

input[type=radio] {
	margin-left:2ex;}

form .info {
	margin-left:1ex;
	font-size:87%; color:#666;}

form .info.error {
	font-style:italic; font-weight:bold; color:red;}

		/* tables for forms */

	form table th,
	form table td {
		border:0;
  }

	form table th {
		vertical-align:top;
		background-color:transparent;
  }

	form table th:first-child {
		/* text-align:right; */}


/*moje*/
/************************************************/

.logout{
  text-align:right;
}

.hidden{
  display:none;
}

.text_l, .text_prev_edit, .text_edit, .textArea_edit, pre{
 /* border: 1px solid #aaaaaa;*/
  padding:5px;
  font-family:Verdana, Arial, Helvetica, sans-serif;
  FONT-SIZE: 12px;
  text-align:left;

}
.text_r{
  padding:5px;
  font-family:Verdana, Arial, Helvetica, sans-serif;
  FONT-SIZE: 10px;
  text-align:right;
}
.text_edit, .textArea_edit{
  background-color:#F0F0F0;
  resize:both;
}

.text_prev_edit:hover
{
/*background:url(../img/edit.png) right top no-repeat #E6E6E6;*/
background:url(../img/edit.png) right top no-repeat;
cursor:pointer;
min-height:20px;
}

pre {

 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}


.del{
  cursor:pointer;
  border:none;
}

.new_form{
  padding: 10px 5px 10px 5px;
  margin: 15px;
  position:relative;
  display:none;
}


.newBtn:hover, .odbKontaktyBtn:hover, .closeBtn:hover, .closeBtn2:hover, .delBtn:hover, .editBtn:hover, .duplBtn:hover, .newVykonBtn:hover, .addVykonyBtn:hover, .addFakBtn:hover, .newBtn2:hover, .skladZobrazPolozky:hover, .newCsvShow:hover{
  color:#005440;
}

.closeBtn{
padding: 2px;
display:inline;
position:absolute;
top: 0;
left:0;
cursor:pointer;
background-color:lightGray;
}

.closeBtn2{
float:right;
padding: 2px;
display:inline;
cursor:pointer;
background-color:lightGray;
}

.pridatCinnost{
float:right;
padding: 2px;
display:inline;
cursor:pointer;
}

fieldset{
  padding:10px;
}

.loadingGif{
  width: 20px;
  height: 20px;
}

.deleteBtn{
  cursor:pointer;
}

.center{
  text-align:center;
}

.relative{
  position:relative;
}

.smlText{
	width:80px !important;
}

.smlCislo{
	width:50px !important;
}

.noBorder{
  border:0;
}

.noPadding{
  padding:0 !important;
}

.clear:after {
  content: "";
  display: table;
  clear: both;
}

.tdTbl{
  padding:0 !important;
  margin:0px !important;
}

.newTbl{
	border-collapse:collapse;
	margin:5px;
}

.newTbl	th,	td {
		padding:1px .1em;
		border:1px solid #ddd !important;
		text-align:left;
		white-space:nowrap;
}

.newTbl	th {
		background-color:#a3e2d2;
		font-weight:bold;
}

.newTbl tr:hover th, tr:hover td{
	background:#E6E6E6;
}

.asTable{
  display:table;
}

.myHeight td{
  height: 5px;
}

.myWidth td{
  /*width:70px;*/
}

.text{
  text-align:center;
  white-space:nowrap;
}

.date{
  text-align:center;
  white-space:nowrap;
  width:70px;
  padding:1px .1em;
  margin-right: 5px;
}
.myLeft{
  float:left;
}
.myRight{
  float:right;
}

.txtr{
  text-align:right;
}

td:after.kc { content: "\00a0Kč";}

.noMargin{
  margin:0px;
}

#f1_upload_process{
   z-index:100;
   position:absolute;
   visibility:hidden;
   text-align:center;
   width:400px;
   margin:0px;
   padding:0px;
   background-color:#fff;
   border:1px solid #ccc;
}

/* DODATECNE UPRAVY */
body {
	padding: 0px 10px 10px 10px;
	background: #0e5342 url('../img/back.png') left top repeat-x;
}
.group {
	background-color: #ffffff;
	border: none;
	margin: 10px 0px 10px 0px;
}
.content {
	display: inline-table;
	margin: 10px 10px 10px 0px;
	clear: both;
}
//.content table { width: auto !important; }
legend {
	background-color: #ffffff;
	font-size: 130%;
	font-weight: bold;
	padding: 5px 15px 0px 15px;
}
.logout {
	margin: 15px 10px 10px 20px;
	padding: 10px 10px 10px 10px;
	width: 200px;
	float: right;
	background-color: #ffffff;
}
.login {
	text-align: center;
	width: 310px;
	margin: 20px auto 20px auto;
	padding: 10px 10px 5px 10px;
	background-color: #ffffff;
}
.mainmenu {
	padding: 12px 10px 15px 10px;
}
.menu{
	margin: 0px 0px 0px 10px;
}
.menu a {
	color: #fff;
	background-color: #005440;
	padding: 3px 7px;
	text-decoration: none;
}
.menu a:hover {
	background-color: #46a089;
}
.copyright {
	color: #fff;
	padding: 0px 10px 0px 10px;
	font-size: 90%;
}
.copyright.index {
	text-align: center;
	width: 310px;
	margin: 0px auto 0px auto;
}
.logo {
	text-align: center;
	width: 310px;
	margin: 20px auto 0px auto;
}
.filter, #import {
	padding: 5px 10px 5px 10px;
	background-color: #e2fff7;
}
.corner, .group, legend, .logout, .menu a, .login, .filter {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.newBtn, .odbKontaktyBtn, .newBtn2, .skladZobrazPolozky, .newCsvShow{
  cursor:pointer;
  padding: 1px;
  margin: 2px;
  display:inline-block;
}

.delBtn, .editBtn, .duplBtn,.newVykonBtn, .addVykonyBtn, .addFakBtn, {
  cursor:pointer;
  padding: 0px;
  margin: 0px;
  display:inline-block;
}

.delBtn{
	background:transparent url(../img/delete.png);
	background-repeat:no-repeat;
	border-style: none;
	font-size:0;
	width: 24px;
	height: 24px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}
.editBtn{
	background:transparent url(../img/edit.png);
	background-repeat:no-repeat;
	font-size:0;
	width: 24px;
	height: 24px;
	border-style: none;
}
.newVykonSmlBtn
{
	border-style: none;
	background:transparent url(../img/vykony.png);
	background-repeat:no-repeat;
	font-size:0;
	width: 30px;
	height: 24px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}
.newVykonBtn{
	border-style: none;
	background:transparent url(../img/vykony.png);
	background-repeat:no-repeat;
	font-size:0;
	width: 30px;
	height: 24px;
	padding-top: 23px;
	margin-right: auto;
	padding-right: 0px;
	padding-left: 0px;
	margin-left: 10px;

}

.addVykonyBtn{
	border-style: none;
	background:transparent url(../img/vykony.png);
	background-repeat:no-repeat;
	font-size:0;
	width: 30px;
	height: 24px;
	margin-right: auto;
	padding-right: 0px;
	padding-left: 0px;
	margin-left: 5px;

}

.addFakBtn{
	background:transparent url(../img/faktura.png);
	background-repeat:no-repeat;
	border-style: none;
	font-size:0;
	width: 24px;
	height: 24px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}
.FaEdt{	background:transparent url(../img/faktedt.png);
	background-repeat:no-repeat;
	border-style: none;
	font-size:0;
	width: 24px;
	height: 24px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}
.duplBtn{	background:transparent url(../img/copy.png);
	background-repeat:no-repeat;
	border-style: none;
	font-size:0;
	width: 24px;
	height: 24px;
	margin-right: auto;
	margin-left: auto;
	padding: 0;
}

.zavrit{	background:transparent url(../img/close2.png);
	background-position:0px 0px;
	float:right;
	background-repeat:no-repeat;
	border-style: none;
	font-size:0;
	width: 26px;
	height: 26px;
	margin-left: 10px;
	padding: 0;
}
.zavrit:hover{	background:transparent url(../img/close2.png);
	background-position:-26px 0px;
	float:right;
	background-repeat:no-repeat;
	border-style: none;
	font-size:0;
	width: 26px;
	height: 26px;
	margin-left: 10px;
	padding: 0;
}


        #cboxClose{right:0; background-position:-100px -25px;}
        #cboxClose:hover{background-position:-100px 0px;}


/* tables */
table.tablesrt {
	font-family:arial;
	background-color: #CDCDCD;
	margin:5px 0pt 5px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
}
table.tablesrt thead tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 2px;
}
table.tablesrt thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesrt tbody td {
	color: #3D3D3D;
	padding: 2px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesrt tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesrt tfoot tr th {
	background-color: #e6EEEE;
	color: RED;
	border: 1px solid #FFF;
	font-size: 14pt;
	padding: 2px;
}

table.dataTable tbody tr.spacer td{
border-left-width:0;
border-right-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
    height: 20px;
border: 0px none #ddd !important;
}


table.dataTable thead tr.spacer th{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}
table.dataTable tbody tr spacer td{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}
table.dataTable thead tr.spacer th{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}
table.dataTable tbody td.spacer{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}

table.dataTable tbody tr.odd td.spacer{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}
table.dataTable thead tr td.spacer{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}

table.dataTable thead tr th.spacer{
border-left-width:0;
border-right-width:0;
border-top-width:0;
	background-color: #e2fff7;
    border-left-color:#e2fff7;
    border-top-color:#e2fff7;
	border-right-color:#e2fff7;
border-right-style:none;
border-left-style:none;
border-top-style:none;
    height: 0px;
border: 0px none #ddd !important;
}

th.hide_me, td.hide_me {display: none;}