﻿body
{
    background-color: #f0f4f7;
    background-image: url("/Content/Images/BodyBg2.jpg");
    background-repeat:no-repeat;
    font-size: 12px;
    font-family: Arial, Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: Black;
    text-align: center;    
}

.Wrapper
{
    width:1000px;
    min-height:600px;
    /*background-image: url("/Content/Images/01_etusivu.jpg");
    background-repeat:no-repeat; 
    background-color: White;*/
    margin: 0 auto;
    text-align: left;
}

.MainPic
{
     width: 1000px;
     height:205px;
}

.MainMenu
{
    height: 50px;
    width: 890px;
    /*background-image: url("/Content/Images/bgMainMenu.png");
    background-repeat:repeat-x;*/
    padding-right: 55px;
    padding-left: 55px;
    text-decoration: none;
}

.MenuItem
{
    height: 50px;
    float:left;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
}

.MenuItem:hover
{
    height: 110px;
    height:50px;
    float:left;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
}

.MenuItemSelected
{
    height: 50px;
    float:left;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
}

.MenuItemSelected span
{
    color: #f8ee50;
    font-family: Arial;
    text-decoration: underline;
    font-size: 12px;
}

.MenuItem span
{
    color: #fefefe;
    font-family: Arial;
    text-decoration: none !important;
    font-size: 12px;
}

.MenuItem span:hover
{
    color: #f8ee50;
    font-family: Arial;
    text-decoration: none !important;
    font-size: 12px;
}

#SubMenu
{
    margin-left: 55px;
    height: 40px;
}

.SubMenuItem, .SubMenuItemSelected
{
    float:left;
    cursor:pointer;
    font-weight: bold;
}

.SubMenuItem span
{
    color: #869504;
    text-decoration: none;
    /*margin-right: 20px;*/
    line-height: 40px;
    font-family: Arial;
    font-size: 12px;
}

 .SubMenuItem span:hover
{
    color: #869504;
    text-decoration: underline;
    /*margin-right: 20px;*/
    line-height: 40px;
}

.SubMenuItemSelected span
{
    color: #869504;
    text-decoration: underline;
    /*margin-right: 20px;*/
    line-height: 40px;
    font-size: 12px;
}

.WrapperContent
{
    /*min-height: 450px;*/
    width: 998px;
    background-color: #FFFFFF;
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-left: dotted 1px #a0a0a0;
    border-right: dotted 1px #a0a0a0;
}

.Banners
{
    width: 215px;
    border-right: 2px solid #ccefff;
    min-height: 460px;
    float: left;
}

.Banners img
{
    margin-right: 12px;
    cursor:pointer;
}

.Content
{
    width: 458px;
    float: left;
    margin-left: 30px;
    margin-right: 23px;
    padding-bottom: 20px;
    min-height: 200px;    
}

.NewsBlock
{
    width: 458px;
    border-bottom: 1px dotted #000000;
    padding-bottom: 15px;
}

.NewsBlock h1
{
   font-family: Arial;
    font-size: 17px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.NewsBlock p
{
    font-family: Arial;
    font-size: 12px;
    color: #000000;
    text-decoration: none;
}

.NewsBlock a
{
    font-family: Arial;
    font-size: 12px;
    color: #2696e1;
    text-decoration: none;
}

.NewsBlock a:hover
{
    text-decoration:underline;
    color: #2696e1;
}

.News
{
    width: 252px;
    margin-top: -42px;
    min-height: 200px;
    float: right;
    margin-bottom: 50px;
}

.NewsContent
{
    background-image: url("/Content/Images/bg_Center_Sis_Ajankohtaista.png");
    background-repeat: no-repeat;
    height: 432px;
    width: 222px;
    margin-top: -3px;
    overflow: hidden;
}

.NewsItem
{
    width: 165px;
    height: 45px;
    overflow: hidden;
    margin-left: 18px;
    margin-top: 14px;
}

.NewsItem h1
{
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
    margin: 0px;
}

.NewsItem a
{
    font-family: Arial;
    font-size: 12px;
    color: #000000;
    text-decoration: none;
}

.NewsItem a:hover
{
    text-decoration:underline;
    color: #000000;
}

/* FrontPage */

.FrontPageBanner
{
    width: 1000px;
    height: 156px;
}

.FrontPageBanner img
{
    float: left;
    cursor: pointer;
}

.FrontPageNews
{
    width: 988px;
    height: 234px;
    background-image: url("/Content/Images/FrontPage_NewsWrapperBg.png");
    background-repeat: no-repeat;
    margin-left: 10px;
    margin-bottom: 100px;
}

.FirstNews, .SecondNews, .ThirdNews
{
    width: 255px;
    height: 133px;
    float:left;
    overflow: hidden;
}

.FirstNews h1, .SecondNews h1, .ThirdNews h1
{
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    margin: 0px;
}

.FirstNews a, .SecondNews a, .ThirdNews a
{
    font-family: Arial;
    font-size: 12px;
    color: #000000;
    text-decoration: none;
}

.FirstNews a:hover, .SecondNews a:hover, .ThirdNews a:hover
{
    text-decoration:underline;
    color: #000000;
}

.FirstNews
{
    margin-left: 85px;
    margin-top: 70px;
}

.SecondNews
{
    margin-left: 35px;
    margin-top: 70px;
}

.ThirdNews
{
    margin-left: 75px;
    margin-top: 70px;
}

/* CONTROLS */
#Controls
{
    margin-top: 10px;
    height: 14px;
    float:left;
    margin-left: -10px;
}

#Controls a
{
    float:left;
    color: #72ab41;
    font-family: Arial;
    font-size: 12px;
    text-decoration: none;
    margin-right: 10px;
}

#Controls a:hover
{
    float:left;
    color: #72ab41;
    font-family: Arial;
    font-size: 12px;
    text-decoration: underline;    
}            

#Controls img
{
    float:left;
    margin-right: 10px;
    margin-left: 10px;
}

.BottomInfo
{
    margin-top: 10px;
    padding-top: 5px;
    border-top: dotted 1px #a0a0a0;
    padding-bottom: 5px;
    border-bottom: dotted 1px #a0a0a0;
    text-align: center;
}

.BottomInfo span
{
    font-family: Arial, Verdana;
    font-size: 11px;
    color: #8B8989;
}