* {
  margin: 0;
  padding: 0;
}

body {
  margin-top: 10px;
  background: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: #000000;
}

h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 3em;
  font-weight: normal;
  color: #C87C6B;
}

h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2em;
  font-weight: bold;
  color: #000000;
  padding-bottom: 5px;
}

h3 {
  margin-top: 10px;
  background: #FFFFFF;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  color: #000000;
}

a {
  color: #000000;
}

a.no-underline {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a.smallLink {
  font-size: small;
}

div.center {
  text-align: center;
}

/* Header */

#header {
  width: 980px;
  height: 140px;
  margin: 10px 10px;
  background: #D1E9A3 url(img/img02.gif) repeat-x;
}

#headerLeft {
  float: left;
  height: 100px;
  padding: 0 0 0 115px;
  background: url(img/img03.gif) no-repeat;
  color: #C87C6B;
  font-weight: bold;
}

#headerLeft h1 {
  padding: 20px 0 0 0;
}

#headerLeft p {
  padding-top: 5px;
}

#headerMiddle {
  float: left;
  height: 100px;
  padding: 0 0 0 25px;
  color: #C87C6B;
  font-weight: bold;
}

#headerMiddle p {
  padding: 20px 0 0 0;
}

#headerMiddle a {
  text-decoration: underline;
  color: white;
}

#headerRight {
  float: right;
  width: 20px;
  padding: 0 20px 0 0;
  background: url(img/img04.gif) no-repeat right top;
}


#menuTopL {
  float: left;
  clear: left;
  height: 40px;
  width: 20px;
  background: url(img/img08.gif) no-repeat left bottom;
}

#menuTop {
  float: left;
  width: 960px;
  height: 40px;
  background: url(img/img09.gif) no-repeat right bottom;
}

#menuTopR {
  float: left;
  left: 20px;
  width: 0px; /* 960px; */
  height: 0px; /* 40px; */
}

#menuTop ul {
  height: 28px;
  padding: 12px 0 0 20px;
  list-style: none;
}

#menuTop li {
  display: inline;
}

#menuTop a {
  padding: 0 10px 0 20px;
  background: url(img/img06.gif) no-repeat left center;
  text-decoration: none;
  font-weight: bold;
  color: #8D1300;
}

#menuTop a:hover {
  text-decoration: underline;
}

#menuTop .current_page_item a {
  background: url(img/img07.gif) no-repeat left center;
  color: #8D1300;
}


/* Page */

#page {
  width: 3000px;
}


/* Left menu */

#menuLeft {
  float: left;
  width: 160px;
  margin-left: 10px;
  color: #36393D;
	font-family: Arial, Helvetica, sans-serif;
}

#menuLeft ul {
  list-style: none;
  padding: 0px 5px 5px 5px;
  line-height: 100%;
  background: #D6EBAD url(img/img10.gif) repeat-y;
}

#menuLeft li {
  padding: 8px 0 0 10px;
  background: url(img/img13.gif) no-repeat left center;
}

#menuLeft li.menuitem-curr {
  padding: 8px 0 0 10px;
  background: url(img/img13.gif) no-repeat left center;
  font-weight: bold;
}

#menuLeft li.menusub {
  padding: 8px 0 0 10px;
  background: url(img/img13.gif) no-repeat left center;
  color: #8D1300;
  text-decoration: underline;
}

#menuLeft li.menusub-curr {
  padding: 8px 0 0 10px;
  background: url(img/img13.gif) no-repeat left center;
  color: #8D1300;
  text-decoration: underline;
  font-weight: bold;
}

#menuLeft li.menusub-expanded {
  padding: 8px 0 0 10px;
  background: url(img/img14.gif) no-repeat left center;
  color: #8D1300;
  text-decoration: underline;
}

#menuLeft ul ul {
  list-style: none;
  padding: 0px 5px 5px 5px;
  line-height: 100%;
  background: #D6EBAD url(img/img12.gif) repeat-y;
}

#menuLeft ul ul li {
  padding: 8px 0 0 10px;
  background: url(img/img15.gif) no-repeat left center;
}

#menuLeft ul ul li.menuitem-curr {
  padding: 8px 0 0 10px;
  background: url(img/img15.gif) no-repeat left center;
  font-weight: bold;
}

#menuLeft h3 {
  height: 15px;
  margin-top: 5px;
  padding: 8px 0 8px 10px;
  color: #FFFFFF;
  background: url(img/img11.gif) no-repeat;
  font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}

#menuLeft a {
  text-decoration: none;
  color: #BA3300;
}

#menuLeft a:hover {
  text-decoration: underline;
}

/* Footer */

#footer {
  clear: both;
  padding: 50px 0;
  background: #FFFFFF;
  color: #666666;
}

#footer p {
  text-align: center;
  line-height: 2em;
}

#footer a {
  color: #666666;
}


/* Content */

#content {
  float: left;
  width: 800px;
  padding: 0 0 0 20px;
}

#contentWide {
  float: left;
  width: 800px;
  padding: 0 0 0 20px;
}

fieldset{
	margin-top: 10px;
	background: #EAF7FC;
	padding: 5px;
}

fieldset.nomargin{
	margin: 0;
  background: #EAF7FC;
  padding: 5px;
}

legend{
	font-weight: bold;
	color: #CE3700;
	padding: 0px 5px;
}

legend.edited{
	font-weight: bold;
	color: white;
	background-color: #8D1300;
	padding: 0px 5px;
}

legend a {
	font-size: 0.9em;
	color: #CE3700;
	margin-left: 10px;
}


fieldset.info{
	margin-top: 10px;
	background: #CCCCFF;
	padding: 5px;
	border: 1px solid #0000CC;
	color: #0000FF;
}

fieldset.error{
	margin-top: 10px;
	background: #FFCCCC;
	padding: 5px;
	border: 1px solid #CC0000;
	color: #FF0000;
}

fieldset.alert{
	margin-top: 10px;
	background: #FFFF00;
	padding: 5px;
	border: 1px solid #000000;
	color: #000000;
}

fieldset.info ul, fieldset.error ul, fieldset.alert ul {
	padding-left: 12px !important;
}

/* Forms */

form {
}

input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  padding: 2px;
}

textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  padding: 2px;
}

select {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
}

input[readonly], select[disabled] {
  background-color: #CCCCCC;
  color: #000000;
}

input[disabled] {
  background-color: #CCCCCC;
  color: #666666;
}

option {
  padding: 0 5px 0 5px;
}

img.ico {
	height: 16px;
	width: 16px;
	margin: 0px 4px 4px 4px;
	border: 0;
}

a.ico {
	vertical-align: bottom;
}

label {
	font-size: 1em;
	margin: 0 8px 0 0;
	display: inline;
}

label.middle {
	font-size: 1em;
	margin: 0 8px 0 10px;
	display: inline;
}

span.middle {
	font-size: 1em;
	margin: 0 8px 0 10px;
	display: inline;
}

.button {
	background-color: #8D1300;
	color: white;
	margin: 4px;
	padding: 2px 4px;
}

.buttonVector{
	background-color: #000099;
	color: white;
	margin: 4px;
	padding: 2px 4px;
	font-size: 0.9em;
}

.buttonExtSrc{
	background-color: #000099;
	color: white;
	padding: 2px 4px;
	font-size: 0.9em;
}

.buttonArray{
	background-color: #009900;
	color: white;
	margin: 4px;
	padding: 2px 4px;
  font-size: 0.9em;
}

.buttonVectorLight{
	background-color: #6666FF;
	color: white;
	margin: 4px;
	padding: 2px 4px;
	font-size: 0.9em;
}

.buttonArrayLight{
	background-color: #88FF88;
	color: black;
	margin: 4px;
	padding: 2px 4px;
  font-size: 0.9em;
}

.buttonVectorTarget{
	background-color: #6666FF;
	color: white;
	margin: 4px;
	padding: 2px 4px;
	font-size: 0.9em;
	font-weight: bold;
}

.buttonArrayTarget{
	background-color: #00FF00;
	color: black;
	margin: 4px;
	padding: 2px 4px;
  font-size: 0.9em;
	font-weight: bold;
}

.buttonDel {
  background-color: #FF0000;
  color: white;
  margin: 4px;
  padding: 2px 4px;
  font-size: 0.9em;
}

.buttonDelLight {
  background-color: #FF8888;
  color: black;
  margin: 4px;
  padding: 2px 4px;
  font-size: 0.9em;
}

.buttonAlert {
  background-color: yellow;
  color: black;
  margin: 4px;
  padding: 2px 4px;
  font-size: 0.9em;
}

span.cbox {
	font-size: 1em;
	margin: 0 8px 0 4px;
}

span.counter {
	font-size: 1em;
	background-color: #8D1300;
	color: #FFFFFF;
	padding: 1px 2px 1px 2px;
	margin-left: 5px;
	font-family: Arial, Helvetica, sans-serif;
}

div.mcbox {
  font-size: 0.9em;
  background-color: white;
  border: 2px groove #999999;
  padding: 2px;
  overflow: auto;
}

div.mcbox1 {
  display:inline-block;
  float: left;
}

div.mcbox2 {
  display:inline-block;
  float: left;
  margin-left: 10px;
  margin-right: 2px;
}

.incorrectField{
  color: #FF0000;
  font-weight: bold;
}

.incorrectFieldInv{
  background-color: #FF0000;
  color: yellow;
  font-weight: bold;
}

.incorrectInfo{
  color: #FF0000;
}

.infoTextBold{
  color: #0000FF;
  font-weight: bold;
}

.infoText{
  color: #0000FF;
}

.bold{
  font-weight: bold;
}

.italic{
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.center { text-align: center; }

.right { text-align: right; }

.nowrap { white-space: nowrap; }

.bad{
  background-color: #FF0000;
}

.empty{
  background-color: #99FFFF;
}

.emptyReq{
  background-color: #FFFF99;
}

.reqField{
  color: #CE3700;
}

.reportPermFilter {
  color: #0000FF;
}

.reportPermFilterSwitch {
  color: #0000FF;
  font-size: 1em;
}

.reportPermLink {
  color: #0000FF;
}

.reportListValue {
  font-weight: bold;
}


/* Tables */

table {
  font-size: 1em;
}

table.block {
  width: 100%;
	border: 0;
}

table.block td {
	vertical-align: top;
	padding: 10px 5px 0 5px;
}

table.forms {
  margin-top: 2px;
  width: 100%;
	border: 0;
}

table.forms td {
	vertical-align: top;
	padding: 1px;
	border: 0;
}

table.filter {
  margin-top: 2px;
  width: auto;
	border: 0;
}

table.filter td {
	vertical-align: top;
	padding: 1px;
	border: 0;
}

table.filter td.reportListTitle {
  padding-right: 50px;
}

table.filter td.reportMultiPart {
  padding-right: 50px;
}


table.filter td.reportSubfilter {
  font-style: italic;
  padding-left: 10px;
}


table.editForm {
  margin-top: 2px;
  width: auto;
	border: 0;
}

table.editForm td {
	vertical-align: middle;
	padding: 1px;
	border: 0;
}


table.filterAlone {
  margin-top: 10px;
  width: auto;
	border: 0;
}

table.filterAlone td {
	vertical-align: middle;
	padding: 1px 2px 1px 2px;
	border: 0;
}

table.filterSwitch {
  margin-bottom: 10px;
  width: auto;
	border: 0;
}

table.filterSwitch td {
	vertical-align: top;
	padding: 0 10px 0 1px;
	border: 0;
}

table.filterSwitch a {
  font-weight: bold;
  color: #003399;
}


table.report, table.edit {
  border-collapse: collapse;
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
}

table.report th {
	border: 2px groove #999999;
	background-color: #8D1300;
	color: white;
	text-align: center;
  font-size: 0.9em;
  padding: 2px;
  white-space: nowrap;
}

table.report td {
	border: 2px groove #999999;
  vertical-align: top;
  font-size: 0.9em;
  padding: 2px;
}

table.report td.head {
	border: 2px groove #999999;
	background-color: #8D1300;
	color: white;
	text-align: center;
  font-size: 0.9em;
  padding: 2px;
  font-weight: bold;
  white-space: nowrap;
}

table.report td.head-wrap {
  border: 2px groove #999999;
  background-color: #8D1300;
  color: white;
  text-align: center;
  font-size: 0.9em;
  padding: 2px;
  font-weight: bold;
  min-width: 30px;
}

table.report td.reportPermColumnHead {
	border: 2px groove #999999;
	background-color: #0000FF;
	color: white;
	text-align: center;
  font-size: 0.9em;
  padding: 2px;
  font-weight: bold;
}

table.report td.title {
	border: 2px groove #999999;
	background-color: #8D1300;
	color: white;
  font-size: 0.9em;
}

table.report td.rownum {
	background-color: #8D1300;
	color: white;
	text-align: right;
}

table.report td.small {
	border: 2px groove #999999;
  vertical-align: top;
  font-size: 0.8em;
  padding: 2px;
}

table.report td.reportMultiValue {
  border: 2px groove #999999;
  vertical-align: top;
  padding: 0px;
}

table.reportMultiValue {
  margin: 0px;
  width: auto;
  border: 0;
  border-collapse: collapse;
}

table.reportMultiValue td {
  vertical-align: top;
  padding: 0px 1px 0px 1px;
  margin: 0px;
  border-width: 1px;
  font-size: 1em;
}

table.edit th {
	border: 2px groove #999999;
	background-color: #8D1300;
	color: white;
	text-align: center;
	font-size: 0.9em;
  padding: 2px;
}

table.edit td {
	border: 2px groove #999999;
  vertical-align: middle;
  padding: 2px;
}

table.edit td.rownum {
	background-color: #8D1300;
	color: white;
	text-align: right;
	vertical-align: middle;
}

table.editSmall {
  border-collapse: collapse;
	width: auto;
	font-family: Arial, Helvetica, sans-serif;
}

table.editSmall th, table.editSmall thead th {
	border: 2px groove #999999;
	background-color: #8D1300;
	color: white;
	text-align: center;
	font-size: 0.9em;
  padding: 2px;
}

table.editSmall td.head, table.editSmall thead td.head {
	border: 2px groove #999999;
	background-color: #8D1300;
	color: white;
	text-align: center;
  font-size: 0.9em;
  padding: 2px;
  font-weight: bold;
}

table.editSmall td {
	border: 2px groove #999999;
  vertical-align: middle;
  padding: 2px;
}

table.editSmall td.rownum {
	background-color: #8D1300;
	color: white;
	text-align: right;
	vertical-align: middle;
}

table.editSmall td.white {
	background-color: white;
}

td.reportSelRow {
  cursor: pointer;
}

td.reportSelRowS {
  background-color: #FFFF80;
  cursor: pointer;
}

td.reportNoWrap {
	white-space: nowrap;
}

table.nowrap td {
  white-space: nowrap;
}

a.reportTdLink {
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}


/* Editor */

td.edit-read-attr {
	white-space: nowrap;
  vertical-align: middle;
  background-color: #FFFF99;
}

td.edit-read-empty {
	white-space: nowrap;
  vertical-align: middle;
  background-color: silver;
}

td.edit-read-key {
	white-space: nowrap;
  vertical-align: middle;
  background-color: #99FF99;
}

td.edit-read-array {
	white-space: nowrap;
  background-color: white;
}

td.edit-read-attr-del {
	white-space: nowrap;
  vertical-align: middle;
  background-color: #999966;
}

td.edit-read-empty-del {
	white-space: nowrap;
  vertical-align: middle;
  background-color: #666666;
}

td.edit-read-key-del {
	white-space: nowrap;
  vertical-align: middle;
  background-color: #669966;
}

td.edit-read-array-del {
	white-space: nowrap;
  background-color: #666666;
}

td.edit-write-attr {
  white-space: nowrap;
  vertical-align: middle;
  background-color: #FFFFEE;
}

td.edit-write-key {
  white-space: nowrap;
  vertical-align: middle;
  background-color: #99FF99;
}

td.edit-write-array {
  white-space: nowrap;
  vertical-align: middle;
  background-color: #FFFFEE;
}

td.edit-write-array-del {
	white-space: nowrap;
  vertical-align: middle;
  background-color: #999966;
}

td.edit-delBox {
	text-align: center;
	background-color: #FFCCCC;
}

table.edit-arrayIn {
  width: auto;
  border: 0;
}

table.edit-arrayIn td {
  white-space: nowrap;
	vertical-align: middle;
  border: 0;
  padding: 0;
}

span.edit-enumID {
	color: #0000FF;
	font-style: italic;
	padding-left: 10px;
}

span.edit-bool-true {
  color: #009900;
}

span.edit-bool-false {
  color: #FF0000;
}

span.edit-space-mark {
	color: red;
}

a.edit-link-array {
	color: #008800;
	font-weight: bold;
}

a.edit-link-vector {
  color: #0000FF;
  font-weight: bold;
  font-size: 0.9em;
}

a.edit-link-section {
  color: black;
  font-weight: bold;
  font-size: 0.9em;
}

a.edit-link-external {
  color: #8D1300;
  font-weight: bold;
  font-size: 0.9em;
}

a.edit-link-column-shrink {
  color: yellow;
  font-weight: bold;
  margin-right: 5px;
  text-decoration: none;
}

a.edit-link-column-grow {
  color: yellow;
  font-weight: bold;
  margin-left: 5px;
  text-decoration: none;
}


/* Charts */

.zoom{
  font-weight: bold;
}

.zoom-selected{
  background-color: #8D1300;
  color: #FFFFFF;
  font-weight: bold;
  padding: 0px 2px;
}


/* Login */

#contentLogin {
	margin-top: 80px;
	margin-left: 290px;
	padding-top: 55px;
	padding-left: 30px;
	width: 400px;
	height: 190px;
	background: url(img/login.gif) no-repeat left top;
}

input.login {
  width: 200px;
}

table.login {
	border: 0;
}

table.login td {
	vertical-align: top;
	padding: 2px;
	border: 0;
}

a.sharedFiles {
  color: blue;
}

a.sharedFilesToConfirm {
  background-color: red;
}

span.headerInLine {
  margin-right: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: underline;
  color: #000000;
}

span.yes {
	color: green;
	font-weight: bold;
}

span.no {
	color: red;
	font-weight: bold;
}

span.inactive {
	color: #808080;
}


.sort-asc-0 {
  display: inline-block;
  background: url(img/sort_asc_0.gif) no-repeat;
  width: 9px;
  height: 9px;
  border: 0;
  text-decoration: none;
}

.sort-asc-1 {
  display: inline-block;
  background: url(img/sort_asc_1.gif) no-repeat;
  width: 9px;
  height: 9px;
  border: 0;
  text-decoration: none;
}

.sort-desc-0 {
  display: inline-block;
  background: url(img/sort_desc_0.gif) no-repeat;
  width: 9px;
  height: 9px;
  border: 0;
  text-decoration: none;
}

.sort-desc-1 {
  display: inline-block;
  background: url(img/sort_desc_1.gif) no-repeat;
  width: 9px;
  height: 9px;
  border: 0;
  text-decoration: none;
}

.reportMultiTitle {
  margin: 5px 0 2px 0;
  font-weight: bold;
  text-decoration: underline;
  color: #000000;
}


div.contentTabs {
  border-bottom: 1px solid gray;
  padding: 3px 0;
  margin-left: 0;
  margin-top: 1px;
  margin-bottom: 0;
  font-weight: bold;
  text-align: left;
  width: 100%;
}

div.contentTabs div {
  display: inline;
  margin: 0;
}

div.contentTabs div a {
  text-decoration: none;
  padding: 3px 7px;
  border: 1px solid #778;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: #2b2b2b;
  background: #fff;
}

div.contentTabs div a:visited {
  color: #2b2b2b;
}

div.contentTabs div a:hover {
  text-decoration: none;
  color: #2b2b2b;
  background: #ccc;
}

div.contentTabs div.active {
  position: relative;
  top: 0px;
}

div.contentTabs div.active a {
  background: #8D1300;
  color: white;
}

div.contentTabs div.active a:hover {
  text-decoration: none;
  background: #8D1300;
}

div.contentTabPage {
  margin-top: 0px;
}

fieldset.contentTabPage {
  margin-top: 0px;
}


.hidden {
  display: none;
}

.rotate {
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}


div.popup-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  display: none;
  background-color: rgba(255, 255, 255, 0.5);
}

div.popup-container-2 {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1900;
  display: none;
  background-color: rgba(255, 255, 255, 0.5);
}

div.popup-container-transparent {
  position: absolute;   /* zde není fixed */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  display: none;
}

div.popup-container-modif {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  background-color: rgba(255, 128, 128, 0.5);
}

div#modif-checker {
	position: fixed; 
	z-index: 10100;
}

div#modif-checker .popup-title {
  background-color: #f00;
}

div#modif-checker-parallel {
  position: fixed; 
  top: 10px; 
  right: 10px;
  z-index: 10090;
  background-color: #fff;
  border: 2px groove #999999;
  padding: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

div#modif-checker-parallel .x-icon {
	width: 32px;
	height: 32px;
	background-size: 32px 32px;
	background-position: center;
	background-repeat: no-repeat;
}

div#modif-checker-parallel .x-icon-view {
	background-image: url(img/warning-yellow.png);
}

div#modif-checker-parallel .x-icon-edit {
  background-image: url(img/warning-red.png);
}

div#modif-checker-parallel ul {
	list-style: none;
}

div#modif-checker-parallel .x-editing {
	color: red;
}


.prototype {
  display: none;
}


div.popup {
	display: none;
  position: absolute;
  background-color: #ffa;
  border: 2px groove #999999;
  padding: 2px;
  overflow: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8), 0 6px 20px 0 rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

div.popup-fixed {
	display: none;
  position: fixed;
  background-color: #ffa;
  border: 2px groove #999999;
  padding: 2px;
  overflow: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8), 0 6px 20px 0 rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

div.popup-title {
  background-color: #039;
  color: white;
  white-space: nowrap;
  font-weight: bold;
  padding: 2px;
  cursor: move;
  height: 14px;
}

div.popup-title-left {
  float: left;
  padding-right: 2px;
}

div.popup-title-right {
  float: right;
}

div.popup-buttons {
  border-bottom: 2px groove #999999;
}

div.popup-content {
  overflow: auto;
}

div.popup-menu  {
  position: absolute;
  border: 2px groove #999;
  padding: 2px;
  overflow: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.8), 0 6px 20px 0 rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  width: 160px;
  background-color: #EAF7FC;
}

div.popup-menu ul {
  list-style: none;
  padding-top: 5px;
  line-height: 100%;
  min-height: 20px;
}

div.popup-menu li {
  padding: 0;
  color: #000;
  font-weight: bold;
}

div.popup-menu a {
  text-decoration: none;
  display: inline-block;
  color: #000;
  font-weight: bold;
  width: 150px;
  min-height: 14px;
  padding: 4px 0 2px 10px;
}

div.popup-menu a:hover:not(.x-disabled) {
  color: white;
  background: #8D1300;
}

div.popup-menu a.x-disabled {
  color: #888;
  cursor: default;
}

input.button-brown {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  border: 1px solid #ce3700;
  border-radius: 10px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: -webkit-linear-gradient(top,#cc3600,#8e1200);
  background: -o-linear-gradient(top,#cc3600,#8e1200);
  background: -moz-linear-gradient(top,#cc3600,#8e1200);
  background: linear-gradient(to bottom, #cc3600,#8e1200);
}

input.button-brown:hover {
  background: -webkit-linear-gradient(bottom,#cc3600,#8e1200);
  background: -o-linear-gradient(bottom,#cc3600,#8e1200);
  background: -moz-linear-gradient(bottom,#cc3600,#8e1200);
  background: linear-gradient(to top, #cc3600,#8e1200);
}

input.button-blue {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  border: 1px solid #347aff;
  border-radius: 10px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: -webkit-linear-gradient(top,#347aff,#1149b4);
  background: -o-linear-gradient(top,#347aff,#1149b4);
  background: -moz-linear-gradient(top,#347aff,#1149b4);
  background: linear-gradient(to bottom, #347aff,#1149b4);
}

input.button-blue:hover {
  background: -webkit-linear-gradient(bottom,#347aff,#1149b4);
  background: -o-linear-gradient(bottom,#347aff,#1149b4);
  background: -moz-linear-gradient(bottom,#347aff,#1149b4);
  background: linear-gradient(to top, #347aff,#1149b4);
}

input.button-green {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  border: 1px solid #5bb367;  
  border-radius: 10px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: -webkit-linear-gradient(top,#5bb367,#258032);
  background: -o-linear-gradient(top,#5bb367,#258032);
  background: -moz-linear-gradient(top,#5bb367,#258032);
  background: linear-gradient(to bottom, #5bb367,#258032);
}

input.button-green:hover {
  background: -webkit-linear-gradient(bottom,#5bb367,#258032);
  background: -o-linear-gradient(bottom,#5bb367,#258032);
  background: -moz-linear-gradient(bottom,#5bb367,#258032);
  background: linear-gradient(to top, #5bb367,#258032);  
}

input.button-red {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  border: 1px solid #f87f7f;
  border-radius: 10px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: -webkit-linear-gradient(top,#f87f7f,#d03d3d);
  background: -o-linear-gradient(top,#f87f7f,#d03d3d);
  background: -moz-linear-gradient(top,#f87f7f,#d03d3d);
  background: linear-gradient(to bottom, #f87f7f,#d03d3d);
}

input.button-red:hover {
  background: -webkit-linear-gradient(bottom,#f87f7f,#d03d3d);
  background: -o-linear-gradient(bottom,#f87f7f,#d03d3d);
  background: -moz-linear-gradient(bottom,#f87f7f,#d03d3d);
  background: linear-gradient(to top, #f87f7f,#d03d3d);
}

input.button-close {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background:  white url(img/close.png) center no-repeat;
  background-size: 12px 12px;
  padding: 0;
}

input.button-close:hover {
  background: #ccc url(img/close.png) center no-repeat;
  background-size: 12px 12px;
}

input.button-brown:disabled, input.button-blue:disabled, input.button-green:disabled, input.button-red:disabled,
input.button-brown:disabled:hover, input.button-blue:disabled:hover, input.button-green:disabled:hover, input.button-red:disabled:hover {
  border: 1px solid #ccc !important;
  color: #fff !important;
  background: -webkit-linear-gradient(top,#ccc,#aaa);
  background: -o-linear-gradient(top,#ccc,#aaa);
  background: -moz-linear-gradient(top,#ccc,#aaa);
  background: linear-gradient(to bottom, #ccc,#aaa);
  cursor: default !important;
}

input.button-trash {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  color: white;
  width: 24px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #f33;
  border-radius: 6px;
  background:  white url(img/delete.png) center no-repeat;
}

input.button-trash:hover {
  background: #faa url(img/delete.png) center no-repeat !important;
}

input.button-trash:disabled, input.button-trash:disabled:hover {
  border: 1px solid #888;
  background: #ccc url(img/delete.png) center no-repeat !important;
}

input.button-edit-blue {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  color: white;
  width: 24px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #33c;
  border-radius: 6px;
  background:  white url(img/edit-blue.png) center no-repeat;
}

input.button-edit-blue:hover {
  background: #aaf url(img/edit-blue.png) center no-repeat !important;
}

input.button-edit-blue:disabled, input.button-edit-blue:disabled:hover {
  border: 1px solid #888;
  background: #ccc url(img/edit-blue.png) center no-repeat !important;
}

input.button-move-blue {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  color: white;
  width: 24px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #33c;
  border-radius: 6px;
  background:  white url(img/move-blue.png) center no-repeat;
}

input.button-move-blue:hover {
  background: #aaf url(img/move-blue.png) center no-repeat !important;
}

input.button-move-blue:disabled, input.button-move-blue:disabled:hover {
  border: 1px solid #888;
  background: #ccc url(img/move-blue.png) center no-repeat !important;
}

input.button-ok {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  color: white;
  width: 24px;
  height: 20px;
  border: 1px solid #3c3;
  border-radius: 6px;
  background:  white url(img/ok.png) center no-repeat;
}

input.button-ok:hover {
  background: #afa url(img/ok.png) center no-repeat !important;
}

input.button-ok:disabled, input.button-ok:disabled:hover {
  border: 1px solid #888;
  background: #ccc url(img/ok.png) center no-repeat !important;
}

a.download {
  display: inline-block;
  width: 22px;
  height: 18px;
  background: white url(img/download.png) no-repeat;
  background-position: 1px -3px;
  text-decoration: none;
  vertical-align: top;
  border: 1px solid #33c;
  border-radius: 6px;
  padding: 0;
}

a.download:hover {
  background: #aaf url(img/download.png) no-repeat !important;
  background-position: 1px -3px !important;
}

div.lock {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url(img/lock.png) no-repeat;
  background-size: contain;
}

div.lock-small {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(img/lock.png) no-repeat;
  background-size: contain;
}

input.button-locked {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  color: white;
  width: 24px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #000;
  border-radius: 6px;
  background:  white url(img/lock.png) center no-repeat;
  background-size: 16px 16px;
}

input.button-locked:hover {
  opacity: 0.7 !important;
}

input.button-locked:disabled, input.button-locked:disabled:hover {
  border: 1px solid #888;
  background: #ccc url(img/lock.png) center no-repeat !important;
}

input.button-unlocked {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin: 0 2px;
  padding: 1px 10px 2px 10px;
  color: white;
  width: 24px;
  height: 20px;
  vertical-align: middle;
  border: 1px solid #080;
  border-radius: 6px;
  background:  white url(img/unlock-green.png) center no-repeat;
  background-size: 16px 16px;
}

input.button-unlocked:hover {
  opacity: 0.7 !important;
}

input.button-unlocked:disabled, input.button-unlocked:disabled:hover {
  border: 1px solid #888;
  background: #ccc url(img/unlock-green.png) center no-repeat !important;
}

fieldset.secret {
	background-color: #ffc;
}

fieldset.secret legend {
  color: #000;
}
