﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1700px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1600px;
    }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/** from Home project **/
body {
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

#content {
    width: calc(100% - 260px);
    padding: 20px;
    padding-bottom: 60px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

    #content.active {
        width: 100%;
    }

.fixed-bottom {
    width: 250px;
}

#FieldData {
    min-height: 300px;
}

    #FieldData .form-row {
        margin-right: 0px;
    }

#v-pills-tabContent {
    min-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 3px 3px;
    margin: 0 -3px;
}

tabname {
    display: none;
}

.ScrollData {
    overflow: auto;
}

#alert-container {
    position: fixed;
    top: 45px;
    left: 25%;
    right: 25%;
    z-index: 5000;
    text-align: center;
    opacity: 0.9;
    display: none;
    font-weight: bold;
}

.LoadingImage {
    text-align: center !important;
}

    .LoadingImage img {
        height: 50px;
        margin: 40px;
    }

.labelButtons {
    padding: 0 .5em;
    font-weight: bold;
    cursor: pointer;
}

    .labelButtons:hover {
        text-decoration: underline;
    }

.faIcons {
    padding: 0 .3rem;
    cursor: pointer;
}

.modal-body {
    padding: 1rem 1.5rem;
}

.modal-header {
}

.modal-footer {
}
.modal-xl {
    max-width: 1440px;
}
.modal-fullscreen {
    width: calc(100vw - 100px);
    max-width: none;
    height: 100%;
    margin: 50px;
}
#bottomButtons {
    background-color: rgba(255, 255, 255, 0.8);
    bottom: 10px;
    border: 1px solid #c1c1c1;
    margin: 15px;
    border-radius: 0.25rem;
    padding: 5px;
    justify-content: center;
    min-height: 50px;
}

    #bottomButtons .btn {
        margin-right: 10px;
    }

body {
    overflow: auto;
}

.table th, table td {
    vertical-align: inherit;
}

th input.form-check, td input.form-check {
    position: relative;
    top: 5px;
    left: 9px;
}

thead tr th input.form-check {
    position: relative;
    top: -4px;
    left: 9px;
}

.subtitle {
    font-weight: bold;
    border-top: 1px solid black;
    border-bottom: 1px solid #c1c1c1;
    background-color: #e8e8e8;
    padding: 0 10px;
}

.LogoTop {
    position: absolute;
    top: 0px;
    height: 100px;
}

.card {
    margin-bottom: 2px;
}

label.error, .field-validation-error {
    color: #dc3545;
    font-size: 0.8em;
    line-height: 10px;
    white-space: nowrap;
    background-color: white;
}

    .field-validation-error:hover {
        position: relative;
        z-index: 1;
        padding-right: 10px;
    }

.form-control.input-validation-error {
    background-color: #ffeaea;
    border-color: #dc3545;
}

.nav-pills .nav-link {
    border: 1px solid white;
}

    .nav-pills .nav-link:hover {
        border-color: #243664;
    }

    .nav-pills .nav-link.error {
        color: #A00;
        border-color: #A00;
    }

    .nav-pills .nav-link.active.error {
        color: #FFF;
        background-color: #A00;
    }

    .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
        background-color: #243664;
    }

.navbar-dark {
    background-color: #243664;
}

.btn-outline-dark {
    color: #343a40;
    border-color: #343a40;
}

    .btn-outline-dark:hover, .btn-dark:hover {
        background-color: #243664;
        border-color: #243664;
    }

.btn-dark {
    background-color: #3c4c6e;
    border-color: #3c4c6e;
}

#navbarNavAltMarkup {
    left: 100px;
    position: relative;
}

.rptForm {
    min-height: 43px;
    border-radius: 0.5rem;
}
.noteHtml {
    padding: 10px;
    border: solid 1px #ccc;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    min-height: 43px;
}

.rowBuffer {
    padding-top: .5em;
}

.rowHeader {
    border-bottom: 1px black solid;
    background-color: lightgray;
    padding: .5em;
    font-weight: 500;
}

table.dataTable.compact thead th, table.dataTable.compact tbody td {
    font-size: .825rem;
}

.form-readonly-text {
    font-size: .825rem;
    font-weight: 500;
    color: #777;
    padding-left: .5rem;
}

.form-readonly-link {
    font-size: .825rem;
    padding-left: .5rem;
}

.form-control-plaintext {
    font-size: .825rem;
    font-weight: 500;
    color: #777;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: .25rem;
    padding: .375rem .75rem;
    height: calc(2rem + 2px);
}

    td input.right, .form-control-plaintext .right {
        text-align: right;
    }

table.text-right td {
    text-align: right;
}

.table {
    border-bottom: 1px solid #dee2e6;
}
/* for read-only inputs in tables, format so text matches table/td text */
td .form-control-plaintext {
    font-size: 0.875rem;
    border: 0;
    background-color: unset;
    font-weight: normal;
    padding: 0;
    color: unset;
    min-height: unset;
}

.table-sm td, .table-sm th {
    font-size: 0.85rem;
}
    .table-sm td .btn-sm {
        line-height: 1;
    }

td input.form-control-sm, td select.form-control-sm {
    padding: .25rem .25rem;
    height: auto;
    line-height: 1;
    min-width: 60px;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    padding-left: 20px !important;
    background-position: center left;
}
/* checkboxes */
.checkbox-image {
    cursor: not-allowed;
    height: 17px;
    width: 17px;
    margin: 0;
    opacity: 0.5;
}

img.checkbox-image + label {
    display: none;
}

.form-control.check-box {
    width: 35px;
    height: 1.5rem;
    border: 1px solid #ddd;
    border-radius: .7rem;
}

.form-control {
    height: calc(2rem + 2px);
    padding: 0.275rem 0.75rem;
    font-size: 0.85rem;
    margin-block-end: 5px;
    /*margin-top: -1px;*/
}

.checkbox-container {
    font-weight: 400;
    font-size: 0.825rem;
    color: #888;
    margin: 2.5rem 0 0.5rem 0;
}

    .checkbox-container.compact {
        margin: 0;
    }

    .checkbox-container.semi-compact {
        margin: 12px 0 0 0;
    }

    .checkbox-container.semi-compact-indented {
        margin: 4px 0 0 10px;
    }

.pac-container {
    z-index: 1050;
}

.dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: initial;
}

.dataTables_wrapper .dataTables_length {
    float: right;
}

input[type="search"] {
    margin: 0.375rem 0.75rem;
    padding: 0.25rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    input[type="search"]:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
.dt-button{
    z-index: 1;
}
.ui-front {
    z-index: 1075 !important;
}

.ui-autocomplete {
    font-family: inherit !important;
    font-size: 0.85rem !important;
}


div.row div {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
}

table.noWrapCells td {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100px;
}

table.inlineEdit tbody > tr:nth-of-type(4n-1) {
    background: rgba(0,0,0,.05);
}
table.inlineEdit tr[id^="EditRow"] {
    background-color: #d6d6d6;
}

.dropFile {
    padding: 10px 20px 10px 10px;
    border: solid 1px #4a85ff;
    border-radius: 8px;
    margin-bottom: 10px;
}
.custom-file, .custom-file-label, .custom-file-label:hover {
    width: 100% !important;
    max-width: calc(100% - 25px) !important;
}

/* Tooltip text */
.tooltiptext {
    display: none;
    background-color: #777777;
    color: #fff;
    padding: 5px;
    border-radius: 6px;
    position: absolute;
    font-size: 0.75em;
    z-index: 1052;
}
/* we put label on top of the input*/
label:not(.wrap) {
    position: absolute;
    top: 5px;
    right: 1px;
    bottom: 1px;
    left: 2rem;
    z-index: 1;
    font-size: 1rem;
    color: #6576a0;
    white-space: nowrap;
    cursor: text;
    transition: all .1s ease-out;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100% - 50px);
    width: fit-content;
    height: fit-content;
}

.form-control:focus ~ label, 
.form-control:not(:placeholder-shown) ~ label, 
.form-control-plaintext ~ label,
.noteHtml ~ label {
    font-size: 11px;
    font-weight: bold;
    top: -5px;
    left: 24px;
    height: 0.8rem;
    line-height: 8px;
    color: #585858;
    background-color: white;
    padding: 0 5px 0px 5px;
    width: fit-content;
    border-radius: 1rem;
}

.form-control:disabled, .form-control[readonly] {
    opacity: .75;
}

input:focus:invalid ~ label {
    color: red;
}

input:required ~ label::before {
    content: "*";
    color: red;
}

.form-control.check-box ~ label {
    top: 4px;
    position: relative;
    left: 0;
    font-size: 14px;
    width: calc(100% - 50px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1rem;
    height: 1rem;
    transition: none;
    margin-bottom: 9px;
    background-color: transparent;
}

.check-box ~ label:hover {
    top: -1px !important;
    z-index: 2;
    overflow: visible;
    cursor: pointer;
    margin-bottom: 10px;
}

label:hover {
    z-index: 2;
    overflow: visible;
    max-width: unset;
    background-color: white;
    width: fit-content;
}

label:only-child {
    position: unset;
    font-weight: 500;
    font-size: 0.9rem;
    color: #888;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: unset;
    line-height: normal;
}

label.wrap, label.wrap:hover {
    white-space: unset;
    top: auto;
    padding-bottom: initial;
    overflow: auto;
}

.rowHeader label {
    font-weight: bold;
    color: black;
    font-size: 1em;
    position: relative;
    top: 3px;
    left: 6px;
}

    .rowHeader label:hover, label:only-child:hover {
        background-color: transparent;
    }

.faglow {
    text-shadow: 0 0 11px black;
}

#Helpwindow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background-color: rgba(33, 33, 33, 0.50);
    clip-path: none;
    display: none;
}

.helpHighlight {
    border: solid 1px darkred;
    position: absolute;
    border-radius: 2px;
}
.HelpText, .HelpControls {
    position: absolute;
    background-color: white;
    border-radius: 10px;
    border: solid 1px blue;
    z-index: 1011;
    padding: 20px;
    text-align: center;
    align-content: center;
    font-size: 20px;
    font-weight: bold;
    left: 50px;
    right: 50px;
    top: 75px;
}

.HelpControls {
    left: unset;
    padding: 10px;
    top: 5px;
    right: 5px;
    font-size:15px;
}
    .HelpControls .close {
        opacity: 1;
    }
    .HelpControls span {
        padding: 10px;
        top: 7px;
        position: relative;
    }
