/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ==========================================================================
   f3f5f4 797b7c
   */
@import 'controls.css';
@import 'layout.css';
@import 'loading.css';

:root {
  --green: #8cc63e;
  --red: #ff0000;
  --blue: #5757cb;
  --hvcolor: #ff0000;
  --pmacolor: #ff0000;
  --lightgreen: rgba(140, 198, 62, 0.4);
  --lightgrey: #f0f3f5;
  --darkgrey: #777777;
  --darkgreen: #77ac4c;
  --darkestgreen: #888a88;
  --main-menu-textcolor: #c0c0c0;
  --main-menu-textcolor-selected: #e0e0e0;
  --sub-menu-textcolor: #c0c0c0 ;
  --sub-divider-textcolor: var(--darkgrey);
  --sub-menu-active-textcolor: var(--darkestgreen);
  --sub-menu-hover-textcolor: var(--darkgreen);
  --main-menu-height: 40px;
  --main-background-gradient: transparent;
  --main-background-color: #5c5c5c;
  --page-background-color: white;
  --rowbackground-color: #efeaea;
  --header-background-color: #5c5c5c;
  --main-text-color: rgb(129, 129, 129);
  --headers-text-color: rgb(62, 61, 61);
  --subheader-text-color: rgb(129, 129, 129);
  --form-background: rgb(252, 253, 250);
  --input-background: #fcfbf7;
}

@font-face {
  font-family: 'bold';
url('../fonts/Roboto-Bold.ttf?pepmv2') format('truetype'), font-weight: normal;
url('../fonts/Roboto-Bold.woff?pepmv2') format('woff'), font-style: bold;
  font-style: normal;
}


@font-face {
  font-family: 'standard';
url('../fonts/Roboto-Regular.ttf?pepmv2') format('truetype'), font-weight: normal;
  src: url('../fonts/Roboto-Regular.ttf?pepmv2');
url('../fonts/Roboto-Regular.woff?pepmv2') format('woff'), font-style: bold;
  font-style: normal;
}

/*
@font-face {
  font-family: 'standard-thin';
url('../fonts/Roboto-Thin.ttf?pepmv2') format('truetype'), font-weight: normal;
  src: url('../fonts/Roboto-Thin.ttf?pepmv2');
url('../fonts/Roboto-Thin.woff?pepmv2') format('woff'), font-style: bol
font-style: normal;
}
*/
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
  local('MaterialIcons-Regular'),
  url(../fonts/MaterialIcons-Regular.woff2) format('woff2'),
  url(../fonts/MaterialIcons-Regular.woff) format('woff'),
  url(../fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

html {
  color: var(--main-text-color);
  font-size: 1em;
  font-family: 'standard';
  line-height: 1.4;
  background: var(--main-background-color);
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/*
General
 */
*[hidden] {
  display: none !important;
}

body {
  font-family: 'standard';
  font-size: 12px;
  background: var(--main-background-color);
}

.generalheader {
  display: flex;
  align-items: end;
  justify-content: center;
  background: white;
  padding: 4px;
}
.header-row{
  position: relative;
  display: flex;
  gap: 6px;

}
.header-big{
  font-size: 24px;
  font-weight: 600;
  color: black;
  margin: 0 ;
}
.logo-row
{
  display: flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  gap:16px;
  right: 230px;
}
.headerlogo {
  height: 60px;
  background: white;
}
.header-title{
  gap:8px;
  align-items: end;
  display: flex;
}
.main {
  /*background: var(--main-background-color);*/
}

@media screen and (max-width: 450px) {
  .headerlogo {
  }
}

.header-stripe {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  height: var(--main-menu-height);
  /*background: var(--red);*/
  width:100%;
  padding: 0px 16px;
}
.header-logged-off{
  width: fit-content;
  color:rgb(200,200,200)  ;
}
#agent-logo {
  height:  var(--main-menu-height);
  width: auto;
}

*[data-theme=hv]
.header-stripe {
  /*background: var(--hvcolor);*/
}

*[data-theme=pma]
.header-stripe {
 /*background: var(--pmacolor);*/
}

.modal {

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  user-select: none;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 999;


}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.centercontent {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#page {
  min-height: 60%;
}

.main {
  margin:
   0px 0 0 0;
}
#btn-fullscreen{
  position: fixed;
  top: 4px;
  right: 0;
}
.page {
  width: calc(100%);
  height: calc(100vh);
}

.page-content {
  display: flex;
  justify-content: center;
  margin: 16px;
  position: relative;
  width: calc(100% - 32px);
}

.maincontent {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.card {
  background: white;
  border-radius: 8px;
  border: thin solid lightgrey;
  box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.1);
  padding: 16px;
  width: fit-content;
  height: fit-content;
}
.info-container {
  width: fit-content;
  height: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: white;
  padding: 16px;
  font-size: 16px;
}

#general-page-item {

  font-size: 24px;
  color: black;
  text-align: left;
  margin: auto 16px auto auto ;
  padding-left: 8px;
  width: fit-content;
  text-decoration: underline;
}

#general-page-title {
  text-align: center;
  width: 100%;
  font-size: 32px;
  font-weight: bold;
  margin-right: 102px;
}



.generalfooter {
  margin: 16px;
  background: var(--hvcolor);
  display: flex;
  align-items: center;
  color: white;
  padding-left: 16px;
  height: 24px;
  position: fixed;
  bottom: 0px;
  width: calc(100% - 32px);

}


*[ellipsis] {
  word-break: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fsize-24 {
  font-size: 24px;
}

.form-container {
  overflow: auto;
  height: 650px;
}

h1, h2 {
  color: var(--headers-text-color);
}

h3, h4 {
  color: var(--subheader-text-color);
}

header {
  position: relative;
  top: 0;
  width: 100%;
  height: fit-content;
  background-color: var(--header-background-color);
  text-align: center;
  font-size: larger;
  z-index: 10;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: transparent;
  color:#c0c0c0;
  text-align: center;
  padding: 0.5rem 0;
  font-size: larger;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tooltip {
  position: absolute;
  z-index: 9999;
  width: fit-content;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease-in-out;
  display: block;
  font-size: 12px;
  line-height: 16px;
  background: #fefdcd;
  padding: 2px 2px;
  border: 1px solid #c0c0c0;
  box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4);
}

/*
const statusColor = {
  1: "red",
  7: "yellow",
  8: "#FE2EC8",
  9: "#00FF00",
  10: "black",
  11: "black",
}
 */
.bgStatus0 {
  background: rgb(0, 0, 255);
  color: rgb(0, 0, 255);
}

.bgStatus1 {
  background: red;
  color: red;
}

.bgStatus7 {
  background: yellow;
  color: yellow;
}

.bgStatus8 {
  background: #787ad5;
  color: #787ad5;
}

.bgStatus9 {
  background: green;
  color: green;
}

.bgStatus10 {
  background: black;
  color: black;
}

.bgStatus11 {
  background: black;
  color: black;
}

*[center-content] {
  display: flex !important;
  justify-content: center !important;
}

*[columns] {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

*[bg-white] {
  background: white !important;
}

*[shadowed-container] {
  background: white;
  box-shadow: 2px 3px  2px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 16px;
}

*[shadow-border] {
  box-shadow: 2px 2px rgba(0, 0, 0, 0.2);
}

*[rounded] {
  border-radius: 4px;
}

*[bm16] {
  margin-bottom: 1.6rem;
}

*[align-top] {
  margin-top: 0px !important;
  margin-bottom: auto !important;
}

req {
  margin-left: -12px;
  margin-top: -4px;
  color: red;
}

req:after {
  content: '*';
}
