@import '/css/safari3.css';

html
{
  overflow: scroll;
  overflow-x: auto;
}

body
{
  text-align: center;
  margin: 0;
}

html,
body
{
  height: 100%;
}

#container
{
  text-align: left;
  margin: 0 auto;
  width: 957px;
  font-size: 12px;
  height: 1000px;
  min-height: 100%;
  height: 100%;
}

* html body.mainpage #container
{
    padding-left: 150px;
}

html > body #container
{
  height: auto;
}

body.mainpage #container
{
  background-image: url('/images/pablo-background.gif');
  background-repeat: no-repeat;
  background-position: 248px 0;
}

* html body.mainpage #container
{
  background-position: 398px 0;
}

#header
{
  position: absolute;
  top: 31px;
  left: 30px;
}

#container a img
{
  border-style: none;
}

body.mainpage #content-text
{
  padding-bottom: 80px;
}

#content-text
{
  padding-bottom: 120px;
}

body.mainpage #content-text div.content
{
  text-transform: uppercase;
  padding-top: 20px;
}

#content
{
  padding: 86px 253px 46px 254px;
}

body.kollaasikone #content,
body.elama_ja_teokset #content,
body.mina_ja_picasso #content,
body.mainpage #content
{
  padding: 26px;
  clear: both;
}

body.mainpage #content
{
  margin-top: 385px;
}

#content p
{
  margin-left: 0;
}

#navigation
{
  padding-top: 31px;
  text-align: center;
}

#navigation ul
{
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

#navigation,
#navigation ul
{
  width: 1000px;
}

#navigation ul li
{
  display: block;
  float: left;
  height: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  overflow: hidden;
}

#navigation li.etusivu
{
  margin-left: 210px;
}

body.mainpage #navigation li.etusivu
{
  margin-left: 100px;
}

* html #navigation li.etusivu
{
  margin-left: 100px;
}

* html body.mainpage #navigation li.etusivu
{
  margin-left: 60px;
}

body.mainpage #navigation li.picasso_hesarissa a
{
  margin-left: 0;
}

#container #navigation ul li a
{
  background-repeat: no-repeat;
  background-position: 0 0;
  color: #999999;
  text-transform: uppercase;
  padding: 0 1em;
}

#container #navigation ul li a img
{
  display: block;
  float: left;
}

body.mainpage #navigation
{
  text-align: right;
}

body.mainpage #navigation ul
{
  padding-right: 280px;
  padding-left: 0;
  margin-left: 0;
}

body.mainpage #navigation ul li.picasso_hesarissa
{
  margin-left: 70px;
}

#container #navigation ul li.selected a img,
body.mainpage #container #navigation ul li.etusivu a img,
#container #navigation ul li a:hover img
{
  margin-top: -43px;
}

#container #navigation ul li.selected a,
body.mainpage #container #navigation ul li.etusivu a,
#container #navigation ul li a:hover
{
  font-weight: bold;
  text-decoration: none;
}

#container a:link,
#container a:visited
{
  color: #000000;
  text-decoration: none;
}

#container a:hover,
#container a:visited:hover
{
  text-decoration: underline;
}

#footer
{
  margin: -50px auto 0;
  width: 957px;
  height: 40px;
  text-align: left;
  line-height: 40px;
  height: 50px;
}

body.mainpage #footer
{
  text-align: center;
}

#footer a img
{
  border-style: none;
  vertical-align: middle;
  margin: 0 46px;
}

body.mainpage #footer a img
{
  border-style: none;
  vertical-align: middle;
  margin-left: 23px;
}

#footer #pablo_homepage
{
  float: right;
  margin-top: -142px;
  margin-right: 46px;
}

#footer #pablo_homepage img
{
  display: block;
  position: absolute;
  right: 10px;
}

body.content-page #ateneum_footer
{
  position: absolute;
  left: 0;
  margin: 0;
}

body.content-page #hs_footer
{
  position: absolute;
  left: 160px;
}

* html #footer #pablo_homepage img
{
  margin-top: -57px;
  margin-left: -155px;
}

body.mainpage #footer #pablo_homepage
{
  display: none;
}

#pablo_big
{
  text-align: center;
}

#mainpage_liftups
{
  height: 209px;
}

body.mainpage #mainpage_liftups div.liftup
{
  background-color: #000000;
  color: #ffffff;
  width: 285px;
  height: 209px;
  float: left;
  margin-left: 25px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  padding: 0;
}

#mainpage_liftups div.liftup div.content
{
  padding: 0;
}

#mainpage_liftups div.liftup img
{
  display: block;
}

#mainpage_liftups div.liftup div.content,
#mainpage_liftups div.liftup div.content a
{
  color: #ffffff;
}

#mainpage_liftups #liftup_1
{
  margin-left: 0;
}

body.mainpage #content-text #main_content
{
  line-height: 20px;
  text-align: center;
}

#content iframe
{
  border-style: none;
  padding: 0;
  margin: 0;
}

#content #flash_object
{
  z-index: -1;
} 