html
{
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.fckeditor_purkka
{
    z-index: 1;
}

body
{
    margin: 0px;
    padding: 0px;
    font: normal 12px Arial, Verdana;
    /*font: normal 13px Arial, Verdana;*/
    color: #000;
    width: 100%;
    height: 100%;
}

a,a:active,a:visited,a:hover{ color: #000; }

h1,h2,h3,h4,h5,h6,b,strong{ font-family: Arial, Verdana; }

.headingBar
{
    background: url(kuvat/otBg.png) left center;
    background-repeat: repeat-x;
    border-radius: 15px 15px 0px 0px;
    -moz-border-radius: 15px 15px 0px 0px;
    -webkit-border-radius: 15px 15px 0px 0px;
    padding: 5px 15px 2px 15px;
    background-color: #4082ab;
    border-bottom: solid 2px #fd7f00;
}
.headingBar h2{ color: #fff; font-size: 13px; line-height: 16px; }
.headingBarPad{ padding: 0px 0px 7px 0px; }

.body
{
    background: url(kuvat/tausta.jpg) top center;
    background-repeat: repeat-x;
    background-color: #bfc5c3 !important;
    color: #000;
}

.img{ border: none; }

h1
{
    font: bold 22px Arial, Verdana;
    color: #000;
    padding: 10px 0px 20px 0px;
    margin: 0px;
}

h2,h3,h4,h5,h6
{
    font: bold 12px Arial, Verdana;
    color: #000;
    padding: 0px;
    margin: 0px;
}

.relative
{
    position: relative;
}

.absolute
{
    position: absolute;
}

/** BOOTSTRAP MUOKKAUKSET --> **/

.alignRight{ text-align: right; }

.container-fluid{ margin: 0; padding: 0; }

.ylapalkki
{
    /*position: fixed;*/
    position: relative;
    height: 72px;
    margin: 0;
    padding: 0;
    background-image: url(kuvat/ylatausta.png);
    background-repeat: repeat-x;
    -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.ylapalkkiBg
{
    /*position: fixed;*/
    position: relative;
    height: 72px;
    margin: 0;
    padding: 0;
    background: url(kuvat/ylapalkkiLeft.jpg) top right;
    background-repeat: no-repeat;
}
.logo
{ 
    width: 200px; 
    height: 72px; 
    background-image: url(kuvat/ylapalkkiRight.jpg);
    background-repeat: no-repeat;
    cursor: pointer;
}

.alapalkki
{
    position: relative;
    height: 27%;
    min-height: 90px !important;
    background-color: #fff;
    border-top: solid 1px #bfc5c3;
    -webkit-box-shadow: 0px -2px 4px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px -2px 4px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px -2px 4px 1px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.borderShadow
{ 
    -webkit-box-shadow: -2px 0px 2px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: -2px 0px 2px 1px rgba(0, 0, 0, 0.1);
    box-shadow: -2px 0px 2px 1px rgba(0, 0, 0, 0.1);
}

.borderShadow2
{ 
    -webkit-box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.2);
}

.contentPad{ position: relative; padding: 10px 0px 10px 0px; }
.menuPad{ padding: 10px 10px 10px 15px; }
.contentPad2{ padding: 10px 20px 0px 0px; }

.hakuPad{ padding: 0px 10px 10px 10px; }
.searchBox{ width: 75%; height: 16px !important; }

.cLeft,.cLeft2{ float: left; width: 60%; }
.cLeft{ padding-top: 5px; }
.cLeft2{ width: 30%; padding: 5px 0px 10px 0px; }

.liukupalkki{ height: 18px; background-image: url(kuvat/liukupalkki.png); background-repeat: repeat-x; }

.blueishBg{ background-color: #bcd3e1; }

.whiteBg{ background-color: #fff; border-right: solid 2px #ff8201; }

.marginFix{ margin: 0px !important; }

.sPad{ padding: 20px 0px 20px 0px; text-align: center;  }
.sPad2{ padding: 20px 0px 20px 0px; text-align: center; font-size: 12px; }
.s6Pad{ padding: 0px 10px 25px 30px; line-height: 15px;  }
.s6Pad a,.s6Pad a:active,.s6Pad a:visited{ text-decoration: underline; }
.s6Pad div,.s6Pad img{ margin-left: -10px; }
.bottomPad{ padding: 10px 0px 20px 0px; }
.bottomPad table tr td{ padding: 0px 10px 0px 10px; }
.bottomPad table tr td img{ max-width: none; }

.col
{ 
    margin-bottom: -99999px !important;
    _margin-bottom: -0px !important;
    padding-bottom: 99999px !important; 
    _padding-bottom: 0px !important; 
    _float: left;
}
.fLeftFix{ _float: left; }
.col-wrap{ overflow: hidden !important; _overflow: visible !important; }
.minHeight{ overflow: hidden !important; }

.bgFix{ /*margin-bottom: -700px; padding-bottom: 700px;*/ }

.paikkakunnat
{
    position: absolute;
    width: 545px;
    right: 0px;
    bottom: 3px;
    height: 18px;
    text-align: right;
}
.paikkakunta{ float: right; line-height: 18px; padding: 0px 5px 0px 0px; }
.paikkakunta a,.paikkakunta a:hover,.paikkakunta a:active,.paikkakunta a:visited{ font-weight: bold; color: #000; }

/*sis&Auml;lt&Ouml;alue*/
.container
{ 
    /*width: 918px;*/
    text-align: left;
}

.containerPad{ position: relative; z-index: 1; }

.mwFix{ max-width: 1024px; }

.pillsLevel1{ padding: 0px 0px 0px 12px; border: solid 0px #000; }
.nav{ margin-bottom: 0px; }
.subMenuPad{ padding-top: 10px; }

.navbar-fixed-top .navbar-inner,
.navbar-static-top .navbar-inner
{  
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.nav-tabs > li > a,
.nav-pills > li > a {
    padding: 1px 4px 1px 0px;
    font-weight: bold;
    color: #000;
  /*line-height: 18px;*/
}

.pillsLevel1 .nav-tabs > li > a,
.pillsLevel1 .nav-pills > li > a { font-weight: normal; }

.nav-tabs > li > a:hover,
.nav-pills > li > a:hover,
.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th{ text-decoration: underline; background-color: #bcd3e1; }

.floatIcon{ float: left; padding-right: 3px; }
.nav-pills-Pad{ padding-right: 0px; }

.nav-pills > .active > a,
.nav-pills > .active > a:hover,
.nav-pills > .active > a:focus {
    color: #000;
    background-color: #bcd3e1;
    text-decoration: underline;
}

.active
{
    _background-color: #bcd3e1;
    *background-color: #bcd3e1;
}

/*ie-korjauksia...*/
@media (min-width: 100px)
{
    .contentPad{ position: relative; padding: 10px 0px 10px 0px; }
    .menuPad{ padding: 10px 10px 10px 15px; }
    .contentPad2{ padding: 10px 20px 0px 20px; _padding: 0px; }
    .sPad{ padding: 20px 0px 20px 0px; text-align: center;  }
    .sPad2{ padding: 20px 0px 20px 0px; text-align: center; font-size: 12px; }
    .s6Pad{ padding: 0px 10px 25px 20px; line-height: 15px;  }
    .s6Pad div,.s6Pad img{ margin-left: -10px; }
}

/*N&Auml;ytt&Ouml;koon mukaan s&Auml;&Auml;tyvi&Auml; asioita*/
@media (min-width:980px)
{
    /*valikko*/
    .navbar-inner
    {
        min-height: 55px;
        padding-right: 0px;
        padding-left: 0px;
        background-color: transparent;
        background-image: none;
        border: none;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        filter: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .navbar .nav > li > a
    {
        text-shadow: none;
        color: #fff;
        padding: 16px 13px 10px;
        font-size: 14px;
    }
    .navbar .nav > li > a:focus,
    .navbar .nav > li > a:hover
    {
        color: #fff;
        text-decoration: underline;
    }
    .navbar .nav > .active > a,
    .navbar .nav > .active > a:hover,
    .navbar .nav > .active > a:focus
    {
        color: #fff;
        text-decoration: underline;
        background-color: #bcd3e1;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    
    .navbar-inverse .navbar-inner
    {
        background-color: transparent;
        background-image: none;
        border: none;
        filter: none;
    }
    
}

@media (max-width: 979px)
{   
    /*valikko*/
    .navbar-inner
    {
        min-height: 55px;
        padding-right: 0px;
        padding-left: 0px;
        background-color: transparent;
        background-image: none;
        border: none;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        filter: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    .navbar .nav > .active > a,
    .navbar .nav > .active > a:hover,
    .navbar .nav > .active > a:focus
    {
        color: #fff;
        text-decoration: underline;
        background-color: #208830;
    }
    .navbar{ position: fixed; right: 20px; }
    #gmap{ width: 100%; }
    
    .navbar .nav
    { 
        background-color: #208830;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        padding: 10px;  
    }
    
    .navbar .nav > li > a, .navbar .nav
    .navbar .nav > li > a:focus,
    .navbar .nav > li > a:hover,
    .navbar .nav > .active > a,
    .navbar .nav > .active > a:hover,
    .navbar .nav > .active > a:focus,
    .nav-collapse .dropdown-menu li + li a,
    .nav-collapse .nav > li > a,
    .nav-collapse .dropdown-menu a 
    {
        color: #fff;
        text-shadow: none;
        background-color: #208830;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    .navbar .nav > li > a:hover,.navbar .nav > .active > a:hover{ background-color: #1d722a; }
    
    .containerPad{ padding: 0px 20px 0px 20px; }
    .alapalkki{ min-height: 50px; }
}

@media (max-width: 767px)
{
    .bottomPad table{ width: 90%; }
    .bottomPad table tr td img{ width: 90%; height: 90%; }
}

/** <-- BOOTSTRAP MUOKKAUKSET **/


.clearFloat { clear: both; }

.imgCropBg,.imgCropBg2
{
    position: relative;
    width: 108px;
    height: 68px;
    background-image: url(img/imgBorder.png);
    background-repeat: no-repeat !important;
}
.imgCropBg2{ background-image: url(img/imgBorder2.png); }
.imgCrop,.imgCrop2
{
    position: absolute;
    top: 4px;
    left: 4px;
    width: 100px;
    height: 60px;
    overflow: hidden;
    border: solid 0px #000;
}

.pagination
{
    width: 550px;
    text-align: center;
    border: solid 0px #000;
}

.mk_button_bg
{
    position:absolute;
    top: 0px;
    background-color: #ffffff;
    border: dashed 1px #000;
    padding: 2px;
    z-index: 3;
}

.mk_button_bg_v2
{
    position:absolute;
    top: 0px;
    left: -40px;
    background-color: #ffffff;
    border: dashed 1px #000;
    padding: 2px;
    z-index: 12000;
}

a.mk_button_link,a:visited.mk_button_link,a:active.mk_button_link
{
    font: bold 12px 'Trebuchet MS', Arial, Verdana !important;
    color: #000 !important;
    text-decoration:none;
}

a:hover.mk_button_link
{
    font: bold 12px 'Trebuchet MS', Arial, Verdana !important;
    color: #000 !important;
    text-decoration:underline;
}

a.mk_button_link_v2,a:visited.mk_button_link_v2,a:active.mk_button_link_v2
{
    font: bold 10px 'Trebuchet MS', Arial, Verdana !important;
    color: #000 !important;
    text-decoration:none;
}

a:hover.mk_button_link_v2
{
    font: bold 10px 'Trebuchet MS', Arial, Verdana !important;
    color: #000 !important;
    text-decoration:underline;
}

/*editori-alueen tyylit eri elementtien perusteella (erotellaan PAGE_TYPE -muuttujalla)*/
#editor_area2, #editor_area3, #editor_area4,
#editor_area5, #editor_area7, #editor_area8
{
    color: #000000;
    background-color: #ffffff;
    z-index: 1;
}

#editor_area9
{
    background-color: #fff;
    color: #8d8d8d;
    z-index: 1;
}
#editor_area10,#editor_area11,#editor_area12
{
    background-color: #fff;
    color: #000;
    z-index: 1;
}

#editor_area0, #editor_area1
{
    font-size: 12px;
    color: #000000;
    background-color: #ffffff;
    z-index: 1;
}
    
#editor_area6
{
    color: #000;
    background-color: #fff;
    z-index: 1;
}

#editor_area13
{
    color: #000;
    background-color: #fff;
    z-index: 1002;
    font-size: 13px;
}

#editor_area17 { font-size: 12px; color: #fff; background-color: #208830; }

.noBG{ background: none !important; }
.noBG2{ background-image: none !important; }
.noBorder{ border: none; }
.hidden{ display: none; }

.formField,.formField2{ border: solid 1px #a1a1a1; width: 200px; }
.formField2{ width: 337px; }