﻿@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Bold.woff2") format("woff2"), url("../fonts/Gotham-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.woff2") format("woff2"), url("../fonts/OpenSans.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Book";
  src: url("../fonts/Gotham-Book.woff2") format("woff2"), url("../fonts/Gotham-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium.woff2") format("woff2"), url("../fonts/Gotham-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  overflow-y: hidden;
  font-family: Montserrat, Gotham, Gotham Book, Open Sans, Poppins, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

main {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: #051029;
}

.alert {
  border-radius: 4px;
  padding: 16px;
  color: black;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  width: 480px;
}
.alert ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.alert-danger {
  background-color: #F0404A;
}

.toast-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  margin-top: 16px;
}

.login-page {
  width: 100%;
  height: 100%;
}

.layout-with-bg {
  height: 100%;
  display: grid;
  min-width: 348px;
  grid-template-columns: 1fr 1fr;
  background-position: center center;
  background-image: url(../img/nexar_top_hero_opaque.png);
  background-size: cover;
  overflow-y: auto;
}

.content-wrapper {
  background-color: #051029;
  height: 100%;
  display: flex;
  align-content: center;
  padding: 0 64px;
}

a, button {
  font-family: inherit;
  border: 0;
}

.body-container {
  overflow: hidden;
  background-color: #051029;
}

.container-nexar {
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.nexar-form {
  margin: 64px 0;
  flex-grow: 1;
  display: flex;
  gap: 32px;
  flex-direction: column;
  justify-content: center;
}

.welcome-page li {
  list-style: none;
  padding: 4px;
}

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0;
}

.nexar-center-page {
  background-color: #051029;
  width: 100%;
  height: 100%;
}

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray;
}
.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
}
.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
}
.grants-page .card label {
  font-weight: bold;
}

.wrapper-8 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wrapper-32 {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.x-padding-64 {
  padding: 0 64px;
}

.background-nexar {
  background-image: url(../img/nexar_top_hero_opaque.png);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover;
  height: 100vh;
  width: 100%;
}

.form-nexar {
  display: block;
  width: 100%;
  max-height: 40px;
  font-size: 0.825rem;
  font-weight: 400;
  line-height: 1.625;
  background-color: #051029;
  background-clip: padding-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.2rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

form label {
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

input {
  border: none;
  box-shadow: 0 0 0 1px #4e5973;
  color: #ffffff;
  padding: 8px 8px 8px 8px;
}

input:focus {
  outline: none !important;
  border: none;
  box-shadow: 0 0 0 1px #0071e3;
}

input.error {
  outline: none !important;
  border: none;
  box-shadow: 0 0 0 1px #f0404a;
  color: #f0404a;
}

.title-nexar {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  line-height: 28px;
}

.lead-nexar {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 24px;
}

.body-nexar {
  margin: 0;
  font-size: 12px;
  color: #99a1b3;
}

a {
  color: #2197db;
  text-decoration: none;
}

a.nexar-btn {
  line-height: 16px;
}

a:hover {
  color: #0b7ee0;
  text-decoration: underline;
}

.other-signup {
  display: flex;
  flex-direction: row;
  height: 32px;
}

.other-signup a {
  margin-right: 8px;
}

.nexar-btn {
  line-height: 0;
  height: 32px;
  display: inline-block;
  font-weight: 400;
  color: #a9acb3;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 8px 16px 8px 16px;
  font-size: 0.825rem;
  border-radius: 0.2rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.nexar-btn:hover {
  text-decoration: none;
}

.nexar-btn-primary {
  color: #fff;
  background-color: #0071e3;
  border: none;
}

.nexar-btn-primary:hover {
  color: #fff;
  background-color: #0044cc;
}

.nexar-btn-primary:active {
  color: #fff;
  background-color: #0035a0;
}

.nexar-btn-secondary {
  color: #fff;
  background-color: rgba(0, 0, 0, 0);
}

.nexar-btn-secondary:hover {
  color: #fff;
  background-color: #22345d;
}

.nexar-btn-secondary:active {
  color: #fff;
  background-color: #001d5c;
}

.nexar-btn-google-login {
  padding: 0.25rem 0.25rem;
  color: #000000;
  background-color: #fafafa;
  border-color: #fafafa;
}

.nexar-btn-facebook-login {
  padding: 0.1rem 0.25rem 0.4rem 0.25rem;
  color: #000000;
  background-color: #1977f3;
  border-color: #1977f3;
}

.icon-google {
  height: 100%;
  width: 100%;
  font-size: 1.3rem;
  pointer-events: none;
}

.icon-facebook {
  height: 100%;
  width: 100%;
  font-size: 1.3rem;
  pointer-events: none;
}

object {
  margin: 0;
}

hr {
  background-color: #4E5973;
  width: 100%;
  margin: auto 0;
  border: 1px solid #4E5973;
  opacity: initial;
}

.login-divider {
  color: white;
  display: flex;
  gap: 16px;
}

@media (max-width: 992px), (orientation: portrait) {
  .layout-with-bg {
    background-image: url(../img/nexar_logo.svg), url(../img/nexar_banner.jpg);
    background-size: auto 64px, 100% 80px;
    background-position: 0px 8px, left top;
    background-attachment: local;
    background-repeat: no-repeat;
    grid-template-rows: 80px auto;
    grid-template-columns: none;
  }
  .content-wrapper {
    grid-row: 2;
  }
}
.spectra .layout-with-bg {
  background-image: url(../img/spectra_background.jpg);
  background-position: right;
}
.spectra .content-wrapper {
  background-color: #202051;
}
.spectra .form-nexar {
  background-color: #202051;
}
.spectra form label {
  color: #CCD0D9;
}
.spectra input {
  box-shadow: 0 0 0 1px #99A1B3;
}
.spectra .login-divider {
  color: #CCD0D9;
}
.spectra hr {
  border: 1px solid #99A1B3;
}
.spectra .body-nexar {
  color: #99A1B3;
}
@media (max-width: 992px), (orientation: portrait) {
  .spectra .layout-with-bg {
    background-image: url(../img/spectra_logo.png), url(../img/spectra_banner.jpg);
    background-size: auto 48px, 100% 80px;
    background-position: 16px 16px, left top;
  }
}

.octopart-portal {
  font-family: "Inter";
}
.octopart-portal .layout-with-bg {
  background-image: url(../img/octopart_background.jpg);
  background-position: right;
}
.octopart-portal .content-wrapper {
  background-color: #F2F3F5;
}
.octopart-portal .form-nexar {
  background-color: #F2F3F5;
}
.octopart-portal h1 {
  color: #080706;
}
.octopart-portal p {
  color: #323E57;
}
.octopart-portal form label {
  color: #4E5973;
}
.octopart-portal input {
  box-shadow: 0 0 0 1px #99A1B3;
  color: #080706;
}
.octopart-portal input:focus {
  box-shadow: 0 0 0 2px #0071E3;
}
.octopart-portal .nexar-btn-primary {
  color: #FFFFFF;
  background-color: #3671B0;
  text-decoration: none;
}
.octopart-portal .nexar-btn-primary:hover {
  color: #FFFFFF;
  background-color: #568FCB;
  text-decoration: none;
}
.octopart-portal .nexar-btn-primary:active {
  color: #FFFFFF;
  background-color: #18324E;
  text-decoration: none;
}
.octopart-portal .nexar-btn-secondary {
  color: #3671B0;
  background-color: #F2F3F5;
  text-decoration: none;
}
.octopart-portal .nexar-btn-secondary:hover {
  color: #FFFFFF;
  background-color: #568FCB;
  text-decoration: none;
}
.octopart-portal .nexar-btn-secondary:active {
  color: #FFFFFF;
  background-color: #18324E;
  text-decoration: none;
}
.octopart-portal .login-divider span {
  color: #323E57;
  font-weight: 500;
}
.octopart-portal hr {
  border: 1px solid #66728C;
}
.octopart-portal .nexar-btn-google-login {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
}
.octopart-portal a {
  color: #3671B0;
}
.octopart-portal a:hover {
  color: #18324E;
  text-decoration: underline;
}
@media (max-width: 992px), (orientation: portrait) {
  .octopart-portal .layout-with-bg {
    background-image: url(../img/octopart_logo_white.svg), url(../img/octopart_banner.jpg);
    background-size: auto 48px, 100% 80px;
    background-position: 16px 16px, left top;
  }
}
