/* system.css */
* {
	-moz-box-sizing		: border-box;
	box-sizing			: border-box;
}

table {
	border-collapse		: collapse;
}

legend {
	font-weight	: bold;
}
legend img {
	vertical-align: middle;
}
/* <P> tag has no margin, cause WYSIWYG editor inserts <p> on enter */
p {
	margin				: 0px;
}
img {
	border				: 0px;
}

/* Paging */
.paging {
	margin-top		: 1px;
	width			: 100%;
	text-align		: center;
}
.paging_current_page {
	border			: 1px solid black;
	padding-left	: 2px;
	padding-right	: 2px;
}

/* Search */
.search_field {
}
.search_submit {
}
.SearchPage, .SearchNews {
}
.SearchList {
}
.SearchProfile {
}

/* Error */
.required {
}

.inline_error {
	color				: red;
}
.inline_warning {
}

/* If you want in-line to look like div */
.div {
	display				: block;
}

/* row colors */
.list .Odd td {
	background-color	: #FFFFFF;
}
.list .Even td {
	background-color	: #EEEEEE;
}

.debug {
	margin: 5px;
	border				: 1px dashed black;
	font-family			: monospace;
	font-size			: 10pt;
	text-align			: left;
}

/* list.css 2004-04-16 */
.list {
	width				: 100%;
}

.list .header {
	height				: 24px;
	background			: ThreeDFace;
}

.list td {
	border				: black solid 1px;
	padding				: 1px 3px 1px 2px;
	margin				: 1px 1px 1px 1px;
	vertical-align		: middle;
}

.header td{
	white-space			: nowrap;
}

.list img {
	vertical-align		: middle;
}

.checkboxTD {
	text-align			: center;
}
/* Highlight color */
.checkboxTDlightblue {
	text-align			: center;
	background-color	: #EFEFEF;
}
.checkboxColumn {
	width				: 16px;
}

/* form.css 2006-02-10 */
label {
	cursor				: pointer;
}

form {
	margin				: 0px;
}

fieldset {
	padding-left		: 10px;
	padding-right		: 10px;
	/* padding-top		: 10px;*/
	padding-bottom		: 10px;
}

input, textarea, select, button, .MenuPositionInput, .input {
	font-family			: arial, helvetica, sans-serif;
	font-size			: 8pt;
}

button {
	height				: 22px;
}

/* Layout of a standard form */
.ItemForm td, .ItemFormTd {
	padding				: 2px;
}
/* Class of a sub table of itemform */
.subitemform, .subitemform td {
	padding				: 0px;
	margin				: 0px;
}

.MenuPositionInput {
	border				: 2px inset #FFFFFF;
	background-color	: #FFFFFF;
	cursor				: pointer;
	padding				: 1px;
}
.MenuPositionInput img {
	vertical-align		: middle;
	cursor				: pointer;
}

.formkey {
	width				: 120px;
}
fieldset .formkey {
	width				: 100px;
}

/* Standard inputfield sizes */
.inputxsmall {
	width				: 72px;
}
.inputsmall {
	width				: 115px;
}
.inputmedium {
	width				: 180px;
}
.inputlarge {
	width				: 330px;
}
.inputxlarge {
	width				: 460px;
}

/* Full size forms */
table.inputmax {
	width				: 100%;
}
table.inputmax td {
	white-space			: nowrap;
}
span.inputmax input {
	width				: 100%;
}
span.inputmax textarea {
	width				: 100%;
	height				: 100px;
}
/* TR with button row for items: save, cancel, etc */
.ButtonRow {
	text-align			: right;
}

/* If an <option> background is dark, the text color must be white */
.darkoption {
	color				: #FFFFFF;
}

.ForumMessageInput {
	width	: 100%;
	height	: 80px;
}

/* toolbar.css */
.toolbar {
	border-collapse		: separate;
	vertical-align		: middle;
	background-color	: ThreeDFace;
	cursor				: default;
	width				: 100%;
	font-size			: 8pt;
	z-index: 30;
}
.toolbar *, .toolbar a, .toolbar a:visited, .toolbar a:hover {
	vertical-align		: middle;
	font-weight			: normal;
	color				: MenuText;
	text-decoration		: none;
	font-size			: 8pt;
	z-index: 30;
}
.toolbar td, .toolbartd {
	padding				: 2px;
	vertical-align		: middle;
	min-height			: 24px;
	height				: 24px;
	border-top			: 1px solid ButtonHighlight;
	border-right		: 1px solid ButtonShadow;
	border-bottom		: 1px solid ButtonShadow;
	border-left			: 1px solid ButtonHighlight;
}
body[class] .toolbar td, body[class] .toolbartd {
	height				: auto;
}

.toolbar img {
	margin-top			: 2px;
	margin-bottom		: 2px;
	width				: 16px;
	height				: 16px;
	background-color	: ThreeDFace;
	vertical-align		: middle;
}
.toolbar .button {
	background-color	: ThreeDFace;
	border				: 1px solid ThreeDFace;
	padding				: 2px;
}

img.separator {
	width				: 2px;
	height				: 16px;
}
img.dropmenu {
	width				: 7px;
	height				: 16px;
}

.selOff, a.selOff {
	border				: 1px solid ThreeDFace;
}
.selOn, a.selOff:hover,
.selUp,
.filter_form,
.charmenu,
.admin_submenu {
	border-top			: 1px solid ButtonHighlight;
	border-right		: 1px solid ButtonShadow;
	border-bottom		: 1px solid ButtonShadow;
	border-left			: 1px solid ButtonHighlight;
}

.selOn, a.selOff:hover {
	cursor				: pointer;
}

.selDown {
	border-top			: 1px solid ButtonShadow;
	border-right		: 1px solid ButtonHighlight;
	border-bottom		: 1px solid ButtonHighlight;
	border-left			: 1px solid ButtonShadow;
}

.selDown, .selUp, .selOff, .selOn {
	background-color	: ThreeDFace;
	padding				: 2px;
}

/* Toolbar pulldown filter form */
.filter_form {
	position			: absolute;
	width				: 250px;
	background-color	: ThreeDFace;
	vertical-align		: middle;
	display				: none;
	font-size			: 8pt;
	font-family			: arial, helvetica, sans-serif;
}
.filter_form * {
	font-size			: 8pt;
}

/* Toolbar pulldown menu */
.menuOn {
	background-color	: Highlight;
	color				: HighlightText;
	cursor				: pointer;
}
a.menuOn:hover, .menuOn * {
	color				: #FFFFFF;
	cursor				: pointer;
}
.menuOff {
	background-color	: ThreeDFace;
	cursor				: pointer;
}

/* Drop down menu's special characters */
.charmenu {
	display				: none;
	border-collapse		: separate;
	background-color	: ThreeDFace;
	vertical-align		: middle;
	font-size			: 8pt;
	font-family			: arial, helvetica, sans-serif;
	text-decoration		: none;
	text-align			: left;
}
.charmenu a {
	text-decoration		: none;
}
.charmenu td {
	width				: 22px;
	height				: 22px;
	cursor				: pointer;
	text-align			: center;
}

/* Top admin toolbar */
.toptoolbar {
	border		: 0px solid black;
	margin		: 0px;
	padding		: 0px;
	text-align	: left;
	width		: 100%;
	z-index	: 1;
}

.toptoolbar .toolbar {
	display: none;
}

.admin_mode_button {
	position			: absolute;
	right				: 2px;
	top					: 2px;
	margin				: 2px;
	z-index				: 2;
	width				: 16px;
	height				: 16px;
}

/* Admin pulldown menu */
.admin_menu {
	width				: 180px;
	margin				: 2px;
	padding				: 2px;
}
.admin_menu * {
	white-space			: nowrap;
	font-size			: 8pt;
}

.admin_submenu {
	width				: 160px;
	margin				: 2px;
	padding				: 2px;
	display				: none;
	background-color	: ThreeDFace;
	position			: absolute;
	left				: 180px;
	margin-top			: -20px;
}

/* Drop down menu items style */
.dropmenuitem span {
	display				: block;
	width				: 100%;
	padding				: 2px;
	cursor				: pointer;
	/*padding-left		: 20px;*/
}
a.dropmenuitem span {
	background-color	: Menu;
	color				: MenuText;
}

a.dropmenuitem:hover, a.dropmenuitem:hover span, a.dropmenuitem:hover img {
	background-color	: Highlight;
	color				: HighlightText;
}
.dropmenuitem img {
	vertical-align: middle;
}

.list td.PermReadTrue {
	background-color	: #C0FFC0;
}
.list td.PermReadFalse {
	background-color	: #FFC0C0;
}

.icon {
	width	: 16px;
	height	: 16px;
}

.list td.InPublicationtrue {
	background-color	: green;
}
.list td.InPublicationfalse {
	background-color	: red;
}

sup, sub {
	line-height	: 0;
}
