html {
    background-color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
}

body {
    text-align: left;
    width: 960px;
    margin: 0 auto 50px auto;
    padding: 0;
    font-size: 12px;
    font-family:Tahoma;
    line-height: 1.2;
}
h1,h2, h3{
    font-weight: normal;
    color: #aed431;
    padding: 20px
}

h1{
    font-size: 300%;
}

h2{
    font-size: 200%;
}

h3{
    font-size: 150%;
}
a {
    color: #aed431;
}

a:hover {
    color: #8baa27 !important;
}

#header {
    height: 89px;
}
#logo{
    display:block;
    height: 65px;
    width: 285px;
    margin-top: 10px;
    background: url('/images/logo.png') no-repeat;
    padding-left: 0px;
}
#hotspot {
    display: block;
    background: url('/images/hotspot.png') center no-repeat;
    height: 379px;
    width:960px;
    padding-top: 50px;
}
#hotspot h1 {
    letter-spacing: 1px;
    font-weight: normal;
    font-size: 330%;
    color: #aed431;
    padding: 20px;
}

p#indextext {
    padding: 30px;
    padding-top: 70px;
    font-size: 250%;
    color: #eee;
    text-align: center;
}

img#asiakkaat {
    margin-top: -20px;
    
}
#indextext {
    margin-top:-40px;
    line-height: 70px; 
}
#indexpic{
    margin-top: -20px;
}


.gray{
    color: #bbb;
}
.green{
    color: #83a128;
}.spring{
    color: #bae83b;
}

.large {
font-size: 130%;
}

.small {
    font-size: 60%;
}


/* Navigation menu */
ul#mainmenu {
    background: url('/images/menu.png') no-repeat;

    margin: 7px 0 0 20px;
    padding: 0 10px;
    height: 88px;
    width: 600px;
}

ul#mainmenu li {
    height: 88px;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline;
    float: left;
}

ul#mainmenu li a {

    color: #aaa;
    float: left;
    display: block;
    line-height: 31px;
    vertical-align: middle;
    padding: 5px 10px;
    margin-top: 15px;
    font-size: 16px;
    text-decoration: none;

}

ul#mainmenu li a:hover{
    color: #fff;
}

ul#mainmenu li a.active {
    color: #83a128;
}

ul#mainmenu li#first a{
    background: url('/images/logo_black.png') bottom left no-repeat;
    width: 53px;
    height: 56px;
    border-left: none;
    margin-left: 10px;
    margin-top: -5px;
}

ul#mainmenu li#first a:hover{
    background: url('/images/logo_black_hover.png') bottom left no-repeat;
}

ul#mainmenu li#last a {
    border-right: none;

}

ul#mainmenu li.first a:hover, ul#mainmenu li.first a.active {
}



/* Other and footer */
#footer {
    background: url('/images/footer.png') repeat-x;
    position: fixed;
    bottom: 0;
    left: 0;
    color: #222;
    height: 40px;
    width: 100%;
    font-size:120%;
    line-height: 40px;
    text-align: center;
    border-top: 1px solid #83a128; 
}

#footer a {
    text-decoration: none;
    color: #222;
}

#footer a:hover {
    text-decoration: underline;
}

.indexbox {
    display: block;
    background: url('/images/box.png') no-repeat;
    height: 230px;
}

#service{
    background: url('/images/palvelu.png') no-repeat;
    height: 476px;
}

#tuotteet_pieni, 
#alihankinta_pieni {
    background: url('/images/pikkubg.png') no-repeat;
    height: 346px;
}

#tuotteet_pieni h2,
#tuotteet_iso h2,
#alihankinta_pieni h2,
#alihankinta_iso h2{
    width: 300px;
    text-align: center;
    margin-left: -50px;
}

div.teksti{
    font-size: 145%;
    color: #fff;
    margin-left: 40px;
    width: 150px;
}

#tuotebutton, 
#alibutton{
    background: url('/images/button.png') no-repeat;
    display: block;
    width: 30px;
    height: 30px;
    padding: 25px;
    font-size: 110%;
    text-decoration: none;
    color: #333;
    margin-left: 15px;
    font-weight: bold;
}



#tuotebutton:hover, 
#alibutton:hover{
    background: url('/images/button_hover.png') no-repeat;
}

#tuotteet_pieni img,
#tuotteet_iso img,
#alihankinta_pieni img,
#alihankinta_iso img {
    padding: 40px;
}

#tuotteet_pieni img,
#alihankinta_pieni img {
    margin-top: -20px;
}

#tuotteet_iso,
#alihankinta_iso{
    background: url('/images/isobg.png') no-repeat;
    height: 346px;
}

#tuotteet_iso ul,
#alihankinta_iso ul{
    color: #fff;
    font-size: 120%;
    list-style: disc;
}
#alihankinta_iso img{
    margin-left: -200px;
    margin-top: -50px;
}

#tuotteet_iso img{
    margin-left: -130px;
}

.part_two {
    margin-top: 60px;
    color: #aed431;
    padding-left: 30px;
    font-size: 130%;
}

.part_two a{
    color: #aed431;
    font-size: 110%;
}

.part_one {
    padding-left: 50px;
}

#alihankinta_iso div.teksti{
    margin-left: 50px;
}

#spotlight {
    margin-left: -10px;
    margin-right: 30px;
    margin-top: 20px;
}

#kuvaus {
    color: #fff;
    font-size: 250%;
    padding-left: 20px;
}

p{
    color: #eee;
    padding: 50px;
    font-size: 150%;
}

#tutustu {
    display: block;
    background: url('/images/tutustu.png') no-repeat;
    width: 121px;
    height: 121px;
    margin-top: 30px;
}

#tutustu:hover {
    background: url('/images/tutustu_hover.png') no-repeat;
}

.index{
    color: #999 !important;
    margin-left: 60px !important;
}

#mail {
    color: #aed431;
}

img#job {
    margin-left: 100px;
}

.contact {
    margin-top: -20px;
}

.contact div.teksti {
    width: 250px;
    font-size: 120%;
    margin-left: 20px;
}

.mail {
    color: #aaa;
}

#tuotteet_iso .part_two a{
    margin-left: 120px;
}

#tekniikat {
    margin-top: -15px;
    margin-left: 15px;
}

#tekniikat div {
    float: left;
}

#tekniikat a{
    display: block;
    background: url('/images/tekniikat_logos.png') no-repeat;
    width: 170px;
    margin-left: 30px;
    margin-top: px;
}

#model{
    width: 341px;
    padding-top: 20px;
    height: 340px;
    background: url('/images/tekniikat_bg.png') 0 -5px no-repeat;
}

a#alchemy{
    background-position: 0 0px;
    height: 50px;
}

a#mongo{
    background-position: 0 -50px;
    height: 70px;
}

a#postgre{
    background-position: 0 -120px;
    height: 55px;
}

a#mysli{
    background-position: 0 -175px;
    height: 85px;
}

#controller{
    width: 341px;
    padding-top: 20px;
    height: 340px;
    background: url('/images/tekniikat_bg.png') 0px -370px no-repeat;
}

a#pylons{
    background-position: 0 -260px;
    height: 60px;
}

a#tg{
    background-position: 0 -320px;
    height: 150px;
}

a#django{
    background-position: 0 -470px;
    height: 60px;
}

#view{
    width: 241px;
    padding-top: 20px;
    height: 340px;
    background: url('/images/tekniikat_bg.png') 0 -732px no-repeat;
}

a#genshi{
    background-position: 0 -530px;
    height: 70px;
}

a#jquery{
    background-position: 0 -600px;
    height: 80px;
}

a#mako{
    background-position: 0 -680px;
    height: 80px;
}

a#rogolink {
    margin-left: 0px !important;
    font-size: 80%;
}