

body   {
    background-image: url("bg.jpg");
    background-attachment: fixed;
    margin: 0px 0px 15px 0px;
}



#topbar {
    z-index: 2;
    position: fixed;
    float: left;
    background-color: white;
    width: 100%;
    height: 82px;
    margin-top: 0px;
    border-bottom: 3px solid #0B2161;
    box-shadow: 0px 2px 15px #000000;
    overflow: hidden;
}

#logo img {
    margin-top: 0px;
    transform: scale(0.8) rotate(-8deg);
    -webkit-transform: scale(0.8) rotate(-8deg);
    -mox-transform: scale(0.8) rotate(-8deg);
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
}

#logo img:hover {
    margin-left: 30px;
    margin-top: 0px;
    transform: scale(1.0) rotate(0deg);
    -webkit-transform: scale(1.0) rotate(0deg);
    -mox-transform: scale(1.0) rotate(0deg);
    -ms-transform: scale(1.0) rotate(0deg);
}

#topbar li {
    padding: 0px 10px 0px 10px;
    list-style: none;
    display: inline-block;
    text-decoration: none;
}

#nuoli   {
    width: 100%;
    height: 82px;
    float: right;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
}

#showlinks   {
    margin-top: -48px;
}

#showlinks div:hover   {
opacity: 0;
}

#nuoli img  {
    float: right;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);    
    -moz-transform: scale(0.5);    
    -o-transform: scale(0.5);    
    -ms-transform: scale(0.5);
}

#lincon:hover {
    margin-top: -110px;
}

#lincon {
    position: relative;
    padding: 0px;
    height: 82px;
    width: 370px;
    float: right;
    margin: 0px 60px auto 0px;
    font-size: 0.8em;
    line-height: 82px;
    font-family: 'Myriad Pro', Verdana, Arial, sans-serif;
    transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
}

#links  ul ul li   {
    display: block;
    visibility: hidden;
    margin: 0;
}

#topbar a   {
    display: block;
    color: #0B2161;
    text-decoration: none;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
}

#topbar li a:hover  {
    transform: scale(1.3);
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
}   

/* YLÄPALKKI LOPPUU - NAPIT ALKAA ################################### */

#nappi  {
    width: 40px;
}

#container  {
    padding: 15px 15px 0px 15px;
    margin: 0 auto;
    left: 30px;
    top: 120px;
    background-color: rgba(0,21,61,0.3);
    float: left;
    position: fixed;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0px 2px 15px #000000;
}

.buttons a   {
    font-family: Impact, Arial, Helvetica, sans-serif;
    text-decoration: none;
    
    display: block;
    height: 40px;
    width: 180px;
    line-height: 40px;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    -moz-border-radius: 8px;

    box-shadow: 6px 6px 15px #000000;
    transition: all 0.2s;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;

}

#b1  {
    background-color: #900000;
}

#b2  {
    background-color: #900000;
}

#b3  {
    background-color: #900000;
}

.buttons a:hover  {
    cursor: crosshair;
   transform: scale(1.1);
       -moz-transform: scale(1.1);
       -webkit-transform: scale(1.1);
       -ms-transform: scale(1.1);
}

.buttons h6 {
    margin: 0px;
    padding: 0px;
    color: #0B2161;
    text-transform: uppercase;
    font-size: 1.4em;
    text-shadow: 2px 2px #FFFFFF;
    transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
}

.buttons div   {
    color: white;
    line-height: 40px;
    height: 40px;
    width: 180px;
    margin: 0px 0px 20px 0px;
    border-radius: 8px;
}

.buttons a:hover h6  {
    margin-top: -40px;
    opacity: 0;
    color: #0B2161;
    transform: scale(20) rotate(90deg);
    -moz-transform: scale(20) rotate(90deg);
    -webkit-transform: scale(20) rotate(90deg);
    -ms-transform: scale(20) rotate(90deg);
}

#footer {
    position: fixed;
    bottom: 90px;
    left: -73px;
    font: 0.7em/0.7em Verdana, Arial, sans-serif;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);    
    -moz-transform: rotate(-90deg);    
    -o-transform: rotate(-90deg);    
    -ms-transform: rotate(-90deg);    
}

/* CONTENTTI ALKAA ################################# */

#content    {
    width: 75%;
    position: relative;
    float: right;
}

#content div    {
    margin: 0px 20px 10px 0px;
    font-family: Impact, Arial, sans-serif;
    left: 10%;
    opacity: 0;
    top: 120px;
    position: absolute;
    color: white;
    width: 80%;
    background-image: url("contausta.png");
    background-position: center;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    padding: 15px 15px 15px 15px;
    box-shadow: 6px 6px 15px #000000;
    transition: all 1s linear;
    -moz-transition: all 1s linear;
    -webkit-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -o-transition: all 1s linear;
}


#content h2 {
    font-family: Impact, Arial, sans-serif;
}
