@charset "windows-1251";
/* CSS Document */

[detail-editor]
{
	display:block;
	position: absolute;
	left:50px;
	top:50px;
	right:50px;
	bottom:50px;
	box-shadow:5px 5px 30px rgba(0,0,0,0.8);
	background: #fff;
	padding:20px;
	overflow:hidden;
	transition:opacity ease 0.5s, visibility step-start 0.1s, left ease 0.3s, right ease 0.3s, top ease 0.31s, bottom ease 0.31s;
	visibility: visible;
	opacity:1;
	overflow:auto;
}

[detail-editor][hidden]
{
	display:block !important;
	visibility: hidden;
	opacity:0;
	transition:opacity ease 0.5s, visibility 1s step-end 0.1s, left ease 0.6s, right ease 0.6s, top ease 0.7s, bottom ease 0.7s;
	
	left:40%;
	top:40%;
	right:40%;
	bottom:40%;
}

[detail-editor] h1
{
	color:rgba(51,153,0,0.63);
	text-shadow:none;
}

[detail-editor] > table
{
	width:100%;
	height:100%;
}

[detail-editor] > table > tbody > tr[header] > td
{
	height:10px;
}

[detail-editor] table[editor]
{
	width:100%;
	height:100%;
	table-layout:fixed;
	border-collapse:collapse;
}

[detail-editor] table[editor] > tbody > tr > td
{
	vertical-align:top;
	text-align:left;
	width:15%;
	height:25%;
	overflow:auto;
	padding:10px;
	border-collapse:collapse;
	margin:0px;
}

[detail-editor] table[editor] > tbody > tr > td[preview]
{
	padding:0;
	margin:0;
	vertical-align:middle;
	text-align:center;

	width:55%;
	height:50%;
	
}
[detail-editor] table[editor] > tbody > tr > td[preview] > canvas
{
	padding:0;
	margin:0;
	display:inline-block;
}

[detail-editor] table[editor] > tbody > tr > td + td
{
	border-left:1px solid rgba(187,187,187,1.00);
}
[detail-editor] table[editor] > tbody > tr > td[rowspan]
{
	border-left:none;
}

[detail-editor] table[editor] > tbody > tr + tr > td,
[detail-editor] table[editor] div[side="6"]
{
	border-top:1px solid rgba(187,187,187,1.00);
}

[detail-editor] table[editor] tr[top] td
{
	vertical-align:top;
}

[detail-editor] table[editor] tr[middle] td
{
	vertical-align:middle;
}

[detail-editor] table[editor] tr[bottom] td
{
	vertical-align:bottom;
}

[detail-editor] table[editor] tr td[top]
{
	vertical-align:top;
}

[detail-editor] table[editor] tr td[middle]
{
	vertical-align:middle;
}
[detail-editor] table[editor] tr td[bottom]
{
	vertical-align:bottom;
}

[detail-editor] table[editor] tr td[force-top]
{
	vertical-align:top;
}

[detail-editor] table[editor] td[left]
{
	text-align:left;
}
[detail-editor] table[editor] td[center]
{
	text-align:center;
}
[detail-editor] table[editor] td[right]
{
	text-align:right;
}

[detail-editor] table[editor] [add]
{
	cursor:pointer;
}

[detail-editor] table[editor] [desc]
{
	display:inline-block;
}

[detail-editor] table[editor] [left] [add]:before,
[detail-editor] table[editor] [center] [add]:after,
[detail-editor] table[editor] [right] [add]:after
{
	margin:0 10px;
	padding:2px 5px 5px 5px;
	border:1px solid rgba(0,0,0,0.5);
	background:#390;
	color:#fff;
	content : '+';
	box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
	text-align:center;
	width:20px;
	height:20px;
	display:inline-block;
	transition: background-color ease 0.3s;
}

[detail-editor] table[editor] [left] [add]:hover:before,
[detail-editor] table[editor] [center] [add]:hover:after,
[detail-editor] table[editor] [right] [add]:hover:after
{
	background:#160;
}

[detail-editor] input[type="checkbox"][expander]
{
	display:none;	
}

[detail-editor] input[type="checkbox"][expander] + label
{
	cursor:pointer;
	opacity:0.5;
}

[detail-editor] input[type="checkbox"][expander] + label:before
{
	content : '';
	vertical-align:middle;
	width:20px;
	height:20px;
	position:relative;
	display:inline-block;
	border:1px solid rgba(0,0,0,0.5);
	margin-right:10px;
	transition: all ease 0.5s;
}


[detail-editor] input[type="checkbox"][expander]:checked + label
{
	opacity:1;
}

[detail-editor] input[type="checkbox"][expander]:checked + label:before
{
	transition: all ease 0.5s;
	background-color:rgba(37,151,0,0.88);
}

[detail-editor] input[type="checkbox"][expander] + label + [hideexpanded]
{
	position: absolute;
	transition: all ease 0.5s;
}
[detail-editor] input[type="checkbox"][expander]:checked + label + [hideexpanded]
{
	opacity:0;
	transition: all ease 0.5s;
	visibility : collapse;
}

[detail-editor] input[type="checkbox"][expander] + label + [hideexpanded] + div[content]
{
	transition: all ease 0.5s;
	display:block;	
	position:relative;
	top:-20px;
	margin-top:20px;
}

[detail-editor] input[type="checkbox"][expander]:not(checked) + label + [hideexpanded] + div[content]
{
	visibility:collapse;
	opacity:0;
}

[detail-editor] input[type="checkbox"][expander]:checked + label + [hideexpanded] + div[content]
{
	top:0px;
	visibility:visible;
	opacity:1;
}

[detail-editor] table[editor] table[params] 
{
	width:auto;
	display:inline-table;
	border-collapse:collapse;
}

[detail-editor] table[editor] table[params] td
{
	border:1px solid #eee;
	padding:3px;
	text-align:left;
	vertical-align:middle;	
	width:auto;
}

[detail-editor] table[editor] table[params] td:nth-child(1)
{
	text-align:right;
}

[detail-editor] [items] [work]
{
	margin:4px;
	padding:4px;
	display:inline-block;
	border:1px solid rgba(0,0,0,0.1);
	background-color:rgba(0,0,0,0.03);
	cursor:default;
}
[detail-editor] [items] [work]:hover
{
	background-color:rgba(0,0,0,0.1);
}


[detail-editor] [items] [work] [params]
{
	text-align:left;
	font-size:10pt;
	display:block;
}

[detail-editor] [items] [work] [param]
{
	text-align:left;
	font-size:10pt;
	display:inline-block;
	padding: 1px 3px;
}

[detail-editor] [items] [work] [param] [desc]
{
	padding:0;
	margin: 0 5px 0 0;
	text-align:left;
	vertical-align:middle;
	font-size:10pt;
	font-weight:normal;
	color:rgba(0,0,0,0.5);
	display:inline-block;
}

[detail-editor] [items] [work] [param] [value]
{
	font-size:12pt;
	min-height:15px;
	min-width:40px;
	width:auto;
	margin:0;
	padding:2px;
	color:#000;
	vertical-align:middle;
}

[detail-editor] [items] [work] [param] button
{
	background-color: rgba(200,200,200,1.00);
}

[selector-dialog] [detail-list-view]
{
	padding: 5px 15px 5px 60px;
	background-position:left center;
	background-repeat:no-repeat;
	background-size:50px 100%;
	
	border:1px solid #ccc;
	background-color: #fff;
	color: #666;
	border-radius:4px;
	text-align:left;
	transition: all ease 0.5s;
	
}

[selector-dialog] [detail-list-view]:hover
{
	border:1px solid #888;
	background-color: #aaa;
	color: #000;
}

[work] [param] button[value] [detail-list-view]
{
	white-space:nowrap;
	padding: 5px 15px 5px 60px;
	background-position:left center;
	background-repeat:no-repeat;
	background-size:50px 100%;
	
	text-align:left;
	overflow-style:marquee-line;
	overflow:hidden;
	max-width:100px;
}

[detail-editor] button[ok]:before
{
	content: 'OK';
}

[detail-editor] button[cancel]:before
{
	content: 'ÎÒÌÅÍÀ';
}

[detail-editor] input[type=number]::-webkit-inner-spin-button,
[detail-editor] input[type=number]::-webkit-outer-spin-button
{
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
    appearance: none;
}

[detail-editor] [items] [work] [param] [value][type="text"][numeric] 
{
	width : 50px;
}

@media all and (max-width:1000px) {
[detail-editor]
{
	padding:10px;
	left:12px;
	top:12px;
	right:12px;
	bottom:12px;
}

[detail-editor] [header] h1
{
	font-size:20px;
}
[detail-editor] [header] input 
{
	font-size: 12px;
	min-width:30px;
	width:30px;
	
}

[detail-editor] button
{
	min-width : 40px;
	min-height : 40px;
	width : 40px;
	height : 40px;
	margin:5px;
	padding:5px;
}
[detail-editor] button[ok]{
	width : 60px;
}
[detail-editor] button[ok]:before
{
	content: 'OK';
}

[detail-editor] button[cancel]:before
{
	font-size:30px;
	content: '\00d7';
}

[detail-editor] [items] [work] [param] [value]
{
	padding:4px;
	min-width:10px;
	min-height:10px;
	width:auto;
	height:auto;
}


[detail-editor] label[for]
{
	font-size:10px;
}
	
}

[detail-editor] [items] [work] [desc]
{
	text-align:left;
	white-space:nowrap;
	margin-right:60px;
    margin-top:0;
    padding-top:0;
	font-size:10pt;
	display:block;
	cursor:pointer;
	cursor:default;
}



[detail-editor] [items] [work] [buttons]
{
	float:right;
	margin:0;
	padding:0;
	position:relative;
	left:3px;
	top:-5px;
}

[detail-editor] [items] [work] [buttons] button 
{
	margin:0px;
	margin-left:1px;
	padding:0;
	min-width:18px;
	min-height:18px;
	width:18px;
	height:18px;
	border:1px solid rgba(0,0,0,0.5);
	color:#fff;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
	text-align:center;
	display:inline-block;
	font-size: 15px;
	vertical-align:middle;
	cursor:pointer;
	transition: background-color ease 0.3s;

	background:#0a0;
    background-repeat:no-repeat;
    background-size: contain;
    background-position: center center;

}

[detail-editor] [items] [work] [buttons] button[del]
{
	background-color:#a00;
	background-image:url(img/del.png);
}
[detail-editor] [items] [work] [buttons] button[clone]
{
	background-image:url(img/copy.png);
}
[detail-editor] [items] [work] [buttons] button[move]
{
	background-image:url(img/rotate.png);
}


[detail-editor] [items] [work] [buttons] button:hover
{
	background-color:#080;
}
[detail-editor] [items] [work] [buttons] button[del]:hover
{
	background-color:#800;
}