body, div, form, hr, img {
    margin: 0;
    padding: 0;
    border: 0;
}

body, p, td, li, div {
    font-family: 'verdana', sans-serif;
    font-size: 8pt;
}

body {
    text-align: center;
    padding: 0;
    background: #fff;
    background: url('/img/body.png') no-repeat top center;
}

p, td, li, div, input, select, option {
    text-align: left;
}

h1, h2, h3, h4 {
    font-weight: normal;
    color: #000;
    font-stretch: semi-condensed;
}

h2 {
    padding: 0;
    margin: 1em 0;
    font-size: 130%;
    text-align: left;
}

h3 {
    font-size: 120%;
    padding: 0;
    margin : .75em 0;
    font-weight: bold;
}

h4 {
    font-size: 120%;
}

hr, .Cleaner {
 clear: both;
 visibility: hidden;
}

header {
 height: 94px;
 background: url('/img/logo.png') no-repeat top right;
}

header h1, header h1 span {
 width: 300px; height: 94px;
 cursor: pointer;
}

header h1 {
 position: relative;
 top: 0; left: 0;
 margin: 0 0 0 0;
 overflow: hidden;
 float: left;
}

header h1 span {
 position: absolute;
 top: 0; left: 0;
 z-index: 1;
 background: url('/img/mopos.png') no-repeat;
}

footer {
 clear: both;
 margin-top: 2em;
 font-size: 80%;
 text-align: center;
}

footer a {
 color: #000;
 text-decoration: none;
 font-weight: bold;
}

section {
    clear: both;
}

section.NoMenu {
   padding-top: 70px;
}

nav {
    width: 100%;
    height: 70px;
}

#All {
 width: 1000px;
 margin: 0px auto;
 text-align: left;
}

.Error {
   border: 1px solid red;
   background-color: #ffdddd;
   color: #f00;
}

.Alert {
   border: 1px solid #ff910e;
   background-color: #ffffcc;
   color: #ff910e;
}

div.Alert {
    margin: 1em 0;
    padding: 2em;
}

div.Error {
    margin: 1em 0;
    padding: 2em;
}

/* detal zony v prehledu zon */
.Detail {
    background-color: #f5f5f5;
}

div.ZoneDump {
    margin: 2px 2ex;
}

#UserInfo {
    float: right;
    text-align: right;
}

#UserInfo a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

#UserInfo a:hover {
    color: #f00;
    text-decoration: underline;
}

.ui-dialog form {
    text-align: left;
}
.ui-dialog form {
    margin: 1em;
}

table.dataTable tbody td {
  padding: 1px 3px;
}

table.dataTable tbody td a {
  color: #000;
}

td.Opener span {
	width: 16px;
	height: 16px;
    display: block;
    float: left;
	background-image: url('/css/smoothness/images/ui-icons_888888_256x240.png');
    background-position: -32px 0;
}

td.Opened span {
	width: 16px;
	height: 16px;
    display: block;
    float: left;
	background-image: url('/css/smoothness/images/ui-icons_888888_256x240.png');
    background-position: -64px 0;
}


.dataTables_wrapper .dataTables_processing {
    margin-left: -110px;
    width: 220px;
    height: 85px;
    z-index: 100;
    border: 1px solid #000;
    background-color: #fefefe;
}


td.Actions {
    text-align: center;
}

.Raw {
    white-space: pre;
    font-family: monospace;
}

.editable-empty, .editable-empty:hover, .editable-empty:focus {
    color: #999;
    font-style: normal;
}

.editable-empty:hover, .editable-empty:focus {
    color: #f00;
}

/* Navigace */

 #MainMenu{
	background: transparent; /*background of menu bar (default state)*/
	width: 100%;
	font-size: 12px;
	letter-spacing:1px;
	margin:0;
	padding:0;
}

#MainMenu ul{
	z-index:100;
	list-style-type: none;
	list-style-position:outside;
    text-transform: uppercase;
	border:0;
	margin: 0;
	padding: 0;
	border:0;
}

/*Top level list items*/
#MainMenu ul li{
	position: relative;
	display: inline;
	float: left;
	text-align:center;
	margin: 0;
	padding: 0;
	border:0;
}

/*Top level menu link items style*/
#MainMenu ul li a{
	display: block;
	color: white;
	padding: 0px 20px;
	color: #2d2b2b;
	text-decoration: none;
    line-height: 70px;
}

* html #MainMenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
	display: inline-block;
}

#MainMenu ul li a:link, #MainMenu ul li a:visited{
	color: white;
}
#MainMenu ul li ul li a:link, #MainMenu ul li ul li a:visited{
	color: white;
}

#MainMenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
	background: transparent url("/img/menu.png") top repeat-x;
	color: white;
}

#MainMenu ul li a:hover{
	background: transparent url("/img/menu.png") top repeat-x;  /*background of menu items during onmouseover (hover state)*/
	color: white;
}

#MainMenu ul li ul li a.selected{
	background: #009BC1;
	color: white;
}

#MainMenu ul li ul li a:hover{
	background: #009BC1;
}

#MainMenu ul li a.active{
	background: transparent url("/img/menu.png") top repeat-x;  /*background of menu items during onmouseover (hover state)*/
	color: white;
}

/*1st sub level menu*/
#MainMenu ul li ul{
	position: absolute;
	left: 0;
	display: none; /*collapse all sub menus to begin with*/
	visibility: hidden;
	font-size: 11px;
	letter-spacing:1px;
}

/*Sub level menu list items (undo style from Top level List Items)*/
#MainMenu ul li ul li{
	display: list-item;
	float: none;
	text-align:left;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
#MainMenu ul li ul li ul{
	top: 0;
}

/* Sub level menu links style */
#MainMenu ul li ul li a{
	width: 160px; /*width of sub menus*/
	padding: 0px 11px;
	margin: 0;
    line-height: 30px;
	border-top-width: 0;
	border-bottom: 1px solid #ccc;
	background: #555; /*background of menu items (default state)*/
	width:178px;
}

/* Holly Hack for IE \*/
* html #MainMenu{height: 1%;} /*Holly Hack for IE7 and below*/

div.checkbox {
    direction: rtl;
}

div.checkbox label {
    display: inline;
}

tr.Contract td {
    background-color: #eeffee;
}
tr.Expired td {
    background-color: #ffdddd;
}

#AccountDetail {
    padding: 1em;
}
#AccountDetail table {
    float: left;
    margin-right: 1em;
}

td.th {
    font-weight: bold;
    text-align: right;
}

table.dataTable tr.Error td {
   background-color: #ffdddd;
   color: #f00;
}

