html {
	background:#ddd;
	margin:0;
	height:100%;
	width:100%;
	overflow:hidden;
}
body {
	border:1px solid #222;
	border-width:0 1px;
	background:white;
	margin:0 20px;
	height:100%;
	-webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.65);
	-moz-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.65);
	box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.65);
	/*overflow:hidden;*/
}

main {
	box-sizing:border-box;
	padding:100px 0 0 0;
}
#content {
	padding:10px 20px;
}

ul {margin:0;padding:0;}
#nav {
	background-image: url(/images/main-menu-bg.png);
	background-repeat: repeat-x;
	height: 52px;
	border-bottom: 5px solid #0F83A0;
	padding-left: 10px;
}
#nav ul {
	height: 52px;
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
	font-size: 11px;
	line-height: normal;
	font-family: Verdana, Geneva, sans-serif;
	overflow:hidden;
}
#nav li {
	position: relative;
	display: inline-block;
	float: left;
	border: 1px solid #222;
	border-width: 0 0 0 1px;
	height: 47px;
	margin-top: 5px;
}
#nav li.mhome {
	border: 0;
	margin-top: 0;
	height: 52px;
	width: 55px;
}
#nav li.mhome a {
	height: 52px;
	border-left: 0 none;
	text-indent: -9999px;
	background-color: #0F83A0;
	background-image: url(/images/home.png);
	background-repeat: no-repeat;
	background-position: 50% 9px;
}
#nav li a {
	display: block;
	line-height: 45px;
	height: 45px;
	text-decoration: none;
	color: #D5D5D5;
	padding: 0 15px;
	text-shadow: 0 1px 1px black;
	border-left: 1px solid #383838;
	text-transform:uppercase;
}
#nav #title {
	float:right;
	color:white;
	margin:18px 18px 0 0;
	font-size:120%;
	font-style:italic;
}

ul.menu {
	list-style-type:none;
	margin:10px;
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size:90%;
}
ul.menu li {
	padding:5px 10px;
}
ul.menu a {
	color: #337ab7;
    text-decoration: none;
}
ul.menu a.sel {
	color:black;
}

#content a {
	color:#337ab7;
    text-decoration:underline;
}
#content a:hover {
	text-decoration:none;
}

div#menu {
	position:relative;
	top: 0;
	bottom: 0; 
	left: 0;
	width: 250px; /* Width of navigation frame */
	height: 100%;
	overflow: hidden; /* Disables scrollbars on the navigation frame. To enable scrollbars, change "hidden" to "scroll" */
	background: #eee;
	margin-bottom:-100px;
}

div#content {
	position: absolute;
	top: 74px;
	left: 270px; /* Set this to the width of the navigation frame */
	right: 23px;
	bottom: 0;
	overflow: auto; 
}



.log {
	position:absolute;
	left:102%;
	top:10%;
	width:20%;
	height:500px;
	background:rgba(200,200,200,.8);
	font-size:x-small;
}



/* Таблицы: http://html5book.ru/examples/demo-tables.html */

table {
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size: 14px;
	border-collapse: collapse;
	text-align: center;
	margin:4px 0;
}
table.error tbody {
	display:none;
}
table.error tbody.error {
	display:table-row-group !important;
}
table.error tbody.error td {
	color:black;
	background-color:#ffe9e9 !important;
	text-align:center;
}
table tbody.error {
	display:none;
}
.tfill thead td, .tfill td:first-child {
	background:#337ab7;
	color:white;
	padding:10px 20px;
}
thead td {
	font-weight:bold;
}
.tfill thead td, td {
	border-style: solid;
	border-width: 0 1px 1px 0;
	border-color: white;
}
.tfill td {
	background: #D8E6F3;
}
thead td:first-child, td:first-child {
	text-align: left;
}

.tsimple {
	table-layout:fixed;
  border-collapse:collapse;
  width:100%;
}
.tsimple thead th,
.tsimple thead td {
	border-bottom:3px solid #337ab7;
	padding:10px;
	text-align:left;
}
.tsimple tbody td {
	padding:10px;
	border-bottom:1px solid #f0f0f0;
	overflow:hidden;
	text-overflow:ellipsis;
}
.tsimple tbody tr:nth-child(2n){
	background-color: #fafafa;
}
.tsimple td.txtleft {
	text-align:left;
}
.tsimple td.txtright {
	text-align:right;
}
.tsimple .nth0 + .nth1 td, .tsimple .nth1 + .nth0 td {
	border-top:2px solid #d1e7f3;	/* #aad1e8; */	/* #79b8cf; */
}
.tsimple tr.sel td {
	background-color:#fefec0;
}
.wordwreck {
	word-wrap:break-word;
}
.wdt-30 {
	width:30px;
}
.wdt-40 {
	width:40px;
}
.wdt-80 {
	width:80px;
}
.wdt-100 {
	width:100px;
}
.wdt-120 {
	width:120px;
}
.wdt-200 {
	width:200px;
}
.wdt-200.elastic
{
	min-width:200px;
	width:20%;
}
.wdt-250 {
	width:250px;
}

/* .tsimple [class^="icon-"] */
td.ops span.icon-cnt,
.icon-cancel,
.icon-cog,
.icon-arrows-cw {
	color:gray;
	position:relative;
	text-align:center;
	text-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
.wdt5 {
	width:50px;
}
span.icon-cnt:hover .icon-play,
span.icon-cnt:hover .icon-stop,
.icon-cancel:hover,
.icon-cog:hover,
.icon-arrows-cw:hover {
	color:black;
	cursor:pointer;
}
span.icon-desktop {
	color:gray;
	text-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
span.icon-desktop:hover {
	color:black;
	cursor:pointer;
}
span.icon-spin6 {
	margin:-1px 0 0 -1px;
	text-shadow:none;
	color:black;
}
tr.busy .op-settings span,	/*.icon-cog*/
tr.busy .op-reboot span,	/*.icon-cancel,*/
tr.busy .op-del span,	/*.icon-desktop,*/
tr.busy .op-vnc span {	/*.icon-arrows-cw {*/
	display:none;
}
td.jstatus {
	font-size:small;
}
tr.busy .jstatus {
	background-color:Lavender !important;
}
tr.s-off span.icon-desktop,
tr.s-off span.icon-arrows-cw {
	display:none;
}
tr.s-on td.jstatus {
	background-color:Honeydew;
}
tr.s-off td.jstatus {
	background-color:Seashell;
}

tr.maintenance .ops span,
tr.maintenance .op-settings span,
tr.maintenance .op-reboot span,
tr.maintenance .op-vnc span {
	display:none;
}
tr.maintenance td {
	color:gray;
}
tr.maintenance td.jstatus {
	background-color:#f0f0f0;
}

tr.busy.maintenance .ops span {
	display:inline-block !important;
}

.tsimple .icon-lock {
	color:silver;
	cursor:default;
}

/* td.ops span.icon-play:before {
	margin-left:.2em;
}
 */

#content p {
	margin:16px 0;
}

#content ul {
	margin:10px 0 10px 20px;
	list-style-type:disc;
}
#content ul li {
	padding:4px 0;
}

#content h1 {
	font-size:120%;
	color:#337ab7;
	margin:10px 0 20px 0;
}



dialog {
	display:none;
/*
	width:800px;
	height:630px;
*/
	padding:0;
	border:1px solid rgba(0,0,0,.3);
	border-radius:2px;
	box-shadow:0 5px 20px black;
	/*top:20%;*/
	background-color:#f0f0f0;
}
dialog::backdrop,
#backdrop {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
	background: rgba(0,0,0,.5);
	-webkit-backdrop-filter:blur(5px);
}
dialog {
	/*text-align:center;*/
	font-family: 'trebuchet ms', 'lucida grande', 'lucida sans unicode', arial, helvetica, sans-serif;
	font-size:90%;
}
.dialog-close:before {
	font-family:"clonos";
	content:'\e820';
	speak: none;
	display: inline-block;
	width: 1em;
	line-height: 1em;
	font-variant: normal;
	text-transform: none;
	margin:2px 6px;
}
dialog .panel {
	background-color:white;
}
dialog:not(input),
dialog:not(textarea) {
	user-select:none;
}

.window-box {
	/*padding:0 30px 30px 30px;*/
	border:1px solid #337ab7;
	border-width:1px 1px 1px 6px;
}
.window-box .close-but {
	position:absolute;
	left:100%;
	height:30px;
	width:32px;
	margin-left:-32px;
	font-size:30px;
	font-weight:bold;
	cursor:pointer;
	background-color:#f3f3f3;
	text-align:center;
	line-height:30px;
}
.window-box .window-content {
	min-height:300px;
	max-height:600px;
	padding:10px 30px;
}
.window-box .window-content p {
	margin-bottom:10px;
}
.window-box .buttons {
	background-color:#e0e0e0;
	border-top:1px solid silver;
	margin-top:4px;
	height:60px;
	padding:0 10px;
	text-align:center;
}
.buttons .button {
	font-weight:bold;
	padding:10px 18px;
	color:white;
	background-color:#337ab7;
	border:0;
	margin-left:10px;
	margin-top:10px;
	text-shadow:1px 1px 2px black;
	cursor:pointer;
	box-shadow:0 4px 8px rgba(0,0,0,.3);
	text-transform:uppercase;
	font-family:Helvetica,Impact,fantasy;
	font-size:90%;
}
.buttons .button:hover {
	opacity:.9;
}
.buttons .button.red {
	background-color:coral;
	text-shadow:1px 1px 2px black;
}

.window-box h1 {
	color:gray;
	text-transform:uppercase;
	font-size:90%;
	padding:0 30px;
	margin: 10px 0 0 0;
	font-family: serif;
}
.window-box h2 {
	color:gray;
	padding:0 30px;
	margin:0;
	font-size:220%;
	font-weight:normal;
}
.window-box h3 {
	border-bottom:3px solid #387db6;
	font-weight:bold;
	font-size:120%;
	margin:10px 0;
}
.window-box h3 small {
	color:gray;
	font-size:80%;
}
.window-box .mrow {
	margin:2px 0 2px 10px;
	border-bottom:1px dotted silver;
}
.window-box .mrow small {
	color:gray;
	font-size:80%;
}
.window-box .mrow .size {
	float:right;
	font-size:80%;
}
.window-box .scrolled {
	overflow-y:auto;
	max-height:500px;
}
.window-box .mrow.installed,
.window-box .mrow.installed small {
	color:silver;
}
form.win .field-name {
	display:block;
	text-transform:uppercase;
	color:gray;
	font-size:90%;
	font-weight:bold;
	margin-bottom:2px;
}
form.win input[type='text'],
form.win textarea,
form.win select {
	width:400px;
}
form.win fieldset {
	border: 1px solid gray;
    padding: 10px;
    margin-bottom: 20px;
}
form.win legend {
	padding:0 10px;
}
form.win input[type="text"]:required,
form.win input[type="password"]:required {
	background-color:#fef7f7;
	border:1px solid #d7a0a0;
}
form.win input[type="text"]:valid,
form.win input[type="password"]:valid {
	border:1px solid green;
	background-color:Honeydew;
}


input[type=checkbox]:checked + label,
input[type=radio]:checked + label {
	color:#337ab7;
}
input.inline + label {
	margin-right:30px;
}




/*
input[type=checkbox] {
  display: none;
}
.checkbox label:before {
  border-radius: 3px;
}
input[type=checkbox]:checked + label:before {
  content: "\2713";
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);
  font-size: 15px;
  color: #f3f3f3;
  text-align: center;
    line-height: 15px;
}

label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding-left: 25px;
	margin-right: 15px;
	line-height:normal;
}
input[type=radio] {
	display: none;
}
label:before {
	content: "";
	display: inline-block;

	width: 18px;
	height: 18px;

	margin-right: 10px;
	position: absolute;
	left: 0;
	bottom: 1px;
	background-color:#e0e0e0;
	box-shadow: inset 0px 2px 2px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);
}
.radio label:before {
	border-radius: 8px;
}
input[type=radio]:checked + label:before {
	content: "\2022";
	color: #f3f3f3;
	font-size: 30px;
	text-align: center;
	line-height: 18px;
}
*/

/*
good radio button and checkbox
http://dimox.name/custom-checkboxes-and-radio-buttons-using-css-only/
*/

#config-menu {
	position:absolute;
	display:inline-block;
}
#config-menu ul
{
	list-style-type:none !important;
	margin:0;
	padding:0;
	border:1px solid gray;
	box-shadow:2px 2px 5px rgba(0,0,0,.4);
	border-radius:0 4px 4px 4px;
	overflow:hidden;
	/* width:80px; */
	z-index:99;
	border-left-width:3px;
	background-color:white;
}
#config-menu li {
	padding:6px !important;
	line-height:110%;
}
#config-menu li:hover {
	background:#f0f0f0;
	cursor:pointer;
}
#config-menu .menu-cog {
	display:inline-block;
	color:#337ab7;
	padding:4px;
	border:1px solid gray;
	border-left-width:3px;
	border-bottom:none;
	margin-bottom:-1px;
	z-index:100;
	background-color:white;
}


span.top-button {
	font-weight: bold;
	padding: 10px 18px;
	color: white;
	background-color: #337ab7;
	border: 0;
	text-shadow: 1px 1px 2px black;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0,0,0,.3);
	text-transform: uppercase;
	font-family: Helvetica,Impact,fantasy;
	font-size: 70%;
	margin-right: 12px;
}
span.top-button:hover {
	opacity:.9;
}
span.top-button::before {
	font-size:180%;
    display:inline-block;
    top:3px;
    position:relative;
    left:-8px;
    padding:0;
    margin:0;
}

.noty_bar {
	box-shadow:3px 3px 3px rgba(0,0,0,.5);
}