#main_html, #main_body
{
	font: 12px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
	overflow-y: scroll;
	background: #fafafa; color: #333;
	background: #fff;
}
#main_body, #main_content { margin: 0 auto; }
#main_content { padding: 0 5px; }
.comp
{
	position: relative;
	padding: 54px 10px 30px; margin: 60px auto 0;
	border: 1px solid #eee;
	border-radius: 5px;
	background: #f8f8f8;

	background: #fff;
	border: none;
}
	.comp h1
	{
		font: 15px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
		text-align: center;
		margin: 0 0 18px;
		color: #333;
	}
	.comp h2
	{
		display: block; width: 60px; height: 60px;
		padding: 0; margin: 0 0 0 -30px;
		border: none; border-radius: 30px;
		position: absolute; top: -30px; left: 50%; z-index: 2;
		font: 11px/59px Tahoma, "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
		text-align: center;
		cursor: pointer;
		outline: none;
		-webkit-appearance: none;
		background-color: #ff4e00;
		background-repeat: no-repeat;
		background-position: center;
		color: #fff;
		transition: transform 0.2s ease-in-out;
	}
	.comp h2:hover, .comp h2.active
	{
		transform: scale(1.1);
		transition: transform 0.3s ease-in-out;
		background-color: #fc3e00;
	}
	.comp p
	{
		margin: 0 0 18px;
		font-size: 12px; text-align: center;
		color: #ccc;
	}
	.comp ol
	{
		list-style: none;
		padding: 0; margin: 0;
	}
	.comp ol li
	{
		display: block; padding: 0; margin: 0 0 18px;
		line-height: 0;
	}
	.comp ol li:hover label { color: #ff4e00; }
	.comp label
	{
		display: block; height: 18px;
		padding: 4px 5px 0; margin: 0;
		font-size: 11px; line-height: 18px; font-weight: normal;
		cursor: pointer;
		color: #aaa;
	}
	.comp input.text
	{
		display: block; width: 100%; height: 42px;
		padding: 0 5px; margin: 0;
		font: 17px/24px Tahoma, "Arial CE", "Helvetica CE", Arial, sans-serif;
		background: #fff; color: #665; transition: color 0.2s;
		box-sizing: border-box;
		outline: none;
		border: 1px solid #eee;
		border-radius: 5px;
		-webkit-appearance: none;
	}
	.comp input.text[disabled] { color: #aaa; -webkit-text-fill-color: #aaa; }
	.comp input.text:focus { color: #111; }
	.comp input.checkbox
	{
		width: 16px; margin: 0 0 6px 1%;
		-webkit-appearance: checkbox; outline: none;
	}
	.comp input.submit_update
	{
		display: block; float: right;
		margin: 24px 0 0; padding: 10px 20px;
		font: 13px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, sans-serif;
		font-weight: bold;
		text-transform: lowercase;
		cursor: pointer;
		border: none;
		background: none; color: #ff3600;
		outline: none;
		-webkit-appearance: none;
	}
	.comp input.submit_update:hover
	{
		color: #ee2500;
	}
	.comp input.submit_delete
	{
		display: block; float: left;
		margin: 24px 0 0; padding: 10px 20px;
		font: 13px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, sans-serif;
		font-weight: normal;
		text-transform: lowercase;
		cursor: pointer;
		border: none;
		outline: none;
		background: none; color: #ccc;
		-webkit-appearance: none;
	}
	.comp input.submit_delete:hover
	{
		color: #aaa;
	}
	.comp textarea
	{
		width: 100%; height: 100px;
		padding: 9px 5px; margin: 0;
		font: 13px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, sans-serif;
		resize: vertical;
		box-sizing: border-box;
		outline: none;
		background: #fff; color: #665;
		border: 1px solid #eee;
		border-radius: 5px;
		-webkit-appearance: none;
	}
	.comp textarea:focus { color: #333; }
	.comp select
	{
		display: block; width: 100%; height: 42px;
		padding: 0 5px; margin: 0;
		font: 17px/24px Tahoma, "Arial CE", "Helvetica CE", Arial, sans-serif;
		box-sizing: border-box;
		outline: none;
		border: 1px solid #eee;
		background: #fff; color: #665;
		border: 1px solid #eee;
		border-radius: 5px;
		-webkit-appearance: listbox;
	}
@media (min-width: 481px)
{
	#main_content { width: 480px; }
}

#node { }
	#node_header
	{
		text-indent: -9999px;
		background-image: url(css/c.content-edit/content-edit.svg);
		background-size: 32px;
		color: #333;
	}
	#node_header::selection { background: transparent; }
	#node_detail { display: none; }
	#node_detail.active { display: block; }

#header
{
	overflow: hidden;
	margin: 0; padding: 0 20px;
	border-bottom: 1px solid #eee;
}

#header_nav
{
	display: block; width: 80%;
	float: left;
	margin: 0; padding: 0;
	list-style: none;
}
	#header_nav li
	{
		display: block; float: left;
		margin: 0; padding: 0;
	}
	#header_nav li a
	{
		display: block; height: 24px;
		font: 13px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
		text-decoration: none;
		padding: 10px 10px 10px 0; margin: 0;
		transition: background-color 0.1s;
	}
	#header_nav li a:link, #header_nav li a:visited
	{
		/* color: #888; */
	}
	#header_nav li a:hover, #header_nav li a:active
	{

	}
	#header_nav li a.active
	{
		font-weight: bold;
		/* color: #aaa;*/
	}

#header_back
{
	display: block; width: 44px; height: 44px;
	float: right;
	text-indent: -9999px;
	background: url(css/c.header/left.png) right center no-repeat;
}

#header_message
{
	position: fixed; top: 0; z-index: 5;
	width: 100%; height: 78px; padding: 0; margin: 0; background: #c00;
	text-align: center;
}
	#header_message p
	{
		font-size: 12px; line-height: 18px;
		margin: 0;
	}

#login { margin: 80px auto; }
	#login h2
	{
		text-indent: -9999px;
		background: #ddd url(css/c.login/login.svg) no-repeat center;
		background-size: 32px;
		background-color: #ff3600;
	}
	#login input.submit
	{
		font: 12px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
		display: block; width: 100px; height: 36px;
		padding: 6px 14px; border: none; margin: 0 auto;
		font-weight: bold; letter-spacing: 0;
		cursor: pointer;

		background: #d2d2d2; color: #fff;
		border-radius: 10px;
	}
	#login input.submit:hover, input.submit:active input.submit:focus
	{ outline: none; background: #666; }

@media (min-width: 340px)
{
	#login { width: 320px; }
}
@media (max-width: 340px)
{
	#login { margin: 80px 5px; }
}


#footer
{
	padding: 9px 0; margin: 72px 0 0;
	font-size: 11px;
	color: #444;
	border-top: 1px solid #eee;
}
	#footer p { text-align: center; margin: 9px 0; }

#logout {}
	#logout a { text-decoration: none; }
	#logout a:link, #logout a:visited { color: #e00; font-weight: bold; }
	#logout a:hover, #logout a:active { color: #f00; }

#nodes {}
	#nodes h2
	{
		text-indent: -9999px;
		background: #338fff url(css/c.nodes/nodes.svg) no-repeat center;
		background-size: 24px;
		background-color: #64faab;
		background-color: #444;
	}
	#nodes h2.active
	{
		background-color: #333;
	}
#nodes_add
{
	display: none;
	margin: 0 0 18px;
	overflow: hidden;
	/*background: #eef9ff;*/
	padding: 0 0 18px;
	border-bottom: 1px solid #e2e2e2;
}
	#nodes_add.active { display: block; }
	#nodes_add input.text[disabled] { color: #aaa; -webkit-text-fill-color: #aaa; }
	#nodes_add input.text:focus { outline: none; }
	#nodes_add input.submit
	{
		font-size: 11px;
		float: right;
		margin: -13px 5px 0 0;
		cursor: pointer;
	}
#nodes_list {}
	#nodes_list ul
	{
		margin: 18px 0; padding: 0;
		list-style: none;
	}
	#nodes_list ul li
	{
		display: block; padding: 10px 0; margin: 18px 0;
	}
	#nodes_list a
	{
		display: block;
		text-decoration: none;
		outline: none;
		background-size: 16px 16px;
		padding: 8px 24px 0;
	}
	#nodes_list a:link, #nodes_list a:visited
	{
		color: #666;
	}
	#nodes_list a.img
	{
		display: block; width 32px; height: 32px; float: left;
		padding: 0;
	}
	#nodes_list img
	{
		display: block; width: 32px; height: 32px;
		float: left;
		margin: 0 10px 0 0;
		border: 1px solid #eee;
		border-radius: 5px;
	}
	#nodes_list div
	{
		font-size: 11px; color: #ccc;
		padding: 0; margin: 0
	}

/*
	#nodes_list select
	{
		display: block; width: auto; padding: 0; margin: 0 4px 0 0;
		float: left;
		font: 12px/18px Tahoma, "Arial CE", "Helvetica CE", Arial, helvetica, sans-serif;
		-webkit-appearance: listbox;
		background: transparent; color: #665;
		border: 1px solid #eee;
	}
	#nodes_list option { margin: 0; padding: 0; }

	#nodes_list input:focus, #nodes_list select:focus
	{
		outline: none;
	}
	#nodes_list input.submit
	{
		cursor: pointer; font-size: 11px;
	}
*/


#images {}
	#images_detail { display: none; }
	#images_detail.active { display: block; }
	#images h2
	{
		text-indent: -9999px;
		background-image: url(css/c.images/images.svg);
		background-size: 24px;
	}
	#images ol
	{
		list-style: none;
		margin: 0; padding: 0;
	}
	#images li
	{
		margin: 0; padding: 0;
	}
	#images form.upload
	{
		margin: 0 0 18px;
	}
	#images form.upload label
	{
		display: block;
		margin: 0 auto 24px; padding: 4px 10px;
		width: 240px;
		text-align: center;
		font-weight: normal;
		cursor: pointer;
		color: #ff4e00;
	}
	#images form.upload label:hover { color: #ff5f22; }
	#images form.upload input.file
	{
		width: 0.1px;
		height: 0.1px;
		opacity: 0;
		overflow: hidden;
		position: absolute;
		z-index: -1;
	}
	#images form.upload input.submit
	{
		display: block;
		font-size: 11px;
		margin: 9px auto;
		cursor: pointer;
	}
	#images img
	{
		display: block;
		width: 200px; height: 200px;
		margin: 0 auto;
		border: 1px solid #eee;
		border-radius: 10px;
	}
	#images form.update
	{

	}
	#images form.update label
	{
		display: block;
		margin: 0 auto; padding: 0;
		width: 190px;
		cursor: pointer;
		color: #ccc;

		display: none;
	}
	#images form.update input.text
	{
		display: block; width: 190px; height: 42px;
		padding: 0 5px; margin: 9px auto;
		font: 17px/24px Tahoma, "Arial CE", "Helvetica CE", Arial, sans-serif;
		background: #fff; color: #665; transition: color 0.2s;
		box-sizing: border-box;
		outline: none;
		border: 1px solid #e9e9e9;
		border-bottom-color: #ddd;
		border-radius: 5px;
	}
	#images form.update input.text[disabled]
	{
		color: #aaa; -webkit-text-fill-color: #aaa;
	}
	#images form.update input.text:focus
	{
		color: #111;
	}
	#images form.update div.submit
	{
		margin: 0 0 36px;
	}

	#images form.update div.submit input.submit
	{
		display: block;
		margin: 0 auto 18px;		
	}
	#images form.update input.submit
	{
		font-size: 11px;
		cursor: pointer;
	}

#product { }
	#product h2
	{
		text-indent: -9999px;
		background-image: url(css/c.product/product.svg);
		background-size: 32px;
	}
	#product_detail { display: none; }
	#product_detail.active { display: block; }

#new_product { }
	#new_product_header
	{
		/*
		text-indent: -9999px;
		background-image: url(css/c.content-edit/content-edit.svg);
		background-size: 32px;
		color: #333;
		*/
	}
	#new_product::selection { background: transparent; }
	#new_product_detail{ display: none; }
	#new_product_detail.active { display: block; }


