﻿/* site.css */
@media screen {
    body {
        font-family: Tahoma, Arial, sans-serif;
        font-size: 0.83em;
        margin: 0;
        padding: 0;
        width: 100%;
        /*min-width: 600px;*/
    }
}

@media print {
    body {
        font-family: Tahoma, Arial, sans-serif;
        font-size: 0.64em;
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

td {
    padding: 0px;
}
img {
    border: none;
}
a {
    outline: none;
    text-decoration: none;
    color: #63869f;
}
a:hover {
    color: #000;
}
h3 a {
    color: #212529;
}
h3 a:hover {
    text-decoration: underline;
}
h1, h2 {
    clear: left;
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 15px 10px 0;
}
h3 {
    clear: left;
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 15px 5px 0;
}
p {
    clear: left;
    margin-bottom: 1em;
}
@media screen {
    body { 
        background: #e0e4e5;
    }
    .yhtio {
        float: left;
        padding: 0 0 0 15px;
        width: 200px;
    }
    .yhtio .nimi {
        display: block;
        font-size: 2.2em;
    }
    .yhtio .nimiUsea {
        display: block;
        font-size: 2em;
    }        
    .yhtio .nimiIso {
        display: block;
        font-size: 2.6em;
    }
    .yhtio .yhtioNimi {
        position: absolute;
        top: 41px;
    }
    body > header {
        background: #e0e4e5 url(images/header_background.png) repeat-x;
        background-position: 160px -55px;
        border-bottom: solid 5px #bbc8d0;
    }    
    body.test > header {
        /*background: #ffff00;*/
        border-top: 10px solid #fafa00;
    }
    .top_margin {
        height: 30px;
    }
    .top_menu {
        vertical-align: bottom;
        width: 100%;
    }
    .top_menu ul {
        display: inline-block;
        margin: 0;
        padding: 0;
        vertical-align: bottom;
    }

    .content {
        vertical-align: top;
        padding: 5px 15px 10px 0;
        min-height: 100vw;
    }
}
@media screen and (max-width: 600px) {
    .yhtio { width: auto;}
}


.maintable { border-collapse: collapse; width: 100%;}

@media print {
    .header { height: 0; position: absolute; visibility: hidden;}
    .yhtio .nimi { display: none;}
}

.login { font-size: 1.02em; float: right; margin: 12px 8px 0 0;}
#LogOn { float:left; line-height: 32px;}
#AccountLink { float:left; line-height: 28px;}

@media print {
    .login { height: 0; position: absolute; visibility: hidden;}
}
/* top menu */
@media screen {
    .top_menu { font-size: 1.1em;}
    .top_menu ul li {
        position: relative;
        display: inline;
        float: left;
        margin-left: 7px;
    }
    .top_menu ul li a {
        background-image: url(images/menuitem_tab_background.png);
        padding: 8px 10px 6px 17px;
        float: left;
    }
    .top_menu ul li a:hover {
        background-image: url(images/menuitem_tab_background_hover.png);
        color: #496376;
        text-decoration: none;
    }
    .top_menu ul li.selected a {
        background-image: url(images/menuitem_tab_background_selected.png);
        color: #496376;
        font-weight: 600;
    }
    .top_menu ul li.selected {
        position: relative;
        bottom: -5px;
    }
}
@media print {
    .top_menu {
        position: absolute;
        visibility: hidden;
    }
}
#yhtioLista {
    float: left;
    /*line-height: 28px;*/
    /*margin-right: 1em;*/
}
#yhtioLista select {
    background-color: #dddddd;
    border: 1px solid #63869f;
    color: #63869f;
}
/* left menu */
@media screen {
    .left_menu {
        background-color: #ffdca5; /*oranssi*/
        font-size: 1.1em;
        width: 200px;
        vertical-align: top;
    }    
    .left_menu ul {
        padding: 0 0 0 1em;
        width: 200px;
    }
    .left_menu ul li {
        background-image: url(images/menuitem_gradient_background.png);
        background-position: 0px 0px;
        color: #bbc8d0;
    }
    .left_menu ul li:hover {
        color: #63869f;
    }
    .left_menu ul li a:hover {
        color: #496376;
        text-decoration: none;
        background-image: url(images/menuitem_gradient_background_selected.png);
    }
    .left_menu ul li a {
        margin: 0px;
        display: block;
        padding: 8px 8px 8px 0px;
        color: #6f5f23;
    }
    .left_menu ul li a:active {
        color: #496376;
    }
    .left_menu ul li.selected {
        color: #ff9d00; /* tumma oranssi */
        background-image: url(images/menuitem_gradient_background_selected.png);
    }

    .left_menu ul li.selected a {
        color: #496376;
        font-weight: 600;
    }
}
@media print {
    .left_menu { visibility: hidden; width: 0;}
    .left_menu ul { padding: 0px; width: 0;}
}

.alert-tiedote {
    overflow: hidden;
    position: relative;
    padding: 1rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    border-color: #77bb77;
}
.alert-warning {
    border-color: #ffbb33;
}
.alert-danger {
    border-color: #ff4646;
}
.alert-info, .alert-primary {
    border-color: #77bbff;
}

/*#m_Omistajatyyppi_Omistaja #m_Omistajatyyppi_Hallintaoikeus {
    display: none;
}

#NaytaOsakekirjat:checked ~ #m_Omistajatyyppi_Omistaja #m_Omistajatyyppi_Hallintaoikeus {
    display: block;
}*/

/*#NaytaHallintaoikeus {
    display: none;
}

#NaytaOsakekirjat:checked ~ #NaytaHallintaoikeus {
    display: block;
}*/

section header {
    display:flex;
}

.float-left {
    float: left ;
    display:inline-block;
}

.float-block {
    display: inline-block;
}

.top-100-p {
    top: 100%;
}

.no-bullet {
    list-style: none;
}

.max-width-100 {
    max-width: 100%;
    table-layout: fixed;
}

.max-width-10 {
    width: 10%;
    word-wrap: break-word;
    overflow: hidden;
}

.max-width-60 {
    width: 60%;
    word-wrap: break-word;
    overflow: hidden;
}

.max-width-30 {
    max-width: 30%;
}

/* Fieldset, lomakkeet */
div.lomake_header {
    height: 25px;
    margin: 5px 0 0 0;
}
/*div.lomake_header h1, header h1,
div.lomake_header h2, header h2 
{ margin-top: 0.5em; }*/
fieldset {
    border: 1px solid #dddddd;
    border-radius: 4px 4px;
    margin: 10px 0;
    clear: both;
    padding: 0 10px 10px;
}
.logon fieldset {
    clear: none;
    float: left;
    margin: 10px 10px 10px 0;
    width: 40%;
}
fieldset ul {
    display: block;
    float:left;
    padding:0;
    margin-right: 1em;
}
fieldset ul.list {
    float: none;
}
fieldset ul li {
    list-style-type: none;
}
fieldset ul li:last-child .editor-field-opt {
    margin-bottom: 0;
}
td ul {
    margin: 0;
    padding: 0;
}
@media screen {
    fieldset .lomake_painikkeet {
        float: left;
        margin-top: 1em;
    }
}
@media print {
    fieldset .lomake_painikkeet {
        display: none;
    }
}


.lomake_painikkeet {
    display: inline-block;
    margin-right: 1em;
}
ul.toolbar, ul[role="toolbar"] {
    display: inline-flex;
    margin-bottom: 0;
    margin-right: .25rem;
    padding-left: 0;
    position: relative;
    top: -3px;
}
/*h1 + ul.toolbar {
    position: relative;
    top: -4px;
}*/
h2 + ul.toolbar, h2 + ul[role="toolbar"] {
    display: inline-block;
    /*padding-top: .5rem;*/
}
ul.toolbar li,
ul[role="toolbar"] li {
    display: inline-block;
    list-style: none;
    margin-right: .25rem;
}
ul.toolbar + table, ul[role="toolbar"] + table {
    margin-top: 0;
}
legend {
    float: none;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #d9e3eb;
    border: 1px solid #dddddd;
    padding: 5px;
    width: auto;
}
textarea {
    border: 1px solid #cccccc;
    /*font-family: Arial;*/
    margin-right: 1em;
    min-height: 75px;
    width: 25em;
}
textarea.large {
    min-height: 300px;
    width: 40em;
}
select {
    border: 1px solid #cccccc;
    /*font-family: Tahoma;*/
    margin-right: 1em;
    margin-bottom: 3px;
    min-width: 200px;
}

.kentat {
    border-style: none !important
}

input[type="text"], input[type="number"], input[type="password"], input[type="email"], input[type="tel"], select, textarea {
    border-radius: 3px 3px;
    padding: 1px;
}
input[type="text"], input[type="number"], input[type="password"], input[type="email"], input[type="tel"] {
    border: 1px solid #cccccc;
    width: 200px;
}
input[type="color"] {
    border: none;
}
input[type="checkbox"] {
    vertical-align: middle;
}
input[type="file"] {
    height: auto !important;
}
.input-group > .form-control {
    flex: none;
    width: 160px;
}


.dropdowm {
    width: 30px
}

/* Kommentoidaan väliaikaisesti, jotta asiakas voi käyttää kumpaa tahansa ruksia */
/*#SahkoinenAanestys { visibility: hidden; }
#OsallistunKokouspaikalla:checked ~ #SahkoinenAanestys {
    visibility: visible;
}*/

input.money { width: 90px;}
.submit { clear: left; margin-left: 10em; padding-top: 20px;}
/* Helper labels */
.display-label, .display-label-opt,
.editor-label, .editor-label-opt {
    clear: both;
    float: left;
    display: block;
    text-align: left;
    width: 10em;
    font-weight: bold;
    margin-bottom: 6px;
}
.display-label-tiedote {
    clear: both;
    float: left;
    display: block;
    text-align: left;
    min-width: 10em;
    max-width: 30em;
    font-weight: bold;
    margin-bottom: 2px;
}
.display-text-tiedote {
    clear: both;
    display: block;
    text-align: left;
    margin-left: 5px;
    min-width: 10em;
    max-width: 70em;
    margin-bottom: 2px;
}
.tiedote-taulu {
    width: 100%
}
.tiedote-otsikko {
    float: left;
    font-weight: bold;
    width: 20%;
}
.tiedote-teksti {
    float: left;
    width: 70%;
}
.tiedote-poista {
    /*float: left;*/
    /*width: 10%;*/
    vertical-align: middle;
}
.hidden {
    visibility: hidden;
}

.vertical-middle {
    vertical-align: middle;
}

.vertical-bottom {
    vertical-align: bottom !important;
}

.top-0{
    top: 0px !important;
}

.minw-0 {
    min-width: 10em !important;
}

.editor-label, .editor-label-opt {
    padding-top: 0.1em;
}
.display-label-chk,
.editor-label-chk {
    float: left;
    display: block;
    text-align: left;
    width: 10em;
    font-weight: bold;
    padding-top: 0.1em;
}
.display-label label,
.editor-label label {
    clear: left;
    display: block;
    float: left;
    text-align: left;
    width: 10em;
    font-weight: bold;
}
.mphtech .display-label label,
.mphtech .editor-label label {
    clear: none;
    float: none;
}

label { margin-bottom: 0;}
.search .display-label, .search .display-label label,
.search .editor-label, .search .editor-label label {
    width: 12em;
}
.display-field,
.editor-field {
    clear: right;
    float: left;
    /*line-height: 1;*/
    margin-left: 1em;
    min-width: 20em;
}
.display-field-tiedote {
    clear: none;
    float: right;
    vertical-align: middle;
    margin-left: 1em;
    min-width: 10em;
}
.mphtech .display-field,
.mphtech .editor-field {
    clear: none;
    float: none;
    margin-bottom: 3px;
}
.display-field-chk,
.editor-field-chk {
    clear: both;
    float: left;
    margin-right: 1em;
}
.display-field-opt,
.editor-field-opt {
    float: left;
    line-height: 20px;
    margin: 0 1em 1em;
}
.display-field-opt .opt,
.editor-field-opt .opt {
    clear: both;
    float: left;
}
.display-field-opt .opt input,
.editor-field-opt .opt input {
    margin-right: 1em;
}
ul.display-legend {
    border: 1px solid #dddddd;
    margin-top: 1em;
    padding: 2em 1em 1em;
}
.display-legend li {
    clear: both;
    float: left;
    display: block;
    text-align: left;
}
li.display-legend {
    font-weight: bold;
    margin: -3em 0 1em;
    background-color: #d9e3eb;
    padding: 5px;
}
.text-box {
    width: 30em;
}
.text-box.multi-line {
    height: 6.5em;
}

input.color { width: 5em;}

/* Rollover buttonit */
.btn {
    border: 0;
    background-color: transparent;
    display: block;
    float: left;
    height: 32px;
    width: 32px;
    text-indent: -9999px;
    position: relative;
    top: -5px;
}
.btnBorder {
    border: 1px solid #111;
    background-color: #fafafa;
    border-radius: 4px;
    margin: 4px;
    padding: 5px;
    height: 34px;
    width: 34px;
}
.btn:hover, .btn:focus {
    background-position-x: -32px;
    cursor: pointer;
}
.btnRollover {
    /* sama kuin .btn, mutta yhteensopiva bootstrapin kanssa */
    border: 0;
    background-color: transparent;
    display: block;
    float: left;
    height: 32px;
    width: 32px;
    text-indent: -9999px;
    position: relative;
    top: -5px;
}
.btnRollover:hover, .btnRollover:focus {
    background-position-x: -32px;
    cursor: pointer;
}
.btnBack { background-image: url('images/back_rollover.png');}
.btnCancel { background-image: url('images/cancel_rollover.png');}
.btnDelete { background-image: url('images/delete_rollover.png');}
.btnDetails { background-image: url('images/details_rollover.png');}
.btnEdit { background-image: url('images/edit_rollover.png');}
.btnEmail { background-image: url('images/email_rollover.png');}
.btnEmail2 { background-image: url('images/email_sms.png');}
.btnEuroclear {background-image: url('images/euroclear_icon.png'); background-position: center; background-repeat: no-repeat;}
.btnExport { background-image: url('images/export_rollover.png');}
.btnGoto { background-image: url('images/goto_rollover2.png');}
.btnHistory { background-image: url('images/history_rollover.png');}
.btnHtml { background-image: url('images/html_rollover.png');}
.btnImport { background-image: url('images/import_rollover.png');}
.btnLanguage { background-image: url('images/language_rollover.png');}
.btnLogin { background-image: url('images/login_rollover.png');}
.btnLogout { background-image: url('images/logout_rollover.png');}
.btnNew { background-image: url('images/new_rollover.png');}
.btnNext { background-image: url('images/next_rollover.png');}
.btnNone { background-image: url('images/1.png'); width: 5px !important;}
.btnPdf { background-image: url('images/pdf_rollover.png');}
.btnPrev { background-image: url('images/previous_rollover.png');}
.btnPrint { background-image: url('images/print_rollover.png');}
.btnReload { background-image: url('images/reload_rollover.png');}
.btnReturn { background-image: url('images/return_rollover.png');}
.btnSave { background-image: url('images/save_rollover.png');}
.btnSearch { background-image: url('images/details_rollover.png');}
.btnSelect { background-image: url('images/save_rollover.png');}
.btnSms { background-image: url('images/email_sms.png'); background-position-y: 32px;}
.btnVerify { background-image: url('images/verify_rollover.png');}
.btnXls { background-image: url('images/xls_rollover.png');}

/* 32 kokoinen kuva näytetään 16 kokoisena */
.btn.btn16 {
    background-position: -8px -8px;
    height: 16px;
    top:0;
    width: 16px;
}
.btn.btn16:hover,
.btn.btn16:focus {
    background-position-x: -40px;
}
.btn.btn16.disabled:hover,
.btn.btn16.disabled:focus {
    background-position: -8px -8px;
    cursor: default;
}
@media screen {
    .tekstiPainike {
        background-color: #f6f6f6;
        border: 1px solid #999;
        border-radius: 4px 4px;
        display: block;
        float: left;
        margin: 0 1em 0.3em 0;
        padding: 0.3em 0.7em;
        text-align: center;
    }    
    .tekstiPainike:hover {
        background-color: #ddd;
        border-color: #000;
        color: #000;
        cursor: pointer;
        text-decoration: none;
    }
    tr .tekstiPainike {
        display: inline;
        float: none;
        font-weight: 400;
        margin: 0 1em;
        padding: 2px .5em;
    }
    li.tekstiPainike .btnRollover {
        top: 0;
    }
    /*Uusi kuvapainike*/
    .btnKuva {
        background-color: #f6f6f6;
        align-items: center;
        display: inline-flex;
        border: 1px solid #777;
        border-radius: 4px 4px;
        text-decoration: none;
        position: relative;
    }
    .lomake_painikkeet .btnKuva {
        top: -4px;
    }
    .btnKuvaFont {
        align-items: center;
        background-color: #f6f6f6;
        border: 1px solid #777;
        border-radius: 4px 4px;
        color: #63869f;
        display: inline-flex;
        padding: 1px;
        position: relative;
        text-decoration: none;
        top: -10px;
    }
    section header .btnKuvaFont {
        margin-top: 10px;
    }
    h3 + ul.toolbar li a.btnKuvaFont, h3 + ul[role="toolbar"] li a.btnKuvaFont {
        top: 0;
    }
    .btnKuvaIcon {
        display: inline-block;
        height: 32px;
        width: 32px;
        min-width: 32px;
    }
    .btnKuvaIcon.btnNone {
        min-width: 0;
    }
    .btnKuvaFont .fas {
        font-size: large;
        padding: 5px;
        height: 30px;
        /*vertical-align: bottom;*/
    }
    .btnKuvaFont:hover .fas {
        color: #000;
    }
    .btnKuva:hover, .btnKuva:focus,
    .btnKuvaFont:hover, .btnKuvaFont:focus,
    .btnKayttaja:hover, .btnKayttaja:focus {
        cursor: pointer;
        background-color: #ddd;
        border-color: #000;
        color: #000;
        text-decoration: none;
    }
    .btnKuva:hover .btnKuvaIcon,
    .btnKuva:focus .btnKuvaIcon {
        background-position-x: -32px;
    }
    .btnKuva:hover .btnKuvaIcon.btnEuroclear,
    .btnKuva:focus .btnKuvaIcon.btnEuroclear {
        background-position-x: 50%;
        background-size: 20px;
    }
    .btnKuvaTeksti {
        margin: 0 7px 0 2px;
    }
    .btnKuva.dropdown-toggle {
        padding: 3px;
    }
    .btnKuva.dropdown-toggle::after {
        margin: 0 .3em 0 0;
    }
    .btnKuva.dropdown-toggle .btnKuvaTeksti {
        margin: 0 5px 0 2px;
    }
    .dropdown-menu .btnKuva {
        background-color: inherit;
        border: none;
        color: inherit;
        text-decoration: none;
    }
    .dropdown-menu .btnKuva:hover {
        background-color: #f6f6f6;
    }
    .dropdown-item.btnKuva {
        padding: 0 .25rem;
    }
    button.btnKuva {
        padding: 0;
        color: #63869f;
    }
    /*Käyttäjä painike oikeassa yläkulmassa*/
    .btnKayttaja {
        background-color: #f6f6f6;
        border: 1px solid #777;
        border-radius: 4px 4px;
        text-decoration: none;
        display: block;
        padding: 3px;
    }
    .btnKayttajaTeksti {
        display:block;
        margin: 10px 2px 0;
        font-size: .6rem;
        text-transform: uppercase;
    }
}
@media print {
    .tekstiPainike { display: none;}
    .noPrint { display: none;}
    .btnKuva { display: none;}
    .btnKayttaja { display: none;}
}
.floatNone {
    float: none;
}
/* bootstrap-datetimepicker-widget */
.bootstrap-datetimepicker-widget.dropdown-menu {
    width: auto;
}
.bootstrap-datetimepicker-widget .btn {
    border: none;
    display: inline-block;
    float: inherit;
    height: unset;
    width: unset;
    text-indent: initial;
    position: initial;
    top: initial;
}
.content .bootstrap-datetimepicker-widget table {
    font-size: smaller;
    margin: 0;
}
.content .bootstrap-datetimepicker-widget table th {
    border: none;
    border-radius: 0;
}
.content .bootstrap-datetimepicker-widget table td {
    padding: 4px 8px;
}
.bootstrap-datetimepicker-widget .picker-switch {
    padding-top: 0.3em;
}
.bootstrap-datetimepicker-widget .timepicker-picker .btn-primary {
    background-color: #007bff;
}
.fas {
    color: #63869f;
}
.rajaus_painikkeet {
    display: inline-block;
    margin: 1em;
}
.teksti_painikkeet {
    display: inline-block;
    vertical-align: middle;
}
.kehys_toiminnot {
    display: inline-block;
    float: right;
    margin: 1em;
}
.muokkaaTaulukko {
    float:left;
    margin: 1.4em 15px 0 0;
}
.datepicker-date > input[type=text].form-control {
    /*päivämääräkentät kapeampia*/
    width: 90px;
}

/* Misc */
.sivutus {
    color: #565656;
    float: left;
    line-height: 1em;
    padding-bottom: 0.5em;
}
.sivut { float: left; padding: 0 1em;}
tfoot .sivutus { padding: 0;}
.showAll { padding-left: 3em;}
.naytaOsakkeet { float: right; font-weight: normal;}
.pos { color: #36c046;}
.neg { color: #dd4646;}
.panttaus { background-color: #ffeeee !important; color: red;}
.redLink { background-color: #ffeeee; color: red;}
.redLink a { background-color: #ffeeee; color: red;}
.redLink a:hover { color: #000;}
.logon img { zoom: 80%;}
.logon .tekstiPainike { margin: 1em 0;}

#naytaLajit {
    float: left;
    padding: 5px 1em;
}
input.naytaKokoFieldset {
    display: none;
}
@media print {
    label.naytaKokoFieldset {
        display: none;
    }
    img.ui-datepicker-trigger {
        display: none;
    }
}
@media screen {
    label.naytaKokoFieldset {
        margin-left: 5px;
        background: #fff;
        padding: 4px;
        border: 1px solid #dddddd;
        font-size: smaller;
        font-weight: normal;
        text-decoration: none;
        color: #63869f;
        outline: none;
    }
    label.naytaKokoFieldset:hover {
        color: #000000;
    }

    .naytaKokoFieldset + fieldset {
        height: 10em;
        overflow-y: hidden;
    }

    .naytaKokoFieldset:checked + fieldset {
        height: auto;
    }
    img.ui-datepicker-trigger {
        background: url('images/calendar.png') no-repeat;
        background-position: center;
        color: transparent;
        height: 1.12em;
        width: 1.4em;
        padding: 0 3px;
        position: relative;
        top: 2px;
    }
}
.clearLeft { clear: left;}
.clearRight { clear: right;}
.clear-both {
    clear: both;
}
.mw-10 {max-width: 10%; }
.mw-50 {
    max-width: 50%;
}
.minw-30 {
    min-width: 30%;
}
.border-none {
    border: none !important;
    background-color: #ffffff00 !important;
}

/* Tablet contentin sisalla */
.content table {
    clear: left;
    margin-top: 10px;
    margin-bottom: 1em;
    width: 100%;
    border: solid 1px #ddd;
    border-collapse: collapse;
}
.content table td {
    padding: 5px;
    border: solid 1px #ddd;
    background-color: #f7f7f7;
    vertical-align: middle;
}
.content table .vaalea td {
    background-color: #fdfdfd;
}
.content table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #d9e3eb;
    border: solid 1px #f7f7f7;
}
.content table .tfoot td {
    font-weight: bold;
    padding: 6px 5px;
    background-color: #d9e3eb;
    border: solid 1px #ddd;
}
.content table tr.taulukko_otsikko th {
    background-color: #bbc8d0;
}
.content table tr.selected-row td {
    background-color: #ffffff;
    color: #000000;
}
.content table tr.selected-row td a {
    color: #000000;
}
.content table tr.selected-row > td:first-child {
    padding-left: 14px;
    background-image: url(images/selected.png);
    background-repeat: no-repeat;
    background-position: 4px 9px;
}
.content table .sarake_numero {
    text-align: right;
}
.content table .sarake_pvm {
    text-align: right;
}
.content table .keskitetty {
    text-align: center;
}

@media print {
    .content table th {
        background-color: transparent;
        border: none;
        border-bottom: 2px solid black;
    }
    .content table .tfoot td {
        border: none;
        border-top: 1px solid black;
    }

    .content table tr.taulukko_otsikko th {
        background-color: transparent;
    }
}

@media screen {


    .visibleByCheck {
        display: none;
    }
    .hideByCheck:checked {
        display: none;
    }
    #toggle:checked ~ .hideByCheck {
        display: none;
    }

    #toggle:checked ~ .visibleByCheck {
        display: initial;
    }

}

/* Copyright */
@media screen {
    .copyright {
        float: right;
        padding: 5px;
        font-size: 0.75em;
    }
}

@media print {
    .copyright {
        float: right;
        padding: 0px;
        font-size: 0.75em;
        margin-top: 5px;
    }
}

/* Errors, messages */
div.validation-summary-errors {
    clear: left;
    color: #ff4646;
    display: block;
}
.alert-danger div.validation-summary-errors {
    color: #842029;
}
.alert-danger ul {
    margin: 0;
}
.inline-error {
    display: inline;
    color: #ff4646;
}
.field-validation-error, .error {
    display: block;
    clear: left;
    padding-left: 10px;
    padding-bottom: 5px;
    color: #ff4646;
}
.input-validation-error {
    border: solid 2px #ff4646 !important;
    background-color: #fff3f3;
}
.message {
    display: block;
    clear: left;
    padding-left: 10px;
    color: #63869f;
}
.allowCookies {
    display: block;
    clear: left;
    color: #333;
    font-size: 0.85em;
    margin: 0.5em 0;
}
.accessKey {
    color: #63869f;
    float: left;
    font-size: xx-small;
}
.yliviivaus {
    text-decoration: line-through;
}
.avatar {
    height: 0.7em;
    margin: auto;
    /*margin: 3px 0 8px 1px;*/
    width: 1.9em;
    transform: scale(1.3);
}
.avatar-head {
    width: .5em;
    height: .5em;
    border: 1px solid #63869f;
    border-radius: 50%;
    margin-left: .75em;
    display: block;
}
.avatar-body {
    width: 1em;
    height: 1em;
    border: 1px solid;
    border-top-color: #63869f;
    border-left-color: #63869f;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: block;
    margin-left: .5em;
    transform: rotate(45deg);
}
/* Report */
.report-frame {
    height: 500px;
    width: 100%;
    border: solid 1px #dddddd;
}
.main {
    clear: both;
    float: left;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 15px 0;
}
.main .content-main {
    /*float: left;*/
    padding: 10px 0;
    border-top: 6px solid #aba395;
}

/*http://matthewjamestaylor.com/blog/ultimate-3-column-holy-grail-pixels.htm*/
/*3 palstaa*/
@media screen {
    #colmask {
        position: relative; /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
        clear: both;
        float: left;
        width: 100%; /* width of whole page */
        /*overflow: hidden;*/ /* This chops off any overhanging divs */
        overflow: visible;
        /*overflow-x: hidden;*/ /* kalenterivalinta voi näkyä divin yli */
        overflow-y: visible; /* kalenterivalinta voi näkyä divin yli */
        background: #ffdca5; /* Left column background colour */
    }
    #colmid {
        float: left;
        width: 200%;
        position: relative;
        left: 200px; /* vasemman palstan leveys + padding, esim 200px */
        background: #fff; /* Centre column background colour */
    }
    #colright {
        float: left;
        width: 100%;
        position: relative;
        left: 50%;
        margin-left: -200px; /* vasemman ja oikean palstan leveys yhteensä, esim -400px */
        background: #fff; /* Right column background colour */
    }
    #col1wrap {
        float: right;
        width: 50%;
        position: relative;
        right: 100%;
    }
    #col1pad {
        margin: 5px 0 0 215px; /* oikean palstan padding, oikean ja vasemman palstan leveys + padding, esim 0 15px 0 415px */
        /*overflow: hidden;*/ /* kalenterivalinta voi näkyä divin yli */
    }
    #col1 {
        width: 100%;
        overflow: hidden;
    }
    #col2 {
        float: left;
        width: 200px;
        position: relative;
        margin-left: -50%;
        left: 0px; /* oikean palstan leveys + padding, esim 215px */
        overflow: hidden;
    }
    #col3 {
        float: left;
        width: 0px; /* oikean palstan leveys, esim 170px */
        position: relative;
        left: 15px;
        overflow: hidden;
    }
    #main {
        background: #fff;
        float: left;
        padding: 5px 10px;
        width: 100%;
        position: relative;
    }
}

@media print {
    #col2 {
        display: none;
    }
}

/*Pieni näyttö*/
@media screen and (max-width: 600px) {
    .left_menu {
        width: 100px;
    }

        .left_menu ul {
            width: 100px;
            padding: 0;
        }

            .left_menu ul li {
                margin-right: 0;
                padding: 0;
                list-style-type: none;
            }

                .left_menu ul li a {
                    padding: 4px 4px 4px 0px;
                }

    #colmid {
        left: 100px; /* vasemman palstan leveys + padding, esim 200px */
    }
    #colright {
        margin-left: -100px; /* vasemman ja oikean palstan leveys yhteensä, esim -400px */
    }
    #col1pad {
        margin: 5px 0 0 115px; /* oikean palstan padding, oikean ja vasemman palstan leveys + padding, esim 0 15px 0 415px */
    }
    #col2 {
        width: 100px;
    }
    #col3 {
        /*left: 15px;*/
    }
    #main {
        /*padding: 5px 10px;*/
    }
}

/*Tempus Dominus kalenteri*/
.tempus-dominus-widget.light .calendar-header {
    background-color: #ccc;
    margin-bottom: 0;
    padding: .25em;
}
.tempus-dominus-widget.light .date-container-days .cw,
.tempus-dominus-widget.light .date-container-days .dow {
    background-color: #ccc;
    color: #000;
    height: 100%;
    padding: 0 .1em .1em 0;
    width: 100%
}
.tempus-dominus-widget .time-container {
    padding-top: 5em;
}
.tempus-dominus-widget .time-container-clock div[data-action] {
    border: 1px solid #666;
    border-radius: 999px 999px;
}