* {	margin: 0;	padding: 0; }
img { border: none;}
body {
	background: #fff;
	color: #000;
	padding: 0;
	margin: 0;
	font-family: "Myriad Pro", Arial, sans-serif;
	font-size: 12px;
	position: relative;
}
#container {
	width: 1024px;
	margin: 0px auto;
	min-height: 1000px;
	padding: 15px 0 0;
	background: #fff;
	position: relative;
}
body.front { background: #005076; }
body.front #container { width: 1004px; padding: 15px 10px 0;}  
#nav {	text-align: center;  margin: 10px 0; height: 25px; position: relative;}
a.typecalnav  {color: #5155d4; font-weight: bold; }
#nav a { padding: 0 10px;}
.clear { clear: both; }
table.planovani { border-collapse: collapse; width: 100%;}
.planovani th{ padding: 5px 10px; height: 30px;}
.planovani td div { padding: 5px 10px; text-align: center;}
.planovani td div.free { background: #22CE39; color: #fff;  padding: 0; }
.planovani td div.free a { display: block; padding: 25px 0; }
.planovani td { border: 1px solid #000; padding: 0; width: 165px; }
.planovani tbody td { height: 45px; } 
.planovani td.weekend { background: #EEEEEE; width: 80px!important;}
.planovani td.svatek { background: #E1E1E1!important; }
.planovani tr { border-bottom: 2px solid #000; }
#admindata tr { border-bottom: 4px solid #000; }
.planovani th.current { background: #FFD4D4; }
.planovani td.technik span { text-transform: uppercase;}
.planovani td.typ { width: 20px; text-align: center;}
.planovani td.technik {padding: 5px 10px; width: 120px; }
.front td.technik { padding: 10px;} 
a { color: #000; text-decoration: none;}
a.link { height:45px; } 
.zakazka { position: relative;min-height: 45px; }
.zakazka a { display: block;}
.zakazka span { display: block; }
.planovani td div.inner { position: relative; padding: 0; width: 156px; }
.planovani td div.inner.alone { height: 55px; width: 156px; }
.planovani td.weekend div.inner { height: auto; width: 80px !important; }
.butt-free { display: block; position: absolute; bottom: 0; right: 18px; padding: 0 2px; color: #22CE39; background: url('../images/PNG-48/Modifys.png') no-repeat bottom right; text-indent: -500px; overflow:hidden; width: 16px; height: 16px; z-index: 901;}
.butt-delete { display: block; position: absolute; top: 2px; right: 0; padding: 0; color: #000; background: url('../images/PNG-48/Deletes.png') no-repeat right bottom ; width: 16px;height: 16px; z-index: 910;text-indent: -500px; overflow:hidden; }
.butt-new { display: block; position: absolute; bottom: 0; right: 0px; padding: 0; color: #00f; background: url('../images/PNG-48/Adds.png') no-repeat right bottom ; width: 16px;height: 16px; z-index: 900;}
.butt-new.butt-new-top { bottom: auto; top: 0; }
.butt-new.alone {  position: absolute; width: 100%; height: 55px; text-align: right; vertical-align: bottom; }
label {float: left; width: 150px; clear: left;}
input,select { float: left; width: 250px; }
fieldset { padding: 10px;}
#zakazka-form { width: 700px;}
#zakazka-form #vyjasneni-label { width: 190px; margin: 10px 0; } 
#zakazka-form #priloha-label { width: 190px;} 
#zakazka-form #fakturace-label,
#zakazka-form #pozn-label { width: 350px; }
#zakazka-form #svatky-label { clear: none; width: 60px; text-align: right; margin: 5px; }
#zakazka-form #vikendy-label { margin: 5px 0; } 
 #zakazka-form #svatky, #zakazka-form #vikendy { width: auto; margin: 5px 0;}
 #zakazka-form input[disabled] { color:#000 !important;  }
 #zakazka-form .disabled { background: #FFEAC1; color:#000 !important; border: none; margin: 2px 0; padding: 2px;}

#vyjasneni { width: auto; margin: 10px 0;}
.tbmargin { margin: 15px 0;}
#fakturace, #popis, #pozn { height: 50px; }
#popup { width: 700px; 	position: relative; background: #fff;padding: 20px; z-index: 9998; display: none;}
#popup.naradi { width: 450px; }
.firma { font-weight: bold; text-transform: uppercase;}
.bFFD4D4 { background: #FFD4D4; }
.bD4FFD4 { background: #D4FFD4; }
.bAAD4FF { background: #AAD4FF; }
.b7FFF7F { background: #7FFF7F; }
.bFFFF00 { background: #FFFF00; }
.bFF7F00 { background: #FF7F00; }
.bbfbfbf { background: #bfbfbf; }
.bFF7F00 * { color: #FFFF00; }
.b0000FF { background: #0000FF; }
.b0000FF * { color: #fff;}
.b00ffff { background: #00ffff; }
.bFFFF00 { background: #FFFF00; }
.b00FF00 { background: #00FF00; }
.bd7c068 { background: #D7C068; }
.b640f00 { background: #640f00; }
.b640f00 * { color: #fff; }
.b22CE39 { background: #22CE39; } .b22CE39 .link { color: #fff; }
.bff1515 { background: #ff1515; }
.bff1515 * { color: #ff0; }
.bf8af6d { background: #f8af6d; }
.bf0dbcc { background: #f0dbcc;}
#ui-datepicker-div { z-index: 9999;}
.ui-datepicker-trigger { border: none; width: 16px; height: 16px; background: transparent; float: left;}
#datumod, #datumdo { width: 230px;}
#seldate { width: 100px; float: none;}
#nav .ui-datepicker-trigger { float: none;}
ul.errors { clear: both; padding: 5px 0 5px 165px; }
ul.errors li { color: red;}
#obchod,
#rozprac, 
#potvr { width: auto; margin-top: 2px;}
#obchod-label { clear: none; text-align: right; width: auto; padding: 0 5px 0 15px;}
.zakazka-detail {	display: none; }
#tooltip {
position: absolute;
z-index: 3000;
border: 1px solid #111;
background: #FFFFAA;
padding: 5px;
max-width: 300px;
}
#tooltip h3 { margin: 0 0 5px 0; font-weight: normal; border-bottom: 1px solid #000;}
#tooltip div { margin: 0; font-weight: normal;}
#tooltip strong { text-transform: uppercase; }
#close { position: absolute; top: -20px; right: -20px; }
#buttons { margin-top: 15px;}
#narsubmit, #zaksubmit { border: none; background: url('../images/PNG-48/Save.png') no-repeat transparent; width: 48px; height: 48px; text-indent: -5000px; cursor: pointer; margin: 0 20px 0 0; }
#login { border: none; background: url('../images/PNG-48/Profile.png') no-repeat transparent; width: 48px; height: 48px; text-indent: -5000px; cursor: pointer; margin: 0 20px 0 0; }
#zakazkysearch #s_submit,
#zakazkysearch #s_reset { width: 150px; margin: 20px 0 0;}
#zakazkysearch #s_submit{ clear: left;  }
#zakazkysearch .datum { width: 150px;}
#searchret a { display: block; padding: 5px; height: auto;}
#searchret th { padding: 5px; text-align: left;}
tr.rozprac { background: #FFEAC1; }
tr.other { background: #C4E1FF; }
tr.externi { background: #D2FFD2; }
#searchret tbody tr:hover { background:  #E1E1E1;}
#delete, 	#copy { margin-right: 20px;}
.ui-datepicker{ z-index: 9999 !important;}
#rozpracovane { width: 200px; position: absolute; top: 114px; right: -215px; z-index: 999; padding: 0 0 20px;}
#logout { position: absolute; top:5px; right: 10px;}
#admin-link { position: absolute; top:5px; right: 100px;}
#searchret-legend { float: right; margin: 10px 0; }



/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }

.naraditable { border-collapse: collapse; margin: 15px 0; border: 1px solid; width: 100%;}
.naraditable td { padding: 5px; }
.naraditable tr { cursor: pointer; }
.naraditable tr.current { background-color: #EBEBEB; }
.naraditable tr:hover { background-color: #86E0F0; }

.mesic .zakazka { min-height: 20px; } 
.mesic.planovani td div.inner.alone, 
.mesic .zakazka,
.mesic.planovani tbody td,
.mesic.planovani td.weekend,
.mesic.planovani td.weekend div.inner,
.mesic.planovani td div.inner { width: 25px !important; padding: 0 !important;}
.mesic.planovani td.technik { width: 260px !important; white-space: nowrap; padding: 0 10px; }
.mesic.planovani td div { padding: 0; } 
.mesic.planovani th { padding: 5px 0; height: 10px; width: 15px !important;;}
.mesic a.link { height: 20px; }
.mesic.planovani td div.inner.alone,
.mesic.planovani tbody td { height: auto; }

.monthnadpis { border-right: 1px solid #000;}
.weeknadpis { border-right: 1px solid #000; text-align: left; font-weight: normal;}

.year .zakazka { min-height: 20px; } 
.year.planovani td div.inner.alone, 
.year .zakazka,
.year.planovani tbody td,
.year.planovani td.weekend,
.year.planovani td.weekend div.inner,
.year.planovani td div.inner { width: 10px !important; padding: 0 !important;}
.year.planovani td.technik { width: 60px !important; white-space: nowrap; padding: 0 10px; }
.year.planovani td div { padding: 0; } 
.year.planovani th { padding: 5px 0; height: 10px; width: 10px !important;;}
.year a.link { height: 20px; }
.year.planovani td div.inner.alone,
.year.planovani tbody td { height: auto; }