/* base.css styles */
/* --------------- */

/* Sticky navbar and footer styles */
/* ------------------------------- */

html,
body {
	position: relative;
	min-height: 100%;
	height: 100%;
	margin:0;
	padding:0;
}

/* Wrapper for page content */
#wrap {
  /* Pad top by navbar height and bottom by footer height */
  padding: 75px 0 4em;
}

#main-container, #top-menu-container {
	margin-left: 5%;
	margin-right: 5%;
    width: 90%;

}

#footer {
  position: fixed;
  z-index: 1410;
  bottom: 0;
  left: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 2.5em;
  background-color: var(--bs-tertiary-bg);
  border-top: 1px solid var(--bs-border-color);
}

#footer-left {
	color: var(--bs-body-color);
	font-weight: bold;
	line-height: 1.7em;
	font-family: 'Roboto Condensed', sans-serif;
}
#footer-left > span:first-of-type {
	padding-left: 1em;
}
#footer-right {
}
#footer-right > span:last-of-type {
	padding-right: 1em;
}
.footer-message {
}

/* navbar and footer styles customizations */
/* --------------------------------------- */
#footer > .container {
  margin: 0;
  padding: 0;
  width: 100%;
}

.page-footer {
	margin-top: 0.5em;
	padding-top: 0;
}

.copyright-text, .copyright-text * {
	color: dimgray;
	font-size: 90%;
	font-family: 'Roboto Condensed', sans-serif;
}
.copyright-text a {
	text-decoration: none
}
.copyright-text a:visited {
	color: dimgray;
}
.copyright-text a:selected {
	color: dimgray;
}
.debug-label {
	font-size: 125%;
	color: darkred;
	font-family: Impact, Charcoal, sans-serif;
	font-weight: bold;
	text-shadow: 1px 1px 0px #FFFFFF;
	letter-spacing: 5px;
}


/* page header */
/* ----------- */
#pageHeaderButtons {
	 margin-top: 1.5em;
}


/* responsive buttons */
/* ------------------ */
.btn-responsive {
	/* a placeholder to be replaced by javascript (btn-sm, btn-xs, etc.) */
}
@media screen and (min-width: 768px) {
	.btn-space {
		margin-left: 0.5em;
	}
}
@media screen and (max-width: 767px) {
	.btn-space {
	}
}

/* convenience classes */
/* ------------------- */
.hidden {
	display: none !important;
}
.no-text-decoration {
	text-decoration: none!important;
}

.padding-right-1em {
	padding-right: 1em;
}
.padding-left-1em {
	padding-left: 1em;
}

/* Dropdown submenu (next levels) */
/* ------------------------------ */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}


/* FONT SIZES */
/* ---------- */
.fs50 {
	font-size: 50%;
}

.fs75 {
	font-size: 75%;
}

.fs100 {
	font-size: 100%;
}

.fs125 {
	font-size: 125%;
}

.fs150 {
	font-size: 150%;
}

.fs175 {
	font-size: 175%;
}

.fs200 {
	font-size: 200%;
}

.fs250 {
	font-size: 250%;
}

.fs300 {
	font-size: 300%;
}

/* DEBUG PANEL */
/* ----------- */
.djdt-hidden {
	margin-top: 65px!important;
}

/* Customizations for table rows */
/* ----------------------------- */
tr.row-strong > td {
	font-weight: bold;
}

tr.row-strikethrough > td {
	text-decoration: line-through;
}


/* anchors inside table-cells or table-rows */
/* ---------------------------------------- */
td > a.td-btn {
	font-weight:bolder;
	letter-spacing: 2px;
	font-size:110%;
}

.a-row, .a-row-inactive {
}


.a-td {
}

.a-row > * a, .a-row-inactive > * a, .a-td * a, .a-td > a, .a-td {
	text-decoration: None;
}

.a-row > * a, .a-row-inactive > * a {
	color:inherit;
}

.a-row:hover *, .a-td:hover *, .a-td:hover {
	cursor: pointer;
	text-decoration: None;
	color: white!important;
	background-color: #034f84!important;
}

.a-row-inactive:hover * {
	cursor: not-allowed;
	text-decoration: None;
	color: white!important;
	background-color: #A9A9A9!important;
}

.check-row, .check-td {
}

.check-row > td {
	vertical-align: middle !important;
}

/* Read-Only Pseudo Forms */
/* ---------------------- */
.row-ro {
	margin-top:    0.25em;
	margin-bottom: 0.25em;
}

.label-ro {
	color: #696969;
}

.value-ro {
	font-weight: 600;
}

@media screen and (min-width: 768px) {
	.label-ro {
		display: flex;
	}
	.label-ro:after {
		display: block;
		content: " ";
		border-bottom: 1px solid #A9A9A9;
		flex: 1 1 auto;
		margin-left: 1em;
	}
	.value-ro {
		padding-left: 0;
	}
}

/* Display error PAGE */
/* ------------------ */

.display-error-body {
	background-color: #202020;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

.display-error-panel {
}

.display-error-panel-body {
	padding-top: 1em;
	padding-bottom: 0.2em;
}

/* Context display */
/* --------------- */
.unimportant {

}

tr.unimportant {
	background-color: #F8F8F8;
	color: #808080;
}

/* Checkbox helpers */
/* ---------------- */
input[type=checkbox]:checked ~label > .state-on {
	display: inline;
}
input[type=checkbox]:not(:checked) ~label > .state-on {
	display: none;
}
input[type=checkbox]:checked ~label > .state-off {
	display: none;
}
input[type=checkbox]:not(:checked) ~label > .state-off {
	display: inline;
}
input[type=checkbox]:indeterminate ~label > .state-unknown {
	display: inline;
}
input[type=checkbox]:indeterminate ~label > .state-off {
	display: none;
}
input[type=checkbox]:not(indeterminate) ~label  .state-unknown {
	display: none;
}

/* for labels set by ajax action (when done) */
/* ----------------------------------------- */
.ajax-label-wait, .ajax-text-wait {
	font-weight: normal!important;
	/* text-decoration: underline!important; */
	color: darkgrey;
}

.ajax-label-on, .ajax-text-committed {
	font-weight: bolder!important;
	color: darkgreen;
}

.ajax-label-off {
	font-weight: bolder!important;
	color: darkred;
}

/* Messages (desktop) */
/* ------------------ */
.message-metric {
	color: LightSlateGrey; /*  slategray; */
	font-style: italic;
}


/* Various helper classes */
/* ---------------------- */
.display-block {
	display: block;
}

.text-normal * {
	color: black;
}

.container-color {
	color: inherit!important;
}

.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one           */
  display: flex;
  align-items: center;
}

.v-filler-20 {
  min-height: 20%;
  min-height: 20vh;
}

.top-1rem {
	margin-top: 1rem;
}
.top-2rem {
	margin-top: 2rem;
}
.top-3rem {
	margin-top: 3rem;
}
.top-4rem {
	margin-top: 4rem;
}
.top-5rem {
	margin-top: 5rem;
}
.top-6rem {
	margin-top: 6rem;
}
.bottom-1rem {
	margin-bottom: 1rem;
}
.bottom-2rem {
	margin-bottom: 2rem;
}
.bottom-3rem {
	margin-bottom: 3rem;
}
.bottom-4rem {
	margin-bottom: 4rem;
}
.bottom-5rem {
	margin-bottom: 5rem;
}
.bottom-6rem {
	margin-bottom: 6rem;
}

