/* cmsms stylesheet: HD modified: 12/13/19 10:13:13 */
@media only screen and (min-width: 1200px) {

div#tjdesign, #tjdesign a:link, #tjdesign a:visited, #tjdesign a:active {
        clear:both;
	position: relative; 
        text-decoration: none;
	width:100%;
	margin: 0px auto; 
        text-align:center;
	font-family: Calibri;
	font-size: 12px;
        color: #555;
}

a {
        font-family: Arial, serif;
   	font-size: 18px;
   	color: #b80000;
        text-decoration: none;
}


@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

#menu_mob { 
       display:none;
}


#mobmenuankkuri { 
       display:none;
}

#newscontainermob { 
       display:none;
}

body {
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
	background-image: url(../../images/back.png);
	background-repeat:no-repeat;
}

H1 {
       font-family: Arial, serif;
       font-size: 24px;
       font-weight: bold;
       color: #555555;
       letter-spacing: 2.0px;
}

#main {
	position:relative;
	top:30px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#top {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width:80%;
	top:0px;
}

#topleft {
	position:relative;
	float:left;
	width:70%;
	text-align: left;
	height:119px;
}

#topright {
	position:relative;
	float:right;
	width:25%;
	text-align: right;
	height:120px;

}

#lang {
	position:absolute;
	bottom:0px;
	right:0px;
}

#langmob {
	display:none;
}

#menucontainer {
	position:relative;
	clear:both;
	height:55px;
	line-height: 55px;
	background-image: url("../../images/back_menu.png");
}

#menu {
	position:relative;
	width:85%;
	margin-left: auto;
	margin-right: auto;
}

#middle {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width:80%;
	top:0px;
}

#middleleft {
	position:relative;
	float:left;
        top:15px;
	text-align:left;
        width:50%;
}

#middleright {
	position:relative;
        width:50%;
	float:left;
}

#slideshow {
	position:relative;
	margin-left: auto;
	margin-right: auto;
}

#newscontainer {
        margin-top:10px;
        text-shadow: 0 0 0 #000;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        font-size: 1vw;
        color: #ffffff;
        line-height: 1.2;
        letter-spacing: .25px;
}

#newscontainer a:link { 
        color: #ececec; 
        font-size: 1.3vw;
}


#newscontainer a:visited { color: #ececec;  font-size: 1.3vw;}
#newscontainer a:hover { color: #e0e0e0;  font-size: 1.3vw;}
#newscontainer a:active { color: #ffffff;  font-size: 1.3vw;}


#contentcontainer {
	position:relative;
	clear:both;
	margin-left: auto;
	margin-right: auto;
	width:100%;
	top:-5px;
	text-align: left;
	background-image: url(../../images/contentback.png);
	background-repeat:no-repeat;
        min-height:300px;
}

#content {
	position:relative;
	margin-left: auto;
	margin-right: auto;
        top:20px;
        width:80%;
        text-shadow: 0 0 0 #000;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        font-size: 20px;
        color: #555555;
        line-height: 1.2;
        letter-spacing: .25px;
}

#content img {
	max-width: 100%;
	height: auto;
}

#laatikot {
	position:relative;
	width:100%;
	top:0px; 
}

#laatikkocontainer {
	position:relative;
        top:0px;
	width:100%;
        margin: 0 auto; 
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
}

#laatikko1 {
	width:30%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}

#laatikko2 {
	width:30%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}

#laatikko3 {
	width:30%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}

#bottom {
	position:relative;
	margin-left: auto;
	margin-right: auto;
        top:20px;
}

}
/* cmsms stylesheet: HD_menu modified: 11/28/19 11:57:02 */
@media only screen and (min-width: 1200px) {


#primary-nav .unli {
display:none;
}

#primary-nav
{
margin: 0;
text-align: left;

}

#primary-nav ul, #primary-nav li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

#primary-nav a:link, #primary-nav a:visited
{
font-size: 1.1vw;
font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
margin: 0 10px 0px 10px;
text-decoration: none;
color: #b00015;
}

#primary-nav a:link#current, #primary-nav a:visited#current, #primary-nav a:hover
{
background: transparent;
}

#primary-nav a:hover 
{ 
color: #858585; 
}



}
/* cmsms stylesheet: BXSlider modified: 06/10/16 20:06:01 */
/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto 0px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
        width:100%;

}

ul.bxslider {
  margin: 0;
  padding: 0;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
	left: 0px;
	/*fix other elements on the page moving (on Chrome)*/
	-webkit-transform: translatez(0);
	-moz-transform: translatez(0);
    	-ms-transform: translatez(0);
    	-o-transform: translatez(0);
    	transform: translatez(0);
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
	position: absolute;
	bottom: -30px;
	width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(../../images/bx_loader.gif) center center no-repeat #fff;
	height: 95%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 0px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #FFF;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(../../images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(../../images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
	text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 11px;
	outline: 0;
	background: url(../../images/controls.png) -86px -11px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
	background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
	display: block;
	text-indent: -9999px;
	width: 9px;
	height: 11px;
	outline: 0;
	background: url(../../images/controls.png) -86px -44px no-repeat;
	margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
	background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
	text-align: left;
	width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	right: 0;
	width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #666\9;
	background: rgba(80, 80, 80, 0.75);
	width: 100%;
}

.bx-wrapper .bx-caption span {
	color: #fff;
	font-family: Arial;
	display: block;
	font-size: .95em;
height:40px;
	padding: 5px;
}
/* cmsms stylesheet: MOB modified: 12/13/19 10:17:28 */
@media only screen and (max-width: 799px) {

div#tjdesign, #tjdesign a:link, #tjdesign a:visited, #tjdesign a:active {
        clear:both;
	position: relative; 
        text-decoration: none;
	width:100%;
	margin: 0px auto; 
        text-align:center;
	font-family: Calibri;
	font-size: 12px;
        color: #555;
}

a {
        font-family: Arial, serif;
   	font-size: 18px;
   	color: #b80000;
        text-decoration: none;
}

@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

body {
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
	background-image: url(../../images/back_mob.png);
	background-repeat:no-repeat;
}

H1 {
       font-family: Arial, serif;
       font-size: 24px;
       font-weight: bold;
       color: #555555;
       letter-spacing: 2.0px;
}

#main {
	position:relative;
	top:30px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#top {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width:100%;
	top:0px;
}

#topleft {
	position:relative;
	width:100%;
	margin-left: auto;
	margin-right: auto;
}

#topright {
	position:relative;
	width:100%;
	margin-left: auto;
	margin-right: auto;
}

img.logo { 
	max-width: 90%; 
	min-width: 90%;
        border-style: none; 
}

#lang {
display:none;
}

#langmob {
width:100%;
}


#menucontainer {
display:none;
}

#newscontainermob {
        background-color: #dbdbdb;
        text-shadow: 0 0 0 #000;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        font-size: 13px;
        color: #555555;
        line-height: 1.2;
        letter-spacing: .25px;
}

#menu {
	position:relative;
	width:80%;
	margin-left: auto;
	margin-right: auto;
}

#middle {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width:100%;
	top:0px;
}

#middleleft {
display:none;
}

#middleright {
	position:relative;
        width:100%;
}

#slideshow {
	position:relative;
	margin-left: auto;
	margin-right: auto;
}

#content {
	position:relative;
	clear:both;
	margin-left: auto;
	margin-right: auto;
	width:95%;
	top:0px;
	text-align: left;
        text-shadow: 0 0 0 #000;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        font-size: 20px;
        color: #555555;
        line-height: 1.2;
        letter-spacing: .25px;
}

#content img {
	max-width: 100%;
	height: auto;
}



}
/* cmsms stylesheet: MOB_menu modified: 04/06/16 11:11:55 */
@media only screen and (max-width: 799px) {

div.menuwrappermob { 
width: 100%; 
}

div.menuwrappermob ul {
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
letter-spacing:3px;
font-weight:bold;
font-size:18px;
}

div.menuwrappermob a {
display: block;
padding: 7px;
width: auto;
background: url(../../images/mobmenubg.jpg);
background-color: #3f89b8;
border-bottom: 1px solid #eee;
}

div.menuwrappermob a:link {
color: #EEE;
text-decoration: none;
}

div.menuwrappermob a:visited {
color: #EEE;
text-decoration: none;
}


div.menuwrappermob a:hover {
background-color: lightgray;
color: #fff;
} 




}
/* cmsms stylesheet: SD modified: 12/13/19 10:15:18 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {

div#tjdesign, #tjdesign a:link, #tjdesign a:visited, #tjdesign a:active {
        clear:both;
	position: relative; 
        text-decoration: none;
	width:100%;
	margin: 0px auto; 
        text-align:center;
	font-family: Calibri;
	font-size: 12px;
        color: #555;
}

a {
        font-family: Arial, serif;
   	font-size: 18px;
   	color: #b80000;
        text-decoration: none;
}

@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);

#menu_mob { 
       display:none;
}


#mobmenuankkuri { 
       display:none;
}

#newscontainermob { 
       display:none;
}

body {
	text-align:center; /* for IE */  
	margin:0px auto; /* for the rest */	
	background-image: url(../../images/back.png);
	background-repeat:no-repeat;
}

H1 {
       font-family: Arial, serif;
       font-size: 24px;
       font-weight: bold;
       color: #555555;
       letter-spacing: 2.0px;
}

#main {
	position:relative;
	top:30px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#top {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width:95%;
	top:0px;
}

#topleft {
	position:relative;
	float:left;
	width:70%;
	text-align: left;
	height:119px;
}

#topright {
	position:relative;
	float:right;
	width:25%;
	text-align: right;
	height:119px;

}

#lang {
	position:absolute;
	bottom:0px;
	right:0px;
}

#langmob {
	display:none;
}

#menucontainer {
	position:relative;
	clear:both;
	height:55px;
	line-height: 55px;
	background-image: url("../../images/back_menu.png");
}

#menu {
	position:relative;
	width:100%;
	margin-left: auto;
	margin-right: auto;
}

#middle {
	position:relative;
	margin-left: auto;
	margin-right: auto;
	width:95%;
	top:0px;
}

#middleleft {
	position:relative;
	float:left;
        top:10px;
	text-align:left;
        width:50%;
}

#middleright {
	position:relative;
        width:50%;
	float:left;
}

#slideshow {
	position:relative;
	margin-left: auto;
	margin-right: auto;
}

#newscontainer {
        margin-top:10px;
        text-shadow: 0 0 0 #000;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        font-size: 1.3vw;
        color: #ffffff;
        line-height: 1.2;
        letter-spacing: .25px;
}

#newscontainer a:link { 
        color: #ececec; 
        font-size: 1.5vw;
}


#newscontainer a:visited { color: #ececec;  font-size: 1.5vw;}
#newscontainer a:hover { color: #e0e0e0;  font-size: 1.5vw;}
#newscontainer a:active { color: #ffffff;  font-size: 1.5vw;}




#contentcontainer {
	position:relative;
	clear:both;
	margin-left: auto;
	margin-right: auto;
	width:100%;
	top:-30px;
	text-align: left;
	background-image: url(../../images/contentback.png);
	background-repeat:no-repeat;
        min-height:300px;
}


#content {
	position:relative;
	margin-left: auto;
	margin-right: auto;
        top:20px;
        width:95%;
        text-shadow: 0 0 0 #000;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
        font-size: 20px;
        color: #555555;
        line-height: 1.2;
        letter-spacing: .25px;
}


#content img {
	max-width: 100%;
	height: auto;
}

#laatikot {
	position:relative;
	width:100%;
	top:0px; 
}

#laatikkocontainer {
	position:relative;
        top:10px;
	width:95%;
        margin: 0 auto;
        font-family: "Source Sans Pro",Arial,Helvetica,sans-serif; 
}

#laatikko1 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
}

#laatikko2 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
}

#laatikko3 {
	width:100%;
	margin-left: 1%;
	margin-right: 1%;
}

#bottom {
	position:relative;
	margin-left: auto;
	margin-right: auto;
        top:20px;
}



}
/* cmsms stylesheet: SD_menu modified: 11/28/19 11:57:12 */
@media only screen and (max-width: 1199px) and (min-width: 800px) {
#primary-nav .unli {
display:none;
}

#primary-nav
{
margin: 0;
text-align: left;

}

#primary-nav ul, #primary-nav li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

#primary-nav a:link, #primary-nav a:visited
{
font-size: 1.1vw;
font-family: "Source Sans Pro",Arial,Helvetica,sans-serif;
margin: 0 5px 0px 10px;
text-decoration: none;
color: #b00015;
}

#primary-nav a:link#current, #primary-nav a:visited#current, #primary-nav a:hover
{
background: transparent;
}

#primary-nav a:hover 
{ 
color: #858585; 
}




}
