@charset "utf-8";
@import url('navigation.css');

/*
	Mäntsälän Sähkö Oy
*/

body
{
	text-align:center;
	background: #eee url(../images/net_bg_main.jpg) 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: #00b9e6; /* #00498f; oli #fb8809; */
	margin: 1.2em 0 .3em;
	padding: 0;
}

h3
{
	font-size: 12px;
	color: #00b9e6;
	margin: .6em 0;
}

p
{
	margin: .8em 0;
}

table p
{
	margin:0;
}

a img
{
	border: none;
}

a,
a:link,
a:visited
{
	color: #666; /* 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/net_bg_header.png) no-repeat -1px 0;
	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;
/*	background: url(../images/paaNosto.jpg) no-repeat;*/
	float:left;
}

#pikalinkit
{
	height: 242px;
	width: 239px;
	background: url(../images/net_bg_webmail.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:20px;
}


/* 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;
}


#head
{
	text-align:left;
	padding: 10px 0 0 0;
}

#header h1
{
	display:inline;
	float: left;
	width: 200px;
	height: 80px;
	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: 80px;
}

#header h2
{
	display:inline;
	float: right;
	width: 125px;
	height: 35px;
	margin: 0 10px 0 0;
	overflow: hidden;
}

#header h2 a,
#header h2 a:link,
#header h2 a:visited,
#header h2 a:hover,
#header h2 a:active
{
	display: block;
	width: 125px;
	height: 35px;
}

#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:200px;
	float:left;
	margin: 20px 0 10px -3px;
	text-align:center;
}

#rightcol
{
	width:650px;
	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;
	height:21px; 
	width:690px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
}

#printlink
{
	display:inline-block;
	float:right;
	width: 80px;
	height: 30px;
}







.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
{
	float:left;
	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;
}


#webmail
{
	display:inline;
	float:left;
	height:207px;
	width:227px;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #999999;
	background:url(../images/net_bg_webmail.png) no-repeat left top;
	border: none;
	margin: 0 0 3px 5px;
	padding: 35px 5px 0 7px;
}

#webmail .textinput1
{
	float:left;
	height:20px;
	width:148px;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #999999;
	background:url(../images/net_bg_email2.gif) no-repeat left top;
	border: none;
	padding: 3px 0 0 93px;
	margin: 10px 0 0 0;
}

#webmail .textinput2
{
	height:20px;
	width:148px;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #999999;
	background:url(../images/net_bg_pw2.gif) no-repeat left top;
	border: none;
	padding: 3px 0 0 93px;
	margin: 5px 0 15px 0;
}


/* Navigo specific styles */
/* NAVIGO DEFAULT TABLE */

.u4-table-default
{
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.u4-table-default-header
{
	background-color: #00b9e6;
	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 header w/ rounded corners (using JS) */

.u4-table-fancy
{
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.u4-table-fancy-header
{
	background-color: #7f061b;
	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-fancy-header2,
.u4-table-fancy-even,
.u4-table-fancy-odd
{
	background-color: #fcdeb2;
	vertical-align: top;
	text-align: left;	
	border-bottom: 1px solid #fdf2e2;
	border-right: 1px solid #fdf2e2;
	padding: 2px 5px;
}

.u4-table-fancy-odd
{
	background-color: #fcd79f;
}


/* Table w/o header row */

.u4-table-noheader
{
	border-top: 1px solid #fccb83;
	border-bottom: 1px solid #fccb83;
	border-collapse: separate;
	border-spacing: 1px 1px;
	margin: 0;
	padding: 0;
}

.u4-table-noheader-header
{
	background-color: #fcd79f;
	vertical-align: top;
	text-align: left;
	padding: 4px 5px;
	border: none;
}

.u4-table-noheader-header2,
.u4-table-noheader-even,
.u4-table-noheader-odd
{
	background-color: #fcdeb2;
	vertical-align: top;
	text-align: left;	
	padding: 2px 5px;
	border: none;
}

.u4-table-noheader-odd
{
	background-color: #fcd79f;
}


/* 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;
}

.u4-table-pikalinkit
{
	border-collapse: collapse;
	margin: 35px 0px 0 12px;
	padding: 20px;
	width: 215px;
	border: none;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	color:#5b5b5b;
}

.u4-table-pikalinkit-header,
.u4-table-pikalinkit-header2,
.u4-table-pikalinkit-even,
.u4-table-pikalinkit-odd
{
	border-top: solid 1px #e9e9e9;
	padding: 6px 0 6px 25px;
	background: url(../images/bg_pikalinkit_bullet.gif) 0 1px no-repeat;
}

.u4-table-pikalinkit-header a,
.u4-table-pikalinkit-header2 a,
.u4-table-pikalinkit-even a,
.u4-table-pikalinkit-odd a
{
	display:block;
}

/*  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:65px;
}

/* FORMIT */
.textInputField
{
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
}

.textInputTd, .senderInputTd, .selectInputTd
{
	width:150px;
}


/* LAYOUT: print */
.printLayout
{
	width:700px;
	background-color:#fff;
	float:left;
}
