﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f3f3f3;
  color: #0d4f8b;
}

a {
  text-decoration: none;
}

.portal-header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 50;
}

.portal-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.portal-header__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.portal-header__logo img {
  width: 200px;
  height: auto;
  display: block;
}

.portal-header__desktop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
}

.portal-header__toplinks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pill-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pill-blue:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  text-decoration: none;
  color: #ffffff;
}

.pill-green:hover {
  transform: translateY(-1px);
  opacity: 0.95;
  text-decoration: none;
}

.pill--blue {
  background: #165788;
}


.pill--green {
  background: #69BE28;
}





.portal-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 46px;
}

.portal-header__nav a {
  color: #0d5d98;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.portal-header__nav a:hover {
  color: #083f69;
  text-decoration: none;
}

.portal-header__accent-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
  height: 16px;
}

.accent--blue {
  background: #165788;
}

.accent--green {
  background: #69BE28;
}

.accent--teal {
  background: #63CECA;
}

.accent--lime {
  background: #c7de00;
}

.portal-header__toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #edf2f6;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
}

.portal-header__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #0d5d98;
  border-radius: 2px;
  transition: 0.25s ease;
}

.portal-header__toggle span:nth-child(1) {
  top: 14px;
}

.portal-header__toggle span:nth-child(2) {
  top: 22px;
}

.portal-header__toggle span:nth-child(3) {
  top: 30px;
}

.portal-header__toggle.is-active span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.portal-header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.portal-header__toggle.is-active span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 0 24px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.mobile-menu__toplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  margin-top: 18px;
}

.mobile-menu__icons {
  display: flex;
  gap: 12px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu__nav a {
  color: #0d5d98;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid #e9eef2;
}

.mobile-menu.is-open {
  display: block;
}

/* Tablet */
@media (max-width: 1100px) {
  .portal-header__nav {
    gap: 28px;
  }

  .portal-header__nav a {
    font-size: 15px;
  }

  .portal-header__logo img {
    width: 180px;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .portal-header__inner {
    padding: 18px 18px 16px;
    align-items: center;
  }

  .portal-header__desktop {
    display: none;
  }

  .portal-header__toggle {
    display: inline-block;
  }

  .portal-header__logo img {
    width: 160px;
  }

  .portal-header__accent-bar {
    height: 12px;
  }
}

@media (max-width: 480px) {
  .portal-header__inner {
    padding: 14px 14px 12px;
  }

  .portal-header__logo img {
    width: 140px;
  }

  .pill {
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }

  .mobile-menu {
    padding: 0 14px 18px;
  }
}

/*________________________ FOOTER ________________________*/
/* FOOTER */
.site-footer {
  margin-top: 0;
    width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer-accent {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  height: 14px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 86px 24px 28px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.1fr 0.85fr;
  gap: 72px;
  align-items: start;
  max-width: 1250px;
  margin: 0 auto 54px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col a {
  color: #145a96;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
}

.footer-col a:hover {
  color: #0d5d98;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 20px;
}

.footer-social {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background-color: #1f5a87 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  line-height: 0 !important;

  text-decoration: none !important;
}

.footer-social svg {
  width: 26px !important;
  height: 26px !important;
  fill: #ffffff !important;

  display: block;
}

.footer-social:hover {
  background-color: #174a70 !important;
  transform: translateY(-2px);
}

.footer-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 38px;
}

.footer-pill {
  background: #e8eef5;
  color: #145a96;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-pill:hover {
  background: #dfe8f2;
}

.footer-brand {
  text-align: center;
  margin-bottom: 52px;
}

.footer-brand img {
  width: 210px;
  max-width: 100%;
  display: block;
  margin: 0 auto 18px;
}

.footer-brand p {
  margin: 0;
  color: #145a96;
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #145a96;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.footer-contact-icon {
  flex: 0 0 auto;
  font-size: 14px;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .footer-links-grid {
    gap: 40px;
  }

  .footer-col a {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .footer-inner {
    padding: 54px 18px 24px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    margin-bottom: 42px;
  }

  .footer-socials {
    margin: 0 0 56px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-contact-item {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-accent {
    height: 10px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-col {
    gap: 12px;
  }

  .footer-col a {
    font-size: 15px;
  }

  .footer-social {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .footer-pills {
    gap: 12px;
    margin-bottom: 30px;
  }

  .footer-pill {
    font-size: 14px;
    padding: 11px 16px;
  }

  .footer-brand img {
    width: 180px;
  }

  .footer-brand p,
  .footer-contact-item {
    font-size: 12px;
  }
}

/* My documents accordion styling */
#CM_W3_MyDocsBlock .panel-group {
    margin-top: 15px;
    margin-bottom: 0;
}

#CM_W3_MyDocsBlock .panel {
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    box-shadow: none;
    overflow: hidden;
}

#CM_W3_MyDocsBlock .panel-heading {
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    padding: 0;
}

#CM_W3_MyDocsBlock .panel-title a {
    display: block;
    padding: 12px 15px;
    color: #00508f;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

#CM_W3_MyDocsBlock .panel-title a:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 20px;
    background: #52c41a;
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

#CM_W3_MyDocsBlock .panel-title a:after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    color: #00508f;
    font-weight: 400;
}

#CM_W3_MyDocsBlock .panel-title a[aria-expanded="true"]:after {
    content: "−";
}

#CM_W3_MyDocsBlock .panel-body {
    padding: 15px;
    background: #fff;
}

#CM_W3_MyDocsBlock .panel-body .row {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

#CM_W3_MyDocsBlock .panel-body .row:last-child {
    border-bottom: none;
}

#CM_W3_MyDocsBlock .panel-body a {
    color: #00508f;
    font-weight: 500;
    text-decoration: none;
}

#CM_W3_MyDocsBlock .panel-body a:hover {
    text-decoration: underline;
}

#CM_W3_MyDocsBlock .col-md-3 {
    color: #555;
    text-align: right;
}