* {
    margin: 0;
    padding: 0;
    font-family: Tahoma;
    font-size: 10pt;
    border:0;
}

img {
    border-style: none;
}

hr {
    border-top: 1px solid #C4C4C4;
    width: 100%;
}

html {
    height: 100%;
}
body {
    height: 100%;
    background-image: url(/img/common/header.png);
    background-repeat: repeat-x;
    background-color: white;
}

/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}

#container {
    width: 1000px;
    margin:auto;
    min-height: 100%;
}
#header {
    height:110px;
    width:100%;
}

#headerimage {
    position: absolute;
    margin-left: -25px;
}

.headerlinks {
    position: absolute;
    margin-left: 330px;
    height: 20px;
}

.headerlinks ul {
    text-align: center;
    word-spacing: -.25em;
}

.headerlinks ul li {
    list-style-type: none;
    display: inline;
    padding: 3px 25px;
    border-left: 1px solid white;
}

.headerlinks ul li:first-child {
    border-left: 0;
    padding-left: 0;
}

.headerlinks ul li:last-child {
    padding-right: 0;
}

.headerlinks ul li a {
    text-decoration: none;
    color: white;
}

.headerlinks ul li a:hover {
    text-decoration: underline;
}

#content{
    overflow:auto;
    padding-top: 30px;
    padding-bottom: 100px;
}

#content_left {
    float: left;
    width: 260px;
}

#content_right {
    float: right;
    width: 700px;
    display:none;
}

input[type="text"], input[type="password"], textarea, select {
    color: #000;
    background-color: #DEF1CA;
    border: 2px solid #eee;
    border-left: 2px solid #999;
    border-top: 2px solid #999;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

input[type="submit"] {
    padding: 0.2em 0.5em;
    border: 1px solid #A4A4A4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

input[readonly], input[disabled] {
    color: gray;
}

button {
    padding: 0.2em 0.5em;
    border: 1px solid #A4A4A4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.link {
    color: #86a21a;
    text-decoration: none;
    font-weight: bold;
}

.showmore {
    cursor: pointer;
}

.valittaja_valintacontainer {
    background-image: url("/img/hallinta/valittajavalinta_tausta.png");
    height: 317px;
    width: 317px;
}

.valittaja_valintaheader_1 {
    font-size: 16pt;
    padding-top: 10px;
    text-align: center;
}

.valittaja_valintaheader_2 {
    padding-left: 20px;
    padding-top: 30px;
}

.valittaja_valintalist {
    padding-left: 35px;
    padding-right: 10px;
}

.valittaja_valintabutton{
    margin-top: 10px;
    width: 317px;
}

.page_width_normal {
    width: 100%;
}

.text_normal {
    font-size: 10pt;
}

h2 {
    font-family: 'AlegreyaItalic', Arial, sans-serif;
    font-size: 20pt;
    color: #86a21a;
}

h3 {
    font-family: 'AlegreyaRegular', Arial, sans-serif;
    font-size: 18pt;
    padding-top: 10px;
}

.otsikko_shadow {
    background-position: bottom;
    background-image: url("/img/common/shadow_small_bottom.png");
    background-repeat: no-repeat;
    height: 103px;
    width: 700px;
    margin-bottom: -50px;
}

.main_frame_input a:hover {
    color: #333;
    text-decoration: underline;
}

/** Side Navigation **/
.navigation_frame {
    width: 735px;
    height: 94px;
    float: left;
    margin-left: 132px;
    margin-top: -56px;
}

.status_frame {
    background-image: url("/img/common/navi/valikko_bg.png");
    border: 1px solid #868686;
    border-bottom: 0px;
    -webkit-border-radius: 10px 10px 0px 0px;
    -moz-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;
    color: white;
    font-size: 10pt;
    width: 212px;
    height: 90px;
    padding: 10px 0px 0px 10px;
    margin: 0px 0px 0px 35px;
}

.status_frame_bottom {
    background-image: url("/img/common/navi/valikko_bg.png");
    border: 1px solid #868686;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    color: white;
    font-size: 10pt;
    height: 90px;
    width: 222px;
    clear: both;
    margin: 0px 0px 0px 35px;
}

.status_frame_spacer {
    margin-top: 10px;
    font-size: 10pt;
}

ul.navigation {
    list-style: none;
    margin-left: 35px;
    color: #f4f4f4;
    font-size: 18px;
    width: 224px;
    float: left;
}

ul.navigation a:link {
    text-decoration: none;
    color: #f4f4f4;
}

ul.navigation a:visited {
    text-decoration: none;
    color: #f4f4f4;
}

ul.navigation a:active {
    text-decoration: none;
    color: #f4f4f4;
}

ul.navigation li {
    background-image: url("/img/common/navi/intra_nav_pohja.png");
    background-color: transparent;
    background-repeat: no-repeat;
    float: left;
}

ul.navigation li.active {
    font-weight: bold;
}

ul.navigation li a span.ui-icon {
    float: left;
    margin-left: 5px;
    margin-top: 10px;
    width: 19px;
}

ul.navigation li a {
    float: left;
    line-height: 2.5em;
    width: 224px;
}

ul.navigation li ul li {
    list-style: none;
    display: none;
    background-image: url("/img/common/navi/intra_dropdown_contentbg.jpg");
    background-color: transparent;
    background-repeat: no-repeat;
    float: left;
    font-weight: normal;
}

ul.navigation li ul li a {
    display: inline-block;
    float: left;
    width: 214px;
    padding-left: 10px;
    line-height: 2.5em;
}

/** Sidenav end **/

.main_frame_input {
    font-size: 10pt;
    color: #383838;
    width: 700px;
    height: auto;
    float: left;
    top: 40px;
    left: 12px;
    position: relative;
    margin-bottom: 60px;
}

.apply_surety_button {
    width: 130px;
    height: 100px;
}

.vakuudet_taulu {
    font-size: 12pt;
    text-align: left;
}

.vakuudet_tila img {
    vertical-align: -10px;
    border: 0;
}

.asunnot_taulu {
    text-align: left;
}

.asunnot_lisatty {
    width: 90px;
}

.asunnot_vuokra {
    width: 120px;
}

.asunnot_muokkaa {
    width: 60px;
}

.asunnot_poista {
    width: 60px;
}

/* Navigation */
#navContainer {
    position: absolute;
    margin-left: 300px;
    margin-top: 63px;
    z-index: 1000;
}

#navMain {
    list-style: none;
    float: left;
}

#navMain li {
    float: left;
    position: relative;
}

#navMain li a {
    display: block;
    border-top: 1px solid #83A015;
    border-left: 1px solid #83A015;
    border-right: 1px solid #83A015;
    height: 3em;
    margin: 0 3px;
    padding: 3px 10px;
    text-decoration: none;
    color: white;
    background-image: url("/img/common/menu_button.png");
    background-repeat: repeat-x;
    background-position: 50% 0%;
    float: left;
    text-align: center;
    line-height: 3em;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}

#navMain li .first {
    -webkit-border-radius: 4px 4px 0px 10px;
    -moz-border-radius: 4px 4px 0px 10px;
    border-radius: 4px 4px 0px 10px;
}

#navMain .double-line {
    line-height: 1.5em;
}

#navMain .first {
    margin-left: 0;
}

#navMain ul {
    display: none;
    position: absolute;
    list-style: none;
    left: 0;
    padding: 0;
    margin: 0;
}

#navMain ul li a {
    color: white;
    text-decoration: none;
    text-align: left;
    width: 195px;
    display: block;
    border: none;
    background-image: none;
    margin: 5px 5px;
    padding: 0 10px;
    float: left;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

#navMain ul.login li a {
    width: 245px;
}

#navMain li ul {
    display: block;
    top: 47px;
    left: 3px;
    width: 225px;
    overflow: hidden;
    background-image: url("/img/common/menu_dropdown.png");
    background-repeat: repeat-x;
    background-position: 50% 0%;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    visibility: hidden; /** Jquerylla n?ytet??n **/
}

#navMain li ul.login {
    left: auto;
    right: 3px;
    width: 275px;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

.logintable {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    color: white;
}

#navMain ul li .login {
    color: white;
    text-decoration: none;
    display: block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

#navMain ul li .login_username_text {
    width: 100px;
    margin: 5px 0px;
}

#navMain ul li .login_username_input {
    width: 150px;
    margin: 5px 0px;
}

#navMain ul li .login_password_text {
    width: 100px;
    margin: 5px 0px;
}

#navMain ul li .login_password_input {
    width: 150px;
    margin: 5px 0px;
}

#navMain ul li .login_button {
    width: 100%;
    margin: 5px 0px;
}

/*** Footer ***/
.footer{ 
    position: relative;
    margin-top: -70px; /* negative value of footer height */
    height: 70px;
    clear:both;
    color:grey; 
    padding-top:1em;    
    background-image: url(/img/common/footer.png);
    background-repeat: repeat-x;   
}

.footer ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer ul li {
    list-style-type: none;
    display: inline;
    padding: 0 10px;
}

.footer ul li a {
    text-decoration: none;
    color: gray;
}

.footer ul li:first-child {
    border-left: 0;
}

.footer ul li {
    border-left: 1px solid gray;
}

/* Forms */
dl {
}

dl dt {
}

dl dd fieldset {
    border-top: 1px solid #C4C4C4;
    position: relative;
}

dl dd legend span {
    display: block;
    position: absolute;
    font-weight: bold;
    top: -20px;
    left: 5px;
}

dl dd dl {
    margin-bottom: 50px;
}

dl dt {
    clear: both;
}

dl dt label {
    float: left;
    margin-right: 10px;
    padding: 5px;
    width: 200px;
}

dl dd {
    padding: 5px 0;
}

dl dd input {
    float: left;
    width: 240px;
    margin-right: 10px;
}

dl dd span.limiter {
    float: left;
    margin-right: 10px;
}

dl dd input#maksunsaaja_tili-vakuus {
    width: 60px;
}

dl dd input#maksunsaaja_tili-tilinumero {
    width: 150px;
}

dl dd input#maksaja_tili-vakuus {
    width: 60px;
}

dl dd input#maksaja_tili-tilinumero {
    width: 150px;
}

dl dd select {
    float: left;
    width: 244px;
    margin-right: 10px;
}

dl dd input[type="checkbox"] {
    width: inherit;
    margin-top: 3px;
    margin-left: 10px;
}

dl dd textarea {
    margin-left: 5px;
    width: 455px;
    clear: both;
    display: block;
}

dl dd ul {
    clear: both;
    list-style: none;
    color: red;
    padding: 5px;
}

dl img {
    float: left;
    /*display:inline-block; */
    margin-right: 10px;
}

p.tooltiphint {
    clear:left;
    /*display:inline-block; */
    margin-right:10px;
    max-width: 300px;
}

.dd input[type="submit"] {
    clear: both;
    margin-left: 220px;
    margin-top: 10px;
}

.required {
    font-weight: bold;
}

#registration {
    width: 100%;
}

dd input[type="image"]#submit {
    width: 130px;
    height: 100px;
    clear: both;
    margin-top: 25px;
    margin-left: 50px;
}

dd input[type="image"]#decline {
    width: 130px;
    height: 100px;
    float: left;
    margin-top: 25px;
    margin-left: 100px;
}

dd.radiocontainer {
    margin-left: 5px;
    clear: both;
}

dd.radiocontainer label {
    width: 150px;
    float: left;
    margin-bottom: 10px;
}

dd.radiocontainer label input {
    width: 10px;
    float: left;
}

#infopackage #email-label label {
    width: 100%;
}

#infopackage #email {
    clear: both;
    margin-left: 5px;
}

.zend_form .full {
    width: 100%;
}

.zend_form .leftbutton {
    display: inline-block;
    margin-top: 25px;
    margin-left: 50px;
    margin-bottom: 50px;
    clear: none !important; 
}

.zend_form .rightbutton {
    display: inline-block;
    margin-top: 25px;
    margin-left: 100px;
    margin-bottom: 50px;
    clear: none !important; 
}

.zend_form .floatleft{
    clear:both;
    float:left;
    margin:10px 5px;
}

.zend_form .floatright{
    clear:both;
    float:right;
    margin:10px 5px;
}

.breadcrumb ul {
    list-style: none;
    overflow: hidden;
}

.breadcrumb li {
    color: black;
    text-decoration: none;
    padding: 10px 0 10px 45px;
    position: relative;
    display: block;
    float: left;
}

.breadcrumb li:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 50px solid transparent;
    border-left: 30px solid #f6f6f6;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 100%;
    z-index: 2;
}

.breadcrumb li:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 50px solid transparent;
    border-left: 30px solid #f6f6f6;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    margin-left: 3px;
    left: 100%;
    z-index: 1;
}

.breadcrumb li:first-child {
    padding-left: 10px;
}

.breadcrumb li.active {
    font-weight: bold;
    color: black;
    background-color: #86a21a;
}

.breadcrumb li.active:after {
    border-left-color: #86a21a;
}

.breadcrumb li.completed {
    background-color: #86a21a;
    color: black;
}

.breadcrumb li.completed:after {
    border-left-color: #86a21a;
    color: black;
}

.breadcrumb li.notcompleted {
    background-color: #b5b5b5;
}

.breadcrumb li.notcompleted:after {
    border-left-color: #b5b5b5;
}

/* Takaajan breadcrumb */
.breadcrumb_alempi ul {
    list-style: none;
    overflow: hidden;
}

.breadcrumb_alempi li {
    color: black;
    text-decoration: none;
    padding: 3px 0 3px 45px;
    position: relative;
    display: block;
    float: left;
}

.breadcrumb_alempi li:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 50px solid transparent;
    border-left: 30px solid #f6f6f6;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    left: 100%;
    z-index: 2;
}

.breadcrumb_alempi li:before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 50px solid transparent;           /* Go big on the size, and let overflow hide */
    border-bottom: 50px solid transparent;
    border-left: 30px solid #f6f6f6;
    position: absolute;
    top: 50%;
    margin-top: -50px;
    margin-left: 3px;
    left: 100%;
    z-index: 1;
}

.breadcrumb_alempi li:first-child {
    padding-left: 10px;
}

.breadcrumb_alempi li.active {
    font-weight: bold;
    color: black;
    background-color: #a5c820;
}

.breadcrumb_alempi li.active:after {
    border-left-color: #a5c820;
}

.breadcrumb_alempi li.completed {
    background-color: #a5c820;
    color: black;
}

.breadcrumb_alempi li.completed:after {
    border-left-color: #a5c820;
    color: black;
}

.breadcrumb_alempi li.notcompleted {
    background-color: #b5b5b5;
}

.breadcrumb_alempi li.notcompleted:after {
    border-left-color: #b5b5b5;
}

/* Breadcrumb viesti */
.breadcrumbmessage {
    clear: both;
    margin: 25px 0;
    font-style: italic;
}

.odd {
    background-color: #e7e7e7;
}

.new {
    background-color: #e2f17b;
    border: 1px solid #a0b800;
}

#hallintakorvausvaatimus {
    width: 500px;
}

.leftmargin {
    margin-left: 220px;
    margin-top:5px;
    clear: left;
}

.googleChartBg {
    background-color: transparent;
}
