body
{
	margin: 0.5%;
	padding: 0;
	font-family: arial, sans-serif;
	font-size: 0.9em;
}

*:first-child
{
	margin-top: 0;
}

a
{
	color: navy;
}

a:hover
{
	color: royalblue;
}

h1
{
	font-size: 1.8em;
	font-weight: normal;
	color: slategrey;
	border-bottom: 2px solid sandybrown;
	padding-bottom: 0.2em;
}

#menu
{
	float: left;
	width: 20%;
}

#menu div
{
	text-align: center;
}

#menu ul
{
	margin: 0;
	padding: 0;
}

#menu ul li
{
	list-style: none;
	margin-top: 5%;
}

#menu ul li:first-child
{
	margin-top: 0;
}

#menu ul li a
{
	display: block;
	padding: 2%;
	margin: 0.5%;
	color: white;
	background-color: #20377d;
	text-decoration: none;
	font-size: 1.1em;
	font-weight: light;
}

#menu ul li.lang
{
	text-align: center;
}

#menu ul li.lang a
{
	display: inline;
	padding: 0;
	margin: 0;
	color: #20377d;
	background-color: transparent;
	text-decoration: underline;
	font-size: 1em;
	font-weight: light;
}

#menu ul li a:first-child
{
	-moz-border-radius: 2% 2% 0 0;
	-webkit-border-radius: 2% 2% 0 0;
	border-radius: 2% 2% 0 0;
}

#menu ul li a:last-child
{
	-moz-border-radius: 0 0 2% 2%;
	-webkit-border-radius: 0 0 2% 2%;
	border-radius: 0 0 2% 2%;
}

#menu ul li a:first-child:last-child
{
	-moz-border-radius: 2%;
	-webkit-border-radius: 2%;
	border-radius: 2%;
}

#menu ul li a:not(.act):hover
{
	text-decoration: none;
	opacity:0.7;
	filter:alpha(opacity=70)
}

#menu ul li a.logout
{
	background-color: #f26421;
}

#menu ul li a.logout span
{
	font-size: 0.75em;
}

#content
{
	float: left;
	width: 79.5%;
	margin-left: 0.5%;
}

/* list table */
table
{
	font-size: 0.8em;
	width: 100%;
}

table thead
{
	background-color: lightseagreen;
}

table thead th
{
	padding: 0.3em;
}

table tr.sec th
{
	background-color: white;
	border-bottom: 1px solid lightsteelblue;
	padding: 0.5em;
}

table tbody
{
	background-color: peachpuff;
}

table tbody tr:nth-child(2n+1)
{
	background-color: papayawhip;
}

table tbody td
{
	padding: 0.5em;
}

table td.opt
{
	white-space: nowrap;
}

table td.opt a
{
	margin: 0.2em;
}

table td.opt a.del
{
	color: orangered;
}

table td.opt a.mv
{
	padding: 0.3em 0.7em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	color: white;
	text-decoration: none;
}

table tr:hover td
{
	background-color: #e6eeef;
}

.up
{
	background-color: #f30;
}

.up:hover
{
	background-color: #b22400;
}

.dn
{
	background-color: #06f;
}

.dn:hover
{
	background-color: #0047b2;
}

.off
{
	cursor: default;
	opacity: 0.2;
}

/* toolbar */
.tb ul
{
	margin: 1em 0;
	padding: 0;
}

.tb ul li
{
	display: inline-block;
	list-style: none;
}

.tb ul li a
{
	padding: 0.5em;
	background-color: darkorange;
	color: white;
	font-weight: bold;
	text-decoration: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.tb ul li a:hover
{
	background-color: brown;
}

/* content editor menu */
div.tools ul
{
	margin: 0 0 0.5%;
	padding: 0 0 0.5%;
	border-bottom: 1px solid slategrey;
}

div.tools ul li
{
	list-style: none;
	overflow: auto;
}

div.tools ul li a
{
	display: block;
	float: left;
	padding: 0.5%;
	margin-right: 0.2%;
	background-color: white;
	text-decoration: none;
	font-weight: normal;
	font-size: 1em;
	border: 1px solid slategrey;
}

div.tools ul li a:hover
{
	background-color: moccasin;
	color: navy;
}

div.tools ul li a:last-child
{
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-radius-bottom-right: 5px;
	-webkit-border-radius-top-right: 5px;
}

div.tools ul li a.act
{
	border-color: transparent;
	background-color: coral;
	color: white;
}

div.tools ul li a.back
{
	background-color: lavender;
	border: 1px solid gainsboro;
	margin-right: 1%;
	-moz-border-radius: 5px 0 0 5px;
	-webkit-border-radius: 5px 0 0 5px;
}

/* editor */
#editor
{
	width: 100%;
	margin-top: 1%;
}

#editor h2
{
	font-weight: normal;
}

#editor > h2
{
	font-size: 1.5em;
	color: #f26421;
}

#editor fieldset h2
{
	font-size: 1.2em;
}

#editor form fieldset
{
	border: 2px solid lightsteelblue;
	padding: 1%;
	margin-bottom: 1%;
	-moz-border-radius: 0.5%;
	-webkit-border-radius: 0.5%;
}

#editor form fieldset.sbm
{
	border: none;
	border-top: 1px dashed gainsboro;
}

#editor form fieldset label
{
	display: block;
}

#editor form fieldset label span:first-child
{
	display: block;
	float: left;
	width: 10em;
	text-align: right;
	margin-right: 0.5em;
}

#editor form fieldset label span,
#editor form fieldset label input,
#editor form fieldset label select
{
	padding: 0.3em;
}

#editor form fieldset label.check span,
#editor form fieldset label.check input
{
	padding: 0;
}

#editor form fieldset label input[type="text"]
{
	width: 30em;
}

#editor form fieldset label input.num
{
	width: 3em;
}

#editor form fieldset label input.date
{
	width: 5em;
}

#editor form fieldset h3
{
	margin: 0 0 0.5em;
}

#editor form fieldset.submit
{
	border-top: 1px solid #f26421;
}

p.notice
{
	font-size: 0.85em;
	padding: 1%;
	background-color: limegreen;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px; 
	color: white;
	font-weight: bold;
}

span.e
{
	font-size: 0.8em;
	color: white;
	text-align: right;
	padding: 0.2em;
	background-color: orangered;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

/**
 * login form
 */
form.login
{
	width: 20em;
	margin: 0 auto;
}

form.login fieldset
{
	border: none;
}

form.login fieldset.logo
{
	text-align: center;
}

form.login fieldset.data
{
	padding: 1em;
	color: white;
	background-color: #00adef;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
}

form.login label
{
	display: block;
	font-weight: bold;
}

form.login label:first-child
{
	margin-bottom: 0.5em;
}

form.login label.sbm
{
	margin-top: 1em;
}

form.login label.sbm input
{
	color: #20377d;
	background-color: white;
	font-weight: bold;
}

form.login label input[type="text"],
form.login label input[type="password"]
{
	width: 19.6em;
}

form.login label input
{
	padding: 0.2em;
	margin-top: 0.2em;
	border: none;
	-moz-border-radius: 0.3em;
	-webkit-border-radius: 0.3em;
	color: #20377d;
}

form.login label span
{
	font-weight: normal;
	font-size: 0.85em;
}

tr.act td:first-child
{
	background-color: #f26421 !important;
}

span.counter
{
	color: #999;
}

span.counter.warn
{
	color: red;
}
