/* $Id: layout-fixed.css,v 1.5.2.3 2009/02/13 19:20:19 johnalbin Exp $ */

/*
 * LAYOUT STYLES
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
 */


/** body **/
  body
  {
  }

  #page,
  #closure-blocks
  {
    /*
     * If you want to make the page a fixed width and centered in the viewport,
     * this is the standards-compliant way to do that. See also the ie.css file
     * for the necessary IE5 hack to center a div.
     */
    margin-left: auto;
    margin-right: auto;
    width: 830px;
  }

  #page-inner
  {
    position: relative;
    background: #FFF;	
  }

  #navigation-top,
  #navigation
  {
    position: absolute; /* Take the named anchors out of the doc flow    */
    left: -10000px;     /* and prevent any anchor styles from appearing. */
  }

  #skip-to-nav
  {
    float: right;
    margin: 0 !important;
    font-size: 0.8em;
  }

  #skip-to-nav a:link, #skip-to-nav a:visited
  {
    color: #fff; /* Same as background color of page */
  }

  #skip-to-nav a:hover
  {
    color: #000;
    text-decoration: none;
  }

  /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs
     to the link. Un-comment the following CSS to use this technique. */
  /*
  #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited
  {
    position: absolute;
    left: 0;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #skip-to-nav a:active, #skip-to-nav a:focus
  {
    position: static;
    width: auto;
    height: auto;
  }
  */

/** header **/
  #header
  {
    height: 0px;
  }

  #header-inner
  {
  }

  #logo-title
  {
    
  }

  #logo
  {
    position: absolute;
    bottom: 20px; left: 60px;
    z-index: 10;
  }

  #site-name
  {
  }

  #site-slogan
  {
  }

  #header-blocks
  {
    clear: both; /* Clear the logo */
  }

/** main (container for everything else) **/
  #main
  {
    position: relative;
  }

  #main-inner
  {
  }
  
  #block-locale-0                   { position: absolute; top: 22px; left: 60px; z-index: 10; }
  #block-locale-0 ul                { width: 92px; height: 20px; padding: 0; margin: 0; background: url('images/kieli-slash.gif') no-repeat 50% 0; }
  #block-locale-0 ul li             { background-repeat: no-repeat; height: 20px; overflow: hidden; float: left; }
  #block-locale-0 ul li a           { width: 38px; padding-top: 20px; display: block; }
  #block-locale-0 ul li.fi          { background: url('images/kieli-fi.gif') 0 0; margin-right: 16px; }
  #block-locale-0 ul li.en          { background: url('images/kieli-en.gif') 100% 0; }

  #block-views-Uutisrulla-block_1                           { position: absolute; top: 53px; left: 60px; width: 710px; z-index: 10; }
  #block-views-Uutisrulla-block_1 a                         { white-space: nowrap; }
  #block-views-Uutisrulla-block_1 .view-content             { width: 710px; }
  #block-views-Uutisrulla-block_1 .views-field-title        { width: 710px; }
  #block-views-Uutisrulla-block_1 .views-field-edit-node    { right: -20px; }


/** content **/
  #content,
  .no-sidebars #content
  {
    float: left;
    width: 830px;
    margin-left: 0;
    margin-right: -830px; /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */
  }

  .sidebar-left #content
  {
    width: 830px;
    margin-left: 0; /* The width of #sidebar-left. */
    margin-right: -830px; /* Negative value of #content's width + left margin. */
  }

  .sidebar-right #content
  {
    width: 760px;
    margin-left: 0;
    margin-right: -760px; /* Negative value of #content's width + left margin. */
  }

  .two-sidebars #content
  {
    width: 560px;
    margin-left: 200px; /* The width of #sidebar-left */
    margin-right: -760px; /* Negative value of #content's width + left margin. */
  }

  #content-inner
  {
    height: 620px;
    margin: 0 60px 175px;
    padding: 0;
    overflow:hidden;
  }

  .field-field-isopystykuva                 { display: none; margin-top: -1em; width: 345px; position: relative; }
  .vasemmalle   .field-field-isopystykuva   { float: right; margin-right: -375px; display: block;_display:inline; }
  .vasemmalle                               { margin-right: 375px; }
  .oikealle     .field-field-isopystykuva   { float: left; margin-left: -375px; display: block; }
  .oikealle                                 { padding-left: 375px; }

  #content .suuri                           { padding-top: 60px; }
  #content .suuri .field-field-isopystykuva { margin-top: -60px; }

  #content-area                             { width: 710px; }
  .sidebar-left #content-area               { padding-left: 366px; width: 344px; }
  
  .page-suhen-sunnuntai #content-area,
  .page-pienryhmat #content-area,
  .page-palvelutiimit #content-area,
  .page-suhes-sunday #content-area,
  .page-small-groups #content-area,
  .page-service-teams #content-area
  {
    display: none;
  }

/** Korkeat sivut **/

  .section-node-edit #content-inner,
  .section-node-add #content-inner,
  .section-admin #content-inner,
  .page-media #content-inner
  {
    height: auto;
    overflow: visible;
    margin: 10px 60px 195px;
  }

  .section-node-edit #content-area,
  .section-node-add #content-area,
  .section-admin #content-area,
  .page-media #content-area
  {
    height: auto;
    position: relative;
  }

  .section-node-edit #content-area,
  .section-node-add #content-area,
  .section-admin #content-area
  {

  }

/** / Korkeat sivut **/


  .view-Galleria
  {
  }

  .view-Galleria .views-row-odd,
  .view-Galleria .views-row-even
  {
    width: 164px;
    height: 120px;
    float: left;
    margin-right: 18px;
    margin-bottom: 14px;
    position: relative;
  }

  .view-Galleria .oranssi,
  .view-Galleria .oranssi
  {
    background: #f79327;
    width: 164px;
    height: 120px;
    display: block;
  }

  .views-field-edit-node            { position: absolute; top: 1px; right: 1px; }
  .views-field-edit-node a          { width: 14px; height: 0; padding-top: 14px; display: block; overflow: hidden; background: url('images/muokkaa.gif') no-repeat 0 0; }
  .views-field-edit-node a:hover    { background-position: 0 100%; }

  .view-Saarnat .views-field-edit-node      { position: relative; font-size: 0.9em; }
  .view-Saarnat .views-field-edit-node a    { width: auto; height: auto; padding-top: 0; display: inherit; overflow: visible; background: none; color: #CCC; }




/** navbar **/
  #navbar
  {
    float: left;
    width: 100%;
    height: 90px;
    margin-left: 0;
    margin-right: -100%; /* Negative value of #navbar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */
    position: absolute;
    bottom: 72px; left: 60px;
    width: 712px;
    border-top: 1px solid #000;
  }

  #navbar a { text-align: center; }

  .with-navbar #content,
  .with-navbar #sidebar-left,
  .with-navbar #sidebar-right
  {
    margin-top: 0; /* Set this to the same value as the navbar height above. */
  }

  #navbar-inner
  {
  }

  #search-box
  {
    width: 200px;
    margin-right: -200px; /* Negative value of #search-box's width. */
    float: left;
  }

  #primary
  {
    margin-left: 0; /* Width of search-box */
    width: 100%;
    height: 33px;
    overflow: hidden;
    border-bottom: 1px solid #000;
  }

  #primary ul li                { padding: 0; }
  #primary li a                 { height: 0; padding-top: 33px; width: 236px; display: block; border-right: 1px solid #000; background: url('images/sprite-navi.gif'); background-position: 0 100px; background-repeat: no-repeat; }
  .en #primary li a             { background: url('images/sprite-navi-en.gif'); }


/* Suhe sunnuntai */
  #primary li.menu-176 a.active, /* fi */
  #primary li.menu-176 a:hover,
  #primary li.menu-176 a:focus,
  #primary li.menu-177 a.active, /* en */
  #primary li.menu-177 a:hover,
  #primary li.menu-177 a:focus  { background-position: 50% -36px; }
  #primary li.menu-176 a,
  #primary li.menu-177 a        { background-position: 50% 0; }

/* PienryhmŠt */
  #primary li.menu-170 a.active,
  #primary li.menu-170 a:hover,
  #primary li.menu-170 a:focus,
  #primary li.menu-171 a.active,
  #primary li.menu-171 a:hover,
  #primary li.menu-171 a:focus  { background-position: 50% -108px; }
  #primary li.menu-170 a,
  #primary li.menu-171 a        { background-position: 50% -72px; }


/* Palvelutiimit */  
  #primary li.menu-178 a.active,
  #primary li.menu-178 a:hover,
  #primary li.menu-178 a:focus,
  #primary li.menu-179 a.active,
  #primary li.menu-179 a:hover,
  #primary li.menu-179 a:focus  { background-position: 50% -180px; border-right: none; }
  #primary li.menu-178 a,
  #primary li.menu-179 a        { background-position: 50% -144px; border-right: none; }

  #secondary
  {
    margin-left: 0; /* Width of search-box */
    width: 100%;
    height: 28px;
    overflow: hidden;
  }

  #secondary ul li                  { padding: 0; overflow: hidden; }
  #secondary li a                   { height: 0; padding-top: 28px; display: block; border-right: 1px solid #000; background: url('images/sprite-navi.gif'); background-position: 0 100px; background-repeat: no-repeat; }
  .en #secondary li a               { background: url('images/sprite-navi-en.gif'); }
  
  /* NŠin me autamme */
  #secondary li.menu-190 a.active,
  #secondary li.menu-190 a:hover,
  #secondary li.menu-190 a:focus,
  #secondary li.menu-255 a.active,
  #secondary li.menu-255 a:hover,
  #secondary li.menu-255 a:focus    { background-position: 50% -252px; }
  #secondary li.menu-190 a          { background-position: 50% -216px; width: 120px; }
  #secondary li.menu-255 a          { background-position: 50% -216px; width: 156px; }

  /* Grow Up! */
  #secondary li.menu-191 a.active,
  #secondary li.menu-191 a:hover,
  #secondary li.menu-191 a:focus,
  #secondary li.menu-256 a.active,
  #secondary li.menu-256 a:hover,
  #secondary li.menu-256 a:focus    { background-position: 50% -324px; }
  #secondary li.menu-191 a          { background-position: 50% -288px; width: 74px; }
  #secondary li.menu-256 a          { background-position: 50% -288px; width: 81px; }

  /* Suhe lapset */
  #secondary li.menu-192 a.active,
  #secondary li.menu-192 a:hover,
  #secondary li.menu-192 a:focus,
  #secondary li.menu-257 a.active,
  #secondary li.menu-257 a:hover,
  #secondary li.menu-257 a:focus    { background-position: 50% -396px; }
  #secondary li.menu-192 a          { background-position: 50% -360px; width: 99px; }
  #secondary li.menu-257 a          { background-position: 50% -360px; width: 90px; }

  /* Unelma */
  #secondary li.menu-193 a.active,
  #secondary li.menu-193 a:hover,
  #secondary li.menu-193 a:focus,
  #secondary li.menu-258 a.active,
  #secondary li.menu-258 a:hover,
  #secondary li.menu-258 a:focus    { background-position: 50% -468px; }
  #secondary li.menu-193 a          { background-position: 50% -432px; width: 75px; }
  #secondary li.menu-258 a          { background-position: 50% -432px; width: 96px; }

  /* Historia */
  #secondary li.menu-194 a.active,
  #secondary li.menu-194 a:hover,
  #secondary li.menu-194 a:focus,
  #secondary li.menu-259 a.active,
  #secondary li.menu-259 a:hover,
  #secondary li.menu-259 a:focus    { background-position: 50% -540px; }
  #secondary li.menu-194 a,
  #secondary li.menu-259 a          { background-position: 50% -504px; width: 80px; }

  /* Henkilškunta */
  #secondary li.menu-195 a.active,
  #secondary li.menu-195 a:hover,
  #secondary li.menu-195 a:focus,
  #secondary li.menu-260 a.active,
  #secondary li.menu-260 a:hover,
  #secondary li.menu-260 a:focus    { background-position: 50% -612px; }
  #secondary li.menu-195 a          { background-position: 50% -576px; width: 115px; }
  #secondary li.menu-260 a          { background-position: 50% -576px; width: 66px; }

  /* Antaminen */
  #secondary li.menu-196 a.active,
  #secondary li.menu-196 a:hover,
  #secondary li.menu-196 a:focus,
  #secondary li.menu-261 a.active,
  #secondary li.menu-261 a:hover,
  #secondary li.menu-261 a:focus    { background-position: 50% -684px; }
  #secondary li.menu-196 a          { background-position: 50% -648px; width: 94px; }
  #secondary li.menu-261 a          { background-position: 50% -648px; width: 74px; }

  /* Media */
  #secondary li.menu-197 a.active,
  #secondary li.menu-197 a:hover,
  #secondary li.menu-197 a:focus,
  #secondary li.menu-262 a.active,
  #secondary li.menu-262 a:hover,
  #secondary li.menu-262 a:focus    { background-position: 50% -756px; }
  #secondary li.menu-197 a          { background-position: 50% -720px; width: 48px; }
  #secondary li.menu-262 a          { background-position: 50% -720px; width: 60px; }

  #secondary ul.links li.last a     { border: none; }

  #navbar .block-menu 
  {
    margin-left: 120px;
    height: 21px;
    overflow: hidden;
    border-left: 1px solid #000;
  }
  .en #navbar .block-menu
  {
    margin-left: 156px;
  }

  .block-menu ul li         { padding: 0; overflow: hidden; margin: 0; }
  .block-menu li a          { height: 0; padding-top: 21px; display: block; background: url('images/sprite-navi-sub.gif'); background-position: 0 100px; background-repeat: no-repeat; }
  .en .block-menu li a      { background: url('images/sprite-navi-sub-en.gif'); }

  #navbar li.suheconnect a.active,
  #navbar li.suheconnect a:hover,
  #navbar li.suheconnect a:focus    { background-position: 50% -36px; }
  #navbar li.suheconnect a          { background-position: 50% 0; width: 103px; }

  #navbar li.peru a.active,
  #navbar li.peru a:hover,
  #navbar li.peru a:focus           { background-position: 50% -108px; }
  #navbar li.peru a                 { background-position: 50% -72px; width: 46px; }

  #navbar li.intia a.active,
  #navbar li.intia a:hover,
  #navbar li.intia a:focus,
  #navbar li.india a.active,
  #navbar li.india a:hover,
  #navbar li.india a:focus          { background-position: 50% -180px; }
  #navbar li.intia a,
  #navbar li.india a                { background-position: 50% -144px; width: 48px; }

/* -- */
  #navbar li.minisuhe a.active,
  #navbar li.minisuhe a:hover,
  #navbar li.minisuhe a:focus       { background-position: 50% -252px; }
  #navbar li.minisuhe a             { background-position: 50% -216px; width: 73px; }

  #navbar li.supersuhe a.active,
  #navbar li.supersuhe a:hover,
  #navbar li.supersuhe a:focus      { background-position: 50% -324px; }
  #navbar li.supersuhe a            { background-position: 50% -288px; width: 84px; }

  #navbar li.powersuhe a.active,
  #navbar li.powersuhe a:hover,
  #navbar li.powersuhe a:focus      { background-position: 50% -396px; }
  #navbar li.powersuhe a            { background-position: 50% -360px; width: 88px; }

/* -- */
  #navbar li.rauno a.active,
  #navbar li.rauno a:hover,
  #navbar li.rauno a:focus          { background-position: 50% -468px; }
  #navbar li.rauno a                { background-position: 50% -432px; width: 58px; }

  #navbar li.hannaliisa a.active,
  #navbar li.hannaliisa a:hover,
  #navbar li.hannaliisa a:focus     { background-position: 50% -540px; }
  #navbar li.hannaliisa a           { background-position: 50% -504px; width: 88px; }

  #navbar li.markus a.active,
  #navbar li.markus a:hover,
  #navbar li.markus a:focus         { background-position: 50% -612px; }
  #navbar li.markus a               { background-position: 50% -576px; width: 64px; }

  #navbar li.make a.active,
  #navbar li.make a:hover,
  #navbar li.make a:focus           { background-position: 50% -684px; }
  #navbar li.make a                 { background-position: 50% -648px; width: 50px; }

  #navbar li.sini a.active,
  #navbar li.sini a:hover, 
  #navbar li.sini a:focus           { background-position: 50% -756px; }
  #navbar li.sini a                 { background-position: 50% -720px; width: 40px; }

/* -- */
  #navbar li.mediaplayer a.active,
  #navbar li.mediaplayer a:hover, 
  #navbar li.mediaplayer a:focus    { background-position: 50% -828px; }
  #navbar li.mediaplayer a          { background-position: 50% -792px; width: 94px; }


  #navbar ul /* Primary and secondary links */
  {
    margin: 0;
    padding: 0;
    text-align: left;
  }

  #navbar li /* A simple method to get navbar links to appear in one line. */
  {
    float: left;
    padding: 0 10px 0 0;
  }

  /* There are many methods to get navbar links to appear in one line.
   * Here's an alternate method: */
  /*
  #navbar li
  {
    display: inline;
    padding: 0 10px 0 0;
  }
  */

/** sidebar-left **/
  #sidebar-left
  {
    width: 366px;
    position: absolute;
    top: 93px; left: 60px;
  }

  #sidebar-left-inner
  {
    padding: 0;
  }

  #sidebar-left .block
  {
    margin: 0;
  }

/** sidebar-right **/
  #sidebar-right
  {
    float: left;
    width: 200px;
    margin-left: 760px; /* Width of content + sidebar-left. */
    margin-right: -830px; /* Negative value of #sidebar-right's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */
  }

  #sidebar-right-inner
  {
    margin: 0 0 0 20px;
    padding: 0;
  }

/** footer **/
  #footer
  {
  }

  #footer-inner
  {
  }

/** closure **/
  #closure-blocks /* See also the #page declaration above that this div shares. */
  {
  }

/** Prevent overflowing content **/
  #header,
  #content,
  #navbar,
  #sidebar-left,
  #sidebar-right,
  #footer,
  #closure-blocks
  {
    overflow: visible;
    word-wrap: break-word; /* A very nice CSS3 property */
  }

  #navbar
  {
    overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */
  }

  /* If a div.clear-block doesn't have any content after it and its bottom edge
     touches the bottom of the viewport, Firefox and Safari will mistakenly
     place several pixels worth of space between the bottom of the div and the
     bottom of the viewport. Uncomment this CSS property to fix this.
     Note: with some over-large content, this property might cause scrollbars
     to appear on the #page div.
  */
  /*
  #page
  {
    overflow-y: hidden;
  }
  */
