/* ----------------------------- Sisällön tyylit  ---------------------------------- */

a:link, a:visited {
color:#0f3a75;
text-decoration:none;
}

a:hover {
color:#000000;
text-decoration:none;
}

H1 { 			/* Sivujen otsikot */	
font-size: 120%;
font-weight:normal;
margin: 0px;
}

/* ----------------------------- Rakenteen tyylit  ---------------------------------- */

html {
height: 98%;
top: 0px;
bottom: 0px;
}

body { 															/* Sivuston tausta */
height: 98%;
top: 0px;
/*bottom: 0px;*/
/* Sivuston fonttityylit */
font-family:verdana,arial,helvetica,sans-serif;
font-size:20px;
color:#000000;
font-weight:normal;

margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:40px;

/*background-color:#f1f1f1;
background-image: url(../images/bg.jpg);
background-repeat: repeat-y;
background-position: center;*/
}

.contentbox1 { 															/* Sivuston osien tausta */
/*height: 100%;*/
top: 0px;
/*bottom: 0px;*/
/* Sivuston fonttityylit */
font-family:verdana,arial,helvetica,sans-serif;
font-size:16px;
color:black;
font-weight:normal;

margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:0px;

padding-top:30px;
padding-left:30px;
padding-right:30px;
padding-bottom:30px;

background-color:#e5e5e5;
/*background-image: url(../images/bg.jpg);
background-repeat: repeat-y;
background-position: center;*/
}

.contentbox2 { 															/* Sivuston osien tausta 2 */
/*height: 100%;*/
top: 0px;
/*bottom: 0px;*/
/* Sivuston fonttityylit */
font-family:verdana,arial,helvetica,sans-serif;
font-size:16px;
color:black;
font-weight:normal;

margin-top:0px;
margin-left:0px;
margin-right:0px;
margin-bottom:0px;

padding-top:30px;
padding-left:30px;
padding-right:30px;
padding-bottom:30px;

background-color:#cccccc;
/*background-image: url(../images/bg.jpg);
background-repeat: repeat-y;
background-position: center;*/
}


.bodytable { 											/* Koko sivuston alue yläpalkista alapalkkiin */
/*width: 780px;*/
height: 100%;
margin-top: 0px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
background-color:transparent;
}

.bgtable { 												/* Sivuston yläpalkki + sisältöalue */
background-color:#ffffff;
width: 100%;
height: 100%;
border: 0 solid #3B70B9;
border-top: 0px;
}

.toppic { 												/* Yläpalkki */
height:280px;
width: 100%;
background-color:#ffffff;

/*background-image: url(../images/toppic.jpg);*/
background-image: url(../images/toppictruck.png);
background-position: left center;
background-repeat:no-repeat;
background-size: cover;
}

/*@media only screen and (max-width: 768px) {*/
  /* For mobile phones: */
/*.toppic {
height:180px;
width: 100%;
background-color:#ffffff;
*/
/*background-image: url(../images/toppic.jpg);*/
/*background-image: url(../images/IMG_1test2.png);
background-position: center bottom;
background-repeat:no-repeat;
background-size: cover;
}*/

.mainbg {												/* Sisällön tausta */
padding-left:15px;
padding-right:10px;
padding-top: 10px;
padding-bottom: 10px;
background-color:#ffffff;
height: 330px;
}


.footerdiv { 											/* Alapalkki */
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 3px;
margin-top: 0px;
color:#000000;
font-size:13px;
font-weight:normal;
background-color:#ffffff;
border: solid 0px;
text-align: center;
}


.link a:link, .link a:visited {
font-size:13px;
color:#000000;
font-weight:normal;
text-decoration:none;
}

.link a:hover {
font-size:13px;
color:#0f3a75;
font-weight:normal;
text-decoration:none;
}

/* ----------------------------- Navigoinnin tyylit ---------------------------------- */

.navi a:link, .navi a:visited {
font-size:13px;
color:#000000;
font-weight:normal;
text-decoration:none;
}

.navi a:hover {
font-size:13px;
color:#0f3a75;
font-weight:normal;
text-decoration:none;
}


.lnavbg {   		 				     /* vasen 'palkki' */
/*width: 23%;*/
background-color:#FFFFFF;
color:#000000;
border-right: dotted 1px;
height: 100%;
}
.navi {
margin-top: 5px;
width: 80%;
/*height: 100%;*/
}


.navi td {
height:22px;
padding-left:10px;
padding-right:10px;
color:#000000;				      /* lnav-td:ssä olevien nav.nuolten väri */
background-color: #ffffff;
/*background-image: url(../images/lnavbg.jpg);*/
background-repeat: repeat-y; 
}

/* ----------------------------- Muut tyylit  ---------------------------------- */


.toppic, .contleft, .contright, .topnavbg, .footerdiv, .footertd, .topnav {     /* sivun reunat (border) */      
border-color: #3B70B9;
}


.borderpic {
border: solid 1px #3B70B9;
}

.borderlesspic {
border: 0;
}

.contentpic {
margin-top: 10px;
border: solid 1px #000000;
}


img.imagemail {
vertical-align: bottom;
}


/* ----------------------------- Lomakkeen tyylit  ---------------------------------- */

input, select, textarea {
font-family:verdana,arial,helvetica,sans-serif;
font-size:13px;
font-weight:normal;
color:#000000;
background-color:#ffffff;
border: solid 1px #c6dcfa;
}

.txtinput, .selekti {		         /* teksti-input, nimi, puh/email  */
width:250px;
height:20px;
}

.tarea  { 		                  /* viestin tekstialue */
width:95%;
height:120px;
}

.potikka  {		                 /* lähetä-painike  */
width:80px;
height:22px;
font-weight:bold;
color:#000000;
background-color:#c6dcfa;
}

.panel_holder{
    width:80%;
}

.left_panel{
   float:left; 
}

.right_panel{
    float: right;
}