/* ========================================
   Root variables
   ======================================== */
:root {
  /* Colors */
  --color-blue: #17457a;
  --color-red: #cd163f;
  --color-white: #ffffff;
  --color-gray-100: #ebeff4;
  --color-steel: #94a9c3;
  --color-slate: #56779e;
  --color-navy: #0b1d36;
  --color-deep: #0a1c36;
  --color-muted-blue: #3a618e;
  --color-mid-blue: #56779e;
  --color-azure: #04adef;
  --color-charcoal: #333333;
  --color-border: #cccccc;
}

/* ========================================
   Base / Reset
   ======================================== */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0 auto;
  padding: 0;
  font-family: "urw-din", sans-serif;
  background-color: #eceff4;
  max-width:2000px;
}
p,
ul,
li {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top:0;
}
p {
  margin-top:0;
}
a {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.content-section a {
  color:var(--color-red);
}
h1,
h3,
h4,
h5 {
  color: var(--color-red);
  margin-top:0;
  margin-bottom:2rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.2rem;
  color:var(--color-blue);
  margin-top:0;
  margin-bottom:1rem;
}
h3, .h3 {
  font-size: 2rem;
}
h4, .h4, h4 a {
  font-size: 1.6rem;
}
h5,
.h5 {
  font-size: 1.4rem;
}
img {
  max-width: none;
  width: 100%; 
  height: auto;
}
blockquote {
  font-size:1.1rem;
  font-style: italic;
  line-height:1.5;
}
.quote-owner {
  color:var(--color-blue);
  font-weight: 600;
}
.header {
  margin: auto;
}
.page-wrapper {
  min-height: 100vh;
}
/* ========================================
   Header & Navigation (Global)
   ======================================== */
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/library/APIWeb/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('/library/APIWeb/fonts/glyphicons-halflings-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    background-color: #94a9c3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, background-color 0.4s ease;
    z-index: 999;
}
.back-to-top.show {
      opacity: 1;
      pointer-events: auto;
}
.back-to-top::after {
        content: "⮝"; 
        font-weight:900;
        font-size: 14px;
        color: #ebeff4;
}
.back-to-top:hover {
  text-decoration: none;
  background-color: var(--color-muted-blue);
}
#apiLogo {
  width: 320px;
  height: auto;
}
#apiMobileLogo {
  width: 70px;
  height: auto;
  margin-left: 1rem;
}
.logo-container {
  align-self: center;
}
.second-nav {
  background-color: var(--color-blue);
  display: flex;
  flex-direction: row;
  padding: 0.5rem 2rem;
}
.parent-nav {
  width: 100%;
  padding: 1.5rem 0;
  box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.1);
}
.main-item {
  align-self: center;
  padding: 0 2rem;
}
.dropdown-desc {
  width: 30%;
}
.dropdown-desc .h5 {
  color: var(--color-slate);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.55rem;
}
.dropdown-desc p,
.add-on a {
  color: var(--color-white);
  font-size: 0.8rem;
}
.add-on a {
  font-weight: 600;
  line-height: 1.3;
}
.header .main-nav .dropdown {
    display: none;
}
.header .main-nav .dropdown .dropdown-panel {
    display: none;
}
.dropdown-panel {
  gap:2rem;
}
/* ========================================
   COMMON ELEMENTS @ DESKTOP
   ======================================== */
.image-thumbnail {
  background-image: url('../img/top-banner-300dpi.png');
  background-size:cover;
  height: 300px;
  width: 100%;
}
.link-pdf {
    padding-left: 21px;
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: center left;
    background-image: url(https://cdn.api.org/test/api3/files/img/icons/file-pdf-solid-full.svg);
}
.external-link {
    color:var(--color-red);
    padding-right: 21px;
    background-image: url(https://cdn.api.org/test/api3/files/img/icons/up-right-from-square-solid-full.svg);
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: center right;
}
.btn-red {
  padding: 5px 20px;
  color: var(--color-white) !important;
  background-color: var(--color-red);
  border: 2px solid var(--color-red);
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}
.btn-red:hover {
  color: var(--color-red) !important;
  background-color: var(--color-white);
  text-decoration: none;
}
.btn-red.arrow::after {
  content: url("https://cdn.api.org/test/api3/files/img/icons/ico-button-arrow-w.svg");
  position: relative;
  top: 3px;
  left: 10px;
  display: inline-block;
  width: 40px;
  height: 15px;
}
.btn-red.arrow:hover::after {
  content: url("https://cdn.api.org/test/api3/files/img/icons/ico-button-arrow-r.svg");
  width: 37px;
}
.btn-blue {
  padding: 10px 30px;
  color: var(--color-white) !important;
  background-color: var(--color-blue);
  border: 2px solid var(--color-blue);
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}
.btn-blue:hover {
  color: var(--color-blue) !important;
  background-color: var(--color-white);
  text-decoration: none;
}
.btn-white {
  margin-top: 50px;
  padding: 10px 30px;
  color: var(--color-blue);
  background-color: var(--color-white);
  border-radius: 25px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}
.btn-white:hover {
  background-color: var(--color-gray-100);
}
.btn-red, .btn-white, .btn-blue {
  font-size:1rem!important;  
}
.hide {
  display: none;
}
hr {
  color: var(--color-border);
  margin: 2rem 0;
}
.content-section {
  min-height:100%;
  padding:3rem 5rem;
  border-radius: 10px;
  background-color: var(--color-white);
}
.link-pdf {
    padding-left: 21px;
    background-size: 17px;
    background-repeat: no-repeat;
    background-position: center left;
    background-image: url(https://cdn.api.org/test/api3/files/img/icons/file-pdf-solid-full.svg);
}

/* ========================================
   FOOTER GLOBAL
   ======================================== */
footer {
  position: relative;
  background-color: var(--color-navy);
}
footer .logo-container img {
  width: 150px;
  height: auto;
}

footer h4 {
  font-size: 1.1rem;
  color: var(--color-slate);
}
footer h5 {
  margin:1rem 0;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-white);
}
.top {
  border-bottom: 1px var(--color-white) solid;
}
.bottom {
  display: flex;
  padding: 1.5rem 0;
}
.bottom p {
  font-size: 0.8rem;
  color: var(--color-white);
}

.bottom a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: normal;
}
.bottom a:hover {
  text-decoration: underline;
}
.group p:first-child {
  margin-right: 15px;
}
.bottom .group {
  display: flex;
  flex-direction: row;
}
.social-nav {
  list-style-type: none;
  display: flex;
  align-items: center;
  margin: 0 !important;
}
.social-nav, .social-nav ul, .social-nav li {
    line-height:1!important;
    padding-inline-start: 0;
}
.social-nav li {
  margin-left:0;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.btn-social {
  display: inline-block;
  margin: 0 5px;
  text-align: center;
}

.fab {
  font-size: 14px;
  color: var(--color-white);
  border: 2px var(--color-white) solid;
  border-radius: 50px;
  padding: 10px;
  height: 20px;
  width: 20px;
  align-content: center;
}

.fab:hover {
  color: var(--color-navy);
  background-color: var(--color-white);
}
/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */
.account-container {
  display:grid;
}
.form-btn, input[type="submit"] {
    color:var(--color-white);
    background-color: var(--color-blue);
    padding:0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border:none;
    width: 200px;
}
#maincontent_btnReset, #maincontent_CancelButton {
  background-color:var(--color-gray-100)!important;
  border:1px solid var(--color-border)!important;
  color:var(--color-charcoal)!important;
}
#maincontent_DisclaimerTextBox {
  border:1px solid var(--color-border);
}
#maincontent_DisclaimerTextBox p {
  font-size:1.1rem;
}
#maincontent_AgressButton, #maincontent_CancelButton {
  width: 200px;
}
.form-group {
  display:flex;
  gap: 1rem;
  margin:1rem 0;
}
.form-inline {
  display:flex;
  flex-direction: column;
  gap:1rem;
  width: 100%;
}
label {
  font-size:1.1rem;
  font-weight: 600;
  color:var(--color-blue);
}
input[type="text"], select {
  padding:0.5rem;
  border:1px solid var(--color-border);
}
.required {
  background-image:url('../img/icons/asterisk-solid-full.svg');
  background-repeat: no-repeat;
  background-position: 95% center;
  background-size:12px;
}
@media screen and (min-width:992px) {
  #maincontent_EmailAddressText {
    width: 100%;
  }
  #maincontent_EmailAddressLoginText {
    width:80%;
  }
  #maincontent_DisclaimerTextBox {
    width: 60%;
  }
  .form-group {
      flex-direction: row;
  }
  .account-container {
      grid-template-columns: 40% 60%;
  }
}
@media screen and (max-width:991px) {
  .account-container {
    gap:2rem;
  }
  .form-group {
    flex-direction: column;
  }
  #maincontent_DisclaimerTextBox {
    width: 100%;
  }
}
@media screen and (max-width:400px) {
  input, select {
    width:200px;
  }
}
/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media screen and (min-width: 300px) {
  .utilities ul li {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 991px) {
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: var(--color-white);
  }
  #apiLogo {
    display: none;
  }
  #apiMobileLogo {
    display: block;
  }
  .second-nav {
    padding: 1rem 0;
    background-color: var(--color-gray-100);
    box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.1);
  }
  .mobile-nav {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    padding-right: 1rem;
  }
  .mobile-nav img {
    width: 25px;
    height: 25px;
    background-color: var(--color-white);
    padding: 0.5rem;
    border-radius: 8px;
  }
  .dropdown-desc {
    display: none;
  }
  .dropdown-items {
    display: flex;
    flex-direction: column;
  }
  .dropdown-items a {
    color: var(--color-slate);
    font-size: 1rem;
    font-weight: normal;
  }
  .dropdown-panel {
    padding: 1rem 2rem;
  }
  .parent-nav {
    background-color: var(--color-white);
    display: block;
    padding: 2rem 0 1rem 0;
    position: absolute;
    top: 70px;
    z-index: 11111;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
  }
  .main-item,
  .main-item a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue);
    cursor: pointer;
  }
  .main-item {
    display: flex;
    margin-bottom: 0.5rem;
    cursor: pointer;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-item a {
    display: block !important;
  }
  .utilities {
    display: none;
  }
  .main-nav.is-open .utilities {
    display: block;
  }
  .utilities {
    list-style-type: none;
    border-top: 1px solid var(--color-border);
    padding-inline-start: 2rem;
    padding-top: 1.5rem;
    margin: 2rem 0 0 0;
  }
  .utilities a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate);
  }
  .utilities li {
    line-height: 1.5;
  }
  .content-section {
    margin:0 auto;
    border-radius:0;
  }
  .second-col {
   flex-direction:column; 
   gap:0.5rem!important;
  }
}
@media screen and (min-width: 992px) {
  #apiLogo {
    display: block;
  }
  #apiMobileLogo {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
  .parent-nav {
    background-color: var(--color-white);
    display: flex;
    flex-direction: row;
    justify-self: center;
  }
  .main-item,
  .main-item a {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-blue);
    cursor: pointer;
  }
  .main-item a {
    text-decoration: none;
  }
  .main-item {
    border-right: 1px solid var(--color-blue);
  }
  .main-item:nth-child(4),
  .main-item:last-child {
    border: none;
  }
  nav {
      margin: 0 0 0 auto;
  }
  .utilities {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 1rem 0;
    align-self: center;
    margin:0;
  }
  .utilities a {
    color: var(--color-white);
    font-weight: 600;
    display: flex;
    font-size: 1rem;
  }
  .utilities li {
    align-self: center;
  }
  .second-col {
    flex-direction: row;
  }

/* ==========================================================================
DROPDOWN @ DESKTOP ========================================================== */
  .dropdown {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-mid-blue);
    position: absolute;
    top: 144px;
    z-index: 11111;
    width: 100%;
    padding: 2rem 0;
    box-shadow: 0 8px 8px -4px rgba(0, 0, 0, 0.1);
  }
  .dropdown-panel {
    padding: 0 2rem;
  }
  .dropdown-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .dropdown-items .main-link {
    font-size: 1.1rem;
    font-weight:600;
    color: var(--color-red);
  }
  .dropdown-items a {
    color: var(--color-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
  }
}
.main-item.expand{
  position: relative;
  padding-right: 2.5rem;
  cursor: pointer;
}
.main-item.expand .menu-arrow{
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: var(--color-red);
}
.main-item.expand .menu-arrow::before,
.main-item.expand .menu-arrow::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, left 180ms ease, right 180ms ease, width 180ms ease;
}
.main-item.expand .menu-arrow::before{
  left: 3px;
}
.main-item.expand .menu-arrow::after{
  right: 0;
}
.main-item.expand[aria-expanded="false"] .menu-arrow::before{
  transform: translateY(-50%) rotate(45deg);
}
.main-item.expand[aria-expanded="false"] .menu-arrow::after{
  transform: translateY(-50%) rotate(-45deg);
}
.main-item.expand[aria-expanded="true"] .menu-arrow::before,
.main-item.expand[aria-expanded="true"] .menu-arrow::after{
  width: 16px;  
}
.main-item.expand[aria-expanded="true"] .menu-arrow::before{
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}
.main-item.expand[aria-expanded="true"] .menu-arrow::after{
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}
/* ==================================================== 
FOOTER @ DESKTOP ====================================== */
.footer-wrap {
  display:flex;
  flex-direction: column;
  padding:2rem;
}
.footer-wrap a {
  color:var(--color-white);
  font-weight: normal;
  font-size: 0.8rem;
}
.top {
  padding: 0 0 2rem 0;
  display:grid;
  grid-template-columns: 20% 50% 30%;
  gap: 0;
}
.first-col {
  align-self: baseline;
  justify-self: center;
}
.second-col {
  display:flex;
  gap: 4rem;
  padding:0 4rem;
  border-left:1px solid #fff;
  border-right: 1px solid #fff;
}
.second-col > div {
  display: flex;
  flex-direction: column;
  gap:0.5rem;
}
.third-col {
  padding-left: 2rem;
}
.bottom .group {
  margin-left:auto;
}
@media screen and (max-width:1200px) {
    .footer-wrap .top {
    display:flex;
    flex-direction: column;
    gap:2rem;
  }
  .footer-wrap .bottom {
    padding:2rem;
  }
  .second-col, .third-col {
    border:none;
    padding:0;
  }
}