﻿@import url("https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans:400,600,700");

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #f3f3f3;
    font-family: "Open Sans",sans-serif;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    flex-direction: column;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
}

#raporttiData {
    margin-bottom: 30px;
}

.pager .pagination .page-link {
    color: #235652;
}

.pager .pagination .page-item.active .page-link {
    background-color: #235652;
    border-color: #ff6e14;
    color: #fff;
}

@media(min-width:1400px) {
    .container {
        max-width: 1300px;
    }
}

@media(min-width:1500px) {
    .container {
        max-width: 1400px;
    }
}

hr {
    height: .5rem;
}

.vali > .datepicker-container, .vali > input, .vali .separator {
    display: inline-block;
}

.vali > input {
    width: 40%;
}

.vali .separator {
    margin: 0 10px;
}

.chosen-container {
    width: 100%;
}

    .chosen-container .top {
        top: auto !important;
        bottom: 100% !important;
        border-bottom: 0 !important;
        border-top-color: #aaa !important;
        border-top-style: solid !important;
        border-top-width: 1px !important;
    }

    .chosen-container > a {
        height: auto !important;
        padding: 6px 10px !important;
    }

.custom-file-input ~ .custom-file-label::after {
    content: "Selaa";
}

.btn-primary {
    background-color: #0693e3;
    color: #fff;
    border-color: #0693e3;
}

.btn-function {
    font-family: "Open Sans",sans-serif;
    font-size: 18px;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    padding: 5px;
    line-height: 0;
    margin-bottom: 5px;
}

    .btn-function i {
        color: #0693e3;
        height: 25px;
        width: 25px;
        position: relative;
    }

        .btn-function i:before {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }

.row-buttons .btn, .row-buttons form {
    display: inline-block;
    margin-right: 5px;
}

.btn {
    cursor: pointer;
}

.navigation {
    background-color: #0693e3;
}

    .navigation nav ul li a {
        color: #fff;
        font-family: "Open Sans",sans-serif;
        font-weight: bold;
    }

    .navigation nav ul .dropdown-menu {
        background-color: #0693e3;
    }

header {
    background-color: #fff;
}

    header h2 {
        font-family: "Open Sans Condensed",sans-serif;
        font-size: 26px;
    }

    header .logo {
        max-width: 200px;
    }

    header a {
        color: #000000;
        font-weight: bold;
    }

footer {
    background-color: #fff;
}

.login footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#sticky-footer {
    bottom: 0;
    width: 100%;
    position: absolute;
}

body {
    font-family: "Open Sans",sans-serif;
    color: #000000;
    font-size: 14px;
    line-height: 20px;
}

h3, h4, h5 {
    font-family: "Open Sans Condensed",sans-serif;
    font-weight: 700;
}

a {
    color: #0a3d39;
}

label.labelcaption {
    font-family: "Open Sans Condensed",sans-serif;
    font-weight: 700;
    color: #235652;
}

span.ajax__tab_tab {
    font-family: "Open Sans Condensed",sans-serif;
    font-weight: 700;
    font-size: 16px;
}

h1 {
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h2 {
    font-weight: 600;
    text-transform: uppercase;
}

h3 {
    text-transform: uppercase;
}

h4 {
    font-weight: 600;
    text-transform: uppercase;
}

h5 {
    text-transform: uppercase;
}

h6 {
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 400;
}

.table > thead > tr > th {
    border-bottom: none !important;
}

.table td {
    vertical-align: middle;
}

.table-responsive-header {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-bottom: 0;
    padding: 5px 15px;
    background-color: #f6f8f8;
    overflow: auto;
    clear: both;
}

.table-responsive-header-actions .btn-primary {
    margin-bottom: 5px;
    margin-top: 5px;
    min-width: 165px;
}

.table-responsive-header-actions i {
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 7px 20px 7px 7px;
}

.table-responsive-header-icons {
    margin-bottom: 10px;
    float: right;
}

.table-striped {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.table-responsive td, .table-responsive th {
    padding: 12px 15px !important;
}

.table-responsive-empty td {
    background-color: #fff !important;
    font-style: italic;
    border-top: none !important;
}

.table .row-action {
    text-align: right;
}

    .table .row-action a {
        margin-left: 5px;
    }

.listcaption {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    padding-top: 10px;
    padding-right: 20px;
}

@media screen and (max-width:767px) {
    .table-responsive-non-hidden .table tbody tr td, .table-responsive-non-hidden .table tfoot tr td, .table-responsive-non-hidden .table thead tr td, .table-responsive-non-hidden .table tbody tr th, .table-responsive-non-hidden .table tfoot tr th, .table-responsive-non-hidden .table thead tr th {
        white-space: normal !important;
    }

    .table-responsive-header-actions .btn-mobile {
        min-width: initial;
        font-size: 18px;
        padding: 5px;
        line-height: 0;
        margin-bottom: 5px;
    }

        .table-responsive-header-actions .btn-mobile i {
            height: 25px;
            width: 25px;
            position: relative;
        }

            .table-responsive-header-actions .btn-mobile i:before {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
            }

    .table-mobile table, .table-mobile thead, .table-mobile tbody, .table-mobile th, .table-mobile td, .table-mobile tr {
        display: block;
    }

        .table-mobile thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .table-mobile tr:not(.table-responsive-empty) td {
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
        }

            .table-mobile tr:not(.table-responsive-empty) td:not(.row-action) {
                padding-left: 50%;
            }

            .table-mobile tr:not(.table-responsive-empty) td.row-action {
                padding-left: 0%;
            }

            .table-mobile tr:not(.table-responsive-empty) td[data-before]:before {
                position: absolute;
                top: 6px;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: bold;
                content: attr(data-before);
                display: block;
            }

            .table-mobile tr:not(.table-responsive-empty) td:not([data-before]) {
                display: none;
            }

            .table-mobile tr:not(.table-responsive-empty) td:empty:after {
                content: 'Empty cell';
                visibility: hidden;
                speak: none;
            }
}

.fixedcell {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ohjaustiedot .list-group, .kayttajahallinta .list-group {
    margin-top: 20px;
}

    .ohjaustiedot .list-group .list-group-item, .kayttajahallinta .list-group .list-group-item {
        padding-left: 0;
    }

        .ohjaustiedot .list-group .list-group-item i, .kayttajahallinta .list-group .list-group-item i {
            margin-right: 10px;
            color: #999;
        }

.content-container {
    margin-bottom: 40px;
}

    .content-container .content {
        min-height: 100%;
        padding-top: 30px;
    }

        .content-container .content h3 {
            margin-bottom: 20px;
        }

        .content-container .content .side-content h2 {
            font-family: "Open Sans Condensed",sans-serif;
            font-size: 26px;
        }

    .content-container .side-content {
        overflow-wrap: break-word;
        word-break: break-word;
    }

        .content-container .side-content .row {
            margin-bottom: 15px;
        }

        .content-container .side-content p {
            margin-bottom: 5px;
        }

    .content-container .content-block {
        background-color: #fff;
        height: 100%;
    }

.link-listing a {
    font-size: 16px;
    color: #235652;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}

.hidden {
    display: none !important;
}

.nav-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #ff6e14;
}

    .nav-tabs .nav-item {
        margin-bottom: -2px !important;
    }

        .nav-tabs .nav-item .nav-link {
            font-family: "Open Sans Condensed",sans-serif;
            font-weight: 700;
            text-transform: uppercase;
        }

            .nav-tabs .nav-item .nav-link.header-active, .nav-tabs .nav-item .nav-link:hover {
                background-color: #fff;
                border: 1px solid #ff6e14;
                border-bottom: 1px solid #fff;
            }

.tab-inactive {
    display: none !important;
}

.tab-active {
    display: block !important;
}

.luottamusmiesTiedosto {
    display: inline-block !important;
    margin-left: 5px;
}

.ajankohtaistaButton {
    margin-right: 5px;
}

.collapsediv {
    -webkit-transition: box-shadow .1s ease-in-out,color .1s ease-in-out;
    -o-transition: box-shadow .1s ease-in-out,color .1s ease-in-out;
    -moz-transition: box-shadow .1s ease-in-out,color .1s ease-in-out;
    transition: box-shadow .1s ease-in-out,color .1s ease-in-out;
    cursor: pointer;
}

    .collapsediv:hover {
        -webkit-box-shadow: 0 0 5px 1px rgba(6,20,178,.25) !important;
        -moz-box-shadow: 0 0 5px 1px rgba(6,20,178,.25) !important;
        box-shadow: 0 0 5px 1px rgba(6,20,178,.25) !important;
    }

.formLabel {
    display: block;
}

.datepicker-container {
    position: relative;
}

    .datepicker-container:after {
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
        content: "";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }

.input-euro {
    position: relative;
}

    .input-euro:after {
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Pro";
        font-weight: 400;
        content: "";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

.edit-form .row {
    margin-bottom: 20px;
}

.results li:hover {
    background-color: #ede1d3;
}

.alert-error {
    background-color: #f00;
    color: #fff;
    font-weight: bold;
}

.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error, select.input-validation-error, textarea.input-validation-error {
    border: 1px solid #e80c4d;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

    .validation-summary-errors ul {
        list-style: none;
        padding-left: 0;
    }

        .validation-summary-errors ul li {
            font-weight: bold;
        }

.validation-summary-valid {
    display: none;
}

.holder {
    width: 100%;
    display: block;
    position: fixed;
    z-index: 100;
}

.popup {
    padding: 6px;
    position: relative;
    margin-top: -40px;
}

.popup-content {
    box-shadow: 2px 2px 8px rgba(0,0,0,.5);
}

.fading-node-enter {
    opacity: 0;
}

.fading-node-enter-active {
    opacity: 1;
    transition: opacity 200ms;
}

.fading-node-exit {
    opacity: 1;
}

.fading-node-exit-active {
    opacity: 0;
    transition: opacity 200ms;
}

.react-slidedown.my-dropdown-slidedown {
    transition-duration: 1.2s;
    transition-timing-function: cubic-bezier(.1,.7,1,.1);
}

html .tarratContainer {
    padding-right: 0;
    padding-left: 25px;
    font-weight: bold;
    color: #34495e;
    background-color: #fff;
}

html .tarratContainer3x8 {
    padding-top: 75px;
}

html .tarratContainer3x10 {
    padding-top: 20px;
}

html .tarratRow {
    overflow-wrap: break-word;
    overflow-y: hidden;
    max-height: 120px;
}

html .tarratRow3x8 {
    margin-bottom: 50px;
}

html .tarratRow3x10 {
    overflow-wrap: break-word;
    overflow-y: hidden;
    max-height: 120px;
    margin-bottom: 23px;
}

html .tarratBreak3x8 {
    height: 89.05px;
}

html .tarratBreak3x10 {
    height: 19.1px;
}

html .tarra {
    height: 120px;
}
