@charset "utf-8";
@import url('navigation.css');

/*
	Mäntsälän Sähkö Oy
*/

body
{
	text-align:center;
	background: #fff url(../images/bg_main2.jpg) fixed no-repeat center top;
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #333;
}


h1
{
	font-size: 16px;
	font-weight: bold;
	margin: .6em 0;
}

h2
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #666; /* #00498f;  oli #fb8809; */
	margin: 1.2em 0 .3em;
	padding: 0;
}

h3
{
	font-size: 12px;
	color: #666;
	margin: .6em 0;
}

p
{
	margin: .8em 0;
}

table p
{
	margin:0;
}

a img
{
	border: none;
}

a,
a:link,
a:visited
{
	color: #00498f; /* oli #fb8809;*/
	text-decoration: underline;
}

a:hover,
a:active
{
	text-decoration: none;
}






/* Basic structure */
#wrapper
{
	width: 980px;
    margin-left: auto;
    margin-right: auto;
	margin-top: 5px;
	text-align: center;
}


#header
{
	height: 98px;
	width: 980px;
	background: url(../images/bg_header.gif) no-repeat top left;
	text-align:left;
}

#header_submenu
{
	height: 30px;
	width: 980px;
	background: url(../images/bg_menu.png) no-repeat top left;
	text-align:left;
	padding-left: 10px;
}

.links
{
	padding: 3px 0px 0 20px;
	display:inline;
	float:left;
}

#links a, #links a:visited
{
	color: #787878;
	text-decoration:none;
	font-size:11px;
}


/* FRONT PAGE */
#row1
{
	width: 980px;
	height: 242px;
	background: none;
	margin: 3px 0 3px 0;
	text-align:left;
}

#row2
{
	width: 960px;
	height: 16px;
	background: url(../images/bg_ajankohtaista.png) no-repeat;
	clear:both;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	font-weight:bold;
	text-align:left;
	color:#656565;
	padding:5px 10px 5px 10px;
	margin: 3px 0 0 0;
}

#row3
{
	width: 980px;
	height: 151px;
	background: none;
	margin: 3px 0 3px 0;
	text-align:left;
}

/* ROW1: */
#paaNosto
{
	height: 242px;
	width: 735px;
	float:left;
}

#pikalinkit
{
	height: 242px;
	width: 240px;
	background: url(../images/bg_pikalinkit.png) top right no-repeat;
	float:right;
	display:block;
}

#pikalinkit a, #pikalinkit a:visited, #ajankohtaista_head a, #ajankohtaista_head a:visited, 
#ajankohtaista a, #ajankohtaista a:visited, #footer a, #footer a:visited
{
	color: #5b5b5b;
	text-decoration:none;	
}

#pikalinkit a:hover, #ajankohtaista_head a:hover, #ajankohtaista a:hover, #footer a:hover
{
	text-decoration:underline;
}

/* ROW2: */
#ajankohtaista_head a
{
	padding-left: 0;
}

#ajankohtaista
{
	display:inline;
	float:left;
	padding-left: 115px;
	font-weight:normal;
	margin-top: -16px;
	width:850px;
	height:16px;
	overflow:hidden;
}


/* ROW3: */
#nosto1, #nosto2, #nosto3, #nosto4
{
	height: 151px;
	width: 236px;
	background: url(../images/bg_nostot.png) top right no-repeat;
	float:left;
	padding:2px;
	display:block;
}

#nosto1
{
	margin-left: 1px;
}

#nosto2
{
	margin: 0 4px 0 6px;
}

#nosto3
{
	margin: 0 6px 0 3px;
}


#footer
{
	height: 81px;
	width: 980px;
	background: url(../images/bg_footer.png) no-repeat top;
	font-size:11px;
	color: #666666;
	padding-top:15px;
	padding-bottom:15px;
	margin: 6px 0 3px 0;
	float:left;
}

#home #footer {
	width: 981px;
	height:auto;
	background: url(../images/bg_footer_repeat.png) repeat-y top;
	font-size:11px;
	color: #666666;
	padding-top:15px;
	padding-bottom:15px;
	margin: 0;
	float:left;
}

#footer_top {
	height: 8px;
	width: 981px;
	background: url(../images/bg_footer_top.png) no-repeat bottom;
	margin: 10px 0 0 0;
	padding:0;
}

#footer_bottom {
	height: 9px;
	width: 981px;
	background: url(../images/bg_footer_bottom.png) no-repeat top;
	margin: 0;
	padding:0;
	clear:both;
}

#head
{
	text-align:left;
	padding: 10px 0 0 0;
}

#header h1
{
	display:inline;
	float: left;
	width: 200px;
	height: 55px;
	margin: 5px 0 0 5px;
	overflow: hidden;
}

#header h1 a,
#header h1 a:link,
#header h1 a:visited,
#header h1 a:hover,
#header h1 a:active
{
	display: block;
	width: 200px;
	height: 55px;
}

#topline
{
	margin-left: 200px;	
}

#topline,
#topline a
{
	color:#978e86;
	text-decoration:none;
	text-align:left;
}

#topline a:hover
{
	color:#978e86;
	text-decoration:underline;
	text-align:left;
}




/* Content */

#subpage_top
{
	width:980px;
	height:4px;
	background: url(../images/bg_subpage_top.png) no-repeat top;
	margin-top:6px;
}

#subpage_bottom
{
	width:980px;
	height:36px;
	background: url(../images/bg_subpage_bottom.png) no-repeat top;	
	float:left;
}

#subpage
{
	width:980px;
	height: auto !important;
	background: url(../images/bg_subpage.png) repeat-y;
	text-align:left;
	margin:auto;
	float:left;
}

#leftcol
{
	width:200px;
	min-height:400px;
	text-align:left;
	padding:5px 20px 20px 20px;
	float:left;
}

#sidebanner
{
	width:226px;
	float:left;
	margin: -5px 0 10px -15px;
	text-align:center;
}

#sidebanner img
{
	margin-top:-40px;
	height:auto;
}

#rightcol
{
	width:690px;
	text-align:left;
	padding:20px 0 20px 25px;
	float:left;
	color: #666;
}

#content
{
	width: 690px;
/*	height: auto !important;*/
	padding: 4px;
	color:#666666;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#content_head, #content_head2
{
	color: #fb8809;
	margin: 0 0 15px 0;
	width:480px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
}

#printlink
{
	display:inline-block;
	float:right;
	width: 80px;
	height: 30px;
}



#rightcol ul {
	padding-left:0;
}

#rightcol li {
	list-style: none;
	background: url(../images/bullet_gr.png) no-repeat -2px 5px;
	padding-left: 14px;
}

.ir
{
	overflow: hidden;
	text-indent: -9999px;
	text-decoration: none;
	outline: none;
}


#haku
{
	display:inline-block;
	float:right;
/*	width:240px;*/
	text-align:right;
	padding:5px 20px 0 0;
	margin: 0;
}

#searchform
{
	display:inline;
	font-size: 11px;
	margin: 0;
}

#searchform a,
#searchform a:link,
#searchform a:visited
{
	color: #fff;
	text-decoration: none;
}

#searchform a:hover,
#searchform a:active
{
	color: #fff;
	text-decoration: underline;
}

#searchform input
{
	vertical-align: middle;
}

#searchform input.textinput
{
	height:18px;
	font-family: arial, helvetica, sans-serif;
	font-size: 11px;
	color: #8c8c8c;
	background:url(../images/bg_searchbox.gif) no-repeat left top;
	border: none;
	padding: 2px 0 0 20px;
/*	width: 173px; */
	margin: 0;
}




/* Navigo specific styles */
/* NAVIGO DEFAULT TABLE */

.u4-table-default
{
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.u4-table-default-header
{
	background-color: #f9a516;
	vertical-align: top;
	text-align: left;
	font-weight: bold;
	color: #fff;
	padding: 4px 5px;
	border: none;
	border-bottom: 1px solid #fdf2e2;
	border-right: 1px solid #fdf2e2;
}

.u4-table-default-header2,
.u4-table-default-even,
.u4-table-default-odd
{
	background-color: #e1e1e1;
	vertical-align: top;
	text-align: left;	
	border-bottom: 1px solid #fdf2e2;
	border-right: 1px solid #fdf2e2;
	padding: 2px 5px;
}

.u4-table-default-odd
{
	background-color: #f3f3f3;
}



/* Table w/o header row */

.u4-table-noheader
{
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.u4-table-noheader-header,
.u4-table-noheader-header2,
.u4-table-noheader-even,
.u4-table-noheader-odd
{
	background-color: #f3f3f3;
	vertical-align: top;
	text-align: left;	
	border-bottom: 1px solid #fdf2e2;
	border-right: 1px solid #fdf2e2;
	padding: 2px 5px;
}

.u4-table-noheader-header,
.u4-table-noheader-odd
{
	background-color: #e1e1e1;
}


/* UNSTYLED TABLE */

.u4-table-unstyled-header,
.u4-table-unstyled-header2,
.u4-table-unstyled-even,
.u4-table-unstyled-odd
{
	vertical-align: top;
	text-align: left;
	border:none;
	padding:0;
	margin:0;
}

/* TABLE CELL STYLES */

.u4-table-default-left
{
	text-align: left;
	padding: 4px 5px;
	border-bottom: 1px solid #fdf2e2;
	border-right: 1px solid #fdf2e2;
}

.u4-table-unstyled-left
{
	text-align: left;
}

.u4-table-default-right
{
	text-align: right;
	padding: 4px 5px;
	border-bottom: 1px solid #fdf2e2;
	border-right: 1px solid #fdf2e2;
}

.u4-table-unstyled-right
{
	text-align: right;
}



/*  bullet-listakohtien valeista ylimaaraiset marginaalit pois */

ul p.MsoNormal { margin-top:2px; margin-bottom: 2px; }
ul p { margin-top:2px; margin-bottom: 2px; }

.textInputTd, .selectInputTd, .senderInputTd{
    width : 183px;
}

/* KUVITUSKUVA OIKEAAN MARGINAALIIN ASTI */
#rightcol .right
{
	float:right;
	position:relative;
	left:25px;
	top:20px;
}

/* FORMIT */
.textInputField, .emailForm select
{
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
}

.textInputTd, .senderInputTd, .selectInputTd
{
	width:150px;
}

/* KUVATEKSTIT */
.u4-image-caption
{
	font-size: 11px;
	color: #6a655d;
	padding: .3em 0;
}

/* LAYOUT: print */
.printLayout
{
	width:700px;
	background-color:#fff;
	float:left;
}

#print #rightcol
{
	width:650px;
}

#print ul li
{
	list-style:circle;
	background:none;
	margin-left:15px;
}

/* TEMPLATE: home */

/* pikalinkit-lista */
#home #pikalinkit ul
{
	margin: 35px 0px 0 10px;
	padding: 0px;
	width: 215px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	color:#5b5b5b;
	list-style-image:none;
}

#home #pikalinkit li
{
	border-top: solid 1px #e9e9e9;
	padding: 6px 0 6px 25px;
	background: url(../images/bg_pikalinkit_bullet.gif) 0 1px no-repeat;
	display:block;
}


/* TEMPLATE: blank */
#blank
{
	background: #fff url(../images/bg_gradient.gif) repeat-x;
}

#blank body, #blank #infowindow
{
	text-align:left;
	padding: 10px;
}

/* TEMPLATE: osioetusivu */
#osioetusivu #rightcol {
	padding:8px;
}

#topadbox {
	width: 727px;
	margin: 0;
	margin-top:-5px;
}

#topadbox_content_text {
	width:222px;
	height:204px;
	display:inline;
	float:left;
	padding: 10px;
	background: url(../images/bg_osioetusivu_nosto1.gif) no-repeat;
}

#topadbox_content_image {
	width: 485px;
	height: 222px;
	display:inline;
	float:left;
}

#adtable {
	width:690px;
	margin-left:20px;
	margin-top: 30px;
}

.dotbg_ver {
	background: url(../images/divider_vertical.gif) repeat-y center;
}

.dotbg_hor {
	background: url(../images/divider_horis.gif) repeat-x;
}

.luelisaa {
	width:100%;
	float:right;
	text-align:right;
	margin:0;
	padding:0;
}

/* TEMPLATE: standard */
#div_left
{
	width: 480px;
	float:left;
	display:inline;
}

#div_right
{
	width: 200px;
	float:left;
	display:inline;
}



/* TEMPLATE: standard_levea */
#standard_levea #content_head
{
	width:690px;
}



p.quote
{
	border-bottom: 1px solid #f9a61a; /*#00498f;*/
	border-top: 1px solid #f9a61a;
	color: #666;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 12px;
	margin: 20px 0 20px 0;
	padding: 10px 20px;
	float:left;
	display:inline-block;
}



