/* 
 * SMPS Tampereen Yhdistys ry www-sivujen tyylitiedosto 
 * - normaali ruudulla näytettävä versio
 */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * YLEISIÄ ASETUKSIA. PERIYTYVÄT MUUALLE, JOS NIITÄ EI 
 * YLIKIRJOITETA
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/*
 * Yleisasetukset
 */

body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  width: 950px; 

  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0px;

  border-top-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-right-width: 0px;
}


/* 
 * Linkit. Määritelty lähinnä, jotta jo kuljettu linkki
 * säilyisi edelleen fiksun näköisenä.
 */

a {
  color: #094197;
}
a:hover {
  color: #094197;
}

/*
 * Erikokoiset otsikot. 
 */
h1 {
  padding-top: 10px;
  padding-bottom: 5px;
  font-weight: bold;
  font-size: 150%;
  color: #E73020;
}
h2 {
  padding-top: 15px;
  font-weight: bold;
  font-size: 110%;
  color: #E73020;
}
h3 {
  padding-top: 5px;
  font-weight: normal;
  font-size: 100%;
  color: #E73020;
}
h4 {
  padding-top: 5px;
  font-weight: bold;
  font-size: 90%;
  color: #E73020;
}

/*
 * Normaali leipäteksti. Tasataan teksti molempiin reunoihin.
 */
p {
  text-align: justify;
}

/* 
 * Sivun sisällä käytettävien taulukoiden oletukset
 */
table {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;

  border-width: 0px;
  border-style: none;
  border-spacing: 0px;

  width: 100%;
}
td {
  vertical-align: top;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * SIVUN RAKENTEEN MUODOSTAVAN TAULUKON MÄÄRITYKSET
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* 
 * Taulukko itsessään
 */
table.runkotaulukko {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;

  border-width: 0px;
  border-style: none;
  border-spacing: 0px;

  background-color: #ffffff;

  width: 950px;
}  

table.tilastot {

  width: auto;
}

/* 
 * Yläreunan kuvat
 */
td.otsikko {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;

  border-top-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;

  border-right-style: solid;
  border-right-color: #6F99DA;
  border-right-width: 1px;

  vertical-align: bottom;

  background-color: #ffffff;
}

/* 
 * Kuvien alla oleva huomiopalkki
 */
td.huomioviiva {
  border-top-style: solid;
  border-top-color: #094197;
  border-top-width: 10px;

  border-bottom-style: solid;
  border-bottom-color: #094197;
  border-bottom-width: 10px;

  border-left-width: 0px;

  border-right-style: solid;
  border-right-color: #6F99DA;
  border-right-width: 1px;

  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 0px;
  padding-right: 0px;

  background-color: #6F99DA;
  text-align: center;
  color: white; 
  font-size: 90%;

  vertical-align: middle;
}


/*
 * Vasemman reunan valikko
 */
td.valikko { 
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;

  width: 150px;

  background-color: #094197;
  background-position: bottom right;
  background-image: url(pics/kulma.png);
  background-repeat: no-repeat;
}

/*
 * Varsinainen sisältö-osa
 */
td.sisalto { 
  padding-top: 10px;
  padding-left: 20px;
  padding-bottom: 20px;
  padding-right: 20px;

  background-color: #ffffff;
  background-position: top left;
  background-image: url(pics/sisaltokulma.png);
  background-repeat: no-repeat;

  border-right-style: solid;
  border-right-color: #6F99DA;
  border-right-width: 1px;

  width: 800px;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 * SIVUN YKSITYISKOHTIEN MÄÄRITYKSIÄ
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* 
 * Vasemman reunan valikon jutut
 */
/* Valikossa tekstin edessä oleva nuppi pitää saada keskelle */
td.valikkonuppi {
  vertical-align: middle;
}
/* Linkit */
a.valikko { 
  padding-top: 5px;
  padding-left: 2px;
  padding-bottom: 5px;

  display: block;

  color: white;
  text-decoration: none;
  font-size: 90%
}
a.valikko:hover {
  color: #E73020;
}
a.alivalikko {
  padding-left: 2px;

  display: block;
  
  text-decoration: none;
  color: white;
  font-size: 90%
}
a.alivalikko:hover {
  color: #E73020;
}

/* 
 * Kappalemääritys kuvia varten, jolloin kuville
 * saadaan yhtenäisen näköinen kuvateksti alapuolelle
 */
p.kuva {
  font-size: 90%;
  text-align: left;
  font-style: italic;
}

/*
 * Yhteistyötahot sivulla väliotsikkoina toimivat
 * yhteistyötahojen nimet piti saada näyttämään
 * otsikoilta, mutta toimimaan linkkeinä.
 */
a.linkkiotsikko {
  color: #E73020;
  text-decoration: underline;
}

/*
 * Alussivujen tekniset tiedot ja kuvan sisältävä boksi 
 */
/* Vasen palsta, jossa varsinaiset tekniset tiedot */
td.ttiedot {
  padding-right: 10px;

  border-right-style: solid;
  border-right-color: #094197;
  border-right-width: 1px;

  width: 50%;
}
/* Oikea palsta, jossa kuva */
td.ttiedotkuva {
  text-align: right;
  width: 50%;
}

/* 
 * Alussivujen tekniset tiedot -listan muodostavan taulukon osat
 */
/* Rivin vasemmassa reunassa oleva otsikko */
td.ttietootsikko {
  padding-right: 5px;

  font-size: 90%;
  font-weight: bold;
}
/* Rivin oikeassa reunassa oleva varsinainen tieto */
td.ttieto {
  font-size: 90%;
}
/* Otsikkorivit, jotka erottelevat listan eri osat */
td.ttietoylaotsikko {
  padding-top: 7px;

  font-size: 90%;
  font-weight: bold;
  color: #E73020;
} 

/* 
 * Ajankohtaista -sivun kahteen palstaan jakavan taulukon osat
 */
/* Vasen reuna, jossa tiedotteet */
td.tiedotelista {
  padding-right: 10px;

  border-right-style: solid;
  border-right-color: #094197;
  border-right-width: 1px;

  width: 60%;
}
/* Oikea reuna, jossa ajankohtaisia linkkejä */
td.linkkilista {
  padding-left: 10px;

  text-align: left;
  width: 40%;
}

/* 
 * Ajankohtaista sivun oikeassa laidassa olevat
 * linkit. Oma määritys, koska oletus p määrittää
 * tasauksen molempiin reunoihin.
 */
p.linkki {
  text-align: left;
}
p.tiedote {
  text-align: left;
}


