@charset "utf-8";

@media all {
  html {
    overflow: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  body {
    font: 400 62.5% Verdana, Arial, Helvetica, sans-serif;
    color: #000;
    background: url("../images/kvl-bg-harmaa.png") repeat-x scroll left top;
  }

  strong {
    font-weight: 700;
  }

  em {
    font-style: italic;
  }

  #tausta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    max-height: 100px;
    background: #FFF url("../images/kvl-bg-header.png") repeat-x;
  }

  #varjo {
    position: absolute;
    top: 100px;
    z-index: 0;
    width: 100%;
    height: 2.6em;
    background: #FFF;
    -webkit-box-shadow: 0 0.4em 0.4em rgba(50, 50, 50, 0.4);
       -moz-box-shadow: 0 0.4em 0.4em rgba(50, 50, 50, 0.4);
            box-shadow: 0 0.4em 0.4em rgba(50, 50, 50, 0.4);
  }

  .no-boxshadow #varjo {
    box-shadow: 0 0.4em 0.4em rgba(50, 50, 50, 0.4);
    behavior: url("./styles/pie.htc");
  }

  #header {
    position: relative;
    float: left;
    height: 100px;
    max-height: 100px;
    background: url("../images/kvl-bg-header.png") repeat-x;
  }

  #container {
    background: #FFF;
    border-right: 1em solid #CCC;
    border-left: 1em solid #CCC;
  }

  #container,
  #header,
  #footer {
    width: 100%;
    max-width: 980px;
    min-width: 800px;
    margin: 0 auto;
  }

  #footer {
    position: relative;
    height: 3.1em;
    max-width: 979px;
    margin-top: -3.1em;
    overflow: hidden;
    background: #FFF;
    border-top: .1em solid #CCC;
  }

  #col-1 {
    margin: 3em 0 0;
    overflow: hidden;
    clear: both;
  }

  #col-2 {
    right: 22%;
    height: 100%;
    border-right: .1em solid #CCC;
  }

  #col-2.cls2palstaa {
    border-right: 0 none;
  }

  #col-3 {
    right: 56%;
    height: 100%;
    border-right: .1em solid #CCC;
  }

  #col-1,
  #col-2,
  #col-3 {
    position: relative;
    float: left;
    width: 100%;
  }

  #skip {
    position: absolute;
    top: 10px;
    left: 10px;
    text-align: left;
  }

  #skip a {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  #skip a:focus,
  .skipnav a:active {
    position: static;
    left: 0;
    width: auto;
    height: auto;
    padding: .5em;
    overflow: visible;
    font-size: 1.4em;
    font-weight: 700;
    color: #000;
    text-decoration: underline;
    background: #FFF;
    border: .2em solid #000;
  }

  #header ul {
    position: absolute;
    display: block;
  }

  #header ul li,
  #footer ul li {
    display: block;
    float: left;
  }

  #header h1 {
    float: left;
    margin: 20px 0 0;
  }

  #header h1 a {
    display: block;
    text-decoration: none;
  }

  #header #logo {
    position: relative;
    z-index: 0;
    display: block;
    float: left;
    width: 225px;
    height: 60px;
    background: #FFF;
    -webkit-border-radius: 0 0 1em 1em;
     -khtml-border-radius: 0 0 1em 1em;
       -moz-border-radius: 0 0 1em 1em;
            border-radius: 0 0 1em 1em;
  }

  #header #logo #logopic.clsSuo {
    display: block;
    width: 208px;
    height: 35px;
    margin: 16px 0 5px 9px;
    background: #FFF url("../images/logo_kehitysvammaliitto.png") no-repeat;
  }

  #header #logo #logopic.clsEng {
    display: block;
    width: 110px;
    height: 55px;
    margin: 0 0 5px 5px;
    background: #FFF url("../images/logo_faidd.png") no-repeat;
  }

  #header ul.navigation {
    top: 100%;
    display: block;
    width: 100%;
    height: 2.6em;
    line-height: 2.6em;
    background: #FFF;
  }

  #header ul.navigation a {
    padding: .5em 1em;
    font-size: 1.2em;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    border-right: .1em solid #CCC;
  }

  #header ul.navigation li.first {
    padding-right: 0;
    border-left: .1em solid #CCC;
  }

  #header ul.navigation li.current_page_ancestor a,
  #header ul.navigation li.current_page_item a,
  #header ul.navigation li.current_page_parent a {
    background: #FC0;
  }

  #header ul.navigation a:hover {
    text-decoration: none;
    background: #CCC;
  }

  #footer ul.navigation {
    top: 100%;
    display: block;
    float: right;
    height: 1.5em;
    padding: .75em 0 0;
    line-height: 1.5em;
    background: #FFF;
  }

  #footer ul.navigation li {
    font-size: 1.1em;
    font-weight: 700;
    color: #000;
    border-right: .1em solid #000;
  }

  #footer ul.navigation a {
    padding: .2em 1em;
    color: #000;
    text-decoration: none;
  }

  #footer ul.navigation li.right,
  #footer ul.navigation li.right a {
    float: right;
    padding: 0 1em 0 0;
  }

  #header ul.top {
    top: 10px;
  }

  #header ul.bottom {
    bottom: 10px;
  }

  #header ul.tools {
    right: 0;
  }

  #header ul.tools li {
    padding-right: .5em;
    padding-left: .5em;
    border-right: .1em solid #000;
  }

  #header ul.tools li a {
    right: 0;
    padding: .1em .3em;
    font-size: 1.2em;
  }

  #header ul.tools li.last,
  #footer ul.navigation li.last {
    padding-right: 0;
    border: 0 none;
  }

  #header ul.tools a {
    color: #000;
    text-decoration: none;
  }

  #header ul.tools a:hover {
    color: #000;
    text-decoration: underline;
  }

  #main {
    left: 101%;
    width: 54%;
  }

  #left {
    left: 25%;
    width: 20%;
  }

  #right {
    left: 83%;
    width: 20%;
  }

  #main,
  #left,
  #right {
    position: relative;
    float: left;
    height: 100%;
    overflow: hidden;
  }

  #main.cls2palstaa {
    width: 76%;
  }

  #left.cls2palstaa {
    left: 3%;
  }

  #left ul.navigation {
    display: block;
    font-size: 1.2em;
    line-height: 150%;
  }

  #left ul ul {
    margin-left: 1.5em;
  }

  #left ul.navigation li {
    padding: .1em;
    margin: 0 0 .1em;
    border: 0 none;
  }

  #left ul.navigation div.children {
    border-top: 0 none;
    border-right: .1em solid #EEE;
    border-bottom: .1em solid #EEE;
    border-left: .1em solid #EEE;
    -webkit-border-radius: 0 0 1em 1em;
     -khtml-border-radius: 0 0 1em 1em;
       -moz-border-radius: 0 0 1em 1em;
            border-radius: 0 0 1em 1em;
  }

  #left ul.navigation div.children ul.children div.children {
    border: 0 none;
  }

  #left ul.navigation div.children,
  #left ul.navigation li ul.children li a {
    padding: .1em 0;
    font-weight: 400;
    background: #fff5db;
  }

  #left ul.navigation li ul.children li {
    list-style: url("../images/navi_nuoli.png");
  }

  #left ul.navigation li.current_page_ancestor ul.children li.current_page_item ul.children li a {
    font-weight: 400;
    background: #fff5db;
  }

  #left ul.navigation li.current_page_ancestor a,
  #left ul.navigation li.current_page_item a {
    font-weight: 700;
    background: #FC0;
  }

  #left ul.navigation ul.children li.current_page_item a {
    background: #EEE;
    -webkit-border-radius: .25em;
     -khtml-border-radius: .25em;
       -moz-border-radius: .25em;
            border-radius: .25em;
  }

  #left ul.navigation a {
    display: block;
    padding: .2em 0 .2em .4em;
    font-weight: 400;
    color: #000;
    text-decoration: none;
  }

  #main p,
  #left p,
  #right p {
    margin-bottom: 1em;
    font-size: 1.2em;
    line-height: 150%;
  }

  #main p.pvm {
    padding-top: 1em;
    font-style: italic;
    color: #666;
  }

  #main table td {
    padding: 0 2em 0 0;
    font-size: 1.2em;
    text-align: left;
    vertical-align: top;
  }

  #main table td li,
  #main table td p {
    font-size: 100%;
  }

  #main table td h1 {
    font-size: 133%;
  }

  #main table td h2 {
    font-size: 125%;
  }

  #main table td h3 {
    font-size: 116%;
  }

  #main table td h4 {
    font-size: 108%;
  }

  #main #koulutus table td {
    padding: .5em .5em .5em 0;
    text-align: left;
    vertical-align: top;
  }

  #col-1 > .rs_preserve {
    position: relative;
    margin: 15px 20px;
  }

  #col-3 > .rs_preserve {
    position: relative;
    left: 101%;
    margin: 15px 0;
  }

  #breadcrumb {
    position: relative;
    left: 102%;
    width: 52%;
    padding: 1em 0 0;
}

  #breadcrumb ul li {
    display: inline;
  }

  #breadcrumb ul li a {
    color: #999;
  }

  #main a,
  #left a,
  #right a {
    font-weight: 700;
    color: #09C;
    text-decoration: none;
  }

  #main a.post-edit-link:before {
    content: "[\00a0";
  }

  #main a.post-edit-link:after {
    content: "\00a0]";
  }

  #main #readspeaker_button1 a,
  #left #readspeaker_button1 a,
  #right #readspeaker_button1 a {
    color: #000;
  }

  #main ul,
  #main ol {
    margin-bottom: 1em;
  }

  #main ul li,
  #right ul li {
    margin: 0 0 0 2em;
    font-size: 1.2em;
    line-height: 150%;
    list-style: square;
  }

  #main ol li {
    margin: 0 0 0 2em;
    font-size: 1.2em;
    line-height: 150%;
    list-style: decimal;
  }

  #main ul li ul li,
  #main #comments ul li {
    font-size: 1em;
  }

  #main h1,
  #left h1,
  #right h1 {
    margin-bottom: 1em;
    font-size: 1.6em;
    font-weight: 700;
  }

  #main h2,
  #left h2,
  #right h2 {
    margin-bottom: 1em;
    font-size: 1.5em;
    font-weight: 700;
  }

  #main h3,
  #left h3,
  #right h3 {
    margin: 1em 0;
    font-size: 1.4em;
    font-weight: 700;
  }

  #main h4,
  #left h4,
  #right h4 {
    margin: 1em 0;
    font-size: 1.3em;
    font-weight: 700;
  }

  #main img,
  #left img,
  #right img {
    border: 0 none;
    -webkit-border-radius: 1em 0;
     -khtml-border-radius: 1em 0;
       -moz-border-radius: 1em 0;
            border-radius: 1em 0;
  }

  #main img.clsCaptcha {
    display: block;
    margin-bottom: -0.5em;
    border: .1em solid #666;
    -webkit-border-radius: 0;
     -khtml-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
  }

  #main span.imagecaption {
    display: block;
    color: #999;
  }

  #main div.clsCell {
    display: table-cell;
  }

  #main div.clsSpace {
    padding: 15px;
  }

  #main div.clsWidth {
    width: 8.5em;
  }

  #main span.clsHaku:before {
    margin-right: .2em;
    content: open-quote;
  }

  #main span.clsHaku:after {
    margin-left: .2em;
    content: close-quote;
  }

  #main div.entry-content {
    padding-left: 2em;
  }

  html,
  body,
  #container {
    height: 100%;
  }

  body > #container {
    height: auto;
    min-height: 100%;
  }

  #main #koulutus div.education_list_item,
  #main #koulutus form {
    width: 480px;
    padding: 1em;
    margin: .5em 0;
    clear: both;
    font-size: 1em;
    border: .1em dotted #888;
  }

  .no-borderradius #header #logo,
  .no-borderradius #left ul.navigation div.children {
    border-radius: 0 0 1em 1em;
    behavior: url("./styles/pie.htc");
  }

  #footer ul.navigation a:hover,
  #footer ul.navigation li.current_page_item a,
  #header ul.tools li.active_lan a,
  #header ul.tools li.current_page_ancestor a,
  #header ul.tools li.current_page_item a,
  #header ul.tools li.current_page_parent a,
  #main a:hover,
  #left a:hover,
  #right a:hover,
  #left ul.navigation a:hover {
    text-decoration: underline;
  }

  .lahjoituspainike {
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block;
    font-size: 11pt;
  }

}

@media screen {
  #header #logotext {
    display: none;
  }
}

@media print {
  * {
    padding: 0;
    margin: 0;
  }

  body {
    font: 400 62.5% Verdana, Arial, Helvetica, sans-serif;
    color: #000;
    background: #FFF;
  }

  #container {
    background: #FFF;
    border-right: 0 none;
    border-left: 0 none;
  }

  #header ul li,
  #header #logopic,
  #footer,
  #left,
  #right,
  #skip,
  #tausta,
  #varjo {
    display: none;
  }

  #header #logotext {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: #000;
  }

  #col-2 {
    right: 0;
    border: 0 none;
  }

  #col-3 {
    right: 96%;
    border: 0 none;
  }

  #main {
    width: 90%;
  }

  #main img {
    max-width: 92%;
  }

}
