/* Colors:
Yellow Shade1 = #fc0
Gray Shade0 = #333
Gray Shade1 = #666
Gray Shade2 = #ccc
Blue Shade1 = #39c
*/

html, body {
	text-align: center;
	min-width: 850px;
	height: 100%;
	padding: 0;
	margin: 0;
	background-color: #bbb;
}

body, table, td {
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 9pt;
	color: #333;
}

/* Minimize the space around headers */
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	line-height: 120%;
}
/* Set new headers */
/* Used for the main page title */
h1 {
	text-align: center;
	font-size: 1.5em;
	background-color: #666;
	color: #fc0;
	padding: 2px 0 3px;
	margin: 1em 0;
}
/* Subtitles for descriptive items */
h2 {
	color: #333;
	margin: 0.5em 0;
	font-size: 1.1em;
	text-decoration: underline;
	text-align: left;
}
h3 {
	margin: 0.5em 0;
	color: #fc0;
	font-size: 1em;
	text-decoration: none;
	text-align: center;
}
h4 {
	margin: 0;
	color: #333;
	font-size: 1.2em;
	text-decoration: none;
	text-align: left;
	clear: both;
}
h5 {
	font-size: 1.5em;
	margin: 1em 0;
	color: #666;
	text-align: center;
	text-decoration: none;
}

/* Set paragraphs */
p {
	line-height: 1.3;
	text-align: justify;
	width: 100%;
}
p img {
	float: left;
	margin: 10px;
}
strong {
	border-bottom: 1px solid #39c;
}

/* Containers */
/* Page canvas, centers contents */
#canvas {
	background-color: #ccc;
	text-align: left;
	width: 850px;
	margin-left: auto;
	margin-right: auto;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	position: relative;
	min-height: 100%;
	/* Work out some problems with older browsers */
	height: 100%;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: auto;
}
/* Fix for ie5.x */
html>body #canvas {
	height: auto;
}
/* Title with the title-image */
#title {
    position: relative;
	background: #333 url(images/pointone_title.jpg) no-repeat;
	height: 217px;
	border-bottom: 1px solid #333;
}
#title h1, #title h2, #title p
{
    display: block;
    text-indent: -2000px; 
	text-align: left;
	font-size: 1em;
	background-color: transparent;
	color: #fc0;
	text-decoration: none;
	padding: 0;
	margin: 0;
}
	
#footer_title {
   background: #ccc url(images/pointone_bottom_image.gif) no-repeat;
   height: 40px;
   border-bottom: 2px solid #fc0;
}
/* Footer */
#footer_container {
	text-align: center;
	position: absolute;
	bottom: 0;
	width: 100%;
}
#footer {
	background-color: #666;
	font-size: 0.9em;
	line-height: 2em;
	color: #ccc;
}
/* Page contents */
#contents {
	text-align: center;
	padding: 0 2em 10em;
}
/* Page contents inside */
#contents_inside {
	text-align: left;
	width: 60%;
	margin-left: auto;
	margin-right: auto;
}
#contents_inside ul {
	color: #111;
	list-style-type: square;
	list-style-image: url(images/list_square1.gif);
}
#contents_inside_max {
	width: 180%;
	margin-left: -35%;
}

/* Products containers */
/* Product list is used when listing categories and products */
.product_list {
	width: 1%;
	margin-left: auto;
	margin-right: auto;
}
.product_list td {
	vertical-align: top;
	text-align: center;
	border: 1px solid #999;
	width: 1%;
	background-color: #bbb;
}
.product_list td:hover h4 {
	background-color: #666;
	color: #fff;
}
.product_list td:hover {
	background-color: #999;
}
.product_list h4 {
	background-color: #ddd;
	font-size: 1.2em;
	line-height: 1.5em;
	padding: 0.5em;
	text-align: center;
	text-decoration: underline;
}
.product_list img {
	margin: 1em;
	padding: 3px;
	background-color: #666;
	border: 1px solid #bbb;
}
.product_list img:hover {
	border: 1px solid #fff;
}
.product_list em {
	display: block;
	text-align: left;
	font-size: 0.7em;
	color: #fff;
	margin: 0 1em 1em;
}
.product_list a {
	text-decoration: none;
}
.product_list form {
	margin: 0 1em 1em;
	padding: 2px;
	border: 1px solid #ddd;
}
.product_list input, #product_list select {
	font-size: 0.9em;
	border: 0;
	margin: 0;
	padding: 0;
}
.product_list input {
	color: #fff;
	background-color: #333;
	padding: 0.2em 0.4em;
}
.product_list label {
	color: #333;
	font-size: 0.8em;
}

/*
Vaihtokoneet list, 
when listing Vaihtokoneet, use this
*/
#used_list {
	width: 65%;
	margin-left: auto;
	margin-right: auto;
}
#used_list table {
	width: 100%;
}
#used_list td {
	padding: 0.5em 1em 1em;
	vertical-align: top;
	text-align: left;
	width: 100%;
	color: #ccc;
	background-color: #ddd;
	border-bottom: 1px solid #999;
}
/* For category name */
#used_list h4 {
	font-size: 1.2em;
	line-height: 1.5em;
	padding: 0.5em;
	text-align: left;
}
/* Merkki, malli */
#used_list h5 {
	font-size: 1.2em;
	color: #333;
	line-height: 1;
	padding: 0;
	margin: 0;
	text-align: left;
	text-transform: uppercase;
}
/* Vuosimalli */
#used_list h6 {
	font-size: 0.8em;
	color: #666;
	line-height: 1;
	padding: 0;
	margin: 0.5em 0 0 0.5em;
	text-align: left;
	text-transform: uppercase;
}
/* Hinta */
#used_list h3 {
	font-size: 1em;
	color: #666;
	padding: 0;
	margin: 0.5em;
	text-align: right;
}
#used_list a {
	text-decoration: none;
}
#used_list span {
	display: block;
	text-align: right;
	margin-right: 0.5em;
}
#used_list img {
	margin: 0;
	padding: 0;
	border: 1px solid #bbb;
}
#used_list img:hover {
	border: 1px solid #fff;
}
#used_list em {
	display: block;
	text-align: left;
	font-size: 0.7em;
	color: #fff;
	margin: 0 1em 1em;
}
#used_list a {
	text-decoration: underline;
}

/*
For displaying product info
*/
#product_left {
	display: block;
	float: left;
	width: 60%;
}
#product_left table {
	text-align: center;
}
#product_left td {
	text-align: left;
	padding-bottom: 0.5em;
}
#product_left td.title {
	vertical-align: top;
	text-align: right;
	font-weight: bold;
	padding-right: 2em;
	padding-bottom: 0.5em;
}
#product_left ul {
	color: #111;
	list-style-type: square;
	list-style-image: url(images/list_square1.gif);
}
#product_left ul li {
    margin-left: 10%;
    text-align: left;
    width: 90%;
}
#product_left p {
	text-align: left;
	width: 90%;
	margin-left: 5%;
}
#product_left h4 {
	width: 90%;
	margin-left: 5%;
	background-color: #bbb;
}
#product_left h5 {
	width: 90%;
	margin-left: 5%;
	border-bottom: 1px solid #bbb;
}
#product_right {
	display: block;
	float: right;
	text-align: right;
	width: 35%;
	padding: 0.5em;
	border: 1px solid #fff;
	background-color: #666;
	color: #fff;
	font-size: 0.9em;
}
#product_right span {
	display: block;
	margin: 0 0 2px;
	padding: 0 4px 2px 0;
	border-bottom: 1px solid #999;
	color: #fff;
}
#product_right strong {
	font-weight: normal;
	float: left;
	color: #fc0;
	padding-right: 1em;
	border: 0;
}
#product_left img {
	margin: 0 10px 10px;
	border: 1px solid #fff;
}

/* Pagemap */
#pagemap {
	text-align: left;
	margin-left: 30%;
}
#pagemap ul {
	font-weight: bold;
}
#pagemap ul a {
	text-decoration: none;
}
#pagemap ol {
	font-weight: normal;
	margin-left: 5px;
	padding-left: 5px;
}
#pagemap ol a {
	color: #666;
	text-decoration: underline;
}
#pagemap ol a:hover {
	color: #fff;
}
#pagemap ul li {
	list-style-type: none;
	padding-top: 0.5em;
}
#pagemap ol li {
	padding: 0;
}

#bigimg img {
	padding: 10px;
	background-color: #bbb;
	border: 1px solid #fff;
}

/* Links */
a:link, a:visited {
	color: #39c;
	text-decoration: underline;
}
a:hover, a:active {
	color: #fff;
	text-decoration: none;
}

b {
	text-decoration: none;
}

/*
Language selection, placed in the title area
*/
#languagebar {
	position: absolute;
	width: 100%;
	top: 5px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 0;
}
#languagebar img {
	margin: 0 0.2em;
	padding: 0;
	border: 1px solid #666;
}
#languagebar a {
	text-decoration: none;
	border: 0;
}

.phpgentable
{
    margin: 1em 0;
    border-top: 1px solid #999;
    border-left: 1px solid #999;
}
.phpgentd1, .phpgentd2
{
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: 0.2em 0.5em;
    margin: 0.2em;
}
.phpgenth
{
    border-right: 1px solid #999;
    background-color: #ddd;
    padding: 0.5em;
    text-align: left;
}
