/* OVERRIDES */

h2 {
    background: none; /* Overrides main.css in SPK */
}

p, td, ul, form, th {
    color: #2d2d2d; /* Overrides main.css in SPK */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

/* Windows, forms */

.no_margin {
    margin: 0;
}

div.content_area {
    padding-top: 0;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 0;
    margin: 0;
    width: 780px;
}

table.no_margin {
    padding: 0;
    margin: 0;
    border: 0;
    width: 560px;
}

td.no_margin {
    padding: 0;
    margin: 0;
    vertical-align: top;
}

table.mailbox {
    padding: 0;
    margin: 0;
    border: 0;
    width: 700px;
}

form {
    margin: 0;
}

.main-with-tabs {
    margin: 0px;
    padding: 0px;
    border-top: none;
    border-right: 1px solid #d4d4d4;
    border-bottom: 1px solid #d4d4d4;
    border-left: 1px solid #d4d4d4;
    background-color: #ffffff;
    width: 100%;
}

.padding_for_tabs { /* this is here thanks to IE */
    padding: 4px;
}

.info-icon {
    padding-right: 10px;
    vertical-align: top;
}

div.ipono_white {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0px;
    background-color: #ffffff;
    border-top: 0px;
    border-right: 2px solid #d4d4d4;
    border-bottom: 0px;
    border-left: 2px solid #d4d4d4;
}

div.ipono_form {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0px;
    -width: 100%;
    background-color: #f5f5f5;
    border-top: 0;
    border-right: 2px solid #d4d4d4;
    border-bottom: 0;
    border-left: 2px solid #d4d4d4;
}

.ipono_blue {
    border: 1px solid #c8dcff;
    border-top: 0;
    border-collapse: collapse;
}

div.white_with_border {
    width: 550px;
    padding: 10px;
    margin: 0px;
    background-color: #ffffff;
    border: 1px solid #d4d4d4;
}

div.ipono-top-solid {
    border-top: 2px solid #d4d4d4;
}

div.ipono-bottom-solid {
    border-bottom: 2px solid #d4d4d4;
}

div.ipono-bottom-thin-solid {
    border-bottom: 1px solid #d4d4d4;
}

div.ipono-top-dashed {
    border-top: 1px dashed #d4d4d4;
}

div.ipono-bottom-dashed {
    border-bottom: 1px dashed #d4d4d4;
}

/* Input */

.form tr td {
    padding: 4px 2px;
}

td.formlabel {
    font-weight: bold;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

td.labeltop {
    vertical-align: top;
}

td.forminput input {
    border: 1px solid #7194b2;
    vertical-align: middle;
    font-family: Arial, sans-serif;
    font-size: 1em;
    color: #2d2d2d;
}

.buttonarea-center {
    text-align: center;
    margin-top: 15px;
}

.user_feedback .buttonarea-center {
    margin-bottom: 15px;
}

/* Headings */

h1 {
    padding-top: 0px;
    padding-bottom: 12px;
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
    font-size: 19px;
    font-weight: bold;
    color: #2d2d2d;
}

h2 {
    padding-top: 0px;
    padding-bottom: 12px;
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
    font-size: 16px;
    font-weight: bold;
    color: #2d2d2d;
}

h3 {
    padding-top: 0px;
    padding-bottom: 12px;
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
    font-size: 12px;
    font-weight: bold;
    color: #2d2d2d;
}

/* Progress bar with images */
table.tracker {
    margin-bottom: 10px;
    border-collapse: collapse;
}
table.tracker td { padding: 0;}


/* Main text font */

.ipono_main_text {
    font-family: Arial, sans-serif;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    font-size: 12px;
    color: #2d2d2d;
}

.ipono_main_text_bold {
    font-family: Arial, sans-serif;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    font-size: 12px;
    font-weight: bold;
    color: #2d2d2d;
}

a.forwardlink {
    background-image: url(../pics/kolmio_kuluttajat_oik.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 10px;
    text-decoration: none;
}

a.forwardlink:link {
    text-decoration: none;
    color: #0000cc;
}

a.forwardlink:visited {
    text-decoration: none;
    color: #993399;
}

a.forwardlink:hover {
    text-decoration: underline;
}

a.forwardlink:active {
    text-decoration: none;
}

a.forwardlink_green {
    background-image: url(../pics/arrow_green.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 10px;
    text-decoration: none;
}

a.backwardlink {
    background-image: url(../pics/kolmio_kuluttajat_vas.gif);
    background-repeat: no-repeat;
    background-position: 0px 3px;
    padding-left: 10px;
    text-decoration: none;
}

a.backwardlink:link {
    text-decoration: none;
    color: #0000cc;
}

a.backwardlink:visited {
    text-decoration: none;
    color: #993399;
}

a.backwardlink:hover {
    text-decoration: underline;
}

a.backwardlink:active {
    text-decoration: none;
}

a.backwardlink_green {
    background-image: url(../pics/arrow_green.gif);
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 10px;
    text-decoration: none;
}

/* Link that looks like a button */
a.blue_scene, a.blue_scene:visited {
    font-family: Arial, sans-serif;
    font-size: 12px; /* must be given since otherwise some old style setting overrides bea-portal-window's font size */
    color: #0000cc;
    border: 1px solid #7194b2;
    background-image: url(../pics/button_background.gif);
    background-repeat: repeat-x;
    margin: 0;
    padding: 3px 8px 2px 8px;
    white-space: nowrap;
    text-decoration: none;
    position: relative; /* To compensate IE6 */
    top: 0px; 
    -top: -2px;
    -background-position: 0 2px;
}

a.blue_scene:hover {
  background-image: none;
  background-color: #ffffff;
  text-decoration: none;
}

a.blue_scene:active {
  background-image: none;
  background-color: #c8dcff;
  text-decoration: none;
}


/* input fields */

input.blue_scene {
    font-family: Arial, sans-serif;
    font-size: 12px; /* must be given since otherwise some old style setting overrides bea-portal-window's font size */
    color: #0000cc;
    border: 1px solid #7194b2;
    background-image: url(../pics/button_background.gif);
    background-repeat: repeat-x;
    margin-top: 0; /* button's external margin */
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding-right: 8px; /* button's internal padding */
    padding-left: 8px;
    -padding-right: 0px;
    -padding-left: 0px;
    white-space: nowrap;
    height: 22px;
}

input.blue_scene:hover {
    background-image: none;
    background-color: #ffffff;
}

input.blue_scene:active {
    background-image: none;
    background-color: #c8dcff;
}

.buttonmargin {
    margin-left: 8px !important;
    margin-right: 8px !important;
}

input.blue_scene.short_button_text { /* This rule is for Internet Explorer */
    padding-right: 8px;
    padding-left: 8px;
}

input.blue_scene_text {
    font-family: Arial, sans-serif;
    font-size: 12px; /* must be given since otherwise some old style setting overrides bea-portal-window's font size */
    color: #2d2d2d;
    border: 1px solid #7194b2;
    margin-top: 0; /* button's external margin */
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

textarea.blue_scene {
    font-family: Arial, sans-serif;
    font-size: 12px; /* must be given since otherwise some old style setting overrides bea-portal-window's font size */
    color: #2d2d2d;
    border: 1px solid #7194b2;
    margin-top: 0; /* textarea's external margin */
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

select.blue_scene {
    font-family: Arial, sans-serif;
    font-size: 12px; /* must be given since otherwise some old style setting overrides bea-portal-window's font size */
    color: #2d2d2d;
    border: 1px solid #7194b2;
    margin-top: 0; /* select's external margin */
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

td.forminput input {
    border: 1px solid #7194b2;
    vertical-align: middle;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #2d2d2d;
}

/* table cells */
.ipono_blue th {
    background-color: #c8dcff;
    color: #2d2d2d;
    font-size: 12px;
    font-weight: bolder;
    text-align: left;
    padding-left: 6px;
    padding-right: 6px;
}

.ipono_blue tr {
    height: 1.5em;
}

/* yhteiset ipono_blue määritykset */
.ipono_blue td {
    font-size: 12px;
    color: #2d2d2d;
    margin: 0;
    padding-left: 6px;
    padding-right: 6px;
    text-align: left;
    border: 0;
}

td.ipono_blue_white {
    background-color: #ffffff;
}

td.ipono_blue_dark {
    border-top: 1px;
    border-bottom: 1px;
    border-color: #c8dcff;
    border-style: solid;
    background-color: #f0f5ff;
}


td.brand07_unread{
text-align : left;
font-size: 12px;
border-bottom : 1px solid #C0C0C0;
    font-weight: bold;
}
td.plread{
text-align : left;
font-size: 12px;
border-bottom : 1px solid #C0C0C0;
}

/*
// --------------------------------------------------------------------------------------------------------------------
// Feedback to user
// --------------------------------------------------------------------------------------------------------------------
*/

.user_feedback { /* For the feedback window */
  border-width: 2px;
  border-style: solid;
  margin: 12px auto 12px 0px;
  width: 100%;
  font-size: 12px; /* without this IE does not work correctly with font. */
}

.user_feedback h2,
.user_feedback p,
.user_feedback ul,
.user_feedback table {
  margin: 12px 20px;
}

.user_feedback tr td h2 { /* Set general properties for the success/alert/error -icon. */
  background-repeat: no-repeat;
  background-position: center left;
}

/* Success */
.feedback_success {
  border-color: #009933;
}

 /* Indent every item by the width of the icon */
.feedback_success tr td h2,
.feedback_success tr td p,
.feedback_success tr td ul {
  padding-left: 40px; /* icon width + small amount, if necessary. depends on the icon */
  color: #2d2d2d;
}

.feedback_success tr td h2 {
  padding-top: 12px; /* set padding to approximately half the gif height */
  background-image: url(../pics/success.gif);
  font-size: 16px; /* without this IE does not work correctly with font. */
}

/* Alert */
.feedback_alert {
  border-color: #e7b344;
}

.feedback_alert tr td h2,
.feedback_alert tr td p {
  padding-left: 48px; /* icon gif width */
  color: #2d2d2d;
}

.feedback_alert tr td h2 {
  color: #2d2d2d;
  padding-top: 20px; /* Set to approximately half the gif height */
  background-image: url(../pics/alert.gif);
  font-size: 16px; /* without this IE does not work correctly with font. */
}

/* Error */
.feedback_error {
  border-color: #B72F2F;
}

 /* Indent every item by the width of the icon */
.feedback_error tr td h2,
.feedback_error tr td p,
.feedback_error ul {
  padding-left: 40px; /* icon gif width */
  color: #2d2d2d;
}

.feedback_error tr td h2 {
    color: #B72F2F;
    padding-top: 12px; /* set padding to approximately half the gif height */
    background-image: url(../pics/error.gif);
    font-size: 16px; /* without this IE does not work correctly with font. */
}

.user_feedback tr td h2 {
    background-position: 0 12px;
}

.inline_feedback_notice {
    font-weight: normal;
    color: #2d2d2d;
    background-image:  url(../pics/info_ikoni.jpg);
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position: top left;
    margin: 12px 0px 12px 0px;
    min-height: 30px;
    //padding-bottom: 8px; /* IE FIX */
}

.inline_feedback_error {
    font-weight: bold;
    color: #b4322d;
    background-image:  url(../pics/error.gif);
    padding: 12px 0px 12px 40px;
    background-repeat: no-repeat;
    background-position: center left;
    margin: 0;
    min-height: 30px;
}

/* Initially hidden tool tip */
.ipono_tooltip {font:10px/12px Arial,Helvetica,sans-serif; border:solid 1px #c8dcff;width:150px;
      padding:20px; position:absolute; z-index:100; visibility:hidden; color:#2d2d2d;
      top:20px; left:90px; background-color:#ffffff; layer-background-color:#ffffff;
}


/*
// --------------------------------------------------------------------------------------------------------------------
// Tabs
// --------------------------------------------------------------------------------------------------------------------
*/

#tabs ul {
    border-bottom: 1px solid #d4d4d4;
    margin: 0px;
    padding: 4px 0px;
}

#tabs ul li {
    list-style: none;
    display: inline;
    margin: 0px;
    padding: 0px;
}

#tabs ul li span.tab {
    border: 1px solid #d4d4d4;
    border-bottom: none;
    padding: 4px 12px 4px 12px;
    margin: 0px 4px 0px 0px;
    font-size: 12px;
    font-weight: bold;
    background-image: url(../pics/tab_background.gif);
    background-repeat: repeat-x;
    background-position: bottom;
    text-decoration: none;
}

#tabs ul li span.tab a {
    text-decoration: none;
}

#tabs ul li span.tab a:link {
    color: #0000cc;
}

#tabs ul li span.tab a:visited {
    color: #0000cc;
}

#tabs ul li span.tab a:hover {
    text-decoration: underline;
}

#tabs ul li span.tab a:active {
}

#tabs ul li span.tab#selected {
    color: #2d2d2d;
    background: #ffffff;
    border-color: #d4d4d4;
    border-bottom: 1px solid #ffffff;
}

