body, html {
    height:100%;
    margin:0;
    padding:0;
    background-image: url(img/taustakuva2.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: right top;
    background-attachment: fixed;
}

img.nohover:hover {
  opacity: 1.0;
  filter: alpha(opacity=1.0);
}

/* unvisited link */
a:link {
color: #eddeed;
}

/* visited link */
a:visited {
color: #eddeed;
}

/* mouse over link */
a:hover {
color: #f98686;
}

/* selected link */
a:active {
color: #eddeed;
}


h1, h2, h3, h4, h5, h6{
  margin-top:30px;
  margin-bottom:30px;
}

/* This is a comment, by the way */

p {
    line-height: 23px;
    text-align: justify;
    font-family: "Verdana";
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.0em;
    word-spacing: 0.2em;
    line-height: 2.0;
}

/* logo-kenttä */

h1 {
    margin: 0px auto;
    width: auto;
    padding: 60px;
    background: transparent;
    background-repeat:no-repeat;
    background-image: url(img/karievinsalo-logo.jpg);
    background-position: center;
    
    
}

/* sivulinkit-kenttä */

h2 {
    margin:0px auto;
    padding:0;
    vertical-align:middle; /*middle centred*/
    width: 754px;
    font-size: 1.5em;
    background: rgba(33,18,33,0.9);
    border: 3px solid black;
    padding: 20px;
    font-family: "Verdana";
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 3px;
    word-spacing: 3.0em;
}

/* sisältökenttä */

h3

{
    margin:20px auto;
    vertical-align:middle; /*middle centred*/
    width:720px;
    padding: 37px;
    background: rgba(255,255,255,0.8);
    border: 3px solid black;
    text-align: center;
    text-align: justify;
    font-family: "Verdana";
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.0em;
    word-spacing: 0.2em;
    line-height: 2.0; 
}

.imgborder {
    border: 2px solid black;
}

img {
    opacity: 1.0;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

img:hover {
    opacity: 0.8;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

a {
    text-decoration: none;
}

strong {
    font-style: italic;
    text-transform: uppercase;
}

li {
    color: #900;
    font-style: italic;
}