/** { margin: 0; padding: 0; }*/

/*body { font-size:76%; font-family: Tahoma, sans-serif; line-height:1.4em; margin:0; padding:0; color:#2f2f2f; }
#body { width: 970px; border-style: solid; border-color: #C9C9C9; border-width: 0 1px 1px 1px; margin: 0 auto; padding: 160px 15px 20px 15px; background: url(head.gif) no-repeat; }
#foot { height: 55px; background: url(foot.gif); width: 1002px; margin: 0 auto; }

#ap_menu { float: left; width: 170px; margin-right: 30px; }
#ap_main { float: left; width: 770px; }
.ap_clr { clear: both; height: 0; overflow: hidden; }
#ap_body { padding-left: 15px; }
#ap_path { margin-bottom: 20px; }*/

/*h1 { margin:0 0 1em 0; padding:0; font-family: Georgia, "Times New Roman", Times, serif; font-size:190%; line-height:1.2em; color:#0095d5; font-weight:normal; }*/
/*h2 { margin:0.7em 0 0.5em 0; padding:0; font-family: Georgia, "Times New Roman", Times, serif; font-size:160%; line-height:1.2em; color:#0095d5; font-weight:normal; }*/
/*p { margin-bottom: 0.7em; }*/

.w20 { width: 20px; }
.w40 { width: 40px; }
.w60 { width: 60px; }
.w80 { width: 80px; }
.w90 { width: 90px; }
.w100 { width: 100px; }
.w150 { width: 150px; }
.w200 { width: 200px; }
.w400 { width: 400px; }
.align-right { text-align: right !important; }
.align-center { text-align: center !important; }

table.ap { width: 100%; border-collapse: collapse; }
table.ap-small th, table.ap-small td { font-size: 90%; }
table.ap td, table.ap th { border: 1px solid #C9C9C9; padding: 2px 5px; text-align: left;  }
table.ap tr.unread td, table.ap tr.unread th { font-weight: bold; }
table.ap th { background: #666; color: white; }
table.ap td.icon { width: 40px; text-align: center; }
table.ap th a.order { float: right; }

.error { color: red; }
fieldset { padding: 10px; margin-bottom: 20px; }
.form-item { line-height: 45px; height: 45px; margin: 0 0 10px 0; }
.form-item label { float: left;	width: 160px; }
.form-item label span { font-weight: bold; color: red; }
/*.form-item input { height: 20px; }*/
/*.form-item select { height: 26px; }*/
/*.form-item input.check { height: auto; }*/
/*.form-item select { max-width: 400px; }*/
.form-item-multiline { height: auto; }
.form-item div.item { margin-left: 130px; }
.form-item div.item input { margin-bottom: 5px; }
.form-item-textarea { margin-top: 5px; }
.form-item-textarea label { float: none; }
.form-item-textarea textarea { width: 100% !important; }
.form-item span.infotext { color: #555; margin-left: 5px; font-size: 0.9em; }
.inline, .inl { width: auto; display: inline !important; float: none !important; margin-right: 10px; }
.form-submit { padding-left: 160px; }
.form-submit input { margin-left: 5px; padding: 2px 10px; }
.form-item label.inline { height: 24px; line-height: 24px; display: inline-block !important; width: auto; margin-right: 20px; }
.form-item label.inline input { float: left; }

form#login { width: 335px; margin: 20px auto; }
form#login label { width: 100px; }
form#login .form-submit { padding-left: 65px; }

.adminbutton { border: none; background: #FF4300; padding: 3px 10px; color: white; text-decoration: none; }
.adminbutton:hover { color: white !important; }
.h1button { border: none; background: #FF4300; padding: 3px 10px; color: white; float: right; text-decoration: none; }
.h1button:hover { color: white !important; }
.h1button:visited { color: white; }

#ap_table_foot { margin-top: 10px; line-height: 24px; }
.foot-all { width: 130px; float: left; padding-left: 10px; }
.foot-all-action { width: 300px; float: left; }
.foot-stranky { text-align: right; }
span.info { border-bottom: 1px dotted black; cursor: help; }

/*.tooltip { display:none; background-color:#ffa; border:1px solid #cc9; padding:5px; box-shadow: 2px 2px 11px #666; -moz-box-shadow: 2px 2px 11px #666; -webkit-box-shadow: 2px 2px 11px #666; text-align: left; }*/
.tooltip { font-size: 0.8rem; }
#shoda-slider-min, #shoda-slider-max { float: left; width: 45px; }
#shoda-slider-min { text-align: right; }
#shoda-slider-obal { float: left; padding-top: 5px; }
#shoda-slider { width: 400px; margin: 0 10px; }
.ui-datepicker { z-index: 10 !important; }
.ui-autocomplete { z-index: 10 !important; text-align: left; }

p.infotext { font-weight: bold; color: #0095D5; margin-bottom: 15px; }

input.ui-autocomplete-loading { background-image: url(ajax-loader.gif); background-repeat: no-repeat; background-position: right; }

#lefcontent .leftcontent-main strong { display: inline; color: #2F2F2F; margin: 0; font-family: Tahoma, sans-serif; }

.items div.del { cursor: pointer; font-weight: bold; }
.items div.del:hover { color: #0095d5; }
.items div.name { background: #0095d5; color: white; padding: 1px 5px 1px 8px; width: auto; margin-bottom: 5px; float: left; border-radius: 5px 0 0 5px; }
.items div.name a { color: white; }
.items div.del-div { background: #00496a; color: white; float: left; padding: 1px 8px 1px 5px; border-radius: 0 5px 5px 0; }
.items input.name { float: left; margin: 0; height: 30px; border-radius: 5px 0 0 5px; border: 1px solid #ccc; margin-bottom: 5px; }
.items div.del-input { background: #00496a; color: white; float: left; padding: 1px 8px 1px 5px; border-radius: 0 5px 5px 0; }
.items div.add { background: #006a49; color: white; padding: 1px 8px; width: auto; margin-bottom: 5px; float: left; border-radius: 5px; cursor: pointer; font-weight: bold; }
.items div.add:hover { color: #00d595; }
.items div.line-error div.name { background: #d40000; }
.items div.line-error div.del-div { background: #6a0000; }
.items div.line-error div.del:hover { color: #d40000; }
.items div.delete div.del:hover { color: #6a6a6a; }
.items div.delete div.name { text-decoration: line-through; background: #6a6a6a; color: #AAAAAA}
.items div.delete div.del-div { background: #353535; }
.items div.delete input.name { color: #AAAAAA; text-decoration: line-through; }
.items div.delete div.del-input { background: #353535; }
.items .clear { clear: both; height: 0; overflow: hidden; }

#upload { float: left; }
#upload-progress { float: left; height: 20px; border: 2px solid #abadb3; border-radius: 5px; width: 50%; display: none; }
#upload-progress div { height: 20px; background: #006a49; width: 0; border-radius: 4px 0 0 4px ; }

.breadcrumbs a.help { float: right; }
#help-popup { text-align: left; }

#result-box .clr { clear: both; height: 0; overflow: hidden; }
#result-box { background-color: rgba(238, 0, 0, 0.20); padding: 10px; border: 3px solid red; }
#result-box #recount { margin-left: 10px; margin-top: 10px; }
#result-box #popup { margin: 15px 0 0 0;}
/*#result-box #download { margin: 15px 0 0 0; }*/
/*#result-box #download div { width: 16px; height: 16px; background: url(ajax-loader.gif); float: left; margin-right: 10px; }*/
#result-box div.result { font-size: 2em; float: left; min-height: 50px; }
#result.loading { width: 16px; height: 16px; background: url(ajax-loader-red.gif); display: inline-block; }

.flowplayer { width: 97% !important; margin-bottom: 20px; }
.flowplayer video { width: 100%; }

p.templates-help { color: #999; }
p.templates-help span.code { font-family: monospace; font-size: 11px; color: black; /*cursor: pointer;*/ }
p.templates-help strong { display: block !important; margin-top: 1em !important; }


/*span.protocol-popup { cursor: pointer !important; border-bottom: none !important;  }*/
/*#protocol-popup { text-align: left; }*/
/*#protocol-popup select { width: 50%; }*/
/*#protocol-popup button { width: 100px; float: right; margin-left: 10px; }*/
/*#protocol-popup label { width: 60px; float: left; }*/
/*#protocol-popup iframe.protocol { width: 100px; height: 100px; background: white !important; border: 1px solid black; margin: 10px 0; overflow-y: scroll; }*/
iframe.protocol { width: 100%; height: 100px; background: white !important; border: 1px solid #ccc; border-radius: 20px; margin: 0; overflow-y: scroll; }

div.cover { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; }

td.protokol_list div.hidden { display: none; }

.ui-autocomplete {
  position: absolute;
  top: 0;
  left: 0;
  cursor: default;
  background: white;border: 1px solid #ccc;border-radius: 20px;margin-top:  10px;padding: 10px;
}

.ui-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  outline: 0;
}
.ui-menu .ui-menu {
  position: absolute;
}
.ui-menu .ui-menu-item {
  margin: 0;
  cursor: pointer;
  /* support: IE10, see #8844 */
  list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}
.ui-menu .ui-menu-item-wrapper {
  position: relative;
  padding: 3px 1em 3px .4em;
}
.ui-menu .ui-menu-divider {
  margin: 5px 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border-width: 1px 0 0 0;
}
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
  margin: -1px;
}

/* icon support */
.ui-menu-icons {
  position: relative;
}
.ui-menu-icons .ui-menu-item-wrapper {
  padding-left: 2em;
}

/* left-aligned */
.ui-menu .ui-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: .2em;
  margin: auto 0;
}

/* right-aligned */
.ui-menu .ui-menu-icon {
  left: auto;
  right: 0;
}
