﻿/* 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;
    }
}

.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;
    font-size: 14px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.repeater-item-drop {
    position: absolute;
    right: 0%;
    top: -1ex;
    font-weight: bold;
    color: red;
    padding: 0.1ex 1ex;
    border-radius: 2ex;
    background: red;
    color: white;
    border: none;
}

.repeater-item {
    position: relative;
    padding: 3ex 1.5ex 1.5ex 1.5ex;
    margin: 1.5ex 0;
    border: #ddd 1px solid;
    border-radius: 1px;
    /*box-shadow: #bbb 5px 5px 15px;*/
}

.repeater {
}

.form-page section {
    padding: 1ex;
    margin: 1.5ex 0;
    border: #ddd 1px solid;
    border-radius: 1px;
    box-shadow: inset #ddd 0 0 15px;
}

.error-list {
    font-size: 14px;
    letter-spacing: 1px;
}

/* MOSelect */
.moselect .selected {
    border: 1px solid #e8e8e8;
    background: white;
    border-radius: 3px;
    min-height: 32px;
}

.moselect.form-control .selected {
    border: none;
}

.moselect.form-control {
    padding: 0;
}

.moselect .remove {
    font-weight: bold;
    color: black;
    padding: 0 1px 0 5px;
    border-left: 1px solid #ccc;
}

.moselect:focus {
    /* box-shadow: 3px 3px 3px rgba(1,1,0,0.5); */
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.moselect .item-selected,
.moselect .item-new {
    border: 1px solid #e8e8e8;
    background: #eee;
    border-radius: 6px;
    display: inline-block;
    padding: 2px 5px;
    margin: 3px;
    cursor: pointer;
}

    .moselect .item-selected .remove,
    .moselect .item-new .add {
        cursor: pointer;
    }

.moselect .items-container {
    position: relative;
}

.moselect .items {
    position: absolute;
    padding: 1ex;
    background: white;
    border: 1px solid #eee;
    border-radius: 3px;
    width: 100%;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
    z-index: 1000;
}

.moselect .items {
    display: none;
}

.moselect:focus .items {
    display: block;
}
/* /MOSelect */

section, div {
}

/* Disabled section */

.disabled-section {
    border: #fefefe 3px solid;
    background: #dfdfdf6e;
    color: gray;
    cursor: not-allowed;
    padding: 8px;
    border-radius: 8px;
}

    .disabled-section * {
        color: gray;
    }

    .disabled-section input {
        background: #dfdfdf6e;
        color: gray;
    }

    .disabled-section * {
        cursor: not-allowed;
    }

/* Hidden */
.hide-this {
    display: none !important;
}

/* Highlight Error */
.err {
    outline: red dashed 2px;
}

.err-ex-mark {
    position: relative;
    display: block;
    top: 8px;
    margin-bottom: 8px;
    width: 100%;
    background: white;
    outline: 1px solid red;
    border-radius: 8px;
    font-size: 16px;
    padding: 4px;
    color: red;
    animation: outlineAnimation 0.5s ease-in-out infinite;
}

/* Radios */
.radio-div {
    position: relative;
    cursor: pointer;
    line-height: 16px;
    font-size: 12px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding-left: 16px;
}

/*.col-md-12 .radio-div.col-md-6 {
    padding-left: 0;
}

.col-md-12 .radio-div.col-md-4 {
    padding-left: 0;
}

.col-md-12 .radio-div.col-md-3 {
    padding-left: 0;
}*/

.radio-div.forced-padding {
    padding-left: 16px !important;
}

div.forced-padding {
    margin-left: 0;
    --bs-gutter-x: 0;
}

.radio-label {
    position: relative;
    display: block;
    float: left;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #c8ccd4;
    border-radius: 100%;
    -webkit-tap-highlight-color: transparent;
}

.radio-label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #225cff;
    transform: scale(0);
    transition: all 0.2s ease;
    opacity: 0.08;
    pointer-events: none;
}

.radio-div:hover .radio-label:after {
    transform: scale(3.6);
}

.radio-div input[type="radio"]:checked + .radio-label {
    border-color: #225cff;
}

.radio-div input[type="radio"]:checked + .radio-label:after {
    transform: scale(1);
    transition: all 0.2s cubic-bezier(0.35, 0.9, 0.4, 0.9);
    opacity: 1;
}

/* [mu-widget="UiErrorList"] {
    max-height: 40vh !important;
    overflow-y: auto !important;
} */

@keyframes outlineAnimation {
    0% {
        outline-color: red;
    }

    50% {
        outline-color: transparent;
    }

    100% {
        outline-color: red;
    }
}

section {
    box-shadow: none !important;
    margin-bottom: 32px !important;
    margin-top: 32px !important;
}

.subsection {
    border-right-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
    padding-left: 4px;
    padding-right: 4px;
}

section.subsection {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

repeater section {
    margin-bottom: 16px !important;
    margin-top: 16px !important;
}

section section {
    margin-bottom: 24px !important;
    margin-top: 24px !important;
}

h6.section-header {
    margin-top: -10px;
    text-transform: uppercase;
    color: #b3b3b3;
    background: white;
    font-weight: normal;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
    width: fit-content;
}

h5.section-header {
    margin-top: -19px;
    text-transform: uppercase;
    color: #b3b3b3;
    background: white;
    width: fit-content;
    font-weight: bold;
    font-size: 18px;
    padding-left: 8px;
    padding-right: 8px;
}

.layout__side {
    transition: all 200ms;
    position: fixed;
    width: 30vw;
    min-width: 200px;
    max-width: 350px;
    height: 100vh;
    z-index: 100000;
    border-right: 1px solid darkgray;
}

    .layout__side.hidden-sidebar {
        width: 0;
        min-width: 0;
        padding: 0;
    }

.error-navigator {
    transition: all 700ms;
}

.hidden-sidebar .error-navigator {
    opacity: 0;
    width: 0;
}

.toggle-sidebar-btn {
    position: absolute;
    left: 16px;
    width: 180px;
    font-size: 18px;
    line-height: 24px;
    cursor: default;
}

    .toggle-sidebar-btn .material-symbols-outlined {
        vertical-align: bottom;
        cursor: pointer;
        transition: all 700ms;
    }

        .toggle-sidebar-btn .material-symbols-outlined:hover {
            scale: 1.1;
        }

.toggle-sidebar-label {
    position: relative;
    padding-left: 0;
    letter-spacing: 2px;
    opacity: 0;
    cursor: default;
    transition: all 700ms;
}

.toggle-sidebar-btn .material-symbols-outlined:hover + .toggle-sidebar-label {
    opacity: 1;
    padding-left: 8px;
}

.header-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: white;
    height: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.body-layout {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 60px;
    overflow-y: auto;
    flex-wrap: wrap;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    z-index: 999;
    background-color: white;
    height: 60px;
    box-shadow: 4px 2px 2px 4px rgba(0, 0, 0, 0.1);
}

    .footer-layout .container {
        text-align: center;
    }

.error-message {
    color: red;
    text-transform: uppercase;
    background: white;
    padding: 4px;
    margin: 0;
    border-radius: 4px;
    border: solid 1px red;
}

/* 
    Item Removal
*/

.item-remove-wrap {
    position: absolute;
    right: -8px;
    top: -2ex;
    font-size: 18px;
    background: none;
    z-index: 10000;
}

.item-remove-btn {
    vertical-align: bottom;
    cursor: pointer;
    background: black;
    border-radius: 50%;
    border: 1px solid white;
    color: white;
    padding: 4px;
    -webkit-font-smoothing: antialiased;
    float: right;
    transition: all 1s;
}

.item-remove-label {
    line-height: 34px;
    letter-spacing: 1px;
    padding-right: 4px;
    color: black;
    cursor: default;
    opacity: 0;
    transition: all 300ms;
}

.item-remove-btn:hover + .item-remove-label {
    opacity: 1
}

.item-remove-btn:hover {
    scale: 1.1
}

.pr-8px {
    padding-right: 8px;
}

.form-floating > label {
    left: 15px !important;
}

.floating-wrap {
    display: flex;
    padding-bottom: 8px;
    flex-wrap: wrap;
}

.form-floating > * {
    margin-bottom: 8px;
    font-size: 14px;
}

h4.subsection-header {
    margin-top: -10px;
    text-transform: uppercase;
    color: #b3b3b3;
    background: white;
    font-weight: normal;
    font-size: 16px;
    padding-left: 8px;
    padding-right: 8px;
    width: fit-content;
}

h5.subsection-header {
    margin-top: -10px;
    text-transform: uppercase;
    color: #b3b3b3;
    background: white;
    font-weight: normal;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
    width: fit-content;
}

.repeater-item.subsection:first-child > h5.subsection-header:first-child {
    margin-top: -33px;
    display: block;
}

.repeater-item.subsection > h5.subsection-header:first-child {
    display:none;
}

.repeater-item:first-child > h5.section-header:first-child {
    margin-top: -36px;
    display: block;
}

.repeater-item > h5.section-header:first-child {
    display: none;
}

.repeater-item:first-child > h6.section-header:first-child {
    margin-top: -33px;
    display: block;
}

.repeater-item > h6.section-header:first-child {
    display: none;
}

.ignore-first-border:first-child {
    border-width: 0;
}

[mu-id="loginInfo"] {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    height: fit-content;
    min-height: 60px;
    max-height: 60px;
    min-width: 300px;
    width: 30vw;
    max-width: 600px;
    overflow: visible;
    transition: all 500ms;
    background-color: white;
    border: white;
    color: black;
}

[mu-id="loginInfo"]:hover {
    /*max-height: 20vh;
    overflow: auto;*/
}

[mu-id="loginInfo"] .display-flex {
    position: absolute;
    width: 450px;
    max-height: 20vh;
    right: -450px;
    display: flex;
    opacity: 0;
    margin-top: 65px;
    border: solid lightgray 1px;
    border-radius: 4px;
    background-color: white;
    padding: 8px;
    flex-flow: wrap;
    transition: all 500ms;
}


[mu-id="loginInfo"] .display-flex.shown {
    opacity: 1;
    right: 10px;
}

.has-error {
    border-color: red;
}

.has-error .is-invalid {
    color: red;
}

.has-error *:not(.is-invalid) {
    color: 
}

.control-btns {
    padding-top: 12px;
    position: fixed;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    transition: all 500ms;
}

.control-btns > button {
    background: white;
}

.control-btns:hover {
    bottom: 65px;
}

.custom-control {
    padding-bottom: 8px;
    padding-left: 42px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.custom-control-label:before {
    width: 12px;
    height: 12px;
}

.custom-control-label:after {
    width: 12px;
    height: 12px;
}

h3.subsection-header {
    margin-top: -12px;
    text-transform: uppercase;
    color: #b3b3b3;
    background: white;
    width: fit-content;
    font-weight: bold;
    font-size: 18px;
    padding-left: 8px;
    padding-right: 8px;
}

[mu-id="bAddItem"] {
    text-transform: uppercase !important;
    position: relative !important;
    left: 0% !important;
    font-size: 14px !important;
    width: 120px !important;
    min-width: 120px !important;
    margin-bottom: 16px;
}

label.value-required:after {
    color: red !important;
}

.column-10 {
    width: 20%;
}

@media (min-width: 1400px)  {
    .column-10 {
        width: 10%;
    }
}

.btn {
    text-transform: uppercase;
    font-size: 14px;
    width: fit-content;
    letter-spacing: 1px;
    text-wrap: nowrap;
    white-space: nowrap;
}

.comment {
    color: gray;
}

input[type="number"] {
    text-align: left !important;
    font-family: inherit !important;
}

.form-title {
    position: fixed;
    z-index: 1000;
    top: 0;
    text-align: center;
    font-size: 28px;
    letter-spacing: 1px;
    width: fit-content;
    max-height: 60px;
    overflow: hidden;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
}

.form-title small {
    text-align: center;
    width: 100%;
    display: block;
    font-size: 18px;
}

.userBtn {
    position: absolute;
    right: 8px;
    top: 5px;
    height: 50px;
    padding: 8px;
    border-width: 0;
    z-index: 1000000;
}

.userBtn:hover {
    color: black;
    background-color: white;
}

.userBtn .material-symbols-outlined {
    font-size: 45px;
    margin-top: -5px;
    padding-right: 4px;
    vertical-align: middle;
}

.userBtn [mu-bind="Name"] {
    min-width: 120px;
    max-width: 200px;
    width: fit-content;
    text-align: left;
    display: inline-block;
}

.static-error.centered {
    top: 50%;
    left: 50%;
    opacity: 1;
    scale: 2.5;
}

.static-error.hidden {
    scale: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.static-error {
    color: red;
    background-color: white;
    border: solid red 1px;
    border-radius: 4px;
    font-weight: bold;
    padding: 8px;
    position: fixed;
    left: 190px;
    top: 0;
    opacity: 1;
    margin-top: 10px;
    box-shadow: none;
    transition: all 500ms;
    transform-origin: center;
    z-index: 100;
}

.add-percentage:after {
    content: "%";
    right: 0;
    text-align: right;
}

.bottom-right-fixed-non-footer {
    position: fixed;
    bottom: 15px;
    right: 24px;
    z-index: 10000;
}

[mu-widget="AWARD_CONTRACT"] .bottom-right-fixed-non-footer {
    position: relative;
    top: -35px;
    background-color: white;
    float: right;
    width: fit-content;
    padding-left: 8px;
    padding-right: 8px;
}

[mu-widget="AWARD_CONTRACT"] .bottom-right-fixed-non-footer button {
    border-width: 0;
}

.bottom-right-fixed-non-footer .dropdown-item.active {
    color: white;
}

[mu-id="bAddDropdownItem"] .dropdown-item {
    color: #007bff !important;
}

.bottom-right-fixed-non-footer .dropdown-menu {
    z-index: 10001;
    max-height: 275px;
    overflow-y: auto;
}

.bottom-right-fixed-non-footer li {
    cursor: pointer;
}

[mu-id="bAddDropdownItem"] .material-symbols-outlined {
    line-height: 20px;
    font-size: 16px;
    vertical-align: bottom;
    padding-right: 4px;
}