﻿/* -- THForm ---------------------------- */

/* Lomakkeen otsikko */
.THForm span.title
{
	display: block;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 10px;
}

/* Syöttökentän otsikko */
.THForm span.controllabel
{
	display: block;
	padding-top: 5px;
	padding-bottom: 5px;
}

/* Väliotsikko */
.THForm span.subtitle
{
	font-weight: bold;
}

/* Syöttökentät */
.THForm input:not([type=submit]):not([type=radio]):not([type=checkbox]), 
.THForm textarea,
.THForm select
{
	/* "responsiivinen" leveys */
	display: block;
	width: 93%;
	max-width: 400px;
	/*padding-top: 5px;*/
	font-size: 1rem;
	height: 26px;
	line-height: 26px;
	padding-left: 5px; 
	margin-bottom: 8px;
	
	border: 1px solid #ccc;
}
/* Multiline - lisämuotoilu */
.THForm textarea 
{
	font: 12px Verdana, Helvetica, Arial, sans-serif;
	padding-top: 4px;
	height: 100px;
	overflow: auto;
}
/* Dropdownit - lisämuotoilu */
.THForm select
{
	width: 96% !important;
	max-width: 409px !important;
	height: 31px !important;
	padding-bottom: 5px !important;
	padding-right: 5px !important;
}
/* Checkboxien ja radiobuttonien sijoittelu niiden teksteihin nähden. */
.THForm input[type=radio],
.THForm input[type=checkbox]
{
	margin-right: 5px;
	position: relative;
	top: 3px;
}
/* Submit buttonit */
.THForm input[type=submit]
{
	margin-top: 10px;
}
/* Virheviesti */
.validation-container
{
	margin-top: 10px;
	margin-bottom: 10px;
	color: #ff5400;
}
/* Palaute lähetyksen jälkeen */
.feedback
{
	display: block;
	margin-top: 20px;
}

/* -- Pagerit ---------------------------- */
.THSiteMapContentAreaPager
{
	height: 25px;
	text-align: right;
}

.THSiteMapContentAreaPager a,
.product-listing-pager a
{
	height: 40px;
	min-width: 40px;
	line-height:40px;
	text-align:center;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #999;
	margin-left: 10px;
	cursor: pointer;
	display:inline-block;
}

.THSiteMapContentAreaPager a:hover,
.product-listing-pager a:hover
{
	text-decoration: none;
	background: #32bae4;
	border: 1px solid #32bae4;
	color: #fff;
}
																
.THSiteMapContentAreaPager a.selected,
.product-listing-pager a.selected
{
	border: 1px solid #32bae4;
	background: #32bae4;
	color: #fff;
	cursor: default; 
}

.THSiteMapContentAreaPager a.selected:hover,
.product-listing-pager a.selected:hover
{
	text-decoration: none;
}

/* Collapse ---------------------------- */
/* Sisältöalueen data on cropattu, ja käyttäjällä mahd. katsoa koko sisältö. */
.THSiteMapContentAreaCollapsed
{
	/* rivikorkeus on kaikkialla 17px - Typography.css */
	/* cropataan html */
	height: 88px; /* 5 riviä */
	overflow: hidden;
}
.THSiteMapContentAreaExpanded
{
	height: auto;
}

/*-- RSS-nosto  ---------------------------- */
.RSSFeedWrapper ul { list-style-type: none; }
.RSSFeedWrapper li { margin-bottom: 10px; }

/*-- Kysely  ---------------------------- */
/* Radio- ja checkboxlistojen labelit eivät ole kohdallaan. Tässä korjaus. Myös Firefox ja Chrome huomioitu. */
.poll-wrapper td { padding-bottom: 3px; }
.poll-wrapper td span.poll-choice { position: relative; }
.poll-wrapper td span.poll-choice label
{
	position: relative;
	top: -3px;
	margin-left: 5px;
}