/* Start of CMSMS style sheet 'Layout: Trimedia' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}
a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #739126;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #739126;
}
a:hover {
   text-decoration: none;
}

/*****************
basic layout 
*****************/
body {
   background-color: #fafafa; 
   color: #333;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 960px;
   background-color: #fafafa;;
   color: black;
}


/*** header ****/

div#header {
   height: 95px;    /* adjust according your image size */
   background: #fafafa;           
}

div#header h1 a {
   background: #fafafa url(uploads/layout/logo.png) no-repeat 0 20px; 
   display: block;
   height: 85px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   width: 160px;
}


div#content {
   background: url(uploads/layout/menu_bottom.png) no-repeat top left;
   padding: 15px 0 0 0;
}


div#main {
   margin: 15px 10px 0 10px;
   width: 480px;
   float: left;
}
div#main_wide {
   margin: 15px 10px 0 10px;
   width: 700px;
   float: left;
}
div#sidebar {
   width: 230px;
   float: right;
   padding-top: 50px;
}
div#sidebar h4 {
   margin: 5px 0;
   float:left;
}
div#sidebar h4 a {
   line-height: 1.5em;
}
div#footer_container {
	width: 100%;
	clear: both;
	background: #1C1B1A url(uploads/layout/footer_top_back.gif) repeat-x;
}
div#footer {
	width: 960px;
	margin: 0 auto;
	color: #1C1B1A;
	clear: both;
	text-align: left;
	padding: 10px 0 20px 0;
	margin-bottom: 0px;
	background: url(uploads/layout/footer_top.gif) no-repeat;
}
div#footer .footerboxes_1 {
	display: block;
	float: left;
	width: 450px;
	margin-right: 60px;
	margin-left: 0px;
	margin-top: 5px;
	color: #ccc;
}
div#footer .footerboxes_2 {
	display: block;
	float: left;
	width: 190px;
	margin-right: 30px;
	margin-left: 0px;
	margin-top: 5px;
	color: #ccc;
}
div#footer .footerboxes_3 {
	display: block;
	float: left;
	width: 210px;
	margin-right: 10px;
	margin-left: 0px;
	margin-top: 5px;
	color: #ccc;
}

div#footer a {
	color: #FFFFFF;
	text-decoration: underline;
}
div#footer b {
	color: #FFFFFF;
}
div#footer h4 {
   font-family: 'arial narrow';
   line-height: 1.2em;
   padding: 0 0 0px 0;
   margin: 0 0 15px 0;
   padding: 3px 0 0 0;
   border: none;
   text-transform: uppercase;
   font-size: 1.6em;
}
.call_us {
   font-size: 1.4em;
   font-weight: bold;
   color: #FFF;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 2px solid #ccc;
   margin: 0 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#main h2, div#main_wide h2 {
	font-size: 2.6em; 
	text-align: left; 
/* some air around the text */
	padding-bottom: 0px;
        line-height: 1.4em;
        margin: 0;
        background-color: transparent;
}
/*
div#content #main h3, div#content #main_wide h3 {
   line-height: 1.3em;
   margin: 0 0 15px 0;
   padding: 10px 0 0 0;
   border-top: solid 1px #ccc;
}
div#content h3 {
   line-height: 1.2em;
   margin: 3px 0 0px 0;
} */
div#main h4, div#main_wide h4 {
   color: #739126;
   font-size: 1.4em;
   line-height: 1.6em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content ul {
   margin: 10px 0 10px 20px;
}
div#content ul li {
   margin: 0 0 5px 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}
#main p, #main_wide p {
   font-size: 1.0em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   font-size: 1.4em;
   line-height: 1.4em;
   color: #739126;
   font-style: italic;
   margin: 0px 15px 0px 0;
   display: block;
   text-align: left;
   padding: 10px 0px 0px 0px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul, div#main_wide ul,
div#main ol, div#main_wide ol,
div#main dl, div#main_wide dl{
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li, div#main_wide ul li,
div#main ol li, div#main_wide ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt, div#main_wide dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd, div#main_wide dl dd {
   margin: 0 0 1em 1em;
}

div#main dl, div#main_wide dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}
div#main p.intro, div#main_wide p.intro {
   font-size: 1.1em;
   font-weight: bold;
   color: #333;
}
#in_short strong {
   font-style: italic;
   text-transform: uppercase;
}
#in_short strong.green {
   color: #739126;
}
#in_short strong.orange {
   color: #e59d02;
}
#in_short strong.blue {
   color: #3586b5;
}
#in_short strong.red {
   color: #990000;
}
p#in_short {
   padding: 10px 0 0 0;
   font-style: italic;
   font-size: 1.4em;
}

/* END LISTS */

/* Page blocks */

/* if 3 boxes per page */
div.block1_3, div.block2_3, div.block3_3 {
   float: left;
   display: inline;
   margin: 20px 9px 30px 9px;
   padding: 10px 15px 20px 15px;
/*   border: 1px solid #ccc; 
   background: #fafafa;
   border-bottom: 4px solid #ccc; */
}

div.block1_3 {
   width: 310px;
}

div.block2_3 {
   width: 250px;
   margin: 20px 9px 30px 9px;
}
div.block3_3 {
   width: 250px;
   margin: 20px 0px 30px 9px;
}

/* if 4 boxes per page */
div.block1_4, div.block2_4, div.block3_4, div.block4_4 {
   float: left;
   width: 190px;
   display: inline;
   margin: 20px 9px 30px 9px;
   padding: 10px 15px 10px 15px;
/*   border: 1px solid #ccc;
   background: #fafafa;
   border-bottom: 4px solid #ccc; */
}
div.block4_4 {
   float: left;
   width: 190px;
   display: inline;
   margin: 20px 0px 30px 9px;
   padding: 10px 15px 10px 15px;
/*   border: 1px solid #ccc;
   background: #fafafa;
   border-bottom: 4px solid #ccc; */
}

div#content .block h2 {
	color: #fff; 
	font-size: 1.0em; 
	text-align: left; 
	padding-bottom: 1px;
        line-height: 1.5em;
        margin: 0 0 0.5em 0;
}

div.block_sivu {
   float: right;
   width: 400px;
   display: inline;
   margin: 55px 10px 10px 10px;
   padding: 10px 15px 20px 15px;
/*   border: 1px solid #ccc; */
}

div.isolaatikko {
   background: #fff;
   width: 960px;
   height: 300px;
   border: 1px solid #ccc;
   border-top: none;
   border-bottom: 4px solid #ccc; 
}

div.isolaatikko #isolaatikko_left {
   width: 660px;
   float: left;
}

div.isolaatikko #isolaatikko_right {
   width: 290px;
   float: right;
}

.clear {
   clear: both;
}

.block_sivu ul li {
   margin: 0 0 7px 15px;
   line-height: 1.2em;
}

#loydettavyys.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0px 10px 0 10px;
   float: left;
   background: url(uploads/layout/palvelut-loydettavyys.png) no-repeat top left;
}
#loydettavyys.block h3, #kayttajakokemus.block h3, #tehokkuus.block h3, #jatkuva-kehitys.block h3 {
   height: 0px;
   width: 215px;
   padding: 125px 0 0 0;
   display: block;
   overflow: hidden;
}
#loydettavyys.block h3 a, #kayttajakokemus.block h3 a, #tehokkuus.block h3 a, #jatkuva-kehitys.block h3 a {
   padding: 235px 0 0 0;
}
#kayttajakokemus.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0 10px 0 10px;
   float: left;
   background: url(uploads/layout/palvelut-kayttajakokemus.png) no-repeat top left;
}
#tehokkuus.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0 10px 0 10px;
   float: left;
   background: url(uploads/layout/palvelut-tehokkuus.png) no-repeat top left;
}
#jatkuva-kehitys.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0 10px 0 10px;
   float: left;
   background: url(uploads/layout/palvelut-kehitys.png) no-repeat top left;
}
#loydettavyys3 {
   width: 420px;
}
#loydettavyys4 {
   display: none;
}
#oikea-block {
   float: left;
   height: 270px;
   margin: 60px 0 20px 20px;
}
#noticeability.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0px 10px 0 10px;
   float: left;
   background: url(uploads/layout/services-noticeability.jpg) no-repeat top left;
}
#noticeability.block h3, #userexperience.block h3, #efficiency.block h3, #continueddevelopment.block h3 {
   height: 0px;
   width: 215px;
   padding: 125px 0 0 0;
   display: block;
   overflow: hidden;
}
#noticeability.block h3 a, #userexperience.block h3 a, #efficiency.block h3 a, #continueddevelopment.block h3 a {
   padding: 235px 0 0 0;
}
#userexperience.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0 10px 0 10px;
   float: left;
   background: url(uploads/layout/services-userexperience.jpg) no-repeat top left;
}
#efficiency.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0 10px 0 10px;
   float: left;
   background: url(uploads/layout/services-efficiency.jpg) no-repeat top left;
}
#continueddevelopment.block {
   width: 215px;
   display: inline;
   margin: 0px 0px 0px 0px;
   padding: 0 10px 0 10px;
   float: left;
   background: url(uploads/layout/services-continueddev.jpg) no-repeat top left;
}

#services_rightblock.block {
   float: left;
   height: 270px;
   margin: 60px 0 20px 20px;
}
.block2_4 ol {
   margin: 0 0 0 20px;
}
/* Asiakkaat */
#asiakaslista {
   width: 960px;
   margin: 20px 0px;
 /*  background: url(uploads/images/scroll_placeholder.gif) #fff; */
   height: 85px;
   float: left;
}
div#content #asiakaslista ul {
   margin: 0;
}
div#content #asiakaslista ul li {
   margin: 0;
}
#asiakkaat1, #clients1 {
   width: 900px;
}
/* Scroll */



/* Formstuff */
.formwrap {
   float: left;
}
.formwrap label {
   float: left;
   width: 300px;
   margin: 10px 0 3px 0;
}
.formwrap input {
   float: left;
   width: 300px;
}
.formwrap textarea {
   float: left;
   width: 300px;
   height: 120px;
}
#contactform {
   background: url(uploads/images/layout/yhteydenottoform.png) no-repeat;
   width: 330px;
   height: 429px;
   padding: 30px 0 0 0;
}
#contactform .formwrap {
   width: 330px;
   padding: 0px 0 0px 20px;
}
#contactform .formwrap label {
   float: left;
   width: 300px;
   margin: 10px 0 10px 0;
   font-size: 1.2em;
}
#contactform .formwrap input {
   float: left;
   height: 30px;
   width: 300px;
   border: none;
   background: transparent;
   line-height: 2.4em;

}
#contactform textarea {
   float: left;
   width: 300px;
   height: 130px;
   border: none;
   background: transparent;
   line-height: 2.2em;
}
#contactform .submit {
   float: right;

}
.extranet {

}
.extranet label {
   float: left;
   width: 200px;
   margin: 10px 0 3px 0;
}
.extranet input {
   float: left;
   width: 200px;
}
.extranet textarea {
   float: left;
   width: 300px;
   height: 150px;
}
.submit input {
   margin: 10px 0 0 0;
   width: 100px;
}
.contactpersons {
   width: 150px;
   float: left;
   margin: 0 10px 0 0;
   font-size: 1.0em;
}
.contactpersons strong {
    display: block;
   font-size: 1.2em;
}
.yhteystietoform {
   width: 320px;
}
/* GOOGLE MAPS */

div#content #yhteystiedot1.block1_3 {
   padding: 0;
   width: 338px;
}

#map {
	width: 338px;
	height: 250px;
}
/*
#menubar a:focus {
   display:none;
} */
#menubar #link1 {
   display:none;
}
#menubar #link2 {
   background: url(uploads/images/indexscroll/indexbutton_1.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar #link3 {
   background: url(uploads/images/indexscroll/indexbutton_2.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar #link4 {
   background: url(uploads/images/indexscroll/indexbutton_3.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar #link5 {
   background: url(uploads/images/indexscroll/indexbutton_4.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
/*English*/
#menubar_en #link1 {
   display:none;
}

#menubar_en #link2 {
   background: url(uploads/images/indexscroll/indexbutton_1_en.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar_en #link3 {
   background: url(uploads/images/indexscroll/indexbutton_2_en.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar_en #link4 {
   background: url(uploads/images/indexscroll/indexbutton_3_en.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar_en #link5 {
   background: url(uploads/images/indexscroll/indexbutton_4_en.png) no-repeat top left;
   width: 290px;
   height: 0px;
   display: block;
   padding-top: 42px;
   overflow: hidden;
}
#menubar a:hover, #menubar_en a:hover {
   background-position: 0 -42px;
}
/*Green: #739126
Orange: #e59d02
Blue: #3586b5
Red: #990000
*/
#main h2, #main_wide h2 {
   font-family: trebuchet, 'arial narrow';
   font-size: 2.8em;
   text-transform: uppercase;
   font-weight: normal;
   letter-spacing:-1px;
}
.green {
   color: #739126;
}
.orange {
   color: #e59d02;
}
.blue {
   color: #3586b5;
}
.red {
   color: #990000;
}
h3 {
   color: #666;
   font-family: arial;
   font-size: 1.6em;
   line-height: 1em;
   padding: 0 0 10px 0;
   margin: 0 0 15px 0;
   padding: 10px 0 0 0;
   border-top: solid 1px #ccc;
}
div.block1_4 h3, div.block2_4 h3, div.block3_4 h3, div.block4_4 h3,div.block1_3 h3, div.block2_3 h3, div.block3_3 h3, div.block_sivu h3, .block h3 {
   font-family: 'arial narrow';
   line-height: 1em;
   padding: 0 0 10px 0;
   margin: 0 0 15px 0;
   padding: 3px 0 0 0;
   border: none;
   text-transform: uppercase;
}
/* palikoita */
#etusivu1 {
   background: url(uploads/images/layout/indeximp.png) no-repeat top left;
   border: none;
   height: 160px;
}

#frontpage1 {
   background: url(uploads/images/layout/indeximp.png) no-repeat top left;
   border: none;
   height: 200px;
}

/* Bubbles */
#bubble {
   background: url(uploads/images/bubble/bubble-top.png) no-repeat;
   width: 430px;
   padding: 21px 0 0 0;
}
#bubble-mid {
   background: url(uploads/images/bubble/bubble-mid.png) repeat-y;
   width: 400px;
   padding: 0 15px;
}

#bubble-bottom {
   background: url(uploads/images/bubble/bubble-bottom.png) no-repeat;
   width: 430px;
   height: 171px;
}
.yhteys {
   height: 0px;
   width: 215px;
   padding: 125px 0 0 0;
   display: block;
   overflow: hidden;
}
.yhteys a {
   padding: 235px 0 0 250px;
}

div#language {
   width: 80px;
   text-align: center;
   float: right;
   padding-top: 10px;
}
/* End of 'Layout: Trimedia' */

