/* ==========================================================================
   Import Target Fonts & Modern CSS Custom Properties (Theme Design Tokens)
   ========================================================================== */

@font-face {
  font-family: 'Switzer Variable';
  src: url('https://cdn.prod.website-files.com/66421075345bc8a90ad03de8/664214a18ef1c03cf1297951_Switzer-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --theme--background: #ffffff;
  --theme--text: #333333;
  --theme--heading: #1d133c;
  --font--primary-family: "Switzer Variable", sans-serif;
  
  /* Swatches / Palette */
  --swatch--brand: #0fb8d8;
  --swatch--purple-500: #584de5;
  --swatch--dark: #1d133c;
  --swatch--grey-1: #fafafb;
  --swatch--grey-2: #efeff0;

  /* Form & Components */
  --border-width--main: 1.5px;
  --theme--border: #efeff0;
  --radius--main: 1rem;
  --radius--small: 0.5rem;
  --radius--round: 100vw;
}

/* ==========================================================================
   Global Reset & Base Typography
   ========================================================================== */

*,
::after,
::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  position: relative;
  min-height: 100%;
  font-family: var(--font--primary-family);
  background-color: var(--theme--background);
  color: var(--theme--text);
  font-size: 14px;
  overscroll-behavior: none;
}

svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
   Typography & Headers
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--theme--heading);
  font-family: var(--font--primary-family);
  font-weight: 600;
  margin-bottom: 10px;
}

h1 { font-size: 38px; padding-left: 10px; padding-right: 10px;}
h2 { font-size: 32px; padding-left: 10px; padding-right: 10px;}
h3 { font-size: 24px; padding-left: 10px; padding-right: 10px;}
h4 { font-size: 18px; padding-left: 10px; padding-right: 10px;}

/* ==========================================================================
   Tables
   ========================================================================== */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: var(--border-width--main) solid var(--theme--border);
  background-color: #ffffff;
  border-radius: var(--radius--small);
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--theme--border);
}

tr:nth-child(even) {
  background-color: var(--swatch--grey-1);
}

/* ==========================================================================
   Map & Column Layout Structure
   ========================================================================== */

#map {
  height: calc(100vh - 60px);
  width: 100%;
  position: relative;
  z-index: 0;
  inset: 0;
  display: block;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column1 {
  float: left;
  width: 20%;
  min-height: 100vh;
  padding: 15px;
  z-index: 100;
}

.column2 {
  float: left;
  width: 80%;
  padding: 15px;
  min-height: 100vh;
  z-index: 101;
}

@media screen and (max-width: 800px) {
  .column1,
  .column2 {
    width: 100%;
  }  
}

.pointer { cursor: pointer; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.button,
.roundbutton,
.squarebutton,
.arrowbutton,
.cell_button {
  font-family: var(--font--primary-family);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.roundbutton {
  border: none;
  z-index: 10001;
  width: 45px;
  height: 45px;
  font-size: 18px;
  color: var(--swatch--dark);
  background-color: #ffffff;
  border-radius: var(--radius--round);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.squarebutton {
  z-index: 10001;
  width: 36px;
  height: 36px;
  font-size: 20px;
  color: var(--swatch--dark);
  background-color: #ffffff;
  border: 1px solid var(--theme--border);
  border-radius: var(--radius--small);
}

.arrowbutton {
  z-index: 10001;
  width: 32px;
  height: 32px;
  font-size: 18px;
  color: var(--swatch--dark);
  background-color: #ffffff;
  border: 1px solid var(--theme--border);
  border-radius: var(--radius--small);
}

.cell_button {
  background-color: #ffffff;
  padding: 8px 12px;
  color: var(--swatch--dark);
  border: 1px solid var(--theme--border);
  border-radius: var(--radius--small);
  width: 100%;
}

.roundbutton:hover,
.squarebutton:hover,
.arrowbutton:hover,
.cell_button:hover {
  background-color: var(--swatch--grey-2);
}

.linkbutton,
.navibutton,
.dbkeyword {
  background: none !important;
  border: none;
  padding: 0 !important;
  font-family: var(--font--primary-family);
  text-decoration: none;
  cursor: pointer;
  font-size: 1em;
}

.linkbutton { color: var(--swatch--brand); }
.linkbutton:hover { text-decoration: underline; }

.navibutton,
.dbkeyword { color: #ffffff; }
.navibutton:hover,
.dbkeyword:hover { color: var(--swatch--brand); }

.button {
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  border-radius: var(--radius--small);
  padding: 10px 20px;
  background-color: var(--swatch--brand);
  color: #ffffff;
}

.button:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.large { font-size: 16px; padding: 12px 28px; }
.small { font-size: 12px; padding: 6px 14px; }

/* Color Modifier Classes */
.darkblue { background-color: #081f7a; color: #ffffff; }
.orange   { background-color: #f48c00; color: #ffffff; }
.green    { background-color: #008c23; color: #ffffff; }
.gray     { background-color: #bdc1c5; color: #000000; }
.red      { background-color: #ff0000; color: #ffffff; }
.darkred  { background-color: #d90000; color: #ffffff; }
.black    { background-color: #000000; color: #ffffff; }
.white    { background-color: #f2efe9; color: #000000; border: 1px solid var(--theme--border); }
.purple   { background-color: #bf00ff; color: #ffffff; }

/* ==========================================================================
   Navigation Bars
   ========================================================================== */

/* Target-Styled Main Nav */
.navtop {
  background-color: var(--swatch--dark);
  height: 60px;
  width: 100%;
  border-bottom: 1px solid var(--theme--border);
}

.navtop div {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0 5%;
  align-items: center;
}

.navtop div h1, 
.navtop div a {
  display: inline-flex;
  align-items: center;
}

.navtop div h1 {
  flex: 1;
  font-size: 20px;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.navtop div a {
  padding: 0 16px;
  text-decoration: none;
  color: #a0a0a0;
  font-weight: 500;
  height: 100%;
  transition: color 0.2s ease;
}

.navtop div a:hover {
  background-color: transparent;
  color: #ffffff;
}

.navtop .icon {
  display: none;
  width: 50px;
  padding: 20px;
}

/* Mobile Nav Structure */
.mobile-container {
  max-width: 100%;
  margin: auto;
  background-color: var(--swatch--dark);
  color: #ffffff;
}

.topnav {
  overflow: hidden;
  background-color: var(--swatch--dark);
  position: relative;
}

.topnav #mobLinks { display: none; }

.topnav a {
  color: #ffffff;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  display: block;
}

.topnav a.icon {
  background: var(--swatch--dark);
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: var(--swatch--purple-500);
  color: #ffffff;
}

#langmenu {
  display: none;
  text-align: right;
  padding: 5px 5%;
}

#mobLinks { text-align: center; }

@media screen and (max-width: 800px) {
  .navtop a:not(:first-child) { display: none; }
  .mobile-container { display: block; }
  .navtop a.icon { display: block; }
  .navtop div { padding-right: 10px; }
}

@media screen and (min-width: 801px) {
  .mobile-container { display: none; }
}

/* ==========================================================================
   Page Content Containers
   ========================================================================== */

.common {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.common h2 {
  margin: 0 0 15px 0;
  padding-bottom: 15px;
  font-size: 24px;
  border-bottom: 1px solid var(--theme--border);
  color: var(--theme--heading);
}

.common > p, 
.common > div {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--theme--border);
  border-radius: var(--radius--main);
  margin: 15px 0;
  padding: 24px;
  background-color: #ffffff;
}

.common > p table td, 
.common > div table td {
  padding: 8px;
}

.common > p table td:first-child, 
.common > div table td:first-child {
  font-weight: 600;
  color: var(--theme--heading);
  padding-right: 15px;
}

.footer {
  z-index: 1;
  height: 100px;
  position: relative;
  margin-top: 40px;
  width: 100%;
  text-align: center;
  color: #888888;
}

@media screen and (max-width: 800px) {
  .common { width: 100%; }
  .common > p, .common > div {
    box-shadow: none;
    border-radius: 0;
    margin-top: 2px;
    padding: 15px;
  }
}

/* ==========================================================================
   Form Controls & Inputs
   ========================================================================== */

.form-control,
.formproperties_val,
.formproperties_txt,
.formproperties_sel {
  display: block;
  width: 100%;
  height: 40px;
  padding: 8px 14px;
  font-family: var(--font--primary-family);
  font-size: 14px;
  line-height: 1.42857;
  color: var(--theme--text);
  background-color: #ffffff;
  border: 1px solid var(--theme--border);
  border-radius: var(--radius--small);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.formproperties_val:focus,
.formproperties_txt:focus,
.formproperties_sel:focus {
  border-color: var(--swatch--brand);
  outline: 0;
  box-shadow: 0 0 0 3px var(--swatch--brand-third, rgba(15, 184, 216, 0.2));
}

.formproperties_txt {
  height: auto;
  min-height: 80px;
}

.formproperties_id { display: none; color: #888; }
.formproperties_def { background: none; border: none; width: 10%; height: 28px; margin: 5px; }
.formproperties_sys { width: 100%; height: 28px; margin: 5px; color: #888; border: none; background: none; max-width: 600px; }

/* Hide third-party branding/ads */
.tox .tox-promotion .tox-promotion-link { display: none; }

/* User Management Messaging */
.pop_msg {
  color: var(--swatch--purple-500);
  margin-bottom: 20px;
  font-weight: 500;
}

/* ==========================================================================
   Modern Toggle Switches
   ========================================================================== */

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 2px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--swatch--grey-2);
  transition: .3s;
  border-radius: var(--radius--round);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

input:checked + .slider {
  background-color: var(--swatch--brand);
}

input:focus + .slider {
  box-shadow: 0 0 0 2px rgba(15, 184, 216, 0.3);
}

input:checked + .slider:before {
  transform: translateX(20px);
}