/* Base styles */

* { margin: 0; padding: 0;}

body {
    background: #ddd url('../img/bg.png');
    color: #505050;
    font: 12px Arial,sans-serif;
}

h1 { color: #333; font: 22px Arial,sans-serif; }
h2 { color: #c3343e; font: 20px Arial,sans-serif; }
h3 { margin-top: 10px; color: #c3343e; font: bold 12px Arial,sans-serif; }
h4, h5 { margin-top: 10px; }

p { padding: 5px 0 10px 0; line-height: 130%; }

hr { height: 1px; color: #dedede; background-color: #dedede; border: 0; }

img { border: 0; }

optgroup option { padding-left: 20px; }

a:link, a:active, a:visited {
    color: #002c62;
    font-weight: bold;
    text-decoration: none;
}
a:hover { text-decoration: underline; }

span.disabled_link {
    line-height: 1.5;
    color: lightgrey;
}

input[type="button"],
input[type="submit"],
button, .button, .link {
    cursor: pointer;
}

/* Layout */

#header {
    background: url('../img/header_bg.png') repeat-x center center;
}

#header-inner,
#container,
#footer-inner {
    width: 1000px;
    margin: 0 auto;
}

#header-inner {
    height: 94px;
    background: url('../img/header_inner_bg.jpg') no-repeat center center;
}

#container {
    background-color: #fff;
    -moz-box-shadow: 0 10px 5px #888;
    -webkit-box-shadow: 0 10px 5px #888;
    box-shadow: 0 10px 5px #888;
}

#content {
    float: left;
    width: 570px;
    min-height: 600px;
    margin-left: 200px; /* The width of #navbar */
    margin-right: -770px; /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner */
    border-left: 1px solid #dedede;
    border-right: 1px solid #dedede;
}

.no-sidebar #content {
    width: 800px;
    margin-left: 200px; /* The width of #navbar */
    margin-right: -1000px; /* Negative value of #content's width + left margin. */
    border-right: none;
}

.sidebar-full {
    margin-left: 600px;
}

#content-inner {
    padding: 20px;
    overflow: auto;
}

#navbar {
    float: left;
    width: 200px;
    margin-left: 0;
    margin-right: -201px; /* Negative value of  #navbar's width + left margin. */
    /* Actually 1 pixel more so border-right will overlap with #content border-left */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to  #main-nav */
    border-right: 1px solid #dedede;
}

#sidebar {
    float: left;
    width: 230px;
    margin-left: 769px; /* Width of #content +  #navbar */
    /* Actually 1 pixel less so border-left will overlap with #content border-right */
    margin-right: -1000px; /* Negative value of #sidebar's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar .module */
    border-left: 1px solid #dedede;
}

#footer {
    margin-top: 50px;
    background: url('../img/footer_bg.png') repeat-x;
}

/* Header */

#header-inner {
    color: #fff;
}
#header-inner a {
    color: #fff;
}

#logo {
    width: 192px;
    height: 53px;
    float: left;
    margin: 20px 0 0 10px;
    position: relative;
    display: inline; /* fix IE6 double margin bug */
    background: url('../img/logo.png') no-repeat top left;
}
#logo a { display: block; width: 192px; height: 53px; }
#logo span { display: none; }
#logo span.env {
    display: block;
    position: absolute;
    top: -13px;
    left: 40px;
    color: red;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

#top-nav {
    float: right;
    width: 250px;
    margin-top: 35px;
    margin-left: 200px;
}
#top-nav li {
    float: right;
    list-style-type: none;
    padding: 0 10px;
}
#top-nav a {
    display: block;
    padding-top: 16px;
    font-weight: normal;
    font-size: 11px;
}

#top-nav #print a {
    background: url('../img/print.png') no-repeat top center;
}

#top-nav #help a {
    background: url('../img/help.png') no-repeat top center;
}

#top-nav #messages a {
    background: url('../img/message.png') no-repeat top center;
}
#top-nav #messages .unread-messages {
    font-weight: bold;
}

#user-nav {
    float: right;
    width: 230px;
    margin-top: 5px;
    margin-right: 20px;
    text-align: right;
    line-height: 2;
}

#user-nav p {
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 2px;
    padding: 0;
    white-space: nowrap;
    max-width: 225px;
    overflow: hidden;
}

#user-nav a {
    color: #b6d2ff;
}

#oma-status {
    float: right;
    line-height: 1.5;
    font-weight: bold;
    font-size: 13px;
    padding: 0px 5px;
}
#oma-status.critical {
    color: #ff3300;
}

/* Main menu */

#main-nav {
    margin: 20px 15px;
    list-style-type: none;
    border-top: 1px dotted #cacaca;
}

#main-nav li { border-bottom: 1px dotted #cacaca; }

#main-nav li a:link, #main-nav li a:active, #main-nav li a:visited {
    display: block;
    padding: 7px 10px 7px 37px;
    background: #fff url('../img/anchor_blue.png') no-repeat 14px center;
    color: #2f4b86;
    font-weight: normal;
    font-size: 12px;
}

#main-nav li.submenu-selected > a {
    background: #a6b7d1 url('../img/anchor_white.png') no-repeat 14px center;
    color: #fff;
    text-decoration: none;
}
#main-nav li > a:hover,
#main-nav li.selected > a {
    background: #2f4b86 url('../img/anchor_white.png') no-repeat 14px center;
    color: #fff;
    text-decoration: none;
}

#main-nav li ul {
    list-style-type: none;
}

#main-nav li ul li {
    border-top: 1px dotted #cacaca;
    border-bottom: none;
}

#main-nav li ul li a:link,
#main-nav li ul li a:active,
#main-nav li ul li a:visited {
    padding: 5px 10px 5px 45px;
    background: #fff url('../img/dot_blue.png') no-repeat 30px center;
}

#main-nav li ul li a:hover,
#main-nav li ul li.selected a {
    background: #2f4b86 url('../img/dot_white.png') no-repeat 30px center;
}

#navbar .banner {
    margin-bottom: 20px;
}
#navbar .banner a:hover {
    text-decoration: none;
}
#navbar .banner a {
    width: 129px;
    height: 54px;
    padding-left: 60px;
    margin: 0 auto;
    background: url('../img/banner_with_logo.jpg') no-repeat center left;
    font-size: 16px;
    color: #4b5c92;

    /* center vertically */
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#navbar .banner a#verkkokoulutus-banner {
    background-image: url('../img/banner_esar.png');
}
#navbar .banner a#crew-app-banner {
    font-size: 15px;
}
#navbar .banner a#verkkokauppa-banner {
    background-image: url('../img/banner_verkkokauppa.png');
}

/* Sidebar */

#sidebar .module {
    min-height: 70px;
    padding: 15px 20px;
    background: url('../img/shadow.png') no-repeat top left;
}

#sidebar .nav {
    margin-bottom: 10px;
    line-height: 1.5;
}
#sidebar .nav a {
    display: block;
}

/* Footer */

#footer-inner {
    padding: 15px 0;
    color: #fff;
    font-size: 11px;
}
#footer-inner a {
    color: #fff;
}

#bottom-nav {
    float: left;
    margin: 0 10px;
}
#bottom-nav li {
    float: left;
    margin-right: 15px;
    list-style-type: none;
}

#copyright {
    float: right;
    margin: 0 10px;
}

/* Content */

#content ul, #content ol { margin: 10px 15px; }
#content ul ol, #content ul ul, #content ol ol, #content ol ul { 	margin: 0 15px; }
#content ul li, #content ol li { margin-left: 10px; }

.path {
    padding-bottom: 10px;
    font-size: 11px;
    color: #888;
}
.path a {
    color: #888;
}

/* Generic classes */

.title {
    margin: 5px 0 10px 0;
    background: url('../img/pixel_red.png') repeat-x center center;
}
.title h2 { display: inline; padding-right: 7px; background: #fff; }

.border-top { border-top: 1px solid #dedede; }
.border-left { border-left: 1px solid #dedede; }
.border-right { border-right: 1px solid #dedede; }
.border-bottom { border-bottom: 1px solid #dedede; }

a.readon {
    padding-right: 12px;
    background: url('../img/arrow.png') no-repeat center right;
}

.clear {
    clear: both;
}

.red {
    color: #c3343e;
}

.blue {
    color: #002C62;
}

a.listlink {
    line-height: 1.5;
}

p.list { margin: 0 0 5px 0; }

/* Lists */

table.list { margin: 10px 0; border-collapse: collapse; }
table.list td,
table.list th {
    padding: 7px 3px;
}

.listtitle {
    background-color: #2f4b86;
    font-size: 11px;
    color: #fff;
}
.listtitle a {
    color: #fff;
}
a.listtitlesel {
    color: #b6d2ff;
}
.aineisto tr th:last-child {
    width: 100%;
}

tr.listrow0,
tr.listrow1 {
    background-color: #fff;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

tr.listrow1 {
    background-color: #f4f4f4;
}

tr.listrow0:hover,
tr.listrow1:hover {
    background-color: #eef;
}

.listsort {
    font-size: 8px;
    color: #c3343e;
}

.pager a {
    padding: 0 3px;
}
.pager .current {
    padding: 0 4px;
    color: #fff;
    background: #2F4B86;
    font-weight: bold;
}

/* Forms */

form { margin: 0; padding: 0; }
fieldset {
    padding: 5px 8px;
    border: 1px solid #dedede;
}
#content-inner > fieldset {
    max-width: 530px;
    word-wrap: break-word;
}
#content-inner > fieldset > * {
    max-width: 510px;
    word-wrap: break-word;
}
legend,
.formsectiontitle2 {
    color: #c3343e;
    font-size: 13px;
    font-weight: bold;
}
legend { padding: 0 7px; }
div.form { padding: 2px 10px; }
fieldset div.form { padding: 2px 10px 2px 0; }
span.radio { margin-right: 10px; }
span.radio input {
    margin: 0px 2px;
    vertical-align: middle;
}
label,div.label { color: #333; }
div.form_help {
    font-style: italic;
    font-size: 10px; }
.dateinputdiv{ min-width: 95px;
}

input[type="submit"] { padding: 0 5px; }
input.remove_button {
    color: #f00;
    font-weight: bold;
}
select,
input[type="text"] { font-size: 11px; }

input[type="text"]:read-only {
    cursor: not-allowed;
}

.updateform,
.searchform {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.updateform td { padding: 0; vertical-align: top; }
.searchform td { padding: 0; vertical-align: bottom; }
.searchform div.form {
    float: left;
    height: 35px;
    padding: 2px;
}

.tfvHighlight { font-weight: bold; color: #f00;}
.tfvNormal { font-weight: bold; }
.searchform .tfvNormal { font-weight: normal; }

/* Frontpage */

.online-users a {
    font-weight: normal;
    white-space: nowrap;
}

.events {
    float: left;
    width: 250px;
    margin-right: 15px;
}

.on-call {
    float: left;
    width: 265px;
}

.frontpage-event {
    margin-bottom: 5px;
    padding: 0 5px;
    border-style: solid;
    border-width: 0 0 1px 5px;
    line-height: 1;
}

.weather-module {
    padding: 0 !important;
}
.weatherFeed {
    width: 230px;
    min-height: 135px;
}
.weatherFeed a { color: #888; }
.weatherFeed a:hover {
    color: #000;
    text-decoration: none;
}
.weatherItem {
    padding: 0.8em;
    text-align: right;
    background-position: -20px -20px;
}
.weatherCity { text-transform: uppercase; }
.weatherTemp {
    font-size: 2.8em;
    font-weight: bold;
}
.weatherDesc, .weatherCity { font-weight: bold; }
.weatherDesc { margin-bottom: 0.4em; }
.weatherRange, .weatherWind { font-size: 0.8em; }
.weatherLink {
    font-size: 0.8em;
}

.latest-stats p,
.event-sigups p, .latest-conversations p {
    padding: 0 0 5px 0;
}

.headlines {
    padding-bottom: 10px;
}

.headlines td {
    padding: 3px 5px;
}
.headlines-date {
    line-height: 1.5;
}
.headlines .ingressi { font-weight: normal; }
.fullwidth{
    width:  100%;
}
.two-cols.left {
    float: left;
    width: 350px;
}
.two-cols.right {
    float: left;
    margin-left: 20px;
    width: 350px;
}
.materials td {
    padding: 3px 5px;
}
.en_paase, .lukematon{
    color: #99b;
}
.lukematon{
    float:  right;
}

/* Login page */

#login-header {
    height: 47px;
    background: url('../img/footer_bg.png') repeat-x;
}
#login-header th {
    color: #fff;
    font-size: 16px;
}


/* Uutiset */

.tiedote-featured-image {
    float: left;
    max-width: 250px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #dedede;
}

.tiedote-featured-image .caption {
    font-style: italic;
}

.tiedote-featured-image .caption .delete-link {
    float: right;
}

.tiedote-ingressi {
    font-style: italic;
    font-size: 14px;
}

/* Tapahtumakalenteri */
.eventtype-id-1 {
    background-color: #2F4B86 !important;
    border-color: #2F4B86 !important;
}
.eventtype-id-2 {
    background-color: #CC0000 !important;
    border-color: #CC0000 !important;
}
.eventtype-id-3 {
    background-color: #AB8B00 !important;
    border-color: #AB8B00 !important;
}
.eventtype-id-4 {
    background-color: #64992C !important;
    border-color: #64992C !important;
}
.eventtype-id-5 {
    background-color: #206CFF !important;
    border-color: #206CFF !important;
}
.eventtype-id-6 {
    background-color: #888888 !important;
    border-color: #888888 !important;
}
.eventtype-id-7 {
    background-color: #7249C3 !important;
    border-color: #7249C3 !important;
}
.eventtype-id-8 {
    background-color: #EC7000 !important;
    border-color: #EC7000 !important;
}
.eventtype-id-9 {
    background-color: #EC7000 !important;
    border-color: #EC7000 !important;
}
.eventtype-id-10 {
    background-color: #F2CD11 !important;
    border-color: #F2CD11 !important;
}
.frontpage-eventtype-id-1 { border-color: #2F4B86; }
.frontpage-eventtype-id-2 { border-color: #CC0000; }
.frontpage-eventtype-id-3 { border-color: #AB8B00; }
.frontpage-eventtype-id-4 { border-color: #64992C; }
.frontpage-eventtype-id-5 { border-color: #206CFF; }
.frontpage-eventtype-id-6 { border-color: #888888; }
.frontpage-eventtype-id-7 { border-color: #7249C3; }
.frontpage-eventtype-id-8 { border-color: #EC7000; }
.frontpage-eventtype-id-9 { border-color: #EC7000; }
.event-title { font-size: 107%; }
.event-boat .event-title {
    padding-left: 18px;
    background: url('../img/boat_icon.png') no-repeat scroll 1px -1px transparent;
}
.calendar-footer {
    /*width: 90%;*/
    margin-top: 10px;
}
.calendar-controls{
    margin: 0px 0px 15px 0;

}
.calendar-controls a{
    margin: 0px 0px 0px 25px;
    padding: 0 0 0 0;
}
.calendar-legend {
    float: left;
    position: relative;
    margin-right: 20px;
    padding-left: 15px;
    line-height: 1.5;
}
.legend-indicator {
    position: absolute;
    top: 2px;
    left: 0px;
    width: 11px;
    height: 11px;
}

.fc-sat, .fc-sun {
    background-color: #f3f3f3;
}
.fc-sun .fc-day-number {
    color: #CC0000;
}

/* Override fullcalendar default max height for content area to disable nested scrollbars */
.fc-body .fc-scroller {
    height: auto !important;
    overflow: auto !important;
}

/* Keskustelupalsta */

.keskustelu-vastaus {
    margin: 10px 0;
    margin-left: 40px;
    padding: 10px 0;
    border-top: 1px solid #dedede;
}

.vastaus-header {
    margin: 5px 0 10px 5px;
}

.vastaus-header img {
    margin-top: -5px;
    margin-right: 10px;
    margin-bottom: 15px;
    float: left;
}

.vastaus-header .pvm {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #dedede;
    font-size: 11px;
}

.vastaus-header .edit-vastaus {
    float: right;
}

.vastaus-teksti {
    padding: 10px;
}

/* Raportit */

.report_show div.fieldset { padding: 5px 10px; }
.report_show fieldset { clear: both; }
.report_show div.form { float: left; width: 170px; padding: 2px 10px 2px 0; }
.report_show .col-group { column-count: 2; }
.report_show .col-group div.form { float: none; width: auto; }
.report_show .report_special div.form { float: none; width: auto; padding: 2px 10px 2px 0; }


/* Autocomplete result list */

div.auto_complete {
    position: absolute;
    width: 250px;
    background-color: white;
    border: 1px solid #aaa;
    margin: 0;
    padding: 0;
}
ul.contacts,
#content ul.contacts {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.contacts li.selected { background-color: #eef; }
li.contact,
#content li.contact {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 2px;
    height: 32px;
    cursor: pointer;
}
li.contact div.image {
    float:left;
    width:32px;
    height:32px;
    margin-right:8px;
}
li.contact div.name {
    font-weight:bold;
    font-size:12px;
    line-height:1.2em;
}
li.contact div.email {
    font-size:10px;
    color:#888;
}

/* Misc */

#list {
    margin:0;
    margin-top:10px;
    padding:0;
    list-style-type: none;
    width:250px;
}
#list li {
    margin:0;
    margin-bottom:4px;
    padding:5px;
    border:1px solid #888;
    cursor:move;
}

a.facebook {
    display: block;
    margin-left: 10px;
    padding-left: 22px;
    background: url(/img/icon_facebook.png) no-repeat top left;
    line-height: 16px;
    font-size: 11px;
    text-decoration: none;
    text-align: left;
}

.kuvapankki_thumbnail{
    float:left;
    padding-left: 20px;
    width: 200px;
    height: 150px;
}

.koulutus
{
    background-color: #C00;
}
.alukset_ja_varusteet
{
    background-color: #6f99da;
}
.nuorisotoiminta
{
    background-color: #E73020;
}

a.merge_group {
    padding-top: 10px;
}

table.koulutuskorttiinfo td, table.koulutuskorttiinfo th {
    padding: 5px;
    text-align: left;
}

/* For centering training card checkboxes */
table.koulutuskorttiinfo td.centered, table.koulutuskorttiinfo tr.centered th {
    text-align: center;

}

/* For centering training card checkboxes */
td.centered div.form, td.centered span.radio {
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

table.koulutuskorttiinfo td.vahvistettu {
    color: #000000;
    font-weight: bold;
    /*border: 1px solid black;*/
    text-align: center;
}

table.koulutuskorttiinfo td.vahvistamaton {
    color:#7a7a7a;
    /*border: 1px solid black;*/
    text-align: center;
}

table.koulutuskorttiinfo span {
    padding: 2px 2px;
}

table.koulutuskorttiinfo td.paallikon-vapaatekstikentta label.tfvNormal {
  font-weight: normal;
}

span.vahvistamaton {
    background-color:#cc0000;
}

#table_container {
    display: table;
}

#table_row  {
    display: table-row;
    padding: 5px 0px;
}

#table_col {
    display: table-cell;
    padding: 0px 10px;
}

.koulutuskortti-taso {
    float: left;
    font-size: 18px;
    margin-bottom: 20px;
}

th.koulutuskortti-taso {
    float: none;
    font-size: 14px;
}

#koulutuskortti_options {
    padding-bottom: 10px;
}

#koulutuskortti_options div.options {
    float: right;
    clear: right;
}

#koulutuskortti_options div.card_links {
    float: left;
    padding-left: 15px;
}


#koulutuskortti_options div.toggleKoulutuskortti {
    float: right;
}

#koulutuskortti_options div.selections {
    float: left;
    clear: left;
}

div.koulutuskortti_info_div {
    border: 1px solid #777;
    width: 26px;
    height: 26px;
}

tr.full div.osaa_vahvistettu {
	background-color: #c9c9c9;
}

div.vahvistettu {
    background: url("/img/tick.png") no-repeat center center #ffffff;
}

div.vahvistamaton {
    background: url("/img/tick_disabled.png") no-repeat center center #ffffff;
}

.koulutuskortti-taso span {
    background-color: #aaaaaa;
    color: #ffffff;
    padding: 5px 10px;
    line-height: 1.5;
    font-weight: bold;
    white-space: nowrap;
}

th.koulutuskortti-taso span {
    display: block;
    text-align: center;
}

.koulutuskortti-taso span.Harjoittelija,
.koulutuskortti-taso span.Kansimies,
.koulutuskortti-taso span.Miehisto {
    background-color: #13529A;
}

.oncall-miehisto span.Harjoittelija {
    background-color: #cccccc;
}

.koulutuskortti-taso span.Konemies,
.koulutuskortti-taso span.Konemestari {
    background-color: #f2cd11;
}

.koulutuskortti-taso span.Peramies,
.koulutuskortti-taso span.Paallikko,
.koulutuskortti-taso span.Paallysto {
    background-color: #DA232E;
}

div.suorituscolumn {
    width: 20px;
    height: 15px;
    text-align: center;
    float: left;
}

div.suoritusmerkinnat {
    padding: 2px;
}

table.suoritusmerkinnat_tbl,
table.seadays_tbl{
    cellspacing: 0px;
    border-spacing: 0px;
}

table.suoritusmerkinnat_tbl td,
table.seadays_tbl td,
table.seadays_tbl th{
    border: 1px solid #aaaaaa;
    min-width: 70px;
}

table.suoritusmerkinnat_tbl th{
    border: none;
    border-spacing: 0px;
    padding-right: 5px;
    padding-left: 5px;
}

table.seadays_tbl th {
    padding: 0 2px;
}

table.seadays_tbl td span.radio {
    margin-right: 0;
}

img.cal {
	padding: 0px 10px;
}

#listSuccessMessage {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    color: #4F8A10;
    background-color: #DFF2BF;
    display: none;
}

/* Popup dialogeille tyylit */
#mask {
    position:absolute;
    z-index:9000;
    background-color:#000;
    display:none;
}

#boxes .window {
    position:absolute;
    width:440px;
    height:200px;
    display:none;
    z-index:9999;
    padding:20px;
}


/* Customize your modal window here, you can add background image too */
#boxes #dialog {
    width:375px;
    height:203px;
}
input[type="button"]{
    padding:0 5px;
    margin:5px 5px 5px 0;
}

#vastaanottajat{
    min-width: 300px;
}
#search{
    min-width: 300px;
}
tr.unread, tr.read {
    background-color: #fff;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;

}
tr.read {
    background-color: #f4f4f4;
}
tr.read a {
    font-weight: normal;
}
tr.unread {
    font-size: 105%;
    font-weight: bold;
}
tr.unread:hover,
tr.read:hover {
    background-color: #eef;
}
#addAttachment
{
    padding: 0 5px;
}
td.spanrow
{
    background-color:#f4f4f4;
    font-weight: bold;
    color: #002C62;

}
#deleteSelected, #deleteSelectedSent
{
    text-decoration: none;
    margin-left: 10px;
}


div#mailboxControls input
{
    display:	block;
    float:	 left;
    text-decoration: none;
}

div#mailboxControls label
{
    display:block;
    margin-left:0.2em;
    float:left;
    clear:right;
}
div#mailboxControls
{
    padding:0em;
    margin:10px 0em 0em 0em;
    display:block;
    clear:both;
    float:none;
    height:auto;
    overflow:auto;
    padding-top: -0.1em;
}
label#labelCheckAll
{

}

.addIcon:hover
{
    cursor: pointer
}

.crossIcon:hover
{
    cursor: pointer
}
.suoritus
{
    padding: 0.6em;
    margin: 0;
    display: inline-block;
    clear: both;
    float: left;
    min-height: 19px;
    border: 1px solid #CCC;
    width: 97%;
    background: #EEF2E6;
    margin-bottom: 5px;
}
.suoritus img
{
    display: inline-block;
    text-decoration: none;
}
.suoritus b
{
    display: inline-block;
    width: 90%;
    margin-left: 0.2em;
    clear: right;
    margin-top: 2px;
}

.top_layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: url('/img/pad.gif') -2000px -2000px no-repeat;
}

ul.errorMsg {
   color: #FF0000;
}

/* Päivystyskalenteri */
.oncall-table {
  border-collapse: collapse;
}
.oncall-table th, .oncall-table td {
  border: 1px solid #ccc;
}
.oncall-table th {
  padding: 0 5px;
  text-align: left;
}
tr.header-row th {
  padding: 0;
  text-align: center;
}
.oncall-table td {
  width: 48px;
  height: 30px;
  vertical-align: top;
}
.oncall-timeline-container {
  position: relative;
}
.oncall-timeline {
  position: absolute;
  top: 11px;
  height: 7px;
  background: #889;
}
.oncall-status .oncall-timeline {
  top: 7px;
  height: 14px;
}
.oncall-paallikko {
  border-left: 2px solid #DA232E;
  border-right: 2px solid #DA232E;
}
.oncall-paallikko-first {
  border-top: 2px solid #DA232E;
}
.oncall-paallikko-last {
  border-bottom: 2px solid #DA232E;
}
.oncall-miehisto {
  border-left: 2px solid #13529A;
  border-right: 2px solid #13529A;
}
.oncall-miehisto-first {
  border-top: 2px solid #13529A;
}
.oncall-miehisto-last {
  border-bottom: 2px solid #13529A;
}
.oncall-timeline-critical {
  background: #CA232E;
}
.oncall-timeline-ok {
  background: #64CC2C;
}
.oncall-timeline-nothing {
  background: black;
}

span.Miehisto {
    background-color: #cccccc;
    color: #ffffff;
    padding: 5px 10px;
    line-height: 1.5;
    font-weight: bold;
}

.oncall-thicker {
  height: 14px;
}

.paivystyskalenteri .fc-grid .fc-other-month .fc-day-number {
	opacity: 0.6;
	filter: alpha(opacity=60); /* for IE */
	/* opacity with small font can sometimes look too faded
	   might want to set the 'color' property instead
	   making day-numbers bold also fixes the problem */
}
.paivystyskalenteri .fc-grid .fc-day-content {
    padding: 0;
}

.paivystyskalenteri .miehisto-tehtava {
    padding: 0 1px;
    display: inline-block;
    min-width: 65px;
    text-align: center;
    border-bottom: 1px solid #fff;
}

.videopankki_thumbnail{
    float:left;
    padding-left: 0px;
}

.videopankki_thumbnail iframe {
width: 530px;
overflow: hidden;
}

button.poista, button.lisaa {
    line-height: 16px;
    padding: 0;
    margin: 0;
    border: 0;
    padding-left: 20px;
    cursor: pointer;
    color: #002c62;
    font-weight: bold;
}

button.poista {
    background: url("/img/cross.png") no-repeat right;
}

button.lisaa {
    background: url("/img/add.png") no-repeat left;
}

button.poista:hover, button.lisaa:hover {
    text-decoration: underline;
}

.halymiehistotable tr th,
.halymiehistotable tr td {
    text-align: left;
}
.halymiehistotable tr td:first-child {
    width: 100px;
}
.halymiehistotable tr td:last-child {
    width: 150px;
}

#keskustelu-nayta{
    border: 1px solid;
    height: 20px;
    padding: 5px;
}
#naytalisaa{
    float: left;
}
#naytakaikki{
    float: right;
}
.eivoimassa p{
    font-weight: bold;
    font-size: 25px;
    color: #C3343E;
}
input.short {
    width: 100px;
}

.report-box{
    border: 2px solid #6699FF;
    background: #D1E0FF;
    margin: 5px 5px;
}
.report-header{
    font-size: 20px !important;
    margin-top: 0 !important;
}

.loading-overlay{
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 )
    url('/img/loading.gif')
    50% 50%
    no-repeat;
}

#f_viesti_otsikko {
    width: 100%;
}

/* Suorituskerrat */
.koulutuskortti_info_div.suoritettu-kertoimella,
.koulutuskortti_info_div.suorittamatta-kertoimella {
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  line-height: 26px;
  width: auto;
}
.koulutuskortti_info_div.suoritettu-kertoimella {
    color: #4e9d22;
}

/* Vuosittais-suorituksen prosentti palkki */
td .koulutuskortti_vuosipalkki {
  position: relative;
  width: 100%;
  min-height: 1em;
  border: 1px solid #000;
  background-color: white;
}
td .koulutuskortti_vuosipalkki span.paivia_jaljella {
  position: relative;
  margin: 0px;
  padding: 0px;
  max-width: 100%;
  min-width: 0px;
  border: none;
  height: 1em;
  max-height: 100%;
  display: block;
}
td .koulutuskortti_vuosipalkki span.paivia_jaljella.ok {
    background-color: #64CC2C;
}
td .koulutuskortti_vuosipalkki span.paivia_jaljella.warning {
    background-color: #f2cd11;
}
td .koulutuskortti_vuosipalkki span.paivia_jaljella.critical {
    background-color: #CA232E;
}

td .koulutuskortti_vuosipalkki_vanhentunut {
  width: 100%;
  background-image: url('../img/exclamation.png');
  background-repeat: no-repeat;
  background-size: contain;
  height: 16px;
}

/* FLOATING SCROLLBAR */
.fl-scrolls, .fl-scrolls div {
    font-size:0;
    line-height:0;
    margin:0;
    padding:0;
}
.fl-scrolls {
    bottom:0;
    height:35px;
    overflow:auto;
    position:fixed;
}
.fl-scrolls div {
    height:1px;
    overflow:hidden;
}
.fl-scrolls div:before {
    content:""; /* fixes #6 */
}
.fl-scrolls-hidden {
    bottom:9999px;
}

.fl-scrolls-viewport {
    /* It can be any type of positioning except static. Redefine in your CSS as needed */
    position:relative;
}
.fl-scrolls-body {
    overflow:auto;
}
.fl-scrolls-viewport .fl-scrolls {
    left:0;
    position:absolute;
}

.ui-state-error {
    padding: 0 1em 0 1em;
}
