@charset "UTF-8";
* {	 
/*
	margin: 0; padding: 0;
border: 0; */}
body {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	background-color: #e6e7e0;
	background-image: url(images/bg_top.png);
	background-repeat: repeat-x;
	background-position: top left;
	
	/*keskitys*/
	width:800px;
	margin-left:auto;
	margin-right:auto;
}
h1 {
	font-size: 20px;
	margin-bottom: 12px;
	font-style: normal;
	color: #405670;
}
h2 {
	font-size: 14px;
	font-style: normal;
	margin: 15px 0 4px 0;
	color: #405670;
}
img {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
}
img, div, a {
	behavior: url(iepngfix.htc)
}
p {
	margin-bottom: 10px;
}
#logo {	
	margin-top:27px;	
	margin-left:27px;
	width: 259px;
	height: 52px;
	
}
#flags {	
	position: absolute;
	background-image: url(images/flag_bg.gif);
	background-repeat: no-repeat;	
	height: 27px;
	width: 114px;
	margin-left:630px;
	top: 0px;
	text-align: center;
}
#flags img {
	margin: 6px 2px 0 2px;
}
#container {
	clear: both;
	width: 800px;
	position: absolute;
	top: 99px;
	
}
#mainpicture {
	float: left;
	text-align:center;
	background-color: inherit;
		
}
#mainpicture img{
	/*width:100%;
	height:100%;*/
	
	
	
}
#slogan {
	float: right;
}
#navi {
	width: 520px;
}
#navi_tuotteet {
	width: 755px;
}
#navi, #navi_tuotteet {
	background-color: #FFFFFF;
	background-image: url(images/navi_bg.png);
	height: 24px;
	top: 277px;
	padding-left: 45px;
	float: left;
	padding-top: 7px;
}
#navi #arrow, #navi_tuotteet #arrow {
	height: 13px;
	width: 8px;
	position: inherit;
	float: left;
	margin-top: 4px;
}
#navi a, #navi_tuotteet a {
	text-decoration: none;
	margin-left: 0px;
	padding: 7px 14px;
}
#navi a:link, #navi a:visited, #navi_tuotteet a:link, #navi_tuotteet a:visited {
	color: #5c6b7c;
}
#navi a:hover, #navi a:active, #navi_tuotteet a:hover, #navi_tuotteet a:active {
	color: #FFFFFF;
	background-color: #aab8cf;
}
#content {
	background-color: #f3f3f0;
	/*padding: 25px 45px;*/
	
	width:800px;
	
	color: #313e4d;
	float: left;
	margin-top: 22px;
	background-image: url(images/margin_bg.gif);
	background-position: right;
	background-repeat: repeat-y;
	position:relative;
	/*min-height:550px;*/
	min-height:750px;
}
/*
#container #content p {
	width: 475px;
}*/x
#container p {
	width: 475px;
}
.main{
	width:500px;
	padding:20px;
}
#margin {
	position:absolute;
	right:0px;
	top:0px;
	width: 200px;
	padding-top:25px;
	padding:20px;
	color: #313e4d;
	/*float: right;*/
	/*margin-right: -20px;*/
	display: inline;
	
}
#margin p {
	width:188px;	
	padding:0;
	margin:0;
	
}
#product_category {
	position: absolute;
	top: 31px;
	left: 0px;
	background-color: #bac8df;
	width: 800px;
	padding-top: 20px;
	text-align: center;
	padding-bottom: 3px;
}
#product_category a {
	text-decoration: none;
	color: #003ca2;
	margin: 0 0 0 0;
	padding: 5px 14px;
}
#product_category a:link, #product_category a:visited {

}
#product_category a:hover, #product_category a:active, #product_category .on {
	background-color: #d6dce2;
}
#fabric_slider {
	position: absolute;
	top: 72px;
	left: 0px;
	background-color: #d6dce2;
	width: 800px;
	text-align: center;
	padding-bottom: 20px;	
	margin-bottom: 2px;
	padding-top: 15px;
}
#fabric_slider img {
	margin-right: 5px;
}
#fabric_slider a:link img, #fabric_slider a:visited img {
	border-bottom: 7px solid #d6dce2;
}
#fabric_slider a:hover img, #fabric_slider a:active img {
	border-bottom: 7px solid #003ca2;
}
#product_image, #product_colors, #product_info, .tuote-editori  {
	position: absolute;
	top: 221px;
}
#product_image img{
	left: 0px;
	/*width: 100px;*/
	max-width:330px;
	max-height: 304px;
}
#product_colors {
	left: 332px;
	/*background-color: #d6dce2;*/
	width: 100px;
	min-height: 330px;
	z-index:3;
}
#product_colors img{
	height: 100px;
	width: 100px;
}
#product_colors img {
	margin-bottom: 2px;
}
#product_info {
	left: 440px;
	background-color: #f3f3f0;
	width: 320px;
	min-height: 264px;
	padding: 20px;
	color: #313e4d;
}
#product_info p{ /* UUUTTA */
	width:320px;
}/*
input{
	border:1px solid;
	background-color:white;
}*/
.inputti{
	border:1px solid;
	background-color:white;
}
.submit_button{
	border:1px solid;
}
textarea{
	border:1px solid;
	background-color:white;
}
#contacts {
	text-align: center;
}
#contacts_tuotteet {
	position: absolute;
	top: 530px;
	left: 0px;
	text-align: left;
	padding: 10px 0 0 30px;
	line-height: 17px;
}
#contacts, #contacts_tuotteet {
	color: #5c6b7c;
	float: left;
	width: 800px;
	font-size: 11px;
	margin-top: 7px;
}
#contacts a, #contacts_tuotteet a {
	color: #5c6b7c;
}
#contacts a:link, #contacts a:visited, #contacts_tuotteet a:link, #contacts_tuotteet a:visited {
	text-decoration: none;
}
#contacts a:hover, #contacts a:active, #contacts_tuotteet a:hover, #contacts_tuotteet a:active {
	text-decoration: underline;
}
#tuotelisays{	
	width:100%;
	position: absolute;	
	padding:0px;
	margin:0px;	
	bottom:0;
	/*border: dashed 1px;*/
	margin-bottom:5px;
	z-index:1;
	background-color:#bac8df;
}
.cms_input{
	margin-left:20px;
	display:inline;
	/*border:1px solid;*/
	background-color: #f3f3f0;
}
#tuotelisays input{
	border:1px solid;
}

.tuotehallinta{
	/*position: absolute;
	top: 530px;*/
	border-top:1px solid black;
}
.tuotehallinta input{
	border:1px solid;
	background-color:white;
}
.kangas_cms{
	/*padding:5px;
	
	background-color:#5c6b7c;*/
	text-align:left;
	border:1px dotted;	
}
.kangas_cms h3{
	text-align:left;
}
.kangas_cms img{
	height:100px;
	weight:100px;
	padding:5px;
}
.tuote-editori{
	border:1px solid;
	width:798px;
	background-color: #d6dce2;
	/*padding:10px;*/
	width:100%;	
}
.tuote-editori h3{
	text-align:center;
	width:100%;
	margin-bottom:20px;
	margin-top:20px;
}
.tuote-editori p{
	width:700px;
	margin:auto;
	margin-top:5px;
	margin-bottom:5px;
	/*text-align:center;*/
}
.virhe{
	color:red;
}
.videonappi{
	position: relative;
	font-size: 12px;
	text-align:center;
	cursor: pointer;
	float:right;
	border: 1px solid #808080;
	
	border-bottom: 1px solid black;
	border-left: 1px solid black;	
	top: 5px;
	right: 0px;
	
	margin: 0px 0px 10px 5px;
	padding: 5px 10px 5px 10px;
	/*
	background-image: url('images/navi_bg.png');
	background-repeat:repeat-x;
	*/
	background-color: rgb(135,153,188);
	background-color: rgb(214,220,226);
	font-weight: bold;
}
.videonappi:hover{
	border-bottom: 1.5px solid #808080;
	border-left: 1.5px solid #808080;
	
	
	
}
