/* =Template-tyylit
-----------------------------------------------------------------------------*/

/* --- Etusivu - Bannerin tekstilaatikko --- */

.ContentTemplate-BannerTextBox
{
	position: absolute;
	top: 40px;
	right: 20px;
	bottom: 40px;
	left: 360px;
	padding: 10px 20px 10px 20px;
}

.ContentTemplate-BannerTextBox *
{
	color: #fff !important;
}

.ContentTemplate-BannerTextBox a
{
	text-decoration: underline !important;
}

.ContentTemplate-BannerTextBox .bannerbox-opaclayer
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	z-index: 0;
	filter: alpha(opacity=70);
	opacity: 0.7;
}

.ContentTemplate-BannerTextBox .bannerbox-textlayer
{
	position: absolute;
	z-index: 1;
}

/* --- Etusivu - Verkkotuotteet --- */

.ContentTemplate-EProductBox
{
	width: 230px;
	overflow: hidden;
}

.ContentTemplate-EProductBox img
{
	display: block;
	width: 100%;
}

.ContentTemplate-EProductBox h2
{
}

.ContentTemplate-EProductBox p
{
	margin-bottom: 0;
}

/* --- Etusivu - Lehdet - Lehti --- */

.ContentTemplate-MagazineBox
{
	position: relative;
	width: 216px;
	padding: 7px;
	background: #efefef;
	overflow: hidden;
}

.ContentTemplate-MagazineBox h1
{
}

.ContentTemplate-MagazineBox p
{
	width: 110px;
}

.ContentTemplate-MagazineBox img
{
	position: absolute;
	right: 7px;
	top: 45px;
}

/* --- E-kirjat - E-kirja --- */

.ContentTemplate-EBookBox
{
	width: 230px;
	overflow: hidden;
}

.ContentTemplate-EBookBox img
{
	display: block;
	width: 100%;
}

.ContentTemplate-EBookBox h2
{
	margin-top: 10px;
	margin-bottom: 10px;
}

.ContentTemplate-EBookBox p
{
	margin-bottom: 0;
}


/* --- Kirjoittajat - kirjoittaja --- */

.ContentTemplate-Author img
{
	float: left;
	width: 120px;
	min-height: 120px;
	background: #fff;
	margin-right: 20px;
	margin-bottom: 5px;
}

.ContentTemplate-Author div
{
}

.ContentTemplate-Author h2
{
	margin-top: 0 !important;
}

.ContentTemplate-Author h2 i
{
	font-size: 1rem;
	font-style: normal;
	font-weight: normal;
}

.ContentTemplate-Author h3
{
	clear: both;	
}

/* taulukko ei suoraan näy kirjailijasivulla, vaan sen dataa käytetään uusien elementtien luonnissa */

.ContentTemplate-Author table
{
	width: 100%;
	background: #EFEFEF;
	padding: 10px;
}

.ContentTemplate-Author table td
{
	vertical-align: top;
}

.ContentTemplate-Author table td span
{
	display: block;
	padding-bottom: 20px;
	padding-right: 20px;
}

.ContentTemplate-Author table td span:empty
{
	display: none;
}


/* --- Ajankohtaista - Uutinen --- */


.ContentTemplate-News span.date
{
	color: #777;
	font-style: italic;
}

.ContentTemplate-News h2
{
	margin-top: 0 !important;
}

.ContentTemplate-News p.introduction
{
	font-size: 1.3rem;
}

.ContentTemplate-News img
{
	margin: 40px 0;
}

.ContentTemplate-News p.body
{
}

.ContentTemplate-News div.links a
{
	display: block;
	padding-top: 5px;	
}
/* =SmartTag
-----------------------------------------------------------------------------*/

/*
	CustomTag:
	Sisältöeditorissa ja webbisaitin previkassa ei voida rendata smart tagejä, joten ne
	näytetään erikoisina input-kontrolleina. Tässä on näiden input:ien tyyli.

*/

.CustomTag
{
	display: block;
	width: 100%;
	height: 20px;
	margin: 2px 0px;
	color: #333;
	border: solid 1px #A8DBF4;
	background: #E0F3FF;
	text-align: left;
}/* =Sisällön tyylit
-----------------------------------------------------------------------------*/

/* sivuston typografiaan liittyvät tyylit voi siirtää tänne, jos halutaan, että sisältöeditorissa näyttää samalta kuin sivustolla */

/* --- StyleClass-valinnat sisältöeditorissa --- */
/*-- EI KÄYTÖSSÄ: Sisältöeditorissa tekstin tyylivalintalista, joka parhaillaan piilotettuna. Tyylit tänne. --*/
/*
.small { font-size: 9px; }
.ingress { color: #559eb8;}
*/