/* Tekijä Mediakolmio Advertising. */

/* ========================================
============== yleiset =====================
========================================= */

* {font-size: 1em; font-family: "Triplex Cond", "Triplex Condensed", "Triplex", Triplex, Verdana, Helvetica, Arial, sans-serif; margin: 0; padding: 0; line-height: 1.4em; }

body {
	background: #022d47 url('images/bodytausta.gif') repeat-x top left;
	font-size: 76%;
	color: #404040;
	margin: 0; 
	padding: 0;
}

.clear {
	clear: both;		
}

a:link { color: #007dc6; text-decoration: none;}
a:visited { color: #007dc6; text-decoration: none;}
a:hover { color: #007dc6; text-decoration: underline;}

p {
	margin: 10px 40px 20px 45px;
}

p.huom {
	border: 3px solid #d7c9ad;
	padding: 10px;
	font-weight: bold;
	background-color: #e9e5d3;
}

h1 {
	font-size: 1.4em;
	font-weight: bold;
	color: #007dc6;
	text-transform: uppercase;
	margin: 30px 10px 10px 45px; /* top right bottom left */

}

h1 img {
	padding-bottom: 10px;
}

h2 {
	font-size: 1em;
	font-weight: bold;
	color: #000000;
	text-transform: uppercase;
	margin: 30px 10px 10px 45px; /* top right bottom left */
}
/* oikean reunan bannerit */
h3 {
	font-size: 1em;
	font-weight: bold;
	color: #007dc6;
	margin: 5px 30px 0px 45px; /* top right bottom left */
}

/* tyylit */

.raitavasen {
	background: url('images/vasenreuna.gif') repeat-y top right;
}
.raita {
	background: url('images/oikeareuna.gif') repeat-y top right;
}

.tyhjio {
	width: 71px;

}
.valikko a {
	padding:0;
	margin:0;

	
}

.vasen_reuna {
	width: 183px;
	background: #000000 url(images/menutausta.gif) repeat-x top left;
	padding-bottom: 30px;
	/* border: 1px solid green; */
}
.sisaltokilpailu {
	width: 440px;
	background: #f2f2f2;
	padding-bottom: 30px;
}
.sisalto {
	width: 440px;
	background: #f2f2f2 url(images/sisaltotausta.gif) repeat-y top left;
	padding-bottom: 30px;
}

.menu1 {
	margin-top: 30px;
	margin-left: 20px;
	margin-bottom: 0px;
	padding: 0;
}

.menu2, .menu3, .menu4, .menu5, .menu6, .menu7, .menu8, .menu9, .menu10 {
	margin-left: 20px;
	padding: 0;
	margin-bottom: 0px;
	margin-top: 0px;

}

.menuviiva { margin-top: 9px; margin-bottom: 9px; margin-left: 0px; padding: 0; line-height:0; font-size: 0;}
.menutaustaala {
		background: url(images/menualatausta.gif) no-repeat top left;
		height: 31px;
}
.sisaltoalatausta{
		background: url(images/sisalstoalatausta.gif) no-repeat top left;
		height: 31px;
}
.viivattaustaala{
		background: url(images/viivatalatausta.gif) no-repeat top left;
		height: 31px;
}



.mm {
	margin-left: 20px;
	margin-top: 20px;
	font-size: 0.8em;
}

.alabanneri {
	background: #71080d;
	padding: 20px;
	margin-left: 50px;
}

.bannerit_oikea {


}

.bannerit_oikea img {
	margin-top: 10px;
}

/* lisätyt 3.4. */

.sisakuva {
	float:left;
	margin: 5px 15px 5px 40px;
	border: 1px solid #8e001c;
}

.kiertue {
	margin: 5px 15px 5px 40px;
}
.sisatable {
	
		margin: 5px 15px 5px 0px;
	}

.sisatable td {
	margin-right: 20px;
	padding-right: 20px;
}
.sistable {
margin:0;
padding:0;
	
}
.eka, .toka, .kolmas {
	margin-right: 20px;
	padding-right: 30px;
	padding-top: 3px;
	padding-bottom: 3px;
}

.kolmas {
	padding-right: 10px;
}

.eka {
	padding-left: 10px;
}

.rivi1 {
	background: #d7c9ad;
}

.rivi2 {
	background: #e9e5d3;
}

b { font-weight: bold; }

.kysymys {
	font-weight: bold;
	margin: 15px 40px 5px 40px;
}

.vastaus {
	font-style: italic;
	margin: 5px 40px 15px 40px;
}	

/**/
.contentBox {
	padding: 0 30px 0 45px;

	
}
.contentBox h1{
	border-bottom: 1px solid #990000 !important;
}
.contentBox p{
	padding: 0;
	margin:0 0 10px 0;
	
}

.m3 {
	margin: 0 auto;
	width: 794px;	
	margin-top: 10px;
	text-align: right;
	font-size: 0.9em;
	color: #8c8b8d;
}

.m3 a:link { color: #8c8b8d; text-decoration: underline;}
.m3 a:visited { color: #8c8b8d; text-decoration: underline;}
.m3 a:hover { color: #8c8b8d; text-decoration: none;}


/* Accordion
----------------------------------*/
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
.ui-accordion li {display: inline;}
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: 4px 15px; background: #eaeaea;border-bottom: 1px solid #d0d0d0;}

.ui-accordion .ui-accordion-content {padding: 20px 40px 20px 45px; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
.ui-accordion .ui-accordion-content-active { display: block; }
.ui-accordion h4 {
margin:0 30px 0 35px;
	padding: 4px 10px;
	color: #007dc6;
	background: #e8e6e6;
	border-bottom: 1px solid #d0d0d0;
}
.ui-accordion .ui-accordion-content p {

	padding:0;
	margin:0 0 10px 0;
}



.tytot {
	margin-left: 40px;
	margin-top: 20px;	
	
}

.tytto {
	width:165px;
	border:4px solid #fff;
	margin-right: 10px;
	margin-bottom: 10px;
	height: 110px;
	float:left;	
}
.checkboxBox {

	margin: 0 0 3px 10px;	
}
.radiobox {
	width: 90px;
	float:left;	
	margin: 0 0 15px 0;
}
.formHeading {
	font-size: 1.2em;
	color: #007dc6;
	margin: 20px 40px 15px 0;
	border-bottom:1px solid #d0d0d0;
}
.formFooterInfo {
	width:350px;

		float:left;	
}
.formFooter {

		padding: 20px 40px 0 0;	

}
.tahti {
	display: block;
	float:left;
	padding: 0 7px 0 0;	
	color: #ca0d0c;
}
.radiobutton input{
padding: 4px 0 0 0;
	
}
.checkbox {
	float:left;	
	margin: 2px 5px 0 0;	
	
}
.error {
	padding: 10px 0 10px 40px;
	font-size: 1.4em;
	color: #ca0d0c;
}

.elseLabel input{
	width: 190px;	
	border:1px solid #d0d0d0;
}
.elseLabel {
	float:left;	
	padding: 0 10px 0 0;
	
}
.inputBox {
	
	margin: 0 0 5px 0;	
}
.inputLabel span{
		color: #ca0d0c;
	
}
.input select{
	width: 170px;	
}
.inputLabel {
	width: 120px;
	float: left;	
	
}
.input input{
		width: 170px;	
	border:1px solid #d0d0d0;	
}


.checkboxLabel {
		width: 130px;

}
.form {
	
	margin: 0 0 0 40px;	
}
.list {
	list-style-type: none;
	margin: 0 0 0 45px;

}
.otsikko {
	color: #007dc6;
	font-size: 1.0em;
	margin-bottom:5px;
	font-weight: bold;
	display:block;	
}
.kappale {
	
	
}
#fancy_wrap, #fancy_wrap img {z-index: 100 !important;}
/*--------------------------------------------------------------*/
/* Clearfix														*/
/*--------------------------------------------------------------*/
.clear {	
	clear:both;	
}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

