/*
http://www.tutorialspoint.com/css/css_syntax.htm
http://www.phpforkids.com/html/html5-introduction.php
http://www.tagindex.net/

http:  table with fix header:
https://jaimonmathew.wordpress.com/2010/02/02/scroller/
http://www.cssbakery.com/2010/12/css-scrolling-tables-with-fixed.html

http://www.immigration-usa.com/html_colors.html
http://html-color-codes.info/

http://css-tricks.com/a-couple-of-use-cases-for-calc/

http://www.jakpsatweb.cz/dhtml.html

http://learnlayout.com/position.html	//position: relative; absolute;...
*/

.hidden {display:none;}

/* div align vertical center */
.middle {
    display: inline;
    top: 50%;
   /* position: relative;  // toto nefunguje pri IE*/
}

html,body,#wrapper,#left,#right,#content {
	margin: 0 auto;
	height: 100%;
	/*min-height: 100%;*/
	border-spacing: 4px;
	padding: 0;
}

#left,#right {
	background-color: #E9F1EA;
	border: 1px solid #A6CAA9;
	border-collapse: collapse;
	vertical-align: text-top;
}

#content {
	background-color: #FFFFFF;
	border: 1px solid #A6CAA9;
	border-collapse: collapse;
	vertical-align: text-top;
	height: 84vh;
}

/*div { border-top: 4px solid white; border-bottom: 4px solid white; }*/
#wrapper {
	width: 95%;
	/* height: 85%;*/
	oveflow: hidden;
	/*margin-bottom: 0;
	border-collapse: collapse;*/
	min-height:100%;	
}

#container {
	color: #999933;
	background-color: #C0E6B3;
	width: 100%;
	/*height: 23px;*/
}

#do_list_cntr, #do_list_fill, #do_list_fill2 {
	overflow-y: scroll; 
	overflow-x: hidden; 
	position: absolute; 
	top: 0; right:0; bottom: 0; left: 0; 
	z-index: 10;
}

/* styl pre report formular */
.tg-table-rep {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

.tg-table-rep td,.tg-table-rep th {
	background-color: #fff;
	border: 1px #bbb solid;
	color: #333;
	font-family: sans-serif;
	font-size: 10pt;
	padding: 5px;
	vertical-align: top;
}

.tg-table-rep .tg-even td {
	background-color: #eee;
}

.tg-table-rep tr:hover td,.tg-table-rep tr.even:hover td {
	color: #222;
	background-color: #FCFBE3;
}

/* incorporated tab in form */
.tg-table-noevt {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
}

.tg-table-noevt td,.tg-table-noevt th {
	background-color: #fff;
	border: 1px #bbb solid;
	color: #333;
	font-family: sans-serif;
	font-size: 10pt;
	padding: 5px;
	vertical-align: top;
}

.tg-table-noevt .tg-even td {
	background-color: #eee;
}

/****************************************************/
.tg-table-rep td.cnorm {
	color: #555;
	background-color: #EEEEE3; 
	empty-cells: show;
}

.tg-table-rep td.choose {
	color: black;
	background-color: white; 
	empty-cells: show;
}

/****************************************************/



/* http://css-tricks.com/a-couple-of-use-cases-for-calc/  */
input.full {
    width: 98%; /* older browsers */
	width: calc(100% - 8px); /* IE 9+,10,11, Chrome, Firefox */
    width: -webkit-calc(100% - 8px); /*For safari 6.0*/
}

input.less {
    width: 80%; /* older browsers */
	width: calc(100% - 40px); /* IE 9+,10 , Chrome, Firefox */
    width: -webkit-calc(100% - 40px); /*For safari 6.0*/
}

input.less70 {
    width: 72%; /* older browsers */
	width: calc(100% - 120px); /* IE 9+,10 , Chrome, Firefox */
	width: -webkit-calc(100% - 120px); /*For safari 6.0*/
}

div.startOcc {
	float:left; 
	width: 100%; /* older browsers */
	width: calc(100% - 15px); /* IE 9+,10 , Chrome, Firefox */
    width: -webkit-calc(100% - 15px); /*For safari 6.0*/
	
	padding: 5px; 
}

div.blockcentr {
	display: block;
    margin-left: 0px auto;
    margin-right: 0px auto;
    text-align: center;
    /*width: 100em
    / * not <center> why???*/
}

textarea {
    border:1px solid #999999;
    width: 98%; /* older browsers */
	width: calc(100% - 12px); /* IE 9+,10 , Chrome, Firefox */
    width: -webkit-calc(100% - 12px); /*For safari 6.0*/
    margin:5px -4px; /* 4px = border+padding on one side */
    padding:3px;
    /*padding: 7px 0 7px 7px; */
	position:relative; left:4px; /* 1px border, too */
}

tr.main_top {
	/* fallback */
	background-color: #59955C;
	/* background-image: url(images/linear_bg_1.png);
	background-repeat: repeat-y; */
	
	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(linear, left top, right top, from(#E9F1EA), to(#59955C));
	
	/* Safari 5.1, Chrome 10+ */
	background: -webkit-linear-gradient(left, #E9F1EA, #59955C);
	
	/* Firefox 3.6+ */
	background: -moz-linear-gradient(left, #E9F1EA, #59955C);
	
	/* IE 10 */
	background: -ms-linear-gradient(left, #E9F1EA, #59955C);
	
	/* Opera 11.10+ */
	background: -o-linear-gradient(left, #E9F1EA, #59955C);	
}

tr.main_top td {
	font-size: 10pt;
	/*font-weight: bold;*/
	color: #000000;
	height: 25px;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	padding: 0;	
}

tr.main_top_h1 td {
	font: Arial;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14pt;
	font-weight: bold;
	color: #999933;
	margin-top: 7px;
	margin-bottom: 7px;
}

tr.main_bottom {
	/* fallback */
	background-color: #C0E6B3;
	/* background-image: url(images/linear_bg_1.png);
	background-repeat: repeat-y; */
	
	/* Safari 4-5, Chrome 1-9 */
	background: -webkit-gradient(linear, left top, right top, from(#59955C), to(#C0E6B3));
	
	/* Safari 5.1, Chrome 10+ */
	background: -webkit-linear-gradient(left, #59955C, #C0E6B3);
	
	/* Firefox 3.6+ */
	background: -moz-linear-gradient(left, #59955C, #C0E6B3);
	
	/* Opera 11.10+ */
	background: -o-linear-gradient(left, #59955C, #C0E6B3);	
	
	/* IE 10 */
	background: -ms-linear-gradient(left, #59955C, #C0E6B3);
}

h1 {
	font: Arial;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20pt;
	font-weight: bold;
	text-align: center;
	color: #999966;
	margin-top: 5px;
	margin-bottom: 5px;
}

h2 {
	font: Arial;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	color: #999933;
	margin-top: 2px;
	margin-bottom: 5px;
}

p {
	margin-top: 5px;
	margin-bottom: 10px;
}

/*
a:hover, a:visited, a:link, a:active
{
    text-decoration: none;
}
*/
/* 
*	boxes contents
*/
.do_commands {
	width: 100%;
	min-width: 100%;
	oveflow: hidden;
	/*margin-bottom: 0;
	border-collapse: collapse;*/
}

.do_commands th,.do_commands tr,.do_commands td {
	font: Arial;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	padding: 2px;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	vertical-align: text-top;
}

.do_commands th {
	color: #FFFFFF;
	background-color: #006600;
}

.do_commands tr, .do_commands td {
	color: #000000;
	background-color: #E9F1EA;
}

.do_commands tr.moresp {
	border-bottom: 10px solid #E9F1EA;
}
.do_commands tr.alt, .do_commands td.alt {
	color: #000000;
	background-color: #FFFFF5;
}

.do_commands td.undline {
	border-bottom: 1px solid #A6CAA9;
}

.do_commands tr.disabled_itm, td.disabled_itm {
	color: #A0A0A0;
	background-color: #E9F1EA;
}

/*
.do_commands tr:hover td, .do_commands tr.even:hover td {
	background-color: #FFF0A3;
}

.disabled_itm tr:hover td, .disabled_itm tr.even:hover td {
	background-color: #FFF0A3;
}
*/

.content_main {
	width: 100%;
	min-width: 99.8%;
font: Arial;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	padding: 2px;
	border-collapse: collapse;
	vertical-align: text-top;
	background-color: #FFFFE3;	
}

.content_main th, .content_main td.headmn {
	color: #FFFFFF;
	background-color: #006600;
	padding: 3px;
}

.hheadmn {
	color: #FFFFFF;
	background-color: #006600;
}


.content_main tr {
	/*color: #000000;*/
	/*background-color: transparent;*/
	text-align: center;
	/*border-left: 1px solid #FFFFE3;
	border-right: 1px solid #FFFFE3;
	border-top: 1px solid #FFFFE3;
	border-bottom: 1px solid #A6CAA9;*/
	/*position: relative;*/
	/*border-color: transparent;*/
	cursor: pointer;
}

.content_main td {
	color: #000000;
	background-color: transparent;
	text-align: center;
	cursor: pointer;
}
<!--[if !IE 9]> -->
.content_main td {
	border-bottom-width: 1px;
	border-bottom-style: solid;
}
<![endif]-->

.content_main tr:hover td, .content_main tr.even:hover td {
	color: #222;
	background-color: #FFF0A3;
}

/*******************************/
a.tooltip span {
	display:none;
	margin-left:-50px;
	margin-top:0px;
	width:400px;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	font-size: 24px;
	font-weight: normal;
	line-height: 26px;
	background-color: #ffffff;
	
}
a.tooltip:hover span{
	display:inline;
	position:absolute;
	color:#34ad01;
	border:2px solid #3ABF37;
	background-image: url(tooltip_bg.jpg);
	background-repeat: no-repeat;
}

/***************/
a.btn_m_menu
{
	color: #555;
	text-decoration: none;
	text-align: center;
}

a.btn_m_menu:hover
{
	color: #000000;
	text-decoration: none;
	text-align: center;
}

/***************/

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 1s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}