@charset "utf-8";

@font-face {
    font-family: Ubuntu;
    src: url("../fonts/Ubuntu-R-webfont.eot");
    src: url("../fonts/Ubuntu-R-webfont.svg");
    src: url("../fonts/Ubuntu-R-webfont.ttf");
    src: url("../fonts/Ubuntu-R-webfont.woff");
}
@font-face {
    font-family: Ubuntu;
    font-weight: bold;
    src: url("../fonts/Ubuntu-B-webfont.eot");
    src: url("../fonts/Ubuntu-B-webfont.svg");
    src: url("../fonts/Ubuntu-B-webfont.ttf");
    src: url("../fonts/Ubuntu-B-webfont.woff");
}
@font-face {
    font-family: Ubuntu;
    font-style: italic;
    src: url("../fonts/Ubuntu-RI-webfont.eot");
    src: url("../fonts/Ubuntu-RI-webfont.svg");
    src: url("../fonts/Ubuntu-RI-webfont.ttf");
    src: url("../fonts/Ubuntu-RI-webfont.woff");
}
@font-face {
    font-family: Ubuntu;
    font-style: italic;
    font-weight: bold;
    src: url("../fonts/Ubuntu-BI-webfont.eot");
    src: url("../fonts/Ubuntu-BI-webfont.svg");
    src: url("../fonts/Ubuntu-BI-webfont.ttf");
    src: url("../fonts/Ubuntu-BI-webfont.woff");
}
/* Enable if a lighter font is needed
@font-face {
    font-family: Ubuntu;
    font-style: italic;
    font-weight: lighter;
    src: url("../fonts/Ubuntu-LI-webfont.eot");
    src: url("../fonts/Ubuntu-LI-webfont.svg");
    src: url("../fonts/Ubuntu-LI-webfont.ttf");
    src: url("../fonts/Ubuntu-LI-webfont.woff");
}
*/

@media screen {
    .print {
        /* Hidden when not printing */
        display: none;
    }
}
@media print {
    .screen {
        /* Hidden when printing */
        display: none;
    }
}

#body, #kohdehaku-body {
    background-color: #fffff0;
    color: #2d2d2d;
    font-family: "Ubuntu", "Tahoma", sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/******************************************************************************/
/* These rules must be separate, or user agents will ignore them */
::placeholder {
    color: #adadad;
}
input:-moz-placeholder, textarea:-moz-placeholder {
    color: #adadad;
}
::-webkit-input-placeholder {
    color: #adadad;
}
::selection {
    background-color: #feffb7;
}
::-moz-selection {
    background-color: #feffb7;
}
::-webkit-selection {
    background-color: #feffb7;
}
/******************************************************************************/

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 12px 0 5px 30px;
    padding: 0;
}
h1 {
    font-size: 25px;
}
h2 {
    font-size: 18px;
}
h3, h4, h5, h6 {
    font-size: 14px;
    font-weight: bold;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: normal !important;
}
p {
    margin: 0 30px 16px 30px;
    padding: 0;
}
a {
    text-decoration: none;
}
a.ulkoinen:before {
    /* Small icon to indicate external links */
	content: url("../kuvat/extlink.gif");
}
p a.ulkoinen {
    padding-left: 2px;
}
a img {
    /* Older browsers have a border on image links, disable that */
    border: 0;
}
button {
    /* Display buttons similar to links */
    background: none;
    border: 0;
    font-family: "Ubuntu", "Tahoma", sans-serif;
    font-size: 14px;
    padding: 0;
}
ul {
    margin-left: 30px;
    padding-left: 30px;
}
ul.kappaleessa {
    margin-top: -15px;
}
hr {
    border: 0;
    border-top: 1px dotted #dadada;
    color: #eaeaea;
    height: 1px;
    margin: 20px 2.5%;
    width: 95%;
}

blockquote {
    /* Pretty blockquotes to break up text */
    font-size: 25px;
    font-style: italic;
    margin: 20px 25px;
    text-align: center;
    width: 250px;
}
blockquote.left {
    float: left;
}
blockquote.right {
    float: right;
}

label {
    position: relative;
        top: -2px;
}
.form-teksti {
    /* Some browsers don't work with input[type=text], so use this class */
    background-color: #fffffa;
    border: inset 1px #dadada;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    -moz-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    color: #2d2d2d;
    font-family: Ubuntu;
    font-size: 16px;
    padding: 2px 5px;
}
.form-teksti:hover, .form-teksti:focus {
    -webkit-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.25);
    -moz-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.25);
    box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.25);
}
.form-painike {
    /* Some browsers don't work with input[type=submit], so use this class */
    background-color: #fffffa;
    border: outset 1px #eaeaea;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px rgba(45, 45, 45, 0.5);
    -moz-box-shadow: 0 1px 3px rgba(45, 45, 45, 0.5);
    box-shadow: 0 1px 3px rgba(45, 45, 45, 0.5);
    color: #2d2d2d;
    font-family: Ubuntu;
    font-size: 13px;
    position: relative;
        top: -1px;
}
.form-painike:hover, .form-painike:focus {
    background-color: #eaeaea;
    border: inset 1px #dadada;
    -webkit-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    -moz-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    color: #2d2d2d;
}
.form-painike:active {
    background-color: #dadada;
    border: inset 1px #adadad;
    -webkit-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    -moz-box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    box-shadow: inset 0 1px 2px rgba(45, 45, 45, 0.5);
    color: #eaeaea;
}
.kohdenumerohaku {
    width: 77px;
}

.notice {
    /* "Debug" messages */
    color: #aa0000;
    font-style: italic;
    font-weight: bold;
}

#kohdehaku-header {
    /* Everything in the header, also includes the header photo */
    margin: 0;
    padding: 0;
    position: relative;
}
#kohdehaku-header-bar {
    /* The yellow header bar */
    background-color: #feff00;
    
    /* For browsers that don't support gradients */
    background-image: url("../kuvat/header-bar-background.png");
    background-repeat: repeat-x;
    /* For modern browsers */
    background-image: -o-linear-gradient(700, rgb(178,178,79) 0%, rgb(255,255,0) 100%);
    background-image: -moz-linear-gradient(700, rgb(178,178,79) 0%, rgb(255,255,0) 100%);
    background-image: -webkit-linear-gradient(700, rgb(178,178,79) 0%, rgb(255,255,0) 100%);
    background-image: -webkit-gradient(linear, left 700, left top, color-stop(0, rgb(178,178,79)), color-stop(1, rgb(255,255,0)));
    background-image: linear-gradient(700, rgb(178,178,79) 0%, rgb(255,255,0) 100%);
    
    -moz-box-shadow: 0 3px 8px 0 rgba(153, 153, 67, .5), 0 3px 6px 0 rgba(45, 45, 45, .75);
    -webkit-box-shadow: 0 3px 8px 0 rgba(153, 153, 67, .5), 0 3px 6px 0 rgba(45, 45, 45, .75);
    box-shadow: 0 3px 8px 0 rgba(153, 153, 67, .5), 0 3px 6px 0 rgba(45, 45, 45, .75);
    clear: both;
    height: 100px;
    min-width: 985px;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}
#kohdehaku-header-bar-content {
    /* Most header content, centered */
    height: 100px;
    margin: 0 auto 0 auto;
    position: relative;
    width: 980px;
}
#kohdehaku-logo-a {
    float: left;
    height: 100px;
    margin: 0;
    width: 130px;
    z-index: 1000;
}
#kohdehaku-logo-a img {
    height: 100px;
    width: 130px;
}
#kohdehaku-logo-valitys {
    float: left;
    height: 60px;
    margin: 0 40px 0 5px;
    width: 260px;
}
#kohdehaku-logo-valitys img {
    height: 60px;
    width: 260px;
}
#kohdehaku-etusivulle {
    position: absolute;
        bottom: 5px;
        left: 290px;
}
#kohdehaku-etusivulle a {
    border-bottom: 1px hidden;
    color: #2d2d2d;
    font-weight: bold;
}
#kohdehaku-etusivulle a:hover {
    border-bottom: 1px dotted #4d4d4d;
    color: #4d4d4d;
}
#kohdehaku-header-right {
    float: left;
    height: 100px;
    width: 540px;
}
#kohdehaku-form {
    float: left;
    margin: 22px 0;
}

#kohdehaku-content {
    /* Contains everything after the header */
    background-color: #fffffa;
    color: #2d2d2d;
    margin: 0 auto;
    min-width: 985px;
    padding: 0;
    width: 100%;
    
    /* If JavaScript is disabled, the frame should fill the rest of the window */
    position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: 120px;
}
#kohdehaku-iframe {
    /* The iframe which contains the search results */
    /*
    border: 0;
    display: block;
    width: 100%;
    */
    
    position: relative;
    left: 0;
    top: 0;
    bottom: 1px;
    width: 100%;
    z-index: 11;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    
    /* If JavaScript is disabled, the frame should fill the rest of the window */
    height: 100%;
}
#kohdehaku-loading {
    /* The "Loading..." box, hidden if JavaScript is disabled */
    background-color: #2d2d2d;
    background-color: rgba(240, 240, 240, .90);
    border: 1px solid #dadada;
    border-radius: 5px;
    -moz-box-shadow: 0 3px 8px 0 rgba(153, 153, 67, .5), 0 3px 6px 0 rgba(45, 45, 45, .75);
    -webkit-box-shadow: 0 3px 8px 0 rgba(153, 153, 67, .5), 0 3px 6px 0 rgba(45, 45, 45, .75);
    box-shadow: 0 3px 8px 0 rgba(153, 153, 67, .5), 0 3px 6px 0 rgba(45, 45, 45, .75);
    color: #4d4d4d;
    display: none;
    font-size: 18px;
    font-weight: bold;
    margin-left: -50px;
    padding: 4px 6px;
    position: fixed;
        bottom: 5%;
        left: 50%;
    text-align: center;
    width: 100px;
    z-index: 10000000;
}

/* haku-puuttuu.php */
#kohdehaku-content a {
    border-bottom: 1px hidden;
    color: #2d2d2d;
    font-weight: bold;
}
#kohdehaku-content a:hover {
    border-bottom: 1px dotted #4d4d4d;
    color: #4d4d4d;
}

#kohdehaku-footer {
    /* Footer */
    
    /* For browsers that don't support overlapping background-images */
    background-color: #2d2d2d;
    /* For browsers that don't support CSS3 gradients */
    background-image: url("../kuvat/footer-tausta.png");
    background-repeat: repeat-x;
    /* For modern browsers */
    background-image: -o-linear-gradient(bottom, #141414 0%, #464646 100%);
    background-image: -moz-linear-gradient(bottom, #141414 0%, #464646 100%);
    background-image: -webkit-linear-gradient(bottom, #141414 0%, #464646 100%);
    background-image: -webkit-gradient(linear, bottom, top, color-stop(0, #141414), color-stop(1, #464646));
    background-image: linear-gradient(bottom, #141414 0%, #464646 100%);
    /* These would be used if more browsers supported multiple backgrounds
       This way #footer-inner wouldn't be needed at all
    background-image: url("../kuvat/footer-a.png"), linear-gradient(300, #141414 0%, #464646 100%);
    background-image: url("../kuvat/footer-a.png"), -o-linear-gradient(300, #141414 0%, #464646 100%);
    background-image: url("../kuvat/footer-a.png"), -moz-linear-gradient(300, #141414 0%, #464646 100%);
    background-image: url("../kuvat/footer-a.png"), -webkit-linear-gradient(300, #141414 0%, #464646 100%);
    background-image: url("../kuvat/footer-a.png"), -webkit-gradient(linear, left 300, left top, color-stop(0, #141414), color-stop(1, #464646));
    background-repeat: no-repeat, repeat-x;
    */
    
    clear: both;
    color: #eaeaea;
    
    /* Hidden if JavaScript is disabled */
    display: none;
    
    font-size: 13px;
    height: 50px;
    min-width: 985px;
    position: relative;
    width: 100%;
    z-index: 100;
}
#kohdehaku-footer a {
    border-bottom: 1px hidden;
    color: #eaeaea;
    font-weight: bold;
}
#kohdehaku-footer a:hover {
    border-bottom: 1px dotted #4d4d4d;
    color: #dadada;
}
#kohdehaku-footer-content {
    margin: 0 auto;
    position: relative;
    width: 985px;
}
#kohdehaku-footer-logo-a {
    float: left;
    height: 40px;
    margin-top: 5px;
}
#kohdehaku-footer-logo-valitys {
    height: 25px;
}
#kohdehaku-footer-middle {
    height: 35px;
    padding: 15px 0 0 70px;
}
