/* Custom 
----------------------------------------------------------------------------------------------------*/

html {

	height: 100%;
}

body {

	font-family:Arial,Helvetica,sans-serif;

	background-color: #e2e2e2;
	background-image:url("../images/bg.png");
	background-repeat: repeat-y;	
	background-position: center;	
	
	margin: 0;
	padding: 0;
	
	height: 100%;
	

}

p {
	font-size: 12px;
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 1.2em;
}


.sitemap ul ul {

	margin-left: 20px;
}

#editedArea ul {

  list-style-type: disc;
  padding-left: 8px;
}

#editedArea ul li {

  padding-bottom: 6px;
}



/* zoom small ------------------------------------------*/

body.small #middle h3,
body.small h4,
body.small p,
body.small a,
body.small li,
body.small .contact,
body.small .updated,
body.small #footer,
body.small option,
body.small .leftnavifincenttitle
 {

        font-size: 11px;
}

body.small div#editedArea h1 {

        font-size: 18px;
}

body.small div#editedArea h2 {

        font-size: 14px;
}

body.small .zoomtable {

	left: 115px;
}


body.small .subnavi ul li {
	height: 17px;
	padding-top: 9px;
}

body.small .zoomtable {

	margin: -9px;
}


body.small .mainnavi ul li, body.small .mainnavi ul li.selected {

	height: 20px;
	padding-top: 7px;
}




/* zoom big ------------------------------------------*/

body.big #middle h3,                 
body.big h4,
body.big p,
body.big #middle p,
body.big a,
body.big li,
body.big .contact,
body.big .updated,
body.big #footer,
body.big option,
body.big .leftnavifincenttitle 
 {

        font-size: 13px;
}

body.big div#editedArea h1 {

        font-size: 21px;
}

body.big div#editedArea h2 {

        font-size: 17px; 
}



body.big .zoomtable {

        left: 11px; 
}


body.big .subnavi ul li {
        height: 20px;  
        padding-top: 7px; 
}

body.big .zoomtable {        

        margin: -7px;
}

body.big .leftnavifincenttitle {

	height: 35px;
}

body.big .mainnavi ul li, body.big .mainnavi ul li.selected {

        height: 22px;
        padding-top: 5px;
}






.baselineToTop td {

	vertical-align: top;
	padding: 5px;
}



h1, h2, h3, h4 {

	margin-bottom: 10px;
}

a {

	font-size: 12px;
	text-decoration: none;
	color: #990033;
}

a:hover {

	text-decoration: underline;
}

.container {

	height: 100%;	
	margin-left: auto;
	margin-right: auto;
	
	width: 960px;
	
}

#content {

	width: 940px;
}



#header-fi {

	background-image:url("../images/headerbg-fi.png");
	background-repeat: no-repeat;	
	height: 68px;
	
	width: 960px;
}


#header-sv {

        background-image:url("../images/headerbg-sv.png");
        background-repeat: no-repeat;
        height: 68px;
        
        width: 960px;
}

#header-en {

        background-image:url("../images/headerbg-en.png");
        background-repeat: no-repeat;
        height: 68px;
        
        width: 960px;
}



.link {

	height: 50px;
	width: 200px;
	float: left;
	display: block;
	cursor:pointer;
	/*cursor:hand;*/
}

.link span {

	display: none;
}

.headerlinks {

	float: left;
	position: relative;
	left: 220px;
	top: 7px;
	
	
}

.headerlinks a {

	color: #777777;	
	font-size: 12px;	
	padding-right: 10px;
	position: relative;
}

.headerlinks img {

	padding-right: 4px;
}

.search-fi {

	float: right;
	margin: 0 10px 0 0;
	display: inline;
	
	position: relative;
	top: 6px;
	left: -50px;	
}

.search-sv {
 
        float: right;
        margin: 0 10px 0 0;
        display: inline;
        
        position: relative;
        top: 6px;
        left: -50px;
}


.search-en {
 
        float: right;
        margin: 0 10px 0 0;
        display: inline;
        
        position: relative;
        top: 6px;
        left: -70px;
}


.searchInput {

	margin-right: 5px;

	width: 140px;
	font-size: 12px;
	border: 1px solid #808080;
	
	line-height: 16px;
	
	height: 16px;
	
	padding-top: 0;
}


.sb-fi {

	height: 20px;
	width: 47px;
	position: absolute;
	top: 0;

}

.sb-sv {

        height: 20px;
        width: 47px;
        position: absolute;
        top: 0;

}


.sb-en {

        height: 20px;
        width: 67px;
        position: absolute;
        top: 0;

}

#navi {

	background-image:url("../images/navibg.png");
	background-repeat: no-repeat;	
	height: 52px;
	
	text-align: center;
}

.mainnavi {

	width: 940px;
	height: 27px;
	margin-left: auto;
	margin-right: auto;
	
}

.mainnavi ul {
	
	padding: 0;
	margin: 0;
	list-style:none;	
	height: 27px;
}

.mainnavi ul li {

	float: left;
	height: 25px;
	
	padding-top: 2px;
}





.mainnavi li.maavoimat {

	background-image: url("../images/maavoimatlinkbg.png");
	background-repeat: repeat-x;
	
	margin: 0 1px 0 1px;
}

.mainnavi li.maavoimat:hover {

	background-image: url("../images/maavoimatlinkbg_hover.png");
}

.mainnavi li.merivoimat {

	background-image: url("../images/merivoimatlinkbg.png");
	background-repeat: repeat-x;
	
	margin: 0 1px 0 1px;
}

.mainnavi li.merivoimat:hover {

	background-image: url("../images/merivoimatlinkbg_hover.png");
}

.mainnavi li.ilmavoimat {

	background-image: url("../images/ilmavoimatlinkbg.png");
	background-repeat: repeat-x;
	
	margin: 0 1px 0 1px;
}

.mainnavi li.ilmavoimat:hover {

	background-image: url("../images/ilmavoimatlinkbg_hover.png");
}

.mainnavi li.maanpuolustuskorkeakoulu {

	background-image: url("../images/maanpuolustuskorkeakoululinkbg.png");
	background-repeat: repeat-x;
	
	margin: 0 1px 0 1px;
}

.mainnavi li.maanpuolustuskorkeakoulu:hover {

	background-image: url("../images/maanpuolustuskorkeakoululinkbg_hover.png");
}

.mainnavi li.maavoimat a {

	color: #3f7140;
}

.mainnavi li.merivoimat a {

	color: #161652;
}

.mainnavi li.ilmavoimat a {

	color: #1242c8;
}

.mainnavi li.maanpuolustuskorkeakoulu a {

	color: #900042;
}


.mainnavi ul li a {

	color: #000000;
	padding-left: 10px;
	padding-right: 10px; 
	text-decoration: none;
}

.mainnavi ul li.selected {

	background-image: url("../images/mainnavi_selected.png");
	background-repeat: repeat-x;
	
	height: 25px;
	padding-top: 2px;
}

.mainnavi ul li a, .mainnavi ul li.selected a {
	
	font-weight: bold;
	color: #ffffff;
	
	margin: 0;
}

.subnavi {

	width: 940px;
	height: 25px;
	background-image: url("../images/subnavibg_gray.png");
	background-repeat: repeat-x;		
	
	margin-left: auto;
	margin-right: auto;	
}

.subnavi ul {
	
	padding: 0;
	margin: 0;
	list-style-type: none;	
	height: 25px;
	
}

.subnavi ul li {

	float: left;
	padding-top: 6px;
	height: 19px;
}

.subnavi ul li.zoom {

        padding-top: 0px;
}

.subnavi ul li a {

	color: #ffffff;
	padding-left: 9px;
	padding-right: 9px; 
	text-decoration: none;
}

.subnavi ul li a:hover {
 
	text-decoration: underline;
}

.subnavi ul li.selected {

	background-image: url("../images/subnavi_selected.gif");
	background-repeat: repeat-x;
	padding-top: 8px;
	height: 17px;	

}

.subnavi ul li.selected a {
	color: #000000; 
	font-weight: bold;
}

.zoomtable {

	height: 15px;
	margin: 0;
	padding: 0;
	
	position: relative;
	left: 55px;
}

.subnavi .zoom {

	color: #e0e0e0;
}

table.zoomtable a {

	padding: 0 !important;
}

.zoom .small {

	font-size: 12px;
	padding-left: 1px;
	padding-right: 1px;
        color: #e0e0e0;
}

.zoom .medium {

	font-size: 16px;
	padding-left: 1px;
	padding-right: 1px;	
        color: #e0e0e0;
}

.zoom .big {

	font-size: 20px;
	padding-left: 1px;
	padding-right: 1px;	
        color: #e0e0e0;
}

.zoom .selected {

	font-weight: bold;
	color: #ffffff;
}

#pathArea {

	width: 920px;
	height: 36px;
}

.takaisin {

	width: 220px;
	height: 36px;
	float: left;
}

.takaisin a {

	line-height: 36px;
	color: #4e4e4e;
	visibility: hidden;
}

.path {

	float: left;
	padding-left: 20px;
	width: 680px;

}

.path a {

	color: #4e4e4e;
	line-height: 36px;

}


#left,  #right {

	font-size: 12px;
}

#middle {

	width: 440px;
	font-size: 13px;
	margin-bottom: 20px;
	
}

#middle p {

}

.leftdropdown {

	width: 220px;
	height: 39px;
	background-image: url("../images/dropdownbg.png");
	background-repeat: no-repeat;	
	display: none;
}

.leftdropdown select {

	width: 200px;
	margin-left: 10px;
	margin-top: 9px;
}

.leftnavititle {

	background-image: url("../images/leftnavititlebg.png");
	background-repeat: no-repeat;
	height: 25px;
	width: 220px;
	
	line-height: 25px;
	
	color: #ffffff;
}

.leftnavititle h4 {

	padding-left: 7px;
	margin: 0;
}


.leftnavifincenttitle {

	background-color: #d0d0d0;
	
	height: 32px;
	padding-left: 6px;

}

.leftnavifincenttitle span {

	position: relative;
	top: 4px;
}

.leftnavifincenttitle img {

	padding-right: 4px;	
}

.leftnavi {
	
	border-top: 1px #a7a7a7 solid;
	border-left: 1px #d7d7d7 solid;
	border-bottom: 1px #d7d7d7 solid;
	border-right: 1px #d7d7d7 solid;
}

.leftmainnavi, .leftsubnavi {

	list-style-type: none;	
	margin: 0;
	padding-left: 15px;
}

.leftmainnavi li, .leftsubnavi ul li {

	min-height: 25px;
	_height: 25px;
	line-height: 25px;
}

.leftmainnavi a.selected {

	font-weight: bold;
}


.leftmainnavi li img  {

	content:url("../images/leftnavifincenttitlearrow.gif");
	padding-left: 4px;
}

.leftsubnavi a.selected {

	font-weight: bold;
}

.leftnavi a {

	color: #0e0e0e;
	display: block;
}

.rightnavi {

	width: 220px;
}

.rightnavi ul {

	list-style-type: none;	
	margin: 0;
	padding: 0;
	width: 220px;
}

.rightnavi ul li {

	height: 27px;
	line-height: 27px;
	background-repeat: no-repeat;	
	margin-bottom: 1px;
	display: inline;
	

}

.rightnavi ul li a {

	padding-left: 10px;

	
	display: block;
	background-image: url("../images/rightnavilinkbg.png");
	background-repeat: no-repeat;	
}

.contact {

	width: 190px;

	border: 5px solid #d7d7d7;
	font-size: 12px;
	
	padding: 10px;
	
	margin-top: 10px;
	
	line-height: 1.3em;
}


h1 {

	font-weight: normal;
	font-size: 20px;
	
	margin-top: 30px;
	margin-bottom: 20px;
}

h2 {

	font-weight: bold;
	font-size: 16px;
	
	margin-top: 5px;
	margin-bottom: 5px;
}



#middle h3 {
	
	background-image: url("../images/valipalkkitausta.png");
	background-repeat: no-repeat;		
	
	width: 440px;
	height: 20px;
	line-height: 20px;
	
	font-size: 12px;
	
	
	
	text-transform: uppercase;
}


hr {

	margin-top: 20px;
	margin-bottom: 20px;
	color: #cccccc;
	background-color: #cccccc;
	height: 1px;

}

#printButton {

	border: 1px solid #cccccc;
	background-color: #ffffff;
	color: #000000;
	float: right;
}

#print:hover {

	background-color: #efefef;
	color: #000000;

}

.updated {

	clear: both;
	width: 440px;
	text-align: center;
	color: #7a7a7a;
	font-size: 12px;
	
	margin-top: 60px;
}

#footer {

	width: 940px;
	height: 25px;

	background-color: #e2e2e2;
	
	text-align: center;
	font-size: 12px;
	color: #7a7a7a;
	line-height: 25px;   
    
  	position: relative;
  	bottom: 0;

}
