﻿/* 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. */

/* Restore pre-Bootstrap 5 container width for Full HD (≥1200px).
   Bootstrap 5 uses 1140px (xl) / 1320px (xxl); the prior layout used 1600px. */
@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
    }
}

/* Login privacy line: keep Bootstrap 4 small sizing so it stays on one line. */
.login-legal small {
    font-size: 80%;
    font-weight: 400;
}

.text-em-aqua {
    color: #50c1b4 !important;
}

.bg-em-aqua {
    background-color: #50c1b4 !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.dis-model-err {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 0px;
    z-index: 999;
}

    .dis-model-err span {
        z-index: 999;
    }

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
    text-decoration: none;
    background-color: transparent;
}

.btn-primary {
    color: #fff;
    background-color: #00dbcc !important;
    border-color: #00dbcc !important;
}

.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;
    }
}

.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);
}

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;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.app-version {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.4;
    color: #6c757d;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.2rem;
    vertical-align: middle;
}

.checkboxes {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    min-width: 280px;
}

    .checkboxes div {
        display: inline-block;
        margin: 0px 10px 0px 10px;
    }

    .checkboxes img {
        width: 200px !important;
    }

.checkboxes-item {
    padding: 5px;
    border-bottom: dashed;
    border-width: thin;
    width: 100%;
    text-align: center;
}

.checkboxes-item > .submission-perod {
    display: none;
}

.text-filters{
    margin:10px 0px 0px 0px;
}

    .text-filters table {
        border-spacing: 10px 0px;
        border-collapse: separate;
    }

    .text-filters td {
        color: darkgray;
        font-size: 13px;
    }

    .text-filters input {
        height:25px;
        width: 170px;
    }

.login {
    margin: 20px 0px 50px 0px;
    font-family: Arial;
    font-size: 20px;
    text-align: center;
}

    .login table {
        border-spacing: 40px 10px;
        border-collapse: separate;

    }

    .login input {
        height: 40px;
        width: 500px;
    }

    .login button {
        background-color: navy;
        color: white;
        height: 40px;
    }

    .login table tr td:first-child {
        text-align: right !important;

    }

    .login table tr td {
        text-align: left;
    }
input[type="checkbox"] {
    display: inline-block;
    width:20px;
}

td span {
    vertical-align: super;
}

.login-content {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.register-heading {
    padding: 10px 0 10px 0;
    margin: 0 20px 10px 10px;
    background-color: #1c3557;
    color: white;
    text-align: center;
}

.register-form {
    width: 820px;
}

.register-form .d-table {
    border-spacing: 10px;
    border-collapse: separate;
}

.register-form div.d-table-cell:first-child {
    background-color: #8faadc;
    color: white;
    text-align: center;
    font-weight:bold;
    border:1px solid darkblue;
    width:280px;
}

.register-form div.d-table-cell:nth-child(2) {
    padding-left: 10px;
    width: 500px;
}

.register-form .form-control {
    background-color: #f1f6ff;
    border: 1px solid darkblue;
    padding-top: 3px;
    margin-top: 1px;
    border-radius: 0;
}

.register-form .form-label {
    margin-bottom: 0;
}

.register-form .autocomplete-no-match {
    width: 100%;
    margin-top: 4px;
    line-height: 1.25;
    white-space: normal;
}

.navigation {
    font-size:20px;
}

.submissions{
    border:solid 1px;
}

.nav-link-hover:hover {
    color: #ffffff;
    background-color: darkblue;
}

.navbar-collapse > .navbar-nav > .nav-item.active 
{
    background-color: #1a3e9b;
    cursor: pointer;
}

/*Tooltips*/
.tooltip.fade.show > .tooltip-inner {
    background-color: white;
    color: black;
    border: 1px solid #363636;
}

/*Scrollable Submission details table*/
.scrollable-table {
    max-height:600px;
    overflow:auto;
}
    .scrollable-table table {
        display:table;
        width:100%;
        border-collapse: collapse;
    }
    .scrollable-table thead th {
        position:sticky;
        top: 0;
        z-index: 1;
        background-color:#f1f1f1;
        border:none;
        white-space: nowrap;
    }

/*Validation errors*/
form .validation-summary-errors,
form .field-validation-error {
    color:red;
    font-size: 80%;
}
form input.input-validation-error{
    border:solid 1px red;
}

/*jQuery UI*/
.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.ui-front {
    z-index: 100;
    background-color: inherit;
}

.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}

.ui-menu .ui-menu {
    position: absolute;
}

.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
    background-color: #007bff;
    color: white;
}

.ui-menu .ui-menu-item {
    margin: 0;
    cursor: pointer;
    list-style: none;
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 2px 0.5em 2px .7em;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ui-menu {
    color: #495057;
    padding: 0;
    margin: 0 0 0 5px;
    display: block;
    outline: 0;
    border: 1px solid #858585;
    border-top: none;
    border-bottom: 1px solid #b9b9b9;
    width: 1px; 
    overflow: hidden;
    box-shadow: 0 .5rem 0.8rem rgba(0,0,0,0.25)!important;
}

.info-box {
    position: absolute;
    display: none;
    border: 2px solid black;
    padding: 10px 10px 0px 0px;
    background-color: white;
    z-index: 1;
}

#spinner {
    margin: 5px 5px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#spinnerContainer{
    display:none;
}

.list-group-item.active {
    background-color: #1c3557;
    border-color: #1c3557;
}

.append-fa {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
    cursor: pointer;
    pointer-events: none;
}

/* Shared filter form fields (Deal Data / Submission) */
.filter-field {
    width: 100%;
    border: 2px solid grey;
    border-radius: 4px;
}

.filter-intro {
    margin: 25px 0;
}

.filter-upload-section {
    margin-top: 50px;
}

.filter-helper {
    margin-bottom: 20px;
}

.filter-spinner {
    width: 50px;
}

/* Deal Data page */
.deal-data-logo {
    width: 300px;
}

/* Submission page */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
    border-right: solid;
    border-color: #1b6ec2;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.submission-open-nav {
    font-size: 30px;
    cursor: pointer;
}

#logo_placeholder > img {
    max-width: 210px;
    margin-top: auto;
    margin-bottom: auto;
}

#info_placeholder > div {
    margin-left: auto;
    padding-right: 20px;
}
