﻿/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 210px; /* == height of the footer */
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
  max-width: 280px;
}

  input[type=text] {
    min-width: 280px;
  }

.wrapper {
  min-height: 100%;
  position: relative;
}

.normalweight {
  font-weight: 400;
}

input, select, textarea {
  max-width: 280px;
}

.message {
  margin-top: 20px;
  padding-bottom: 20px;
  color: red;
}

.field-validation-valid {
  display: none;
}

.traficom-button {
  border: 0;
  background-color: #003175;
  color: white;
  padding: 5px 20px;
}

    .traficom-button:hover {
        background-color: #0059b3;
    }

    .traficom-button:disabled {
        background-color: #6e6e6e; /* TODO VMy: Brändioppaan disabled buttonille ei löydy vastaavaa värikoodia brändioppaan värikoodeista! */
        color: #ffffff;
    }

/* Lomakkeiden virheellisten kenttien korostus */
input.formfield.warning {
  border: 2px solid #E90008;
}

.vue-notification {
  font-size: 14px !important;
  cursor: pointer !important;
}

.vld-overlay.is-full-page {
  z-index: 99999 !important;
}

@media screen and (max: 480px) {
    a.logout {
      float: right;
      margin-right: 15px;
    }
}

#langChange {
  font-size: smaller;
  padding-right: 10px;
  padding-left: 15px;
}

label.totprecovery.checkbox {
  font-weight: 400;
}

.totprecovery.qrimage {
  width: 250px;
  margin-left: -20px;
}

::-ms-reveal {
    display: none;
}

#header-logo img {
    width: 220px;
}

footer {
    background-color: #003175;
    color: #FFFFFF !important;
    margin-top: 10px;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
}

/* KTK-blue header clean (only logo) */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom-width: 6px;
    border-bottom-style: solid;
    border-bottom-color: #f7f7f7;
    background-color: #FFFFFF;
    height: fit-content;
    margin-bottom: 10px;
    padding: 20px;
    position: relative;
    z-index: 100;
}

@media only screen and (max-width: 480px) {
    header {
        padding-top: 10px;
        align-items: start;
        justify-content: start;
        flex-direction: column;
    }
}

header .logo {

}

header #header-logo {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

header #header-logo img {
    vertical-align: middle;
    max-width: 220px;
}

a {
    text-decoration-color: #003175 !important;
    background: none !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 2px !important;
}

.btn:focus {
    background-color: #003175 !important;
    color: white !important;
}

.btn:disabled {
    background-color: #cccccc !important;
    color: white !important;
}

.navbar-text {
    margin-left: 0px !important;
}