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

/*
Moved @import "wizard.css"; here because
@import must be placed at the top of the stylesheet, before any other rules (except @charset and @layer), or it will be ignored.
*/
@import "slideout.css";
@import "titledHr.css";
@import "sidebar.css";
@import "wizard.css";
@import "notification.css";
@import "components/cleaningStatusModal.css";
@import "lane-activity.css";

:root {
	--ast-global-color-0: #004687;
	--ast-global-color-0-alpha: #00468780;
	--ast-global-color-1: #0072ba;
	--ast-global-color-highlight: #0072ba;
	--ast-global-color-2: #000000;
	--ast-global-color-3: #4B4F58;
	--ast-global-color-4: #F5F5F5;
	--ast-global-color-5: #FFFFFF;
	--ast-global-color-6: #F2F5F7;
	--ast-global-color-7: #c01e2e;
	--ast-global-color-8: #cc5b4e;
	--ast-global-color-grayish: #a5a5b7;
	--ast-global-color-matte-black: #28282B;
	--ast-global-color-area-highlight: rgba(0,0,0,.04);
	--ast-global-color-shadow: rgba(0,0,0,.25);
}
* {
	box-sizing: border-box;
}
.template {
	display: none !important;
}
a {
	color: inherit;
	text-decoration: none;
}
.navbar {
  background-color: var(--ast-global-color-0);
  color: var(--ast-global-color-5);
}
.navbar a {
  color: var(--ast-global-color-5);
}
.navbar .dropdown-menu > a {
	color: black;
}
.navbar a:hover {
	background-color: var(--ast-global-color-1);
	color: var(--ast-global-color-5);
}
.navbar-brand img {
	height: 2.5em;
	padding: 0px;
	margin: 0px;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
	color: #fff;
	background-color: var(--ast-global-color-1);
	border-color: #1861ac;
}
.btn-primary:hover {
	background-color: var(--ast-global-color-0);
}

.btn-primary:disabled {
	opacity: 0.6;
}

.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;
  position: relative;
  min-height: 100%;
}
@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;
}

body {
	height: 100vh;
	width: 100vw;
	display:grid;
	grid-template-columns: min-content 1fr;
	grid-template-rows: min-content auto;
	margin: 0px;
}
body .navbar {
	grid-area: 1/1/2/3;
}
live-preview-root {
	display:none;
}
.modal-content {
	/*Set max modal height to not leave the screen */
	max-height: calc(100vh - var(--bs-modal-margin) * 2);
}
.modal-body {
	/*Allow the body area to scroll vertically if necessary. */
	overflow-y: auto;
}
.modal-body input, .modal-body textarea {
	width: 100%;
}
.modal-title {
	flex:1;
}
.modal-error {
	margin: .5rem;
	border: 3px solid maroon;
	background-color: lightpink;
	color: maroon;
	font-weight: bolder;
	padding: .5rem;
	border-radius: .5rem;
}

/*
I'm going to handle footer positioning with the css grid.
I may have to bring some of this back for alignment and such
within the grid cell.
*************************************************************
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /-* Vertically center the text there *-/
}
*/

.flexrow {
	display: flex;
	flex-flow: row wrap;
}

#page-content-wrapper {
	grid-area: 2/2/3/3;
	overflow: hidden;
	position: relative;
	display: grid;
	grid-template-rows: min-content 1fr;
}

#bodyContent {
	overflow: auto;
	position: relative;
	z-index: 10;
}

#bodyContent:has(> iframe) {
		overflow: hidden !important;
		padding: 0;
		margin: 0;
	}

	#bodyContent > iframe {
		padding: 0;
		margin: 0;
		width: 100%;
		height: 100%;
	}

/*.splash {
	display: flex;
	place-items: center;*/ /* Combines justify-content and align-items */
	/*height: 100%;
	background: url('../images/ATS Display Logo.webp') no-repeat center / contain;
	image-rendering: crisp-edges;*/ /* Improves sharpness for images */
/*}*/

#errors {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	margin: auto;
	padding: 0px;
	z-index: 99;
}
#errors .error {
	padding: 1rem;
	border: 1px solid darkred;
	border-radius: .5rem;
	background-color: pink;
	font-weight: bold;
	color: darkred;
}


/* #messages {
	position: fixed;
	top: 0px;
	left: 0px;
	width: calc(100% - 2rem);
	margin: 1rem;
	padding: 0px;
	z-index: 99;
} */

#messages {
    position: fixed;
    top: 0;
    right: 0;
    width: 600px;
    margin: 1rem;
    padding: 0;
    z-index: 99;
	width: 50%;
    min-width: 300px;
    max-width: 600px;
}

#messages .message {
	padding: 1rem;
	border: 1px solid darkgreen;
	border-radius: .5rem;
	background-color: lightgreen;
	font-weight: bold;
	color: black;
}

#messages .error {
		padding: 1rem;
		border: 1px solid darkred;
		border-radius: .5rem;
		background-color: pink;
		font-weight: bold;
		color: darkred;
	}


.labelButton {
	width: 100%;
}
.labelButton ul {
	display:inline-block;
	padding:0px;
	margin:0px;
	list-style: none;
}
.labelButton ul li {
	display: inline-block;
	padding-right: .25rem;
	padding-left: .25rem;
	border-right: 2px solid white;
}
.labelButton ul li:last-child {
	border-right: none;
}
.controlContainer {
	margin-top: 1rem;
}
.labelButton.btn-primary:hover {
	background-color: var(--ast-global-color-1);
}
.labelButton .dx-button-content:hover {
	background-color: var(--ast-global-color-0);
}
.labelButton .dx-buttongroup-last-item {
	border-left: #1861ac inset;
}	
.labelButton .dx-button-content, .labelButton .dx-icon {
	color: white;
}
.labelButton .dx-button-content {
	/* Copied from bootstrap */
	font-size: var(--bs-btn-font-size);
	font-family: var(--bs-btn-font-family);
}
.hasDataSavedButton {
    background-image: linear-gradient(#009000, #00ff14);
}

.noDataSavedButton {
    background-image: linear-gradient(#ffaa51, #e49039);
}

.noDataAndRequiredButton {
	background-image: linear-gradient(#c23616, #e84118);
}

/*
#errors .error.active {
	animation-name: jiggleIt;
	animation-duration: .25s;
	animation-iteration-count: 4;
	animation-timing-function: ease-in-out;
	--scale: 1.1;
	--angle: 5deg;
}
@keyframes jiggleIt {
	25% {transform: rotate(calc(0deg - var(--angle))) scale(var(--scale),var(--scale))}
	75% {transform: rotate(var(--angle)) scale(var(--scale),var(--scale))}
}
*/

/*@import "wizard.css";*/


.custom-tag {
	background-color: rgba(231, 136, 69, 0.2);
	color: rgba(231, 136, 69);
	width: fit-content;
	border-radius: 2em;
	white-space: nowrap;
	position: relative;
	text-align: center;
	display: inline-flex;
	align-items: center;
	line-height: normal;
	margin: 0;
	margin-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-inline-start: 6px;
	padding-inline-end: 6px;
	min-width: 40px;
}

/*
TMiles-2025.III.20|135329
The tag icon for a tag has been deemed redundant.
***************
.custom-tag::before {
	content: "\f02b"; 
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900; 
	margin-right: 5px; 
	vertical-align: middle; 
	display: inline-block;
}*/

/* Custom tooltip styling for consistent appearance across the application - Updated 2025-10-24 */
.custom-tooltip {
	background-color: #333 !important;
	color: white !important;
	font-size: 14px !important;
	font-weight: normal !important;
	padding: 10px 16px !important;
	border-radius: 4px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
	max-width: 350px !important;
	min-width: 280px !important;
	line-height: 1.4 !important;
	white-space: nowrap !important;
	pointer-events: none !important;
	border: none !important;
	position: absolute !important;
	z-index: 1000 !important;
}

.custom-tooltip.top::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #333 transparent transparent transparent;
}

.custom-tooltip.bottom::after {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #333 transparent;
}

	