body.mainpage {
	background-color: white;
}

#behind_static {
	background-color: white;
	min-height: 550px;
	overflow: auto;
	width: 100%;
}


div.head {
	width: 100%;
	/*width: 90%;
	margin-left: auto;
	margin-right: auto;*/
}
#head1 {
	/*margin-top: 10px !important;*/
	background-color: #444444;
	height: 23px;
	/*padding-top: 2px;*/
	border-bottom: 1px solid #323232;
}
#head1 span {
	display: inline-block;
	margin-top: 5px;
	margin-left: 20px;
	margin-right: 20px;
	color: #cccccc;
	font-size: 80%;
}
#head1 a {
	color: #aeaeae;
}
#head1 a:hover {
	color: white;
}
#head2 {
	position: relative;
	height: 90px;
	background-color: #81a865;
	background-image: url(../images/header_gradient_nummisuutarit.png);
	background-repeat: repeat-x;
	/*border-bottom: 8px solid #ff9801;*/
}
#head2 div {
	position: absolute;
	top: 15px;
	left: 8px;
	color: white;
	font-size: 150%;
}
#head2_bottom_border {
	height: 12px;
	background-color: #cc6600;
	border-bottom: 1px solid #323232;
}
#head3 {
	padding-top: 3px;
	height: 35px;
	background-color: white;
	background-image: url(../images/menu_gradient.png);
	background-repeat: repeat-x;
}
#head3 a {
	position: relative;
	display: inline-block;
	margin-right: 2px;
	padding: 4px;
	padding-left: 10px;
	padding-right: 10px;
	color: 2f2f2f;
	/*border: 1px solid #797979;*/
	cursor: pointer;
	/*font-size: 80%;*/
	/*font-weight: bold;*/
}
#head3 a:hover {
	color: #484848;
}
.popupMenu {
	z-index: 100;
	padding: 4px;
	padding-top: 8px;
	background-color: white;
	position: absolute;
	display: none;
	width: 320px;
	border: 1px solid #bababa;
	border-top: none;
}
.popupMenu p {
	margin: 0px;
	margin-bottom: 0.5em;
	padding: 0px;
	padding-left: 8px;
	/*font-size: 80%;*/
}
#head4 {
	position: relative;
	height: 38px;
	width: 965px;
	background-color: white;
}
#head4 div {
	margin-top: 10px;
	margin-left: 20px;
}
#breadcrumb {
	/*font-size: 80%;*/
}
#head5 {
	height: 40px;
	background-color: white;
}
#options {
	margin-left: 20px;
	/*font-size: 80%;*/
}
#options span {
	display: inline-block;
	padding: 1px;
	padding-right: 4px;
}
#content_tabs {
	float: left;
	background-color: white;
	/*padding-left: 5px;*/
}
.firstwrapper {
	margin-left: 10px !important;
}
.columnwrapper {
	padding-left: 8px;
	margin-bottom: 3px;
	width: 470px;
    float: left;
    position: relative;
}
.columnwrapper > ul > li {
	margin-right: 5px;
    list-style:none;
    float:left;
}
.columnwrapper > ul > li > a {
	background-image: url(../images/idtabs_gradient.gif);
	background-repeat: repeat-x;
    border: 1px solid #d8d8d8;
	border-bottom: none;
    display:block;
    padding:6px 5px;
    text-decoration:none;
    margin:0px;
	font-weight: bold;
	/*font-size: 80%;*/
    color:black;
}
.columnwrapper > ul > li > a:hover {
    background:#f7f7f7;
	background-image: none;
}
.columnwrapper > ul > li > a.selected {
	background-image: none;
    background-color:#f3f3f3;
	color: black;
    cursor:default;
    outline: none;
}
.tab {
	padding: 10px;
    background-color:#f3f3f3;
    border:1px solid #d8d8d8;
    clear:left;
	overflow-y: scroll;
	/*font-size: 80%;*/
}

#footer
{
	float: left;
	clear: left;
	height: 64px;
	padding-top: 15px;
	background-color:#white;
	border-top: 1px solid #bababa;
	background-image: url(../images/footer_gradient.gif);
	background-repeat: repeat-x;
}
#footer p {
	margin: 0px;
	/*margin-top: 20px;*/
	color:black;
	/*font-size: 80%;*/
}
#footer p span {
	margin-left: 20px;
}
#footer a {
	color: black;
}
#footer a:hover {
	color: #333333;
}
#logos {
	float: right;
	/*margin-top: 17px;*/
	margin-right: 20px;
	height: 48px;
	background-color: white;
}

/* FACSIMILES */
.button {
	display: inline-block;
	padding: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
	margin-right: 2px;
	margin-top: 3px;
	cursor: pointer;		
}
.lightbutton {
	background-color: #f1f1f1;
	background-image: url(../images/idtabs_gradient.gif);
	background-repeat: repeat-x;
	border: 1px solid #b5b5b5;
}
.lightbutton:hover
{
	border: 1px solid #949494;
}
.disabled_button
{
	color: gray;
}
.facsimile_page {
	margin-top: 3px;
	margin-right: 2px;
	
}
.bigImageContainer {
	position: absolute;
	border: 1px solid #5c8542 !important;
    top: 70px; 
    left: 10px; 
	right: 27px; 
	bottom: 10px;
    overflow: hidden;
	margin: 0px !important;
	padding: 0px !important;
}
.bigImage {
	
}

/* STATIC PAGES */
#content_static {
	padding: 0px;
	padding-bottom: 20px;
	margin: 0px;
	margin-top: 8px;
	margin-left: 120px;
	margin-bottom: 30px;
	width: 500px;
	float: left;
}

#content_feedback {
	margin: 40px;
	margin-bottom: 20px;
	width: 500px;
}