body{
	background: url("../images/main_bg.png");
	margin: 0;
	font-family: 'Arial', sans-serif;
}

fieldset{
	border: 0px;
	padding: 0px;
}

img{
	border: 0px;
}
table{
	border-collapse: collapse;
}

input[type="submit"]{
	color: #ffffff;
	font-weight: bold;
	background: #0090d5; /* Old browsers */
	background: -moz-linear-gradient(top,  #0090d5 0%, #0079b2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0090d5), color-stop(100%,#0079b2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #0090d5 0%,#0079b2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0090d5', endColorstr='#0079b2',GradientType=0 ); /* IE6-9 */
	border: 1px solid #0085c7;
	border-radius: 5px;
	cursor: pointer;
	padding: 5px 10px;
}

input[type="submit"]:hover{
	background: #0079b2; /* Old browsers */
	background: -moz-linear-gradient(top, #0079b2 0%, #0090d5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0079b2), color-stop(100%,#0090d5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #0079b2 0%,#0090d5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #0079b2 0%,#0090d5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #0079b2 0%,#0090d5 100%); /* IE10+ */
	background: linear-gradient(to bottom, #0079b2 0%,#0090d5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0079b2', endColorstr='#0090d5',GradientType=0 ); /* IE6-9 */

}

input[type="submit"].form-control-error{
	background: #000;
}

a{
	color: #0090d5;
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both !important;
	width: 0 !important;
	height: 0 !important;
}

.bold{
	font-weight: bold;
}

#main-wrapper{
	width: 1000px;
	margin: 0 auto 50px auto;
}

#header{
	height: 100px;
	background: url("../images/header_bg.png") repeat-x;
	
	border-top: 0px;
	border-radius: 0px 0px 5px 5px;
	box-shadow: 10px;
}

#logo{
	position: relative;
	left: 20px;
	top: 20px;
	color: #0090d5;
}

#login{
	position: relative;
	top: 25px;
	right: 20px;
}

#login input{
	padding: 5px 10px 5px 10px;
	margin-left: 5px;
	border: 1px solid #ccc;
	border-radius: 5px;
	color: #666666;
}

#login input[type="text"], #login input[type="password"]{
	width: 150px;
}

#login input[type="submit"]{
	color: #ffffff;
	font-weight: bold;
	width: 100px;
	background: url("../images/button_bg.png");
	cursor: pointer;
}

#login input[type="submit"]:hover{
	background: #00b0d5;
}

#login a{
	color: #0090d5;
	text-decoration: none;
	font-weight: bold;
}

#login a:hover{
	color: #006899;
}

#login label{
	display: block;
	font-size: 12px;
	color: #505050;
	padding-left: 8px;
}

#login .col{
	display: inline-block;
}

#login ul.errors, #login .errors li{
	padding: 0;
	margin: 0;
}

#login .errors li{
	background: url('../images/icons/dialog_error.png') no-repeat;
	font-size: 12px;
	color: #F00;
	margin-left: 10px;
	padding-left: 20px;
	list-style: none;
}

#menu{
	position: relative;
	margin-top: -5px;
	line-height: 42px;
	background: #0090d5; /* Old browsers */
	background: -moz-linear-gradient(top,  #0090d5 0%, #0079b2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0090d5), color-stop(100%,#0079b2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #0090d5 0%,#0079b2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0090d5', endColorstr='#0079b2',GradientType=0 ); /* IE6-9 */
	height: 42px;
	-webkit-box-shadow: 0px 2px 10px 2px #aaa;
	box-shadow: 0px 2px 10px 2px #aaa;
}

#menu li, #menu ul{
	margin: 0;
	padding: 0;
}

#menu ul{
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #fff;
}

#menu li{
	list-style: none;
	float: left;
	border-right: 1px solid #00628C;
}

#menu a{
	display:block;
	padding: 0px 15px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

#menu a:hover{
	background: #0079b2; /* Old browsers */
	background: -moz-linear-gradient(top, #0079b2 0%, #0090d5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0079b2), color-stop(100%,#0090d5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #0079b2 0%,#0090d5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #0079b2 0%,#0090d5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #0079b2 0%,#0090d5 100%); /* IE10+ */
	background: linear-gradient(to bottom, #0079b2 0%,#0090d5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0079b2', endColorstr='#0090d5',GradientType=0 ); /* IE6-9 */
}

#main{
	background: #fafafa;
	padding: 5px 0px 5px 20px;
	margin-top: -2px;
	color: #222;
}

#content{
	float: left;
	width: 760px;
	font-size: 90%;
	text-align: justify;
	padding-bottom: 30px;
}

#content h1{
	font-size: 16pt;
	color: #0090d5;
}

#content h2{
	font-size: 14pt;
	color: #0090d5;
}

#sidebar{
	float:right;
	width: 180px;
	padding-left: 10px;
	margin: 40px 0px;
	font-size: 90%;
}

#sidebar ul{
	padding: 0px;
	margin-bottom: 30px;
}

#sidebar li{
	padding-left: 5px;
	list-style: none;
}

#sidebar a{
	color: #000;
}

#sidebar li a{
	padding-left: 5px;
	line-height: 26px;
	border-top: 1px solid #e9e9e9;
	display: block;
}

#sidebar li:last-child a{
	border-bottom: 1px solid #e9e9e9;
}

#sidebar li a:hover{
	background-color: #D3EDFF;
}

#sidebar h1{
	font-size: 12pt;
	background: #0090d5; /* Old browsers */
	background: -moz-linear-gradient(top,  #0090d5 0%, #0079b2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0090d5), color-stop(100%,#0079b2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #0090d5 0%,#0079b2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #0090d5 0%,#0079b2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0090d5', endColorstr='#0079b2',GradientType=0 ); /* IE6-9 */
	height: 32px;
	line-height: 32px;
	color: #fff;
	border-radius: 5px 0px 0px 5px;
	padding-left: 20px;
	text-shadow: 1px 1px 2px #555555;
	filter: dropshadow(color=#555555, offx=1, offy=1);
}

#sidebar span.icon{
	padding-left: 30px;
}

span.icon.order{
	background: url("../images/icons/order.png") no-repeat left center;
}

span.icon.truck{
	background: url("../images/icons/truck_loaded_24.png") no-repeat left center;
}

span.icon.events{
	background: url("../images/icons/events.png") no-repeat left center;
}


#sidebar .event{
	padding: 5px 0px 5px 5px;
	border-top: 1px solid #e9e9e9;
}

#sidebar .event .meta{
	font-size: 90%;
	font-weight: bold;
}

#sidebar .event .date{
	cursor: help;
}

#sidebar .event .user{
	color: #505050;
	font-size: 80%;
	font-weight: bold;
	padding-bottom: 5px;
}

#sidebar .event .text{
	padding-right: 5px;
}

#sidebar a{
	text-decoration: none;
}

#sidebar a:hover{
	text-decoration: underline;
}

#footer{
	height: 150px;
	background: #0090d5; /* Old browsers */
	background: -moz-linear-gradient(top, #0090d5 0%, #0074a5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0090d5), color-stop(100%,#0074a5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #0090d5 0%,#0074a5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #0090d5 0%,#0074a5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #0090d5 0%,#0074a5 100%); /* IE10+ */
	background: linear-gradient(to bottom, #0090d5 0%,#0074a5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0090d5', endColorstr='#0074a5',GradientType=0 ); /* IE6-9 */
	border-radius: 0px 0px 5px 5px;
}

#martak{
	float: left;
	padding: 35px 0px 0px 30px;
}

#stampi{
	float: right;
	position: relative;
	top: 55px;
	right: 20px;
}

#poptavka table.misto{
	font-size: 80%;
	width: 100%;
	border: 1px solid #a0c3ee;
	border-collapse: collapse;
	margin-bottom: 5px;
	margin-top: 15px;
}

#poptavka .misto td, #poptavka .misto th{
	border: 1px solid #a0c3ee;
}

#poptavka .misto th{
	background: #dce8f8;
	text-align: center;
	width: 100px;
}

#poptavka .misto input[type="text"], #poptavka .misto input.date{
	height: 20px;
	border: 1px solid #999;
	width: 200px;
	padding-left: 5px;
}

#poptavka .misto select{
	width: 200px;
}

#poptavka .misto textarea{
	border: 1px solid #999;
}

#poptavka .misto input.small{
	width: 40px;
}

#poptavka .misto input.long{
	width: 400px;
}

#poptavka .misto input.delete{
	background: url('../images/poptavka/delete-icon.png') no-repeat;
	width: 16px;
	height: 16px;
	border: 0px;
	text-indent: -9999px;
	cursor: pointer;
}

#poptavky table{
	border-collapse: collapse;
}

#poptavky table, #poptavky td, #poptavky th{
	border: 1px solid #00F;
	padding: 2px 5px;
}
#poptavky th{
	width: 150px;
}

#poptavky .nadpis{
	margin-top: 5px;
	padding-left: 20px;
	color: #fff;
	font-size: 10pt;
	height: 20px;
	line-height: 20px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	background-color: #00F;
	cursor: pointer;
}

#poptavky .nadpis.collapsed{
	background-image: url("../images/icons/arrow_collapse.png");
	background-repeat: no-repeat;
	background-position: right center;
}

#poptavky .nadpis.expanded{
	background-image: url("../images/icons/arrow_expand.png");
	background-repeat: no-repeat;
	background-position: right center;
}

#poptavky .id{
	text-decoration: underline;
	margin-right: 10px;
}

#poptavky table.black, #poptavky .black td, #poptavky .black th{
	border: 1px solid #000 !important;
}

#poptavky div.black, .pozadi.black{
	background-color: #000;
}

#poptavky table.red, #poptavky .red td, #poptavky .red th{
	border: 1px solid #E22 !important;
}

#poptavky div.red, .pozadi.red{
	background-color: #E22;
}

#poptavky table.blue, #poptavky .blue td, #poptavky .blue th{
	border: 1px solid #0090d5 !important;
}

#poptavky div.blue, .pozadi.blue{
	background-color: #0090d5;
}

#poptavky table.green, #poptavky .green td, #poptavky .green th{
	border: 1px solid #0B0 !important;
}

#poptavky div.green, .pozadi.green{
	background-color: #0B0;
}

.error li{
	list-style: none;
}

.flash{
    border: 1px solid;
    margin: 10px 0px;
    padding:10px 10px 10px 35px;
    font-size: 12px;
}

.flash.error { 
    background: url("../images/icons/error.png") 10px center no-repeat #ffe1c8;
    border-color: #edc9aa;
}

.flash.info { 
    background: url("../images/icons/success.png") 10px center no-repeat #defdd1;
    border-color: #aeff90;
}

.flash.message {
    background: url('../images/icons/info.png') 10px center no-repeat #dce8f8;
    border-color: #00529B;
}

#potvrzeni .blue table, #potvrzeni .blue th, #potvrzeni .blue td{
	border: 1px solid #0090d5;
}

#potvrzeni .blue th{
	background-color: #0090d5;
}

input, select{
	border: 1px solid #999;
	background-color: #fff;
	border-radius: 4px;
	padding: 3px 0px 3px 2px;
	box-sizing:content-box;
	-ms-box-sizing:content-box;
	-moz-box-sizing:content-box;
	-webkit-box-sizing:content-box; 
}

textarea{
	border: 1px solid #999;
	border-radius: 4px;
	padding: 3px 0px 3px 2px;
}

form.fancy label{
	display: inline-block;
	width: 150px;
	font-weight: bold;
}

form.fancy .button{
	margin-left: 152px;
}

.form-error{
  color: #F00;
  font-size: 12px;
  background: url("../images/icons/error.png") no-repeat;
  padding-left: 20px;
}

.form-valid-message{
	background: url("../images/icons/success.png") no-repeat;
	color: #F00;
	font-size: 12px;
	padding-left: 20px;
}

#frmregistrovatKlienta-uzivatelskeJmeno_message{
	display: none;
}

a.icon{
	padding-left: 20px;
	background-position: left center !important;
}

a.icon-right{
	padding-right: 35px;
	background-position: right center !important;
}

a.icon.history{
	background: url("../images/icons/history.png") no-repeat;
}

a.icon.pdf{
	background: url("../images/icons/pdf.png") no-repeat;
}

a.icon.detail{
	background: url("../images/icons/detail.png") no-repeat;
}

a.icon.edit{
	background: url("../images/icons/edit.png") no-repeat;
	color: #000000;
}

a.icon.storno{
	background: url("../images/icons/cancel.png") no-repeat;
	color: #000000;
}

a.icon.accept{
	background: url("../images/icons/accept.png") no-repeat;
	color: #E22;
}

a.icon.reload{
	background: url("../images/icons/reload.png") no-repeat;
	color: #000000;
}

a.icon.remove{
	background: url("../images/icons/cancel.png") no-repeat;
	color: #000000;
	display: inline-block;
	text-indent: -9999px;
}

a.icon.logout{
	background: url("../images/icons/logout.png") no-repeat;
}

a.icon.settings{
	background: url("../images/icons/settings.png") no-repeat;
}

a.icon-right.arrow{
	background: url("../images/icons/arrow_right.png") no-repeat;
}

a.icon.success{
	background: url("../images/icons/success.png") no-repeat;
}

a.icon.add{
	background: url("../images/icons/add.png") no-repeat;
}

a.file{
	display: block;
	padding: 3px 0px 3px 20px;
}

a.file.image{
	background: url("../images/icons/filetype/image.png") no-repeat left center;
}

a.file.pdf{
	background: url("../images/icons/filetype/pdf.png") no-repeat left center;
}

a.file.default{
	background: url("../images/icons/filetype/default.png") no-repeat left center;
}

#potvrzeni td.title{
	width: 130px;
}

#potvrzeni td.value{
	width: 247px;
}

.poptavka td.title{
	width: 165px;
}

.poptavka td.value{
	width: 215px;
}

#loading{
	display: none;
	background: url("../images/loading.gif") no-repeat center center;
	height: 15px;
	width: 128px;
	position: fixed;
	z-index: 1000;
	left: 50%;
	top: 50%;
	margin-left: -64px;
}

.right{
	text-align: right;
}

.udalost, .result{
	padding: 5px 0px 5px 0px;
}

.result{
	margin-bottom: 5px;
}

.udalost .meta, .result .meta{
	font-style: italic;
	font-weight: bold;
	color: #333;
	font-size: 12px;
	padding-bottom: 2px;
}

.link{
	text-decoration: underline;
	cursor: pointer;
}

.link:hover{
	color: #0090d5;
}

.edit{
	margin-top: 10px;
	padding-left: 25px;
	background: url("../images/icons/edit.png") no-repeat left center;
}

.edit a{
	text-decoration: none;
	color: #0090d5;
	font-size: 15px;
	font-weight: bold;
}

.edit a:hover{
	text-decoration: underline;
}


.edit{
	margin-top: 10px;
	padding-left: 25px;
	background: url("../images/icons/edit.png") no-repeat left center;
}

.edit a{
	text-decoration: none;
	color: #0090d5;
	font-size: 15px;
	font-weight: bold;
}

h2{
	border-bottom: 1px solid;
}

.edit a:hover{
	text-decoration: underline;
}

.row{
	clear: both;
}

.row input, .row select, .row textarea{
	margin-bottom: 7px;
}

.inline label{
	float:left;
	width: 120px;
	margin-right: 10px;
	line-height: 24px;
}

.row label{
	display:block;
	font-weight: bold;
	font-size: 12px;
}

.row textarea{
	width: 100%;
}

.col-2{
	float: left;
	width: 50%;
}

.col-3{
	float: left;
	width: 33%;
}

.col-10{
	width: 10%;
}

input.lg-1, select.lg-1{
	width: 100%;
}

input.lg-2, select.lg-2{
	width: 50%;
}

input.lg-4, select.lg-4{
	width: 25%;
}

.help{
	cursor: help;
}

input.icon{
	outline: none;
}

input.icon.add{
	background: url('../images/icons/add.png') no-repeat left center;
	border: 0px;
	color: #000;
	text-decoration: underline;
	padding-left: 22px;
}

input.icon.add:hover{
	color: #333;
}

input.icon.remove{
	background: url('../images/poptavka/delete-icon.png') no-repeat bottom;
	width: 16px;
	height: 20px;
	border: 0px;
	text-indent: -9999px;
	cursor: pointer;
	padding: 0px;
}

.icon.collapse{
	background: url("../images/icons/arrow_collapse.png") no-repeat left center;
	width: 20px;
	height: 20px;
	padding-left: 20px;
}

.icon.expand{
	background: url("../images/icons/arrow_expand.png") no-repeat left center;
	width: 20px;
	height: 20px;
	padding-left: 20px;
}

span.hide{
	cursor: pointer;
}

.top-buffer{
	margin-top: 10px;
}

.block{
	display: inline-block;
}

#frmform-load{ 
	background: url("../images/icons/find.png") no-repeat left center;
	border: 0px;
	color: #0090D5;
	margin-left: 5px;
	padding-left: 22px;
}

#frmform-load:hover{
	text-decoration: underline;
}

.actions{
	margin-bottom: 10px;
}

.red{
	color: #F00;
}