/********** Body **********/
body
{
	margin: 0;
	padding: 0;
}


/********** Defaults **********/
ul, ol
{
	margin-top: 0em;
	margin-bottom: 0em;
	margin-left: 0;
	padding-left: 2em;
	padding-bottom: 0;
}

li+li
{
	margin-top: 0.5em;
}

/********** Admin menu list **********/
div#admin_menu ul
{
	margin-top: 0.5em;
	margin-bottom: 0em;
	margin-left: 0;
	padding-left: 2em;
	list-style: none;
}

div#admin_menu li
{
	border: 0px solid;
}

div#admin_menu li div.admin
{
	float: right;
}

div#admin_menu li.is_space
{
	margin-bottom: 1.5em;
}

div#admin_menu li+li
{
	margin-top: 0.5em;
}

div#admin_menu div#actions
{
	margin-top: 1em;
}

div#admin_menu div#error
{
	color: red;
	margin-bottom: 1em;
}

/********* Calendar ***********/

table.NAT_calendar
{
	text-align: center;
	font-size:1em;
}
table.NAT_calendar a{color:#C6661E;}
table.NAT_calendar td 
{
	border:solid 1px #FDF9CC;
	color:black;
	padding:0.2em;
	background-color:#FFDD88;
	text-align:center;
}
table.NAT_calendar td.period_cur{text-align:center;font-weight: bold;}
table.NAT_calendar td.period_prev{text-align:left;}
table.NAT_calendar td.period_next{text-align:right;}
table.NAT_calendar td.day_pre{color:#888888;background-color:#FDF9CC;}
table.NAT_calendar td.day_active{background-color:#FFFFFF;font-weight:bold;}
table.NAT_calendar th.weekday
{
	width:14%;
	color:black;
	padding-top:0.5em;
	font-weight: bold;
}

table.event_list td.date{font-style:italic;}
table.event_list td.title{font-style:normal;}
table.event_list td.title a.title{font-style:normal;color:#6666CE;font-weight:normal;}
table.event_sub td.index{font-style:italic;width:125px;}

/********** FORM **********/
div.idea_form div.question{margin: 15px;}
div.idea_form div.question label{font-weight: bold;}

/********** News **********/
#news
{
	width: 30em;
	margin-top: 1em;
}

#news_archive
{
	width: 40em;
}

a.news_title
{
	color: black;
	font-weight: bold;
}

a.news_title:hover
{
	color: #333333;
	font-weight: bold;
}

p.news_description
{
	margin-top: 0.5em;
	margin-bottom: 0em;
}

.image_right
{
	text-align: center;
}

.image_right .header
{
	display: block;
	
	color: white;
	font-weight: none;
	text-decoration: none;
	background-color: #F08920;
}

.image_right a.header:hover
{
	/* background-color: #E07810; */
	color: #000000;
}

.image_right h2
{
	font-size: 1.3em;
	text-align: center;
	padding-top: 0.25em;
	padding-bottom: 0.15em;
	margin: 0;
}

.image_right p
{
	margin: 0;
	text-align: left;
	padding: 0.4em;
	background-color: white;
}


/********** Links **********/
a.menu-selected
{
	color: #000000;
}

a.menu-selected:link
{
	color: #000000;
}

a.menu-selected:visited
{
	color: #000000;
}

a.menu-selected:hover
{
	color: #333333;
}

a.menu-selected:active
{
	color: #333333;
}

a
{
	color: #6666CE; /* #C6661E */
	font-weight: normal;
	text-decoration: none;
}

a:hover
{
	color: #8686FE; /* #D9992F */
	font-weight: normal;
	text-decoration: none;
}


/********** Page sections **********/
#menu_left
{
	display: block;
}

#menu_top
{
	/*
	height: 1.5em;
	width: 100%;*/
	border: white solid;
	border-width: 0 0 0 1px;
}

#top_icons a
{
    font-family: arial, verdana, geneva;
	font-size: 0.8em;
	color: #F6221A; /* F6221A */
	font-weight: bold;
}

#content
{
	font-family: arial, verdana, geneva;
	font-size: 0.8em;
	background-color: #FFFFFF; /* FDF9CC FDF9FC */
	padding-top: 2em;
	padding-left: 4em;
	padding-bottom: 4em;
	width: 40em;
	text-align: left;
}

#title
{
	font-family: arial, verdana, geneva;
	font-size: 0.8em;
	background-color: #FBF8CD;
	padding-top: 1em;
	text-align: left;
	padding-bottom: 4em;
}

#title h1
{
	float: left;
	padding-top: 0.2em;
	padding-left: 1em;
}


/********** Menu stuff **********/
#menu_left .comment
{
	padding-top: 1em;
	padding-left: 1em;
	color: black;
	
	font-family: arial, geneva, "ITC Stone Sans";
	font-size: 0.75em;
}

/* Menu left */
#menu_left ul, #menu_top ul
{
	list-style: none;
	padding: 0;
	margin: 0;
	color: white;
	
	font-family: arial, geneva, "ITC Stone Sans";
	font-size: 0.75em;
}

#menu_left ul
{
	background-color: #3020A0;  /* F08920 */
}

#menu_left ul li
{
	margin: 0;
	padding: 0;
	display: block;
	border: white solid;
	border-width: 0 0 1px 0;
}

#menu_left ul li.space
{
	height: 2em;
}

#menu_left ul li a
{
	display: block;
	padding-left: 15px;
	
	padding-top: 0.7em;
	padding-bottom: 0.3em;
	width: 128px;
	
	color: white;
	font-weight: none;
	text-decoration: none;
	background-color: #3020A0;  /* #F08920 */
}

#menu_left ul li a:hover
{
	background-color: #29166F; /* #302060 #E07810; */
	color: #AAAAFF;
}

#menu_left ul li a.selected, #menu_top a.selected
{
	color: #AAAAFF; /* 000000 */
}

#menu_left ul li a.selected:hover, #menu_top a.selected:hover
{
	color: #AAAAFF; /* 111111 */
}

#menu_left ul li a.active, #menu_left ul li.sub a
{
	background-color: #29166F; /* EC672B */
}

#menu_left ul li a.active:hover, #menu_left ul li.sub a:hover
{
	background-color: #29166F; /* DB561B */
}

#menu_left ul li.sub a.active, #menu_left ul li.sub .sub2 a
{
	background-color: #29166F; /* DA4C27 */
}

#menu_left ul li.sub a.active:hover, #menu_left ul li.sub .sub2 a:hover
{
	background-color: #29166F; /* C93C26 */
}

#menu_left ul li.sub a
{
	margin-left: 15px;
	width: 113px;
}

#menu_left ul li.sub .sub2
{
	margin-left: 15px;
	width: 98px;
	background-color: #29166F; /* EC672B */
}

#menu_left ul li.sub .sub2 a
{
	width: 98px;
}


/* Menu top */
#menu_top
{
	white-space: nowrap;
	width: 100%;		/* Another: 70em */
	/* background-color: transparent; */
	background-color: #DF0B06; /* 29166F */
}

#nav
{
	font-family: arial, geneva, "ITC Stone Sans";
	font-size: 0.75em;
}

#menu_top #space
{
	padding-top: 0.7em;
	padding-bottom: 0.3em;
	background-color: #DF0B06; /* BF0B06 */
}

#menu_top a
{
	display: block;
	padding-left: 0.8em;			/* 1.5 em */

	padding-top: 0.7em;
	padding-bottom: 0.3em;

	width: 16em;					/* 13 em */
	color: white;
	font-weight: normal;
	text-decoration: none;
}

#menu_top .empty
{
	display: block;
	padding-left: 0.8em;			/* 1.5 em */
	
	padding-top: 0.7em;
	padding-bottom: 0.3em;
	
	width: 7em;					/* 13 em */
	color: white;
	font-weight: normal;
	text-decoration: none;
	border: white solid;
	border-width: 0 0 0 1px;
}

#menu_top #toolbox1, #menu_top #toolbox2, #menu_top #toolbox3, #menu_top #toolbox4
{
	float: left;
	border: white solid;
	border-width: 0 1px 0 0;
}

#menu_top #toolbox2
{
	border: white solid;
	border-width: 0 0 0 0;
}


#menu_top a.sub
{
	border: white solid;
	border-width: 1px 0 0 0;
	margin-left: 1.5em;
	width: 11.5em;
}

#menu_top #toolbox1 a
{
	background-color: #009B99;
}

#menu_top #toolbox1 a:hover
{
	background-color: #008A88;
}

#menu_top #toolbox2 a
{
	background-color: #956AA9;
}

#menu_top #toolbox2 a:hover
{
	background-color: #945999;
}

#menu_top #toolbox3 a, #menu_top #toolbox3 .empty
{
	background-color: #878E3A;
}

#menu_top #toolbox3 a:hover
{
	background-color: #867D2A;
}


#menu_top #toolbox4 a
{
	background-color: #C73667;
}

#menu_top #toolbox4 a:hover
{
	background-color: #C62557;
}

#menu_top #search
{
	float: left;
	/*border-left: 1px solid white;*/
	background-color: #DF0B06; /* #29166F AF352C 3020A0 */
}

#menu_top #search form
{
	display: inline;
	margin: 0;
	padding: 0;
}

#menu_top #search input
{
	float: left;
	margin: 3px;
	padding: 0;
	width: 11em;		/* 20 em */
}

#menu_top #search #submit
{
	float: left;
}

#menu_top #search a
{
	background-color: #DF0B06; /* EC672B */
	margin-top: 3px;
	margin-bottom: 3px;
	padding-top: 0.4em;
	padding-bottom: 0.1em;
	margin-left: 3px;
	width: 4.5em;		/* 5 em */
}

#menu_top #choose_language
{
	float: left;
	margin-left: 20px;
	margin-right: 20px;
	background-color: #DF0B06; /* AF352C */
}

#menu_top #choose_language form
{
	display: inline;
	margin: 0;
	padding: 0;
}

#menu_top #choose_language p
{
	margin-right: 5px;
}

#menu_top #choose_language .popup
{
	float: left;
	margin-top: 2px;
	padding: 0;
}

#menu_top #choose_language #submit
{
	float: left;
}

#menu_top #choose_language p
{
	float: left;
	margin-top: 3px;
	margin-bottom: 3px;
	padding-top: 0.4em;
	padding-bottom: 0.1em;
	margin-left: 3px;
	color: #FFFFFF;
}

#menu_top #choose_language a
{
	background-color: #DF0B06; /* EC672B */
	margin-top: 3px;
	margin-bottom: 3px;
	padding-top: 0.4em;
	padding-bottom: 0.1em;
	margin-left: 3px;
	margin-right: 3px;
	width: 5em;		/* 5 em */
}


#menu_top .list_item
{
	float: left;
	/*margin-left: 10px;*/
	/*margin-right: 10px;*/
	background-color: #DF0B06; /* AF352C */
	border-right: 1px solid white;
}

#menu_top .list_item form
{
	display: inline;
	margin: 0;
	padding: 0;
}

#menu_top .list_item p
{
	margin-right: 5px;
}

#menu_top .list_item .popup
{
	float: left;
	margin-top: 2px;
	padding: 0;
}

#menu_top .list_item #submit
{
	float: left;
}

#menu_top .list_item p
{
	float: left;
	margin-top: 3px;
	margin-bottom: 3px;
	padding-top: 0.4em;
	padding-bottom: 0.1em;
	margin-left: 3px;
	color: #FFFFFF;
}

#menu_top .list_item a
{
	background-color: #DF0B06; /* EC672B */
	margin-top: 3px;
	margin-bottom: 3px;
	padding-top: 0.4em;
	padding-bottom: 0.1em;
	padding-left: 20px;
	/*margin-right: 3px;*/
	width: 5.5em;		/* 5 em */
}


#menu_top a:hover
{
	background-color: #CE0B06; /* DB561B */
	color: #CCCCCC; /* CCCCCC */
}



/********** Treemenu **********/
#treemenu a
{
	color: black;
}

#treemenu #copyright
{
	width: 300px;
	text-align: right;
	margin-bottom: 0.5em;
}

#treemenu #copyright a
{
	 font-size: 8pt;
	 text-decoration: none;
	 color: #AAAAAA;
}


/********** Page formatting and headers **********/
h1
{
	font-size: 170%;
	font-weight: normal;
	margin-bottom: 1em;
	margin-top: 0;
	border-bottom: 1px solid;
	border-bottom-color: #BAB588;
}

h2
{
	font-size: 150%;
	font-weight: normal;
	margin-bottom: 0.25em;
	margin-top: 0.5em; /* 2em earlier */
}

h3
{
	font-size: 120%;
	font-weight: bold;
	margin-bottom: 0.25em;
	margin-top: 1.5em;
}

/*
	h4 could also be:
	font-size: 100%;
	font-weight: normal;
*/
h4
{
	font-size: 100%;
	font-weight: bold;
	/*font-style: italic;*/
	margin-bottom: 0.25em;
	margin-top: 1.5em; /* 2em earlier */
}

img
{
	border: none;
	border-width: 0;
}

label
{
	margin-right: 2em;
}

p
{
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
}

.form td
{
	padding-top: 0.5em;
}

.form_comment
{
	font-size: 90%;
	font-style: italic;
	padding-top: 0;
	margin-top: 0;
	margin-left: 0;
}

.form_error
{
	color: red;
}

ul
{
	margin: 1em;
}


/********** Misc **********/

.error
{
	color: red;
}

.status
{
	color: blue;
}

a.header
{
	color: black;
	font-weight: bold;
}

a.header:hover
{
	color: #333333;
	font-weight: bold;
}

/* thumbnails  article_image */
div.article_image, div.article_imageright, div.article_imageleft, div.article_imagecenter
{
	padding: 2px;
	border:0;
	
	font-size: 0.8em;
	text-align: center;
}

div.article_imagenone p, div.article_imageright p, div.article_imageleft p, div.article_imagecenter p
{
	margin-top:3px;
	margin-bottom:3px;
	text-align: left;
}

div.article_image
{
	margin-left:1em;
	margin-right:1em;
	margin-top:1em;
}

div.article_imagecenter
{
	margin-left:1em;
	margin-right:1em;
	margin-top:1em;
}

div.article_imageright
{
	margin-left:0em;
	margin-right:0em;
	margin-top:0em;
}

div.article_imageleft
{
	float: left;
	margin-right:1em;
	margin-left:1em;
	margin-top:1em;
}



/********** Wikipedia article images **********/
div.floatright { 
    float: right; 
    margin: 0;
    position:relative;
    border: 0.5em solid #FFFFFF;
    border-width: 0.5em 0 0.8em 1.4em;
}
div.floatright p { font-style: italic;} 
div.floatleft { 
    float: left; 
    margin: 0.3em 0.5em 0.5em 0;
    position:relative;
    border: 0.5em solid #FFFFFF;
    border-width: 0.5em 1.4em 0.8em 0;
}
div.floatleft p { font-style: italic; } 
/* thumbnails */
div.thumb {
    margin-bottom: 0.5em;
    border-style: solid; border-color: #FFFFFF;
    width: auto;
    overflow: hidden;
}
div.thumb div {
    border:1px solid #cccccc;
    padding: 3px !important;
    background-color:#f9f9f9;
    font-size: 94%;
    text-align: center;
}
div.thumb div a img {
    border:1px solid #cccccc;
}
div.thumb div div.thumbcaption {
    border: none;
    padding: 0.3em 0 0.1em 0;
    text-align: left;
    line-height: 1.4em;
}
div.magnify {
	float: right;
	border: none !important;
	background: none !important;
}
div.magnify a, div.magnify img {
	display: block;
	border: none !important;
	background: none !important;
}
div.tright {
	clear: right;
    float: right;
    border-width: 0.5em 0 0.8em 1.4em;
    border-color: #FFFFFF;
}
div.tleft {
    float: left;
    margin-right:0.5em;
    border-width: 0.5em 1.4em 0.8em 0;
    border-color: #FFFFFF;
}

img {
	border: none;
	vertical-align: middle;
}

/* emulate center */
.center {
	width: 100%;
	text-align: center;
}
*.center * {
	margin-left: auto;
	margin-right: auto;
}



/********** Admin menu list **********/
div#admin_menu ul
{
	margin-top: 0.5em;
	margin-bottom: 0em;
	margin-left: 0;
	padding-left: 2em;
	list-style: none;
}

div#admin_menu li
{
	border: 0px solid;
}

div#admin_menu li div.admin
{
	float: right;
}

div#admin_menu li.is_space
{
	margin-bottom: 1.5em;
}

div#admin_menu li+li
{
	margin-top: 0.5em;
}

div#admin_menu div#actions
{
	margin-top: 1em;
}

div#admin_menu div#error
{
	color: red;
	margin-bottom: 1em;
}

/********** Instance admin **********/
div.instance div.item
{
	float:left;
	margin-right: 10px;
}

/********** Permissions **********/
div.column {float:left;padding:0px;margin:0px;width:50%;}

/********** Addressbook *********/
table.addressbook td, th{padding:0.5em;}
table.addressbook th a{font-weight:normal;text-decoration:underline;}

table.addressbook_item th 
{
	width:150px;
	font-weight:normal;
	font-style:italic;
}

table.addressbook th img.asc, img.desc{display:inline;}
table.addressbook th img.asc {vertical-align:top;}

