/* @override http://www.huoneistoidea.fi/2010/css/master.css */

/*
	master.css
      
	Created by Tommi Pääkkö on 2010-01-23.
	Copyright 2010 Sofico Finland. All rights reserved.
	
	Basic css style
*/

@import url(reset.css);
@import url(type.css);
@import url(grid.css);

body {
	background:url(img/bg.png);
}

#container {
}

/* @group Branding, logo and tagline */
#branding {
	background:url(img/content-bg.png) repeat-y;
}

#branding-logo{
	height:114px;
	background:url(img/branding-logo-bg.png) repeat-x;
	margin:0 30px;
	text-align:left;
	padding:0 15px;
}
#branding-logo img {
	margin-top: 20px;	
}

#branding-logo #address{
	float:right;
	margin:36px 17px 0 0;
	width:230px;
	font-size: 13px;
}
/* @end Branding, logo and tagline **/

/* @group Navigation */
#navigation {
	height:122px;
	background: url(img/navigation-bg.png) repeat-y;
}

#navigation-main {
	font-size:14px;
	width:860px;
	margin:0 auto;
	height: 61px;
}

#navigation-main ul {
	list-style:none;
	margin: 0 0 0 -14px;
}

#navigation-main ul li {
	height:61px;
	float:left;
	margin:0;
	background: url(img/navigation-split.png) no-repeat right center;
}
#navigation-main ul li.last {
	background:none;
}


#navigation-main ul li a {
	display:block;
	height: 39px;
	color:#333;
	padding:22px 18px 0;
	font-weight: bold;
	text-transform: uppercase;
}

#navigation-main ul li.active a {
	color:#ee2628;	
}
#navigation-main ul li a:hover {
	color: #FF0B00;
}

#navigation-listing{
	font-size:14px;
	margin:0 40px;
	height:61px;
}

#navigation-listing span{
	display:block;
	float:left;
	/*color:#EE2628;*/
	font-weight:bold;
	text-transform:uppercase;
	height:61px;
/*	width:150px;*/
	line-height: 62px;
	padding: 0 10px 0 20px;
	font-family:Cambria,Times New Roman,Times,serif;
}
#navigation-listing ul {
	list-style:none;
	margin: 0 auto;
	padding: 0;
	height:61px;
	width:770px;
	float:left;
}

#navigation-listing ul li {
	height:61px;
	margin:0;
	float:left;
	text-align:center;
	background: url(img/navigation-dot.png) no-repeat right center;
}
#navigation-listing ul li.last {
	background: none;
}
 
#navigation-listing ul li a {
	display: block;
	color:#666;
	font-weight: bold;
	padding: 22px 20px 0 14px;
	height: 39px;
}

/* @end Navigation **/

#content {
	background:url(img/content-bg.png) repeat-y;
}

#content > div {
	padding:20px 15px ;
	margin:0 30px;
	background: url(img/content-main-bg.png) repeat-x;
}

/** Sivublokki */
.nosto {
	width: 260px;
	height: 60px;
	background: url(img/nosto-bg.png) no-repeat;
	-webkit-border-radius:3px;
	margin-bottom: 5px;
}

.nosto a {
	color: #333;
	font-weight: bold;
	font-size: 16px;
	display: block;
	padding: 20px 60px 15px 10px;
}

.sivu-otsikko {
	width: 260px;
	height: 42px;
	background-image: url(img/kohde-sivu-otsikko.png);
	margin-bottom: 5px;
}

.sivu-otsikko a {
	display: block;
	padding: 10px 30px 10px 15px;
	color: #333;
	font-weight: bold;
}

#esite a {
	background: url(img/esite.png) no-repeat 220px center;
}

#tarjous input[type=submit] {
	background: url(img/osto.png) no-repeat 220px center;
}

#edelliselle a{
	clear: both;
	display: block;
	margin: 15px 0;
	width:125px;
	height: 20px;
	background: url(img/kohde-takaisin-bg.png) no-repeat;
	padding: 6px 10px 5px 30px;
	color: #333;
	font-weight: bold;
}

.sideblock {
	background: url(img/ajankohtaista-btm.png) no-repeat 0 bottom;
	padding: 0 0 5px;
	font-family: "“Trebuchet MS”, Tahoma, Arial, sans-serif";
	margin-bottom:5px
}

.sideblock-header {
	height: 30px;
	padding: 8px 15px 0;
	background: url(img/ajankohtaista-top.png) no-repeat;
}
.sideblock-header a{ color:#333;}
.sideblock-header p {
	font-weight: bold;
	margin: 2px 00;
}
.sideblock-body {
	background: url(img/ajankohtaista-mid.png) repeat-y;
	padding: 10px 15px ;
}

.sideblock-body h3 {
	color: #D21312;
	/*font-size: 16px;*/
}

.sideblock-body p {
	margin-bottom: 5px;
}

.sideblock-body .image {
	text-align: center;
}

/* @end Sivublokki **/

/** Kohde */
.kohde {
	padding: 25px 0 25px;
	border-bottom:1px solid #ccc;
}

.kohde-kuva .mask{
	position: absolute;
	width: 230px;
	height: 160px;
	background: url(img/imgmask-230x160-trans.png) no-repeat;
}

.kohde-kuva img {
	margin: 2px;
}

.location {
	text-transform: uppercase;
	font: bold 12px Cambria, Times;
}

.size{
	margin: 0;
}

.kohde-katso {
	height: 32px;
	width: 165px;
	background: url(img/kohde-katso-bg.png) no-repeat;
}

.kohde-katso a {
	display:block;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	color: #333;
	padding: 7px 0 0 15px;	
}
.kohde-katso a:hover {
	color: #ed1c24;
}
.kohde-hinta {
	padding: 20px 0 0;
	text-align: right;
}

.kohde-velaton {
	font-weight: bold;
}

/* @end Kohde **/

#location-info h2 { text-transform: uppercase;}

/*#location-info ul {
	list-style-type: none;
	border-bottom: 1px solid #ccc;
	margin: 0;
}*/

/*#location-info ul li {
	height: 30px;
	border-top: 1px solid #ccc;
	padding: 10px 0 0;
}*/

#location-info table {
	border-bottom: 1px solid #ccc;
	width: 570px;
	margin-bottom: 20px;
}
#location-info tr {
	height: 30px;
	border-top: 1px solid #ccc;
	padding: 10px 0 0;
}

#location-info tr td{
	height: 30px;
	padding: 10px 0 0 ;
}
.info-title {
	display:block;
	float: left;
	color: #666;
	width: 170px;
}

.info-value {
	display: block;
	float: left;
	width: 400px;
	
}
/* Formit */

fieldset {
	border: 1px solid #ccc;
	padding: 10px;
	margin:0 0 20px;
	background: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

fieldset br {
	clear: both;
}
legend {
	border: 1px solid #ccc;
	background: #FFEF67;
	font: bold 14px/18px "Cambria";
	padding: 5px 15px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	color: #333;
	text-transform: uppercase;
}

label {
	display: block;
	float: left;
	width: 300px;
	padding: 3px;
	margin-bottom: 20px;
}

label.radio {
	width: 70px;
	margin: 0;
	float: left;
	clear: right;
	display: block;
	white-space: nowrap;
	padding: 0 3px;
}

label.req{
	font-weight: bold;
}

label.required,
label.invalid{
	color: #f00;
}

input[type=text],
input[type=submit], 
textarea {
	border: 1px solid #ccc;
	background: #f5f5f5;
	font: 100 14px/18px "Trebuchet MS";
	padding: 3px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	color: #333;
}

input[type=text] {
	width: 300px;
}
input.tiny {
	width: 100px;
}

input[type=radio],
input[type=checkbox] {
	display: block;
	float: left;
}
input[type=submit]{
	font-weight: bold;
	padding: 5px 20px;
	cursor: pointer;
}

input[type=text]:focus,
textarea:focus {
	background: #fcfcfc;
	border: 1px solid #aaa;
}

input[type=submit]:hover,
input[type=submit]:focus{
	background: #FFEF67;
}

textarea {
	width: 500px;
	height: 80px;
	margin: 0 0 20px;
}

.fieldpair label {
	margin: 0;
}

.fieldpair{
	margin-bottom: 20px;
}

.inline label,
.inline input {
	display: inline;
	float: none;
}

#tarjous input{
	border: none;
	background: transparent;
	height: 42px;
	width: 260px;
	padding: 0 50px 0 15px;
	text-align: left;
}


.yhteystiedot{
	float: left;
	width: 380px;
	margin: 10px 18px 20px 0;
	padding: 20px 10px;
	border: 1px solid #ccc;
	font-size: 13px;
	background:#fff;	
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.yhteystiedot.alt{
	margin: 10px 0 20px 0;
}

#location-info .yhteystiedot {
	width:550px;
	margin: 0 0 20px;
	border: 0;
	border-bottom: 1px solid #ccc;
	-moz-border-radius:0;
	-webkit-border-radius:0;
	border-radius:0;
}

.yhteystiedot-kuva{
	width: 90px;
	float:left;
}

.yhteystiedot-info {
	float: left;
	width: 270px;
	margin-left: 20px;
}

.yhteystiedot h3 {
	font-size: 20px;
	margin-bottom: 5px;
}
.yhteystiedot .titteli{color: #666;}
p.puhelin {	margin-bottom:0;}
p.email {color: #EF1D1A;}

/**/



#siteinfo {
/*	height:10px;*/
	background: url(img/siteinfo-bg.png) no-repeat top center;	
	padding-top:50px;
	text-align:center;
	color:#ed1c24;
}

/** Karuselli */

.karuselli {
	width:570px;
	height:440px;
	position: relative;
	margin-bottom: 20px;
	background: url(img/cycle-bg-trans.png) no-repeat;
}

#cycle {
	width:570px;
	height:375px;
	margin:0;
	padding:0;
	position: relative;
	top:0;
	z-index: 1;
}

#cycle li {
	margin:2px;
/*	padding:2px;*/
	width:566px;
	height:381px;
}

#cycle li img {
	top:0;
	left:0;
}

#cycle li a{
	display:block;
	position:relative;
	width:100%;
	height:100%;
}
.karusellimaski {
	background: url(img/cycle-mask-trans.png) no-repeat 0 0;
	width: 566px;
	height: 381px;
	position: absolute;
	margin: -20px 0 0;
	z-index: 20;
}

.kohdeinfo {
	position: relative;
	width: 466px;
	padding: 5px 50px;
	margin: 0 2px;
	height: 50px;
	z-index: 5;
/*	top: -12px;*/
	top:12px;
/*	background: url(img/karuselli-descr-bg.png) repeat-x;*/
	background:#e8e8e8;
	text-align: center;
	overflow: hidden;
	-moz-border-radius:5px;
	border-radius:5px;
}

.kohdeinfo h2{
	font: bold 16px Cambria;
	margin: 0 0 8px 0;
}

.kohdeinfo p {
	display: block;
	overflow: hidden;
	line-height: 1;
	margin-top: -3px;
}
.kohdeinfo a {
	color: #333;
}

.karuselli .arrow {
	position: absolute;
	top: 0;
	display: block;
	height: 23px;
	width: 22px;
	background: url(img/karuselli-kontrollinuolet.png) no-repeat 0 0;
	text-indent: -9999px;
	cursor: pointer;
	margin: 20px 20px; 
}
 .karuselli .back {
	background-position: 0 0;
	left: 0;
}

.karuselli .forward {
	background-position: -22px 0;
	right: 0;
}
.karuselli .back:hover {
	background-position: 0 -23px;
}

.karuselli .forward:hover {
	background-position: -22px -23px;
}


/* @end Karuselli **/

/** Misc classes */
.errors {
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border: 1px solid #333;
	margin: 10px 0;
	padding: 10px;
	background: #faa;
}

.ui-datepicker-calendar th {
	background:none;
}

#content-main div.image{
	float: right;
	padding: 2px;
	height: 196px;
	width: 396px;
	margin: -50px 20px 20px 0;
}

#content-main .image .mask400 {
	position: absolute;
	width: 400px;
	height: 200px;
	background: url(img/imgmask-400x200-trans.png) no-repeat;
}
.clear {
	clear: both;
}
