body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333333;
  background: #ebebeb url(/img/bg.gif);
  margin: 5px 0;
}
img {
  border-width: 0;
  vertical-align: middle;
}
h1,h2,h3,h4,h5,h6,p,ul {
  margin: 0;
  padding: 0;
}
ul { list-style-type: none; }
a {
  color: #0099cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.clear {
  clear: both;
}

/* layout */
#mainoscontainer {
  margin: 0 auto;
  width: 1155px;
}
#jatti {
  margin: 0 0 5px 0;
}
#suurtaulut {
  width: 160px;
  overflow: hidden;
  float: right;
}
#container {
  margin: 0;
  padding: 0;
  width: 990px;
}
.header {
  background-color: #ffffff;
  padding: 1px 10px 0;
  height: 115px;
}
h1.logo {
  width: 169px;
  height: 44px;
  margin: 37px 20px 0 0;
  float: left;
  background: transparent url(/img/logo.gif) no-repeat;
}
h1.logo span { display: none; }
.header h3 {
  margin: 30px 0 0 0;
  font-size: 20px;
}
.title {
  background-color: #ffffff;
  padding: 20px 10px;
  clear: left;
}
.title h2 {
  font-weight: normal;
  font-size: 26px;
  line-height: 30px;
}
.block {
  background: #ebebeb url(/img/erotin.gif) no-repeat left top;
  padding: 20px 0 10px 30px;
  margin: 0;
  overflow: auto;
}
.block h3 {
  clear: left;
  font-size: 18px;
  color: #666666;
  margin: 5px 0 10px;
}
.white {
  background-color: #ffffff;
  padding: 10px;
  color: #666666;
}
.white h3 {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 5px;
}
.spacer {
  clear: left;
  height: 10px;
  overflow: hidden;
  background: transparent none;
}
.ikoni_lasi {
  padding-left: 30px;
  background-image: url(/img/suurennuslasi.png);
  background-repeat: no-repeat;
}
.footer {
  padding: 0 10px 10px 10px;
  font-size: 12px;
  color: #666666;
  background-color: #ffffff;
}
.footer div p {
  height: 1%;
}
.palsta {
  width: 33%;
  float: left;
}
.palsta h3 {
  padding-right: 10px;
}
.linkkilista li {
  float: left;
  width: 33%;
}


/* kohde-esittelyboksien mitat säädetään tässä */
.item { width: 310px; }
.item .iteminfo { height: 130px; }

/* muu css jonka edellämainitut boksit tarvii */
.item {
  height: 175px; /* tämän ansiosta rivitys ei mene sekaisin */
  float: left;
  margin: 0;
}
.item h3,
.item h4,
.item h3 a,
.item h4 a,
.item h3 span,
.item h4 span {
  margin: 0;
  display: block;
  font-size: 16px;
  line-height: 22px;
}
.item h3,
.item h4 {
  padding: 0 0 0 6px;
  color: #666666;
  background: transparent url(/img/itembg_topleft.gif) no-repeat left top;
  max-height: 24px;
  overflow: hidden;
}
.item h3 a,
.item h4 a,
.item h3 span,
.item h4 span {
  padding: 2px 6px 2px 4px;
  background: transparent url(/img/itembg_topright.gif) no-repeat right top;
/*  white-space: nowrap; */
}
.item .iteminfobg {
  background: transparent url(/img/itembg_bottomleft.gif) no-repeat left bottom;
  padding: 0 0 0 8px;
}
.item .iteminfo {
  background: transparent url(/img/itembg_bottomright.gif) no-repeat right bottom;
  padding: 5px 10px 10px 0;
}
.item .itemimage {
  float: left;
  width: 110px;
  height: 120px;
  overflow: hidden;
}
.itemimage span {
  position: absolute;
  background-color: #ffffff;
  color: #0099cc;
  font-size: 11px;
  line-height: 12px;
  width: 45px;
  padding: 0 0 3px 3px;
  display: none;
}
.itemimage a, .itemimage a span {
  text-decoration: none;
}
.itemimage a:hover span {
  display: block;
}
.iteminfo li {
  font-size: 12px;
  line-height: 14px;
}

/* asumisen abc ja mtv3 koti -nostoboksit */

.block_abc .item { width: 465px; height: auto; }
.block_abc .item .iteminfo { height: auto; overflow: auto; }

.block_abc .item h3 {
  padding-left: 9px;
  background: transparent url(/img/itembg_sin_topleft.gif) no-repeat left top;
  color: #ffffff;
}
.block_abc .item h3 a,
.block_abc .item h3 span {
  color: #ffffff;
  padding-left: 1px;
  background: transparent url(/img/itembg_sin_topright.gif) no-repeat right top;
}

.block_abc .item .itemimage {
  height: auto;
  width: auto;
  padding: 0 5px 5px 0;
}
.block_abc .iteminfo a { font-weight: bold; }
.block_abc .itemimage img {
  width: 200px;
}

.block_koti .item { width: 465px; height: auto; }
.block_koti .item .iteminfo { height: auto; overflow: auto;}

.block_koti .item h3 {
  padding-left: 8px;
  background: transparent url(/img/itembg_rusk_topleft.gif) no-repeat left top;
  color: #ffffff;
}
.block_koti .item h3 a,
.block_koti .item h3 span {
  color: #ffffff;
  padding-left: 2px;
  background: transparent url(/img/itembg_rusk_topright.gif) no-repeat right top;
}
.block_koti .item .itemimage {
  height: auto;
  width: auto;
  padding: 0 5px 5px 0;
}
.block_koti .iteminfo a { font-weight: bold; }
.block_koti .itemimage img {
  width: 200px;
}

/* viraalisetit */
.artikkelinapit li {
  font-size: 12px;
  line-height: 14px;
  float: left;
  margin: 0 10px 0 0;
  background: transparent url(http://www.mtv3.fi/viihde2009/img/nappi_norm_oikea.gif) no-repeat scroll right top;
}
.artikkelinapit a {
  display: block;
  background: transparent url(http://www.mtv3.fi/viihde2009/img/nappi_norm_vasen.gif) no-repeat scroll left top;
  padding: 8px 10px;
}
.artikkelinapit a span {
  display: block;
  background-repeat: no-repeat;
  padding-left: 20px;
}
.artikkelinapit .nappi_tulosta span {
  background-image:url(http://www.mtv3.fi/default/img/tulosta.gif);
}
.artikkelinapit .nappi_facebook span {
  background-image:url(http://www.mtv3.fi/default/img/facebook.gif);
}
.artikkelinapit .nappi_myspace span {
  background-image:url(http://www.mtv3.fi/default/img/myspace.png);
}
.artikkelinapit .nappi_kerro span {
  background-image:url(http://www.mtv3.fi/default/img/kerro.gif);
}

.artikkelinapit li:hover {
  background-position: right -40px;
}
.artikkelinapit li:hover a {
  background-position: 0 -40px;
}