a img,:link img,:visited img { border:none }

body,html
  {
   font-family: "trebuchet MS", Arial, Helvetica, "Sans Serif"; 
   text-align: center;
   background: #505050 url(../pics/backgroundCenter.png) repeat-x;
   color: #000000;
   padding: 0;
   margin: 0;
   font-size: 1em;
   height: 100%;
   overflow: hidden;
}

#obsah {
	min-height: 300px;
	background: #505050 url(../pics/backgroundToolBar.png) repeat-x;
	margin: 34px 0 0 0;
	padding: 100px 0 0 0;
}

#loginform {
	width: 500px;
	height: 236px;
	background: #e8e8e8;
	margin: auto;
	text-align: left;
}

#loginhead {
	position: absolute;
	background: url(../pics/loginUser.png) no-repeat;
	height: 128px;
	width: 128px;
	margin: -50px 0 0 0;
}

#loginform h1 {
	padding: 20px 0 0 170px;
	margin: 0;
	color: #b4b4b4;
	font-size: 3em;
}

#loginform fieldset {
	border: none;
	padding: 30px 43px 0 43px;
}

#loginform fieldset input {
   font-family: "trebuchet MS", Arial, Helvetica, "Sans Serif"; 
	width: 254px;
	float: left;
	font-size: 0.9em;
	margin: 3px 0 0 0;
}

#loginform fieldset label {
	width: 141px;
	float: left;
	font-size: 0.9em;
	text-align: right;
	padding: 3px 5px 0 0;
	margin: 3px 0 0 0;
}

.button1 {
	float: right;
}

.button1 input {
	width: auto !important;
}

#allover{
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.5;
    -moz-opacity: 0.5;
}

#DialogBcg {
    position: absolute;
    z-index: 10;
	top: 0;
	left: 0;
	background: transparent;
	width: 100%;
	padding: 180px 0 0 0;
}

#aDialog {
    width: 560px;
    height: 100px;
	margin: auto;
}

.errorDialog {
	background: #FFBFBF;
	color: red;
	font-weight: bold;
	padding: 20px;
}

.errorDialog p {
	border-top: 1px solid #ff0000;
	border-bottom: 1px solid #ff0000;
	padding: 5px;
}

#hlavny {
	height: 100%;
	background: #225207;
}

#lavy {
	width: 15%;
	float: left;
	height: 100%;
	background: #505050;
}

#pravy {
	width: 85%;
	padding: 0;
	float: left;
	height: 100%;
	background: #E8E8E8;
	overflow: auto;
}

#lavy table {
	border: 1px solid #000000;
	margin: 10px auto;
	width: 95%;
	text-align: left;
}

#lavy table a {
	color: #ffffff;
	padding: 3px 3px 3px 10px;
	display: block;
	font-size: 0.8em;
	background: url(../pics/bigbutton.normal.png) repeat-x;
	text-decoration: none;
}

#lavy table a:hover {
	color: #333333;
	font-weight: bold;
	background: url(../pics/bigbutton.selected.png) repeat-x;
}

#pravy table {
	box-sizing: border-box;
	border: 4px solid #505050;
	margin: 10px;
	width: calc(100% - 20px);
	text-align: left;
}

#pravy table a {
	color: #000000;
	padding: 3px 3px 3px 10px;
	display: block;
	font-size: 0.8em;
	text-decoration: none;
	white-space: nowrap;
	height: 18px;
}

#pravy table a:hover {
	color: #333333;
	background: url(../pics/backgroundRow.rollover.png) repeat-x;
}

#pravy table tr.parny {
	background: url(../pics/backgroundRow.odd.normal.png) repeat-x;	
}

#pravy table tr.neparny {
	background: url(../pics/backgroundRow.even.normal.png) repeat-x;	
}

#pravy table td {
	border-bottom: 1px solid #999999;
	border-left: 1px solid #999999;
}

#pravy table th {
	background: url(../pics/backgroundHeader.normal.png) repeat-x bottom;
	border-bottom: 1px solid #000000;
	border-left: 1px solid #000000;
}

.toolbar {
	background: #505050;
	border-left: none !important;
}

.toolbar a {
	width: 26px;
	height: 26px !important;
	padding: 0 0 5px 0 !important;
	float: left;
}

.toolbar a.novy {
	background: url(../pics/iconNew.png) no-repeat;
}

.toolbar a.novy:hover {
	background: url(../pics/iconNew.png) no-repeat !important;
}

.toolbar a.prvastrana {
	background: url(../pics/iconFirst.png) no-repeat;
}

.toolbar a.prvastrana:hover {
	background: url(../pics/iconFirst.png) no-repeat !important;
}

.toolbar a.predchadzajucastrana {
	background: url(../pics/iconPrevious.png) no-repeat;
}

.toolbar a.predchadzajucastrana:hover {
	background: url(../pics/iconPrevious.png) no-repeat !important;
}

.toolbar a.nasledujucastrana {
	background: url(../pics/iconNext.png) no-repeat;
}

.toolbar a.nasledujucastrana:hover {
	background: url(../pics/iconNext.png) no-repeat !important;
}

.toolbar a.poslednastrana {
	background: url(../pics/iconLast.png) no-repeat;
}

.toolbar a.poslednastrana:hover {
	background: url(../pics/iconLast.png) no-repeat !important;
}

.toolbar a.ulozit {
	background: url(../pics/iconSave.png) no-repeat;
}

.toolbar a.ulozit:hover {
	background: url(../pics/iconSave.png) no-repeat !important;
}

.toolbar a.upravit {
	background: url(../pics/iconEditView.selected.png) no-repeat;
}

.toolbar a.upravit:hover {
	background: url(../pics/iconEditView.selected.png) no-repeat !important;
}

.toolbar a.navrat {
	background: url(../pics/iconUndo.png) no-repeat;
}

.toolbar a.navrat:hover {
	background: url(../pics/iconUndo.png) no-repeat !important;
}

.toolbar a.ok {
	background: url(../pics/iconOk.png) no-repeat;
}

.toolbar a.ok:hover {
	background: url(../pics/iconOk.png) no-repeat !important;
}

div.obrazky div div a.zmazat {
	background: url(../pics/iconCancel.png) no-repeat;
}

.oddelovac {
	float: left;
	width: 3px;
	height: 31px;
	margin: 0 5px 0 5px;
	background: url(../pics/separator.png);
}

.tableright {
	text-align: right;
	font-size: 0.9em;
	padding: 2px 5px 2px 0;
}

.tableleft {
	text-align: left;
	font-size: 0.9em;
	padding: 2px 0 2px 5px;
}

.tableleft  input {
	font-size: 0.9em;
    font-family: "trebuchet MS", Arial, Helvetica, "Sans Serif";
	width: 275px;
}

.tableleft input[type=checkbox] {
	width: auto;
}

.tableleft  textarea.velky {
	font-size: 0.9em;
    font-family: "trebuchet MS", Arial, Helvetica, "Sans Serif";
	width: 726px;
}

.tableleft  textarea.stlpec {
	font-size: 0.9em;
    font-family: "trebuchet MS", Arial, Helvetica, "Sans Serif";
	width: 275px;
}

table.nogrid td {
	border-left: none !important;
	border-bottom: none !important;
}

.tableleft  select {
	font-size: 0.9em;
    font-family: "trebuchet MS", Arial, Helvetica, "Sans Serif";
	width: 279px;
}

.bezlinku {
	font-size: 0.9em;
	font-style: italic;
	padding: 3px 3px 3px 10px;
}

#pravy h1 {
	margin: 0 0 0 3%;
	padding: 0;
	text-align: left;
	font-size: 1.2em;
}

#displej {
	width: 100%;
	height: 25%;
	background: white;
	border-bottom: 5px solid #000000;
	text-align: left;
	font-weight: bold;
	float: left;
}

#displejtext {
	width: 68%;
	height: 100%;
	overflow: hidden;
	padding: 1%;
	float: left;
	font-size: 4em;
}


#displejcena {
	width: 28%;
	overflow: hidden;
	padding: 83px 1% 83px 1%;
	float: left;
	text-align: right;
	font-size: 5em;
}

.displejsk {
	font-size: 0.4em;
}

#hlavnypanel {
	background: white;
	width: 100%;
	float: left;
	height: 75%;
}

#zoznampoloziek {
	width: 69%;
	height: 100%;
	float: left;
	overflow: auto;
	border-right: 5px solid #000000;
	background: url(../pics/bonsaj-logo.jpg) no-repeat center;
}

#osluha {
	width: 30%;
	height: 200px;
	float: left;
	overflow: auto;
}

#spolu {
	width: 28%;
	font-size: 2em;
	font-weight: bold;
	text-align: left;
	padding: 1%;
	float: left;
	height: 136px;
	border-bottom: 1px solid #000000;	
}

#container {
	display: table;
	width: 100%;
	background: #ffffff;
	font-size: 1.2em;
}

.row {
	display: table-row;
}

.popispolozky {
	display: table-cell;
	width: 70%;
	text-align: left;
	padding: 1%;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
}

.cenapolozky {
	display: table-cell;
	width: 18%;
	border-bottom: 1px solid #000000;
	border-right: 1px solid #000000;
	text-align: right;
	display: table-cell;
	padding: 1%;
}

.zmazatpolozku {
	display: table-cell;
	width: 6%;
	border-bottom: 1px solid #000000;
	text-align: center;
	display: table-cell;
	padding: 1%;
}

#cenaspolu {
	text-align: right;
	font-size: 1.5em;
	font-weight: bold;
}

#cenaspolusk {
	text-align: right;
	font-size: 0.8em;
	font-weight: bold;
}

#poznamka {
	width: 28%;
	text-align: left;
	font-size: 1.5em;
	font-weight: bold;
	float: left;
	border-bottom: 1px solid #000000;
	padding: 1%;
	height: 5px;
}

#vratit {
	width: 28%;
	text-align: left;
	font-size: 1.5em;
	font-weight: bold;
	float: left;
	border-bottom: 1px solid #000000;
	padding: 1%;
	height: 5px;
}

div.obrazky {
	width: calc(100% - 20px);
	margin: 10px;
	float: left;
	overflow: auto;
}

div.obrazky div {
	white-space: nowrap;
	text-align: left;
}

div.obrazky div div {
	position: relative;
	display: inline-block;
}

div.obrazky div div a {
	width: 26px;
	height: 26px !important;
	padding: 0 0 5px 0 !important;
	float: left;
	position: absolute;
	right: 16px;
	top: 6px;
	display: none;
}

div.obrazky div div:hover a {
	display: inline;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}
