

/** general styles **/
body {
    margin-left: auto;
    margin-right: auto;
    min-height: 1000px;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.53em;
    padding: 0px;
    margin: 0px;
    color: #000; /*#231f20*/
}

div {color: #000; /*#231f20;*/}

.row {
    /*
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
        */
    margin-bottom: 30px;
}

.row.equal {
    display: flex;
    flex-wrap: wrap; 
}

@media (max-width: 767px) {
    .row.equal {
        display: block;
    }

}

a
{
    color: #2E49B0;
    text-decoration: none;
}

a:hover,
#content_area a:hover,
#subnav a:hover
{
    text-decoration: underline;
    color:#2E49B0;
}

img {
    max-width: 100%; 
    height: auto;
    
}

hr {
    border-top: 7px solid #EEF8F9 !important;
}

/* headings */
h1 
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    font-weight: 600; 
    font-size: 40px;
    line-height: 1.04em;
}
h2 
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    font-weight: 600; 
    font-size: 30px;
    line-height: 1.06em;
}
h3 
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    font-weight: 600;  
    font-size: 24px;
    line-height: 1.28em;
}

h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.48em;
}

h5 {
    font-family: 'Open Sans', sans-serif;
}

h6 {
    font-family: 'Open Sans', sans-serif;
}

h1.tiili
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 

    color: rgb(176, 39, 18) !Important;
}

h2.tiili
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    color: rgb(176, 39, 18) !Important;
}

h3.tiili
{
    font-family: 'Open Sans', sans-serif; 
    font-style: normal; 
    color: rgb(176, 39, 18) !Important;
}

h1.turkoosi
{
    font-family: 'Open Sans', sans-serif; 
    font-style: normal; 
    color: rgb(0, 95, 102);
}

h2.turkoosi
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    color: rgb(0, 95, 102);
}

h3.turkoosi
{
    font-family: 'Open Sans', sans-serif;
    font-style: normal; 
    color: rgb(0, 95, 102);
}

/**Kaupungin museo**/

h1.kaupunginmuseo_musta
{
    color: #000000 !important;
    font-size:32pt;
    font-family: UniSansSemiBold;
    text-transform: uppercase;
}

h2.kaupunginmuseo_musta
{
    color: #000000 !important;
    font-size:32pt;
    font-family:UniSansBook; 
}

h3.kaupunginmuseo_musta
{
    color: #000000 !important;
    font-size:24pt;
    font-family:UniSansBook; 
}
h4.kaupunginmuseo_musta
{
    color: #000000 !important;
    font-size:16pt;
    font-family: UniSansSemiBold;
}
h5.kaupunginmuseo_musta
{
    color: #000000 !important;
    font-size:60pt;
    font-family:UniSansBook;
}
h6.kaupunginmuseo_musta
{
    color: #000000 !important;
    font-size:48pt;
    font-family:UniSansBook;
}


h1.kaupunginmuseo_oranssi
{
    color: #e10000!important;
    font-size:32pt;
    font-family: UniSansSemiBold;
}

h2.kaupunginmuseo_oranssi
{
    color: #e10000 !important;
    font-size:32pt;
    font-family:UniSansBook;
}

h3.kaupunginmuseo_oranssi
{
    color: #e10000 !important;
    font-size:24pt;
    font-family:UniSansBook;
}
h4.kaupunginmuseo_oranssi
{
    color: #e10000 !important;
    font-size:16pt;
    font-family: UniSansSemiBold;
}
h5.kaupunginmuseo_oranssi
{
    color: #e10000 !important;
    font-size:60pt;
    font-family:UniSansBook;
}
h6.kaupunginmuseo_oranssi
{
    color: #e10000 !important;
    font-size:48pt;
    font-family:UniSansBook;
}


/**Taidemuseo**/
h1.taidemuseo_musta
{
    color: #000000 !important;
    font-size:32pt;
    font-family: UniSansSemiBold;
}
h2.taidemuseo_musta
{
    color: #000000 !important;
    font-size:32pt;
    font-family:UniSansBook;
}
h3.taidemuseo_musta
{
    color: #000000 !important;
    font-size:24pt;
    font-family:UniSansBook;
}
h4.taidemuseo_musta
{
    color: #000000 !important;
    font-size:18pt;
    font-family: UniSansSemiBold;
}
h5.taidemuseo_musta
{
    color: #000000 !important;
    font-size:60pt;
    font-family:UniSansBook;
}
h6.taidemuseo_musta
{
    color: #000000 !important;
    font-size:48pt;
    font-family:UniSansBook;
}


/**Perhehoitoyksikkö Pihlaja**/

h1.pihlaja_punainen
{
    color: #B22230 !important;
    font-size:18pt;
    font-family: 'Trebuchet MS';
}
h2.pihlaja_punainen
{
    color: #B22230 !important;
    font-size:16pt;
    font-family:'Trebuchet MS';
}
h3.pihlaja_punainen
{
    color: #B22230 !important;
    font-size:14pt;
    font-family:'Trebuchet MS';
}


h1.pihlaja_vihrea
{
    color: #7E9640 !important;
    font-size:18pt;
    font-family: 'Trebuchet MS';
}
h2.pihlaja_vihrea
{
    color: #7E9640 !important;
    font-size:16pt;
    font-family:'Trebuchet MS';
}
h3.pihlaja_vihrea
{
    color: #7E9640 !important;
    font-size:14pt;
    font-family:'Trebuchet MS';
}


h1.pihlaja_harmaa
{
    color: #7F604C !important;
    font-size:18pt;
    font-family: 'Trebuchet MS';
}
h2.pihlaja_harmaa
{
    color: #7F604C !important;
    font-size:16pt;
    font-family:'Trebuchet MS';
}
h3.pihlaja_harmaa
{
    color: #7F604C !important;
    font-size:14pt;
    font-family:'Trebuchet MS';
}


h1.pihlaja_vaaleavihrea
{
    color: #A3BA2A !important;
    font-size:18pt;
    font-family: 'Trebuchet MS';
}
h2.pihlaja_vaaleavihrea
{
    color: #A3BA2A !important;
    font-size:16pt;
    font-family:'Trebuchet MS';
}
h3.pihlaja_vaaleavihrea
{
    color: #A3BA2A !important;
    font-size:14pt;
    font-family:'Trebuchet MS';
}

h1.lukiot_oranssi {
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    color: rgb(223, 52, 0) !Important;
}

h2.lukiot_oranssi {
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: rgb(223, 52, 0) !Important;
}

h3.lukiot_oranssi {
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    color: rgb(223, 52, 0) !Important;
}


h1.lukiot_ruskea {
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    color: rgb(102, 32, 0) !Important;
}

h2.lukiot_ruskea {
    font-family: Arial;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: rgb(102, 32, 0) !Important;
}

h3.lukiot_ruskea {
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    color: rgb(102, 32, 0) !Important;
}



h1 a 
{
    background-color:transparent !important;
}

h2 a 
{
    background-color:transparent !important;
}

h3 a 
{
    background-color:transparent !important;
}


.kursiivi {
    font-style:italic;
}

.redtext {
    color: #e10000;
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
        line-height: 1.53em;
    }
    
    h1 {
        font-size: 26px; 
        line-height: 1.04em; 
    }

    h2 {
        font-size: 20px;
        line-height: 1.23em;
    }

    h3 {
        font-size: 19px; 
        line-height: 1.28em;
    }
}

/*
.innerpagecontent p img 
{
    margin: 0 5px 0 5px;
    padding:2px;
}
*/

.oikeaMarginaali img
{
    margin-right: 15px;
}
.vasenMarginaali img
{
    margin-left: 15px;
}
/* lists */
.container ul  {
	/**margin-left:22px;**/
	/*padding-left:0px;*/
}

.container ul li 
{
    /*background:url(images/list_bullet_disc.png) left 12px no-repeat;
    padding-left:10px;
    line-height: 18px;
    padding-top:5px;*/
   
}

.container ul ul  {
	margin-left:10px;
}

.container ul ul li 
{
    /*background:url(images/list_bullet_circle.png)  left 13px no-repeat;*/
}

.container ol {
    margin-left:0px;
    counter-reset: item;
    padding-left:0px; 
}

.container ol li  
{
    display: block;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 18px;
    padding-top:5px;
    
}
.container ol li:before  {
       content: counter(item) ". "; 
       counter-increment: item;
       color: black;   
 }

.innerpagecontent  ul
{
    list-style-type:disc;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
    padding-left: 40px;
}

.innerpagecontent  ol
{
    list-style-type:decimal;
    margin-left:0px;
    counter-reset: item;
    padding-left:0px; 
}

.innerpagecontent ol li  
{
    display: block;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 37px;   
    padding-left: 37px;
}
.innerpagecontent ol li:before  
{
    content: counter(item) ". "; 
    counter-increment: item;
    color: black; 
 }
 
 /* blockquotes */
.blockquote_blue {
     border-left:solid 5px #a2daf4;
     padding-left:20px;
     margin:8px 0 8px 0;
     font-size:18px;
     font-family: arial; 
     font-style: normal; 
     font-weight: normal;   
     line-height:1.3 !important;
     display:block;  
     color:#333333;
}
.blockquote_blue_long 
{
     border-left:solid 5px #a2daf4;
     padding-left:20px;
     margin:12px 0 12px 0; 
     display:block; 
     line-height:1.7 !important;
}
.blockquote_green {
     border-left:solid 5px #b0ca34;
     padding-left:20px;
     margin:8px 0 8px 0;
     font-size:18px;
     font-family: arial; 
     font-style: normal; 
     font-weight: normal; 
     line-height:1.3 !important;
     display:block;    
     color:#333333;
}
.blockquote_green_long 
{
     border-left:solid 5px #b0ca34;
     padding-left:20px;
     margin:12px 0 12px 0; 
     display:block; 
     line-height:1.7 !important;
}
.blockquote_pink {
     border-left:solid 5px #b6006c;
     padding-left:20px;
     margin:8px 0 8px 0;
     font-size:18px;
     font-family: arial; 
     font-style: normal; 
     font-weight: normal; 
      line-height:1.3 !important;
     display:block;    
     color:#333333;
}
.blockquote_pink_long 
{
     border-left:solid 5px #b6006c;
     padding-left:20px;
     margin:12px 0 12px 0; 
     display:block; 
     line-height:1.7 !important;
}

/* text indent */
.indent 
{
     padding-left:20px;
     display:block;   
     
}

/* link list */
a.linklist_item, p.linklist_item a
{
    font-size:14px;
    display:inline-block;
    padding-left: 1em;
    text-indent: -0.8em;
}


a.linklist_item:before, p.linklist_item a:before
{
    color: #B6006C;
    content: "\203A";
    font-weight: bold;
    padding-right: 5px;
}


/** text emphasis **/
span.grey, td.grey
{
    color:#999999;
}
span.blue, td.blue 
{
    color:#0076bd;
}
span.greenyellow, td.greenyellow
{
    color:#99ae35
}
span.purple, td.purple 
{
    color:#8a1a6e;
}
span.green, td.green 
{
    color:#4e8846;
}
span.darkblue, td.darkblue
{
    color:#003b8b;
}

/* tables */
table 
{
    padding:10px;
}

table th, thead tr td, table thead tr:last-child td
{
    padding:10px; 
    border-bottom:2px solid #a2daf4;
    text-align:left;
    font-weight:bold;
}

table td {
    padding:10px; 
    border-bottom:solid 1px #dddddd;   
}

table tr:last-child td {
    border-bottom:none;
}

table tfoot 
{
    border-top:solid 3px #dddddd;
}

/* form elements */
input[type="text"], input[type="password"]  {
    border:solid 1px #cccccc;
    border-radius:3px;
    /**color:#6D6E71;**/
    font-size:15px;
    height:35px;
    padding:0 3px 0 3px;
    padding-top:3px\9;  /* IE8, IE9 */
    display:inline-block;
    margin:0 5px 5px 0;
    float:left;
}

/*input[type="submit"], input[type="submit"]:focus,
#cookieWarning input[type="button"] {

    color:#ffffff;
    font-weight:bold;
    font-family: 'Open Sans', sans-serif;
    padding:5px;
    border:none;
    border-radius:3px;
    width:auto;
    height:35px;
    margin-bottom:3px;
    cursor:pointer;
}

input[type="submit"]:hover, 
#cookieWarning input[type="button"]:hover {
    background-color:#6c0040;
    color:#ffffff;
}*/

input[type="checkbox"] 
{
    margin: 4px 5px 0 0;
    margin-top:4px\9;
    float:left;
    display:inline-block;
}

input[type="radio"] {
    margin-right: 5px; 
}

/* IE9, IE10 */
@media screen and (min-width:0\0) {
    input[type="checkbox"] {
        margin:4px 3px 0 0;
    }
}

textarea 
{
    border:solid 1px #cccccc !important;
    border-radius:3px;
    font-family: Arial;
    /**color:#6D6E71;**/
    font-size:15px;
}

input[type="text"]:active, input[type="text"]:focus,
input[type="password"]:active, input[type="password"]:focus,
textarea:active, textarea:focus, select:focus
{
    border-color:#74b9ef !important;
    color:#231F20;
}

.Form__Element.Form__CustomElement.FormDateTime {
    min-height: 50px; 
}

select 
{
   background: transparent;
   padding: 5px;
   line-height: 1;
   border: 1px solid #CCCCCC;
   border-radius: 3px;
   height: 34px;
   -webkit-appearance: menulist;
   font-family: Arial;
   /**color:#6D6E71;**/
   font-size:15px !important;
   
}

select[multiple] {
    -webkit-appearance: inherit; 
}

.EPiServerForms .Form__Element.FormResetButton {
    margin-right: 10px;
}

/* FormBlockControl */

legend 
{
    color:#555555;
    border:none;
    font-size:18px;
}

fieldset 
{
    color:#555555;
}

#id_matrix label 
{
  font-size:12px;  
}

#id_matrix td 
{
    border:none;
    padding-left:0px;
}  

.graph label {
    width: 100px;    
    color:#555555;
    font-size:12px;
}

ul.graph{
    padding-left: 0px;
    margin-left:0px;
}

ul.graph li  {
  list-style: none;
  background-image:none;
  color:#004874;
  font-size:12px;
  font-weight:bold;
  padding-left:0px;
}

.graph li span {
  background-image: url('images/barpic.png');
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: -0.075em;
  margin-right:5px;
}

/* Accessibility: Skip to main content-link */

a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

    a.skip-main:focus, a.skip-main:active {
        color: #fff;
        background-color: #000;
        left: auto;
        top: auto;
        width: 30%;
        height: auto;
        overflow: auto;
        margin: 10px 35%;
        padding: 5px;
        border-radius: 15px;
        border: 4px solid #ff6a53;
        text-align: center;
        text-decoration: none;
        font-size: 1.2em;
        z-index: 9999;
    }



/** Navbar **/ 

#extraheader .container {
    padding-left: 11px;
}

.logocontainer {
    padding-left: 0;
}

.logocontainer .logo {
    max-width: 180px;
    margin-left: 0;
}

.navbar-collapse {
	padding:0px;
}

/*navbar-brand (Logo)*/
.navbar-default .navbar-brand, .navbar-default .navbar-brand:hover  {
	/**color:#000000;
	max-width:230px;**/
	padding:0px;
}

.navbar-default ul 
{
    display: flex;
    margin-left:0px;
    width:100%;
}

.dropdown-menu ul {
    display: block;
}

.navbar.navbar-default .row {
    margin-bottom: 0;
}

.navbar > .container .desktoplogo {
    display: flex;
    width: 0;
    transition: 0.5s;
}

.navbar > .container .desktoplogo a {
    display: block;
    max-width: 50px;
    padding:15px 10px 0 0 !important;
}

.navbar > .container .desktoplogo img {
    max-width: 50px;
    visibility: hidden;
    transition: 0.2s;
}

.navbar > .container .desktoplogo.visible {
    width: 50px;
}

.navbar > .container .desktoplogo.visible img {
    visibility: visible;
}

.navbar > .container .navbar-brand {
    margin-left: 0;
    max-width: 75px !important;
}

.navbar-default .navbar-brand  img {
	display:inline;
	float:left;
	width: 60px;
	margin-right:10px;
}

.navbar-default .navbar-brand span {
	display:inline;
	float:right;
	width:90px;
}

.navbar-header {
	width:230px;
	margin-right:5px;
	padding-bottom:10px;
	margin-top:-15px;
}

@media (min-width: 1320px) {
    #extraheader .container {
        padding-left: 100px;
        width: 1320px;
        max-width: 1320px;
    }
}

@media (max-width: 991px) {
    #extraheader .container {
        margin: 0;
        padding-left: 0;
        width: 100%;
    }

    .navbar > .container .desktoplogo img {
        padding-left: 4px;
    }
}

@media (max-width: 829px) {
    body .navbar-default .navbar-nav > .desktoplogo > a:first-child {
        max-width: 50px;
    }

    .navbar > .container .desktoplogo img {
        max-width: 38px;
        padding-left: 4px;
    }
}

@media (max-width: 767px) {


    .navbar-default ul {
        display: block;
        width: 100%;
    }
}



/* Desktop haku */

.search-frame, .searchpanel01 {
    position: relative;
    display: inline-block;
    background-color: #EEF8F9;
    padding: 6px;
    margin-top: 10px;
}

.search-frame {
    max-width: 180px;
}
    /*
#Main_EpiQuickSearch_QuickSearchSpan .search-frame {
    position: relative;
    background-color: #EEF8F9;
    padding: 8px 0 8px 4px;
}*/

.search-frame input[type="text"],
.searchpanel01 input[type="text"]
{
    background: url(../../Images/svg/haku.svg)  #EEF8F9 no-repeat left;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    padding-left: 30px;
    max-width: 100%;

}

#Main_EpiQuickSearch_QuickSearchButton,
#Main_EpiQuickSearchMobile_QuickSearchButton,
.searchbutton {
    position: absolute;
    display: inline-block;
    background: #000;
    color: #FFF;
    padding: 12px 16px;
    top: 0;
}

#mobilesearch {
    display: none;
}

@media (max-width: 767px) {
    .search-frame {
        display: none;
    }

    #mobilesearch{
        display: block;
    }

    #mobilesearch .search-frame {
        display: inline-block;
        max-width: 100%;
        width: 100%;
    }

    #mobilesearch .search-frame input[type="text"] {
        width: 100%;
        padding-right: 55px;
    }

    #Main_EpiQuickSearchMobile_QuickSearchButton {
        right: 0;
    }
}

/* Search page */
.searchpanel01 {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 18px 6px;
    width: 100%;
}

.searchpanel01 input[type="text"] {
    background-size: 36px;
    display: block;
    font-size: 19px;
    line-height: 148%;
    padding-left: 50px;
    padding-right: 112px;
    width: 100%;
}

.searchpanel01 .searchbutton {
    border: 0;
    font-size: 22px;
    line-height: 123%;
    margin: 0;
    padding: 23px 34px;;
    right: 0;
}

.search-results {
    color: #009EAA;
    margin-bottom: 30px;
}

.search {
    margin-left: 0;
    margin-right: 0;
}

.search > h4 > a {
    color: #000 !important;
}

.search > h4 > a:hover {
    color: #2E49B0 !important;
}

.search p {
    border-bottom: 1px solid #E1E1E1;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

/*navbar-right = SEARCH*/

/* hide search for mobile version */
.navbar-right.mobile 
{
	 display:none;
}

.navbar-right
{
    /**width: /**220px;25%;**/
	min-width:190px;
    height: 58px;
    float: right;
    border-radius: 5px;
    font-family: arial; 
    font-style: normal; 
    font-weight: normal; 
    margin-top: 10px;
	margin:0 4px 0 0;    
}

/* navigation link texts need more space in english and swedish versions -> nav-right must be smaller */
html[lang="en"] .navbar-right 
{
    min-width:180px;
}

html[lang="sv"] .navbar-right 
{
     min-width:160px;
}


.navbar-right li {
	box-shadow: 0 0 3px 1px #a9d0e8;
}

.navbar-right .search input {
	height:58px;
	border:0px;
	margin:0px;
	float:left;
}

.navbar-right.desktop .search input 
{
    height:38px;
}

.navbar-right .search .text {
	width:162px;
	border-radius: 5px 0px 0px 5px;
	padding-left:5px;
	color:#6d6e71;
	font-size:16px;
}

/* IE9 */
html[lang='\en'] .navbar-right .search .text
{
    padding-top:15px;
}
/* IE8 */
@media \0screen 
{
    .navbar-right .search .text{padding-top:15px;}
}

/**html[lang="sv"] .navbar-right .search .text 
{
     width:100px;
}


html[lang="en"] .navbar-right .search .text
{
    width:120px;
}**/

.navbar-right .search .button {
	border-radius: 0px 5px 5px 0px;
	background:url(images/icon_search.png) 10px 12px no-repeat #b6006c;
	text-indent:-9999px;
	width:35px;	
}

.navbar-right .search .button:hover {
    background-color: #6C0040;
}

/* search auto-complete */
.ui-helper-hidden-accessible  
{
    display:none;
}

.ui-autocomplete 
{
    padding-left:5px;
    box-shadow: 0 0 3px 1px #A9D0E8;
    width:128px;
    background:#ffffff;
}

html[lang="sv"] .ui-autocomplete 
{
    width:98px;
}

html[lang="en"] .ui-autocomplete 
{
    width:118px;
}

.ui-autocomplete li 
{
    list-style-type:none;
    color: #6D6E71;
    font-size: 16px;
    font-family: arial; 
    font-style: normal; 
    font-weight: normal; 
    font-size:12px;
}

.ui-autocomplete li a 
{
    cursor:pointer;
}

.navbar-fixed-top
{  top: auto;
   
}
.navbar
{
    width: 100%;
    border: 0px none transparent;
    border-radius: 0px;
    font-size: 14px;
    border: 0px none transparent;
	background:#ffffff;
	margin:0;
}

.navbar-nav
{   
    padding-left: 0px;
    	
}

.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:hover {
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
    padding: 5px 10px 0 10px;
    padding: 5px 12px 0 10px; /* IE8, IE9 */
    /*
	background: -webkit-linear-gradient(#7f8184, #5b5c5e);
	background: -o-linear-gradient(#7f8184, #5b5c5e);
	background: -moz-linear-gradient(#7f8184, #5b5c5e);
	background: -ms-linear-gradient(#7f8184, #5b5c5e);
	background: linear-gradient(#7f8184, #5b5c5e);
	filter: progid:DXImageTransform.Microsoft.Gradient( startColorstr='#7f8184', endColorstr='#5b5c5e',GradientType=0 ); */
    background-color: #FFFFFF;
    float: left;
    height: 58px;
    /**max-width:140px;
	max-width:120px\9;**/ /* IE8, IE9 */
    text-align: right;
    font-family: 'Open Sans', sans-serif;
	font-size:16px;
}

 /*hyv*/
 /*
 .navbar-default .navbar-nav > li  > a:first-child 
{
    width:115px;
    padding-top:16px;
}
*/
/*
.navbar-default .navbar-nav > li:first-child  + li > a:first-child 
{
    width:175px;
    padding-top:16px;
}


 
.navbar-default .navbar-nav > li:first-child  + li  + li > a:first-child 
{
    width:205px;
    padding-top:16px;
}

 
.navbar-default .navbar-nav > li:first-child  + li + li  + li > a:first-child
{
    width:145px;
    padding-top:16px;
    border-radius:5px;
    text-align:left;
     padding-left:15px;
}

 
.navbar-default .navbar-nav > li:first-child  + li + li  + li +li > a:first-child 
{
    width:200px;
    width:155px\9;
    padding-top:16px;
    border-radius:5px;
    text-align:left;
    padding-left:15px;
   
}
 */

html[lang="sv"] .navbar-default .navbar-nav > li:first-child  + li > a:first-child,
html[lang="en"] .navbar-default .navbar-nav >  li:first-child  + li + li > a:first-child
{
    padding-top:5px !important;
}

html[lang="sv"] .navbar-default .navbar-nav > li:first-child  + li + li  + li > a:first-child,
html[lang="en"] .navbar-default .navbar-nav > li:first-child  + li + li  + li > a:first-child 
{
     padding-top:16px  !important;
}





/* smaller font for english and swedish to fit link texts to navigation */
/**html[lang="sv"] .navbar-default .navbar-nav > li > a, 
html[lang="sv"] .navbar-default .navbar-nav > li > a:hover,
html[lang="en"] .navbar-default .navbar-nav > li > a, 
html[lang="en"] .navbar-default .navbar-nav > li > a:hover  
{
    font-size:15px;
    font-size:13px\9;  /* IE8, IE9 */
/**}**/

.navbar-default .navbar-nav > li > a.dropdown-toggle, 
.navbar-default .navbar-nav > li > a.dropdown-toggle:hover {
	/*border-radius:0 5px 5px 0;
	padding:15px 15px 0 8px;*//*hyv*/
}

#MainMenu .dropdown a:focus {
    outline: 2px solid #74b9ef !important;
}

.navbar-default .navbar-nav > li, .navbar-default .navbar-nav > li:hover{

    padding-left: 3px;
    padding-right: 0px;
	height:85px;
	position:static;
	background:none;
}


.navbar-default .navbar-nav > li:first-child a 
{
    border-radius:5px;
    width:155px;
    text-align:center;
}




.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus
.navbar-default .navbar-nav > li > a:hover, 
.navbar-default .navbar-nav > li > a:focus
{
    color: #ffffff;
}

.navbar-default .navbar-right > li, .navbar-default .navbar-right > li:hover {
	padding:0px;
	border:none;
	border: solid 1px #68aed8;
	height:auto;
}


/* navigation button's white lines (mobile size) */
.navbar-default .navbar-toggle .icon-bar
{
    background-color: #ffffff;
}



/*active top navigation*/

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover
{
    background: -webkit-linear-gradient(#008eca, #0075a6); /* For Safari */
	background: -o-linear-gradient(#008eca, #0075a6); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#008eca, #0075a6); /* For Firefox 3.6 to 15 */
	background: -ms-linear-gradient(#008eca, #0075a6); /* For IE */
	background: linear-gradient(#008eca, #0075a6); /* Standard syntax */
	background-color: #8a1a6e;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008eca', endColorstr='#0075a6',GradientType=0 ); /* For IE */
    color: #ffffff;

}

/* top navigation dropdown open */
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
    color: #ffffff;
}


/** top navigation inactive dropdown open -> grey arrow  **/
.navbar-default .navbar-nav > .open > a:first-child:after {
    /**background:url(images/menu_active.png) 20px 58px no-repeat;**/ 
  /*  border-radius: 3px;
    border-right:10px solid transparent;
    border-top:10px solid #5B5C5E;
    border-left:10px solid #5B5C5E;
    border-bottom:10px solid transparent;
    content: " ";
    height: 0;
    left: 25px;
    pointer-events: none;
    position: absolute;
    top: 97%;
    width: 0;
   hyv  */
}

/** top navigation active dropdown open -> blue arrow  **/
.navbar-default .navbar-nav > .open.active > a:first-child:after 
{
    border-right:10px solid transparent;
    border-top:10px solid #0075A6;
    border-left:10px solid #0075A6;
    border-bottom:10px solid transparent;
}

/*top navigation dropdown image*/
.caret{
	background-image: url(../../Images/svg/linkki-nuoli.svg);
	background-repeat: no-repeat;
    width:23px; 
    height: 22px;
    border: 0px none transparent;
    transform: rotate(90deg);
    transition: 0.2s;
}

/* dropdown image when dropdown is open */
.open .caret 
{
    background-image: url(../../Images/svg/linkki-nuoli-white.svg);
    background-position: 100%;
    transform: rotate(-90deg);
}

.navbar-nav  li:first-child a, .navbar-nav  li:first-child a:hover  {
	padding-top:16px;
}

.navbar-nav  li:last-child a, .navbar-nav  li:last-child a:hover   {
	max-width:155px;
}

 /* for ie8 */
/**.linkboxes .linkbox:first-child + .linkbox + .linkbox **/
/**.navbar-nav li + li +li a
{
    
   max-width:155px\9 !important;
}**/


/* dropdown-toggle (link to open dropdown menu) */
.navbar-default .navbar-nav > li > a.dropdown-toggle, 
.navbar-default .navbar-nav > li > a.dropdown-toggle:hover { 
	/*
    background: -webkit-linear-gradient(#757678, #5b5c5d);
	background: -o-linear-gradient(#757678, #5b5c5d);
	background: -moz-linear-gradient(#757678, #5b5c5d);
	background: -ms-linear-gradient(#757678, #5b5c5d);
	background: linear-gradient(#757678, #5b5c5d);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#757678', endColorstr='#5b5c5d',GradientType=0 );
        */
    background-color: #FFFFFF;
    border-top: 3px solid #FFF;
}

/* active menu link dropdown-toggle  */
.navbar-default .navbar-nav > li.active > a.dropdown-toggle, 
.navbar-default .navbar-nav > li.active > a.dropdown-toggle:hover { 

	background: -webkit-linear-gradient(#929292, #929292); /* For Safari */
	background: -o-linear-gradient(#929292, #929292); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#929292, #929292); /* For Firefox 3.6 to 15 */
	background: -ms-linear-gradient(#929292, #929292);
	background: linear-gradient(#929292, #929292); /* Standard syntax */
	background-color: #929292;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#929292', endColorstr='#929292',GradientType=0 ); /* For IE */
}

a.dropdown-toggle
{
    height: 58px;
}

/** dropdown-menu (megamenu) **/
.dropdown-menu.mobile 
{
    display:none;
}


         
         /* vaakamenu dropdown  dektopmenu*/
         
       body  .dropdown-menu {
                max-width:970px;
                 background:#ffffff;
                width:100%;
                position:absolute;
                top:71px;
                /**left:15%;**/
                /**float:left;**/
                box-shadow:none;
                border:1px solid #b9b9b9;
                 border-top:0px solid #b9b9b9!important;
                
                left:0px;
                /**margin-left:-285px;**/
                margin-left:auto;    
                border-radius:0px;
    
                padding:0px;
            }
            
              body  .dropdown-menu > div { margin:0px; padding:0px; }
              body  .dropdown-menu > div > div.column { min-width: 25%;  max-width: 25%;  border-right:1px #efefef solid; }
              body  .dropdown-menu > div > div.column:last-child  {     border-right:0px #efefef solid; }
              body  .dropdown-menu > div > div.column  ul li { margin:0px; padding:7px 0px; }
              body  .dropdown-menu div  a:link,body  .dropdown-menu div  a:hover, body  .dropdown-menu div   a:active,
              body  .dropdown-menu div  a:visited{ color: #494949; text-decoration: none;}
              body  .dropdown-menu div  img{  max-width:100%; height: auto;}
              
              
              

.dropdown-menu > div:first-child 
{
     box-shadow: none;
     float:left;
     border-radius:0px;
     background:#ffffff;
     margin:25px; 
}



    
.dropdown-menu .column {
    float:left;
    width:240px;
    padding:10px;
}

.dropdown-menu .column h3 a 
{
    color:#231F20;
    font-size:21px !important;
}

.dropdown-menu .column h4 a 
{
    color:#231F20;
    font-size:17px !important;
}

.dropdown-menu .column ul.bluelink {
    padding-top:0px;
    margin:0px;
}

.dropdown-menu .column ul.bluelink li a 
{
    padding-top:0px;
    font-size:15px;
    
}

.dropdown-menu .column ul.bluelink li a:hover {
    color: #2E49B0 !important; 
    text-decoration: underline !important;
}

#MainMenu .dropdown-menu table td {
    border-right: solid 1px #DDD;
    padding-right: 5px;
    padding-left: 20px;
}
    #MainMenu .dropdown-menu table tr td:last-child {
        border-right: none;
    }
    #MainMenu .dropdown-menu table tr td:first-child {
        padding-left: 10px;
    }



/*  navigation ends */


/** mainbanner on startpage **/
.advertisement
{
    min-height: 100px;   
	background-image: url(images/bg_banner.png);
    background-repeat: no-repeat; 
	background-position:center top;
}

.banner {
	height:266px;
    padding-top:50px;
	 font-family: arial; 
	 font-style: normal; 
	 font-weight: normal;
}

.banner div {
	max-width:430px;
	margin:auto;
	font-size:35px;
	color:#414042;
}

.banner a
{
	background:url(images/icon_button.png) 145px 5px no-repeat #b6006c;
	color:#ffffff;
	padding:8px 50px 8px 10px;
	font-size:14px;
	font-weight:bold;
	display:block;
	width:180px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin-top:10px;
	font-family:'Arial';
}

.banner a:hover 
{
    background-color: #6C0040;
}

/* coloured link boxes on startpage */
.boxes .box {
	width:134px;
	height:134px;
	margin:4px;
	border-radius: 3px;
	text-align:center;
	padding:0;
}

.boxes .box:first-child 
{
    margin-left:0px;
}

/* Startpage news blocks */

.container-fluid.p-0 {
    padding: 0;
}

.frontblockSemi .newsitem-container {
    padding-top: 40px;
}

.frontblockSemi .newsitem-container:first-child {
    padding-top: 0;
}

.frontblockSemi .newsitem-container:nth-child(even) {
    background-color: #EEF8F9;
}

.frontblockSemi .newsitem-container > .container > .row {
    margin-bottom: 0;
}

.frontblockSemi .infoboxrow {
    display: flex;
    flex-direction: column;
}

.startpagenews {
    font-size: 16px;
    height: 100%;
    margin-bottom: 64px;
}

a.liftimage-link {
    display: block;
    height: 0;
    width: 100%;
    padding-top: 65%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-bottom: 24px;
}

.startpagenews .liftimage-link img {
    width: 100%;
}

.startpagenews h4 a, .startpagenews .h4 a {
    color: #000 !important;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.48em;
}
}

body .release-date {
    color: #404040;
    font-size: 15px;
    line-height: 153%;
    margin-bottom: 10px !important;
}

.release-date span {
    background: transparent;
    padding-right: 15px;
}

.startpagenews p {
    margin-bottom: 0;
    
}

@media (max-width: 991px) {
    .startpagenews .liftimage-link {
        padding-top: 56.25%;
    }
}

@media (max-width: 767px) {
    .frontblockSemi .infoboxrow {
        display: block;
    }

    .startpagenews {
        font-size: 15px;
        line-height: 1.48em;
        margin-bottom: 30px;
    }
}


/* Infobox värit */
.infoboxrow {
    margin-bottom: 0 !important;
}

.infoframe {
    display: flex;
    margin-bottom: 30px;
}

.infobox {
    position: relative;
    display: flex;
    border-top: 5px solid #73CAD0;
    flex-direction: row;
    align-items: center;
    padding: 32px 56px 32px 24px ;
    width: 100%;
}
    
    
    .infobox .infobox-content {
        position: relative;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        margin-left: 16px;
    }
    .infobox .infobox-content::after {
        position: absolute;
        content: "";
        background: url(../../Images/svg/linkki-suuri.svg) no-repeat center;
        width: 30px;
        height: 30px;
        top: 50%;
        transform: translate(0, -50%);
        right: -32px;
    }

    .infobox img {
        max-width: 56px;
    }


    .infobox a {
        color: #000 !important;
    }

    .infobox.taivas {
        background-color: #80DDED !important;
        border-color: #00BBDC;
    }

    .infobox.pilvi {
        background-color: #FFF !important;
        border-color: #80DDED;
    }

    .infobox.lampi {
        background-color: #BAE5E8 !important;
        border-color: #73CAD0;
    }

    .infobox.usva {
        background-color: #CBD2EB !important;
        border-color: #95A3D6;
    }

    .infobox.usva_tumma {
        background-color: #0E4E66 !important;
        border-color: #0E4E66;
        opacity: 0.55;
    }


    .infobox.metsa {
        background-color: #D7F2D3 !important;
        border-color: #AEE5A4;
    }

    .infobox.tiili {
        background-color: #F9D7D1 !important;
        border-color: #F3ADA2;
    }

    .infobox.pelto {
        background-color: #FFF5C4 !important;
        border-color: #FEEB87;
    }

    .infobox.pelto_tumma {
        background-color: #FFD980;
        border-color: #FFB300;
    }

    .infobox.hyvinkaanvesi_sininen {
        background-color: #FFF;
        border-color: #4b75bc;
    }

    @media (max-width: 991px) {
        .infoframe {
            flex-basis: 100%;
        }

        .infobox {
            margin-bottom: 24px;
            width: 100%;
        }
    }



/* Front page newslist */

.front-newslist .title-area {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
}

.front-newslist h2 {
    margin-bottom: 32px;
}

.front-newslist .calendarDatetimespan{
    color: #000;
    font-size: 15px;
    line-height: 153%;
}

.front-newslist p {
    margin-bottom: 24px;
}

.front-newslist a {
    color: #000 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 148%;
}

.front-newslist .startreadmore a {
    position: relative;
    color: #000 !important;
    font-size: 16px !important; 
    font-weight: 600 !important;
    line-height: 128%;
}

.front-newslist .startreadmore a::after {
    content: "";
}

.front-newslist .startreadmore a::before {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    left: -16px;
    background-image: url(../../Images/svg/linkki-nuoli.svg);
    background-repeat: no-repeat;
}

/*These apparently ain't needed in this project 

 background gradients for linkboxes on startpage, on sectionstartpage and on the rightside of a standard page 
.boxes .box1, .linkboxes .box1, .rightside .box1 {
	background: -webkit-linear-gradient(#dad846, #cfcd00);
	background: -o-linear-gradient(#dad846, #cfcd00); 
	background: -moz-linear-gradient(#dad846, #cfcd00); 
	background: linear-gradient(#dad846, #cfcd00); 
	background-color: #cfcd00;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dad846', endColorstr='#cfcd00',GradientType=0 );	
}

.boxes .box2, .linkboxes .box2, .rightside .box2 {
	background: -webkit-linear-gradient(#b1c554, #98b31e); 
	background: -o-linear-gradient(#b1c554, #98b31e); 
	background: -moz-linear-gradient(#b1c554, #98b31e); 
	background: linear-gradient(#b1c554, #98b31e);
	background-color: #98b31e;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b1c554', endColorstr='#98b31e',GradientType=0 );
}
	
.boxes .box3, .linkboxes .box3, .rightside .box3 {
	background: -webkit-linear-gradient(#7fc372, #52b944); 
	background: -o-linear-gradient(#7fc372, #52b944); 
	background: -moz-linear-gradient(#7fc372, #52b944);
	background: linear-gradient(#7fc372, #52b944); 
	background-color: #52b944;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7fc372', endColorstr='#52b944',GradientType=0 ); 
}
	
.boxes .box4, .linkboxes .box4, .rightside .box4 {
	background: -webkit-linear-gradient(#4ea2bc, #0085a7); 
	background: -o-linear-gradient(#4ea2bc, #0085a7); 
	background: -moz-linear-gradient(#4ea2bc, #0085a7); 
	background: linear-gradient(#4ea2bc, #0085a7); 
	background-color: #0085a7;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4ea2bc', endColorstr='#0085a7',GradientType=0 );
}

.boxes .box5, .linkboxes .box5, .rightside .box5 {
	background: -webkit-linear-gradient(#4a6ca0, #144084);
	background: -o-linear-gradient(#4a6ca0, #144084); 
	background: -moz-linear-gradient(#4a6ca0, #144084); 
	background: linear-gradient(#4a6ca0, #144084); 
	background-color:#144084;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a6ca0', endColorstr='#144084',GradientType=0 );
}
	
.boxes .box6, .linkboxes .box6, .rightside .box6 {
	background: -webkit-linear-gradient(#a65491, #8a1a6e); 
	background: -o-linear-gradient(#a65491, #8a1a6e); 
	background: -moz-linear-gradient(#a65491, #8a1a6e); 
	background: linear-gradient(#a65491, #8a1a6e); 
	background-color: #8a1a6e;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a65491', endColorstr='#8a1a6e',GradientType=0 ); 
	width:264px;	
	margin-right:0px;
}

.boxes .box7, .linkboxes .box7, .rightside .box7 {
    background: linear-gradient(#008ECA, #0075A6) repeat scroll 0 0 #8A1A6E;
    background: -o-linear-gradient(#008ECA, #0075A6); 
	background: -moz-linear-gradient(#008ECA, #0075A6); 
	background: linear-gradient(#008ECA, #0075A6); 
	background-color: #0075A6;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008ECA', endColorstr='#0075A6',GradientType=0 ); 
	width:260px;	
}
    
*/

/* Date */
.date {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 24px;
}

.main-ingress {
    font-size: 24px;
    font-weight: 600;
    line-height: 128%;
    margin-bottom: 30px;
}

/* sectionstart page linkboxes */
.linkboxes .linkbox 
{
    background-size:100% 70px;
}


/* no margin on the right side for every third linkbox */
.linkboxes .linkbox:nth-child(3n) 
{
    margin-right:0px;
}

/* for ie8 */
.linkboxes .linkbox:first-child + .linkbox + .linkbox,
.linkboxes .linkbox:first-child + .linkbox + .linkbox + .linkbox + .linkbox + .linkbox {
      margin-right:0px\9;
}


/* startpage linkboxes */
.boxes  .box a {
	color:#ffffff;
	width:134px;
	height:134px;
	float:left;
	padding:60px 10px 0 10px;
	font-size:16px;
	font-family:arial;
	font-style: normal; 
	font-weight: normal;
}

.boxes .box h4 {
	font-size:18px;
	font-family:arial;
	font-style: normal; 
	font-weight: normal;
	padding-top:0px;
}

/* background icons for startpage linkboxes */
.boxes .box1 h4 a {background:url('images/icon_box1.png') center 15px no-repeat;}
.boxes .box2 h4 a {background:url('images/icon_box2.png') center 15px no-repeat;}
.boxes .box3 h4 a {background:url('images/icon_box3.png') center 15px no-repeat;}
.boxes .box4 h4 a {background:url('images/icon_box4.png') center 15px no-repeat;}
.boxes .box5 h4 a {background:url('images/icon_box5.png') center 15px no-repeat;}
.boxes .box6 h4 a {background:url('images/icon_box6.png') center 15px no-repeat;width:260px;}


.linkboxes .linkbox {
	width:305px;
	background-color:#f0f0f0;
	border-radius:4px;    
	margin:10px 30px 20px 0;
	padding:0 0 0px 0;   
}

.linkboxes .linkbox h4 {
	color:#ffffff;
	font-size:19px;
	font-size:18px\9; /* IE8, IE9 */
	margin:0px;
	width:100%;
	height:70px;
	border-radius: 4px 4px 0 0;
	
	background-repeat:no-repeat;
	background-position:20px 15px;	
}

.linkboxes .linkbox.box7 h4 a
{
    padding-left:30px;
}

.linkboxes .linkbox h4 a 
{
    color:#ffffff;
	font-size:19px;
	font-size:18px\9;  /* IE8, IE9 */
	margin-left:0px;
	padding:10px 35px 15px 70px;
	display:block;
}

/* IE9 */
/**:root .linkboxes .linkbox h4, :root .linkboxes .linkbox h4 a
{
    font-size:22px\0;
}**/

.linkboxes .box6 h4 
{
    padding-top:15px;
}

.linkboxes .box7:first-child h4,
.linkboxes .box7 + .box7 + .box7 + .box7 h4
{
    padding-top:15px;
}

.linkboxes .linkbox div
{
    background-color:#f0f0f0;
    border-radius:0 0 3px 3px;
    padding:10px;
    height:300px;
    
}

.linkboxes .linkbox div div 
{
    background-color:transparent;
    border-radius:0 0 3px 3px;
    padding:0px;
    height:auto;
}

/* background icons for sectionstartpage linkbox headings */
.linkboxes .box1 h4 {
	background-image:url('images/icon_box1.png');
}
.linkboxes .box2 h4 {
	background-image:url('images/icon_box2.png');
}
.linkboxes .box3 h4 {
	background-image:url('images/icon_box3.png');
}
.linkboxes .box4 h4{
	background-image:url('images/icon_box4.png');
}
.linkboxes .box5 h4 {
	background-image:url('images/icon_box5.png');
}
.linkboxes .box6 h4 {
	background-image:url('images/icon_box6.png');
}

.linkboxes .bluelink 
{
    margin-bottom:5px;
}

.linkboxes .bluelink li {
	padding:3px 0 3px 0;
}

.linkboxes .linkbox .bluelink  a:before {
	color:#0076BD;
}

.linkboxes .linkbox a {
   margin-left:15px; 
   font-size:15px;
}

.linkboxes .linkbox p {
    margin:5px 15px 0px 15px;
    font-size:15px;
   font-style:italic;
}

/**.linkboxes .box1 p {
    color:#b6b400;
}

.linkboxes .box2 p {
    color:#99ae35;
}

.linkboxes .box3 p {
    color:#4e8846;
}

.linkboxes .box4 p {
    color:#1886a8;
}

.linkboxes .box5 p {
    color:#003b8b;
}

.linkboxes .box6 p {
color:#8a1a6e;
}**/

.linkboxes .linkbox a:before 
{
    content:"\203A "; /** › **/
    color:#B6006C;  
    font-weight: bold;
    padding-right: 5px;
}

.linkboxes .linkbox h4 a:before 
{
    content:normal;
}


/** headings **/
.jumbotron H1
{
    font-weight: bold;
    font-size: 18px !important;
	color:#231f20;   
}

.jumbotron H1.tiili
{
    font-weight: bold;
    font-size: 18px !important;
	color: rgb(176, 39, 18);
}

.jumbotron H1.turkoosi
{
    font-weight: bold;
    font-size: 18px !important;
	color: rgb(0, 95, 102);
}

.jumbotron .innerpage  H1
{
    font-weight: bold;
    font-size: 18px !important;
	color:#231f20;
    
}

.jumbotron .innerpage  H1.tiili
{
    font-weight: bold;
    font-size: 18px !important;
	color: rgb(176, 39, 18);
}

.jumbotron .innerpage  H1.turkoosi
{
    font-weight: bold;
    font-size: 18px !important;
	color: rgb(0, 95, 102);
}
.jumbotron H4
{
    font-size: 16px !important;  
}
.jumbotron .innerpage  H4
{
    font-size: 16px;
}

/* "cookieWarning" */
#cookieWarning 
{
    
    background-color:#F1F6F9;
    border-width:2px 0 2px 0;
    border-color:#5B5C5E;
    border-style:solid;
    padding: 0 20px 0 20px;
    display:block;
    
}

#cookieWarning .CookieWarningText 
{
    float:left;
    padding-top:20px;
}


#cookieWarning input[type="button"] 
{
    float:right;
    margin-top:20px;
    width:135px;
    font-size:15px;
}

/** Breadcrumbs (headerlinks, breadcrumb, footer)  **/
.breadcrumb
{
    background-color: transparent;
    border: 0 none transparent;
    font-size: 13px;
    text-align: right;
    padding-left: 0px;
	float:left;
	margin:0px;
}

ul.breadcrumb {
    margin:0px;
}

ul.breadcrumb li 
{
    background:none;
    padding-left:0px;
}

ul.breadcrumb.inner li + li:before,
.mobilemenu ul.breadcrumb.inner li:before {
    content:"\203A "; /** › **/
    font-size:15px;
    color:#0076BD;
    padding-right:2px;
    
}



.breadcrumb li {
	display:inline-block;
}
	
/* breadcrumb2 = headerlinks on the right side */
.breadcrumb2
{
    padding-right: 0px;
    padding-top:3px;
    
}


/** poistettu siihen asti kunnes automaattinen linkitys kieliversioiihin (LanguageMenu) otetaan käyttöön **/
/**.logorow .breadcrumb2:first-child:after
{
    content:"|";
    color: #bb2679;
	font-weight:bold;
	padding:0 5px 0 5px;
}**/

.logorow .breadcrumb > li + li:before {
    color: #bb2679;
	font-weight:bold;
	padding-right:0px;
}

.logorow .breadcrumb > li + li:before 
{
    padding-right:5px;
    content:"|";
}

.logorow .breadcrumb li.active a 
{
    color:#231F20;
    cursor:default;
}






.jumbotron
{
    padding: 0 !important;
    margin: 0px;
    font-size: 13px;
    line-height: normal;
    font-weight: normal;
	background:#ffffff;
}

/* logorow =headerlinks */
.logorow
{
    background-color: #ffffff;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px; 
    padding:20px 0 0 5px; 
}

.logorow .col-lg-4  {
	padding:0px;
}

.logorow .col-xs-4 
{
    padding-right:0px;
}



/**.logorow .col-xs-4 ul li
{
    float:right;
}**/



/**.logorow .col-lg-4:last-child  {
	padding-left:45px;
}**/
    
/*
.container > .navbar-collapse{
    width: 978px;
	margin-right: auto;
	margin-left: auto;
}*/

/*
.container
{
    padding-left: 0px;
    padding-right: 0px;
}

*/

/** Links section on startpage (links on blue background) **/

.links .col-md-4 {
	/**padding-left:0px;
	padding-right:30px;**/
	width:330px;
	background-color:#e0f2fb;
    border-radius:5px;
    padding-left:15px;
    min-height:190px;
    margin:10px 0 0 0;
}

.links .col-md-4:first-child
{
    margin-right:0px;
    border-radius:5px 0 0 5px;
}

.startpage.links .col-md-4 + .col-md-4 
{
    border-radius: 0 5px 5px 0;
    margin-right:15px;
    padding-left:0px;
    width:300px;
}

.links .col-md-4:last-child {
	padding-right:0px;
	width:305px;
}

/** for ie8 **/
.links .col-md-4 + .col-md-4 + .col-md-4 
{
    padding-right:0px;
    width:305px;
}

.startpage.links .col-md-4 + .col-md-4 + .col-md-4 
{
    
    padding-left:15px;
	width:330px;
	margin-right:0px;
	border-radius:5px;
}

.links .bluelink 
{
    padding-top:0px;
}

.sectionstartpage .links {
	background:#f2f6f8;
	border-top:solid 1px #dbdada;
	margin-top:25px;
}

.sectionstartpage .links .col-md-4 + .col-md-4 + .col-md-4 
{
    padding-left:0px;
}
/**.links .list-group 
{
    background-color:#e0f2fb;
    border-radius:5px;
    padding-left:15px;
    min-height:160px;
}**/

.sectionstartpage .links .col-md-4
{
    background-color:transparent;
    border-radius:0px;
    padding-left:0px;
    min-height:0px;
}

/* Shortcut links on startpage */
.shortcut-links {
    background-color: #EEF8F9;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.shortcut-links .title {
    margin-bottom: 30px;
}

.shortcut-links h2 {
    color:#3F57B5;
}

.shortcut-links h3 {
    color: #3F57B5;
    font-size: 18px;
    font-weight: 600;
    line-height: 148%;
    margin-bottom: 20px;
}

.shortcut-links img {
    width: 40px;
}

.shortcut-links a {
    color: #000 !important; 
    line-height: 173%;
}

.shortcut-links a:hover {
    text-decoration: underline !important;
} 

/** announcements (= Ajankohtaista) **/

.announcements {
	margin-bottom:25px;
}

/**.announcements  .row:last-child {
	background:url('images/triangle.png') right bottom no-repeat;
	padding-bottom:85px;

}**/

.announcements h1 {
	/**border-bottom:dashed 4px #68c1c4;**/
	background:url('images/bg_dashed.png') left bottom repeat-x;
	padding-bottom:10px;
	margin-top:35px;
	height:42px;
	
}

.announcements h1 a
{
    color:#231F20;
    float:left;
    display:inline-block;
   
}

.announcements a.rss {
	background:url(images/icon_rss.png) right top no-repeat;
	width:26px;
	height:26px;
	float:left;
	margin-left:10px;
}

.announcements h4, .announcements h4 a {
    font-size:12px;
    font-weight: bold;
    color:#231F20;
}


.announcements  .col-sm-6 {
	padding-left:0px;
}

.announce
{
    color: #01549c;
	padding-bottom:100px;
}

.newsitem {
    margin-bottom: 24px;
}

.announcetitle {
	/*border-bottom:solid 1px #e4e4e5;*/
	font-weight:normal;
	font-size:16px;
    line-height: 153%;
}

.announcetitle:last-of-type {
	border-bottom:none;
}

.announcedate {
	padding-top:10px;
	font-size:16px;
    margin-right: 8px;
    width: 100%;
    padding-bottom: 2px;
}

.more {
	margin-top:15px;
	float:left;
	font-size:14.5px;
}

.more:before {
	color: #B6006C;
    content:"\203A "; /** › **/
    font-weight: bold;
    padding-right: 5px;
	}

/** Statistics (= Käydyimmät sivut, Käytetyimmät asiasanat, Hyvinkää sosiaalisessa mediassa) **/
.statistics
{
    min-height: 100px;
	background:#e0f2fb;
	/**border-top:solid 2px #d0dfe7;**/
	box-shadow:0px -2px 2px #d0dfe7;
	padding-bottom:25px;
}

.statistics .col-sm-6.nopadding 
{
    display:inline-block;
}

.statistics ol 
{
    padding-left:15px;
}

.statistics ol li
{
    padding:5px 0 5px 0;
    font-size:14.5px;
}

.statistics ol li:before {
    color: #b6006c;
    font-size:12px;
    font-weight:bold;
    padding-right:5px;
}

.statistics .some_link  a {
	display:block;
	color:#231f20;
	padding:5px 0 0 25px;
	text-indent:0px;
	font-size:15px;
}

.statistics .some_link .fb {
	background:url(images/icon_fb.png) left 5px no-repeat;
}

.statistics .some_link .twitter {
	background:url(images/icon_twitter.png) left 5px no-repeat;
}

.statistics ul 
{
    padding:0px;
    margin:0px;
}

.statistics .arrowboxLeft, .statistics .arrowboxRight
{
    list-style-type:none;
    position: relative;
	background:#a2daf4;
	width: 305px;
	height: 100%;
	border-radius: 7px;
	padding: 10px 10px 10px 10px;
	margin-bottom: 20px;
	font-size:15px;
}

/* Twitter boxes */
.arrowboxLeft:after {
	top: 97%;
	left: 6%;
	position: absolute;
	pointer-events: none;
	content: " ";
	width:0; 
    height:0; 
    border-right:7px solid transparent;
    border-top:7px solid #a2daf4;
    border-left:7px solid #a2daf4;
    border-bottom:7px solid transparent;
    border-radius: 2px;
}

.arrowboxRight:after {
	top: 97%;
	left: 90%;
	position: absolute;
	pointer-events: none;
	content: " ";
	width:0; 
    height:0; 
    border-right:7px solid #a2daf4;
    border-top:7px solid #a2daf4;
    border-left:7px solid transparent;
    border-bottom:7px solid transparent;
    border-radius: 2px;
}

/**.statistics .arrowboxRight 
{
    background:url(images/arrowboxRight.png) right bottom no-repeat #a2daf4;
    
}**/

/**.statistics .arrowboxLeft a, .statistics .arrowboxRight a 
{
    padding-left:5px;
}**/

.statistics .arrowboxLeft span, .statistics .arrowboxRight span 
{
    color:#ffffff;
    font-size:12px;
    padding-left:5px;
    font-style:italic;
}

.statistics .sidelinks 
{
    padding-top:0px;
}

.statistics .keyword
{
    font-family:arial;
	font-style: normal; 
	font-weight: normal;
	line-height:24px;
}



.statistics .keyword:after
{
    content:", ";
}

.statistics .keyword:last-child:after
{
    content:normal;
}

.statistics .keyword_1 
{
    color:#003b8b;
    font-size:20px;
}

.statistics .keyword_1:hover {
    color:#022c65;
}


.statistics .keyword_2
{
    color:#008fcb;
    font-size:17px;
    line-height:1.8em;
}

.statistics .keyword_2:hover
{
   color:#036994;
}

.statistics .keyword_3 
{
    font-size:14px;
    color:#5ec5ed;
}

.statistics .keyword_3:hover {
    color:#50a4c4;
}




/* Standard page main image*/
.main-image img {
    margin-top: 30px;
    max-height: 768px;
}

.top-line {
    width: 100%;
    height: 8px;
    background: #EEF8F9;
}


/**.date
{
    color: black;
    width: 100%;
}

.subject
{
    color: #01549c
}**/



/** bluefooter = BottomMenu **/



/** blackfooter = Bottom Footer **/

.blackfooter
{
    background-color: #003b8b;
    height: 38px;
    text-align: left;
    color: #ffffff;
}

.blackfooter a {
	color:#ffffff;
	font-size:14px;
	padding:0 15px 0 10px;
	
}
.blackfooter li 
{
    white-space:nowrap;
}

.blackfooter .breadcrumb > li:before{
  content: "|";
  color:#BB2679;
}

.blackfooter .breadcrumb > li.copyright:before,
.blackfooter .breadcrumb > li:nth-child(2):before
{
  content: normal;
}

/* copyright */
.blackfooter .breadcrumb li.copyright {
	padding:5px 25px 0 0;
	font-size:15px;
}

/* hide copyright for mobile size */
.blackfooter .breadcrumb li.copyright.mobile 
{
    display:none;
}




/** Contentpage **/

/*left navigation*/

/* hide mobile menu */
 .innerpage .mobilemenu 
 {
     display:none;
 }

/* well = left navigation */
.well
{
    padding-left: 0px;
    padding-top: 0px;
    padding-right: 10px;
    background-color: #ffffff;
    border: 0px none transparent;
    box-shadow: none;
    width:250px;
    /**font-family:'Interstate Regular';**/
    font-size:16,5px;
    margin:30px 0 0 -15px;
}

.well > a 
{
   /**color:#231F20;**/
   font-weight:bold;
   display:inline-block;
   padding-left: 1em;
   text-indent: -0.7em;
   line-height:17px;
}

.well .nav
{
    padding-top: 6px;
    margin-left:0px;
    padding-right:40px;
    padding-left:12px;
}


.well .nav li
{
    /**font-family:'Interstate';
	font-style: normal; 
	font-weight: normal;**/
    font-size: 17px;
    padding-bottom: 5px;
    background-image:none;
    padding-left:0px;
    padding-top:0px;
    line-height:22px;
    
}

.well .nav li a
{
    font-family: Arial;
    font-weight: bold; 
    background-color: #ffffff;
    padding-left: 0px;
    padding-top: 4px;
    padding-bottom: 1px;
    font-size: 15px; 
    line-height:17px;
    display:inline-block;
}

/* selected upper level on navigation */
.well .nav li.active a, 
.well .nav li.active {
	font-weight:bold;
}

.well .nav li.active ul li a 
{
    font-weight:normal;
}

.well .nav li.active ul.level2 li.active > a 
{
    font-weight:bold;
}


/* selected link */
.well .selected a, 
.well .selected {
	color:#b6006c;
	font-weight:bold !important;
}

.well .selected ul li a 
{
  color:#0076BD;
  font-weight:normal !important;
}

.well a:before
{
    content:"\203A "; /** › **/
    color: #b6006c;
    padding-right:5px;   
}

.well .level1 li a {
	padding-left: 1em;
    text-indent: -0.7em;
}

.well .level2 
{
    margin-left:30px;
    padding-top:5px;
}

.well .level2 li a:before, 
.well .level3 li a:before {
	content:normal;
}

.well .level2 li a {
	padding-left:0px;
	text-indent:0px;
	font-weight:normal;
}

.well .level3 {
    margin-left:20px;
    padding-left:0;  
    padding-top:5px;  
}

.well .level3 li 
{
    background:url(images/list_bullet_disc.png) left 10px no-repeat;   
    padding-left:10px;
}

.well .level3 li a {
	padding-left:0px;
	font-weight:normal;
}



/* breadcrumb inner = contentpage breadcrumb */
.inner
{
    padding-top: 6px;
    padding-bottom: 0px;
    padding-left: 0px;
    text-align: left;
    font-weight: normal;
    font-size: 11px;
    color:gray;
}

/**.inner > li + li:before  {
    color: #b6006c;
    font-weight: bold;   
}**/


/* container for innerpage (breadcrumb + sidebar + content) */
.innerpage
{
    padding-top: 20px;
    font-size: 16px;
	line-height: 153%;
	margin-bottom:25px;
}

.innerpagecontent H1
{
    padding: 0px;
    margin-top: 0px;    
    padding-top: 21px;
    padding-bottom: 8px;
}

.innerpagecontent .ingress 
{
    font-weight:bold;
    margin-bottom:10px;
    display:block;
}

#sidebar .row {
    margin-left: 0;
    margin-right: 0;
}

#sidebar .row:first-of-type {
    border-top: 3px solid #80DDED;
    padding-top: 8px;
}

#sidebar #subnav #mobile-sidemenu-open {
    display: none;
}

/**.innerpagecontent h4.sidetitle 
{
    font-family:Arial;
    font-size:13px;
    font-weight:bold;
    margin:0px;
    padding:0px;
}

.innerpagecontent #keywords a 
{
    font-size:13px;
}**/

/**.innerpagecontent {
    padding-left:15px;
}**/

.innerpagecontent .side-by-side-content {
    float: left;
    width: 47%;
    overflow: hidden;
}
    .innerpagecontent .side-by-side-content.first {
        margin-right: 3%;
    }


    /*Erillissivustolle oma*/
    .content_main .side-by-side-content {
    float: left;
    width: 47%;
    overflow: hidden;
}
    .content_main .side-by-side-content.first {
        margin-right: 3%;
    }

.nopadding
{
    padding-left: 0px;
}

/* pagetitle on top of left navigation */
.pagetitle, .pagetitle a, .pagetitle a:hover
{
    font-family: arial; 
    font-style: normal; 
    font-weight: normal;
    font-size: 25px;  
    color:#0076bd;  
}

/* sidetitle on the right side */
.sidetitle
{
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}

.sidetitle a 
{
    color:#231F20;
}

.sidelinks
{
    padding-bottom: 26px;
    padding-top:15px;
    display:block;
    clear:both;
    
}

.rightside a#A1 
{
    display:block;
    float:left;
}

.rightside a#A1:before {
    color: #B6006C;
    content:"\203A "; /** › **/
    font-weight: bold;
    padding-right: 2px;
}

/**.sidelinks a:after 
{
    content:", ";
}**/

.sidelinks a:last-child:after 
{
    content:normal;
}


/* coloured boxes on the rightside  */
.rightside .green 
{
    background-color: #68c1c4;
}

.rightside .gradient {
    border-radius: 4px;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    color: #ffffff;
    background-image: none;
    font-size: 15px;
    /* padding:8px 7px 0 7px; commented out cause rightside already have paddings applied */
}



.rightside .gradient h4 
{
    margin-top:0px;
}

.rightside .gradient ul
{
    padding-top: 10px;
}


.rightside .gradient ul
{
   margin-left:0px;
}

.rightside .gradient ul li
{
    background:url(images/list_bullet_disc_white.png) left 10px no-repeat; 
 
}

.rightside .gradient ul li ul li
{
    background:url(images/list_bullet_disc_white_circle.png) left 10px no-repeat; 
 
}

.rightside .gradient ul li.linklist_item
{
    background:none;
}

.rightside .gradient ol 
{
    padding-left:0px;
}

.rightside .gradient ol li:before  {
       color: #ffffff; 
 }
 



.rightside .gradient ul li, .rightside .gradient ul li a,
.rightside .gradient ol li, .rightside .gradient ol li a,
.rightside .gradient p a, .rightside .gradient p
{
    color:#ffffff;
    font-size:14.5px;
}
{
    color:#ffffff;
    font-size:14.5px;
}

.rightside .gradient p.linklist_item
{
    padding-left:10px;
}


.rightside .gradient .sidetitle
{
    font-family: "Interstate Light"; 
    font-style: normal; 
    font-weight: normal;
	color:#ffffff;
    font-size: 21px !important;
    /**border-bottom: 2px dashed #ffffff;**/
    background:url(images/bg_dashed_white.png) left bottom repeat-x;
    padding-bottom:15px;
}

.rightside .gradient.box1 .sidetitle, .rightside .gradient.box2 .sidetitle
{
    background:url(images/bg_dashed_black.png) left bottom repeat-x;
}


.rightside .gradient .sidetitle a
{
    color:#ffffff;
}

.rightside .gradient ul li, .rightside .gradient ul li a,
.rightside .gradient p a, .rightside .gradient p
{
    color:#ffffff;
    font-size:14.5px;
}

.rightside .listitem
{
    font-family: Arial;
    font-size: 15px;
    color: #b6006c;
    font-weight: bold;
}

.rightside .gradient .list-group .list-group-item 
{
    background-image:none;
    padding:3px 0 3px 0;
}

.rightside .gradient a.linklist_item 
{
    line-height:16px;
    display:inline-block;
    padding-top:3px;
}


.rightside .gradient a.linklist_item:before, 
.rightside .gradient p.linklist_item a:before,
.rightside .gradient ul.bluelink a:before {
    color: #ffffff;
}




 /** black font color for yellow and yellowgreen boxes **/
.rightside .gradient.box1 ol li:before,  .rightside .gradient.box2 ol li:before,
.rightside .gradient.box1 ul li, .rightside .gradient.box2 ul li, 
.rightside .gradient.box1 ul li a, .rightside .gradient.box2 ul li a,
.rightside .gradient.box1 p a, .rightside .gradient.box2 p a,
.rightside .gradient.box1 .sidetitle, .rightside .gradient.box2 .sidetitle,
.rightside .gradient.box1 .sidetitle a, .rightside .gradient.box2 .sidetitle a,
.rightside .gradient.box1 ul li, .rightside .gradient.box2 ul li, 
.rightside .gradient.box1 ul li a, .rightside .gradient.box2 ul li a,
.rightside .gradient.box1 ol li, .rightside .gradient.box2 ol li, 
.rightside .gradient.box1 ol li a, .rightside .gradient.box2 ol li a,
.rightside .gradient.box1 p a, .rightside .gradient.box2 p a,
.rightside .gradient.box1 p, .rightside .gradient.box2 p,
.rightside .gradient.box1 a.linklist_item:before, .rightside .gradient.box2 a.linklist_item:before, 
.rightside .gradient.box1 a.linklist_item:before, .rightside .gradient.box2 a.linklist_item:before,
.rightside .gradient.box1 p.linklist_item a:before, .rightside .gradient.box2 p.linklist_item a:before,
.rightside .gradient.box1 ul.bluelink a:before, .rightside .gradient.box2 ul.bluelink a:before  
 {
       color: #231F20; 
 }
 
 .rightside .gradient.box1 .sidetitle, .rightside .gradient.box2 .sidetitle 
 {
     border-color: #231F20;
 }
 
 .rightside .gradient.box1 ul li, .rightside .gradient.box2 ul li 
 {
     list-style-type:disc;
     background-image:none;
     margin-left:15px;
     padding-left:0px;
 }
 
 .rightside .gradient.box1 ul li ul li, .rightside .gradient.box2 ul li ul li
 {
     list-style-type:circle;
 }

/* Some margin for content on the right side */
 .msTableTdFronRight > div {
    margin-left: 9%;
    margin-right: 7%;
}


/* keywords (bottom of a content page content) */
.keywords
{
    font-size: 13px;
    padding-bottom: 10px;
}

/* info = print link, date and add this toolbar (bottom of page content) */
.info 
{
    margin:5px 0 10px 0;
}

.info a 
{
    margin-left:3px;
}

    .info .date_print a:before,
    .addthis_button_compact:before {
        /*
    content:"|";
    color:#BB2679;
    font-weight:bold;
    padding-right:5px;
    font-family:Arial;
        */
    }


.row.info .date_print {
    color: #73767C;
    font-size: 16px;
    line-height: 153%;
}

.info .date_print 
{
    display:inline;
    float:left;
}

.info .addthis_toolbox 
{
    margin-left:3px;
    display:inline;
    float: right;
    width: 186px;
}

.info .addthis_toolbox img {
    width: 35px;
}


.addthis_button_compact {
    color: #333 !important;
}


.addthis_button_compact:hover {
    color: #2E49B0 !important;
    text-decoration: underline;
}

.list-group-item
{
    background-color: transparent;
    border: 0px none transparent;
    padding-bottom: 7px;
    padding-left: 0px;
    padding-top: 0px;
}


.bluelink a
{
    padding-left: 2px;
    font-size: 15px;
	display:inline-block;
	padding-left: 1em;
    text-indent: -0.8em;
	
}
ul.bluelink a:before {
	content:"\203A "; /** › **/
	padding-right:5px;
	color:#b6006c;
	font-weight:bold;
}

ul.bluelink
{
	margin:0px;
	padding:15px 15px 15px 0;
	list-style-type:none;
}

 ul.bluelink li {
	padding:3px 5px 3px 5px;
	background:none;
}

ul.bluelink li  a
{
    line-height:18px;
}

ul li ul.bluelink li 
{
    background:none;
}



ol.bluelink {
	color:#b6006c;
	margin-left:20px;
}

/* sitemap */
ul.sitemap 
{
    margin-left:0px;
}

ul.sitemap li 
{
    padding: 3px 0 3px 0;
    font-size:15px;
    font-weight:bold;
    list-style-type:none;
    background:none;
}

.sitemap li a:before {
    color: #B6006C;
    content:"\203A "; /** › **/
    padding-right:5px;
}

.sitemap li li a:before {
    content: normal;
}

ul.sitemap li li 
{
    font-weight:normal;
    background:url(images/list_bullet_disc.png) left 13px no-repeat;
    padding-left:10px;
}

ul.sitemap li li li 
{
    font-weight:normal;
    background:url(images/list_bullet_circle.png) left 13px no-repeat;
}


/** FeedbackForm **/
.xForm h2 {
    padding: 1em 0;
    margin: 0;
}
.xForm .heading {
    font-weight: bold;
    font-size: 1em;
    padding: 0;
    margin: 0.4em 0em;
}
.xForm #id_matrix {
    width: 100%;
    margin: 0;
    padding: 0;
}
.xForm #id_matrix td {
    border: 0;
    margin: 0;
    padding: 0.2em 0;
}
span.xformvalidator {
    color: Red;
}
.xForm input, .xForm .options {
    float: left;
}
.xForm fieldset {
    border: 0px solid #cdcdcd;
    float:left;
    width:100%; margin-top:10px; margin-bottom:10px;
}
    .xForm fieldset br {
        display: none!important;
    }
.xForm legend {
    color: #666;
    padding: 10px 5px;
}
.xForm label {
    line-height: 1.7em;
    margin-right: 0.5em;
    float: left;
    width: 100%;
    font-weight: bold;
}
#id_matrix br {
    clear: both;
}
.thankyoumessage {
    padding: 1em 0;
    margin: 0;
    font-weight: bold;
}
.xForm input.value, .xForm textarea.textbox 
{
    padding-top: 5px;
    width: 200px;
} 
.xForm textarea {
    margin-bottom:20px;
    width: 360px;
    max-width: 90%;
}
.xForm input[type="text"] {
    width: 360px;
    max-width: 90%;
}

.xForm input[type="submit"] {
    background: none repeat scroll 0 0 #efefef;
    border: 1px solid #cccccc;
    color: #444444;
    font-size: 13px;
 
    padding: 6px;
   width: 120px;
}
    .xForm input[type="submit"].xformuploadbtn {
        height: 21px;
        padding: 0;
        margin-top: 0px !important;
    }


.xForm .xformvalidator {
    color: red;
    font-weight: bold;
    font-size: 15px;
    display: block;
    text-align: left;
}

/** Search **/
.linkbutton  
{
    color: #0076bd; 
    cursor: pointer; 
    clear:both; 
 }
 .linkbutton:hover 
 {
     color:#003b8b;
 }
 
.linkbutton:before { 
    color: #B6006C;
    content: "\203A";
    font-weight: bold;
    padding-right: 5px; 
}

#searchOptions table td 
{
    border:none;
    padding:0px;
}

#searchOptions table td label 
{
    font-weight:normal;
}

.searchOptionsHeader 
{
    font-weight:bold;
    margin-top:15px;
}


.listResult h3 img 
{
    margin:0 5px 3px 0;
}

.listResult 
{
    border-bottom: 1px solid #E4E4E5;
}


/** KeywordIndexBlockControl (Asiasanaluettelo) **/

.keywordblock .letters 
{
    margin:10px 0 30px 0;
}

.keywordblock .letters a:before {
     color: #BB2679;
    content: "|";
    padding-right:5px;
}

.keywordblock .letters a:first-child:before 
{
    content:normal;
}

.keywordblock h4 
{
    text-transform:uppercase;
}

.keywordblock ul li, .keywordblock ul li ul li 
{
    background-image:none;
    padding-left:0px;
}

.keywordblock ul, .keywordblock ul ul 
{
    margin-left:0px;
}

.keywordblock ul li {
    border-top: 3px solid #CCCCCC;
    padding-bottom:5px;
    width:170px;
    display:inline;
    float:left;
    margin-right:15px;
}

.keywordblock ul li:nth-child(3n+1) 
{
   clear:both;
}


.keywordblock ul ul li
{
    border-top:none;
    display:block;
    min-height:0px;
    clear:none !important;
}

/** keywordsearch (FAQMainPage) **/
.keywordssearch 
{
    display:block;
    clear:both;
}

.keywordssearch .keywordscolumn 
{
    margin-top:10px;
    float:left;
    width:130px;
    margin-right:20px;
    /**border-top: 3px solid #CCCCCC;**/
    padding:5px 0 0 2px;
}


.keywordssearch .keywordscolumn:nth-child(4n) 
{
    clear:both;      
}

.keywordssearch a 
{
    line-height:18px;
    display:inline-block;
    padding-bottom:7px;
}


/* End of contentpage */


/** ResolutionSearch (Ratkaisuhaku) **/

input[type="text"].txtSearch,
input[type="submit"].btn 
{
    margin-top:15px;
}

.resultblock 
{
    border-bottom: 1px solid #CCCCCC;
    padding-top:10px;
    margin-top:20px;
}

.resolution_search 
{
    /**background-color: #F1F6F9;**/
    /**border: 1px solid #CCCCCC;**/
    border-radius: 5px;
    padding: 30px 20px 30px 0px;
    margin-top:20px;
}

.rqSearch {
    color:#b94a48;
    font-weight:bold;
    font-size:22px;
}

#dcol {
    margin-bottom:20px;
    clear:both;
}

.tbSearch 
{
    margin-bottom:20px;
    
}

#acol:before {
    color: #B6006C;
    content:"\203A "; /** › **/
    font-weight:bold;
    padding-right:5px;
}

#searchExtent a 
{
    font-size:12px;
}



#searchExtent a.deselectall:before
{
  content:"|";
  padding-right:5px;
  color:#BB2679;
  font-weight:bold;
 font-size:12px;
}

/**#searchExtent a:before {
    color: #B6006C;
    content: "\203A";
    font-weight: bold;
    padding-right: 5px;
}**/



.lbInBetween, .ltKilpailu, .ltKuluttaja, .ltToimiala  {
    font-weight:bold;
    font-size:15px;
    color:#333333;    
}

input.datePicker  
{
    width:100px;
    margin-bottom:30px;
    float:none;
}

.ui-datepicker {
    width:auto;   
    margin-bottom:30px;
    background:#ffffff;
    padding:10px;
    border:solid 1px #cccccc;
    border-radius:5px;
}

.ui-datepicker .ui-datepicker-prev 
{
    cursor:pointer;
}

.ui-datepicker .ui-datepicker-prev:before 
{
    content:"\2039 "; /** ‹ **/
    padding-right:5px;
    font-size:15px;
}

.ui-datepicker .ui-datepicker-next 
{
    float:right;
    cursor:pointer;
}
.ui-datepicker .ui-datepicker-next:after 
{
    content:"\203A "; /** › **/
    padding-left:5px;
    font-size:15px;
}

.ui-datepicker select 
{
   margin:5px;
   
}

.Kilpailu, .Kuluttaja, .Kilpailu td, .Kuluttaja td, .Industry, .Industry td {
    border:none;
    padding:0px;
}

.Kilpailu td label, .Kuluttaja td label, .Industry td label {
   font-weight:normal;
   font-size:14px;
   /**font-family: 'Open Sans', sans-serif; **/
   padding-left:3px;
   
}

.searchResults 
{
    margin-top:20px;
}

.searchResults .lbParties p {
    margin-bottom:0px;
}

.searchResults a {
    display:block;
    font-weight:bold;
}

.searchResults .lbIDRow 
{
    font-size:12px;
}

 .result {
   margin-bottom:10px; 
   /**border-bottom: 1px solid #E4E4E5;**/
   padding-bottom:10px;
}

.result p 
{
    margin-bottom:0px;

}

.result a.resultLink
{
    font-weight:bold;
}

.result span 
{
    font-size:12px;
}

.result .keywords 
{
    display:block;
    
}

.result .keyword 
{
    font-weight:normal;
   
    display:inline;
}

.PagingContainer 
{
    margin-bottom:20px;
    float: left;
    clear: both;
}

.PagingContainer ul 
{
    margin-left:0px;
}

.PagingContainer ul li 
{
    display:inline;
    background-image:none;
    padding: 0 3px 0 0;
    font-size:14px;
}

.PagingContainer ul li:before 
{
    color: #BB2679;
    content: "|";
    padding-right:5px;
    font-weight:bold;
}

.PagingContainer ul li:first-child:before  
{
    content:normal;
}

.PagingContainer ul li a 
{
    font-size:14px;
}

.searchResults .pager a, .searchResults .pager span {
     display:inline;
     font-weight:normal;
     font-size:14px;
}

.pager 
{
    float:left;
    margin-top:10px;
}

.pager a:before, .pager span:before {
    color: #000;
    content: "|";
    padding-right: 5px;
    font-weight:bold;
}

.pager a:first-child:before 
{
    content:normal;
}

.pager .aspNetDisabled 
{
    display:none;
}


/**.searchResults .pager a:before 
{
  content: "|";
  color:#BB2679;
  padding-right:3px;

}**/

.resolution_info 
{
    font-size:12px;
    padding:10px 0 20px 0;
    font-style:italic;
}

.resolution_info .info_label 
{
    font-weight:bold;
}

.Casenumber 
{
    margin-bottom:25px;
}

.AdditionalLinks ul li, .ExternalLinks ul li
{
    background-image:none;
}

.AdditionalLinks ul li a, .ExternalLinks ul li a
{
    
    line-height: 16px;
    padding-top: 3px;
    padding-left: 1em;
    text-indent: -0.8em;
    display:inline-block;
   
}

.AdditionalLinks ul, .ExternalLinks ul
{
    margin-left:0px;
    padding-left:0px;
}

.AdditionalLinks ul li, .ExternalLinks ul li
{
    padding-left:0px;
}

.AdditionalLinks ul li a:before, .ExternalLinks ul li a:before
{
    color: #B6006C;
    content: "\203A";
    font-weight: bold;
    padding-right: 5px;
}


/**DebtAndFinancialAdviceContactSearch (talous- ja velkaneuvonta) **/

.letters 
{
    margin-bottom:20px;
}

.letters .separator 
{
    color:#BB2679;
}

.alphabeticalGroup 
{
    margin-top:10px;
    float:left;
    width:130px;
    margin-right:15px;
    border-top: 3px solid #CCCCCC;
    padding:5px 0 0 2px;
}


 .alphabeticalMunicipalities .alphabeticalGroup:nth-child(3n+2) 
{
    clear:both;      
}

.alphabeticalGroup span 
{
    font-weight:bold;
    clear:right;
}

.searchResults .contact 
{
    padding:0;

}

.searchResults .contact h2 
{
    margin:30px 0 10px 0;
}


.searchResults .contactrow 
{
    margin:10px 0 10px 0;
}

.searchResults .contactrow.address1 
{
    margin-bottom:0px;
}

.searchResults .contactrow.address2 
{
    margin-top:0px;
}

.searchResults .contactrow .lblWww 
{
    float:left;
   padding-right:5px;
}

.searchResults .contactrow .www a
{
    font-weight:normal;
}

.searchResults .contactrow a 
{
    display:inline;
    font-weight:normal;
}


/** ContactSearch, ContactList (Yhteystiedot) **/

h2.contact_header,
h3.contact_header,
h4.contact_header
{
    font-family:Arial; 
}

h2.contact_header 
{
    font-size:27px;
}

h3.contact_header 
{
    font-size:22px;
}

h4.contact_header 
{
    font-size:18px;
}

ul.abgroup 
{
    margin-left:0px;
}

ul.abgroup li 
{
    padding:0 0 10px 0;
    background-image:none;
    font-size:12px;
}

ul.abgroup .name 
{
    font-weight:bold;
    font-size:15px;
    display:block;
}

ul.abgroup .designation 
{
    font-weight:bold;
}

.contact 
{
    padding:30px 0 30px 0;
}

.contact .designation 
{
    
    font-size:17px;
}

.contact h2 
{
    margin:8px 0 20px 0;
}


.contact .contactgroups 
{
    margin-top:15px;
}

.contact .phone 
{
    margin-top:10px;
}

.contact .email
{
    margin-bottom:10px;
}

/** Marek  **/
.abgroup h3 img 
{
    
    
}

/**.abgroup h3 img:before 
{
  font-family: 'Glyphicons Halflings';
  content: "\e084";   
  color:#0076bd;
  padding-right:10px;
  
}**/

.abgroup.marek li 
{
    padding-top:15px;
    font-size:15px;
}

.abgroup.marek li div
{
    display:block;
    clear:both;
}

.abgroup.marek h3  
{
    display:inline;
    float:left;
    margin-top:8px;
    width:220px;
}



.glyphicon-ok-sign
{
    color:#0076bd;
    font-size:32px;
    margin:5px 0  0 10px; 
    cursor:default;
}

.glyphicon-exclamation-sign 
{
    color:#B6006C;
    font-size:32px;
    margin-left:10px;
    cursor:default;
}



.abgroup.marek .BusinessTypes 
{
    font-weight:bold;
}


/** Login page (to extranets) **/

.loginpage 
{
    padding-top:30px;
}


.loginpage.container
{
    width:350px !important;
    margin:auto;
}

.loginpage.innerpage 
{
    padding:15px;
     background-color: #F1F6F9;
     margin-top:10px;
     border-radius:5px;
}

.loginpage .row table 
{
    padding:0px;
}

.loginpage .row table td 
{
    text-align:left;
    padding:2px 10px 2px 0;
    border:0px;
    vertical-align:middle;
}

.loginpage .row table td input[type="text"],
.loginpage .row table td input[type="password"]
{
    float:left;
    width:150px;
}
.loginpage .row table td span 
{
    float:left;
    color:#b94a48;
    font-weight:bold;
    font-size:22px;
    margin-top:10px;
}

.loginpage .row table td input[type="submit"]
{
    float:right;
    margin-right:15px;
}


#Main_MainContent_ctrlLogin label 
{
    color:#333333;
    
}
.loginpage.blackfooter,
.loginpage.blackfooter ul
{
    background-color:#ffffff;
    color:#231F20;
    padding:5px 0 0 0;
}

.loginpage.blackfooter ul li:before 
{
    content:normal;
}



.loginpage .navbar-toggle 
{
    display:none;
}


/** Keywords (Admin) **/
.formKeywords 
{
    padding-left:25px;
    font-size:14px;
}

.formKeywords .dataTables_length
{
   width:200px;
   display:inline-block;
}

.formKeywords .dataTables_filter  
{
 
   display:inline-block;  
}

.formKeywords .dataTables_length select 
{
   margin: 0 0 10px 5px;
  background: transparent;
   padding: 5px;
   line-height: 1;
   border: 1px solid #CCCCCC;
   border-radius: 3px;
   height: 34px;
   -webkit-appearance: none; 
   font-size:14px;
}

.formKeywords .dataTables_length select option 
{
   
}

.formKeywords .tblKeywords {
    border-spacing: 0;

}

.formKeywords .tblKeywords td  
{
    vertical-align:middle;
}

.formKeywords .tblKeywords tr:nth-child(even) 
{
    background:#f2f9fd;
}


.formKeywords .tblKeywords td input[type="text"]
{
    width:150px;
}

.formKeywords .tblKeywords td input[type="button"] 
{
    background:transparent;
    border:0px;
    cursor:pointer;
    color: #0076BD;
}

.formKeywords .tblKeywords td input[type="button"]:hover 
{
    color: #003B8B;
}


.formKeywords .tdGroupPopup  .grouppopup table tr 
{
    background:#ffffff;
}

.formKeywords .tdGroupPopup  .grouppopup table td 
{
    border:0px;
    padding:0px;
}

/**.formKeywords .dataTables_info 
{
   padding-left:20px; 
}**/

.formKeywords .dataTables_paginate 
{
    margin-top:10px;
}

.formKeywords .dataTables_paginate a 
{
    padding-right:20px; 
}

.formKeywords .dataTables_paginate .paginate_disabled_previous,
.formKeywords .dataTables_paginate .paginate_disabled_next 
{
    color:#999999;
}


.formKeywords .dataTables_paginate a:first-child:before
{
    content:"\2039 "; /** ‹ **/
    font-weight: bold;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    padding-right: 5px;
    font-size:15px;
}

.formKeywords .dataTables_paginate a:last-child:after {
    content:"\203A "; /** › **/                                                                               
    padding-left:5px;
    font-size:15px;                                                 
}

.formKeywords input[type="submit"] 
{
    width:155px;
    cursor:pointer;
}

.formKeywords #btnUpdate,
.formKeywords #btnUpdateGroups,
.formKeywords #btnSave 
{
    background:#0076bd;
}

.formKeywords #btnUpdate:hover,
.formKeywords #btnUpdateGroups:hover,
.formKeywords #btnSave:hover
{
    background:#004874;
}

.formKeywords .dataTables_wrapper 
{
    padding-top:40px;
}

.formKeywords #pnlEditItem 
{
    padding-top:20px;
}

.formKeywords #pnlEditItem table 
{
    padding:0px;
}

.formKeywords #pnlEditItem table td 
{
    border:0px;
    padding:5px 5px 5px 0;
    vertical-align:middle;
}

.formKeywords #pnlEditItem #btnSave 
{
    float:right;
    width:70px;
}



/** Feedbacks (Admin) **/

.formFeedbacks input[type="text"],
.formSignatures input[type="text"]
{
    float:none;
}

.formFeedbacks, .formSignatures {
    padding-left: 25px;
    font-size:14px;
}

.formFeedbacks .tblFeedbacks,
.formSignatures .tblSignatures 
{
    border-spacing: 0;
}

.formFeedbacks .tblFeedbacks td,
.formSignatures .tblSignatures td
{
    vertical-align:middle;
}

.formSignatures .tblSignatures input[type="submit"] 
{
    font-size:12px;
    height:28px;
    width:80px;
}

.formSignatures #pnlEditItem table td 
{
     border:0px;
    padding:5px 5px 5px 0;
    vertical-align:middle;
}

.formSignatures #pnlEditItem table td #btnSave 
{
    float:right;
    margin-right:2px;
    background:#0076bd;
}

.formSignatures #pnlEditItem table td #btnSave:hover
{
    background:#004874;
}

#FeedbackAnswer_pnlFeedback a:before
{
    content:"\2039 "; /** ‹ **/
    font-weight: bold;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    padding-right: 5px;
    font-size:15px;
    color:
}

.feedbackAnswer 
{
    margin-top:15px;
    }


.answerLabel 
{
    width:150px;
    display:inline-block;
    float:left;
}

.feedbackAnswerRow 
{
    vertical-align:top;
    padding:5px 0 5px 0;
}

.feedbackAnswerRow table 
{
    padding:0px;
}

.feedbackAnswerRow table td 
{
    border:0px;
    padding:0px;
}

.answerChk 
{
    display:inline-block;
}



.feedbackAnswerRow select 
{
  background: transparent;
   padding: 5px;
   line-height: 1;
   border: 1px solid #CCCCCC;
   border-radius: 3px;
   height: 34px;
   -webkit-appearance: none; 
   font-size:14px;
}

.feedbackAnswerBtnsRow 
{
    margin:15px 0 25px 0;
}

.feedbackAnswerBtnsRow input[type="submit"] 
{
   
    background:#0076BD;
}

.feedbackAnswerBtnsRow input[type="submit"]:hover
{
   
    background:#004874;
}

.feedbackAnswerBtnsRow #FeedbackAnswer_btnRemove 
{
    background:#B6006C;
}

.feedbackAnswerBtnsRow #FeedbackAnswer_btnRemove:hover
{
    background:#6C0040;
}


.feedbackAnswerBtnsRow #FeedbackAnswer_btnSaveSend,
.feedbackAnswerBtnsRow #FeedbackAnswer_btnRedirectToAddress {
    width:auto;
}

.newslist {
    margin-top: 25px;
    float: left;
    clear: both;
}
.newslist div {
    display: inline-block;
}


    .newslist ul .clearfix:first-child div {
        padding: 0;
    }

.newslist .topNews > div {
    padding: 0;
}
    .newslist time {
        color: #333;
        width: 84px;
        float: left;
        clear: both;
    }
        .newslist a {
            font-size: 17px;
            display: inline;
            float: left;
            clear: both;
        }
    .newslist .clearfix {
        display: block;
        padding-bottom: 5px;
        float: left;
        clear: both;
        margin-bottom: 15px;
    }
    .newslist .clearfix::before,
    .newslist .clearfix::after {
        display: inline !important;
    }
    .newslist .clearfix .ingress {
        float: left;
        clear: both;
        padding: 0;
        margin-bottom: 16px;
    }
        .newslist .clearfix .ingress p {
            margin: 0;
        }

    .newslist .topNews {
        float: left;
        clear: both;
    }
.newslist li p, .newslist .topNews p {
    margin: 2px 10px;
    color: #616161;
}
.newslist .topNews p {
    margin-left: 85px;
}
.newslist .topNews > div {
    width: 100%;
    border-left: 4px #ff6a53 solid;
    padding: 10px 0 10px 4px;
    margin-left: -4px;
}
    .newslist .topNews a {
        font-size: 18px;
    }


/* Owl Carousel-karuselli */

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-carousel .owl-dots .owl-dot {
    background: transparent;
    border: 2px solid #FFF;
    border-radius: 50%;
    margin: 8px 4px;
    height: 12px;
    width: 12px;
}

.owl-carousel .owl-dots .owl-dot.active {
    background-color: #FFF;
}


.hero-lift-container .row {
    /*
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 32px;
        */
}

.hero-lift-container .row .col-sm-12 {
    /*    padding: 0;*/

}

.hero-lift-container .hero-carousel-item {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top: 5px solid #80DDED;
    height: 0;
    padding-top: 30%;
}

.hero-lift-container .hero-carousel-item .hero-carousel-content {
    position: absolute;
    background-color: #EEF8F9;
    border-bottom: 6px solid #80DDED;
    max-width: 30%;
    padding: 24px 32px 32px 32px;
    top: 50%;
    transform: translate(0, -50%);
    left: 110px;
}

.hero-lift-container .hero-carousel-item .hero-carousel-content h2 {
    margin: 16px 0;
}

.hero-lift-container .hero-carousel-item .hero-carousel-content .ingress {
    margin-bottom: 24px;
}

.hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary {
    position: relative;
    background-color: #BAE5E8;
    border-radius: 3px;
    color: #000;
    display: block;
    font-size: 16px;
    line-height: 128%;
    font-weight: 600;
    max-width: fit-content;
    max-width: -moz-fit-content;
    padding: 16px 16px 16px 32px;
}

.hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary::before {
    position: absolute;
    background: url(../../Images/svg/linkki-nuoli.svg) no-repeat center;
    content: "";
    width: 20px;
    height: 20px;
    left: 12px;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary {
        max-width: inherit;
    }
}

/* Karusellin värit */

.hero-carousel-item.pilvi {
    border-color: #80DDED !important;
}

.hero-carousel-item.pilvi .hero-carousel-content {
    background: #FFF !important;
    border-color: #80DDED !important;
}

    .hero-carousel-item.pilvi .hero-carousel-content .btn-primary {
        background: #80DDED !important;
    }

.hero-carousel-item.taivas {
    border-color: #00BBDC !important;
}

.hero-carousel-item.taivas .hero-carousel-content {
    background: #80DDED !important;
    border-color: #00BBDC !important;
}

    .hero-carousel-item.taivas .hero-carousel-content .btn-primary {
        background: #80DDED !important;
    }

.hero-carousel-item.lampi {
    border-color: #009EAA !important;
}

.hero-carousel-item.lampi .hero-carousel-content {
    background: #BAE5E8 !important;
    border-color: #009EAA !important;
}

    .hero-carousel-item.lampi .hero-carousel-content .btn-primary {
        background: #73CAD0 !important;
    }

.hero-carousel-item.usva {
    border-color: #3F57B5 !important;
}

.hero-carousel-item.usva .hero-carousel-content {
    background: #EFF2F9 !important;
    border-color: #3F57B5 !important;
}

    .hero-carousel-item.usva .hero-carousel-content .btn-primary {
        background: #95A3D6 !important;
    }

.hero-carousel-item.metsa {
    border-color: #6CCF5A !important;
}

.hero-carousel-item.metsa .hero-carousel-content {
    background: #F3FBF2 !important;
    border-color: #6CCF5A !important;
}

    .hero-carousel-item.metsa .hero-carousel-content .btn-primary {
        background: #AEE5A4 !important;
    }

.hero-carousel-item.tiili {
    border-color: #E96A55 !important;
}

.hero-carousel-item.tiili .hero-carousel-content {
    background: #FDF3F1 !important;
    border-color: #E96A55 !important;
}

    .hero-carousel-item.tiili .hero-carousel-content .btn-primary {
        background: #F3ADA2 !important;
    }

.hero-carousel-item.pelto {
    border-color: #FDDA24 !important;
}

.hero-carousel-item.pelto .hero-carousel-content {
    background: #FFFCED !important;
    border-color: #FDDA24 !important;
}

    .hero-carousel-item.pelto .hero-carousel-content .btn-primary {
        background: #FEEB87 !important;
    }


.hero-carousel-item.pelto_tumma {
    border-color: #FFB300;
}

.hero-carousel-item.pelto_tumma .hero-carousel-content {
    background: #FFF7E6 !important;
    border-color: #FFB300;
}


    .hero-carousel-item.pelto_tumma .hero-carousel-content .btn-primary {
        background: #FFB300 !important;
    }

.hero-carousel-item.hyvinkaanvesi_sininen .hero-carousel-content .btn-primary {
    background-color: #4b75bc;
    color: #FFF;
}

.hero-lift-container .hero-carousel-item.hyvinkaanvesi_sininen .hero-carousel-content .btn-primary::before {
    background: url(../Images/svg/linkki-nuoli-white.svg) no-repeat center !important;
}


.hero-lift-container .hero-carousel-item.hyvinkaanvesi_sininen .hero-carousel-content {
    background-color: #FFF;
    border-color: #4b75bc !important;
}

.hero-carousel-item.hyvinkaanvesi_sininen {
    border-color: #4b75bc !important;
}

@media (max-width: 1199px) {
    .hero-lift-container .hero-carousel-item .hero-carousel-content {
        max-width: 45%;
        padding: 16px;
        left: 30px; 
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content h2 {
        font-size: 26px;
        margin-top: 0;
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content .ingress {
        font-size: 13px;
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary {
        font-size: 14px;
        padding: 8px 8px 8px 16px;
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary::before {
        left: 0;
    }
}

@media (max-width: 767px) {
    .hero-lift-container .hero-carousel-item {
        border-top: 0;
        padding-top: 75%;
        margin-bottom: 250px /* Säädettävä javascriptilla */
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content {
        background-color: #EEF8F9;
        border-bottom: 0px;
        border-top: 5px solid #80DDED;
        max-width: 100%;
        width: 100%;
        padding: 24px 32px 32px 32px;
        top: unset !important;
        height: 250px;
        bottom: -228px /* Säädettävä javascriptilla ? */;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%);
        text-align: center;
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content h2 {
        font-size: 22px;
        line-height: 123%;
        text-align: left; 
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content .ingress {
        text-align: left;
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary {
        font-size: 13px;
        line-height: 135%;
        padding: 12px 8px 12px 20px;
    }

    .hero-lift-container .hero-carousel-item .hero-carousel-content .btn-primary::before {
        left: 4px;
        top: 10px;
    }

    .owl-carousel .owl-dots {
        /*display: none;*/
        bottom: 272px;
    }

}

@media (max-width: 430px) {
    .hero-lift-container .hero-carousel-item .hero-carousel-content {
        height: 320px;
    }

    .owl-carousel .owl-dots {
        /*display: none;*/
        bottom: 342px;
    }
}

/* Kuvakaruselli */
ul#rotator {
    list-style: none;
}
#carousel-container {
    overflow: hidden;
    width: 100%;
}
    #carousel-container .carousel-inner {
        height: inherit;
    }
        #carousel-container .carousel-inner p {
            display: table;
            margin-left: auto;
            margin-right: auto;
        }
.carousel-control .icon-prev, 
.carousel-control .glyphicon-chevron-left {
    left: 25% !important;
}
.carousel-control .icon-next, 
.carousel-control .glyphicon-chevron-right {
    right: 25%;
}

.carousel .carousel-control.left,
.carousel .carousel-control.right {
    background: none !important;
}

/* Palstasivujen sisältöblokkien tyylit */
/*
.floatingContentBox {
    width: 23%;
    float: left;
    margin: 10px 1% 20px 1%;
}
    .floatingContentBox img {
        max-width: 100%;
    }
    */

.xForm.fileupload p span {
    float: left;
    clear: both;
    padding-bottom: 10px;
}
.xForm.fileupload div input[type=submit] {
    margin-top: -7px;
}
.xForm.fileupload .updateContainer {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 15px;
    float: left;
}


/*media queries*/


/** this is for Windows Phone 8 devices to render correctly in landscape mode **/
@-ms-viewport{
	width: device-width;
}

 
@media screen and (min-width: 1200px) 
{
    
    
 }




/** this media query is only for setting width and padding for header and main menu and position of dropdownmenu **/
@media  screen and (min-width:979px) and (max-width: 1200px) 
{
    
 
    
    
    .navbar-default .navbar-nav > li:first-child a {
        width: 140px;
    }
    .logorow .col-xs-4 {
        padding-right: 15px;
    }
    .dropdown-menu 
    {
       margin-left:-370px; 
    }


}

/* Portrait tablet to landscape and desktop */
@media screen and (min-width: 768px) and (max-width: 979px)  
{
    .logocontainer .logo {
        /*margin-left: 6px;*/
    }
    
     .logo, .logorow 
     {
         /*padding-left:5px;*/
     }
     
     .logo img 
     {
         /*max-width:230px;*/
     }
     
     #MainMenu 
     {
         height:85px;
     }
     
       /** Tietoa ja ohjeita **/
    .navbar-default .navbar-nav > li:first-child  + li > a:first-child 
    {
        width:auto;
    }
    html[lang="sv"] .navbar-default .navbar-nav > li:first-child  + li > a:first-child,
    html[lang="en"] .navbar-default .navbar-nav > li:first-child  + li > a:first-child 
    {
        max-width:140px;
    }
    
    /** Toiminta ja ratkaisut **/
    .navbar-default .navbar-nav > li:first-child  + li  + li > a:first-child 
    {
        width:auto;
        /**max-width:175px;**/
    }
    
    html[lang="sv"] .navbar-default .navbar-nav > li:first-child  + li  + li > a:first-child,
    html[lang="en"] .navbar-default .navbar-nav > li:first-child  + li  + li > a:first-child 
    {
        max-width:150px;
        padding-top:5px;
    }

    /** Ajankohtaista **/
    .navbar-default .navbar-nav > li:first-child  + li + li  + li > a:first-child 
    {
        width:auto;
        max-width:100%;
        padding-left:10px;
    }
    
    html[lang="en"] .navbar-default .navbar-nav > li:first-child  + li + li  + li > a:first-child 
    {
        max-width:100px;
       
    }

    /** Tietoa Hyvinkää:stä **/
    .navbar-default .navbar-nav > li:first-child  + li + li  + li +li > a:first-child 
    {
        width:auto;
        padding-left:10px;
    }
    
    html[lang="sv"]  .navbar-default .navbar-nav > li:first-child  + li + li  + li +li > a:first-child,
    html[lang="en"]  .navbar-default .navbar-nav > li:first-child  + li + li  + li +li > a:first-child 
    {
        max-width:100px;
    }
    
    /** .navbar-header
    {
        clear:both;
        display:block;
        float:none !important;
        margin-top:0px;  
    }**/
      
    .navbar-brand 
    {
        display:none;
    }
      
    /**.navbar 
    {
        max-width: 768px;
    }**/
      
    .navbar-default .navbar-nav > li > a:first-child {
      font-size:16px;
    }
    
    html[lang="en"]  .navbar-default .navbar-nav > li a:first-child,
    html[lang="sv"]  .navbar-default .navbar-nav > li a:first-child {
      font-size:14px;
    }
      
    .navbar-default .navbar-nav > li:first-child a:first-child 
    {
      width:80px;
      padding-left:6px;
    }
    
    html[lang="sv"] .navbar-default .navbar-nav > li:first-child a:first-child,
    html[lang="en"] .navbar-default .navbar-nav > li:first-child a:first-child 
    {
      width:120px;
      padding-left:6px;
    }

.navbar-right 
{
    min-width:160px;
}
    
    .navbar-right .search .text 
    {
        width:125px;
    }
    
    .pull-right 
    {
        padding-left:10px;
        display:inline-block;
    }
    
    .navbar-header 
    {
        display:none;
    }

      .dropdown-menu {
          left:0;
          
          border-left:0px;
          margin-left:0px;
        }
        
        .well 
        {
            width:200px;
        }
        
        
       .container.links,
       .container.announcements,
       .container.statistics,
       .pageheading,
       .container.linkboxes,
       .container.innerpage, 
       .container.blackfooter
       {
            padding-left:5px;
       }
       
      
       
       .container.announcements 
       {
           padding-right:5px;
       }
       
       .boxes .box:first-child 
       {
           margin-left:4px;
       }
        
      .boxes .box6 {
            width: 276px;
       }
        
      /**.links .col-md-4:last-child {
            padding-right: 30px;
       }**/
        
        /**.linkboxes .box4 
        {
            margin-left:30px;
        }**/
        
        /* no margin on the right side for every second linkbox */
        .linkboxes .linkbox:nth-child(3n) 
        {
            margin-right:30px;
        }
         .linkboxes .linkbox:nth-child(2n) 
        {
            margin-right:0px;
        }
        
          /* for ie8 */
        .linkboxes .linkbox:first-child + .linkbox + .linkbox,
        .linkboxes .linkbox:first-child + .linkbox + .linkbox + .linkbox + .linkbox + .linkbox {
          margin-right:30px\9;
        }
        .linkboxes .linkbox:first-child + .linkbox,
        .linkboxes .linkbox:first-child + .linkbox + .linkbox + .linkbox {
              margin-right:0px\9;
        }
        
       
        
        .xForm label 
        {
            text-align:left;
        }
        
        .alphabeticalMunicipalities .alphabeticalGroup:nth-child(3n+2) 
        {
            clear:none;  
        }
    
        .alphabeticalMunicipalities .alphabeticalGroup:nth-child(2n+2) 
        {
            clear:both;      
        }
    
        .keywordblock ul li:nth-child(3n+1) 
        {
            clear:none;
        }
    
        .keywordblock ul li:nth-child(2n+1) 
        {
            clear:both; 
        }
        

        .keywordssearch .keywordscolumn
        {
            clear:both;      
            margin-top:0px;
            padding-top:0px;
            width:100%;
        }
    
        .bluefooter  .col-sm-6 {
            width: 50%;
        }
    
    }
    
    
/** this media query is only for setting  main navigation font size **/    
 @media screen and (min-width: 768px) and (max-width: 830px) 
{
    .navbar-default .navbar-nav > li a:first-child {
        font-size:14px;
      }
     
     
     
     
      
}

 @media screen and (min-width: 992px) {
     #sidebar .sidebar-nav #subnav > ul {
         display: block !important;
     }
 }


@media screen and (max-width: 991px) {
    /* left navigation */
    #sidebar {
        /*padding-left:0px;*/
    }

        /* hide left navigation for desktop */
        #sidebar .sidebar-nav {
            /*display:none;*/
        }

        #sidebar .row {
            display: none;
        }

        #sidebar .sidebar-nav #subnav header {
            display: flex;
            border: 1px solid #000;
            padding: 8px;
            align-items: center;
            justify-content: space-between;
        }

        #sidebar .sidebar-nav #subnav > ul {
            display: none;
            padding-left: 24px;
        }

        #sidebar #mobile-sidemenu-open {
            display: block !important;
            position: relative;
            background: transparent;
            border: 2px solid #2E49B0;
            min-width: 46px;
            padding: 4px 8px;
            animation: 0.2s;
            z-index: 20;
        }

            #sidebar #mobile-sidemenu-open::before {
                position: absolute;
                content: "";
                width: 22px;
                height: 22px;
                background: #FFF url(../../Images/svg/linkki-nuoli-purple.svg) no-repeat 80% 50%;
                background-size: 22px;
                top: 50%;
                left: 60%;
                margin-right: -50%;
                transform: translate(-50%, -50%);
                transition: 0.2s;
            }

        #sidebar #mobile-sidemenu-open.open::before {
            transform: translate(-50%, -50%) rotate(90deg);
            top: 62%;
            left: 54%;
        }
}

/*tablet size*/

@media screen and (max-width: 767px)
 {
     
     /**.row
     {
         max-width: 595px;
     }**/
     
     
     #extraheader {
         display: none;
     }
     
     #epi-quickNavigator
     {
         
         right:0px !important;
     }
     
      #cookieWarning 
     {
         height:100% !important;
     }
     
     #cookieWarning .CookieWarningText 
     {
         float:none;
     }
     
     #cookieWarning input[type="button"] 
    {
        float:none;
        display:block;
        margin:0 0 10px 0; 
    }
     
     /* navbar-header = logo + navigation button */
      .navbar-header 
     {
         display: flex;
         align-items: center;
         width:100%;
         /**min-width:400px;**/
         margin-top: 0px;  
         /**padding-right:20px;**7
         padding-left:4px;
     }
     
      .navbar-brand 
     {
         display:none;
     }
     
     .logo 
     {
         /**float:left;  **/ 
         
     }

     .logorow .logo {
         max-width: 150px;
     }

     .logorow .col-lg-4:first-child 
     {  
         float:left;  
     }
     
     .logorow .col-lg-4:last-child  {
	        padding-left:5px;
       }
     
       .navbar
    {
        background-color: #ffffff;
        border: 0px none transparent;
    
    }
    
     
     /* Navigation */

    /*navibutton*/
    body button.navbar-toggle {
        color: #ffffff;
        margin-right: 0px;
        margin-bottom: 0px;
        float: right;
        height: 38px;
        width: 64px;
        padding-left: 0px;
        background: url("../../Images/svg/sulje.svg") no-repeat scroll right #FFF;
        background-repeat: no-repeat;
        border: 0px white solid !important;
        margin-top: 11px;
    }

        body button.navbar-toggle span.icon-bar {
            display: none !important;
        }

    body .pull-right.toggle_search, body .pull-right.toggle_calendar {
        padding-top: 11px !important;
        padding: 0px;
    }

    body .pull-right.toggle_search {
        display: none;
    }
            

    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        background-color: #FFF;
    }

    .navbar-default .navbar-toggle:focus {
        outline: 1px solid initial !important;
    }

    .navbar-default .navbar-toggle.collapsed {
        background-image: url(../../Images/svg/mobiili-menu.svg);
    }

    .navbar-toggle .icon-bar
    {    width: 29px;
         height: 3px;
    }

         
    /* navbar-collapse opens from navibutton */     
    .navbar-collapse 
    {
        padding:0px;
        /**background:url(images/navbar_open.png) 90% top no-repeat;**/
        border:0px;
	    box-shadow:0px;
	    width:100%;
	    /**padding-right:20px;**/
	    /**height:100% !important;
	    display:block !important;**/
    }
    
    /* blue triangle before opened dropdown list */
        /*
	.navbar-collapse:before {
	    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #DFF2FB;
        border-style: solid;
        border-width: 0 12.5px 13px;
        content: " ";
        height: 0;
        right:35px;
        position: absolute;
        top: 18.5%;
        width: 0;
        
	}*/
     
	.navbar-collapse.in {
		overflow:visible;
	}
	
	.navbar-nav 
	{
	    margin:0 0 10px 0px;
	    background: #dff2fb;
	    padding:10px !important;
	    
	    float:right;
	   /** min-width:300px;
	    max-width:700px;**/
	    width:100%;
	}
	
	/* hide search for desktop */
	.navbar-right.desktop 
	{
	    display:none;
	}
	
	/* show search for mobile/tablet versions on top of navigation */
	.navbar-right.mobile
	{
	    display:block;
	    margin:9px 0 0 0px;
	    border-radius:0px;
	    height:70px;
	    /**min-width:300px;
	    max-width:700px;**/
	    width:100%;
	   padding-left:10px !important;
	}
	
    .navbar-default .navbar-right > li, .navbar-default .navbar-right > li:hover {
        border: 1px solid #68AED8;
        padding: 0;
        float:right;
    }
    
   .navbar-default .navbar-nav > li > a:first-child, .navbar-default .navbar-nav > li > a:first-child:hover {
		/**width:220px;
		max-width:220px;**/
		min-width:200px;
		max-width:100%;
	    /**max-width:100%\9;
		max-width:590px;**/
		width:100%;
		text-align:left;
		padding-top:15px;
		float:left;
	}
	
	html[lang="sv"] .navbar-default .navbar-nav > li > a:first-child,
    html[lang="en"] .navbar-default .navbar-nav > li > a:first-child 
    {
        padding-top:15px !important;
        font-size:14px;
    }
	
	/* navibutton for opening dropdown-menu */
    .navbar-default .navbar-nav li .dropdown-toggle, .navbar-default .navbar-nav li .dropdown-toggle:hover {
        width: 58px;
        /*margin-left:-58px;*/
        float: right;
    }
	
	
	
	
	.navbar-default .navbar-nav > li:last-child > a:first-child, .navbar-default .navbar-nav > li:last-child > a:first-child:hover 
	{
	    padding-top:5px;
	}

    .navbar-default .navbar-nav > li, .navbar-default .navbar-nav > li:hover {
        border-bottom: 1px solid #E1E1E1;
        padding-right: 0;
        /*height:58px;*/
        height: inherit;
        text-align: left;
        position: relative;
        display: flex;
        flex-direction: column;
        clear: both;
        width: 100%;
        min-width: 200px;
        margin-bottom: 10px;
        padding-left: 0px;
        padding-top: 0px;
    }
    
    .navbar-default .navbar-right > li, .navbar-default .navbar-right > li:hover 
    {
        height:auto;
        padding-left: 0px;
        width:100%;
        max-width:340px;
    }


    .navbar-default .navbar-nav > .active, .navbar-default .navbar-nav > .active:hover {
        /**background:none;**/
        background: linear-gradient(#008ECA, #0075A6);
        border-radius: 5px;
        /*height:58px;*/
        margin-bottom: 10px;
    }
	
	.navbar-default .navbar-nav > li a:first-child {
        width:100% !important;
        padding-right:60px;
      }
      
      .navbar-default .navbar-nav > .open > a:first-child:after 
      {
          content:normal;
      }
	
	
	/* hide dropdown-menu for desktop (megamenu) */
	.navbar-nav .open .dropdown-menu 
	{
	   display:none;
	}
	
	/* show dropdown-menu for mobile/tablet versions */
	.navbar-nav .open .dropdown-menu.mobile 
	{
	    display:block;
	    margin:10px 0 10px 0;
	    /**background:url(images/dropdown-menu_open.png) 230px top no-repeat ;**/
	}
	
	/* blue triangle before opened dropdown list */
	.dropdown-menu.mobile:before {
	   /* border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #00568A;
        border-style: solid;
        border-width: 0 12.5px 13px;
        content: " ";
        height: 0;*/
        /**left: 92%;**/
   /*     right:20px;
        position: absolute;
        top: 105%; 
        width: 0;

hyv*/
        
	}
	
.navbar-nav .open .dropdown-menu.mobile  
	{
    /*
		 	margin-left: 2%!important; 
		 	width:96%!important;
		  */
	}



    .navbar-nav .open .dropdown-menu.mobile li {
        background: #FFF;
        float: left;
        min-width: 180px;
        /**max-width:700px;**/
        width: 100%;
        background-image: none;
        padding: 5px 10px 5px 20px;
        clear: both;
        border-radius: 0px 0px 0px 0px !important;
        border-bottom: 0 !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
	
	        .navbar-nav .open .dropdown-menu.mobile {
                border-radius: 0!important;
	        }
	
	        .navbar-nav .open .dropdown-menu.mobile li a, .navbar-nav .open .dropdown-menu.mobile li a:hover   {
	                max-width:100%; overflow:hidden;
             }
             .navbar-default .navbar-nav .open .dropdown-menu.mobile li a, 
             .navbar-default .navbar-nav .open .dropdown-menu.mobile li a:hover   
                {
            color: #000 !important; font-weight:400;
            font-size: 15px;
            padding: 0;
            text-align: left;
        }

    .navbar-nav .open .dropdown-menu.mobile > li > a {
        font-weight: 600 !important;
    }

    .navbar-nav .open .dropdown-menu.mobile li > ul {
        list-style: none;
        margin-left: 0;
        padding-left: 0;
    }

    .navbar-nav .open .dropdown-menu.mobile li > ul > li {
        padding-left: 0;
    }

    .navbar-nav .open .dropdown-menu.mobile li > ul > li:first-child {
        padding-top: 0;
    }

    .navbar-nav .open .dropdown-menu.mobile li > ul > li:last-child {
        padding-bottom: 0;
    }

    .navbar-nav .open .dropdown-menu.mobile li:first-child {
        border-radius: 0px 0px 0px 0px !important;
        padding-top: 15px;
        /**margin-top:10px;**/
    }
	
	.navbar-nav .open .dropdown-menu.mobile li:last-child 
	{
	   border-radius:0px 0px 0px 0px!important;
	    padding-bottom:30px;
	}
	
	.navbar-nav .open .dropdown-menu.mobile  {
		float:left;
		padding:0px;
        margin: 0;
		width:100%;
        background: #FFF;
		/**max-width:700px;**/
	}

    .navbar-nav .open .dropdown-menu.mobile li {
        list-style: none;
    }
	
	.navbar-default .navbar-nav .open .dropdown-menu li a  {
		color:#ffffff !important;
		padding:0px;
		font-size:15px;
	}
	
	.navbar-default .navbar-nav .open .dropdown-menu li a:before 
	{
	    color: #ffffff;
        content:" "; /** › **/
        font-weight: bold;
        padding-right: 5px;
        font-size:15px;
	}
	
	
   /** ul.bluelink a:before {
        color: #82c0df;
        content: ">";
        font-weight: bold;
        padding-right: 5px;
    }**/
 
    /* search */
	.navbar-right {
		width:100%;
		text-align:left;
	}
	
	.navbar-right .search .text {
		 float: left;
        /**max-width: 590px;**/
        /**min-width: 250px;**/
        width:100%;
	}
	
	.navbar-right .search .button 
	{
	    width:58px;
	    background-image:url('images/searchicon.png');
	    background-position:18px 20px;
	    margin-left:-58px;
	}
	
	.navbar-right .search {
		width:100%;
	}
	

    
    /* shoe left navigation for mobile/tablet versions */
    .innerpage .mobilemenu 
    {
        display: none;
        
    }
    
    .innerpage .mobilemenu .sidebar-nav 
    {
        width:100%;
        margin:5px 0 0 0;
        padding:0px;
    }
    
    .innerpage .mobilemenu .sidebar-nav .nav
    {  
        margin:0 0 10px 0;
	    background: #dff2fb;
	    padding: 0 0 0 20px !important; 
	    min-width:300px;
	    max-width:750px;
	    width:100%;
	    height:auto;
    }
    
    .innerpage .mobilemenu .sidebar-nav h3 
    {
        margin-top:0px;
        padding-left:5px;
    }
    
    .innerpage .mobilemenu .nav li a
    {
       background:transparent;
       
    }
    
     .innerpage .mobilemenu .col-3  
     {
         float:left;
         width:100%;
         padding-right:0px;
     }
     
     
    
    .innerpage .mobilemenu .breadcrumb 
    {
        float:left;
        padding-left:5px;
    }
    
    
    /**.innerpage .mobilemenu .breadcrumb > li:after {
        
        content: "/";
        padding-left:1px;
    }**/
  
    
    .innerpage .mobilemenu .breadcrumb li a,.innerpage .mobilemenu .breadcrumb li
    {
        float:left;
        padding-right:2px;
        
    }
    
     .innerpage .mobilemenu .breadcrumb > li:before 
     {
         padding-left:3px;
     }

    .pagetitle, .innerpagebreadcrumb {
        /*display:none;*/
    }
    

     
     /* mainbanner on startpage */
      .banner 
    {
        padding-top:20px;
        height:200px;
        text-align:left;
    }
    
     .banner div 
    {
        font-size:28px;   
    }
    
    .banner a 
    {
        width:120px;
        font-size: 14px;
        margin-top: 10px;
        padding: 8px 30px 8px 10px;
        background-position:90px 5px;
    }

      
    .advertisement 
    {
        background-position:right top;
    }

    /* coloured linkboxes on startpage */
    .boxes .box:first-child 
    {
           margin-left:4px;
    }
    
    .boxes .box 
    {
        border-radius:0px;
    }
    
	.boxes .box6
	{
	    width:134px;
	    
	}
	
	.boxes .box6 h4 a 
	{
	    width:134px;
	}
	
	/* Linksarea on startpage */
	
	.links  {
        padding-left: 4px;
    }
    
    /* Links */
	.startpage.links .list-group 
	{
	    min-height:0px;
	}
	
	.startpage.links .col-md-4:first-child
	{
	    width:276px;
	    border-radius: 5px 5px 0 0;
	    min-height:100%;
	}
	
	.startpage.links .col-md-4 + .col-md-4 
	{
	    width:276px;
	    margin-top:0px;
	    padding-left:15px;
	    border-radius: 0 0 5px 5px;
	    min-height:0px;
	   
	}
	
	.startpage.links .col-md-4 + .col-md-4 + .col-md-4 
	{
	   width:276px;
	   margin-top:10px;
	   border-radius:5px;
	   min-height:0px;
	   
	}
	
	.startpage.links .col-md-4 h4 
	{
	    margin-top:0px;
	   
	    
	}
	
	.startpage.links .col-md-4 + .col-md-4 h4 
	{
	    display:none;
	}
	
	.startpage.links .col-md-4 + .col-md-4 + .col-md-4 h4 
	{
	    display:block;
	}
	
	.startpage.links .col-md-4:first-child .bluelink 
	{
	    padding-bottom:0px;
	}
    

    
    /**.links .col-md-4:last-child {
            padding-right: 30px;
        }**/
	
    
    /* no margin on the right side for every second linkbox */
    .linkboxes .linkbox:nth-child(3n) 
    {
        margin-right:30px;
    }
    .linkboxes .linkbox:nth-child(2n) 
    {
        margin-right:0px;
    }
    
    
    /* for ie8 */
    .linkboxes .linkbox:first-child + .linkbox + .linkbox,
    .linkboxes .linkbox:first-child + .linkbox + .linkbox + .linkbox + .linkbox + .linkbox {
      margin-right:30px\9;
    }
    .linkboxes .linkbox:first-child + .linkbox,
    .linkboxes .linkbox:first-child + .linkbox + .linkbox + .linkbox {
          margin-right:0px\9;
    }
 
    
    
    
    
    /* Announcements on startpage */
    .announcements 
    {
        padding-left:4px;
    }
    
    .announcements h4 
    {
        clear:both;
    }
    
    .announcements a.more 
    {
        margin-bottom:30px;
    }
    
    .statistics 
    {
        padding-left:4px;
        padding-right:4px;
    }
    
    
    .sectionstartpage .pageheading,
    .container.linkboxes,
    .sectionstartpage .container.links
    {
        padding-left:0px;
    }
    
    .innerpagecontent,
    .info,
    .keywords
    {
        padding:0 5px 0 15px;
    }
    
    .keywordblock ul li:nth-child(3n+1) 
    {
        clear:none;
    }
    
    .keywordblock ul li:nth-child(2n+1) 
    {
        clear:both; 
    }
    
  
    
    .alphabeticalMunicipalities .alphabeticalGroup:nth-child(3n+2) 
    {
        clear:both;      
    }
    
    .keywordssearch .keywordscolumn
    {
        clear:both;      
        margin-top:0px;
        padding-top:0px;
        width:100%;
    }

    
    

    /* coloured boxes on rightside of a contentpage */
     .rightside .green,
     .rightside .box1,
     .rightside .box2,
     .rightside .box3,
     .rightside .box4,
     .rightside .box5,
     .rightside .box6,
     .rightside .box7
     {
        max-width:290px;
        float:left;
        margin:0 15px 15px 0;
     }
     
     .rightside .gradient:nth-child(3n) 
     {
         clear:both;
     }
     
     .rightside {
	    padding:35px 5px 35px 15px;
      }
	
	/** Footer **/
    .bluefooter 
    {
        padding-top:0px;
    }
    
    .bluefooter  .col-md-2 {
        width: 100%;
    }


    .bluefooter h3 {
        margin-top: 0px !important;
    } 

    .bluefooter h4 
    {
        
    }

    .bluefooter h4 a
    {
        margin-top:20px;
        padding:5px;
        text-indent:0;
    }

    .bluefooter a 
    {
        clear:both;
    }

    .blackfooter a
    {
        font-size:15px;  
    }
    
    .blackfooter 
    {
        height:auto;
        padding:20px;
    }

    .blackfooter ul
    {
        
	    padding-left:0px;
        margin-left:0px;
	
    }
    
    .blackfooter .breadcrumb li.copyright 
    {
       margin:30px 0 10px 0; 
       background:none;
    }
    
    .loginpage .breadcrumb li.copyright 
    {
        margin-top:0px;
    }
    
    .blackfooter .breadcrumb li.copyright.desktop 
    {
        display:none;
    }
    
     .blackfooter .breadcrumb li.copyright.mobile 
    {
        display:block;
    }


    .blackfooter ul.breadcrumb li 
    {
        display:list-item;
        float: left;
        width:100%;
        text-align:left;
        padding:3px 0 3px 10px;
        background:url(images/list_bullet_disc_pink.png) left 10px no-repeat;
    
    }

    .blackfooter ul li a 
    {
        padding-left:0px;
        margin-bottom:3px;
        float:left;
    
    
    }
    .blackfooter .breadcrumb > li + li:before {
        content: "";
        padding: 0;
    }


    .blackfooter .breadcrumb > li+li:after{
      content: "";

    }

 }

@media screen and (max-width: 650px) {
    .innerpagecontent .side-by-side-content {
        float: left;
        width: 100%;
        overflow: hidden;
    }

        .innerpagecontent .side-by-side-content.first {
            margin-right: 0;
        }
}
 
 /*mobile size*/
  @media screen and (max-width: 480px)
 {
     .container 
     {
         margin:0px;
     }
     
     .logorow .col-lg-3, .logorow .col-lg-6
     {
         padding-left:0px;
     }
     
     .logorow .breadcrumb > li + li:before 
     {
         padding:0 2px 0 2px;
     }
     
     .logorow .breadcrumb2:first-child:after 
     {
        padding:0 2px 0 2px; 
     }

     .navbar-header 
     {
         width:100%;
         min-width:60px;
         margin-top: 0px;  
     }
     
    .navbar .breadcrumb 
    {
        display:none;
    }
    
    .navbar .breadcrumb.breadcrumb2 
    {
        display:block;
        float:left;
    }
    
    .navbar .breadcrumb li a 
    {
        font-size:11px;
    }
    
    .navbar-collapse 
    {
        background-position:250px 0px;
         padding-right:0px;
    }
    
    .navbar-nav 
    {
        float:left;
        /**padding-left:0px !important;
        padding-right:0px !important;**/
    }
    
     

	.navbar-nav .open .dropdown-menu.mobile li:first-child:before 
	{
	    left:88%;
	}
     
     .navbar-brand 
     {
         display:none;
     }
     
     .logo 
     {
         float:left;  
     }
     
     .logo img 
     {
         max-width:175px;
         min-width:80px;
         margin:15px 0 0 15px;
        
     }

     body button.navbar-toggle {
         width: 44px;
     }
	
	/* advertisement */
    .advertisement 
    {
        background-position:right top;
        height:140px;
        
    }
    
    .banner 
    {
        padding-top:30px;
        height:140px;
    }
    
    .banner div 
    {
        font-size:20px;
    }
    
    .banner p a, .banner p a:hover 
    {
       background:transparent;
       text-indent:-9999px;
       position:absolute;
       top:-10px;
       left:0px;
       height:140px;
       width:300px;
    }
	
	/* Boxes */
	.boxes .box6
	{
	    width:134px;
	}
	
	/* Announcements */
	.announcements h1  
	{
	    width:284px;
	    }
	
	.announcements .rss 
	{
	    display:none;
	    }
	.announcements .col-md-6
	{
	    display:block;
	    float:left;
	    padding-top:10px;
	}
	
	.announcements .row:last-child 
	{
	    background-image:none;
	}
	
	.announcements .announcetitle 
	{
	    width:284px;
	}
	
	
	/* Links */
	.links .list-group 
	{

	}
	

	/* Statistics */
	.statistics .arrowboxLeft, .statistics .arrowboxRight 
	{
	    min-width:180px;
	    width:100%;
	}
		
     /**.row
     {
         max-width: 322px;
     }**/
     
     .nopadding
     {

         padding-right:0px;
     }
     
     .well 
     {
         padding-left:0px;
     }
     
       /* mobile sidemenu */
    /**.innerpage .mobilemenu .sidebar-nav h3  
    {
        margin-left:10px ;
    }**/
   
   /**.innerpagecontent 
   {
       padding-left:0px;
   }**/
   
   /* FeedbackForm */
   .xForm label
   {
       text-align:left;
   }
   
   
   .Kilpailu label 
   {
       max-width:200px;
   }
   .Kilpailu td 
   {
       vertical-align:top;
   }
    .Kilpailu td input 
   {
        margin-right:5px;
        float:left;
   }
   
   
   
   .alphabeticalMunicipalities .alphabeticalGroup:nth-child(3n+2) 
    {
        clear:none;  
    }
    
    .alphabeticalMunicipalities .alphabeticalGroup:nth-child(2n+2) 
    {
        clear:both;      
    }


    iframe 
    {
        max-width:280px;
    }
    
    
   .info .addthis_toolbox 
    {
        display:block;
        float:none;
        clear:both;
        margin-left:0px;
    }
    
    .info .addthis_toolbox .addthis_button_compact:before 
    {
        content:normal;
    }
    
    .info .addthis_toolbox .addthis_button_compact 
    {
        margin-left:0px;
    }

    /** Footer **/
    .bluefooter 
    {
        padding-top:0px;
    }

    .bluefooter h4 a
    {
        margin-top:20px;
    }

    .bluefooter a 
    {
        clear:both;
    }
    

}


/** 404 NotFound page **/
#FileNotFoundForm .navbar .container .row {
    min-height: 258px;
}
#FileNotFoundForm .navbar .navbar-toggle 
{
    display:none;
}

#FileNotFoundForm .innerpagecontent 
{
    padding-left:0px;
}
#FileNotFoundForm .container.innerpage {
    padding-bottom: 50px;
}
#FileNotFoundForm .container.innerpage .row {
    margin-left: 40px;
}
    #FileNotFoundForm .container.innerpage .row.innerpagecontent {
        margin: 0;
    }

.notfoundbox
{
    padding: 0px 10px 20px 10px;
    width: 100%;
    font-weight: bold;
    width: 100%;
    margin-bottom:10px;
}

#FileNotFoundForm .row ul li a{
    font-size: 14px;
}

#FileNotFoundForm .blackfooter .breadcrumb > li:before 
{
    content:normal;
}

#FileNotFoundForm .blackfooter .breadcrumb > li 
{
    padding-top:0px;
}



.epi-overlay-block {float:left;}


 
 
 


/*

spp



 */
 
 
 
 
 
 
   /* tausta data alueet */
      body .container {
          max-width: 1140px;
      }
/*
      body .row {
                max-width: 1140px;  
    }
          */
     .container {  background-image: none; } 
     /* center container both*/
      body  .jumbotron {  background: none repeat scroll 0 0 transparent; }   
     
     
    /* header*/
            /* logorow ylin  pilossa*/
              body .logorow {  padding:0px; background:  #ffffff none;  display: none; }    
              body .logorow .row {  background:  #ffffff none;  }   
                                
            /* logo in main menu area */
              body   .desktoplogo {  display: block;   }                  
                                 
         
 
  /* open-close box on main menu */
  .openMenuBox { display: none!important; }
  
  /* tausta body */
    html body {   background: #fff;   }
     
     
     
   /* mobile header*/  
  .mobileHeaderBackground{ display: none;    }
  
 
    .navbar-default .navbar-nav > li  > a:first-child { /*max-width:130px; padding-top:16px; */}
 
 
 
 
 
 
       
  /* front tabs */     
       
         
        .ui-tabs {
	        zoom: 1;
            margin: 0 !important;
        }
        .ui-tabs .ui-tabs-nav {
	        list-style: none;
	        position: relative;
	       
	        margin: 0;
	         padding: 0px 10%  0px 7%; 
	         border-bottom:1px #d5d5d5 solid;
	          height:39px;
        }
          
       
        
        .ui-tabs .ui-tabs-nav li {
	        position: relative;
	        float: left;
	        margin:  0;
	        padding: 0;
	        width:50%;
	        vertical-align: top !important; text-align:center;
        }
        .ui-tabs .ui-tabs-nav li a {
	        display: block;
	        padding:  8px 30px;
	        background:  #ffffff;
	        border: 0px #ccc solid;
	        border-bottom-color: #ccc;
	        outline: none;
        }
        .ui-tabs .ui-tabs-nav li.ui-tabs-selected a {
	        padding:  8px 30px;
	       
	          
	     
        }
        .ui-tabs .ui-tabs-nav li a:link, 
        .ui-tabs .ui-tabs-nav li a:hover,
        .ui-tabs .ui-tabs-nav li a:active,
        .ui-tabs .ui-tabs-nav li a:visited 
        {color:#797979;  font-size: 14px;  font-weight:500; text-decoration: none;
        }
        
         .ui-tabs .ui-tabs-nav li.ui-state-active a:link, 
        .ui-tabs .ui-tabs-nav li.ui-state-active a:hover,
        .ui-tabs .ui-tabs-nav li.ui-state-active a:active,
        .ui-tabs .ui-tabs-nav li.ui-state-active a:visited 
        {color:#353535;  font-size: 14px;  font-weight:500; text-decoration: none;
        }
        
        
        
         .ui-tabs .ui-tabs-nav li {
	         padding:  0px 0px 0px 0px;
	         background: #ffffff;
	         border-top: 4px #ffffff solid;
	         border-left: none;
	         border-right: 1px #ffffff solid;
	         border-bottom: 1px #d5d5d5 solid;
	         
        }
        
        .ui-tabs .ui-tabs-nav li.ui-state-active {
	        padding:  0px 0px 0px 0px;
	        background: #ffffff;
	        border-top: 4px #009eaa solid;
	        border-left: 1px #d5d5d5 solid;
	        border-right: 1px #d5d5d5 solid;
	         border-bottom: 1px #ffffff solid;
        }
        .ui-tabs .ui-tabs-nav li.ui-tabs-selected a,
        .ui-tabs .ui-tabs-nav li.ui-state-disabled a,
        .ui-tabs .ui-tabs-nav li.ui-state-processing a {
	        cursor: default;
        }
        .ui-tabs .ui-tabs-nav li a,
        .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
	        cursor: pointer;
        }
        .ui-tabs .ui-tabs-panel {
	        display: block;
	        clear: both;
	        border: 0px #ccc solid;
	        margin: 20px 10%  0px 7%; 
	        background:#ffffff;
        }
        .ui-tabs .ui-tabs-hide {
	        display: none;
        }
         .ui-tabs .ui-tabs-panel ul, 
         .ui-tabs .ui-tabs-panel li,
         .ui-tabs-panel li,
         .ui-tabs-panel ul,
         .ui-tabs-nav,
         .ui-tabs-nav li { 
             list-style-image: none;  background: none transparent;line-height:15px; margin-bottom:20px; list-style: none; padding-left: 0;}

        .ui-tabs .ui-tabs-panel li  a:link, 
        .ui-tabs .ui-tabs-panel li  a:hover,
        .ui-tabs .ui-tabs-panel li  a:active,
        .ui-tabs .ui-tabs-panel li  a:visited {
            color:#353535;  font-size: 15px;  font-weight:normal; text-decoration: none;
        }
         .ui-tabs .ui-tabs-panel li { border-left: 4px #ff6a53 solid; padding-left:5px; }
         .ui-tabs .ui-tabs-panel li p { line-height:20px; padding-bottom:0px; margin-bottom:0px;}

         .ui-tabs .ui-tabs-panel li.paatiedote {
             background: #EFEFEF;
             padding: 10px 0 10px 5px;
         }
         
        .calendarDatetimespan { display:block; color:#353535;font-size: 12px;  font-weight:normal;}
 
        /* Kommentoidaan pois koska haluttiin sisäsivuille vain punaisia viivoja */
        /*.greenleftborder {  border-left: 4px #009eaa solid!important; }*/
 
        /* Yliajetaan aiemmat määritykset erivärisistä pystyviivoista */
        .ui-tabs #tabs-1.ui-tabs-panel li {
			border-left: 4px #ff6a53 solid !important;
		}
		.ui-tabs #tabs-2.ui-tabs-panel li {
			border-left: 4px #009eaa solid !important;
		}
        /* Yliajetaan myös toggle-valinnan vaakaviivojen värit */
        .ui-tabs .ui-tabs-nav .ui-state-default.ui-state-active[aria-labelledby="ui-id-1"] {
			border-top: 4px #ff6a53 solid;
		}
        .ui-tabs .ui-tabs-nav .ui-state-default.ui-state-active[aria-labelledby="ui-id-2"] {
			border-top: 4px #009eaa solid;
		}

        .ui-tabs .ui-tabs-panel li:first-child {    /*border: 1px #d5d5d5  solid;*/  /*  border-left: 4px #ff6a53 solid; */ /* background:#efefef; padding-top:10px;padding-bottom:10px;*/}
          /* .ui-tabs .ui-tabs-panel li:first-child a:link,
            .ui-tabs .ui-tabs-panel li:first-child a:link,
            .ui-tabs .ui-tabs-panel li:first-child a:link,
            .ui-tabs .ui-tabs-panel li:first-child a:link {
                font-weight: bold!important;
            } */ 
   /* end front tabs */  
 
 
 
    /*  front calendar */  
             .msTblCal{   width: 82.9%; display: table; margin:15px 10% 30px 7% !important; border:1px #d0d0d0 solid; }
              .msTblCalTdLeft{    display: table-cell;   vertical-align: middle !important; text-align:center; }
                           .msTblCalTdLeft span{    display:  block;padding:10px  10px; color:#231f20;  font-size: 13px;  font-weight:500;  }
               .msTblCalTdRight{  height:50px;  border-left:1px #d0d0d0 solid;  display: table-cell; min-width: 60px;  width: 60px;vertical-align: top !important; text-align:left; background: transparent url('images/calendar_icon_bg.png') no-repeat center 10px;}
                            .msTblCalTdRight span{    display:  block;padding:10px  10px; color:#828282;  font-size: 13px;   }
        
 
   /* end front calendar */  

 
    /* front links */
 
          .greyliner { border-top: 1px #d5d5d5 solid; clear:both;  margin-bottom:40px;}
 
 
 
    /* end front links */
    

    
/* Right side tabs/news */

.rightside ul {
    padding-left: 0;
}

.rightside .ui-tabs-nav li {
    border-bottom: 1px #e2e2e2 solid;
    margin-bottom: 20px;
    padding-bottom: 17px;
}

.rightside .ui-tabs-nav span {
    color: #353535;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.rightside .ui-tabs-panel ul, .rightside .ui-tabs-panel ul li {
    list-style-image: none;
    background: none transparent;
    line-height: 15px;
    margin-bottom: 20px;
}

.rightside .ui-tabs-panel ul li {
    border-left: 4px #ff6a53 solid;
    padding-left: 5px;
}

.rightside .ui-tabs-panel li p { 
    line-height:20px; 
    padding-bottom:0px; 
    margin-bottom:0px;

}

.rightside .ui-tabs-panel ul a {
    color: #353535;
    font-size: 13px;
    font-weight: normal;
    text-decoration: none;
}
    
@media (max-width: 767px) {
    .rightside ul {
        padding-left: 19px;
    }
}

/* End of right side tabs */
    
   
 /* FOOTER*/
              /*        body  .bluefooter {
                        background-color: transparent;
                         color: #acacac !important; 
                           
                    }

                      body  .blackfooter {
                       background-color: transparent;
                      color: #acacac !important; 
                       
                    }
                    body .bluefooter a, body  .blackfooter a {
         
                      color: #acacac !important; 
                     
                    }
                      */
        
                   body  .bluefooter
                    {
                        background-color:  transparent;
                        min-height: 100px;
	                    font-style: normal; 
	                    font-weight: normal;
	                    padding:0;
	              
                    }
                     body  .bluefooter   div.col-sm-6.col-md-3.footerdiv
                    {
                         color: #FFF;  margin-top: 60px; margin-bottom: 60px;
	                   font-size:15px; line-height: 153%; clear: none; float:left; min-height:250px;
                    }
                       body  .bluefooter   div.col-sm-6.col-md-3.footerdiv  div
                    {
                          margin:0px; padding:0px; color:#FFF;   font-size:15px; line-height: 153%;
                    }
                    
                      body  .bluefooter   div.col-sm-6.col-md-3.footerdiv  div  ul.list-group, 
                           body  .bluefooter   div.col-sm-6.col-md-3.footerdiv  div  ul.list-group li
                    {
                          margin:0px; padding:0px;  
                    }
                      body  .bluefooter   div.col-sm-6.col-md-3.footerdiv  div  ul.list-group 
                   {
                         margin-left:-7px;
                    }
                    body  .bluefooter   div.col-sm-6.col-md-3.footerdiv  div  ul.list-group li a
                   {
                         white-space:nowrap;
                    }
                   body  .bluefooter 
                    {
                       background: #2E49B0;                    
                    }   
                    .bluefooter .col-md-2 
                    {
                        width:20%;
                    }

                    .bluefooter ul li:before {
	                    content:""; /** › **/
                    }

                    .bluefooter h4 {
	                    font-style: normal; 
	                    font-weight: normal;
                        color:#FFF;
    
                    }

                    .bluefooter h4 a 
                    {
                       color:#FFF;
                        display:inline-block;
                        padding-left:0;
                        text-indent:0;
                    }

    
                    .bluefooter a {
	                           color:#FFF;
                    }

                    /*
                    .bluefooter a:before {
	                    content:""; /** ›  \203A**/
	                /*    padding-right:5px;
	                    color:#ffffff;
	                    font-weight:bold;
                    }*/

                    .bluefooter h4 a:before {
                        content:"";
                        padding-right:0px;
                    }
                    
                    
                    
                ul.bluelink a:before {
                    color: #b6006c;
                    content: "";
                    font-weight: bold;
                    padding-right: 5px;
                }

 body .blackfooter { display:none!important; }
    
    
 /*end FOOTER*/
 
 


 /*leftmenu*/
 
          #subnav {
            font-size:15px; color:#1f1f1f;
            margin-bottom: 40px;
        }
           #subnav a:link,#subnav a:hover,#subnav a:active,#subnav a:visited  {
               color:#1f1f1f;
               font-size:16px; 
               font-weight: 600;
               background: #FFFFFF;
               line-height: 153%;
               padding-right: 0px;
               display: block;
            }
            #sidebar #subnav header a {
                display: inline-block;
                background: #FFF;
                font-size: 16px;
                font-weight: 700;
                line-height: 153%;
                padding-right: 10px;
            }
         #subnav ul ul a:link,#subnav ul ul a:hover,#subnav ul ul a:active,#subnav ul ul a:visited  {
           color:#5f5f5f;font-size:14px; 
        }
             
          
          
         #subnav header {

            margin-bottom:17px;  padding:0px;
               /* border-bottom:1px #efefef solid;*/
        }
            #subnav header span {
                background: #ffffff; padding-right:20px; font-weight:normal; font-size:15px;
            }
        /* 1 level*/ 
          #subnav ul   { 
              padding-left: 0;
               list-style: outside none none!important;

            }
           #subnav ul  li  {
                 /*background: transparent url('images/leftmenu-li-bg-selected.png')  no-repeat top right;*/
                  /*background: transparent url('images/leftmenu-li-bg.png')  no-repeat top right;*/
                  list-style: outside none none!important;  
                  padding:8px  0px;
            }
            #subnav ul  li.haschildren  {
                 /* background: transparent url('images/leftmenu-li-bg-closed.png')  no-repeat top right;*/
                
                 
            }
             #subnav ul  li.haschildren.open   {
                  /*background: transparent url('images/leftmenu-li-bg-selected.png')  no-repeat top right!important;*/
                 padding:10px  0px 0px 0px;
                 
            }
             #subnav ul  li > span {
                   display: block;
                   padding-left:14px; 
                   background: transparent url(../../Images/svg/linkki-nuoli.svg) no-repeat left 1px ;
                   padding-right: 5px;
            }


           
        /* 2 level*/  
                #subnav ul ul   {
                  border-bottom:0px #efefef solid; margin:10px 0px  0px 0px; padding:10px 0px 10px 0px;
                  /*background: transparent url('images/leftmenu-li-ul-bg.png')  no-repeat top right; */
                }
 
         
 
         body  #subnav ul ul  li , 
         body  #subnav ul ul li.haschildren, 
         body  #subnav ul  ul li.haschildren.open   {
                /* padding:7px 0px; */
                 border-top:0px #efefef solid;
                  background: transparent none!important;  
                   padding:5px 0px 5px 0px;
            }
 
             #subnav ul ul  li > span {
                    background:transparent;
                 display:inline-block; padding-right:20px;   padding-left:32px; 
                 background: transparent url(images/leftmenu-arrow-grey.png) no-repeat 20px 5px ;
 
            }
 
        /* 3 level */

         #subnav ul ul ul  {
                  border-bottom:0px #efefef solid; margin:5px 0px 0px 0px;padding:5px 0px 0px 0px;
                  background: transparent none  no-repeat top right; 
                }
 
          #subnav ul ul ul   li > span {
                    background:transparent!important;
                 display:inline-block; padding-right:20px;   padding-left:45px; 
                 background: transparent none no-repeat 20px 5px ;
 
            }

         body  #subnav ul ul ul li   
           {
                /* padding:7px 0px; */
                 border-top:0px #efefef solid;
                  background: transparent none!important;  
                   padding:2px 0px 2px 0px!important;
            }




         /* 4 level */



         body  #subnav ul ul ul ul   li > span {
                    background:transparent!important; 
                 display:inline-block; padding-right:20px;   padding-left:65px; 
                 background: transparent none no-repeat 20px 5px ;
 
            }
 /* end leftmenu*/





  /* google ja sahkoinen asiointi area*/
              
               
                       html  body table.gsc-search-box {
                        border-spacing: 0;
                        border-style: none;
                        border-width: 0;
                        margin-bottom: 2px;
                        width: 100%;
                    }
                   html   form.gsc-search-box {
                            font-size: 13px;
                            margin: 0 0 4px;
                            width: 100%; border:0px red solid;
                        }
                  


                   
                    html body .cse input.gsc-search-button,html  body form table input.gsc-search-button {
                        background-color: #009eaa; 

                         background-color: #009eaa !important;
                         background-image: -moz-linear-gradient(center top , #009eaa, #009eaa) !important;

                    }


                       body  .cse .gsc-search-button input.gsc-search-button-v2, body  input.gsc-search-button-v2 {
                                height: 30px;
                                margin-top: -2px;  margin-left: -12px;
                                min-width: 13px;
                                padding: 6px 27px;
                                width: auto;
                            }
                        body #gsc-i-id1 {
                            margin-top: -5px; padding-left:0px;  
                        }
                        body .gsc-input {
                            padding: 0px;
                        }
                          body td.gsc-search-button{
                            padding: 0px;  
                        }
                            body .gsib_b {
                                display: none;
                            }
                             body .gsib_a {
                               
                            }
            /* end data kehykset sisä ja etusivut */

                .colorpanelTable .colorpanelReadSpeaker {
                    position: absolute;
                    z-index: 99;
                    margin-left: 57%;
                    height: 56px;
                    background-color: none;
                    display: block;
                    float: left;
                    padding-right: 15px;
                }
                    .colorpanelTable .colorpanelReadSpeaker .rsbtn {
                          margin-top: 10px;
                          margin-bottom: 0px;
                    }
                        .colorpanelTable .colorpanelReadSpeaker .rsbtn a {
                            font-size: 11px;
                        }
                    .colorpanelTable .colorpanelReadSpeaker .rsbtn_play {
                          padding-right: 3px;
                    }
                        .colorpanelTable .colorpanelReadSpeaker .rsbtn_powered.rsimg {
                            padding-top: 5px;
                        }

                        .rsbtn .rsbtn_play:focus, .rs_addtools .rsbtn_play:focus {
                            outline: 2px solid #74b9ef !important;
                        }

/*murupolku*/
        .breadcrumb a:link, .breadcrumb a:hover, .breadcrumb a:active, .breadcrumb > .active, .breadcrumb a:visited {
            color:#333; 
            font-size:14px;
            font-weight: 600;
            line-height: 153%;
        }

        body ul.breadcrumb.inner li + li:before,body .mobilemenu ul.breadcrumb.inner li:before {
            color: #73767C;
          
            font-size: 22px;
            padding-right: 12px;
            padding-left: 8px;
        }


/* sahkoinen asiointi */
       .msTblsah{   width: 82.9%; display: table; margin:7px 10% 7px 7%; border:1px #d0d0d0 solid; }
              .msTblsahTdLeft{    display: table-cell;   vertical-align: middle !important; text-align:center!important }
                           .msTblsahTdLeft span{    display:  block;padding:10px  10px; color:#231f20;  font-size: 13px;  font-weight:500;  }
               .msTblsahTdRight{  height:40px;  border-left:1px #d0d0d0 solid;  display: table-cell; min-width: 60px;  width: 60px;vertical-align: top !important; text-align:left; background: transparent url('images/sahkoinen_icon_bg.png') no-repeat center 5px;}
                            .msTblsahTdRight span{    display:  block;padding:10px  10px; color:#828282;  font-size: 13px;   }





/* some */
.row.info {
  /*  display: none;*/
}




#onlyforMobile {
    display: none!important;
}
 
 /** ================================================== **/
/*  all desktop view starting 768px and bigger */
@media screen and (min-width: 768px) 
{
    /*yyyy 
    .msTableTdFrontleft div.clearfix {
        border: 1px red solid; width:100%!important;
    }*/
            /* data kehykset sisä ja etusivut */
               body  .jumbotron .container.innerpage, 
               body  .jumbotron .container.advertisement, 
               body  .jumbotron  .container.startpage{

                     margin: 0px auto; padding:0px;
                     background: none repeat scroll 0 0 #ffffff;
                  }     
          
             body .jumbotron  .container.colorpanel{
                    border-top: 5px #009eaa solid;
                
                    max-width: 1140px; margin: 0px auto; padding:0px;
                     background: none repeat scroll 0 0 #ffffff;
                  }
             /*xxxx*/ 
            
                   .colorpanelsub { 
                         
                         
                               max-width: 970px; margin: 0px auto; padding:0px;
                         background: none repeat scroll 0 0  red;
                         
                         
                            
                             border-left: 0px #dcdcdc solid;
                                    border-right: 0px #dcdcdc solid;
                                    border-bottom: 0px #dcdcdc solid;
                            background: #ffffff; position: relative;
                    }

                    /*google ja sahkoinen asiointi*/

                     html   form.gsc-search-box {
                            font-size: 13px;
                            margin: 0 0 10px;
                            width: 100%; 
                            border:0px red solid;
                        }
                     .colorpanelTable {
                            display: table;
                            width: 100%;
                            border-bottom: 1px #dcdcdc solid;
                            border-left: 1px #dcdcdc solid;
                                    border-right: 1px #dcdcdc solid;
                        }
                    .colorpanelTdGoogle, .colorpanelTdSahkoinen {
                        border:0px red solid;  
                        vertical-align: top;
                        position: relative;
                        z-index: 1;
                    }
                    .colorpanelTdSahkoinen {
                        min-width: 33.3333%;
                        width: 33.3333%;
                        float: right;
                    }
                     .colorpanelTdGoogle  {
                        padding-left:30px; 
                        padding-top:5px;
                        width: 50%;
                        float: left;
                    }
                      
                        
                  
                    /* 
                 .sahkoinenasiointi {
                        display: inline-block;
                        width: 35%; float:right;  background:#ec877b;   height:33px;
                          color:#ffffff; 
                    }
                        .sahkoinenasiointi span {
                            display: inline-block; text-align:center; vertical-align:middle;width:100%;padding:8px 0px;
                        }
                    .sahkoinenasiointi a:link, .sahkoinenasiointi a:hover,  .sahkoinenasiointi a:active, .sahkoinenasiointi a:visited  {
                           color:#000000;  font-weight:bold;
                        }
                   
                    */

       
       /* row navigation vaaka */ 
            
            body .navbar {
                background:  #FFF;   
                border-bottom: 1px solid #E1E1E1;
                margin: auto;
                padding: 0;
                position: sticky; 
                top: 0;
                z-index: 5000;
            }
            /*
            body.contentpage .navbar .container .row  {  min-height: 216px; }
            body.frontpage .navbar .container .row  { min-height: 258px; }
            */
        
         
         /* first main navi li-item - not for desktop*/
        body .nav.navbar-nav.navbar-right.mobile { display: none; }
 
        /* main navi item */
                
        
        
                  body  .navbar-default .navbar-nav > li, body .navbar-default .navbar-nav > li:hover {
                        background: none repeat scroll 0 0  transparent;
                        border-radius:  0px; 
                        border-right:0;
                        height: 67px;   padding-left: 0px;padding-right: 0px;
               
                    }
                   body  .navbar-default .navbar-nav > li > a:first-child {
                        padding-top: 16px;
                
                    }
                    body .navbar-default .navbar-nav > li > a.dropdown-toggle,  body .navbar-default .navbar-nav > li > a.dropdown-toggle:hover {
                       background: none transparent;
                    }
                 body   .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {
                                background: none transparent;
                                border-radius: 0px;
                    }
                   body  .container ul li {
                        padding-left: 0px;padding-right: 0px; padding-top:0px;padding-bottom:0px;
                        }
                
                /* main navi active li */ 
                body .navbar-default .navbar-nav > li.active > a.dropdown-toggle,  body .navbar-default .navbar-nav > li.active > a.dropdown-toggle:hover 
                    {
                        background: transparent  none repeat scroll 0 0 ;
                    }  
                /* main navi active li opened tab */      
                body .navbar-default .navbar-nav > .open > a, body .navbar-default .navbar-nav > .open > a:hover, body .navbar-default .navbar-nav > .open > a:focus {
                    color: #3F57B5 !important;    background:  none repeat scroll 0 0  !important; border-color: #000;
                }
                
                
             
                
                
                
                    /*last item no border right*/
                       html body  .navbar-default .navbar-nav > li:first-child  + li + li  + li +li +li+li+li,
                        html    body  .navbar-default .navbar-nav > li:first-child  + li + li +li+li+li + li +li:hover 
                           {
                                border-right: 0px solid #eeeeee!important; 
                           }
                        
                
                 /* main navi link */   
                body .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {height: 67px;     font-weight: normal;  color:#333333!important; text-align: left;}
                 /* main navi link aktiivi */ 
                 body  .navbar-default .navbar-nav > .open > a,body  .navbar-default .navbar-nav > .open > a:hover,body  .navbar-default .navbar-nav > .open > a:focus {
                }
         
         
         
         
         
          /* etusivu*/
                
                   /*alueet*/ 
                    .msTablefront {  box-sizing: border-box; width: 100%; display: table;}
                     .msTableTdFrontleft {    display: table-cell; min-width: 66.6667%; vertical-align: top !important; text-align:left; width: 66.6667%; padding-top:10px; }
                     .msTableTdFronRight {   display: table-cell; min-width:   33.3333%; vertical-align: top !important; text-align:left; width:   33.3333%; border-left:1px #e2e2e2 solid; }

                     


                    .frontblockSemi, .frontblockFull {
                         margin:0px; padding:0px; border:0px red solid;
                    }
                    


                        /* tiedotenosto*/
                            /* block*/
                               .msTableTdFrontleft .box1.gradient  { padding:0px; margin:0px; width:47%; max-width:47%; float:left; }
                               .msTableTdFrontleft .box2.gradient { max-width:95%!important; }
                                        /* kehys*/
                                    
                                     .msTableTdFrontleft .box1.gradient section, 
                                     .msTableTdFrontleft .box2.gradient section { padding:0px; margin:20px 0px  0px 40px; }
                                        /*ingress*/
                                        body .msTableTdFrontleft .box1.gradient div div, body .msTableTdFrontleft div.box2.gradient div div  {  padding:0px; margin:0px; color:#616161;font-size:13px; line-height:15px; }
                                        body .msTableTdFrontleft h4 {  color:#222222;  font-size:16px;    }
         
                                      .msTableTdFrontleft > div img { max-width:100%; height:auto;  margin:0px; padding:0px; }
                                  
                                      
                           /* graphic liners*/
               
                             .graphicLiner  { display:inline-block!important;  width:75%;height:1px; clear:both; padding:0px; margin:0px 12%;   background: none #e2e2e2; }
                            
                            
                            /* full width relese lift*/
                               body  .msTableTdFrontleft span.newstexts_fullblock {   display:table-cell; min-width:60%;  /* ** */  padding-left:20px; vertical-align:top; text-align:left;       }
                                body  .msTableTdFrontleft span.liftImagecontainer_fullblock { display:table-cell; min-width:40%;  width:40%;   vertical-align:top; text-align:left;         }
                             /*  body .box2gradientFull {max-width:95%; clear:both!important;}   */

 
 
                            /* Image lift round imgs. Modify these values when actual image size is decided */
                            .rightside .SitePageNews .liftImagecontainer img {
                                display: block;
                                height: 76px;
                                width: 76px;
                                -moz-border-radius: 38px;
                                -webkit-border-radius: 38px;
                                -khtml-border-radius: 38px;
                                border-radius: 38px;
                                margin: 0 auto 15px auto;

                            }

                            /* Image lift round imgs. Images on the left side */

                            .box2 .SitePageNews {
                                display: table;
                                width: 100%;
                                border-bottom: 1px #e2e2e2 solid;
                            }

                            .SitePageNews .liftImagecontainer_fullblock {
                                display: table-cell;
                                vertical-align: middle;
                                width: 90px;
                            }
                                .SitePageNews .liftImagecontainer_fullblock a {
                                    display: block;
                                }

                                .SitePageNews .liftImagecontainer_fullblock img {
                                    display: block;
                                    height: 76px;
                                    width: 76px;
                                    -moz-border-radius: 38px;
                                    -webkit-border-radius: 38px;
                                    -khtml-border-radius: 38px;
                                    border-radius: 38px;
                                }
                            .SitePageNews .newstexts_fullblock {
                                display: block;
                                overflow: auto;
                            }
                                .SitePageNews .newstexts_fullblock a {
                                    display: block;
                                }
      
        
      
      
      
        /* SISASIVUT*/
            /* sivupohjat ja alueet  abc*/
           body .mainTableForContent { display:  table; width:100%; padding:0px; margin:0px; }/* wraps leftmenu and content*/
           body .subTableForContent {  display:  table; width:100%; padding:0px; margin:0px;  }/* content*/
                body #content_area  {   }
                body .rightside{   }
                body #sidebar { margin-top: 8px;    }
                
                 body  .contentTableCell {  display:table-cell!important;    border-right:1px #e2e2e2 solid; float: none!important; text-align:left; vertical-align: top;
                                      padding-right:0px!important;}
           
                 body #innerpagebreadcrumbNew   {  min-height:35px;}        
           
                 body #innerpagebreadcrumbNew.row {
                     margin-bottom: 15px; 
                 }
           
            body .innerpagecontent {  }
            /* Turha ainakin keskustelupalsta-sivulla. Otetaan takaisin jos muualla on tarvetta
              body .row.info { margin-left:23px;}
         */

    /* Palstasivun ingressiä varten */
    body > .innerpagecontent > span.ingress {
        display: table-row;
    }

            /* Keskustelualueen tyylit */
            /* Keskustelulista */
            .new_thread {
                margin-top: 20px;
            }
            .discussion_list_container table {
                width: 100%;
            }
                .discussion_list_container table th, .discussion_list_container table tr td {
                    border-top: none;
                    border-left: none;
                    border-right: none;
                }
                .discussion_list_container table td {
                    background: #F9F9F9;
                }
            .row.info {
                margin-top: 25px;
            }
                .row.info .date_print {
                    color: #333;
                    font-size: 16px;
                    line-height: 153%;
                }

            /* Keskustelu */

            #discussionHeaderArea {
                display: none !important; /* Yksi kommenttien lukumääränn kertova teksti riittänee */
                float: right;
                clear: right;
                margin-top: 50px;
                color: #616161;
            }
            .discussion {
                clear: both;
                float: left;
                padding-left: 20px;
            }
            .discussion #selectedpage {
                margin-top: 25px;
            }
            #selectedpage .write_comment {
                float: left;
                margin-left: -20px;
            }
            .topheaderDiv h5.entry-title {
                margin-top: 40px;
                float: left;
                clear: both;
                width: 100%;
                color: #616161;
                margin-bottom: 20px;
            }
            .comment_writer {
                margin-top: 10px;
                color: #616161;
                background: #F9F9F9;
                padding: 5px 0;
            }
            .comment #MessageColumn .comment_content h5.entry-title {
                font-weight: bold;
            }
            .topheaderDiv #MessageColumn3 {
                float: left;
                clear: both;
            }
                .comment .comment_text {
                    margin-top: 20px;
                }
                .comment .commentFooterWrapper {
                    display: table;
                    width: 100%;
                    margin-top: 10px;
                }
                .comment .comment_writer {
                    display: table-cell;
                    clear: both;        
                }
                    .comment .comment_writer span {
                        font-size: 14px;
                    }
                .comment .commentFooter {
                    display: table-cell;
                    white-space: nowrap;
                    text-align: right;
                    background: #F9F9F9;
                }
                    .comment .commentFooter span {
                        display: inline-block;
                        padding: 5px 0;
                    }
                    .commentFooter .comment_inform {
                        border-right: 1px solid #E8E8E8;
                        padding-right: 10px !important;
                    }
                    .commentFooter .comment_dislike {
                        color: #AB7777;
                        margin-right: 10px;
                        margin-left: 7px;
                    }
                    .commentFooter .comment_like {
                        color: #458434;
                    }
                .all_messages {
                    float: left;
                    clear: both;
                }

            /* Uusi kommentti */
            .discussion {
                width: 100%;
            }
                .discussion .comment {
                    float: left;
                    clear: both;
                    width: 100%;
                    margin-bottom: 50px;
                }
                    .discussion .comment .inputlabel.commentHeaderLabel {
                        float: left;
                        clear: both;
                        font-size: 15px;
                    }
                    .discussion .comment .commentHeaderInput {
                        float: left;
                        clear: both;
                        width: 70%;
                        margin-bottom: 20px;
                    }
                        .discussion .comment .commentHeaderInput input {
                            width: 100%;
                        }
                    .discussion .comment .inputlabel.commentLabel {
                        float: left;
                        clear: both;
                        font-size: 15px;
                    }
                    .discussion .comment .commentInput {
                        float: left;
                        clear: both;
                        width: 100%;
                        margin-bottom: 30px;
                    }
                        .discussion .comment .commentInput textarea {
                            width: 100%;
                        }
                    .discussion .comment .inputlabel.commentWriterLabel {
                        float: left;
                        clear: left;
                        margin: 7px 10px 0 0;
                        font-size: 15px;
                    }
                    .discussion .comment .commentWriterInput {
                        float: left;
                        clear: right;
                    }
                    .discussion .comment .commentButtons {
                        float: right;
                        clear: both;
                        margin-top: 30px;
                    }
                        .discussion .comment .commentButtons input {
                            margin-left: 20px;
                            width: 80px;
                        }
         
    .bluefooter h3 {
        margin-top: 0px !important;
    } 


         
             
}/* END  all desktop view starting 768px and larger */
/** ================================================== **/

 

 
 
 
 
 
 
 
 
 
 /** ================================================== **/
 /* Large desktop */
@media screen and (min-width: 1200px) 
{
 
           /* main navi item width*/ body .navbar-default .navbar-nav > li  > a:first-child  {   padding-top:16px;    }
                /* main navi link */   body .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {  
                                           font-size: 15px!important; 
                                           font-weight:600; 
                                           line-height:128%;  
                                           /*max-width: 126px;*/

                                       }
                /* desktop menu margin - passing logo */    
        
/* Palstasivu sisältöblokkien tyylit */
    /*
.floatingContentBox {
    width: 23%;
	float: left;
	margin: 10px 1% 20px 1%;
}*/
    
    
 } /* END  Large desktop  (min-width: 1200px) */
/** ================================================== **/






/** ================================================== **/
 /*   screen and (min-width:970px) and (max-width: 1200px) */
@media  screen and (min-width:970px) and (max-width: 1200px) 
{
    
         /* main navi item width*/ body .navbar-default .navbar-nav > li  > a:first-child  {   width:110px!important;   padding-top:16px; }
                /* main navi link */     body .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {  font-size: 13px!important;   line-height:16px;  }
                  /* desktop menu margin - passing logo */    body .desktopTopMenuRef {  /*margin-left: 160px!important;*/  }

/* Palstasivujen blokkien tyylit */
    /*
.floatingContentBox {
    width: 23%;
    float: left;
    margin: 10px 1% 20px 1%;
}*/

    .search-frame {
        min-width: 200px;
    }

        .search-frame input[type="text"] {
            background: transparent;
            font-size: 12px;
            width: 100%;
            padding-left: 0;
            padding-right: 35px;
        }

    #Main_EpiQuickSearch_QuickSearchButton {
        font-size: 12px;
        padding: 12px 8px;
        right: 0;
    }   
    
    
    
} /* END  screen and (min-width:970px) and (max-width: 1200px) */
/** ================================================== **/





/** ================================================== **/
 /*    screen and (min-width:768px) and (max-width: 991px)*/
@media  screen and (min-width:768px) and (max-width: 991px) 
{



    body .navbar-default .navbar-nav > li > a:first-child {
        width: 109px !important;
    }

    .logocontainer, header .container {
        width: 100% !important;
    }

    .search-frame {
        min-width: 152px;
    }

        .search-frame input[type="text"] {
            background: transparent;
            font-size: 12px;
            width: 100%;
            padding-left: 0;
            padding-right: 35px;
        }

    #Main_EpiQuickSearch_QuickSearchButton {
        font-size: 12px;
        padding: 12px 8px;
        right: 0;
    }   
        
    
    
} /* END  screen and (min-width:768px) and (max-width: 969px)*/
/** ================================================== **/
 
 
 

            
            @media screen and (min-width: 900px) and (max-width: 969px)  
            {
                      /* main navi item width*/  body .navbar-default .navbar-nav > li  > a:first-child  {     width:100px!important;   padding-top:16px; } 
                            /* main navi link */    body .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {  font-size: 11px!important;  line-height:16px;  }
                           /* desktop menu margin - passing logo */    body .desktopTopMenuRef {  /*margin-left: 170px!important; */ }

                .logocontainer, header .container {
                    width: 100% !important;
                }

                .search-frame {
                   min-width: 200px;

                }

                    .search-frame input[type="text"] {
                        background: transparent;
                        font-size: 12px;
                        width: 100%;
                        padding-left: 0;
                        padding-right: 35px;
                    }

                #Main_EpiQuickSearch_QuickSearchButton {
                    font-size: 12px;
                    padding: 12px 8px;
                    right: 0;
                }   
 
            } 



    
  
            @media screen and (min-width: 830px) and (max-width: 899px)  
            {
                     /* main navi item width*/  body .navbar-default .navbar-nav > li  > a:first-child  {     width:84px!important; padding-right: 0 !important;  padding-top:16px;   } 
                            /* main navi link */    body .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {  font-size: 11px!important;  line-height:16px;  }
                           /* desktop menu margin - passing logo */    body .desktopTopMenuRef {  /*margin-left: 165px!important;*/  }
                    
                    .logocontainer, header .container {
                        width: 100% !important;
                    }

                    .logocontainer .row , header .container .row {
                       
                    }

                    .search-frame {
                        min-width: 230px;
                    }

                        .search-frame input[type="text"] {
                            background: transparent;
                            font-size: 12px;
                            width: 100%;
                            padding-left: 0px;
                            padding-right: 35px;
                        }

                    #Main_EpiQuickSearch_QuickSearchButton {
                        font-size: 12px;
                        padding: 12px 8px;
                        right: 0;
                    }
    
 
            } 
              @media screen and (min-width: 768px) and (max-width: 829px)  
            {
                       /* main navi item width*/  body .navbar-default .navbar-nav > li  > a:first-child  {     width:83px!important;   padding-top:16px;   } 
                            /* main navi link */    body .navbar-default .navbar-nav > li > a, body .navbar-default .navbar-nav > li > a:hover {  font-size: 10px!important;  line-height:16px;  }
                           /* desktop menu margin - passing logo */    body .desktopTopMenuRef {  /*margin-left: 163px!important; */ }

                      .search-frame {
                          max-width: 168px;
                      }

                        .search-frame input[type="text"] {
                            background: transparent;
                            font-size: 12px;
                            max-width: 100%;
                            padding-left: 0px;
                        }

                        #Main_EpiQuickSearch_QuickSearchButton {
                            font-size: 12px;
                            padding: 12px 8px;
                            right: 0;
                        }
     
     
            } 
            @media screen and (min-width: 768px) and (max-width: 890px)  
            {
                     
                     /* mobiilikorjaus small tablet 220405*/
                      .msTableTdFronRight img {   max-width: 210px!important;   height: auto!important;   }
     
            } 



        /* FOR CONTENT AND TABLES */
         @media screen and (min-width: 768px) and (max-width: 900px)  
                    {
                     
    
                             /* SISASIVUT*/
                                    /* sivupohjat ja alueet / Special case oikea laita viskaa alas abc */
                                  body .subTableForContent {  display:block!important;    } 
                                  /*
                                  body  #sidebar {  display:table-cell!important;     border-right:1px #e2e2e2 solid; float: none!important;   }
                                  body   .contentTableCell {  display:table-cell!important;     border-right:1px #e2e2e2 solid; float: none!important; text-align:left; vertical-align: top; padding-right:0px!important;}
                                      */
                                   body #content_area  {   clear: both;   /*  width:100%!important; */ }
                                        body .innerpagecontent {  }
                                        body .row.info { margin-left:23px;}
                                  body .rightside   { display:block!important; padding-top:50px!important;  float:left; clear: both;  width:100%!important;padding-left:23px;  border-left:0px #e2e2e2 solid;   }
    
    
 
                    /*  
           body .mainTableForContent { display:  table; width:100%; padding:0px; margin:0px; } 
           body .subTableForContent {  display:  table; width:100%; padding:0px; margin:0px;  } 
                body #content_area  {  display:table-cell!important;  padding:20px 23px!important; }
                body .rightside{  display:table-cell!important;  padding:20px 23px!important;  border-left:1px #e2e2e2 solid; float: none!important;  width: 33.3333%!important;   min-width: 33.3333%!important; text-align:left; vertical-align: top;  }
                body  #sidebar {  display:table-cell!important; border-right:1px #e2e2e2 solid; padding:20px 30px!important; min-width: 33.3333%!important;    width: 33.3333%!important; text-align:left; vertical-align: top;   }
                
                 body  .contentTableCell {  display:table-cell!important;    border-right:1px #e2e2e2 solid; float: none!important; text-align:left; vertical-align: top;
                                      padding-right:0px!important;}
           
                 body #innerpagebreadcrumbNew   { border-bottom:1px #e2e2e2 solid;   padding:5px 20px!important;}        
           
           
            body .innerpagecontent {  }
              body .row.info { margin-left:23px;}*/
                    
                    
                          /* Palstasivujen blokkien tyylit */
                        /*
                            .floatingContentBox {
                                width: 31%;
                                float: left;
                                margin: 10px 1% 20px 1%;
                            }
                    */
                    
                    } 

       





/** ================================================== **/
/* max-width: 767px*/
@media screen and (max-width: 767px)
 {
     
           body #onlyforMobile {
                display: block!important;
             
            }

           body #onlyforMobile .row {
               margin-left: 0; 
               margin-right: 0;
           }

            /* data kehykset sisä ja etusivut */

                html body .jumbotron {
                    background-color: #ffffff !important;
                }
                

               body  .jumbotron .container.innerpage, 
               body  .jumbotron .container.advertisement, 
               body  .jumbotron  .container.startpage{
                    border: 0px #009eaa solid;
                    margin: 0px auto; padding:0px;
                     background: none repeat scroll 0 0 #ffffff;
                  }     
            /* color panel */
             body .jumbotron  .container.colorpanel{
                    border-top: 5px #009eaa solid;min-height:45px;
                
                   /* max-width: 970px;*/ margin: -5px auto 0px auto; padding:0px; width:95%!important;
                     background: none repeat scroll 0 0 white;
                 
                  }  

               .colorpanelsub {  
                         border-left: 0px #dcdcdc solid;
                                border-right: 0px #dcdcdc solid;
                                border-bottom: 0px #dcdcdc solid;
                        background: white; position:relative;
                }
               /*xxxx2*/ 
               
               /*google ja sahkoinen asiointi*/


                html   form.gsc-search-box {
                            font-size: 13px;
                            margin: 0px 10% 0px 5.5%;
                            width: 70%; 
                            border:0px red solid;
                        }
                   html body #gsc-i-id1 {
                            padding-top:8px!important;padding-bottom:8px!important;  
                        }

                      .colorpanelTable {
                           /* display: table;
                            width: 100%;*/
                            border:1px #dcdcdc solid;
                        }
                    .colorpanelTdGoogle, .colorpanelTdSahkoinen {
                        text-align:center;
                         vertical-align: top;
                            padding:7px 0px; 
                    }

                   .colorpanelTdGoogle  {
                        font-size: 13px;
                        margin: 0px 10% 0px 5.5%;
                        width: 70%; 
                        border:0px red solid;
                    }

                    .colorpanelTdGoogle img {
                        margin-bottom:0px;
                        margin-left:-12px;
                        margin-right:0px;
                        margin-top:8px;
                        min-width:13px;
                        width: auto;
                    }

                    .colorpanelTable .colorpanelReadSpeaker {
                        float: right;
                        border: 1px solid rgb(208, 208, 208);
                        margin-top: -42px;
                        height: 98px;
                        margin-right: 3%;
                        margin-left: 0;
                        padding: 0;
                        position: relative;
                        background: none;
                    }
                        .colorpanelReadSpeaker .rs_skip.rsbtn.rs_preserve {
                            height: 100%;
                            width: 100%;
                            margin: 0px;
                        }
                            .colorpanelReadSpeaker .rs_skip.rsbtn.rs_preserve a {
                                height: 100%;
                                margin-left: 10px;
                                margin-right: 10px;
                                padding-top: 35px;
                            }
                .colorpanelTdSahkoinen .msTblsah {
                    width: 68.5%;
                }

            /* end data kehykset sisä ja etusivut */
   
     
          /* mobile header / content container*/
                body  .mobileHeaderBackground{ display: block; margin:0px; padding:0px; min-height: 253px!important;  }
                body    .mobileHeaderBackground .row {  min-height: 53px!important; background:  transparent!important;  }
     
     
    
     
     /* open-close box on main menu */
    body .openMenuBox { 
        position: absolute !important;
        display: flex!important; 
        justify-content: center;
        align-items: center;
        right: 0;
    } /* hyv*/
     /*============*/


   /* Desktoplogo */
   .navbar > .container .desktoplogo {
       display: none;
   }

    /* hyv*/
	/* open menu link title on main menu */
	.navbar-default .navbar-nav li .dropdown-toggle.openMenuLink, .navbar-default .navbar-nav li .dropdown-toggle.openMenuLink:hover 
	{
        display: flex !important;
        align-items: center;
        padding: 0 50px 0 10px !important;

	    margin-left:0px!important;
	}
	/*============*/


    /* body tausta*/
       html body { background: none  no-repeat  top center!important;  }
     
       body .logorow { display:  block!important;}   
     
     /* logo in main menu area */
     body   .desktoplogo {  display: none;   }  
     


  
 
 
    /* main nav for  mobile format */
    
          body   .navbar-nav { background: none repeat scroll 0 0 #FFF;} /* tausta bg*/
          body  .navbar-default .navbar-nav > li > a.dropdown-toggle, body .navbar-default .navbar-nav > li > a.dropdown-toggle:hover {
                display: flex !important;
                background:   none repeat scroll 0 0 transparent;
                border: 0;
                color: #000;
            }
            body .navbar-default .navbar-nav > .open   {  background-color: #3F57B5!important;  }
            body .navbar-default .navbar-nav > .open > a { color: #FFF !important; }
            body  .navbar-default .navbar-nav > li > a,  body  .navbar-default .navbar-nav > li > a:hover  { padding: 15px 10px 0;}
           body .navbar-default .navbar-nav > li > a:first-child, body .navbar-default .navbar-nav > li > a:first-child:hover, 
            body .navbar-default .navbar-nav > li > a:first-child:focus    
           {
                padding-top: 20px!important;   
                font-size:16px;
            }
            body  .navbar-default .navbar-nav > li a:first-child { }






            
              /* etusivu*/

                          
                
                   /*alueet*/ 
                     .msTablefront {  /*box-sizing: border-box; width: 100%; display: table;*/}
                     .msTableTdFrontleft {     /* display: table-cell;*/ min-width:100%;width: 100%; vertical-align: top !important; text-align:left;  padding-top:10px; }
                     .msTableTdFronRight {   /*  display: table-cell;*/ min-width: 100%;width: 100%;  vertical-align: top !important; text-align:left;    }
                    /* tiedotenosto etusivu */
                            /* block*/
                           .msTableTdFrontleft >  div {     padding:0px; margin:0px;   float:left;      }
                                 /* kehys*/
                                 .msTableTdFrontleft   div div {    padding:0px; margin:10px 20px  0px 20px;   }
                                 /*ingress*/
                                    body  .msTableTdFrontleft   div div div  {  padding:0px; margin:0px; color:#616161;font-size:15px; line-height:15px; }
                                     body  .msTableTdFrontleft      span.newstexts, body  .msTableTdFrontleft      span.newstexts_fullblock {   display:table-cell; min-width:60%;  /* ** */  padding-left:20px; vertical-align:top; text-align:left;       }
                                     body  .msTableTdFrontleft    span.liftImagecontainer, body  .msTableTdFrontleft    span.liftImagecontainer_fullblock { display:table-cell; min-width:40%;  width:40%;   vertical-align:top; text-align:left;         }
                                     body   .msTableTdFrontleft   h4 {  color:#222222;  font-size:22px;   margin-top:0px;   }
         
                                  .msTableTdFrontleft >  div img {    width:100%; height:auto;  }
                                  
                                  body  .release-date {   margin-bottom:10px!important; }
                                 .release-date span {  background: transparent; padding-right:15px;}
                            /* graphic liners*/
                            .graphicLiner  { display:inline-block!important;  width:100%;height:1px; clear:both; padding:0px; margin:0px; background: none #e2e2e2; }


                            /* Image lift round imgs. Modify these values when actual image size is decided */
                            .rightside .liftImagecontainer img {
                                display: block;
                                height: 106px;
                                width: 106px;
                                -moz-border-radius: 53px;
                                -webkit-border-radius: 53px;
                                -khtml-border-radius: 53px;
                                border-radius: 53px;
                                margin: 0 auto 15px auto;
                            }

                     /*end  tiedotenosto etusivu */


                     


            /* mobiilimenu*/
                    

            
                    .breadtable {
                        display: none;
                        /*display: table;  */
                        width: 95%;
                        border-top: 1px solid #dcdcdc;  border-right: 1px solid #dcdcdc;  border-bottom: 1px solid #dcdcdc;
                        min-width:95%; margin:0px auto 0px auto;min-height:50px;  margin-bottom:0px; 
                    }
                    .bread1, .bread2 {
                        display: table-cell; border:0px red solid; text-align:left;  vertical-align:middle; margin-top:20px;
                        border-left: 1px solid #dcdcdc; padding:10px 0px; margin:0px;
                    }
                    .bread1 {display: none;  
                       background: url("images/sub_menu_icon.png") no-repeat scroll center  center transparent; 
                         width:50px;max-width:50px;    display:none; cursor:pointer!important;  
                    }
                     .bread2 .breadcrumb  { margin-left:10px;
                    }
                   .submenutable{
                        display: none;    
                        width: 95%; margin-top:0px;
                        border-left: 1px solid #dcdcdc;  border-right: 1px solid #dcdcdc;  border-bottom: 1px solid #dcdcdc;  
                        min-width:95%; margin:-4px   auto 20px auto;
                    } 
   

                    /* mobiilipolku*/
                   body .innerpage .mobilemenu .sidebar-nav .nav {
                        background: none repeat scroll 0 0 transparent;
                
                        min-width: 260px;
               
                    }
                    body .innerpage .mobilemenu .sidebar-nav   h3  {
                        margin-top: 0px; padding-top:10px; color:#1f1f1f;  margin-left:5px;font-size: 13px; font-weight: bold;
                    }
                     

                  body  .submenutable .well.sidebar-nav {
                        background: transparent;  
                    }
      
                 body .well a:before {
                    color: #1f1f1f;
                     
                }

                .submenutable > .row {
                    margin: 0px 25px;
                }
                    .submenutable > .row > div {
                        margin-top: 25px;
                    }


               body  .well .nav li a:link, body  .well .nav li a:hover, body  .well .nav li a:visited, body  .well .nav li a:active {
                   
                    color: #009eaa;
                    font-size: 14px; text-decoration: none;  font-weight: bold; padding-top:10px;padding-bottom:10px;
                }

            /* Keskustelualueen tyylit */
            /* Keskustelulista */
            .new_thread {
                margin-top: 20px;
            }
            .discussion_list_container table {
                width: 100%;
            }
                .discussion_list_container table th, .discussion_list_container table tr td {
                    border-top: none;
                    border-left: none;
                    border-right: none;
                }
                .discussion_list_container table td {
                    background: #F9F9F9;
                }
            .row.info {
                margin-top: 25px;
            }
                .row.info .date_print {
                    color: #616161;
                }

            /* Keskustelu */

            #discussionHeaderArea {
                display: none !important; /* Yksi kommenttien lukumääränn kertova teksti riittänee */
                float: right;
                clear: right;
                margin-top: 50px;
                color: #616161;
            }
            .discussion {
                clear: both;
                float: left;
                padding-left: 20px;
            }
            .discussion #selectedpage {
                margin-top: 25px;
            }
            #selectedpage .write_comment {
                float: left;
                margin-left: -20px;
            }
            .topheaderDiv h5.entry-title {
                margin-top: 40px;
                float: left;
                clear: both;
                width: 100%;
                color: #616161;
                margin-bottom: 20px;
            }
            .comment_writer {
                margin-top: 10px;
                color: #616161;
                background: #F9F9F9;
                padding: 5px 0;
            }
            .comment #MessageColumn .comment_content h5.entry-title {
                font-weight: bold;
            }
            .topheaderDiv #MessageColumn3 {
                float: left;
                clear: both;
            }
                .comment .comment_text {
                    margin-top: 20px;
                }
                .comment .commentFooterWrapper {
                    display: table;
                    width: 100%;
                    margin-top: 10px;
                }
                .comment .comment_writer {
                    display: table-cell;
                    clear: both;        
                }
                    .comment .comment_writer span {
                        font-size: 14px;
                    }
                .comment .commentFooter {
                    display: table-cell;
                    white-space: nowrap;
                    text-align: right;
                    background: #F9F9F9;
                }
                    .comment .commentFooter span {
                        display: inline-block;
                        padding: 5px 0;
                    }
                    .commentFooter .comment_inform {
                        border-right: 1px solid #E8E8E8;
                        padding-right: 10px !important;
                    }
                    .commentFooter .comment_dislike {
                        color: #AB7777;
                        margin-right: 10px;
                        margin-left: 7px;
                    }
                    .commentFooter .comment_like {
                        color: #458434;
                    }
                .all_messages {
                    float: left;
                    clear: both;
                }

            /* Uusi kommentti */
            .discussion {
                width: 100%;
            }
                .discussion .comment {
                    float: left;
                    clear: both;
                    width: 100%;
                    margin-bottom: 50px;
                }
                    .discussion .comment .inputlabel.commentHeaderLabel {
                        float: left;
                        clear: both;
                        font-size: 15px;
                    }
                    .discussion .comment .commentHeaderInput {
                        float: left;
                        clear: both;
                        width: 70%;
                        margin-bottom: 20px;
                    }
                        .discussion .comment .commentHeaderInput input {
                            width: 100%;
                        }
                    .discussion .comment .inputlabel.commentLabel {
                        float: left;
                        clear: both;
                        font-size: 15px;
                    }
                    .discussion .comment .commentInput {
                        float: left;
                        clear: both;
                        width: 100%;
                        margin-bottom: 30px;
                    }
                        .discussion .comment .commentInput textarea {
                            width: 100%;
                        }
                    .discussion .comment .inputlabel.commentWriterLabel {
                        float: left;
                        clear: left;
                        margin: 7px 10px 0 0;
                        font-size: 15px;
                    }
                    .discussion .comment .commentWriterInput {
                        float: left;
                        clear: right;
                    }
                    .discussion .comment .commentButtons {
                        float: right;
                        clear: both;
                        margin-top: 30px;
                    }
                        .discussion .comment .commentButtons input {
                            margin-left: 20px;
                            width: 80px;
                        }

   /*  }*/

   /* Palstasivujen blokkien tyylit */
    /*
        .floatingContentBox {
            width: 48%;
            float: left;
            margin: 10px 1% 20px 1%;
        }*/


           
            /* mobiilikorjaus 200405*/
             #content_area > .release {padding: 0 15px 0 15px!important;  }
  
            /* mobiilikorjaus 220405*/
                body #Main_Content_FullWidhtDataArea_MainContent_content_main_areapage.content_main {
                   padding: 0 15px 0 15px!important;  
                 }
                  body   #content_area img {
                  max-width: 100%!important;  height: auto!important;  
                }
                   body   #content_area img.pagemainimage {
                  max-width: 95%!important;   height: auto!important;  
                   display: block;
                        margin-left: auto;
                        margin-right: auto;
                        padding-top:20px;
                }

    
          
    .rightside .box2 {
        max-width: 100%;
    }
        .rightside .box2 .SitePageNews {
			display: table;
			width: 100%;
			border-bottom: 1px solid #E2E2E2;
		}
		.SitePageNews .liftImagecontainer_fullblock {
			display: table-cell;
			vertical-align: middle;
			width: 90px;
            padding-bottom: 15px;
		}
			.SitePageNews .liftImagecontainer_fullblock a {
				display: block;
			}
				.SitePageNews .liftImagecontainer_fullblock img {
					display: block;
					height: 76px;
					width: 76px;
					border-radius: 38px;
				}
		.SitePageNews .newstexts_fullblock {
			display: block;
			overflow: auto;
		}
			.SitePageNews .newstexts_fullblock a {
				display: block;
			}


    .submenutable .SitePageNews .liftImagecontainer_fullblock {
        float: left;
    }


    /* more readable font for mobile view */
    body .msTableTdFrontleft div div div {
        font-size: 16px;
        font-weight: 500;
    }
    body .innerpage {
        font-size: 15px;
        font-weight: 400;
    }
    body h1, body h1.tiili, body h1.turkoosi,
    .jumbotron .innerpage h1, .jumbotron .innerpage h1.tiili, .jumbotron .innerpage h1.turkoosi
    {
        font-size:24px !important;
        font-weight: 600 !important;
    }
    body h2, body h2.tiili, body h2.turkoosi,
    .jumbotron .innerpage h2.tiili, .jumbotron .innerpage h2, .jumbotron .innerpage h2.turkoosi
    {
        font-size:21px !important;
        font-weight: 600 !important;
    }
    body h3, body h3.tiili, body h3.turkoosi,
    .jumbotron .innerpage h3, .jumbotron .innerpage h3.tiili, .jumbotron .innerpage h3.turkoosi
    { 
        font-size:16px !important; 
        font-weight: 600 !important;
    }


    

    

   
    

    



}/*END  max-width: 767px*/
/** ================================================== **/



/** ================================================== **/
/* max-width: 550px*/
@media screen and (max-width: 550px) 
{
    .colorpanelTdGoogle .gsc-search-box {
        margin: 0px 10% 0px 0px;
    }
    .colorpanelTdSahkoinen .msTblsah {
        margin: 7px 10% 7px 8px;
    }

}/*END  max-width: 550px*/
/** ================================================== **/


  /** ================================================== **/
 /*mobile size max-width: 480px  */
  @media screen and (max-width: 480px)
 {  
  
   /* open-close box on main menu */
    body .openMenuBox { display: block!important; } /* hyv*/
     /*============*/
  
 
  
   /* main nav for  mobile format */
         body .navbar-default .navbar-nav > li > a:first-child, body .navbar-default .navbar-nav > li > a:first-child:hover, 
            body .navbar-default .navbar-nav > li > a:first-child:focus    
           {
                 font-size:18px!important;
            }
      /* mobile logo*/
    body .logo img {
        /*margin-top:0px!important;  */
    }
    
  

        body  .sahkoinenasiointi a:link,body  .sahkoinenasiointi a:hover, body  .sahkoinenasiointi a:active,body  .sahkoinenasiointi a:visited  {
              font-size:11px;
         }
    /*
        .floatingContentBox {
			width: 94%;
			float: left;
			margin: 10px 1% 20px 1%;
		}*/

    .colorpanelReadSpeaker {
        width: 22%;
    }
        .colorpanelReadSpeaker .rs_skip.rsbtn.rs_preserve a {
            max-width: 90%;
        }
            .colorpanelReadSpeaker .rs_skip.rsbtn.rs_preserve a img {
                max-width: 90%;
            }


  
 }  /* END mobile size max-width: 480px  */
/** ================================================== **/
 
 

@media screen and (max-width: 767px) {
    body .mobilelogocontainer img {
        margin-top: 8px;
        margin-left: 16px;
        max-width: 175px;
    }
}
 
  /** ================================================== **/
 /*mobile size max-width: 440px  */
  @media screen and (max-width: 440px)
 {  
  
  
     /* mobile logo and actions*/
          body .logo img {
           margin-top:13px!important; 
        }
       body   .mobilelogocontainer { max-width:30%!important; } 
       body   .mobilelogocontainer  .logo img  { max-width:130px!important; height: auto; }
        body  .mobileactioncontainer{ min-width:69%!important; }
   
  
 }  /* END mobile size max-width: 420px  */
/** ================================================== **/


/* To make sure that all content links have proper colors */
#content_area a {
    color: #2E49B0;
}

#content_area a:hover {
    text-decoration: underline;
}

#content_area .panel-heading a {
    color: #000;
}
#content_area .panel-heading a:hover {
    text-decoration: none;
}

.panel-default > .panel-heading {
    transition: 0.2s;
}

.panel-default > .panel-heading:hover {
    background-color: #f2f2f2;
}

    .panel-default > .panel-heading.lampi {
        background-color: #BAE5E8;
        border-color: #73CAD0;
    }

    .panel-default > .panel-heading.taivas {
        background-color: #80DDED;
        border-color: #00BBDC;
    }

    .panel-default > .panel-heading.pilvi {
        background-color: #FFF;
        border-color: #80DDED;
    }

    .panel-default > .panel-heading.usva {
        background-color: #CBD2EB;
        border-color: #95A3D6;
    }

    .panel-default > .panel-heading.usva_tumma {
        background-color: #0E4E66;
        border-color: #0E4E66;
        opacity: 0.55;
    }

    .panel-default > .panel-heading.metsa {
        background-color: #D7F2D3;
        border-color: #AEE5A4;
    }

    .panel-default > .panel-heading.tiili {
        background-color: #F9D7D1;
        border-color: #F3ADA2;
    }

    .panel-default > .panel-heading.pelto {
        background-color: #FFF5C4;
        border-color: #FEEB87;
    }

    .panel-default > .panel-heading.pelto_tumma {
        background-color: #FFD980;
        border-color: #FFB300;
    }

    .panel-default > .panel-heading.hyvinkaanvesi_sininen {
        background-color: #FFF;
        border-color: #4b75bc;
    }


.panel-heading .panel-title {
    font-weight: 600 !important;
}

/*tiedote - nayta kaikki */
    .startreadmore {
        display: block;
        padding: 0px  0px 20px 0px;  
        text-align:right;
    }
    .startreadmore  a:link, .startreadmore  a:hover, .startreadmore  a:active, .startreadmore  a:visited {
       color: #231f20;
   
    font-size: 13px;
        font-weight: normal;
        text-decoration: none;
    }
        .startreadmore a:after {
            color: #231f20;
            content: ">";
            font-weight: normal;
            padding-left: 5px;
        }

/* Tiedostolistaus */

.fileListWrapper table {
    display: inline-block;
    padding: 0;
    width: 90%;
    margin: 6px 0;
}

.fileListWrapper tbody {
    /* display: inline-block; */
    word-break: break-all;
}

.fileListWrapper tr {
    /* display: block; */
    word-break: break-all;
    /*padding: 6px 0;*/
    width: 100%;
}

.fileListWrapper td {
    /* white-space: initial; */
    word-break: break-all;
    /* display: block; */
    padding: 0;
}

.fileListWrapper > div table:first-child {
    margin: 0;
}



.colorpanelsub .colorpanelTdGoogle input.quicksearchinput {
    width: 75%;
    max-width: 404px;
    height: 30px;
    margin-top:7px;
}

.colorpanelsub .colorpanelTdGoogle img
 {
    margin-top:6px;
}




@media screen and (max-width: 550px) {
  body  .colorpanelsub .colorpanelTdGoogle input.quicksearchinput {   width: 60%!important;  max-width: 404px;  height: 30px;  margin-top: 7px;
    }
}
.quicksearchbutton{
    margin-top: 6px;
}
.searchbutton{
    margin-top: 2px;
}