html, body, #content {
	height: 100%;
}

body {
	background: #fff;
	color: #333;
	font: 1em Verdana,Arial,sans-serif;
	margin: 0;
	padding: 0;
}

body > #content {
	height: auto;
	min-height: 100%;
}

#content {
	padding-bottom: 2em;
}


dl {
	font-size: 0.8em;
	font-style: italic;
}

#mainmenu h2 {
	margin: 0.1em 0 0.25em;
}
p, h1, h2, h3, h4 {
	line-height: 130%;
}

ol.nomarks, ul.nomarks {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
	line-height: 1.3em;
}

ol.nomarks li, ul.nomarks li {
	margin-bottom: 0.3em;
}


table {
	border-collapse: collapse;
	font-size: 1em;
/*	vertical-align: top; */
}

td {
	padding: 0;
}

td, tr { 
	vertical-align: top;
}

table.paragraph table.in-table td,
table.paragraph table.in-table th {
	padding: 0 1em 0.5em 0;
}
table.paragraph table.in-table th {
	font-weight: normal;
	font-size: 1.2em;
}
table.paragraph table.in-table td {
	font-size: 0.9em;
}

td p, p div {display: inline-block; width: 100%;}

.vtop {
	vertical-align: top;
}
.vbottom {
	vertical-align: bottom;
}
.vcenter {
	vertical-align: middle;
}

.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

textarea.autoheight {
   resize: none;
   overflow: hidden;
   min-height: 3em;
   max-height: 16em;
	width: 90%;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.dotted, .interactive {
	text-decoration: none;
	border-bottom: dashed 1px;
}

.hidden, .emailme, .nevidim, .skrit {
	display: none;
}

.no-underline, .noun {
	text-decoration: none;
}

.bold {font-weight: bold;}
.nobold {font-weight: normal;}

.normal-text {
	font: 0.8em/1.3em Verdana,Arial,sans-serif;
}
.extrabig {
	font-size: 3em;
	line-height: 1.5em;
}
.large  { font-size: 1.6em; }
.medium { font-size: .86em; }
.small  { font-size: .8em;  }
.tiny	  { font-size: .7em; }


.localmenuitem {
	font-size: 0.8em;
	margin-right: 0.7em;
	margin-left: -3px;
	padding: 1px 3px;
}
#localmenuitem-on, .on, #on {
	background-color: yellow;
}


.taxon {
	font-style: italic;
}

.taxa-list {
	font-size: 90%;
	margin: 1.1em 0 1em 0;
	padding: 0;
}
.taxa-list li {
	list-style-type: none;
	margin-bottom: 0.2em;
	margin-left: -2px;
	padding: 2px;

}
.taxa-list li.item-on {
	background-color: yellow;
}

.title, .title-main {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 1em;
	padding-bottom: 1em;
}
.title {
	font-size: 1.2em;
}
.title-main {
	font-size: 1.5em;
}

.textright {
	text-align: right;
}

.up-one {
	margin-top: -1em;
}


/* --- WIDTH --- */
.fullwidth {width: 100%;}
.extrawide {width: 76%;}
.wide {width: 60%;}
.halfwide {width: 50%;}

.wide100 { width: 100%; }
.wide96  { width: 96%; }
.wide90  { width: 90%; }
.wide86  { width: 86%; }
.wide80  { width: 80%; }
.wide62  { width: 62%; }
.wide50  { width: 50%; }
.wide40  { width: 40%; }

/* --- HEADER --- */
#header {
	background-color: #3b051a;
	color: #fff;
	padding: 1em;
}

#mainmenu {
	width: 100%;
	background-color: #045;
	padding: 0;
	margin-bottom: 1em;
	color: #eee;
}
#mainmenu .menutitle {
	font-weight: bold;
	font-size: 1.1em;
}
#mainmenu .menutitle, .menuitem {
	padding: 3px;
}
#mainmenu .menuitem {
	display: inline-block;
	margin-right: 1em;
	color: #fff;
}
#mainmenu .menuitem a {
	color: #eee;
}
#mainmenu .menuitem a:hover {
	color: #fff;
}
#mainmenu #itemon {
	background-color: #f83;
}
#mainmenu #itemon a {
	color: #fff;
}

/* --- CONTENT --- */
#content {
  min-height: 100%;
  margin-bottom: -4em; 
}
#content:after {
	content: "";
	display: block;
}

/* --- FOOTER --- */

#rffi-footer, #content:after {
	height: 5em;
}
#rffi-footer {
	background-color: #333;
	color: #eee;
	font: 0.8em/1.3em Verdana,Arial,sans-serif;
	margin: 0;
	padding: 1em 0;
	overflow: auto;
	width: 100%;
}
#rffi-footer a, #rffi-footer span, #rffi-footer div {
	color: #eee;
}
#rffi-footer a:hover {
	color: #fff;
}

/* --- TABLES --- */

tr.active-group {
	background-color: #ffc;
}

/* --- FORMS --- */

input, select, button, textarea, label {
	font-family: Calibry, Sans-Serif;
	font-size: 1em;
	margin: 0;
}

label {
	position: relative;
	top: 4px;
}
label.textarea {
	top: 4px;
}

form.features input,
form.features select, 
form.features textarea {
	border: 1px solid #bbb;
	color: #333;
	padding: 3px 2px;
}

form.features input {
	margin-bottom: 5px;
}

form.features input.submit {
	border-width: 2px;
	margin-top: 5px;
	width: 9em;
}

form.features label {
	font-weight: bold;
}

form.features textarea {
	min-height: 3em;
}

form.features .wide {
	width: 27em;
}
