/* ------------------------------------------------------------------------
	Mainostoimisto Mieleenpainuva Style v2.3
------------------------------------------------------------------------ */

* {margin:0;padding:0;border:0;outline:0; vertical-align:baseline; background:transparent; font-size:100%;}

ol, ul, li {list-style:none;}
html {margin:0;padding:0;}

body {
    margin:0; padding:0;
	-webkit-text-size-adjust:none;
    font: 14px 'Arial', 'Helvetica', sans-serif;
	line-height: 1.25;
    background: #353535 url(../img/body_bg.jpg) 0 0 repeat-x;
}

#main_container {
	width: 950px;
	margin: 0 auto;
}

/*	header
------------------------------------------------------------------------ */
#header {
	height: 115px;			
	background: url(../img/header_logo.jpg) no-repeat;
	padding-top: 30px;
}
#logo {
	float: left;
	display: block;
	height: 115px;
	width: 500px;
}
h2.slogan {
	float: right;
	display: block;
	text-align: center;
	font: 14px 'Tahoma', 'Arial', 'Helvetica', sans-serif;
	font-weight: bold;
	text-transform: none;
	height: 73px;
	width: 379px;
	padding: 13px 1px 0 0;
	margin: 27px 12px 0 0;		
	color: #fff;
	text-shadow: -1px -1px #555;
	background: url(../img/slogan-bg.png) no-repeat;
}

/*	päänavigointi
------------------------------------------------------------------------ */	
#navimenu {
	clear: both;
	text-align: center;
	font: 13px 'Tahoma', 'Arial', 'Helvetica', sans-serif;
	position: relative;
	padding: 0;
	padding-left: 6px;
	height: 38px;
	width: 944px;
	background: url(../img/menu_bg.png) repeat-x 100%;
}
#navimenu li {
	float:left;
}
#navimenu li a {
	float: left;
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 1em;
	font-weight: bold;
	padding: 0 3px 0 20px; /*Padding to accomodate left tab image. Do not change*/
	height: 39px;
	line-height: 38px;
	cursor: pointer;	
}
#navimenu li a b {
	float: left;
	display: block;
	padding: 0 27px 0 6px; /*Padding of menu items*/
	background: url(../img/menu_jakaja.png) top right no-repeat;
}
#navimenu li a:hover {
	color: #5fccee;
	background-position: left;
}
#navimenu li a:hover b {
	color: #5fccee;
	background: url(../img/menu_jakaja.png) top right no-repeat;
}
#navimenu li a.open {
	color: #2dc5f4;
	background: url(../img/menu_hover_left.png) no-repeat; /*left tab image path*/
	background-position: left;
	position: relative;
	top: 0;
	left: -5px;
}
#navimenu li a.open b {
	color: #2dc5f4;
	background: url(../img/menu_hover_right.png) no-repeat right top; /*right tab image path*/
}

#navimenu li a img {
padding: 8px 5px 11px 4px; /*Padding of menu items*/}


/*	vasen navi
------------------------------------------------------------------------ */
#vasen-navi, #vasen-navi2 {
	float: left;
	position: relative;
	width: 200px;
}
#vasen-navi a, #vasen-navi2 a {	
	font: 12px/13px 'Tahoma', 'Arial', 'Helvetica', sans-serif;
	font-weight: bold;
	color: #fff;
	height: 12px;
	background: url(../img/lista_block.gif) 0 6px no-repeat;
	padding-left: 10px; 
}
#vasen-navi a:hover, #vasen-navi a.open, #vasen-navi2 a:hover, #vasen-navi2 a.open {
	text-decoration: underline;
	color: #5fccee;					
}

.active {
	text-decoration: underline;
	color: #1fc8f8;
}


/*	Backgrounds
------------------------------------------------------------------------ */
.backgrounds {	
	width: 100%;
	clear: both;
	height: 460px;	
	background-position: left bottom;
	background-repeat: no-repeat;
	position: relative !important;
}
.asiakkaat {
	height: 700px;
}
.tarjous {
	height: 800px;
}
#etusivu 		{background-image: url(../img/main_bg_room_etusivu.jpg);}
#palvelut 		{background-image: url(../img/main_bg_palvelut.jpg);}
#hinnasto 		{background-image: url(../img/main_bg_hinnasto.jpg);}
#asiakkaat 		{background-image: url(../img/main_bg_room_asiakkaat.jpg);}
#galleria 		{background-image: url(../img/main_bg_room_art.jpg);}
#yritys 		{background-image: url(../img/main_bg_room_yritys.jpg);}
#yhteystiedot 	{background-image: url(../img/main_bg_room_yhteys.jpg);}
#tarjous 		{background-image: url(../img/main_bg_room_tarjous.jpg);}
#sivukartta		{background-image: url(../img/main_bg_room_yritys.jpg);}
#uutiset 		{background-image: url(../img/main_bg_room_uutiset.jpg);}



/*	css transparent background
------------------------------------------------------------------------ */
.overlay {position:absolute;	top:0; bottom:0; left:0; width:100%;
background:#000; opacity:.60;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-moz-box-shadow: 3px 3px 4px #222;
-webkit-box-shadow: 3px 3px 4px #222;
box-shadow: 3px 3px 4px #222;}

.content {position:relative;}


/*	Keskitystable
------------------------------------------------------------------------ */
table {border-collapse:collapse; border-spacing:0;}

.keskitetty {
	float:right;
	height:100%;	
}
.center {vertical-align:middle;}


/*	boksit
------------------------------------------------------------------------ */
#teksti-etusivu			{width:340px; position:relative;}
#teksti-box-etusivu		{width:340px; margin-right:55px; height:85%;}

.palvelut 				{vertical-align:top; padding-top:50px;}
#teksti-palvelu1		{width:180px; position:relative;}
#teksti-palvelu2		{width:180px; position:relative;}
#teksti-palvelu3		{width:260px; position:relative;}
#teksti-palvelu4		{width:180px; position:relative; margin: 0 40px 0 0;}
#teksti-palvelu5		{width:180px; position:relative; margin: -20px 0 0 0;}

#teksti-box-palvelu1	{width:180px; margin-right:30px; margin-top: 10px;}
#teksti-box-palvelu2	{width:180px; margin-right:20px; margin-top: 22px;}
#teksti-box-palvelu3	{width:260px; margin-right:20px; margin-top: 15px; height:92%;}

#tvboxi					{width:140px; height:104px; position:absolute; top:178px; left:40px; background: transparent;}
.ruutu						{width:140px; height:104px; position:absolute; top: 0; left: 0; background: url(../img/tv-ruutu.png) no-repeat;}


#teksti-hinnasto		{width:320px; position:relative;}
#teksti-box-hinnasto-1	{width:320px; margin-right:30px; height:85%;}
#teksti-box-hinnasto-2	{width:320px; margin-right:30px; height:92%;}
#teksti-box-hinnasto-3	{width:320px; margin-right:30px; height:87%;}
#teksti-box-hinnasto	{width:320px; margin-right:30px;}
#kuva-box-hinnasto		{width:330px; margin-right:20px; height:85%;}
#navi-box-hinnasto 		{width:200px; margin-right:20px; height:85%;}

#teksti-asiakkaat		{width:630px; margin-right:10px; padding-bottom: 10px; position:relative;}
#teksti-box-asiakkaat	{width:630px; margin-right:30px; height:85%;}
#navi-box-asiakkaat 		{width:180px; margin-right:40px; height:87%;}
#teksti-asiakkaat	img	{margin-bottom:15px; border: #444 1px solid;
-moz-box-shadow: 1px 1px 3px #333;
-webkit-box-shadow: 1px 1px 3px #333;
box-shadow: 1px 1px 3px #333;}

#teksti-galleria		{width:220px; position:relative;}
#teksti-box-galleria	{width:220px; margin-right:55px; height:85%;}
#kuva-box-galleria		{width:330px; margin-right:50px; height:85%;}
#kuva-box-galleria-1	{width:550px; margin-right:105px; height:80%;}
#navi-box-galleria 		{width:200px; margin-right:50px; height:80%;}

#teksti-yritys1			{width:320px; position:relative;}
#teksti-yritys2			{width:200px; position:relative;}
#teksti-box-yritys1		{width:320px; margin-right:30px; height:79%;}
#teksti-box-yritys2		{width:200px; margin-right:50px; height:58%;}
#teksti-box-yritys3		{width:250px; margin-right:50px; height:90%;}
#ruutuboxi				{width:180px; height:102px; position:absolute; top:85px; left:85px; background: transparent;}
.kulma				{width:180px; height:102px; position:absolute; top:0; left:0; background: url(../img/tuolinkulma.png) no-repeat;}

#teksti-yhteys			{width:330px; position:relative;}
#teksti-box-yhteys		{width:330px; margin-right:75px; height:100%;}

#teksti-tarjous1		{width:250px; position:relative;}
#teksti-tarjous2		{width:250px; position:relative;}
#teksti-box-tarjous1	{width:250px; margin-right:20px; height:98%;}
#teksti-box-tarjous2	{width:250px; margin-right:20px; height:98%;}


/*	yleiset muotoilut
------------------------------------------------------------------------ */
.tube1 {padding:20px 20px 10px;}
.tube2 {padding:20px;}
.tube3 {padding-top: 15px;}
.tube4 {padding:20px 18px 10px 20px; margin-top: 20px;}
.tube5 {padding-top: 10px;}
.tube6 {padding: 2px 0 5px;}
.marg1{margin-top: 5px;}
.marg2{margin-top: 30px;}
.marg3{margin-bottom: 15px;}
.marg4{margin-bottom: 25px;}

.plinkki:hover {
  padding-left: 0.1em;
}

.clear {
	clear: both;
	line-height: 1px;
	height: 1px;
	}
	
p {
	font: 13px/14px 'Arial', sans-serif;
	color: #fff;
}
.content p {margin-bottom:10px;}

a, .nolink {
	font-size: 1em;
	color: #5fccee;
	text-decoration: none;
}
a:hover {
	color: #fff;
}

h1, h2, h3 {
	font-size: 1.1em;
	font: 14px 'Tahoma', 'Arial', 'Helvetica', sans-serif;
	font-weight: bold;
	color: #fff;
	line-height: 16px;
	
}
h1, h3 {
	font-size: 1.2em;	
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 2px solid #2ec5f4;
	text-shadow: #222 0.1em 0.1em 2px;
}
h1 {
	font-size: 1.4em;
}
h2 {
	font-size: 1.0em; line-height: 20px;
}
h4 {
	font-size: 1.0em;
	color: #fff;
	border-bottom: 1px solid #2ec5f4;
	clear: both;
	margin: 10px 0;
}

.tiheampi {
	letter-spacing: -1px;
}

.plinkki, .nolink {
	font: 12px/15px 'Tahoma', 'Arial', 'Helvetica', sans-serif;
	font-weight: bold;
}


/*	hinnastosivu
------------------------------------------------------------------------ */
.pikkukuva {
	float: left;		
	width: 80px;
	height: 80px;
	padding: 15px;
	background: url(../img/pikkukuvan-bg.png) no-repeat;
	background-position: top;
}

.pikkukuva:hover {
	background: url(../img/pikkukuvan-bg.png) no-repeat;
	background-position: bottom;
}

.vaakakuva {
	float: left;		
	width: 300px;
	height: 80px;
	padding: 15px;
	background: url(../img/vaakakuvan-bg.png) no-repeat;	
}
	
#teksti-hinnasto li {
	font: 13px/14px 'Arial', sans-serif;
	color: #ccc;
	padding-left: 12px;
	background: url(../img/lista_block.gif) 2px 6px no-repeat;
	}
	
	
/*	asiakassivu
------------------------------------------------------------------------ */


#teksti-asiakkaat h1 {
	height: 20px;
	line-height: 18px;
	border: none;
	padding: 10px;
	background: url(../img/otsikkoliuku4.png) left bottom repeat-x;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0px 1px 3px #333;
	-webkit-box-shadow: 0px 1px 3px #333;
	box-shadow: 0px 1px 3px #333;
}

#teksti-asiakkaat h1 span {
	font: 0.5em 'Arial', 'Helvetica', sans-serif;
	float: right;
	color: #fff;
	margin: 4px 0;
	text-transform: uppercase;
}

#teksti-asiakkaat p {
	font-weight: normal;
	padding: 0 10px;
	font-size: 0.9em;
}


#teksti-asiakkaat a {
	font-weight: bold;
	font-size: 0.8em;
	padding: 5px 36px;
	background: url(../img/linkki2.gif) 9px 4px no-repeat;
	height: 26px;
	line-height: 26px;
}

#pagecontent img {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0px 0px 3px #fff;
	-webkit-box-shadow: 0px 1px 3px #333;
	box-shadow: 0px 1px 3px #333;
}

.keskelle {text-align:center;}


/*	Uutissivu
------------------------------------------------------------------------ */


p.paivamaara {
	color: #bbb;
	height: 20px;
	margin-bottom: 10px;
	margin-top: -5px;
	font-size: 0.7em;
}

.uutislinkki {
	float: right;
	display: block;
	height: 36px;
	width: 120px;
	margin: 360px 90px 0 0;
}

.uutislinkki a {
	display: block;
	height: 36px;
	width: 120px;
}

.uutislinkki a:hover {
	background: url(../img/uutishover.png) no-repeat;
}

.uutislinkki a span { display: none;}



/*	Mootools tabsit
------------------------------------------------------------------------ */

nav, section {
	display: block;
	margin: 0;
}

nav {
	float: left;
	height: 100%;
}

section#content {
	float: right;
	width: 400px;
	height:	100%;
}

.pagecontent {
	display: none;
}

#navi-box-asiakkaat a.selected 		{margin-left:2px; color: #DDD;}
ul#kakkosmenu li a.mb {width: 160px; display: block; margin: 0 0 4px 0;}
ul#kakkosmenu li a.final {margin-bottom: 20px;}

/* ie fixes */
* html ul.tabs-content li { float:left; } /* ie6 */
*+ html ul.tabs-content li { width:99%; float:left; } /* ie7 */


/*	Mootools slide ja smoke
------------------------------------------------------------------------ */

#slideshow-container, #slideshow-container2 { width:180px; height:102px; position:relative; overflow: hidden; }
#slideshow-container img, #slideshow-container2 img { display:block; position:absolute; top:0; left:0; }

#smoke { float: right;}

.etusivunsmoke { margin: 0 60px 30px 0;}
.uutissivunsmoke { margin: 0 260px 30px 0;}




/*	footer
------------------------------------------------------------------------ */	
#footer {
	clear: both;		
	height: 53px;
	width: 895px;
	padding: 6px 23px 0 32px;		
	background: url(../img/footer_bg.png) no-repeat;
}
#footer p {
	float: left;
	height: 25px;
	color: #bbb;
	font-size: 0.7em;
	margin-top: 2px;
	font-weight: bold;
}
#footer span {
	float: right;
	display: block;		
	width: 25px;
	height: 16px;
	margin-left: 8px;	
}


/*	Lomake
------------------------------------------------------------------------ */
label, input, textarea, select, option {font:95% 'Arial', 'Helvetica', sans-serif;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;}
label {
	display: block;
	font: 11px/12px 'Arial', sans-serif;
	font-weight: bold;
	color: #fff;
	text-align: left;
	margin-bottom: 3px;
	padding-left: 3px;
	cursor: pointer;
}
input, textarea, select {
	font-size: 0.9em;
	color: #bbb;
	background: #1d1d1d;
	width: 100%;
	padding: 3px 3px;
	margin-bottom: 8px;
}
option, select {
	font-size: .9em;
}
option {
	color: #ccc;
	background: #333;
	padding: 0 5px;
}
option.paasivu {
	color: #111;
	background: #666;
	margin-top: 1px;
	padding: 1px 10px;
}
optgroup {
	color: #fff;
	padding: 0 2px;
}
.radio {float: left; width: 12px; height: 12px; margin: 0 6px; clear: left;}
label.check {
	clear: right;
	display: block;
	font-size: 0.8em;
	color: #bbb;
	text-align: left;
	margin-bottom: 3px;
	padding-left: 0;
	height: 14px;
	line-height: 14px;
}
input.nappi {
	color:#fff;
	font-size: .8em;
	font-weight:bold;
	background: url(../img/otsikkoliuku4.png) left bottom repeat-x;
	border: solid 1px #444;
	padding: 4px 15px;
	margin-top: 12px;
	width: auto;
}
input.nappi:hover {color:#1fc8f8; border: solid 1px #555; 	cursor: pointer;}

fielset {border: none;}
legend {display: none;}


/*	Fontit
------------------------------------------------------------------------ */


@font-face {
    font-family: 'PTSansNarrowRegular';
    src: url('fonts/PTSans/PTN57F-webfont.eot');
    src: url('fonts/PTSans/PTN57F-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/PTSans/PTN57F-webfont.woff') format('woff'),
         url('fonts/PTSans/PTN57F-webfont.ttf') format('truetype'),
         url('fonts/PTSans/PTN57F-webfont.svg#PTSansNarrowRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'PTSansBold';
    src: url('fonts/PTSans/PTS75F-webfont.eot');
    src: url('fonts/PTSans/PTS75F-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/PTSans/PTS75F-webfont.woff') format('woff'),
         url('fonts/PTSans/PTS75F-webfont.ttf') format('truetype'),
         url('fonts/PTSans/PTS75F-webfont.svg#PTSansBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'PTSansRegular';
    src: url('fonts/PTSans/PTS55F-webfont.eot');
    src: url('fonts/PTSans/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/PTSans/PTS55F-webfont.woff') format('woff'),
         url('fonts/PTSans/PTS55F-webfont.ttf') format('truetype'),
         url('fonts/PTSans/PTS55F-webfont.svg#PTSansRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'PTSansNarrowBold';
    src: url('fonts/PTSans/PTN77F-webfont.eot');
    src: url('fonts/PTSans/PTN77F-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/PTSans/PTN77F-webfont.woff') format('woff'),
         url('fonts/PTSans/PTN77F-webfont.ttf') format('truetype'),
         url('fonts/PTSans/PTN77F-webfont.svg#PTSansNarrowBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

