body {
  margin-top: 70px;
  text-align: center;
}
body >* {
  text-align: initial;
}

#vesileima {
  color: black;
  opacity: 0.1;
  background-position: center center;
  background-color: transparent;
  font-size: 10em;
  transform: rotate(-20deg);
  -webkit-transform: rotate(-20deg);
  -moz-transform: rotate(-20deg);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 100px;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

#kokoonpanon-versiotiedot .modal-dialog {
  width: 70%;
}

.navbar-header {
  display: flex;
}
#sivuston-tunnus {
  padding: 0;
  font-size: xx-large;
  line-height: 0.8em;
}
#sivuston-tunnus b {
  padding: 0 10px;
}
#sivuston-tunnus img, #sivuston-tunnus b {
  height: 50px;
  line-height: 50px;
}

.breadcrumb {
  float: left;
  margin: 7px 10px;
  background-color: inherit;
  font-size: 20px;
}
.breadcrumb .active {
  font-size: 20px;
  color: #000;
  font-weight: bold;
}

.navbar-fixed-top .navbar-collapse {
  max-height: none;
}

.navbar-toggle {
  position: absolute;
  right: 0;
}
nav.navbar .navbar-left ul {
  padding: 4px 15px;
}
nav.navbar .navbar-right ul {
  /*padding: 8px 15px;*/
}
nav.navbar ul {
  margin: 5px 10px;
}
@media (max-width: 767px) {
  .navbar-right li {
    background-color: #F8F8F8;
    text-align: right;
  }
}

nav.navbar .navbar-right li a {
  padding: 8px 15px;
}
nav.navbar .navbar-right li a span:not(.label) {
  font-size: large;
}

.navbar-right li .label {
  padding-top: 7px;
}

#sisalto {
  display: inline-table;
  background-color: #fff;
  box-shadow: 0 2px 20px 1px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
  #sisalto {
    margin-bottom: 40px;
    margin-inline: 20px;
    padding: 20px 40px 20px 40px;
    min-width: calc(80% - 40px);
  }
}
@media (max-width: 767px) {
  #sisalto {
    margin-bottom: 10px;
    padding: 10px;
  }
}

button[data-toggle] .halytys {
  width: 25px;
  height: 25px;
  /*border-radius: 50%;*/
  position: absolute;
  right: -10px;
  bottom: -10px;
  z-index: 0;
  line-height: 20px;
}

/* Vrt. https://stackoverflow.com/questions/18325779/bootstrap-3-collapse-show-state-with-chevron-icon */
.panel-heading .panel-title:after {
  /* symbol for "opening" panels */
  font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
  content: "\e114";    /* adjust as needed, taken from bootstrap.css */
  float: right;        /* adjust as needed */
}
.panel-heading.collapsed .panel-title:after {
  /* symbol for "collapsed" panels */
  content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

.oikeaala {
  position: fixed !important;
  top: auto;
  bottom: 67px;
  right: 41px;
  z-index: 90;
}

.leijuva {
  transition: all 0.2s ease-out;
  box-shadow: 0 0 3px rgba(0,0,0,0.12),0 3px 3px rgba(0,0,0,0.24),0 0 6px rgba(0,0,0,0.12),0 6px 6px rgba(0,0,0,0.24);
  border-radius: 50% !important;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  background-image: none;

  width: 80px;
  height: 80px;
  line-height: 80px;
}
.leijuva::before {
  font-size: 26px;
  padding: 26px 22px 28px 26px;
}

.leijuva.luonti::before {
  content: "\002b";
}
.leijuva.luonti {
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  -moz-osx-font-smoothing: grayscale;
}

.tasalevyinen {
  font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}

table.dataTable tbody tr.selected td {
  background-color: #08C !important;
}

table.dataTable tbody tr.odd.selected td {
  background-color: #08C !important;
}

div.form-control.input-group {
  padding: 0;
  border: 0;
}

@media (max-width: 767px) {
  div.form-control.input-group input[type="text"] {
    pointer-events: none;
  }
}

.input-group.date {
  width: 140px;
}
.input-group.date:focus-within {
  z-index: 998;
}
.input-group.time {
  width: 110px;
}

.select2-container {
  min-width: 160px;
}
.select2-container .select2-choice {
  height: 36px !important;
}
.select2-chosen {
  line-height: 36px;
}
.select2-choices {
  padding-right: 0 !important;
  border: inherit !important;
  background: inherit !important;
}
.select2-search-field {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.select2-selection--single, .select2-selection--multiple {
  min-height: 34px !important;
}
.select2-selection--single .select2-selection__rendered {
  line-height: 34px !important;
}
.select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}

.file-drop-zone-title {
  max-width: 200px;
  padding: inherit;
}

.help-block.datavirhe {
  color: red;
}
.datavirhe {
  color: red;
  text-align: right;
}

*[data-url] {
  cursor: pointer;
}

.pystyerotin {
  display: inline-block;
  align-self: stretch;
  width: 1px;
  min-height: 1em;
  background-color: currentcolor;
  opacity: .25;
  margin: 1rem;
}
