html {
	height: 100%;
}

body {
	/*padding: 5px 10px 0px 10px;*/
	margin: 0px 0px 0px 0px;
	background:url('img/twist/body.jpg') no-repeat;
	background-color: white;
/*
	font-family: tahoma;
	font-size: 11px;
	color: #4B4B4B;
*/
	height: 100%;
	font-family: Verdana,"Geneva CE",sans-serif;
}

a {
	text-decoration: underline;
	color: #D57709;
}
a:hover { color: red; }

.TGHead {
	position:absolute;
	width: 100%;
/*
	height: 150px;
*/
	left:0;
	top:0;
	background:url('img/twist/menu.gif') top left repeat-x;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
/*
	font-family: tahoma;
	font-size: 11px;
*/
	color: white;
	border: 1px solid black;
}

.TGMain {
	margin: 87px 0 0 0px;
	padding: 0;
/*
	background-color: green;
*/
}

.TGMainContent {
	padding: 33px 30px 30px 30px;
}
	
.TGLogo {
	/*position:absolute;*/
	padding: 0px 0px 0px 0px;
	border:none;
	width:200px;
	height:82px;
	background-image: url("img/twist/logo.gif");
/*
	width: 208px;
	height: 65px;
*/
	/*visibility: hidden;*/
}

.TGVersion {
	position:absolute;
	font-size: 10px;
	left: 150px;
	top: 68px;
	/*padding: 48px 5px 0px 0px;*/
}	

.TGButtonsPanel {
/*
	margin: -15px 0px -20px 0px;
*/
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

/* 
------------- FORMULAR -------------------
*/

button#button_logout {
	border: 0px;
	width: 48px;
	height: 15px;
	cursor: pointer;
	background: none;
	}
	
button#button_middle {
	border: 0px;
	width: 56px;
	height: 18px;
	cursor: pointer;
	background: none;
	}
	
select {
	/*font-family: tahoma;
	font-size: 11px;
	color: #4B4B4B;*/
	font-weight: normal;
	}
	
div#buttons {
	/*margin: 3px 3px 0px 3px;*/
	height: 29px;
	width: 208px;
	/*border: 1px solid red;*/
	background: url("img/twist/bg_line_left.gif");
	background-repeat: repeat-x;
	background-position: bottom left;
	}

table.TGDynamicForm {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	/*border-collapse: collapse;*/
	width: 300px;
	border: none;
	/*border: 1px solid #BABABA;*/
	vertical-align: top;
	/*font-family: tahoma;
	font-size: 11px;
	background-color: #F2F2F2;*/
	}
	
td.form_line {
	height: 2px;
	background: url("img/twist/bg_table_form1.gif");
	background-repeat: repeat-x;
	background-position: top left;
	}
	
td.TGDynamicFormColumn {
	padding: 5px 5px 5px 5px;
	vertical-align: top;
	}
	
tr.TGDynamicFormRow {
	vertical-align: top;
	}
		
input.submit_form {
	/*font-family: tahoma;
	font-size: 10px;
	font-weight: bold;
	color: #616161;*/
	border-top: 1px solid #D3D3D3;
	border-bottom: 1px solid #9E9E9E;
	border-left: 1px solid #D3D3D3;
	border-right: 1px solid #9E9E9E;
	background: url("img/button1.gif");
	}

.TGButtonsPanel .TGFormButton {
	background-image:url(img/twist/paper_blank.gif);
	background-repeat:no-repeat;
	background-position:center left;
	width: 120px
/*
	font-family: tahoma;
	font-size: 10px;
	font-weight: bold;
	color: #616161;
	border-top: 1px solid #D3D3D3;
	border-bottom: 1px solid #9E9E9E;
	border-left: 1px solid #D3D3D3;
	border-right: 1px solid #9E9E9E;
	background: url("img/button1.gif");
*/
}
	
td#td_form_1a {
	width: 40%;
	}
	
	
td#td_form_1b {
	width: 60%;
	}
	
.TGFormInput {
	/* width: 100%; */ 
	/*font-family: tahoma;
	font-size: 11px;
	color: #616161;*/
	border: 1px inset #D3D3D3;
	/*
	border-bottom: 1px solid #D3D3D3;
	border-top: 1px solid #9E9E9E;
	border-right: 1px solid #D3D3D3;
	border-left: 1px solid #9E9E9E;
	*/
}

	
/* 
------------- OSTATNI -------------------
*/

div#buttons_1 {
	padding: 6px 0px 0px 4px;
	/*border: 1px solid black;*/
	}
	
img.arrow_small {
	margin: 0px 4px 0px 2px;
	}

hr#hr_main {
	color: #C6C6C6;
	}
	
div#hr_main0 {
	margin: 0px 0px 20px 0px;
	}
	
img.arrow_big {
	margin: 0px 4px 0px 0px;
	}

/* 
------------- TABULKA -------------------
*/

.TGTable table {
  font-family: Arial, Verdana,"Geneva CE",sans-serif;
  font-size: 80%;
  font-size: 12px;
/*
  border: ridge 2px #bbbbbb;
  border-top: groove 2px #eeeeee;
  border-left: groove 2px #eeeeee;
*/
}

.TGTable .TGTable table {
  /*font-size: 100%;*/
}

.TGTable td, th {
  padding: 0.1em;
  /*border: 1px solid grey;*/
  border-left: none;
  border-top: none;
  padding: 1px;
}
	
table#table_data_1 {
/*
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	border-collapse: collapse;
	width: 100%;
	color: #4B4B4B;
	font-family: tahoma;
	font-size: 11px;
	background-color: #EBEBEB;
*/
}

th.TGDynamicTableHeader {
	background: url('img/twist/th.gif') 0px -12px;
	font-size:80%; 
	font-weight:normal; 
	padding-left: 2px;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	border-bottom: white ridge 2px;
	color: white;
	text-align: left;
/*
	text-align: left;
	padding: 5px 5px 5px 5px;
	background: url("img/bg_th_1.gif");
	background-repeat: repeat-x;
	background-position: top left;
	height: 20px;
	color: #D6362E;
	font-family: tahoma;
	font-size: 11px;
	font-weight: bold;
	border-bottom: 1px solid #F1B8B5;
	border-right: 1px solid white;
	white-space: nowrap;
*/
}

tr.TGDynamicTableRowA {
	text-align: left;
	padding: 5px 5px 5px 5px;
	background-color: #FDFDFD;
	border-right: 1px solid white;
	}
	
tr.TGDynamicTableRowB {
	text-align: left;
	padding: 5px 5px 5px 5px;
	background-color: #EBEBEB;
	border-right: 1px solid white;
	}

/*
td {
	padding-left: 2px;
	padding-right: 2px;
}
*/
	
td#table_data_bottom {
	background: url("img/twist/bg_table_bottom.gif");
	background-repeat: repeat-x;
	background-position: top left;
	height: 8px;
	}
	
td.TGImageColumn {
	background-color:#dddddd;
	width: 1px;
}

.ico {
	margin: 0px 2px 0px 2px;
	border: 0px solid;
	}
	
table#table_data_stat {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	border-collapse: collapse;
	width: 100%;
	color: #4B4B4B;
	/*font-family: tahoma;
	font-size: 11px;*/
	}
	
td.td_data_stat_b {
	text-align: right;
	}
	
span.stat_1, span.stat_2 {
	color: #A7A7A7;
	}
	
	
/* 
------------- ??? -------------------
*/
	
	

a.stat:link {
	color: #4B4B4B;
	text-decoration: underline;
	}
a.stat:visited {
	color: #4B4B4B;
	text-decoration: underline;
	}
a.stat:hover {
	color: #D6362E;
	text-decoration: underline;
	}
a.stat:active {
	color: #4B4B4B;
	text-decoration: underline;
	}

	

a.table_data:link {
	color: #D6362E;
	text-decoration: underline;
	}
a.table_data:visited {
	color: #D6362E;
	text-decoration: underline;
	}
a.table_data:hover {
	color: #F49B96;
	text-decoration: underline;
	}
a.table_data:active {
	color: #D6362E;
	text-decoration: underline;
	}
	
	

/* 
------------- MENU -------------------
*/

span.TGMenu {
	display: block;	
	position:absolute;
	left: 210px;
	top: 55px;
	margin: 0px 0px 0px 0px;
/*
	background-color: white;
	width: 300px;
	height: 30px;
	visibility: hidden;
*/
}

.TGMenu a {
	text-decoration: none;
	color:white;
	font-size: 80%;
	padding: 7px;
	padding-left: 14px;
	text-align:center;  
	background: url('img/twist/menu_a.gif') no-repeat 0px center;
	text-transform: uppercase;
	margin-right: -0.5em;
}

span.TGMenuContent {
/*
	background-color: yellow;
	width: 190px;
	margin: 10px 10px 10px 10px;
	border: 1px solid #AFAFAF;
	text-align:center;
*/
}

span.TGMenuHead {
	display: none;	
/*
	display: none;	
	position:absolute;
	left: 0px;
	top: 0px;
	visibility: hidden;
	border: 1px solid #EFEBEF;
	padding: 1px 1px 1px 1px;
	background-color: silver;	
	font-family: tahoma;
	font-size: 11px;
	font-weight: bold;
*/
}

	
span.TGMenuItem {
/*
	background-color: white;
	border: 1px solid #EFEBEF;
	border-color: #EFEBEF;
	background-color: white;
	height: 2.5em;
	line-height: 2.5em;
	padding: 0px 0px 0px 4px;
	text-align: left;
*/
	padding: 0px 0px 0px 14px;
	/*border-color: #C2C2C2;*/
	/*height: 29px;*/
}
	
.TGMenu a:link {
}
.TGMenu a:visited {
}
.TGMenu a:hover {
	text-decoration: underline;
	color: yellow;
}
.TGMenu a:active {
}

.TGMenuItemActive {
	background-color: #FDF3F2;
	height: 29px;
	padding: 0px 0px 0px 4px;
	border: 1px solid #F1B8B5;
	text-align: left;
	font-weight: bold;
	}
	
	
/* 
------------- TITLE -------------------
*/

.TGTitle {
	/*background-color: blue;*/
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

table.TGButtonsPanel {
	width: 100%;
}

.TGButtonsPanel td {
	width: 100%;
	text-align: center;
}

span.title_main {
	display: block;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 20px 0px;
	/*padding: 0.5em 0 0.2em 0.5em;*/
	letter-spacing: 0.3em;
	font-family: Arial, Verdana,"Geneva CE",sans-serif;
	font-size: 105%;
/*
	color: #D6362E;
	font-size: 19px;
	font-weight: bold;
*/
}

span.title_main:first-letter {
	font-size: 150%;
}

#hr_main0 {
	display: none;	
}

/* 
------------- INFO -------------------
*/

.TGInfo {
	position:absolute;
	top: 0px;
	left: 200px;
	color: #cccccc;
	letter-spacing: 0.2em;
	font-size: 105%;
}

.TGInfo:first-letter {
	font-size: 150%;
}

.TGOrganization {
	position:relative;
	left: 10px;
	padding: 0px 0px 0px 0px;
}
	
.TGUser {
	position:relative;
	left: 10px;
	padding: 0px 0px 0px 0px;
}
	
/* 
------------- TGTABLE -------------------
*/

span.TGTable {
/*
	position: absolute;
	background-color: white;
	top: 300px;
	left: 150px;
*/
	/*background-color: yellow;*/
	border:none;
	margin-bottom: 50px;
}


table.TGDataSet {
	width: 100%;
	border: solid #bbbbbb 1px;
	background-color:white;
}

table.TGDataSet .viewImage {
	border:none;
	width:16px;
	height:16px;
	background-image:url('img/twist/dataComponents/view.gif');
}

table.TGDataSet .detailImage {
	border:none;
	width:16px;
	height:16px;
	background-image:url('img/twist/dataComponents/detail.gif');
}

table.TGDataSet .editImage {
	border:none;
	width:16px;
	height:16px;
	background-image:url('img/twist/dataComponents/edit.gif');
}

table.TGDataSet .sortAscImage {
	border:none;
	margin-left:2px;
	width:9px;
	height:10px;
	background-image:url('img/twist/dataComponents/sort_asc.gif');
}

table.TGDataSet .sortDescImage {
	border:none;
	margin-left:2px;
	width:9px;
	height:10px;
	background-image:url('img/twist/dataComponents/sort_desc.gif');
}

table.TGDataSet .sortAscCurImage {
	border:none;
	margin-left:2px;
	width:9px;
	height:10px;
	background-image:url('img/twist/dataComponents/sort_asc_cur.gif');
}

table.TGDataSet .sortDescCurImage {
	border:none;
	margin-left:2px;
	width:9px;
	height:10px;
	background-image:url('img/twist/dataComponents/sort_desc_cur.gif');
}

table.TGDataSet .deleteImage {
	border:none;
	width:16px;
	height:16px;
	background-image:url('img/twist/dataComponents/delete.gif');
}

.TGPaging {
	float:left;
}

table.TGPaging .pagingFirstImage {
	border:0px;
	width:9px;
	height:9px;
	background-image:url('img/twist/dataComponents/paging_first.gif');
}

table.TGPaging .pagingPrevImage {
	border: 0px;
	width:9px;
	height:9px;
	background-image:url('img/twist/dataComponents/paging_prev.gif');
}
table.TGPaging .pagingNextImage {
	border:0px;
	width:9px;
	height:9px;
	background-image:url('img/twist/dataComponents/paging_next.gif');
}

table.TGPaging .pagingLastImage {
	border: 0px;
	width:9px;
	height:9px;
	background-image:url('img/twist/dataComponents/paging_last.gif');
}

.TGTableInfo {
	float:right;
}

/* 
------------- TGTree -------------------
*/

.TGTree {
	display: block;
	/*float:left;*/
	font-size: 80%;
	/*background-color: red;*/
	margin-right: 15px;
}

.TGTree a {
	text-decoration: none;
	color: black;
}

.TGTree a:hover { 
	color: black; 
	text-decoration: underline;
}

.TGTree a.TGTreeNode {
	/*padding-left: 5px;*/
}

.TGTree a.TGTreeNodeSelected {
	text-decoration: underline;
	/*padding: 2px 5px 2px 5px;*/
	/*background-color: silver;*/
	/*background: url("img/tango/bg_th_1.gif");
	background-repeat: repeat-x;
	background-position: top left;*/
}

.TGTree img.TGTreeNodeExpandedImage {
	/*position: relative;
	top: 2px;*/
	margin-right: 3px;
	border:none;
	width:20px;
	height:16px;
	background-image:url('img/twist/dataComponents/folder_opened.gif');
}

.TGTree img.TGTreeNodeCollapsedImage {
	/*position: relative;
	top: 2px;*/
	margin-right: 3px;
	border:none;
	width:20px;
	height:16px;
	background-image:url('img/twist/dataComponents/folder.gif');
}

/* -------------------------- Ostatni ---------------------- */

.TGGroup {
	display: block;
	padding-left: 0px;
	margin-top: 25px;
}

.TGTableGroup {
	display: block;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	margin-top: 20px;
	/*background-color: yellow;*/
}

.TGTableGroup form {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

.TGTableGroup .TGDataSet {
	margin-top: 2px;
}

.TGTableGroup .TGButtonsPanel {
	padding: 0px 00px 0px 0px;
	margin: 0px 0px 0px 0px;
	/*background-color: red;*/
}
