@import url("parts/phonebook.css");
@import url("parts/search.css");



/* GENERAL */

html,body {
    margin:0;
	padding:0;
}

html {
	overflow-y: scroll;
	font-size:11px;
	font-family: verdana,arial,helvetica;
	color: #555555;
	background: #FFFFFF !important;
}
html, body {
    line-height: 15px;
	background: #B7D0DE;
	
	/* for non-css3 browsers */
	background: #B7D0DE url("../pics/tausta_gradient.png") repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b7d0de', endColorstr='#ffffff'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#b7d0de), to(#fff)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #b7d0de,  #fff); /* for firefox 3.6+ */
}

#content {
    padding-top: 0 !important;
}

#related ul,
#subnavi ul,
#content-speeches ul,
#content-press ul,
#header ul, 
#navi1 ul,
.language ul,
.info ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

hr {
	display:none;
}

img {
	border:0;
}

form {
	display:inline;
	margin:0;
}

a:link {
	text-decoration:underline;
	color:#034192;
}

a:visited {
	text-decoration:underline;
	color:#555555;

}

a:active {
	text-decoration:underline;
	color:#034192;
}

a:hover {
	text-decoration:underline;
	color:#0072FF;
}

li a:link {
	text-decoration:none;
}

li a:active {
	text-decoration:none;
}

li a:visited {
	text-decoration:none;
}

li a:hover {
	text-decoration:underline;
	color:#0072FF;
}

#navi2 li a:hover {
	color:#034192;
}

.disabled {
	display:none;
}

h1, h2, h3, h4, h5, h6  {
	margin:0;
}

h1 {
	font-size:15px;
	line-height:20px;
}

h2 {
	font-size:13px;
	line-height:18px;
}

h2 a:hover {
	text-decoration: none;
	color: #555555;
}


h3 a:hover {
	text-decoration: none;
	color: #555555;
}


h3, h4, h5 {
	font-size:11px;
	line-height:16px;
}

#content.t4 h5 {
	margin-top: 12px;	
}

p {
	margin:0;
}

a.internal {
	background-image:url("../pics/bullet_arrow.gif");
	background-repeat:no-repeat;
	background-position:0px 4px;
	padding-left: 8px;
}

a.external {
	background-image: url("../pics/bullet_arrow_2.gif");
	background-position:0px 5px;
	padding-left: 8px;
	background-repeat: no-repeat;
}
#slideInner a.external,
#slideInner a.internal {
	margin: 0 0 0 8px !important;
	margin: 0 0 0 8px !important;
	zoom:1;
}

.form_submit {
	background-image:url("../pics/button_bg.gif");
	background-repeat:repeat-x;
	
	border:0;
	border-right:1px solid #BEBFD6;
	border-bottom:1px solid #BEBFD6;

	float:left;

	margin:0px;	
	padding:2px;
	
	font:11px verdana,arial,helvetica;
	color:#034192;
}

a.form_submit {
	display: inline-block;
	padding: 3px 8px;
	float: none;
	text-decoration: none;
}

/* BODY BOX */

#body-box {
	background: url("../pics/body_bg.png") repeat-y scroll 625px 0 transparent;
    width: 870px;
    margin-top: 1px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    border: 0;
    background-color: #ffffff;
	
	-moz-box-shadow: 4px 4px 4px #b1c5dd;
	-webkit-box-shadow: 4px 4px 4px #b1c5dd;
	box-shadow: 4px 4px 4px #b1c5dd;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=6, Direction=135, Color='#b1c5dd')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=6, Direction=135, Color='#b1c5dd');
}

/* HEADER */

#header {
	position:relative;
	height:128px;
	
	background-image:url("../pics/header_bg.gif");
	background-repeat:repeat-x;
	background-color: transparent;
}

#header div.date,
#header divi.date {
	position:absolute;
	top:10px;
	left:20px;
}

/* MISC */

#misc {
	position:absolute;
	top:8px;
	
	width: 866px;
	
	text-align:right;
}

#misc a {
	text-decoration:none;
	padding-right:5px;
	margin-right:2px;
	border-right:1px solid #C3CBDB;
}

#misc a:hover {
	text-decoration:underline;
}

#misc div,
#misc divi {
	display:inline;
}

#misc_entries {
}

#misc_languages {
}

#misc_links {
}

#misc_css {
}

#misc_css a {
	padding:0;
	margin:0;
	border:0;
	
	vertical-align:middle;
}

/* LOGO */

#logo {
	position:absolute;
	top:45px;
	left:20px;
	
	z-index:2;
}

/* THEME */

#theme {
	position:absolute;
	top:31px;
	z-index:1;

	background-image:url("../pics/header_theme.jpg");
	background-repeat:no-repeat;
	
	width:870px;
	height:97px;
}

/* NAVI1 */

#navi1 {
	position:relative;
	height:32px;
	padding-left:15px;
	
	background-image: url("../pics/navi1bg.png");
	background-repeat:  repeat-x;
	background-position: 0 0;
	padding-bottom: 15px;
	background-color: #ffffff;
}

/* Commented out --> Linux Firefox-fix
#navi1 ul {
	width:880px;
}
*/

#navi1 li.navi_on {
	background-image: url("../pics/navi1bg_valittu.png");
	background-repeat:  repeat-x; 
	background-position: 0 3px;
	border-right: 0;
}

#navi1 li.navi_over {
	background-image: url("../pics/navi1bg_valittu.png");
	background-repeat:  repeat-x; 
	background-position: 0 3px;
	border-right: 0;
}

#navi1 li {
float:left;
	padding:7px;
	height:15px;
	
	background-image: url("../pics/navi1bg_erotin.png");
	background-repeat: no-repeat; 
	background-position: right top;
	border: 0;
}

#navi1 li:last-child{
	background-image: none;
	border: 0;
}

#navi1 a {
	font-size:12px;
	color:white;
	text-decoration:none;
	font-weight:bold;
}

/* NAVI2+3 */

#navi2 {
    border: 0 none;
    padding-bottom: 10px;
    padding-top: 0;
}
#navi2 a {
	display:block;
	padding:5px;
	text-decoration:none;
}

#navi2 ul {
    border-top: 1px solid #E1E1E1;
    margin-right: 0;
}
 
#navi2 li ul {
	margin:0;
	padding:0;
	border:0;
	
	margin-left:10px;
	margin-bottom:-1px;
}
 
#navi2 li {
	border-bottom:1px solid #E1E1E1;
}

#navi2 li.navi_on a {
	display:block;
	background-image:url("../pics/navi2_on_bg.gif");
	background-repeat:repeat-x;
}

#navi2 li.navi_on ul a {
	background-image:none;
	background:#FCF9E5;
}

#navi2 li.navi_on ul li.navi_on a {
	display:block;
	background-image:url("../pics/navi3_on_bg.gif");
	background-repeat:repeat-x;
}

#navi2 li.navi_over a {
	display:block;
	background-image:url("../pics/navi2_on_bg.gif");
	background-repeat:repeat-x;
}

#navi2 li.navi_on ul li.navi_over a {
	display:block;
	background-image:url("../pics/navi3_on_bg.gif");
	background-repeat:repeat-x;
}

/* ACTIONS */

#actions{
	width: 100%;
	margin-top: 0;
}
#actions div.sharing{
	float: left;
}
#actions span{
	float: left;
	padding: 0 6px 0 0;
}
#actions .sharing a{
	float: left;
	display: block;
	height: 16px;
	width: 16px;
	outline: none;
	background-repeat: no-repeat;
	background-position: 0 0;
	text-indent: 9999px;
	border: none;
	padding: 0 0 0 5px;
	margin: 0;
}
#actions a.twitter{
	background-image: url('../pics/twitter.png');
}
#actions a.email{
	background-image: url('../pics/email.png');
}
#actions a.facebook{
	background-image: url('../pics/facebook.png');
}
#actions div.print{
	float: right;
}

#actions a.email_btn {
	display:block;
	float:left;

	background:url("../pics/button_email_bg.gif");
	background-repeat:repeat-x;
	padding:7px;
	padding-left:30px;

	height:12px;	
	line-height:12px;
	border-right:1px solid #C7C8CF;
	
	text-decoration:none;
}

#actions a.print {
	display:block;
	float:left;

	background:url("../pics/button_print_bg.gif");
	background-repeat:repeat-x;
	padding:7px;
	padding-left:33px;
	
	height:12px;
	line-height:12px;

	border-right:1px solid #C7C8CF;
	
	text-decoration:none;
}

/* ATTENTION BANNER */

#attention {
	background-image:url("../pics/attention_bg.gif");
	border-top:1px solid #57C05B;
	border-bottom:1px solid #57C05B;
	background-position:bottom left;
	padding-top:2px;
	-padding-top:0px;
	padding-bottom:2px;
	margin-bottom:15px;
	
	/** OLD 
	border-top:1px solid #56C05B;
	border-bottom:1px solid #56C05B;
	padding-top:2px;
	padding-bottom:2px;
	margin-bottom:15px; **/
}

#attention div,
#attention divi {
	
	background-repeat:no-repeat;
	background-position:0px 1px;
	padding-left:25px;
	line-height:16px;
	min-height:17px;
	-height:17px;
	font-size:12px;
	
	/** OLD
	background-image:url("../pics/icon_attention.gif");
	background-repeat:no-repeat;
	background-position:0px 1px;
	padding-left:18px;
	line-height:13px;
	min-height:14px;
	-height:14px; */
}

#attention a {
	text-decoration:none;
}

#attention a:hover {
	text-decoration:underline;
}


/* ARCHIVE BANNER */
                                                                                                                                                           
#archive {
        background-image:url("../pics/archive_bg.gif");
        background-repeat:no-repeat;
        background-position:bottom left;
        border-top:1px solid #A0A7B5;
        border-bottom:1px solid #A0A7B5;
        padding-top:2px;
        -padding-top:0px;
        padding-bottom:2px;
        margin-bottom:15px;
        /* font-size:15px; */
}
                                                                                                                                                           
#archive div,
#archive divi {
        padding-left:25px;
        line-height:16px;
        min-height:17px;
        -height:17px;
        font-size:12px;
}
                                                                                                                                                           
#archive a {
        text-decoration:none;
}
                                                                                                                                                           
#archive a:hover {
	text-decoration:underline;
}

/* RELATED */

#related {
	background:white;
	width:228px;
	float:left;
	padding-top: 0;
}
/* MENU */

#subnavi {
	width:167px;
	float:left;
	background:white;
}

/* FOOTER */

#footer {
	background:white;
	background-image:url("../pics/footer_bg.gif");
	background-repeat:repeat-x;
	background-position:0px 5px;
	
	clear:both;
	
	padding-top:25px;
	padding-left:20px;
	padding-bottom:30px;
	
	width: 850px;
	
	font-size:10px;
}

#footer div,
#footer divi {
	float:left;
	margin-right:10px;
}

/* NARROW LAYOUT MODE */

html.narrow #body-box {
	background-position:528px 0px;	
}

html.narrow #theme { 
	left:-97px;
}

html.narrow #misc {
	left:-97px;
}

html.narrow #footer {
	font-size:9px;
	width:753px;
}

html.narrow #navi1 a {
	font-size:10px;
}

html.narrow #navi1 ul {
	width:770px;
}

.red{color:red;}

/* FONT SIZES */

html.font1 {
	font-size:9px;
	line-height:10px !important;
}

html.font2 {
	font-size:10px;
	line-height:12px !important;
}

html.font3 {
	font-size:11px;
	line-height:14px !important;
}

html.font4 {
	font-size:13px;
	line-height:16px !important;
}

html.font5 {
	font-size:15px;
	line-height:20px !important;
}

/** Etusivun ja ajankohtaista-sivun kuvien valinta **/

img.ajankohtaista,
img.etusivu {
	display:inline;	
}

#content img.ajankohtaista,
#content.t3 img.etusivu {
	display:none;
}

#content.t3 img.ajankohtaista {
	display:inline;
}	

/** esikatselussa näytä kummatkin kuvat **/

#content.t5 img.ajankohtaista,
#content.t5 img.etusivu {
	display: inline;	
}

/** Tarvitaan, että data-noimage -tyyli näkyisi editorissa **/

div.data-noimage,
divi.data-noimage {
	/* */	
}

p img, li img {
	vertical-align: bottom;	
}

/** Medialinkkien muotoilu **/

div.mlink a.internal {
  background-image: url(../pics/media.gif);
}

#ptj_pdf{
	height: 14px;
}

