html{
  height: 100%;
}
body{
  margin: 0px;
  padding: 0px;
  height: 100%;
  background-color: #ecf4ff;
  font-family: sans-serif;
  font-size: 8pt;
}
/*************
 * login
 *************/
div#login{
    position: relative;
    top: 90px;
}
div#login div#bg_color{
    padding: 2px;
}
div#login div#bg_color table{
    padding: 20px;
    border: 1px solid #CBD4DF;
}
div#login div#bg_color table .submit {
    border: 1px solid #656565;
    background-color: #CBD4DF;
    font-weight: bold;
    padding: 4px 6px 3px 3px;
    font-size: 8pt;
}
div#login div#bg_color span.form_error {
    display: block;
    color: #FF0000;
}


/*************
 *
 * layout
 *
 *************/

#main{
    width: 100%;
}

.clear {
  font-size: 0;
  line-height: 0;
  border: 0;
  height: 0;
  clear: both;
}

a {
  color: #336699;
}

a:hover {
  text-decoration: none;
}


/**
 * head
 */
#head{
  width: 100% !important;
  background-color: #fff;
  font-family: sans-serif;
  font-size: 8pt;
  font-weight: bold;
  height: 60px;
}
#head_right{
  text-align: right;
  padding-top: 10px;
  padding-right: 35px;
  width:49%;
  float: right;
}

#head_left{
  float: left;
  width:43%;
  text-align: left;
  padding: 7px 0 0 48px;
}
/**
 * content container
 */
#content{
  padding: 0 35px;
}

/**
 * content - top submenu
 */
#content_menu_toolbar{
  width: 100% !important;
  text-align: left;
  background-color: #656565;
  height: 32px;
}
#content_menu_toolbar_obalka{
    padding: 5px;
    position: relative;
}

/**
 * content - right content container
 */
#content_middle{
  width: 100% !important;
  position: relative;
  padding: 5px;
  clear: both;
}

#content_middle_obalka{
    text-align: left;
    
}

#content_middle_obalka input[type="submit"] {
    margin-top: 10px;
}


/**
 * footer
 */
#footer{
  width: 100% !important;
  height: 100%;
  background-color: white;
  padding: 5px;
}

/**
 * top submenu
 */
.toolbarmenu {
  margin: 0px;
  padding: 3px 3px 3px 35px;
  /*padding-left: 10px;*/
  list-style-type: none;
  display: block;
  height: 25px;
  float: left;

}
.toolbarmenu li {
  background-repeat: no-repeat;
  color:#000000;
  text-decoration:none;
  display: inline;
}

.toolbarmenu li.selected a{
  background: #999999;
}

.toolbarmenu li a {
  color: #fff;
  padding:2px;
  text-decoration:none;
  font-family: sans-serif;
  font-size: 9pt;
  padding: 4px 9px;
}
.toolbarmenu li a:hover {
  background: #999999;
}

.toolbarmenu li.separator {
    background-color: white;
}

/*
 * FORM
 */
 
 .form {
  padding: 10px;
 }
 
.form td {
    text-align: left;
    vertical-align: top;
    font-family: sans-serif;
    font-size: 8pt;
    padding: 2px;
}

.form .np, .form .pp {
    padding: 4px 6px 3px 3px;
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
    font-family: sans-serif;
    font-size: 8pt;
    background-color: #D4FA3E;
    
}
.form .pp {
    border-right: 2px solid #656565;
    background-color: #cbd4df;
}
.form .np {
    border-right: 2px solid #656565;
    background-color: #ccc;
}
.form .pp label {
    font-weight: bold;
    padding-left: 9px;
    
}


.form .input {
    width: 100%;
}

.form td div {
    padding: 2px 0;
}

.form table {
    border-collapse: collapse;
}

.form table td {
    vertical-align: middle;
}

.form_error{
  color: red;
}

/*
 * TABLE
 */

 .table {
    clear: both;
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #656565;
    font: 1.0em Arial, sans-serif;
    margin: 10px 0;
    background: #fff;
}

.table thead {
    background: #cbd4df;
}

.table tfoot {
    background: #9CB72E;
    color: white;
    font-weight: bold;
}

.table tfoot td {
    text-align: center;
    border: none;
    border-right: 1px solid #ebebeb;
    padding: 2px 5px 0 5px;
    margin: 0;
    vertical-align: middle;
    text-align: right;
}

.table thead th {
    text-align: center;
    border: none;
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #656565;
    background-color: #cbd4df;
    padding: 4px 8px;
    margin: 0;
    vertical-align: middle;
    width: auto;
    cursor: default;
}

.table thead th span {
    margin: 0 4px 0 5px;
}

.table tbody td {
    border-right: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 5px;
    white-space:nowrap;
}

.table tbody td.ovladani a img {
    border: 0px;
}

.table tbody tr.tr-oddelovac td {
    border-top: 2px solid #defaa1;
}

.table .hover {
    background-color: #ecf4ff;
    cursor: pointer;
    color: black;
}

.table thead th.sortable {
    cursor: pointer;
    background: url("../images/t-sipka-dolu-bila.gif") no-repeat scroll 2% #9CB72E;
}

.table thead th.sortable a {
    color: black;
    text-decoration: none;
}

.table thead th.sortable:hover {
    background-color: #ecf4ff;
    color: #000;
}

.table thead th.sortselected{
    color: #000;
}

.table thead th.asc {
    background: url("../images/t-sipka-dolu-bila.gif") no-repeat scroll 2% #cbd4df;
}

.table thead th.desc {
    background: url("../images/t-sipka-nahoru-bila.gif") no-repeat scroll 2% #ecf4ff;
}

a.button{ text-decoration: none; border: 0px; }
a.button:link{ text-decoration: none; border: 0px; }
a.button:visited{ text-decoration: none; border: 0px; }
a.button:active{ text-decoration: none; border: 0px; }
a.button:hover{ text-decoration: none; border: 0px; }
img{border: 0px;}

a.plus{background-image: url('../images/icon_plus.gif'); background-repeat: no-repeat;}
a.minus{background-image: url('../images/icon_minus.gif'); background-repeat: no-repeat;}

div.accordion-head{ font-weight: bold; background-color: #CBD4DF; height: 25px; border-bottom: 1px solid white; width: 350px; }
div.accordion-head a{color: black;text-decoration: none;display: block;padding: 2px;}

div#fast_search{background-color: #CBD4DF; height: 35px; width: 100%; padding: 0; margin: 0;}
div#fast_search form{position: absolute; padding: 0px; display: block; margin: -7px 3px 0 4px;}
div#fast_search input.find{ background-image: url('../images/icon_find.png'); background-repeat: no-repeat; background-position: right; padding-right: 18px; }
div#fast_search form div{ padding: 2px;}

div.paging{ position: relative; float: right; top: 10px; margin: 0 5px 20px 0}
div.paging a{ padding: 3px; text-decoration: none; color: #7F9F00; border: 1px solid white; }
div.paging a:hover{ background-color: white; color: #7F9F00;  border: 1px solid #D4FA3E;}
div.paging a.selected{ background-color: white; color: #7F9F00;  border: 1px solid #D4FA3E;}

#prava th { text-align: center; }
#prava td { text-align: center; }
#prava td.al,
#prava th.al { text-align: left; }
.ac { text-align: center; }

fieldset { margin-bottom: 25px; border: 1px solid #ccc; }
legend { font-weight: bold; font-size: 150%; padding: 0 10px; border: 1px solid #ccc; }