/*Removing demo borders from sections*/
/*As this style sheet is applied _after_ the
 *kehystyyli.css, rules which are re-applied
 *here will take precedence over the ones in
 *the first one*/
#mastHead { border:none;
            color: #EE742A;
            text-align: right;

            }
#linkIndex{ border:none;
            background-image: url("pikkulogo.gif");
            background-repeat: no-repeat;
            background-position: bottom;
            padding-bottom: 150px;
 }
#contentsBox{ border:none;
              border-left: 2px solid grey;
              background: url("tausta.gif") repeat-x bottom left;}

/*redefine linkIndex for pretty links*/
#linkIndex>a{ padding-left: 10px;
              font-weight: bold;
              font-size: 90%;
              border-left: 1px solid grey;}

/*New style rules*/
#linkIndex>a,#linkIndex>a:link{ text-decoration:none;
                                }
#linkIndex>a:visited{ color: grey;
                      }
#linkIndex>a:hover{ color: #EE742A;;
                    background-color: #F0EEEC;
                    text-decoration: underline;
                    border-right: 15px solid;
                    border-left: 1px solid;
                    }
#contentsBox tt { color: grey;
                  background-color: #FFDDAA;
                  padding: 0px 3px;
                  }
#mastHead>h1{ padding-right: 1em;
              }
#mastHead>h1:hover{ color: #FFF;
                    }
#foot{ font-family: monospace;
       color: #EE742A;
       }


