:root {

  --df-header-fg: #203240;
  --df-header-bg: #fff;

  --df-body-bg: #fff;
  --df-body-fg: #203240;

  --df-frame: #999;
  --df-frame-text: #fff;
  --df-frame-body-bg: #eee;

  --df-btn-border: #203240;
  --df-btn-tertiary: #db694d;
  --df-btn-secondary: #727CF5;
  --df-btn-primary: #44934a;
  --df-btn-danger: #ff0000;

  --df-btn-text: #fff;

  --button-radius: 5px;

  --button-color: var(--btn-secondary, var(--df-btn-secondary));
  --button-text-color: var(--btn-text, var(--df-btn-text));
  --button-border-color: var(--btn-secondary, var(--df-btn-secondary));

  --primary-button-color: var(--btn-primary, var(--df-btn-primary));
  --secondary-button-color: var(--btn-secondary, var(--df-btn-secondary));
  --tertiary-button-color: var(--btn-tertiary, var(--df-btn-tertiary));

  --top-menu-button-color: var(--header-bg, var(--df-header-bg));
  --top-menu-button-text-color: var(--header-fg, var(--df-header-fg));

  --left-menu-button-color: var(--btn-secondary, var(--df-btn-secondary));
  --left-menu-button-text-color: var(--btn-text, var(--df-btn-text));

  --frame-content-color: var(--body-bg, var(--df-body-bg));
  --frame-content-text-color: var(--body-fg, var(--df-body-fg));

  --grid-button-color: var(--btn-secondary, var(--df-btn-secondary));
  --grid-button-color-hover: white;

  --checkbox-bg: var(--body-bg, var(--df-body-bg));
  --input-border-color: var(--btn-secondary, var(--df-btn-secondary));
  --input-lighter-color: color-mix(in srgb, var(--input-border-color), white 80%);
  --label-color: var(--body-fg, var(--df-body-fg));
}


html,
body {
  font-family: "Nunito", sans-serif;
  min-height: 100vh;
  /*font-family: "Roboto", sans-serif;*/
  /*font-family: "Helvetica", sans-serif;*/
  /*max-height: 100%;*/

}

body {
  font-size: 1rem;
  text-decoration: none;
  padding: 0px;
  margin: 0px;
  color: var(--body-fg, var(--df-body-fg));
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

iframe {
  flex: 1;
  width: 100%;
  border: none;
}

.rounded_frame {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 5px;
  outline: none;
  text-decoration: none;
  min-width: 30px;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  border: 1px solid black;

}

.white-logo {
  filter: brightness(0) invert(1);
}

/* ---------- */
/* hyperlinks */
/* ---------- */

a {
  text-decoration: none;
  color: #005ea4;
  transition: color 0.3s ease;
}

a:hover {
  font-weight: bold;
  filter: brightness(60%);

}

.a_footer {
  font-size: 1em;
  font-weight: normal;
  color: #fff;
  text-decoration: none;
}

.a_footer:hover {
  color: #0000cc;
}

.a_sub {
  font-size: 1em;
  font-weight: normal;
  color: #ccc;
  text-decoration: none;
}

.a_sub:hover {
  color: #f00;
}

.back_to_top {
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 20px;
}

/* ----- */
/* text sizes */
/* ----- */

.small {
  font-size: 11px;
}

.tiny {
  font-size: 7px;
}

.strong {
  font-weight: bold;
}

/* ---------- */
/*    text    */
/* ---------- */

.app-title {
  color: var(--frame, var(--df-frame));
  text-transform: uppercase;
  font-size: 0.8rem;
  z-index: 0;
  text-align: center;
  font-weight: bolder;
}

.header {
  font-family: "Comfortaa", sans-serif;
  font-size: 2em;
}

.h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: 1.8em;
  padding: 0px;
  color: #005ea4;
}

.h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: 1.3em;
  padding: 0px;
  color: #005ea4;
}

.h3 {
  font-size: 1.1em;
  font-weight: bold;
  padding: 0px;
}

/* ---------- */
/* containers */
/* ---------- */

.full-width {
  width: 100%;
}

.shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.main-frame-container {
  display: flex;
  flex-flow: row nowrap;
  height: calc(100vh - 30px);
  border-left: 2px solid var(--frame, var(--df-frame));
  border-right: 2px solid var(--frame, var(--df-frame));
  margin-bottom: 14px;
}

.frame-page-container {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.frame-page-content {
  background-color: var(--frame-content-color);
  color: var(--frame-content-text-color);
}

.top_container {

  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  width: 100%;
  padding: 0px 0.5% 0px 0.5%;
  color: var(--header-fg, var(--df-header-fg));
  background-color: var(--header-bg, var(--df-header-bg));
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.top_cell {
  /*display: table-cell;*/
  vertical-align: middle;
  margin: 0 auto;
  height: 100%;
  padding: 0px;
  flex-grow: 1;
  line-height: 100px;
  color: var(--header-bg, var(--df-header-bg)) !important;
}

.page_container {
  min-height: 100%;
  max-height: 100%;
  width: 100%;
}

.page-header-container {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;

}

.page-title {
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row wrap;
}


.split_frame_container {
  height: 100%;
  display: flex;
  flex-direction: row;
}

.frame_container_body {
  flex: 1 1 auto;
  display: flex;
  position: relative;
  min-height: 0;

}

.content_div {
  border: solid 1px var(--header-bg, var(--df-header-bg));
  border-radius: 5px;
}

.split_frame_header_container {
  max-height: 100%;
  font-size: 1.05em;
  flex: 1 1 auto;
  padding: 0.5% 1% 0.5% 1%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  align-items: center;

}

.modal_container {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  height: 100dvh;
}

.modal_inner_container {
  max-height: 100%;
  max-width: 1600px;
  margin: 0px 0 0 0;
  /*padding: 8px;*/
  padding: 15px;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  flex: 0 0 auto;
  overflow: auto;
}

.scroller_container {
  /*
	 flex: 0 1 auto;
	 */
  height: 300px;
  background-color: #fff;
  padding: 150px 0px 20px 0px;
  /*border-bottom: 1px solid #AAAAAA;*/
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.centered-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.main_container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  width: 100%;
  padding: 0px 0px 0px 0px;
}

.outer_container {
  max-height: 100%;
  font-size: 1.05em;
  flex: 1 1 auto;
  padding: 10px 10px 10px 10px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

.inner_container {
  max-height: 100%;
  margin: 0px 0 0 0;
  padding: 8px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  flex: 1 1 auto;
  overflow: auto;
}

.footer-container {
  flex: 0 1 auto;
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100%;
  background-color: var(--frame, var(--df-frame));
  color: var(--frame-text, var(--df-frame-text));
  display: block;
  text-align: center;
  line-height: 14px;
  height: 14px;
  font-size: 0.6em;
  text-shadow: 1px 1px #333;
}

.header-container {
  flex: 0 1 auto;
  z-index: 999;
  width: 100%;
  background-color: var(--frame, var(--df-frame));
  color: var(--frame-text, var(--df-frame-text));
  display: block;
  line-height: 20px;
  height: 20px;
  font-size: 0.8em;
  text-transform: uppercase;
  text-shadow: 1px 1px #333;
}

.slideshow_container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  align-content: stretch;
}

.slideshow_item_container {
  display: inline-block;
  flex: 0 1 auto;
}

.gallery_container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  align-content: stretch;
}

.gallery_item_container {
  display: inline-block;
  flex: 0 1 auto;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px;
}

.home_logo {
  width: 200px;
  height: auto;
}

.chart-container {
  height: 500px;
  resize: both;
  overflow: auto;
  border: 1px solid #ccc;
  padding: 10px;
  flex: 1 auto;
}

.login-page-container {
  display: flex;
  flex-flow: column nowrap;
  height:calc(100vh - 14px);
  border-left: 2px solid var(--frame, var(--df-frame));
  border-right: 2px solid var(--frame, var(--df-frame));
  margin-bottom: 14px;
}

.login-top-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  width: 100%;
  padding: 10px;
  color: var(--header-fg, var(--df-header-fg));
  background-color: var(--header-bg, var(--df-header-bg));
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}

.login-form-container {
  width: 100%;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}

#global-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .45);
  height:100vh;
}

.loader-box {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 22px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #ccc;
  border-top-color: #333;
  border-radius: 50%;
  animation: loading-spin .7s linear infinite;
}

@keyframes loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
  body {
    font-size: 2vw;
  }
}

.some-page-wrapper {
  margin: 15px;
  background-color: red;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 10%;
  flex: 1;
}

.blue-column {
  background-color: blue;
  height: 100px;
}

.green-column {
  background-color: green;
  height: 100px;
}

.orange-column {
  background-color: orange;
  height: 100px;
}

.right {
  text-align: right;
}

.underline {
  border-bottom: solid 1px #000;
}

.drag_item {
  padding: 5px;
  text-align: center;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  cursor: grab;
  border-radius: 6px;
}

.drag_item.dragging {
  opacity: 0.6;
}

.swal-popup .swal2-icon {
  font-size: 10px;
}

.swal2-actions button {
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 5px;
  background-color: var(--button-color);
}

.swal-popup .swal-cancel {
  background-color: var(--tertiary-button-color);
}

.responsive_card_container {
  width: 1000px;
  display: grid;
  gap: 1rem;

  grid-template-columns: repeat(auto-fit,
      minmax(min(100%, 18.75rem), 1fr));
}