/* -----------------------------------------------------------------------------
// project: FRAMEWORK 2
// version: 1.04
// release: 20.11.2022
// charset: UTF-8
// by:      Stanislav TOULA
//          s.toula@mminfo.biz
// ---------------------------------------------------------------------------*/

/* -----------------------------------------------------------------------------
   HTML Elementy
   ---------------------------------------------------------------------------*/
/*
a{
  color: #000000;
  background-color: transparent;
}
a:hover{
  color: #FFFFFF;
  background-color: #000000;
}
*/
body{
  background-color: #FFFFEE;
  font-family:Arial,Helvetica,sans-serif;
  font-size: 0.8em;
  color: #444499;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  border: 0;
  padding: 1px;
  vertical-align: top;
}
form{
  margin: 0;
  padding: 0;
  border: 0;
  /*text-align: left;*/
  font-size: 1em;
}
img{
  border: 0;
}
h1, .h1{
  color: brown;
  text-align: left;
  font-size: 2em;
  margin: 0;
}
h2, .h2{
  color: brown;
  text-align: left;
  font-size: 1.5em;
  margin: 0;
}
h3, .h3{
  color: brown;
  text-align: left;
  font-size: 1em;
  margin: 0;
}
p{
  color: black;
  text-align: left;
  font-weight: normal;
}
table{
  vertical-align: top;
}
a{
  text-decoration: none;
}

/* -----------------------------------------------------------------------------
   hlavni bloky HTML stranky (styly jsou navazany na ID elementu <DIV> nebo <SPAN>)
   ---------------------------------------------------------------------------*/
#body_header{
  border-bottom: 1px darkblue solid;
}
#body_header .application_info{}
#body_header .user_info{}
#body_main{}
#body_footer{}
#copyright{
  z-index: 10;
  position: fixed;
  bottom: 1px;
  width: 99%;
  text-align: center;
  font-size: 0.75em;
  color: green; /*darkcyan;*/
}

/* -----------------------------------------------------------------------------
   prvky na obrazovce
   ---------------------------------------------------------------------------*/
.bold{
  font-weight: bold;
}
.error{
  color: red;
}
.warning{
  color: darkblue;
}
.icon16{}
.icon32{}
.info{
  color: darkblue;
}
label, .label{
  text-align: right;
  font-weight: normal;
}
.mandatory{
  color: darkblue;
  font-weight: bold;
}
.wrapper{
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 15px;
}
.tabset{
  margin: 2px;
}
.noprint{
}

#btn_exit{
  position: relative;
  top: 40px;
  right: 40px;
  z-index: 100;
}

#onstart_message{
  font-family: Verdana, Helvetica, sans-serif;
  border: 1px green dotted;
  margin: 1em;
  padding: 1em;
  background-color: #EEEEDD;
  height: 200px;
  overflow: auto;
}

.span_item, .span_box{
  display: inline-block;
  padding: 2px 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.13);
  background-color: #CCCCCC; /*green; /*#23A3F8*/
  color: black;
  border: 1px green solid;
}
.span_box{
  height: 80px;
  overflow: auto;
}

/* -----------------------------------------------------------------------------
   buttons
   ---------------------------------------------------------------------------*/
.button_green, .button_red, .button_yellow, .button_blue, .button_disabled,
.button_run, .button_search, .button_print, .button_clear, .button_tree,
.button_link, .button_export, .button_refresh, .button_exit, .button_delete{
  display: inline-block;
  padding: 10px 5px;
  margin-top: 15px;
  cursor: pointer;
  -moz-border-radius: 2px;
  -webkit-border-top-right-radius:2px;
  -webkit-border-top-left-radius:2px;
  -webkit-border-bottom-right-radius:2px;
  -webkit-border-bottom-left-radius:2px;
  border-top-right-radius:2px;
  border-top-left-radius:2px;
  border-bottom-right-radius:2px;
  border-bottom-left-radius:2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.13);
  background-color: #669933; /*green; /*#23A3F8*/
  color: white;
}
.button_green{
  background: #669933; /*green; /*#23A3F8*/
  margin-top: 5px;
  color: white;
}
.button_green:hover{
  background: yellowgreen;
}
.button_red{
  background: red;
  color: white;
}
.button_red:hover{
  background: orange;
}
.button_yellow{
  background: yellow;
  color: black;
}
.button_yellow:hover{
  background: orange;
}
.button_blue{
  background: #3333CC;
  color: white;
}
.button_blue:hover{
  background: #6666FF;
}
.button_disabled{
  background: lightgray;
  color: darkgray;
}
.button_delete, .button_delete:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/delete.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_delete:hover{
  background-color: yellowgreen;
}
.button_exit, .button_exit:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/exit.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_exit:hover{
  background-color: yellowgreen;
}
.button_export, .button_export:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/export.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_export:hover{
  background-color: yellowgreen;
}
.button_run, .button_run:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/run.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_run:hover{
  background-color: yellowgreen;
}
.button_search, .button_search:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/search.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_search:hover{
  background-color: yellowgreen;
  background-image: url('../images/icons/32/search.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_print, .button_print:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/printer.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_print:hover{
  background-color: yellowgreen;
  background-image: url('../images/icons/32/printer.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_clear, .button_clear:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/hide.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_clear:hover{
  background-color: yellowgreen;
  background-image: url('../images/icons/32/hide.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_tree, .button_tree:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/tree.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_tree:hover{
  background-color: yellowgreen;
  background-image: url('../images/icons/32/tree.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}

.button_link, .button_link:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/link.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_link:hover{
  background-color: yellowgreen;
  background-image: url('../images/icons/32/link.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_refresh, .button_refresh:hover{
  padding-left: 38px;
  background-image: url('../images/icons/32/refresh.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}
.button_refresh:hover{
  background-color: yellowgreen;
  background-image: url('../images/icons/32/refresh.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}

/* -----------------------------------------------------------------------------
   box pro kratke zpravy
   ---------------------------------------------------------------------------*/
.short_msgbox{
  position :absolute;
  top: 50%;
  left: 50%;
  width:250px;
  height:60px;
  background:black;
  color: red;
  padding:10px;
  padding-top:20px;
  border :3px solid red;
  -moz-box-shadow:#999 2px 0px 3px;
  -webkit-box-shadow:#999 2px 0px 3px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-top-right-radius:8px;
  border-top-left-radius:8px;
  border-bottom-right-radius:8px;
  border-bottom-left-radius:8px;
  text-align: center;
  font-size: bold;
  font:12px/14px Arial, Helvetica, sans-serif;
}
.short_msgbox .icon{
  position:absolute;
  margin-top:-35px;
  margin-left:-25px;
  margin-bottom:10px;
}

/* -----------------------------------------------------------------------------
   stylovani buttonu pro odrolovani okna nahoru
   ---------------------------------------------------------------------------*/
.scrollToTop{
	width:50px; 
	height:50px;
	padding:0px; 
	text-align:center; 
	background: whiteSmoke;
	font-weight: bold;
	color: #444;
	text-decoration: none;
	position:fixed;
	bottom:10px;
	right:10px;
	display:none;
	background: url("./../images/icons/32/goto_up.png") no-repeat 0px 20px;
}
.scrollToTop:hover{
	text-decoration:none;
}

/* -----------------------------------------------------------------------------
   stylovani dat/hodnot
   ---------------------------------------------------------------------------*/
.disabled{
  color: #666666;
  background-color: #EEEEEE;
}
.collapsed{
  display:none;
}
.expanded{
  display:block;
}
.center{
  text-align: center;
}
.left{
  text-align: left;
}
.middle{
  vertical-align: middle;
}
.top{
  vertical-align: top;
}
.nowrap{
  white-space: nowrap;
}
.right{
  text-align: right;
}
.selected{
  background-color: #3333CC;
  color: #FFFFFF;
}
.hidden{
  visibility: hidden;
  display: none;
}
.halfwidth{
  width: 50%;
}
.middlebox{
  margin: 1em;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}

.bold{
}

/* -----------------------------------------------------------------------------
   stylovani dlouhych textu
   ---------------------------------------------------------------------------*/
.longtext_part1{
  display: inline;
}
.longtext_part2{
  display: inline;
  text-decoration: none;
}
.longtext_part3{
  display: none;
}
.longtext_part4{
  display: none;
  text-decoration: none;
}
/* -----------------------------------------------------------------------------
   napoveda
   ---------------------------------------------------------------------------*/
#help{
  width: 50%;
  background-color: #EEEEDD;
  color: darkblue;
  border-color: darkgray;
  padding: 10px;
  -moz-box-shadow:#999 2px 0px 3px;
  -webkit-box-shadow:#999 2px 0px 3px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-top-right-radius:8px;
  border-top-left-radius:8px;
  border-bottom-right-radius:8px;
  border-bottom-left-radius:8px;

}

/* -----------------------------------------------------------------------------
   data - tabulky
   ---------------------------------------------------------------------------*/
.grid{
  color: green;
  width : 99%;
  border: 0;
  margin: 0;
  padding: 1px;
  font-family: Verdana, Tahoma, Helvetica, Arial;
  font-size: 1em;
  font-weight: normal;
  overflow: scroll;
}
.grid_footer{
}
.grid_column_cell{
  background-color: #AAAAAA;
  height: 18px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  padding: 0 4px;
}
.grid_column_title{
  left: 0;
  top: 0;
  width: 99%; 
}
.grid_column_actions{
  text-align: right;
  right: 0;
  top: 0;
  width: 32px;
}
.grid_headerrow{
  background-color: #999999;
  color: black;
}
.grid_darkrow{
  background-color: #CCCCCC;
}
.grid_lightrow{
  background-color: #EEEEEE;
}
.grid_selectedrow{
  background-color: #669933; /*green; /*#99FF99;*/
}
.grid_focusedrow{
  background-color: #669933;
  color: #FFFFFF;
}
.grid_cell, .grid_dynamic_cell{
  padding: 2px 4px;
}

.grid_dynamic_cell:hover{
  background-color: yellowgreen;
}
.grid_row_cell{
  white-space: nowrap;
  padding: 0 4px;
  text-align: right;
}
.grid_navigator{
  /*background-color: yellow;*/
  width: 99%;
}

/* -----------------------------------------------------------------------------
   data - stromy
   ---------------------------------------------------------------------------*/
.tree{
  font-weight: normal;
  background-color: white;
  border: 1px black solid;
  width: 480px;
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-top-right-radius:5px;
  -webkit-border-top-left-radius:5px;
  -webkit-border-bottom-right-radius:5px;
  -webkit-border-bottom-left-radius:5px;
  border-top-right-radius:5px;
  border-top-left-radius:5px;
  border-bottom-right-radius:5px;
  border-bottom-left-radius:5px;
  padding: 3px;
}
.tree .title{
  font-weight: bold;
  padding-left: 11px; /* 9px je ikona, 2px padding - viz ".tree .item img" */
}
.tree .item{
  color: black;
  white-space: nowrap;
  overflow: hidden;
}
.tree .item img{
  padding-right: 2px;
}
.tree .sub_item{
  color: black;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
}
.tree .sub_item a{
  text-decoration: none;
  color: darkblue;
}
.tree .sub_item a:visited{
  color: darkblue;
}
.tree .navigator{
  background-color: lightgray;
  padding: 4px;
}
.tree .navigator .button, .button_disabled{
  display: inline-block;
  padding: 10px 15px;
  margin-top: 15px;
  cursor: pointer;
  -moz-border-radius: 2px;
  -webkit-border-top-right-radius:2px;
  -webkit-border-top-left-radius:2px;
  -webkit-border-bottom-right-radius:2px;
  -webkit-border-bottom-left-radius:2px;
  border-top-right-radius:2px;
  border-top-left-radius:2px;
  border-bottom-right-radius:2px;
  border-bottom-left-radius:2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.13);
}
.tree .navigator .button{
  background: #669933; /*green; /*#23A3F8*/
  color: white;
}
.tree .navigator .button:hover{
  background: yellowgreen;
}
.tree .navigator .button_disabled{
  background: lightgray;
  color: darkgray;
}

/* -----------------------------------------------------------------------------
   data - formulare, prohlizece
   ---------------------------------------------------------------------------*/

.textarea{
  background-color: lightgray;
  color: gray;
}

.editor{}

.viewer{}

/* navigacni radek u pohledu na zaznam (Editor, viewer) */
.detail_navigator{
  /*background-color: yellow;*/
  width: 99%;
  vertical-align: middle;
  white-space: nowrap;
}
/* leva cast navigacniho radku (standardni ovladani) */
.detail_navigator .left_part{
  display: inline;
  text-align: left;
  float: top;
  top: 0;
  left: 0;
  position: relative;
}
/* prava cast navigacniho radku (pridane ovladani) */
.detail_navigator .right_part{
  display: inline-block;
  text-align: right;
  float: right;
  top: 0;
  right: 0;
  position: relative;
  float: top;
}
/* -----------------------------------------------------------------------------
   searching
   ---------------------------------------------------------------------------*/
.found_0{
  color:red;
  background-color:yellowgreen;
  font-weight: bold;
}
.found_1{
  color:white;
  background-color:yellowgreen;
  font-weight: bold;
}
.found_2{
  color:yellow;
  background-color:yellowgreen;
  font-weight: bold;
}
.found_3{
  color:black;
  background-color:yellowgreen;
  font-weight: bold;
}

.search_bar{
  font-weight: normal;
  background-color: white;
  border: 1px black solid;
  width: 360px;
  -moz-border-radius: 8px 8px 8px 8px;
  -webkit-border-top-right-radius:8px;
  -webkit-border-top-left-radius:8px;
  -webkit-border-bottom-right-radius:8px;
  -webkit-border-bottom-left-radius:8px;
  border-top-right-radius:8px;
  border-top-left-radius:8px;
  border-bottom-right-radius:8px;
  border-bottom-left-radius:8px;
  padding: 8px;
}

/* -----------------------------------------------------------------------------
   ikona progress (wait...]
   ---------------------------------------------------------------------------*/
.progress{
  position :absolute;
  top: 50%;
  left: 50%;
  width:250px;
  height:60px;
  background:black;
  color: red;
  padding:10px;
  padding-top:20px;
  border :3px solid red;
  -moz-box-shadow:#999 2px 0px 3px;
  -webkit-box-shadow:#999 2px 0px 3px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-top-right-radius:8px;
  border-top-left-radius:8px;
  border-bottom-right-radius:8px;
  border-bottom-left-radius:8px;
  text-align: center;
  font-size: bold;
  font:12px/14px Arial, Helvetica, sans-serif;
}
.progress_hide{
  display: none;
}
.progress_show{
  display: block;
}

/* -----------------------------------------------------------------------------
   debuger
   ---------------------------------------------------------------------------*/
#debuger{
  font-family: "Courier New";
  font-size: 12px;
}
#debuger .title{
  background-color: red;
  color: yellow;
  font-weight: bold;
  padding-left: 2px;
}
#debuger .text{
  color: black;
  font-weight: normal;
}

