/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px; }

/* Hide default HTML checkbox */
.switch input {
  display: none; }

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s; }

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s; }

input:checked + .slider {
  background-color: #2196F3; }

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3; }

input:checked + .slider:before {
  -webkit-transform: translateX(15px);
  -ms-transform: translateX(15px);
  transform: translateX(15px); }

/* Rounded sliders */
.slider.round {
  border-radius: 34px; }

.slider.round:before {
  border-radius: 50%; }

.switch-line {
  vertical-align: top;
  display: inline-block; }

.fade.in {
  opacity: 1; }

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5; }

.CodeMirror {
  border: 1px solid #eee;
  height: 600px !important; }

table.file-browser tr .row-hover {
  display: none; }

table.file-browser tr:hover .row-hover {
  display: inline-block;
  margin-left: 2em; }

.fa-svg-icon svg {
  width: 16px;
  height: 16px; }

.table.table-version {
  background-color: #FFFFFF;
  border: 1px solid #dee2e6; }
  .table.table-version .selected {
    background: #2196f3;
    color: #313435; }

.background-login {
  background-image: url("../images/bg_login.jpg"); }

.open > .dropdown-menu {
  display: block; }

.form-group .ui-select-match {
  border: 1px solid #ADADAD;
  border-radius: 3px; }

.table-xtra-condensed > thead > tr > th,
.table-xtra-condensed > tbody > tr > th,
.table-xtra-condensed > tfoot > tr > th,
.table-xtra-condensed > thead > tr > td,
.table-xtra-condensed > tbody > tr > td,
.table-xtra-condensed > tfoot > tr > td {
  padding: 2px; }

.discount .CodeMirror {
  height: 400px !important; }

.table.sticky-head thead tr:nth-child(1) th {
  background: white;
  position: sticky;
  top: 60px;
  z-index: 10; }

.sticky {
  position: sticky;
  top: 60px;
  z-index: 10;
}

.table.scrollable {
  overflow-x: scroll;
}

#dataDialog .modal-dialog {
  max-width: 80%; }

.warranty textarea {
  min-height: 25vh; }

.flatnewsletter .statistic {
  text-align: center;
  max-width: 250px;
  font-size: 12px;
  background: #eee; }
  .flatnewsletter .statistic .statistic-header {
    line-height: 20px;
    color: white;
    font-weight: bold; }
    .flatnewsletter .statistic .statistic-header.green {
      background: green; }
    .flatnewsletter .statistic .statistic-header.blue {
      background: deepskyblue; }
    .flatnewsletter .statistic .statistic-header.orange {
      background: darkorange; }
    .flatnewsletter .statistic .statistic-header.red {
      background: darkred; }
  .flatnewsletter .statistic .statistic-title {
    font-weight: bold;
    font-size: 16px; }
  .flatnewsletter .statistic .statistic-wrapper {
    margin: 0 10px; }
  .flatnewsletter .statistic .table-statistic {
    text-align: left; }
    .flatnewsletter .statistic .table-statistic tr td.right {
      text-align: right; }

.spread-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.33s ease-in-out;
}

.spread-content.spread-show {
  max-height: 600px;
}

body {
  --table-width: 100%; /* Or any value, this will change dynamically */
}

.table-scrollable tbody {
  display: block;
  max-height: 500px;
  overflow-y: auto;
}


.table-scrollable thead, .table-scrollable tbody tr {
  display: table;
  width: var(--table-width);
  table-layout: fixed;
}
table.table-scrollable  td {
  padding: 12px 0;
}
table.table-scrollable td input {
  width: 100%;
}


.form-group .form-control.no-borders {
  border: none;
}

.input-group .date-input {
  max-width: 100px;
}

.page-slider-container {
  width: 100%;
  display: flex;
  overflow: hidden;
}

.page-slider {
  display: flex;
  width: 100%;
  transition: all 0.25s;
}

.page-slider .page-slide {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  margin-right: 0px;
  box-sizing: border-box;
  transform-origin: center center;
  transform: scale(1);
}

.part-grid .row {
  /*border-bottom: 1px solid #ddd;*/
  padding: 5px 0;
}
.part-grid .row:last-child {
  /*border-bottom: none;*/
}