﻿/* 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. */
/* Show it is fixed to the top */
:root {
    --main-bg-color: #002d72;
    --main-bg-text-color: #ffffff;
}

body.fixed-menu-layout-body {
    padding-top: 7.7rem;
    height:100%;
}

.page-title {
    font-size: 1.5em;
    color: #002d72;
    font-weight: bold;
    white-space: nowrap;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.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
-------------------------------------------------- */
body {
    /* Margin bottom by footer height 
  margin-bottom: 60px;*/
    width:100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*custom nav bar color theme*/
.navbar-custom,
.navbar-custom .dropdown-menu,
.navbar-custom .dropdown-item,
.navbar-custom .dropdown-divider {
    background-color: #002d72;
    color: #ffffff;
    z-index: 999;
}

.navbar-custom a:hover {
    background-color: #DA8A19;
    color: #ffffff;
}

.navbar-custom a, .navbar-custom a:visited, .navbar-custom a:hover, .navbar-custom a:active {
    color: #ffffff !important;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: #ffffff;
}
/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: #ffffff;
}
/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:focus .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;
}

.navbar-custom .navbar-toggler {
    color: #ffffff;
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.validation-message {
    color:#ff0000;
}
/*custom bootstrap form class changes*/
.col-form-label, .hr-form-label {
    font-weight: 600;
    text-align: right;
}

.col-form-label:not(:empty)::after, .hr-form-label:not(:empty)::after {
    content: ":";
}

.col-label {
    font-weight: 600;
    text-align: right;
}

.form-check-label {
    font-weight: 600;
}

.error-list {
    display: none;
}

.error {
    color: #ff0000;
}

.e-export-pdf:before {
    content: '\e727';
}

.e-export-excel:before {
    content: '\e74e';
}

.e-export-csv:before {
    content: '\e725';
}

.e-search:before {
    content: '\e724';
}

.e-save-as:before {
    content: '\e72b';
}

.e-circle-add:before {
    content: '\e755';
}

.e-download:before {
    content: '\e75d';
}

.e-delete:before {
    content: '\e773';
}

.e-copy:before {
    content: '\e77b';
}

.e-export:before {
    content: '\e780';
}

.e-import:before {
    content: '\e77a';
}

.e-edit:before {
    content: '\e78f';
}

.e-unordered-list:before {
    content: '\e72a';
}

.e-open-folder:before {
    content: '\e70f';
}

.add-new:before {
    content: '\e759';
}

/*font awesome grid icon style*/
.grid-fa-icon {
    font-size: 1.3em;
    color: gray;
    margin-left: 8px;
    margin-right: 8px;
}

.disablegrid {
    pointer-events: none;
    opacity: 0.4;
}

.load-delivered {
    background-color: #4cff00;
}

.piece-in-qc-bg {
    background-color: #ff0000;
}

.piece-needs-work-bg {
    background-color: #ffd800;
}

.piece-in-backlog-bg {
    background-color: #00ffff;
}

.piece-in-drafting-hold-bg {
    background-color: #DA8A19;
}

.color-code-legend-box {
    border: 1px solid black;
    height: 25px;
    width: 25px;
    display: inline-block;
}

.k-notification-group {
    width: 320px;
    z-index: 9999999;
}

label.required {
    color: #ff0000;
}

label.required.col-form-label:not(:empty)::after {
    content: ":*";
}

label.required.col-form-label:not(:empty)::after {
    content: ":*";
}

.nav-link.active.filter:hover {
    background-color: #DA8A19 !important;
}

.nav-link.active.filter {
    background-color: #002d72 !important;
}

div.mobile-nav-title {
    font-weight: 600;
    pointer-events: none;
}

div.mobile-nav-title > span.divider {
    margin: 0 5px;
    pointer-events: none;
}

@media (max-width: 991px) {
    div.mobile-nav-title > span.divider {
        display: none !important;
    }

    body.mobile div.commands {
        padding: 0 !important;
    }

    body.mobile div.commands .btn {
        width: calc(33.33% - 3px) !important;
    }
}

div.k-edit-label:has(+ div span input[data-val-required]) > label {
    color: #ff0000;
}

div.k-edit-label > label::after {
    content: ":";
}

div.k-edit-label:has(+ div span input[data-val-required]) > label::after {
    content: ":*";
}