html
{
	height: 100%;
}

body
{
	height: 100%;
    position: relative;
    color: #333;
    background-color: #e2d9ca;
    font-family: "Arial", sans-serif;
    font-size: 62.5%;
    margin: 0;
    padding: 0;
    text-align: center;
    
}

a
{
    text-decoration: none;
    color: #339900;
}

p, li
{
	font-size: 1.1em;
}

ul
{
	list-style-type: disc;
	margin: 0.5em 0 0.5em 2em;
}

table 
{
	border: 1px solid #000 !important;
}

td
{
	padding: 2px;
}

a:hover
{
    text-decoration: underline;
    color: #cfdcc8;
}

h1, h2, h3, div.page_title
{
    color: #339900;
    display: block;
}

h1, div.page_title
{
    margin: 0.5em 0 1em;
    font-size: 1.4em;
    font-weight: normal;
    border-bottom: 1px solid #cfdcc8;
}

h2
{
    margin: 0.5em 0 1em;
    font-size: 1.2em;
    font-weight: bold;
}

h3
{
    margin: 0.5em 0 1em;
    font-size: 1.1em;
    font-weight: bold;
}

span.lampputieto
{
    color: #000;
    text-transform: capitalize;
}

img
{
    border: none;
}

input
{
    font-family: "Arial", sans-serif;
}

#container
{		
    background-color: #ccc;
    text-align: left;
    position: relative;
    min-height: 100%;
    background: #e4dbcd url('../img/body-bg.gif') repeat-y fixed top center;
}

* html #container
{
    height: 100%;
}

#container #top-header
{
    width: 960px;
    margin: 0 auto;
    height: 21px;
    text-align: left;
    background-color: #457926;
}

#container #header-wrapper
{
    border-top: 1px solid #c5c7ca;
    border-bottom: 1px solid #c5c7ca;
    /* background: url('../img/header-bg.gif') no-repeat top center; */
}



#container #header-wrapper #header
{
    width: 960px;
    margin: 0 auto;
    height: 180px;
    text-align: left;
    padding: 0 20px;
}

#container #header-wrapper #header #logo a
{
    float: left;
    border: none;
    margin-left: 20px;
}

#container #header-wrapper #header #guide
{
    float: right;
    margin-top: 11px;
    margin-right: 30px;
}

/** Search-box **/

#container #header-wrapper #header #search
{
    float: right;
    clear: right;
    margin-top: 11px;
    margin-right: 11px;
    padding: 0;
}

#container #header-wrapper #header #search input
{
    border: 0;
    float: left;
    margin: 0;

}

#container #header-wrapper #header #search #query
{
    background: url('../img/search-box.gif') no-repeat top left;
    width: 173px;
    font-size: 1.2em;
    color: #999;
    margin-right: 7px;
    padding: 5px 3px 5px 3px;
}

#container #header-wrapper #header #search .submit
{
    background: url('../img/search-button.gif') no-repeat top left;
    width: 50px;
    height: 23px;
    text-indent: -1000em;
    font-size: 0;
    color: #fff;
} 


#container #content
{
    width: 1000px;
    margin: 0 auto;
    text-align: left;
    padding: 0px 0px 250px 0px;
    line-height: 1.2;
}







/* Sidebar */
#container #content #sidebar
{
    float: left;
    width: 296px; 
}

#container #content #sidebar #navigation ul
{
    list-style-type:none;
    margin: 3px 0 0 21px;
    padding: 0;
}

#container #content #sidebar #navigation li
{
    margin: 2px 0;
    border-top: 1px solid #cfdcc8;
    border-bottom: 1px solid #cfdcc8;
}

#container #content #sidebar #navigation li a
{
    color: #4f5050;
    font-size: 1em;
    font-weight: normal;
    display: block;
    height: 30px;
    padding: 4px 0 0px 10px;
}

#container #content #sidebar #navigation ul li ul
{
    margin: 3px 0 0 22px;
}

#container #content #sidebar #navigation ul li ul li
{
    margin: 2px 0;
    border: none !important;
}

#container #content #sidebar #navigation ul ul li a
{
    background: none !important;
}

#container #content #sidebar #navigation ul ul li a:hover
{
    background: none !important;
}

#container #content #sidebar #navigation ul ul li a
{
   text-indent: 0 !important;	
}

body.frontpage #container #content #sidebar #navigation2
{
    background: url('../img/n2-bg.gif') no-repeat scroll bottom left;
}

#container #content #sidebar #navigation2
{
    margin-left: 10px !important;
    margin-top: 30px;
    /* height: 76px; */
}

#container #content #sidebar #navigation2 ul li ul
{
    margin: 3px 0 0 22px;
}

#container #content #sidebar #navigation2 ul li ul li
{
    margin: 2px 0;
    border: none !important;
}

#container #content #sidebar #navigation2 ul ul li a
{
    background: none !important;
}

#container #content #sidebar #navigation2 ul ul li a:hover
{
    background: none !important;
}

#container #content #sidebar #navigation2 ul ul li a
{
   text-indent: 0 !important;	
}

#container #content #sidebar #navigation2 li a
{
    color: #4f5050;
    font-size: 1.1em;
    font-weight: normal;
    display: block;
    height: 30px;
    padding: 4px 0 0px 10px;
}


#container #content #sidebar #navigation2 ul, body.frontpage #container #content #navigation2 ul
{
    list-style-type: none;
    margin: 0;
}

#container #content #sidebar #navigation2 li, body.frontpage #container #content #navigation2 li
{
    margin-left: 0px
}

body.frontpage #container #content #navigation2 li a
{
    color: #4f5050;
    font-size: 1.3em;
    font-weight: normal;
    display: block;
    height: 34px;
}

#container #content #sidebar #navigation2 li.media a, body.frontpage #container #content #navigation2 li.media a {
    background: url('../img/n2-media.gif') no-repeat scroll top left;
}

#container #content #sidebar #navigation2 li.myyjille a, body.frontpage #container #content #navigation2 li.myyjille a {
    background: url('../img/n2-myyjille.gif') no-repeat scroll top left;
}

/* navigation main items */

#container #content #sidebar #navigation li a, #container #content #sidebar #navigation2 li a, body.frontpage #container #content #navigation2 li a
{
    text-indent: -1000em;
}

#container #content #sidebar #navigation li.media {
    display: none !important;
}

#container #content #sidebar #navigation li.myyjille {
    display: none !important;
}


#container #content #sidebar #navigation li.valintaopas a {
    background: url('../img/n-valintaopas.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.valintaopas a:hover {
    background: url('../img/n-valintaopas.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.hehkulamppujen-poistuminen a {
    background: url('../img/n-poistuminen.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.hehkulamppujen-poistuminen a:hover {
    background: url('../img/n-poistuminen.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.kerayspisteet a {
    background: url('../img/n-kerayspisteet.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.kerayspisteet a:hover {
    background: url('../img/n-kerayspisteet.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.saasta-rahaa-ja-ymparistoa a {
    background: url('../img/n-saasta.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.saasta-rahaa-ja-ymparistoa a:hover {
    background: url('../img/n-saasta.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.ukk a {
    background: url('../img/n-ukk.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.ukk a:hover {
    background: url('../img/n-ukk.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.faktaa-energiansaastolampuista a {
    background: url('../img/n-faktaa.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.faktaa-energiansaastolampuista a:hover {
    background: url('../img/n-faktaa.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.yhteystiedot a {
    background: url('../img/n-yhteystiedot.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.yhteystiedot a:hover {
    background: url('../img/n-yhteystiedot.gif') no-repeat scroll 100% -30px;	
}

#container #content #sidebar #navigation li.sivukartta a {
    background: url('../img/n-sivukartta.gif') no-repeat scroll 100% 0;	
}

#container #content #sidebar #navigation li.sivukartta a:hover {
    background: url('../img/n-sivukartta.gif') no-repeat scroll 100% -30px;	
}

/* main */

#container #content #main
{
    float: right;
    width: 660px;
    margin: 0px 21px 0px 0px;
    font-size: 1.1em;
    line-height: 1.3em;
}

#container #content #main p, #container #content #main li
{
    margin: 0px 30px 0px 0px;
    font-size: 1.1em;
    line-height: 1.3em;
}

#container #content #valintaopas-wrapper
{
    background: url('../img/talo.png') no-repeat scroll 45px 35px;
    width: 1000px;
    padding-top: 30px;
}

#container #content #valintaopas-wrapper #valintaopas
{
    margin-left:45px;
    margin-top:5px;
    width: 545px;
    float: left;
}

#container #content #paperi-wrapper
{
    width: 326px;
    height: 406px;
    margin-top:80px;
    float: left;
    background: url('../img/paperi.png') no-repeat top left;	
}

#container #content #paperi
{
    margin: 30px 40px 0 20px;
    text-align: center;
}

#container #content #paperi h1
{
    font-size: 1.5em;
    border-bottom: 2px solid #339900;
    padding-bottom: 0;
    display: inline;
    margin-top: 0;
    font-weight: bold;
    text-transform: uppercase;
}

#container #content #paperi div.text_content
{
	margin: 10px 5px;
    text-align: left;
}



#container #content #paperi ul
{
    list-style-type: none;
    margin: 10px 0 0 0;
    text-align: left;
}

#container #content #paperi ul li a
{
    display:block;
    height:45px;
    padding:10px 0 0 45px;
}

#container #content #paperi ul li a.katto
{
    background: url('../img/icons/katto.png') no-repeat top left;
}

#container #content #paperi ul li a.kynttelikko
{
    background: url('../img/icons/kynttelikko.png') no-repeat top left;
}

#container #content #paperi ul li a.led
{
    background: url('../img/icons/led.png') no-repeat top left;
}

#container #content #paperi ul li a.loisteputki
{
    background: url('../img/icons/loisteputki.png') no-repeat top left;
}

#container #content #paperi ul li a.ulko
{
    background: url('../img/icons/piha.png') no-repeat top left;
}

#container #content #paperi ul li a.tunnelma
{
    background: url('../img/icons/tunnelma.png') no-repeat top left;
}

#container #content #paperi ul li a.tunnelma2
{
    background: url('../img/icons/tunnelma-seina.png') no-repeat top left;
}


#footer, body.frontpage #footer, body.valintaopas #footer
{
    width: 100%;
    position: relative;
    margin: -225px auto 0 auto; 
    height: 225px;
    /* background: url('../img/footer-bg.gif') no-repeat top center; */
    border-top: 1px solid #c5c7ca;
}

#footer #footer-wrapper #logos
{
    width: 490px;
    margin: 0 auto;
    text-align: center;
}

body.frontpage #footer #footer-wrapper #logos, body.valintaopas #footer #footer-wrapper #logos
{
    padding-top: 10px;
}

#footer #footer-wrapper #logos
{
    padding-top: 40px;
}

#footer #footer-wrapper #logos ul
{
    list-style-type:none;
    margin: 0;
}

#footer #footer-wrapper #logos li
{
    float: left;
}

body.frontpage #footer, body.valintaopas #footer
{
    background: none !important;
}

body.frontpage #footer #footer-wrapper, body.valintaopas #footer #footer-wrapper 
{
    background: none !important;
}

body.frontpage #container #content #navigation2
{
    background: url('../img/n2-bg.gif') no-repeat scroll bottom left;
    margin-left: 64px !important;
    height: 76px;
}


/* A CSS hack that only applies to IE -- specifies a different height for the footer */

* html #footer
{
    margin-top: -225px;
}

#footer #footer-wrapper, body.frontpage #footer #footer-wrapper, body.valintaopas #footer #footer-wrapper 
{
    background: url('../img/footer-bg.jpg') no-repeat scroll top center;
    width: 960px;
    margin: 0 auto;
    height: 225px;
    text-align: left;
    padding: 0 20px;
}

body.frontpage #container #header-wrapper, body.valintaopas #container #header-wrapper
{
    border-top: 1px solid #c5c7ca;
    border-bottom: none;
    background: none;
}

body.frontpage #container #header-wrapper #header, body.valintaopas #container #header-wrapper #header
{
    display: none;
}

body.frontpage #container #top-header, body.valintaopas #container #top-header 
{
    background-color: transparent !important;
}

body.frontpage #container, body.valintaopas #container
{		
    background: #dad0c0 url('../img/frontpage_body-bg.gif') repeat-y fixed top center !important;
}

body.frontpage #container #content, body.valintaopas #container #content
{
    width: 1000px;
    margin: 0 auto;
    /* height: 770px; */
    text-align: left;
    padding: 0px 0px 250px 0px;
    line-height: 1.2;
}

body.frontpage #container #content
{
	height: 770px;
    background: url('../img/frontpage_bg.png') no-repeat center 200px;	
}

body.valintaopas #container #content
{
	height: 600px;
    background: url('../img/frontpage_bg.png') no-repeat center 50px;
}

body.frontpage #container #content div.logo
{
    display: block;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

body.frontpage #container #content div.menu
{
    height: 347px;
    width: 780px;
    margin: 0 auto;
    position: relative;
}

body.frontpage #container #content div.menu a
{
    color: #4f5050;
    float: left;
    font-size: 1.3em;
    font-weight: normal;
    display: block;
    height: 347px;
    width: 200px;
    text-indent: -1000em;
}

body.frontpage #container #content div.menu a.valintaopas {
    background: url('../img/frontpage-valintaopas.gif') no-repeat scroll 100% 0;
    width: 256px;
    position: absolute;
    top: 0px;
    left: 6px;	
}

body.frontpage #container #content div.menu a.valintaopas:hover {
    background: url('../img/frontpage-valintaopas.gif') no-repeat scroll 100% -347px;	
}

body.frontpage #container #content div.menu a.kierratys {
    background: url('../img/frontpage-kierratys.gif') no-repeat scroll 100% 0;
    width: 255px;
    position: absolute;
    top: 10px;
    left: 286px;	
}

body.frontpage #container #content div.menu a.kierratys:hover {
    background: url('../img/frontpage-kierratys.gif') no-repeat scroll 100% -347px;	
}

body.frontpage #container #content div.menu a.osallistu {
    background: url('../img/frontpage-osallistu.gif') no-repeat scroll 100% 0;
    width: 262px;
    position: absolute;
    top: 10px;
    left: 543px;	
}

body.frontpage #container #content div.menu a.osallistu:hover {
    background: url('../img/frontpage-osallistu.gif') no-repeat scroll 100% -347px;	
}

.clearer
{
    clear: both;
    height: 1px;
}


/* Gallery */

ul.org_routamc_photostream_photos li {
    height:250px;
}