/* Global */

html, body {
    /*font-size: 100%;*/
    margin: 0;
    padding: 0;
    /*font-family: Garamond, Times, serif;*/
    font: 90%/1.4 Arial, Helvetica, sans-serif;
    background: #FFF;
}

.cleaner {
	clear: both;
	height: 0;
	line-height: 0px;
	font-size: 0px;
	margin: 0;
	padding: 0;
}

pre {
	font-size: 0.8em;
}

/* END - Global */

/* Layout */

	#layout {
		width: 100%;
	}
	
	#header {
		height: 90px;
		line-height: 90px;
		/*background: silver;*/
		padding: 0 0 0 1.5em;
	}
	
	#header h1 {
        margin: 0;
        padding: 0;
        font-size: 1.3em;
	}
	
	#float_right {
	    float: right;
	    width: 400px;
	    text-align: right;
	    padding: 0 1.5em 0 0;
	}
	
	#content {
	    /*background: silver;*/
	}
	
	#content #obsah {
	    padding: 0.5em;
	}
	
	#content #pageH1 {
	    margin: 0;
	    background: #007ac3;
	    font-size: 1.1em;
	    line-height: 1.4em;
	    padding: 0.3em 0.75em 0.3em 0.75em;
	    color: #fff;
	}
	

/* END - Layout */

/* sidebar */

    #sidebar form {
        margin: 0;
        padding: 0 1em 0 0;
        width: 350px;
        float: right;
        text-align: right;
    }

/* END - sidebar */

/* loginForm */

	#loginForm {
		width: 600px;
		margin: 2em auto 2em auto;
		border: 1px solid #007ac3;
		padding: 0 1em 0 1em;
		background: #007ac3 no-repeat right bottom;
	}
	
	#loginForm h2 {
	    font-weight: normal;
	    color: #009e58;
	    margin: 1em 0 1em 0;
	}
	
	#loginForm #leftColum, #loginForm #rightColum {
	    width: 280px;
	}
	
	#loginForm #leftColum label, #loginForm #rightColum label {
        font-weight: bold;
    }
	
	#loginForm #leftColum {
        float: left;
    }
	
	#loginForm #rightColum {
	    float: right;
	}
	
	#loginForm #formButton {
	    clear: both;
	    text-align: right;
	    padding: 0.5em 1em 0 0;
	    margin: 0 0 2em 0;
	}

/* END - loginForm */

/* message */

    #message {
        margin: 1em 0 1em 0;
        padding: 1em;
        background: red;
        color: #fff;
        text-align: center;
    }

/* END - message */

/* formulare */
    
    fieldset {
        border: 0;
        margin: 0;
        padding: 0;
    }
    
    form {
        margin: 0;
        padding: 0;
    }
    
    fieldset form {
    	clear: both;
    }
    
    legend {
        font-size: 1.3em;
        margin: 0 !important;
        padding: 0 0 0.25em 0 !important;
        color: #0078EF;
    }
    
    legend span {
    	font-size: 0.7em;
    }
    
    dl {
        border-bottom: 1px solid #BFFFDC;
        margin: 0 0 1em 0;
        padding: 0;
    }

	dt {
		width: 15em;
		padding: .5em;
		float: left;
		margin: 0;
		border-top: 1px solid #BFFFDC;
		font-weight: bold;
		clear: left;
	}
	
	dd {
		margin-left: 16em;
		padding: .5em;
		border-top: 1px solid #BFFFDC;
	}
	
	dd img.ui-datepicker-trigger {
		vertical-align: -0.25em;
		margin-right: 0.25em;
		cursor: pointer;
	}

    p.hint {
	    color: #808080;
	    font-size: 95%;
	    padding: 0 0 0em 0em;
	    margin: 0.25em 0 0 0em;
	    font-style: italic;
	}
	
	.ajaxbox {
		border: 3px solid #BFFFDC;
		padding: 0.5em;
		margin-top: 0.25em;
		overflow: hidden;
	}
	
	input.big {
		font-size: 1.2em;
	}

/* END - formulare */

/* tbl_list */

    .tbl_list {
        width: 100%;
        border-collapse: collapse;
        margin: 0 0 0.75em 0;
        padding: 0;
        clear: both;
    }
    
    .tbl_list th {
        background: #009e58;
        color: #fff;
        padding: 0.25em;
        border: 1px solid #BFFFDC;
    }
    
    .tbl_list td {
        vertical-align: middle;
        border: 1px solid #BFFFDC;
        padding: 0.25em;
    }
    
    .tbl_list tr {
       background: white;
    }
    
    .tbl_list tr.hand {
    	cursor: pointer;
    }
    
    .tbl_list tr:hover {
       background: #DFFFEE;
    }
    
    .td_stav {
        width: 40px;
        text-align: center;
    }
    
    .td_pozice {
        width: 55px;
        text-align: center;
    }
    
    .td_edit, .td_smaz {
        width: 40px;
        text-align: center;
    }

    .tbl_list.order {
        width: 50%;
    }
    .tbl_list.order tr td:first-child {
        width: 25%;
    }
/* END - tbl_list */

/* right_float */

	#right_float {
		float: right;
		width: 340px;
		margin-left: 0.75em;
	}

/* END */

/* pagination */
.f-left {float:left}
.f-right {float:right}
    
 .paging {clear:both;}
 .paging .f-left, .paging .f-right {margin: 10px 0;}
 .paging .f-right a {padding:2px 6px; text-decoration:none;color: #009e58}
 .paging .f-right a.active {font-weight:bold; background: #009e58; color: white}
 .clear{clear: both}

/* END - pagination */

/* diskuze */

.diskuze_item, .diskuze_item_respond {
	margin-bottom: 1em;
}

.diskuze_item .neaktivni, .diskuze_item_respond .neaktivni {
	color: silver;
}

.diskuze_item .nahlasit, .diskuze_item_respond .nahlasit {
	margin: 0.5em !important;
	padding: 0.75em;
	background: #fff;
	border: 3px solid #DCDBFF;	
}

.diskuze_item {
	background: #DFEEFF;
}

.diskuze_item .diskuze_item_servis {
	background: #9EC9FE;
}

.diskuze_item .diskuze_item_obsah, .diskuze_item_respond .diskuze_item_obsah {
	padding: 0.5em;
}

.diskuze_item .diskuze_item_obsah h5, .diskuze_item_respond .diskuze_item_obsah h5 {
	margin: 0;
	padding: 0;
	font-size: 1em;
}

.diskuze_item .diskuze_item_obsah p, .diskuze_item_respond .diskuze_item_obsah p {
	margin: 0;
	padding: 0;
}

.diskuze_item .diskuze_item_servis, .diskuze_item_respond .diskuze_item_servis {
	text-align: right;
	padding: 0 0.5em 0 0;
	font-size: 0.9em;
	line-height: 2.75em;
}

.diskuze_item_respond {
	border-left: 3px solid #9EC9FE;
}

.diskuze_item_respond .diskuze_item_servis {
	background: #DFEEFF;
}

/* END - diskuze */

/* info_box */

.info_box {
	background: #F5FAFE;
	border: 3px solid #DFEEFF;
	/*color: #003366;*/
	padding: 0.5em;
	margin: 0.5em 0 0.5em 0;
}

/* END - info_box */

/* zpravy po zpracovani skriptu */
	
	.message-good, .message-bad, .message-info  {
	    padding: 10px 10px 10px 40px;
	    margin: 10px;
	    background-position: 7px 7px;
	    background-repeat: no-repeat;
	    clear: both;
	}
	
	.message-good {
	    border: 1px solid #cae49c;
	    color: #516f1b;
	    background-color: #f3ffd0;
	    background-image: url(/images/icons/accept.png)
	}
	
	.message-good a {
	    color: #516f1b;
	}
	
	.message-bad {
	    border: 1px solid #ffdede;
	    color: #ce0000;
	    background-color: #fff1f1;
	    background-image:  url(/images/icons/exclamation.png);
	}
	
	.message-bad a {
	    color: #ce0000;
	}
	
	.message-info {
	    border: 1px solid #ededb3;
	    background-color: #ffffcc;
	    background-image:  url(/images/icons/information.png);
	}
	
/* END */

/* ZALOZKY */
	/*
	ul.zalozky {
		margin: 0;
		padding: 0 0 0 0.5em;
		height: 1%; 
		margin-bottom: -4px;
		overflow: visible;
		float: left;
		width: 100%;
	}
	
	ul.zalozky li {
		position: relative; 
		float: left;
		background-color: #E5ECFD;
		border: 1px solid #9EC9FE;
		padding: 4px 15px;
		margin: 0 5px -1px 0;
		list-style: none;
		display: block;
	}
	
	html>body ul.zalozky {
		height: auto;
		margin-bottom: 0;
	}
	
	*+html>body ul.zalozky {
		margin-bottom: -8px;
	}
	
	ul.zalozky + * {
		clear: both;
	}
	
	html>body ul.zalozky li {
		position: static;
	}
	
	ul.zalozky li:hover {
		background-color: white;
	}
	
	ul.zalozky li.selected {
		background-color: #F5FAFE;
		border-bottom-color: #F5FAFE;
		font-weight: bold;
	}
	*/
	
	ul.zalozky {
	  list-style: none;
	  margin: 0 0 0 0;
	  padding: 0;
	  border-bottom: 1px solid #9EC9FE;
	  height: 1%; /* IE workaround */
	  overflow: visible; /* IE workaround */
	  
	}

	ul.zalozky:after {
	  content: ".";
	  display: block;
	  height: 0;
	  clear: both;
	  visibility: hidden;
	}
	
	ul.zalozky li {
	  position: relative; /* IE6 only */
	  float: left;
	  background-color: #E5ECFD;
	  border: 1px solid #9EC9FE;
	  padding: 5px 15px;
	  margin: 0 5px -1px 0;
	  list-style: none;
	  display: block;
	}
	
	html>body ul.zalozky li {
	  position: static;
	}
	
	ul.zalozky li:hover {
	  background-color: white;
	}
	
	ul.zalozky li.selected {
	  background-color: white;
	  border-bottom-color: white;
	  font-weight: bold;
	}
	
	ul.zalozky li a.preskrtle {
		text-decoration: line-through;
	}
	
	ul.zalozky li a.edit {
		color: red;
	}
	
	div.zalozky_div {
		border-left: 1px solid #9EC9FE;
		border-right: 1px solid #9EC9FE;
		border-bottom: 1px solid #9EC9FE;
		padding: 0.5em;
		background: white;
	}

/* END */

.button {
	border: 1px solid #81A3F1;
	background: #DFE8FC;
	padding: 2px;
}

/* paticka */

    #paticka {
	    border-top: 1px solid #9EC9FE;
	    margin-top: 1em;
	    padding: 0.5em;
	    clear: both;
    }

/* END - paticka */

/* a */

    a {
	    color: blue;
    }
    
    a:hover {
        text-decoration: none;
    }

/* END - a */

.cleditorMain {
    float: none !important;
}

ul.errors li, p.error {color: red; font-weight: bold}
#wait { display: none; margin: 0 auto; position:fixed; border: left:0; top:0; width:100%; height:100%; padding-top: 10px;background-image:url("transparentbg.png"); text-align: center } 
#wait-text { display: none; color: #007ac3; z-index: 1000; font-size: 14px; } 
#dialog-elm {display: none}
input.submit{font-weight: bold; padding: 5px 10px}
input.input-submit{padding: 2px}
.info {color: green; margin: 10px; font-weight: bold}

p.price {text-align: right; margin: 5px 0; font-size: 16px;}
p.price.total {text-align: right; margin: 5px 0; font-size: 18px;}
p.price span {display: inline-block; width: 300px;}
p.buttons a {text-decoration: none;}

a.title {
    text-decoration: none;
    color: #009e58;
}

.hidden {display: none;}

table.form td {
    border-bottom: 1px solid #BFFFDC;
    padding: 5px 0;
    vertical-align: top;
}

table.form.noBottomB tr:last-child td{
    border-bottom: 0px;
}
table.form.internet td{
    padding: 5px;
    vertical-align: central;
}

#map_canvas {
    height: 250px;
        
}

.msg.error {
    color: red;
}

input.readonly, input.readonly:focus {
    background: none;
    border: 0 none;
}

#languages {
    margin-right: 20px;
}

#languages a {
    text-decoration: none;
}

span.formTitle {
    font-weight: bold;
    margin: 20px 0 10px 0;
    display: block;
}

table.trips tr.notCompleted, table.trips tr.notCompleted:hover, table.interventions tr.notCompleted, table.interventions tr.notCompleted:hover {
	background-color: #FFCDCD;
	color: #7f0e1b;
}

table.trips tr.completed, table.trips tr.completed:hover, table.interventions tr.completed, table.interventions tr.completed:hover {
	background-color: #7CADCA;
}

table.trips tr.invoiced, table.trips tr.invoiced:hover, table.interventions tr.invoiced, table.interventions tr.invoiced:hover {
	background-color: #7EFF7E;
	color: #09580c;
}

table.trips tr td a.title, table.interventions tr td a.title, table.invoices tr td a.title {
	color: inherit;
}

table.invoices tr.paid {
	background-color: #b9fbac;
}

table.invoices tr.beforeMaturity {
	background-color: #fbf8ac;
}

table.invoices tr.afterMaturity {
	background-color: #fbb0ac;
}

#order-element p.description {display:inline;}

#dispatchParametersForm dt {width: 20em}
#dispatchParametersForm dd {margin-left: 21em}

#dispatchParametersForm .dispatchParameter_10FormRow {margin-top: 35px}

tr.task-finished-or-norepeat td {
    background-color: #fbb0ac;
}