/* CSS Document */


/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 1050px) 
{
    #logo{display:none !important;}
    background-color:#258833; 
    margin:auto;
    height: 100%; 
    width:95%;
    .row.content {height:100%;} 
}



.mailer{color: lime; font-size:13px;}
.osoitteet{border:1px solid #ffffff; padding:5px; font-size:15px;}
a:hover { 
    color: orange; 

}

html 
{
    width: 100%;
    height: 100%;
    margin:0;
    overflow-y: scroll; 
    font-family: verdana, arial, helvetica, sans-serif;
} 

body 
{
    background:#258833 url(images/bodybg3.png) repeat-x;
    font:11px Arial, Helvetica, sans-serif;
    color:#000000;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-weight: normal;
    vertical-align: middle;
}

.kirjautuminen{color:white; position:absolute; top:20px; left:20px;}

.kontaineri{width:100%; height:100%;}

#container
{
    color:#0AD627;
    background-color:#258833;
    text-decoration:none;
    vertical-align:top;
    border:1px solid aqua;
    width:100%;
    height:100%;
    font-size:12px;
}
#container2
{
    color:lime;
    background-color:#333;
    text-decoration:none;
    vertical-align:top;
    border:0px solid #ffffff;
    border-radius:6px;
    padding:20px;
    width:600px;
    height:100%;
    position:relative;
    left:20px;
    top:0px;
    font-size:12px;
    z-index:9999;
}

.mustalaatikko
{
    margin:auto;
    position:relative;
    left:0px;
    top:140px;
    color:lime;
    background-color:#333;
    text-decoration:none;
    vertical-align:top;
    border:1px solid #ffffff;
    border-radius:6px;
    padding:20px;
    width:95%;
    font-size:12px;
}

.mustalaatikko2
{

    position:relative;
    left:14px;
    top:140px;
    color:lime;
    background-color:#333;
    text-decoration:none;
    vertical-align:top;
    border:1px solid #ffffff;
    border-radius:6px;
    padding:20px;
    width:95%;
    font-size:12px;
}


#containerA
{
    color:lime;
    background-color:#333;
    text-decoration:none;
    vertical-align:top;
    border:1px solid #ffffff;
    border-radius:6px;
    padding:20px;
    width:500px;
    position:relative;
    left:0px;
    top:80px;
    font-size:12px;
    z-index:99;
}
#containerB
{
    color:lime;
    background-color:#333;
    text-decoration:none;
    vertical-align:top;
    border:1px solid #ffffff;
    border-radius:6px;
    padding:20px;
    width:500px;

    position:relative;
    left:500px;
    top:-1792px;
    font-size:12px;
    z-index:99;
}

input,textarea,#submit,#vastaus,.vastaus,select,checkbox,#vakio,#ma,#ti,#ke,#to,#pe,#la,#su, .button:not(.formelement), button
{
    color:white;
    /*color:#0f4788;*/
    text-decoration:none;
    border:1px solid #ffffff;
    background-color:#258833;
    line-height: 1.5em;
    cursor: pointer;
}

#tunnus,#salasana,#k_nappi,#vakio,#vn,#viesti
{
    color:#ffffff;
    text-decoration:none;
    border:1px solid #ffffff;
    background-color:#258833;
}
.taulukko{border:1px solid #ffffff; color:#ffffff;}
.otsikko2{color:#0f4788;}

label{color:#ffffff; border:0px;}

.log{color:#0f4788;}

#content 
{
    margin:auto;
    padding:0px;
    border:0px  solid red;
}


#logo
{
    background: url(images/humanlinkbaltic2.png) no-repeat;
    background-size:220px 36px;
    width:420px;
    height:75px;
    border-radius:6px;
    position:absolute;
    left:480px;
    top:20px;
    background-color: #fff;
    background-position: center center;
}

.table1{	position:relative;
         left:0px;
         top:160px;}
#kirjaudu
{
    position:absolute;
    left:0px;
    top:50px;
    color:#000000;
}

#vko
{	text-decoration:none;
  border:1px solid #0f4788;
}

a ,.linkki
{
    font:12px Arial, Helvetica, sans-serif;
    color:#ffffff;
}

.navi
{

    position:relative;
    left:0px;
    top:120px;
    width:100%;
    background-color:#333;
    padding:6px;

    z-index:999;
    border:0px solid red;
}

.navi a{text-decoration:none;}



.leipa
{	font:12px Arial, Helvetica, sans-serif;
  color:#ffffff;
}

.formi
{
    position:absolute;
    left:0px;
    top:40px;
}

.formi2
{
    position:relative;
    left:0px;
    top:40px;
}

.text
{
    text-decoration:none;
    border:1px solid #ffffff;
}
.text2
{
    text-decoration:none;
    border:1px solid #ffffff;
}
.banneri
{

    color:#000000;
    background:#258833;
    width:789px;
    height:100%;
}
.php
{
    position:relative;
    top:20px;
    left:42px;
}
.phpx
{
    position:relative;
    top:40px;
    left:42px;
}
.php2
{
    position:relative;
    top:120px;
    left:42px;
}
.php3
{
    position:relative;
    top:120px;
    left:45px;
    font-size:12px;
}
.xxx{color:#ffffff;}

.lahetys
{
    text-decoration:none;
    vertical-align:top;
    border:1px solid black;
}
.vastaaotto_otsikko
{
    color:#ffffff;
    background-color:#258833;
    text-decoration:none;
    vertical-align:top;
    border-left:1px solid white;
    border-top:1px solid white;
    border-right:1px solid white;
    padding:5px;
    width:250px;
    height:12px;
    overflow:auto;
    position:relative;
    left:0px;
    top:20px;
}
.ilmoitus
{
    width:100%;
    position:relative;
    top:120px;
    left:12px;
    font-size:14px;
    color:#ffffff;
}
.ilmoitus2
{
    position:relative;
    top:0px;
    left:3px;
    font-size:14px;
    color:#ffffff;
}
.ilmoitus3
{
    position:relative;
    top:0px;
    left:3px;
    font-size:14px;
    color:#ffffff;
}
.vastaanotto 
{
    color:#ffffff;
    background-color:#333;
    text-decoration:none;
    vertical-align:top;
    border:1px solid white;
    border-radius:6px;
    padding:5px;
    width:400px;
    height:60px;
    overflow:auto;
    position:relative;
    left:0px;
    top:20px;
}
.viestit
{
    color:#ffffff;
    background-color:#258833;
    text-decoration:none;
    vertical-align:top;
    border:1px solid white;
    padding:5px;
}



.kaupat{
    color:white;
    width:300px;
    height:105px;
    font-size:18px;
    font-weight:bold;
    font-family:arial,times new roman;
    position:absolute;
    left:44px;
    top:14px;
}

.salasana
{	position:absolute;
  top:0px;
  left:40px;
}
.ikoni
{
    position:absolute;
    top:120px;
    left:6px;
}
.viestit2
{
    position:relative;
    left:0px;
    top:20px;
    color:#7494BA;
    background-color:#258833;
    text-decoration:none;
    vertical-align:top;
    border:1px solid white;
    padding:5px;
    width:400px;
    height:300px;
}
.nappi
{
    position:relative;
    left:0px;
    top:30px;
}
.container
{
    display:block;
    width:100%;
    height:100%;


}

.apunavi
{
    width:2000px;
    position:absolute;
    left:46px;
    top:110px;
}
.onko_oikein
{
    font-size:16px;
    color:aqua;
}

table.kirj {
    border: 1px solid #fff;
}

table.tbl {
    top: 130px;
    position: relative;
    left: 14px;
    color: #fff;
    width: calc(100vw - 50px);
}

table.tbl th {
    border: 1px solid #444;
    background-color: #666;
    padding: 0.25em;
}

table.tbl td {
    border: 1px solid #fff;
    padding: 0.25em;
}

table.tbl td[colspan] {
    border: none;
}

table.tbl td.yhteenveto,
table.tbl tfoot td {
    background-color: maroon;
}

table.tbl td.yhteenveto + td {
    background-color: #000;
}

* {
    box-sizing: border-box;
}

.timetable .blocks {
    position: relative;
    height: 35px;
    min-width: 500px;
    /*text-align: right;*/
}

.timetable .time-block {
    display: inline-block;
    box-sizing: border-box;
    background-color: #258833;
    background-color: rgba(37, 136, 51, 0.5);
    border: 1px solid #fff;
    position: absolute;
    height: 35px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    overflow: hidden;
}

.timetable .time-block .explanation, 
.timetable .time-block .start, 
.timetable .time-block .end {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: xx-small;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 0.25em;
}

.timetable .time-block .explanation {
    white-space: nowrap;
    position: static;
    display: block;
    padding: 0 0.5em;
}

.timetable .time-block.shift {
    position: relative;
    background-color: rgba(255,255,255,0.9);
    margin-bottom: 1em;
    visibility: hidden;
}

.timetable .time-block.tt {
    top: 1.25em;
    height: 30px;
}

td.timetable {
    text-align: left;
    padding: 1em 0;
}

td.timetable:after {
    content: '';
    display: block;
    height: 1em;
    width: 100%;
}

.timetable .time-block .start, .timetable .time-block .end {
    z-index: 1;
    background-color: #000;
    width: auto;
    top: auto;
    bottom: 100%;
    transform: translate(-50%, -5px);
    display: none;
}

.timetable .time-block .end {
    left: 100%;
}

.timetable .time-block:hover .start, .timetable .time-block:hover .end {
    display: block;
}

.timetable .time-block:hover {
    width: auto !important;
    z-index: 2;
    border: 2px solid orange;
    overflow: visible;
}

.timetable .time-block .start:after, .timetable .time-block .end:after {
    content: '';
    display: block;
    border-top: 5px solid #000;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 100%;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.timetable .time-block.tt.pakaste,
.total.pakaste td {
    background-color: rgba(75, 200, 250, 0.9);
}

.timetable .time-block.tt.hevi,
.total.hevi td {
    background-color: rgba(100, 255, 50, 0.9);
}

.timetable .time-block.tt.eines,
.total.eines td {
    background-color: rgba(255, 165, 50, 0.9);
}

.timetable .time-block.tt.maitola,
.total.maitola td {
    background-color: rgba(185, 255, 250, 0.9);
}

.timetable .time-block.tt.keräys,
.total.keräys td {
    background-color: rgba(255, 255, 50, 0.9);
}

.timetable .time-block.tt.teollinen,
.total.teollinen td {
    background-color: rgba(50, 90, 180, 0.9);
}

.timetable .time-block.tt.palvelu,
.total.palvelu td {
    background-color: rgba(165, 65, 65, 0.9);
}

.timetable .time-block.tt.muu,
.total.muu td {
    background-color: rgba(50, 180, 100, 0.9);
}

.timetable .time-block.tt.leipä,
.total.leipä td {
    background-color: rgba(228, 224, 190, 0.9);
}

.timetable .time-block.tt.palvelutiski,
.total.palvelutiski td {
    background-color: rgba(150, 228, 194, 0.9);
}

.timetable .time-block.incomplete {
    border: 1px solid #f00;
    width: auto !important;
    overflow: visible;
}

.timetable .time-block.incomplete .end {
    display: block;
}

.threads {
    display: flex;
    flex-wrap: wrap;
}

#thread_mode:checked + label + .threads {
    display: block;
}

.threads > div,
#thread_mode:checked + label + .threads > div.focus,
ul.messages .message,
table .palaute {
    max-width: 100%;
    padding: 1em;
    background-color: #444;
    border-radius: 1em;
    margin-bottom: 1em;
    /*cursor: pointer;*/
    overflow: hidden;
    display: block;
}

table .palaute.rooli_1 {
    background-color: rgba(255,255,0,0.25);
}

table .palaute.rooli_2 {
    background-color: rgba(0,255,0,0.25);
}

table .palaute.rooli_3 {
    background-color: rgba(255,0,0,0.25);
}

#thread_mode:checked + label + .threads > div.this,
.threads > div.this {
    background-color: #35404b;
}

/*.threads > div:hover {
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0,255,0,1);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0,255,0,1);
    box-shadow: inset 0px 0px 10px 0px rgba(0,255,0,1);
}*/

#thread_mode:checked + label + .threads > div {
    display: none;
}

#thread_mode:checked + label + .threads > div.focus {

}

#thread_mode:checked + label + .threads .thread-sub {
    margin-left: 3em;   
    background-color: #555;
}

#thread_mode:checked + label + .threads .thread + .thread,
#thread_mode:checked + label + .threads .thread-sub + .thread {
    margin-top: 4em;
}

#sms_show_responded + label,
#mail_show_responded + label,
#thread_mode + label  {
    color: #0f0;
    font-size: 2em;
    float: right;
    cursor: pointer;
    clear: right;
}

#sms_show_responded, 
#thread_mode,
#mail_show_responded {
    display: none;
}

#thread_mode + label .icon-normal-mode,
#thread_mode:checked + label .icon-threaded-mode,
#sms_show_responded + label .icon-eye,
#sms_show_responded:checked + label .icon-eye-off,
#mail_show_responded + label .icon-eye,
#mail_show_responded:checked + label .icon-eye-off {
    display: none;
}

#thread_mode:checked + label .icon-normal-mode,
#sms_show_responded:checked + label .icon-eye,
#mail_show_responded:checked + label .icon-eye {
    display: initial;
}

.threads > div button {
    float: right;
    cursor: pointer;
    background: none;
    border: 1px solid #0f0;
    color: #0f0;
    font-size: 1.5em;
    line-height: 1.5em;
    border-radius: 0.25em;
}

.threads > div button:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.threads > div button .icon-normal-mode {
    display: none;
}

td.export {
    padding-bottom: 1em;
}

#sms_show_responded:checked + label + input + label + .threads > div.responded,
#mail_show_responded:checked + label + table .responded {
    display: none;
}

tr.total td {
    border: 1px solid #fff;
    color: rgba(0, 0, 0, 0.85);
}

.message {
    padding: 1em;
    margin: 0 0 1em 0;
    background-color: #c8f9ff;
    color: #0f4788;
    border: 1px solid;
    position: relative;
    z-index: 1;
}

.message a {
    color: rgba(0,0,0,0.85);
}

.message.error {
    color: red;
    background-color: mistyrose;
}

.hidden {
    display: none;
}

/*navibaari */



.navi ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

.navi li {
    float: left;
}

.navi li a {
    display: block;
    color: white;
    text-align: center;
    padding: 8px 10px;
    text-decoration: none;
}

.navi li a:hover {
    background-color: #111;
    color:white;
}

td .icon-ok,
td .icon-cancel,
td .icon-user,
td .icon-user-times {
    font-size: large;
    color: red;
}

td .icon-ok,
td .icon-user {
    color: lime;
}

ul.messages {
    padding-left: 0;
}

ul.messages,
ul.messages ul {
    list-style: none;
}

ul.messages span,
ul.messages time,
ul.messages textarea {
    display: block;
}

ul.messages textarea {
    width: 100%;
}

ul.messages .message {
    border: 0;
    color: #fff;
}

ul.messages .info {
    margin-bottom: 1em;
    color: lime;
}

ul.messages time {
    color: orange;
    margin-top: 1em;
    text-align: right;
}

.responses > input, 
.responses > input + label + form, 
.responses > input:checked + label,
.responses .formelement.checkbox > label:not([for]),
input.collapse + label span.show, 
input.collapse:checked + label span.show, 
input.collapse + label span.hide, 
input.collapse + label + ul, 
input.collapse {
    display: none;
}

input.collapse + label span, 
ul.responses > input + label,
ul.responses > input + label + form {
    transform: translateY(-0.5em);
}

.responses > input:checked + label + form,
input.collapse:checked + label + ul,
input.collapse:not(:checked) + label span.show,
input.collapse:checked + label span.hide {
    display: block;
}

.cancel,
.collapse + label {
    cursor: pointer;
}

ul.responses > input + label {
    display: inline-block;
}

td.red {
    background-color: red;
    color: #fff;
}

td.black {
    background-color: #000;
    color: #fff;
}

td.purple {
    background-color: purple;
    color: #fff;
}

td {
    padding: 0.25em;
}

td.positive {
    background-color: blue;
}

td.negative {
    background-color: darkorange;
    color: #000;
}

td.ker {
    background-color: cadetblue;
}

td.good {
    background-color: #0AD627;
}

td.bad {
    background-color: red;
}

.pad {
    padding: 0.5rem;
}

td.shift {
    border: 1px solid #fff;
}

td.shift.no {
    background-color: red;
}

td.shift.yes {
    background-color: lime;
}

td.shift.tt {
    background-color: #666;
}

.unapproved td.shift.yes {
    background-color: yellow;
}

.unapproved td.shift.tt {
    background-color: darkkhaki;
}