/* Start of CMSMS style sheet 'Module: News' */
div#main-right-column div#news, div#main-right-column div#weoffer, div#main-right-column div#offers {
background: #E8EFE0;
border-top: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
margin: 0 4px 0 7px;
padding: 5px 0 0 0;
}

div#main-right-column div#news h3, div#main-right-column div#weoffer h3, div#main-right-column div#offers h3 {
font-size: 1.2em;
margin: 2px 0 5px 0;
color: #14832B;
}

.NewsSummary {
    padding: 0.5em 0.5em 0; /* padding for the news article summary */
    margin: 0 0.5em 1em 0; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

div#main-right-column div#news .NewsSummary {
border: none !important;
}

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding: 0.2em 0 0.6em 0;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

/*
.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }
*/

.NewsSummaryMorelink {
/*   padding-top: 0.5em; */
}

#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   font-size: 1.2em;
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 5px;
  line-height: 150%;
}

#NewsPostDetailAuthor {
  padding-bottom: 1.5em;
  font-style: italic;
}

/* let's overwrite news styles for contentbox */

div.contentbox .NewsSummary {
    margin: 0 13px; /* padding for the news article summary */
    padding: 7px 0; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'Module: News' */

/* Start of CMSMS style sheet 'Navigation: FM navigation' */
#menu_vert {
padding-left: 0;
margin: 20px 0 20px 13px;
}

#menu_vert ul {
list-style: none;
background: #dcefda;
margin: 0;  
padding: 0;
}


#menu_vert a { 
background: transparent;
display: block;
text-decoration: none;
color: #333;
}

#menu_vert span#active-page a {
background: url('images/cms/arrow-right-active.gif') no-repeat 5px 10px; 
font-weight: bold;
color: #fff;
}

#menu_vert li a.activeparent  {
background: url('images/cms/arrow-down.gif') no-repeat 5px 10px; 
}


#menu_vert li a.activeparent:hover  {
color: #fff;
}

#menu_vert a:hover {
background: url('images/cms/arrow-right.gif') no-repeat 5px 10px; 
color: #fff;
}

#menu_vert ul li {
background: #E8EFE8 url('images/layout/fm_nav_closed.gif') repeat-x top left;
}

#menu_vert ul li:hover {
background: #E8EFE8 url('images/layout/fm_nav_hover.gif') repeat-x top left;
}

#menu_vert ul li.currentpage{
background: #E8EFE8 url('images/layout/fm_nav_open.gif') repeat-x top left;
border: 1px solid #EDEEEB;
}

#menu_vert li.activeparent{
background: #E8EFE8 url('images/layout/fm_nav_open.gif') repeat-x top left;
}

#menu_vert li.activeparent:hover {
background: #E8EFE8 url('images/layout/fm_nav_open.gif') repeat-x top left;
}


#menu_vert ul li a { 
padding: 8px 0 8px 18px;
margin: 0;
height: 12px;
}


/* TOISEN TASON VALIKOT */

#menu_vert ul ul li {
background: #dcefda;
padding: 2px 0;
}

#menu_vert ul ul li:hover {
background: #d3e9d0;
}

#menu_vert ul ul li.currentpage {
background: #cbe4c8;
}


#menu_vert ul ul a:hover {
background: url('images/cms/arrow-small-right.gif') no-repeat 1.2em center; 
color: #333;
}

#menu_vert ul ul span#active-page a {
background: url('images/cms/arrow.gif') no-repeat 1.2em center; 
color: #333;
}

#menu_vert ul ul {
padding: 0 0 5px 0;
}

#menu_vert ul ul li a {
padding: 2px 0 2px 28px;
height: 10px
}
/* End of 'Navigation: FM navigation' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Layout: Frontpage' */
/*** header ***/
/*** header ***/
div#header {
   background: url('images/layout/fm_header_2.gif') no-repeat top left;      
}

div#main-center-column {
   float:left;
   width: 330px;
   padding-right: 10px;
}

div#main-right-column {
   float:left;
   width: 210px;
}


div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 212px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   background: url('images/layout/fm_footer_2.gif') no-repeat bottom center;
}

div#pagewrapper {
   background: url('images/layout/fm_bottom_bg_2.gif') no-repeat bottom center;
}


/********************
CONTENT STYLING
*********************/
div#content {
   background: url('images/layout/fm_content_2.gif') repeat-y left;
}

div#main-right-column #news h3 {
   padding: 0 0 0 10px !important;
}

div#main-right-column #weoffer, div#main-right-column #offers {
   padding: 10px 0 0 10px !important;
}

div#main-right-column #news, div#main-right-column #weoffer, div#main-right-column #offers  {
margin: 0;
}

div#main-right-column #weoffer, div#main-right-column #weoffer p, div#main-right-column #offers, div#main-right-column #offers p {
text-align: left;
margin: 0 0 10px 7px;
}

div#main-right-column #offers {
margin-bottom: 15px !important;
}

div#main-right-column #offers a {
text-indent: 0;
font-weight: bold;
color: #E63122;
}

div#main-right-column #news .NewsSummary {
margin: 0 0 0 4px;
padding: 5px 0 5px 15px;
}

/* End of 'Layout: Frontpage' */

/* Start of CMSMS style sheet 'FormBuilderForm' */
div.formbuilderform{
margin: 0 0 10px 25px;
}

div.formbuilderform input,
div.formbuilderform select{
margin-bottom: 8px;
}

div.formbuilderform fieldset {
border: none;
padding: 0px 0 10px 0;
}

div.formbuilderform fieldset legend {
font-size: 1.3em;
font-weight: bold;
color: #294B5F;
padding: 15px 0 15px 0;
}

/*
   color: #294B5F;
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
*/

div.formbuilderform textarea {
width: 350px;
height: 200px;
}

div.formbuilderform div.formheader {
float: left;
width: 100px;
text-align: right;
padding: 3px 5px 0 0;
margin: 0 0 0 20px;
}

div.formbuilderform div.forminput {
float: left;
}

div.formbuilderform div.inline {
display: inline;
}

div.formbuilderform div.inline select{
width: 60px;
font-size: 0.9em;
}

/* End of 'FormBuilderForm' */

/* Start of CMSMS style sheet 'Layout: Common styles' */
* {
margin:0;
padding:0;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 62.5%;
   line-height: 1em;
padding: 0 0 50px 0;
   color: #252124;
}

img {
   border: 0;
}

div#header img#printlogo {
display: none !important;
}


/*
default link styles
*/
a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}

a:hover {
   text-decoration: none;
   color: #18507C;
}

/*****************
basic layout 
*****************/
body {
  background: #07567c url('images/layout/body_bg.gif') repeat-x top center;
   color: #474F45;
}

div#pagewrapper {
   margin: 0 auto;
   width: 789px;
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 170px;    /* header background - padding top */
   padding: 0;   

}

div#header h1 {
display: none;
}

/* position for the search box */
div#search {
   font-size: 90%;
/*   width: 23em;     enough width for the search input box */
   margin: 25px 0 0 20px;
}

div#search input.submit {
   width: 30px;
   font-size: 14px;
   border: 1px solid #535352;
   background: #77B183;
   cursor: pointer;
}

div#search input.submit:hover {
   border: 1px solid #BEBFBC;
}

.searchhilite {
background: #FFFF66;
}

div.breadcrumbs {
   text-align: right;
   padding: 1em 2em 0 0;
   font-size: 90%;
   color: #5F5959;
   background: url('images/layout/body_bg.gif') repeat-x top center;
}

div.breadcrumbs a {
color: #5F5959;
text-decoration: none;
background: none important!;
}

div.breadcrumbs a:hover {
color: #111;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

ndiv#content {
   margin: 1.5em auto 2em 0;   /* some air above and under menu and content */
}


div#main {
   font-size: 1em;
   line-height: 1.4em;
   margin-left: 230px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 0px; /* and some air on the right */
}

div.printbutton {
   float: right;
   margin: 0 25px 0 0;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 212px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   height: 20px;
}

div#copyright {
width: 800px;
margin: 0 auto 3em auto;
}

p.office {
float: left;
width: 180px;
font-size: 0.9em;
text-align: left;
color: #999;
}

p.roof {
width: 205px;
padding: 0 0 0 25px;
}

p.office strong {
font-size: 1.1em;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 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 {
   background-position: 8px;
   min-height: 350px;
   font-size: 1.1em;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
	font-family: Georgia, "Times New Roman", serif;
	color: #14832B; 
	font-size: 2.4em; 

	text-align: left; 
/* some air around the text */
	padding-left: 0em;
	padding-bottom: 1px;
/* set borders around header
	border-bottom: 1px solid #e7ab0b; 
	border-left: 1.1em solid #e7ab0b; */
        line-height: 1.5em;
/* and some air under the border 
        margin: 0 0 0.5em 0; */
}
div#content h3 {
   color: #294B5F;
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   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;
}
/* END HEADINGS */



/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
   text-align: left;
   color: #282F26;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}


/* NORMI TAULUMUOTOILU */ 

#main table {
margin: 0 0 10px 0;
}

#main table td {
}

/* HINNASTOTAULUT */

table.pricing {
font-size: 1em;
border-collapse: collapse;
margin: 0 0 15px 12px;
}

table.pricing tr, table.pricing th, table.pricing td {
}

table.pricing tr:hover {
background: #EFFCFF;
}

table.pricing th, table.pricing td {
vertical-align: top;
}

table.pricing th {
font-weight: normal;
padding: 1px 0 1px 3px;
width: 350px;
text-align: left;
}

table.pricing td {
padding: 1px 5px 1px 0;
width: 120px;
text-align: right;
}

/* 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 ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */



/* CONTENTBOXES */

div.contentbox {
width: 192px;
margin: 0 20px 15px 20px;
}

div.contentbox .box_top {
background: url('images/layout/c_box_top.gif') no-repeat top center;
height: 38px;
}

div#content div.contentbox div.box_top h2 {
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 1.3em;
font-style: normal;
color: #edeeeb;
padding: 7px 0 0 15px;
margin: 0;
}

div.contentbox .box_content {
background: url('images/layout/c_box_center.gif') repeat-y center;
padding: 10px;
}

div.contentbox .box_bottom {
background: url('images/layout/c_box_bottom.gif') no-repeat bottom center;
height: 18px;
}


/* END CONTENTBOXES */

div#sidebar #amadeus {
margin-top: 15px;
}

div#sidebar #amadeus a {
display: block;
text-align: center;
font-weight: bold;
width: 128px;
margin: 0 auto;
padding: 8px 6px;
text-decoration: none;
}

div#sidebar #amadeus a span {
font-weight: normal;
}


div#sidebar #eurooppalainen {
width: 120px;
margin: 5px auto 5px auto;
}

div#sidebar #ok-matka {
width: 73px;
margin: 2px auto;
}

div#sidebar #ok-matka a img, div#sidebar #eurooppalainen a img, div#sidebar #amadeus a {
border: 1px solid #EDEEEB;
}

div#sidebar #ok-matka a img:hover, div#sidebar #eurooppalainen a img:hover, div#sidebar #amadeus a:hover {
border: 1px solid #FFDD00;
background: #fff;
}


/**** YHTEISTYÖKUMPPANIT  POISTETTU

div#sidebar div#partners {
background: #E8EFE0;
border-top: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
margin: 22px 0 10px 13px;
padding: 5px 0 5px 9px;
}

div#sidebar div#partners h3{
font-size: 1em;
margin: 2px 0 15px 0;
color: #14832B;
}

div#sidebar div#partners img {
margin: 0 0 10px 0;
}
 ***/
/* End of 'Layout: Common styles' */

