.top-navbar {
  z-index: 10;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 50px;
  box-shadow: 0px 0px 12px -4px #000;
  text-align: center;
  background: #ff8000;
  border-bottom: 2px solid #ee7000; }
  .top-navbar * {
    text-decoration: none;
    display: inline-block;
    width: auto; }
  .top-navbar h1 {
    vertical-align: middle;
    flex: 1 1 auto;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: normal;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .top-navbar .action-button  {
    width: 40px;
    margin: 5px;
    border-radius: 100%;
    flex: 0 0 auto;
    cursor: pointer;
    color: white;
    z-index: 120; }
    .top-navbar .action-button  i {
      font-size: 28px;
      line-height: 40px; }

@media (min-width: 1000px) {
  .top-navbar {
    padding: 0px calc(50% - 500px); } }

#page-shadow {
  opacity: 0.3;
  background: #000;
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20; }

#side-navigation {
  position: fixed;
  width: 50vw;
  height: 100vh;
  left: -50vw;
  top: 0;
  z-index: 100;
  background: #505050;
  transition: left 300ms ease;
  padding-top: 2rem; }
  #side-navigation button {
    display: block;
    text-align: left;
    color: #ff8000;
    font-size: 1.1rem;
    padding: 0.9rem;
    padding-left: 1.2rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none; }
  #side-navigation button.active {
    background: #707070; }

#side-navigation.visible {
  position: fixed;
  left: 0;
  box-shadow: 1px 0px 15px -5px #000; }

#side-navigationAdmin {
  position: fixed;
  width: 50vw;
  height: 100vh;
  left: -50vw;
  top: 0;
  z-index: 100;
  background: #505050;
  -webkit-transition: left 300ms ease;
  -o-transition: left 300ms ease;
  transition: left 300ms ease;
  padding-top: 2rem; }
  #side-navigationAdmin button {
    display: block;
    text-align: left;
    color: #ff8000;
    font-size: 1.1rem;
    padding: 0.9rem;
    padding-left: 1.2rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none; }
  #side-navigationAdmin button.active {
    background: #707070; }

#side-navigationAdmin.visible {
  position: fixed;
  left: 0;
  -webkit-box-shadow: 1px 0px 15px -5px #000;
  box-shadow: 1px 0px 15px -5px #000; }

input {
  display: block;
  width: 100%;
  font-size: 1rem;
  outline: none;
  font-family: 'Roboto', sans-serif; }

input[type=text],
input[type=password] {
  background: #333;
  color: #fff;
  padding: 1rem;
  padding-left: 5rem;
  border: 0; }



input[type=text]::placeholder,
input[type=password]::placeholder {
  color: #ccc;
  margin: 0.5rem 0; }

.input-with-icon:first-child input[type=text],
.input-with-icon:first-child input[type=password] {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem; }

.input-with-icon:last-child input[type=text],
.input-with-icon:last-child input[type=password] {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem; }

.input-with-icon:not(:last-child) input[type=text],
.input-with-icon:not(:last-child) input[type=password] {
  margin-bottom: 2px; }

.input-with-icon {
  position: relative; }

.input-with-icon i {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 2rem;
  top: 50%;
  border-right: 2px solid #444;
  padding: 0.3rem 1rem; }

input[type=submit] {
  margin-top: 2rem; }

input[type=submit], button {
  border: 0;
  outline: none;
  display: block;
  font-size: 1rem;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  border-radius: 0.5rem;
  color: #fff;
  padding: 0.8rem;
  cursor: pointer;
  background: #ff8000;
  box-shadow: 0px 1px 10px -5px #000; }

input[type=submit]:hover, button:hover {
  background: #cc6600; }

input[type=oma] {
  background: whitesmoke;
  color: black;
  padding: 0rem;
  padding-left: 0rem;
  border: 0; 
  width:100px;
  height: 1.5rem;
}
  
  .tunSyotto {
    color: black;
    background-color: whitesmoke;
    padding-left: 1rem;
    height: 3em;
    width: 40%;
    min-width:200px;
  }   

/*
button {
    display: block;
    width: 100%;
    outline: none;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 0.5rem;
    text-align: center;
    background: $theme-color;
    border-radius: $round-amount;
    cursor: pointer;
}
*/
/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  line-height: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: left;
  background: #333;
  border-radius: 0.5rem; }

  .contCheck {
   
     margin-top: 0rem; 
    margin-bottom: 0rem;
    
    padding-bottom: 0rem;
   
    background: #3a3a3a;
  }
   

/* Hide the browser's default checkbox or radiobutton */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer; }

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  height: 30px;
  width: 30px;
  background-color: #eee; }

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc; }

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #ff8000; }

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none; }

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block; }

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 12px;
  top: 7px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg); }

.container.radio {
  margin: 0;
  background: none;
  padding-left: 4rem; }

/* Create a custom radiobutton */
.radiomark {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background-color: #eee; }

/* On mouse-over, add a grey background color */
.container:hover input ~ .radiomark {
  background-color: #ccc; }

/* Create the radiomark/indicator (hidden when not checked) */
.radiomark:after {
  content: "";
  position: absolute;
  display: none;
  box-sizing: border-box; }

/* Show the radiomark when checked */
.container input:checked ~ .radiomark:after {
  display: block; }

/* Style the radiomark/indicator */
.container .radiomark:after {
  left: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background-color: #ff8000;
  /*border-bottom: 2px solid darken($theme-color, 5%);*/
  box-shadow: 0px 1px 6px -1px #000; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

html, body {
  width: 100%;
  height: 100%;
  background: #3a3a3a;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden; }

.page {
  width: 100%;
  min-height: 100%;
  text-align: center;
  background: #3a3a3a;
  color: #fff;
  overflow-x: hidden; }

#login-page {
  /* background: url("../assets/background_template2.jpg"); */
  background-size: cover;
  background-position: center;
  overflow-x: hidden; }

.page-content {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.5rem;
  padding-top: 50px; }
  .page-content p {
    text-align: left;
    padding: 0.5rem; }
    .page-content p span {
      padding-left: 0.5rem; }
  .page-content h1 {
    text-align: left;
    padding: 0.6rem 1rem;
    font-size: 1.5rem;
    font-weight: normal; }

.page-content.without-top-navbar {
  padding-top: 0px; }

.narrow-panel {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto; }

img {
  max-width: 100%;
  height: auto; }

div.table-header,
div.table-row {
  display: flex;
  width: 100%; }

div.table-header > div,
div.table-row > div {
  width: 49%;
  text-align: left;
  flex: 1 1 auto;
  padding: 0.4rem 0.4rem; }

div.table-header > div.small-cell,
div.table-row > div.small-cell {
  width: 20px;
  padding: 0;
  flex: 0 1 auto; }

div.table-header > div {
  background: #e08010;
  border-bottom: 2px solid #d06000; }

div.table-content {
  background: #606060;
  margin-bottom: 2rem; }

div.content-row {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid #3a3a3a; }
  div.content-row.noudettu:not(.jatto) {
    background: #999344;
    border-bottom: 1px solid #496622; }
  div.content-row.noudettu.haku {
    background: #494;
    border-bottom: 1px solid #262; }
  div.content-row.valmis:not(.haku) {
    background: #494;
    border-bottom: 1px solid #262; }
    div.content-row.valmis:not(.haku) div.additional-info-box {
      background: #383; }
  div.content-row.uusi {
    animation: uusiBlink 1.5s linear 0s infinite; }

.tarkea {
  background-color: red; }

@keyframes uusiBlink {
  0% {
    color: #eee;
    background: #606060; }
  50% {
    color: #fc7;
    background: #763; }
  100% {
    color: #eee;
    background: #606060; } }

div.table-row {
  cursor: pointer; }

div.additional-info-box {
  background: #4a4a4a;
  box-shadow: inset 0px 0px 6px -2px #000;
  padding: 0.5rem;
  padding-bottom: 1.5rem;
  margin: 0.3rem;
  border-radius: 2px; }
  div.additional-info-box .button-wrapper {
    margin-bottom: -1rem;
    margin-top: 1rem; }
  div.additional-info-box p {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem; }
    div.additional-info-box p span {
      padding-left: 0.1rem;
      color: #fb8; }
  div.additional-info-box p.faded {
    color: #ccc;
    font-style: italic; }

.button-wrapper {
  text-align: right; }
  .button-wrapper button:not(:last-child) {
    margin-right: 0.5rem; }
  .button-wrapper button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    width: initial;
    margin-left: auto;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2); }
  .button-wrapper button.green {
    background: #494; }
  .button-wrapper button.green:hover, .button-wrapper button.green:active {
    background: #383; }

div.additional-info-box.closed {
  display: none; }

#ilmoitukset-div {
  margin-top: 2rem; }

[id^="ilmoitus"] {
  background: #606060;
  border-bottom: 1px solid #3a3a3a; }
  [id^="ilmoitus"] .otsikko p {
    margin: 0;
    padding: 0.5rem 0.6rem;
    font-size: 1.2rem; }
  [id^="ilmoitus"] .otsikko p:first-child {
    color: #ccc;
    font-style: italic;
    text-align: right;
    padding-bottom: 0rem;
    font-size: 0.9rem; }
  [id^="ilmoitus"] .viesti {
    padding-top: 0.9rem;
    padding-bottom: 1.5rem;
    background: #505050; }
    [id^="ilmoitus"] .viesti p {
      padding: 0.6rem;
      margin: 0; }

[id^="ilmoitus"].uusi {
  background: #70705a; }
  [id^="ilmoitus"].uusi .otsikko p:nth-child(2) {
    color: #ff8000; }

#hakuEhdot-div {
  background: #2a2a2a;
  padding: 0.5rem;
  margin: 0 -0.5rem 0.5rem -0.5rem; }

div.paivaValitsin-div {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center; }
  div.paivaValitsin-div label {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    margin: 0 3rem; }
  div.paivaValitsin-div div {
    display: inline-table;
    margin: auto; }
    div.paivaValitsin-div div button {
      display: table-cell;
      width: 3rem;
      font-size: 1.5em;
      padding: 0.5rem;
      font-weight: bold;
      background: #444; }
    div.paivaValitsin-div div span {
      display: table-cell;
      min-width: 100px;
      text-align: center; }

div#paivanTiedot-div {
  margin-top: 1.5rem;
  padding: 0.5rem;
  border-radius: 2px;
  background: #4a4a4a;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2); }
  div#paivanTiedot-div p {
    padding: 0.2rem; }

.btnLogin {
  border: 1px;
  background-color: inherit;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  width: auto; }

.btnLogin {
  background: #eee; }

.sisaan {
  color: green;
  width: 80px;
  height: 30px;
  padding: 0px 0px; }

.ulos {
  color: red;
  width: 80px;
  height: 30px;
  padding: 0px 0px; }

.yht {
  color: black;
  width: 60px;
  height: 30px;
  padding: 0px 0px; }

.tauolta {
  height: 35px;
  color: green;
  width: 80px;
  padding: 0px 0px; }

.reitti {
  color: black;
  width: 120px;
  height: 30px;
  padding: 0px 0px; }

.piilota {
  visibility: hidden; }

.nayta {
  visibility: visible; }

.eiNayteta {
  display: none !important;
}

.select {
  position: center;
  display: flex;
  width: 80%;
  height: 3em;
  line-height: 3;
  background: white;
  overflow: hidden;
  border-radius: .25em; }

  .selectKuittaus {
    position: center;
    display: flex;
    width: 40%;
    min-width:200px;
    height: 3em;
    line-height: 3;
    background: whitesmoke;
    overflow: hidden;
    border-radius: .25em; }  


.center {
  margin: auto;
  padding: 10px; }

#muokkaaFrm input {
  background-color: whitesmoke;
  color: black;
  padding-left: 0rem; }

.form-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  border: 3px solid #f1f1f1;
  z-index: 9; }

@media only screen and (max-width: 700px) {
  .form-popup {
    position: fixed;
    top: 10%;
    left: 5%;
    transform: translate(0%, 0%);
    width: 90%;
    border: 3px solid #f1f1f1;
    z-index: 9; } }


.form-popup-muistio {
  display: none;
  position: fixed;
  top: 20%;
  left: 20%;
  transform: translate(0%, -10%);
  width: 70%;
  max-width: 500px;
  border: 3px solid #f1f1f1;
  z-index: 9; }

@media only screen and (max-width: 700px) {
  .form-popup-muistio {
    position: fixed;
    top: 10%;
    left: 5%;
    transform: translate(0%, 0%);
    width: 90%;
    border: 3px solid #f1f1f1;
    z-index: 9; } }

 
.formPop-container {
  max-width: 100%;
  padding: 10px;
  background-color: gray; }

.keikka-table {
  background-color: white; }

.keikka-table tr td label {
  height: 10px; }

.keikka-table input {
  color: black;
  background-color: whitesmoke;
  padding-left: 1rem;
  height: 15px; }

.keikka-table  input:disabled {
  color: black;
  background-color:#cdc8b1;
  padding-left: 1rem;
  height: 15px; 

}

.keikka-table textarea {
    color: black;
    background-color: whitesmoke;
    padding-left: 1rem;
    border: 0px;     
    /* width:100%;
    max-width: 100%; */
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  
  }  
  .proj {
    font-size: large;
    font-weight: bold;
  }

  .keikka-table input[type="date"] {
    color: black;
    background-color: whitesmoke;
    padding-left: 1rem;
    height: 30px; }  

  
   

#pvmRivi #txtPvm   {
  color: black;
  background-color: whitesmoke;
  padding-left: 1rem;
  height: 30px; }

#kloRivi #txtKlo {
  color: black;
  background-color: whitesmoke;
  padding-left: 1rem;
  height: 30px; }

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  /*safari and chrome*/
  select {
    height: 30px;
    line-height: 30px;
    background: #f4f4f4;
    width: 100%; } 
  }

select::-moz-focus-inner {
  /*Remove button padding in FF*/
  border: 0;
  padding: 0; }

@-moz-document url-prefix() {
  /* targets Firefox only */
  select {
    padding: 15px 0 !important; } }

@media screen\0 {
  /* IE Hacks: targets IE 8, 9 and 10 */
  select {
    height: 40px;
    line-height: 40px;
    width: 100%; } }

.btn-group button {
  /* background-color: #4CAF50; /* Green background */
  /*border: 1px solid green; /* Green border */
  /* color: white; /* White text */
  padding: 8px 24px;
  /* Some padding */
  cursor: pointer;
  /* Pointer/hand icon */
  float: left;
  /* Float the buttons side by side */
  margin-left: 6%;
  width: 25%; }

  .buttonKuittaus {
    /* background-color: #4CAF50; /* Green background */
    /*border: 1px solid green; /* Green border */
    /* color: white; /* White text */
    padding: 10px 24px;
    /* Some padding */
    cursor: pointer;
    /* Pointer/hand icon */
    /* float:inline-end; */
    /* Float the buttons side by side */
    /* margin-left: 6%; */
    width: 40%; 
    min-width: 200px;}

.btn-group button:not(:last-child) {
  border-right: none;
  /* Prevent double borders */ }

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table; }

.modal-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem; }

.modal {
  background: #eee;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  width: 100%;
  max-width: 600px; }

.modal textarea {
  width: 100%;
  min-height: 100px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem; }

.button-wrapper .icon-button {
  vertical-align: bottom;
  height: 2.2rem;
  padding: 0.3rem; }

#liitteet-container {
  padding-top: 1rem;
  padding-bottom: 1rem; }

.liite {
  padding: 0.5rem; }

.paiva-row {
  display: flex;
  margin-bottom: 0.5rem;
  flex-wrap: wrap; }

.paiva-row > * {
  flex: 1 1 30%; }

#kartta-div a {
  color: #ffffff; }

#kartta-div a:visited {
  color: #ffffff; }

  .omaTable {
    width:100%;
    max-width: 1000px;
    border: 1px;
    color:#d4d4d4;

  }

  .omaTable  a {
    color: yellow;
  }
  .omaTh,.omaTd {
    border: 1px solid white;   
  }

  .laskTable {
    width:80%;
    max-width: 500px;
    border: 1px;

  }
  .tVasen {
    text-align: left ;
  }

  .tOikea {
    text-align: right ;

  }

 

  .tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
  }
  
  /* Style the buttons inside the tab */
  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 16px;
    transition: 0.3s;
    font-size: 1rem;
    width:16%;
    color:black;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
    background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
  }

  .tehtavaTable {
    width:100%;
    max-width: 100%;
    border: 1px;
    background-color:whitesmoke;
    font-size: 1.5rem;
    font-weight: normal;
    text-align: center;    


  }
  .tehtavaTh,.tehtavaTd {
    border: 1px solid black;   
    text-align: left;
    border-collapse: collapse;

  }

  .tehtavaTh {
    font-weight: bold;
  }

  .eikiire {
    color:black;
    background-color:whitesmoke;
  }
  .lahestyy {
    color:red;
    background-color:whitesmoke;
  }

  .myohassa {
    color:black;
    background-color:red;
  }

  .omagreen {
    background-color:#4CAF50;
  }

  .grid-container {
    display: grid;    
    gap: 1px;    
    padding: 1px;
    /* background-color: #2196F3; */
  }

  .grid-container > div {
    /* background-color: rgba(255, 255, 255, 0.8); */
    
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
  }

  .grid-item {
    /* background-color: rgba(255, 255, 255, 0.8); */
    /* text-align: center; */
    /* padding: 20px; */
    font-size: 1em;
    text-align: left;
    justify-items: center;

  }
  @media only screen and    (max-width: 599px) {
    .hakuKnt {
      display: grid;
      /* background-color: #2196F3; */
      /* grid-template-columns: 40% 60%  ; */
      grid-template-columns: 20% 30% 20% 30% ;
    }
    .itemKoko {
      grid-column: 1 / span 2;
      font-size: 1.5em;
    }
    .itemBtn {
      grid-column: 2 / span 2;
    }

  }
  

  
  @media only screen and  (min-width: 600px) and  (max-width: 891px) {
    .container {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
    }
    .double {
      grid-column: span 2;
    }
    .triple {
        grid-column: span 2;
    }
    .quadro {
        grid-column: span 2;
    }  
    
    .tdTarve {
      display: none;
    }
    .tdTilamyohassa {
      color:black;
      background-color:red;
    }
    .tdTilalahestyy {
      color:red;
      background-color:whitesmoke;
    }
    .hakuKnt {
      display: grid;
      /* background-color: #2196F3; */
      grid-template-columns: 20% 30% 20% 30% ;
    }
    .itemKoko {
      grid-column: 1 / span 4;
      font-size: 1.5em;
    }
    .itemBtn {
      grid-column: 2 / span 2;
    }
  }

  @media only screen and (min-width: 892px)  {
    .container {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .double {
      grid-column: span 2;
  }   
  .triple {
      grid-column: span 3;
  }  
  .quadro {
      grid-column: span 4;
  }
  .tdTarve {
    display: table-cell;
    border: 1px solid white;  
  }

    .tunnitHaku{
      background-color: #000;
    }

    .hakuKnt {
      display: grid;
      /* background-color: #2196F3; */
      grid-template-columns: 12% 21% 12% 21% 12% 21% ;
    }
    .itemKoko {
      grid-column: 1 / span 6;
      font-size: 1.5em;
    }
    .itemBtn {
      grid-column: 3 / span 2;
    }
  }

  .hakuKnt input[type="date"] {
    color: black;
    background-color: whitesmoke;
     /* padding-left: 1rem; */
    height: 3em; 
    width: 80%;
    border-radius: .25em; 
    font-size: 12px;
  
    
    /* width: 150px; */
  }   

  .hakuKnt input[type="text"] {
    color: black;
    background-color: whitesmoke;
     /* padding-left: 1rem; */
    height: 3em; 
    width: 100%;
    border-radius: .25em; 
    font-size: 12px;
    text-align: left;
    padding: 0rem;
    padding-left: 0rem;
    /* width: 150px; */
  }     

  .hakuKnt select {
    position: center;
    display: flex;
    width: 80%;
    height: 3em;
    /* line-height: 3; */
    background: white;
    overflow: hidden;
    border-radius: .25em; 
    font-size: 12px;
  }

  .autocomplete {
    position: relative;
    display: inline-block;
  }

  
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  /* padding: 10px; */
  cursor: pointer;
  background-color: #fff; 
  color:black;
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

.cmbTehtavaTilaus {
  background-color: white; 
}

.cmbTehtavaTehtava {
  background-color: bisque; 
}

.valittu {
  font-weight:bold;    
  color:black;
  text-decoration: none;

}

.eiValittu {
  font-weight:normal;  
  text-decoration: underline;
  text-decoration-color: blue;  
  color:blue;
}

.tblLabel {
  width:100%;
  background-color:#fb8;

}

.palkkiTd {
  background: whitesmoke;
  
}

.keskelle {
  display: flex;
  justify-content: center;
}

.puolikas {
  width:50%;
  max-width:300px;
  padding:0.2rem;

}

.laskutettavat {
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  
}

#laskutettavatTbl th, td{   
  text-align: left;  
} 

#laskutettavatTbl th:nth-child(4) td:nth-child(4){   
  text-align: right;  
} 

.tulosteTbl th, td{   
  text-align: left;  
  border: 0px;
} 

.sisennys {
  padding-left:0.5rem;
  padding-right:0.5rem;
}

/* @media print {
  table { page-break-after:auto }
} */




  
