﻿/*.nav-tabs {
    margin: 0;
    background-color: #E2E2E2;*/
/*border-bottom-color: $borderLightColor;*/
/*.nav-item {
    &:has(.active) {
        &:before {
            margin-top: -3px;
            content: "";
            display: block;
            height: 3px;*/
/*background-color: $activeColor;*/
/*position: relative;
        width: 100%;
    }
}

.active {*/
/*background-color: $lightBackground;*/
/*border-left-color: #f4f4f4;*/
/*color: $activeColor;*/
/*border-right-color: #f4f4f4;
}

:not(.active) {*/
/*            border-left-color: $borderLightColor;
            border-right-color: $borderLightColor;
            border-bottom-color: $borderLightColor;*/
/*border-radius: unset;
            border-right-width: 0.5px;
            border-left-width: 0.5px;
        }
    }
}

.tab-content {*/
/*background-color: $lightBackground;*/
/*flex: 1 1 auto;
    padding: 1rem 1rem;
}*/
html {
  font-size: 14px;
}

:root {
  --bs-dark-rgb: 128, 26, 128;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-control {
  border-radius: unset;
}

.card {
  border-radius: unset;
}

.form-group .control-label:has(+ input, + div > input, + div > select, + select, + div > textarea, + textarea, + .input-group) {
  margin: 0 0 0 6px !important;
  /*color: var(--controlLabelColor);*/
  font-size: 12px;
  line-height: 100%;
  position: absolute;
  top: 2px;
  background-color: white;
  display: inline-block;
  width: fit-content;
  text-align: center;
  padding: 0 4px !important;
}

.form-group .control-label {
  z-index: 10;
}

.form-horizontal .form-group, .form-horizontal .row .form-group {
  margin-left: 0;
  margin-right: 0;
}

.form-group {
  padding-top: 8px;
  position: relative;
}

div:has(> label) {
  position: relative;
  padding-top: 8px;
}

.btn {
  --bs-btn-border-radius: 0;
}

.btn-primary {
  --bs-btn-bg: #801a80;
}

.card-header {
  /*border-bottom-color: #801a80;*/
  border-bottom-width: medium;
}

.nav-tabs {
  --bs-nav-tabs-border-radius: 0;
}

.table-sm > :not(caption) > * > * {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  font-size: small;
}

.border-primary {
  --bs-border-opacity: 1;
  border-color: #801a80 !important;
}

.hidden {
  display: none;
}

.number-box {
  width: 3rem;
  text-align: center;
}

td .cell-caption {
  float: left;
}
td .cell-caption input {
  /*width: 2.5rem;*/
  height: 1.2rem;
}
td .cell-caption.allelen-1 input {
  width: 2rem;
}
td .cell-caption.allelen-2 input {
  width: 2.5rem;
}
td .cell-caption.allelen-3 input {
  width: 3.75rem;
}
td .cell-caption.allelen-4 input {
  width: 5rem;
}
td .cell-value {
  float: right;
}

.printable {
  display: none;
}

.tooltip-info {
  position: relative;
  display: inline-block;
}
.tooltip-info .res-ico {
  font-size: 1.5rem;
  vertical-align: middle;
}
.tooltip-info .tooltip-text {
  display: none;
}

.tooltip-info:hover .tooltip-text {
  display: block;
  position: absolute;
  z-index: 1000;
  top: -30px;
  right: 105%;
}

@media print {
  .printable {
    display: block;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  h2, .h2 {
    font-size: 2.4rem;
  }
  h3, .h3 {
    font-size: 2rem;
  }
  .table-sm :not(caption) > * > * {
    font-size: 1rem !important;
  }
  .pagebreak {
    clear: both;
    page-break-after: always;
  }
  .screen {
    display: none !important;
  }
  .modal-backdrop {
    display: none !important;
  }
}
.table-success {
  --bs-table-bg: lightgreen !important;
}

.table-success {
  --bs-table-bg: lightgreen !important;
}

.y-result-table, .haplo-result {
  width: fit-content;
}
.y-result-table th, .y-result-table td, .haplo-result th, .haplo-result td {
  text-align: center;
}

.y-result-table, .y-result-table tr, .y-result-table tr td, .y-result-table tr th {
  border: 1px solid black;
  font-size: xx-small;
  margin: 2px;
  margin: 2px;
}
