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

* {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Euclid Square", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

:root {
  --white: #fff;
  --kx-off-white: #ccc;
  --kx-grey: #555;
  --kx-black: #101820;
  --kx-blue: #0061FF;
  --kx-blue-hover: #2a5eb3;
  --kx-yellow: #FFC300;
  --kx-green: #009BAB;
  --kx-red: #F23A66;
  --kx-purple: #7647CC;
  --kx-success: #90ffdb;
}

@font-face {
  font-family: 'kx-glyphs';
  src:
    url('../fonts/kx-glyphs.ttf?dyszfi') format('truetype'),
    url('../fonts/kx-glyphs.woff?dyszfi') format('woff'),
    url('../fonts/kx-glyphs.svg?dyszfi#kx-glyphs') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'kx-glyphs' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-kx-elbow:before {
  content: "\e900";
}

.icon-kx-menu:before {
  content: "\e9bd";
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Bold.woff2") format("woff2"),
    url("../fonts/EuclidSquare-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Light.woff2") format("woff2"),
    url("../fonts/EuclidSquare-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Medium.woff2") format("woff2"),
    url("../fonts/EuclidSquare-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Euclid Square";
  src: url("../fonts/EuclidSquare-Regular.woff2") format("woff2"),
    url("../fonts/EuclidSquare-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

h2 {
  font-size: 1.5rem;
}

a {
  color: var(--kx-blue);
  text-decoration: none;
  transition: all 250ms ease-in-out;
}

a:hover {
  color: var(--kx-green);
  text-decoration: none;
}

.text-center {
  justify-content: center;
  text-align: center;
}

.kx-blue {
  color: var(--kx-blue);
}

.sr-only {
  position: absolute;
  visibility: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav {
  width: 100%;
  padding: 3rem 0;
  white-space: nowrap;
}

nav a {
  color: var(--kx-black);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: normal;
  padding: 1rem;
}

nav img {
  width: auto;
  height: 2.5rem;
}

.nav-item a {
  color: var(--kx-black);
  text-align: center;
}

.cm-username {
  border-right: solid 1px var(--kx-black);
  margin-right: 6px;
  padding: 0;
}

.cm-sign-out {
  padding: 0rem;
}

.main_menu {
  z-index: 50;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.main {
  display: flex;
  gap: 4rem;
}

main {
  padding-bottom: 12rem;
}

@media (max-width: 1024px) {
  html {
    font-size: 12px;
  }

  .main {
    flex-direction: column;
  }
}

.content,
.form {
  flex-basis: 50%;
}

.content h1 {
  font-weight: 300;
  letter-spacing: -0.05rem;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.form h2 {
  margin: 0 0 1rem;
  font-weight: normal;
}

.content p {
  margin: 1rem 0;
  font-size: 1.2rem;
}

.form {
  align-self: flex-start;
  padding: 2rem;
  background: var(--kx-black);
  color: var(--white);
}

.user-input {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 0;
  margin-bottom: 1rem;
  max-height: 3000px;
  transition: all 1s ease-in-out;
}

.user-input.closed {
  overflow: hidden;
  max-height: 0;
}

.form div:not(#messageBox, .user-input) {
  display: flex;
  gap: 1rem;
  flex-basis: 100%;
}

.form .required-note {
  font-style: italic;
}

.form .required-note b {
  color: var(--kx-yellow);
}

@media (max-width: 1024px) {
  .form div {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .form div input {
    width: 100%;
  }
}

.form div#messageBox {
  background: url(../images/icon-check.png) no-repeat center var(--kx-success);
  background-origin: content-box;
  color: var(--kx-black);
  transition: all 1s ease-in-out;
  overflow: hidden;
  max-height: 0;
}

.form div#messageBox.open {
  max-height: 3000px;
  margin-bottom: 1rem;
}

.form div#messageBox p {
  padding: 1rem 1rem 0;
  font-weight: 500;
}

.form div#messageBox p:last-child {
  padding-bottom: 1rem;
}

.form div#messageBox p a {
  color: var(--kx-blue);
}

.form div#messageBox p a:hover {
  color: var(--kx-blue-hover);
}

.form div.flex-full input,
.form div.flex-full select {
  width: 100%;
}

.kx-button {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  background-color: var(--kx-blue);
  color: var(--white);
  border: 0;
  transition: all 250ms ease-in-out;
  cursor: pointer;
}

.kx-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px var(--kx-blue-hover);
}

.kx-button:disabled {
  background-color: var(--kx-grey);
  color: var(--kx-off-white);
}

.kx-button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.kx-button i {
  position: relative;
  top: 0.1rem;
  margin-left: 0.5rem;
}

.form input,
.form select {
  padding: 0.5rem;
  font-size: 1.2rem;
}

.table-overflow-x {
  overflow-x: auto;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--kx-black);
  color: var(--white);
}

footer .container {
  display: flex;
  gap: 5rem;
}

footer .container>div {
  flex-basis: 50%;
  padding: 1rem 0;
}

footer .container .footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

footer .container .footer-right a {
  display: inline-block;
  margin: 0 1rem;
}

@media (max-width: 1024px) {
  footer .container .footer-right a {
    display: block;
  }
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 0;
  }

  footer .container .footer-right {
    text-align: center;
  }

  footer .container .footer-right a {
    display: inline-block;
  }
}