﻿/* 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;
}

.upper {
    text-transform: uppercase;
}
/* 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;
}

/* Password Change Screen
    -------------------------------------------------- */
#progress {
    height: 20px;
    width: 100%;
    margin-top: 0.6em;
}

#progress-bar {
    width: 0%;
    height: 100%;
    transition: width 500ms linear;
}

.progress-bar-danger {
    background: #d00;
}

.progress-bar-warning {
    background: #f50;
}

.progress-bar-success {
    background: #080;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem #000000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-color: #fff;
    font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.validation-summary-valid span {
    display: none;
}

/* Custom input for floating labels*/
.form-group {
    position: relative;
    margin-bottom: 36px;
}
.form-group-sm {
    position: relative;
    margin-bottom: 20px;
}

.form-control-placeholder-lg, .form-control-placeholder {
    position: absolute;
    top: -14px;
    left: 6px;
    transition: all 200ms;
    cursor: text;
    background-color: white;
    font-weight: 600;
    color: #A9A9A9;
}

.form-control:disabled, .form-control[readonly] {
    background-color: TRANSPARENT;
    opacity: 1;
}

.form-control:focus {
    border: 3px solid #007bff;
    border: 3px solid rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 3px #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

/* Custom input for floating labels -- ABOVE*/
/* BOOTSTRAP OVERRIDE SECTION*/
.card {
        border-radius: 12px;
        box-shadow: 0px 2px 11px 2px #C0C0C0;
        border: 1px solid #C0C0C0;
    }
.btn-group-xs > .btn, .btn-xs {
    padding: .3rem .4rem;
    font-size: .725rem;
    line-height: .5;
    border-radius: .2rem;
}
.btn-group-xss > .btn, .btn-xss {
    padding: .25rem .4rem;
    font-size: .675rem;
    line-height: .5;
    border-radius: .2rem;
}
/* Removes the blue border from the inputs*/
input[type="text"], textarea, input[type="password"] {
    outline: none;
    box-shadow: none !important;
    /*border: 1px solid #ccc !important;*/
}
form label.required:before {
    font-family: 'Font Awesome 6 Free';
    color: red;
    font-size: 75%;
    opacity: 0.75;
    content: "\f069\00a0\00a0";
}


.toast {
    max-width: 800px;
    border-radius: 16px;
}

/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}


#bondTabContent .dropdown-item {
    padding: 4px 8px;
}

/* ============================================================
   DataTables grid theme
   One accent only: the blue header rule + blue active-sort arrow,
   matching the portal's link/button color. Everything else stays
   neutral so the data reads first.
   ============================================================ */

/* Breathing room inside the p-0 card bodies the grids live in. */
.dataTables_wrapper {
    padding: 10px 16px 16px;
}

/* Compact control row: the default labels render at body size and
   dwarf the 12px table text. */
.dataTables_length,
.dataTables_filter {
    font-size: .75rem;
    color: #6c757d;
    padding-bottom: 4px;
}

.dataTables_length select,
.dataTables_filter input {
    font-size: .75rem;
    padding: .2rem .4rem;
    height: auto;
    border: 1px solid #ced4da;
    border-radius: .2rem;
}

/* Room for the value AND the native dropdown arrow - without this the
   number clips behind the arrow ("2" instead of "20"). */
.dataTables_length select {
    min-width: 4rem;
    padding-right: 1.4rem;
}

.dataTables_filter input {
    margin-left: .4rem;
    width: 220px;
}

/* Header: quiet gray band with the portal-blue rule underneath. */
table.dataTable thead th {
    font-size: .75rem;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    border-top: none;
    border-bottom: 2px solid #007bff;
    padding: 9px 8px;
    vertical-align: middle;
}

/* Sort carets: invisible noise until the column is hovered or
   actually sorted; the active direction takes the accent blue. */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after {
    opacity: 0;
    transition: opacity .12s ease-in-out;
}

table.dataTable thead .sorting:hover:before,
table.dataTable thead .sorting:hover:after {
    opacity: .35;
}

table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:after {
    opacity: 1;
    color: #007bff;
}

table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before {
    opacity: .2;
}

/* Rows: middle-aligned (text used to sit high against the action
   links), truncating like the old grid, gentle blue-tinted hover. */
table.dataTable tbody td {
    font-size: .7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 320px;
    padding: 6px 8px;
    vertical-align: middle;
    border-top: 1px solid #eceff2;
}

table.dataTable.table-striped tbody tr:hover td {
    background-color: #eaf3fe;
}

table.dataTable tbody td .btn-link {
    font-size: .7rem;
}

table.dataTable td.dataTables_empty {
    text-align: center;
    color: #6c757d;
    padding: 24px;
}

/* Footer row: small muted info, compact right-hand pager. */
.dataTables_info {
    font-size: .7rem;
    color: #6c757d;
    padding-top: 12px;
}

.dataTables_paginate {
    padding-top: 8px;
}

.dataTables_paginate .pagination {
    margin: 0;
}

.dataTables_paginate .page-link {
    font-size: .7rem;
    padding: .25rem .55rem;
}


/*[role="tooltip"] {
    visibility: hidden;
}*/

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    opacity: 0.8;
    display: block;
    z-index: 9001;
}

.overlay > img {
    display: block;
    height: 267px;
    width: 400px;
    margin: 0 auto;
    margin-top: 100px;
}

.custom-tooltip {
    position: relative;
    display: inline-block;
    font-size: 21px;
}

.custom-tooltip .custom-tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 15px 8px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: 6px;
    font-size: 12px;
}

.custom-tooltip:hover .custom-tooltiptext {
    visibility: visible;
}


.small-text {
    font-size: 12px;
}

.header-text {
    font-size: 16px;
}

.small-header-text {
    font-size: 14px;
}

.clipped {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.btn-width-normal {
    width: 120px;
    cursor: pointer;
}

.btn-width-med {
    width: 160px;
    cursor: pointer;
}

.btn-width-large {
    width: 220px;
    cursor: pointer;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #6c757d;
    border-color: #005cbf;
}