/* Nuorisoseuran sivujen tyylisivu */

#ylaosa
{
    padding: 20px 0px 20px 0px;
    position: absolute;
    top: 0;
    left: 150px;
    right: 0px;
    background-image: url(TNS-vaakapalkki.jpg);
    background-repeat: repeat-x;
    font-family: times;
    font-style: italic;
    font-size: 50px;
    font-weight: 900;
    text-align: center;
}
/* Kaikkien sivujen Päävalikko */
#menu
{
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0;
    width: 150px;
    font-family: 'Times New Roman' , Times, serif;
    font-weight: bold;
    font-size: x-large;
    white-space: nowrap;
    text-align: left;
    padding: 120px 0px 0px 0px;
    border: none;
    background: url(TNS-pystypalkki.jpg);
    background-repeat: no-repeat;
}
#menu a
{
    padding: 2px 0px 2px 5px;
    text-decoration: none;
    display: block;
    margin: 20px 0 20px 0px;
}
#menu a#tama
{
    color: White;
    background: url(TNS-nappi.jpg);
}
#menu a:link { color: Black }
#menu a:visited { color: Black }

/**********************/
#sisalto
{
    position: absolute;
    top: 100px;
    left: 150px;
    right: 0;
    bottom: 0;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    text-align: center;
    background: url(Tausta.jpg);
    background-repeat: repeat-x;
}
#sisalto p.tarkoitus
{
    border: none;
    margin: 0px auto 0px auto;
    padding: 20px 0 20px 0;
    text-align: center;
    width: 500px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    font-style: italic;
}
#sisalto p
{
    margin: 20px;
    padding-top: 20px;
    font-family: 'Times New Roman' , Times, serif;
    font-size: large;
}
#sisalto address
{
    padding: 20px 0 20px 0;
    font-size: large;
}
#sisalto a img
{
    margin: 5px;
}
#sisalto a:link img {
    border: none;
}
#sisalto a:visited img {
    border: none;
}

/* Webmaster-teksti */
#alaosa
{
    position: absolute;
    bottom: 10px;
    left: 0.2em;
	font-style : italic;
	font-family : serif;
	font-size : x-small;
}

/* Sisällön layout */
.vaspalsta
{
    margin: 10px;
    border: none;
    width: 45%;
    float: left;
}

.oikpalsta
{
    margin: 10px;
    padding-left: 1em;
    border-style: none none none solid;
    border-width: thin;
    border-color: #808080;
    width: 40%;
    right: 0px;
    float: right;
}

.kokolev
{
    clear: both;
}

h1
{
    font-family: sans-serif;
    margin: 10px 10px 10px 2em;
    text-align: left;
    font-style: italic;
}
h2 {
	font-family : sans-serif;
	margin : 10px 10px 10px 0px;
	text-align : left;
	font-style : italic;
}

h3 {
	font-family : sans-serif;
	margin : 5px 10px 0px 0px;
	text-align : left;
	font-style : italic;
}

/* Normaali taulukko */
.norm {
	border-collapse: collapse;
	border : thin solid Black;
}
.norm caption {
	font-family : sans-serif;
	font-size : larger;
	font-weight : bold;
	padding-bottom : 0.2em;
	padding-left : 0em;
	text-align : left;
}
.norm td {
	border : 1pt solid Black;
	padding : 0.2em 0.2em 0.2em 0.2em;
}
.norm th {
	border : 1pt solid Black;
	background-color : Silver;
	padding : 0.2em 0.2em 0.2em 0.2em;
}

/* Yhteystietotaulukko */
.yhteys
{
    font-family: sans-serif;
    text-indent: 0.2em;
    border-collapse: collapse;
    border: thin solid Black;
    margin: 20px 0 0 1em;
}
.yhteys caption
{
    font-weight: bold;
    font-size: larger;
    padding-bottom: 0.2em;
    padding-left: 0em;
    text-align: left;
    padding-top: 1em;
}
.yhteys th {
	font-weight : bold;
	font-size: smaller;
	border : 1pt solid Black;
	background-color : Silver;
}
.yhteys td {
	font-weight: normal;
	font-size: smaller;
	border : 1pt solid Black;
	padding : 0.2em 0.2em 0.2em 0.2em;
}


