/*
Primary color (nicknamed APA blue) is #25408f
Secondary color is a dark blue #202b5a
Accent color is orange #c16f29
For shading, light grey #e8e9eb
For infographics we use slate blue #7f92ca
*/
:root {
  --apa-primary-color: #25408f;
  --apa-secondary-color: #202b5a;
  --apa-contrast-color: #c16f29;
  --apa-tertiary-color: #7e92c9;
  --apa-light-bg: #ededed;
  /* start overriding bootstrap */
  --bs-body-color: #000;
  --bs-emphasis-color: #000; /* this fills in --bs-table-color */
  /* end overriding bootstrap */
}
::-webkit-scrollbar {
  width: 9px;
  height: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(155, 155, 155, 0.8);
  border-radius: 20px;
  border: transparent;
}
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-display: swap;
  src: url(fonts/raleway-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-display: swap;
  src: url(fonts/raleway-regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'ArialBlack';
  font-style: normal;
  font-display: swap;
  src: url(fonts/arial-black.woff2) format('woff2');
}

/* start overriding bootstrap */
.navbar {
  background: var(--apa-primary-color);
  /* position: sticky !important; */
  /* top: 0; */
  z-index: 1;
}
.navbar-toggler {
  background: var(--apa-secondary-color);
}
.navbar-toggler-icon {
  background-image: none;
}
.navbar-nav .nav-link {
  padding-left: 20px !important;
  padding-right: 20px !important;
  color: #fff;
  font-weight: bold;
  transition: color 300ms;
}
.navbar-nav .dropdown-menu, .navbar-nav .dropdown-item:hover {
  background: var(--apa-secondary-color);
}
.navbar-nav .dropdown-item {
  color: #fff;
  font-weight: bold;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.show, .navbar-nav .dropdown-item:hover {
  color: var(--apa-contrast-color);
}
.navbar-nav .dropdown-toggle::after {
  display: none;
}
@media print {
  .container {
    max-width: 100% !important;
  }
}
.navbar-toggler {
  position: absolute;
  top: -50px;
  right: 10px;
}
@media (min-width:768px) {
  .navbar-toggler {
    position: absolute;
    top: -66px;
    right: 10px;
  }
}
/* end overriding bootstrap */
.button {
  display: inline-block;
  background: var(--apa-primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  box-shadow: 2px 2px 10px #666;
  padding: 10px 16px;
  text-decoration: none;
  text-align: center;
  transition: all 250ms;
}
.button:hover {
  background: var(--apa-secondary-color);
  box-shadow: 2px 2px 10px #000;
}
.button:disabled {
  background: var(--apa-secondary-color);
  color: #ccc;
  box-shadow: none;
}
.button-orange {
  background: var(--apa-contrast-color);
}
html,body {
  margin: 0;
/* while this fills empty space at the bottom of the page so the footer goes to the bottom, it messes up the sticky navbar making it only last for a short while when scrolling
  height: 100%;

  comment the blow out if using sticky
*/
  height: 100%;
}
*, ::after, ::before {
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  font-family: 'Raleway', sans-serif;
/* while this fills empty space at the bottom of the page so the footer goes to the bottom, it messes up the sticky navbar making it only last for a short while when scrolling
  display: flex;
  flex-direction: column;

  comment the blow out if using sticky
  */
  display: flex;
  flex-direction: column;
}
h1,h2,h3,h4,h5,h6 {
  color: var(--apa-secondary-color);
}
b {
  color: var(--apa-secondary-color);
  font-weight: 900;
}
table {
  border-collapse: collapse;
}
@media (max-width:768px) {
  h1.h1underline {
    font-size: 20px;
    font-weight: bold;
  }
}
h1.h1underline, h2.h2underline {
  position: relative;
  display: inline-flex;
  text-transform: uppercase;
}
h1.h1underline::before {
  content: "";
  width: 80%;
  height: 1px;
  border-bottom: 1px solid var(--apa-contrast-color);
  position: absolute;
  bottom: -10px;
  left: 10%;
}
h2.h2underline::before {
  content: "";
  width: 150px;
  height: 1px;
  border-bottom: 1px solid var(--apa-contrast-color);
  position: absolute;
  bottom: -10px;
}
h3,h4,h5 {
  font-weight: 900;
}
input, select, textarea {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
main {
  flex: 1; /* this can be removed if using sticky */
}
header {
  margin-top: .5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  background-image: url('images/skyline.png');
  background-size: 600px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
}
@media (max-width: 768px) {
  header {
    background-size: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  header form {
    align-self: center;
  }
}
header img {
  height: 90px;
}
header input {
  border: 2px solid var(--apa-secondary-color);
  border-radius: 20px;
  padding: 4px 10px;
}
header .line1 {
  font-family: "ArialBlack";
  letter-spacing: -0.5px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--apa-secondary-color);
}
header .line2 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--apa-secondary-color);
}
header .line3 {
  border-top: 3px solid var(--apa-contrast-color);
  margin-top: .5rem;
  padding-top: .5rem;
  font-weight: bold;
  color: var(--apa-secondary-color);
  font-size: 14px;
}
@media (max-width: 992px) {
  header {
    background-size: 100%;
  }
  header img {
    height: 60px;
  }
  header .line1 {
    font-size: .9rem;
  }
  header .line2 {
    font-size: .8rem;
  }
  header .line3 {
    font-size: .6rem;
  }
  header input {
    grid-column: 1 / 2;
  }
}
nav {
  background: var(--apa-primary-color);
  border-top: 3px solid var(--apa-contrast-color);
  border-bottom: 1px solid #213a6d;
}
nav a {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 250ms;
}
nav a:hover {
  color: var(--apa-contrast-color);
}
@media (max-width: 576px) {
  nav a {
    padding: 0.7rem 0.5rem;
  }
}

/* .table-desktop used on the index, reports, and submit your resume pages */
.table-desktop {
  border: 2px solid var(--apa-secondary-color);
}
.table-desktop tr {
  border-bottom: 1px solid var(--apa-light-bg);
}
.table-desktop th {
  background: var(--apa-secondary-color);
  color: #fff;
  border-bottom: 3px solid var(--apa-contrast-color);
}
.table-desktop th, .table-desktop td {
  padding: 5px 10px;
  font-weight: normal;
}

/* .submit-your-resume-grid-3 and .submit-your-resume-buttons-text used on the submit your resume page */
.submit-your-resume-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 4rem;
  row-gap: 2rem;
  max-width: 1020px;
  margin: auto;
  text-align: center;
}
.submit-your-resume-grid-3 img, .submit-your-resume-grid-3 svg {
  width: 50%;
}
@media (max-width: 768px) {
  .submit-your-resume-grid-3 {
    grid-template-columns: 1fr;
    max-width: 60%;
  }
}
@media (min-width: 768px) {
  .submit-your-resume-buttons-text {
    font-size: 160%;
    max-width: 700px;
    margin: auto;
  }
}

/* .hero, .hero-text-main, .index-grid-3, .chevron-down, .rotate, .info-block, .fade-in used on the index page */
/* .hero, .hero-text used on careers and internship pages */
.hero {
  padding: 5vw 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px -4px;
}
.hero-text, .hero-text-main {
  font-size: calc(1.375rem + 1.5vw);
  color: #fff;
  font-weight: 900;
  text-shadow: 2px 2px 10px #000;
  letter-spacing: 2px;
  text-align: center;
}
@media (min-width:768px) {
  .hero-text-main {
    text-align: left;
    width: 450px;
  }
}
@media (min-width:1200px) {
  .hero-text, .hero-text-main {
    font-size: 2.5rem;
  }
}
.index-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  gap: 1rem;
  text-align: center;
  justify-items: center; /* needed since max-width: 422px; for items */
}
@media (max-width: 991px) {
  .index-grid-3 {
    grid-template-columns: 1fr;
  }
}
.index-grid-3 > a {
  border: 2px solid var(--apa-secondary-color);
  box-shadow:
      inset 0 0 2px 0 rgba(255,255,255,.4),
      inset 0 0 3px 0 rgba(0,0,0,.4),
      inset 0 0 3px 5px rgba(0,0,0,.05),
      2px 2px 4px 0 rgba(0,0,0,.25);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  max-width: 422px;
  transition: all 250ms;
  text-decoration: none;
  color: inherit;
}
.index-grid-3 > a:hover {
  background-color: #e8e9eb;
  box-shadow: 2px 2px 10px #000;
  border-radius: 30px;
}
@media (max-width: 576px) {
  .index-grid-3 > a {
    max-width: 300px;
  }
}
.index-grid-3 img {
  max-width: 100%;
}

/* .careers-grid-3 used on careers page */
.careers-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  gap: 1rem;

  justify-items: center; /* needed since max-width: 422px; for items */
}
@media (max-width: 767px) {
  .careers-grid-3 {
    grid-template-columns: 1fr;
  }
}
.careers-grid-3 > div {
  border: 2px solid var(--apa-secondary-color);
  height: 100%;
  display: flex;
  flex-direction: column;

  transition: all 250ms;
  text-decoration: none;
  color: inherit;
  border-radius: 30px;
}
.careers-grid-3 h3 {
  padding: 15px 20px 10px 20px;
}
.careers-grid-3 p {
  padding: 0 20px;
}
.careers-grid-3 img {
  max-width: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
/* .careers used on careers page */
.careers {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.careers .left {
  width: 50%;
  text-align: center;
}
.careers .right {
  width: 50%;
}
@media (max-width: 560px) {
  .careers {
    flex-direction: column;
  }
  .careers .left, .careers .right {
    width: auto;
  }
  .careers img {
    max-height: 150px;
  }
}

.chevron-down {
  display: inline-block;
  cursor: pointer;
  width: 16px;
  height: 16px;
  transition: all 250ms;
  transform-origin: center;
  transform: translateY(3px);
  margin-left: 10px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%230a58ca%22%20class%3D%22bi%20bi-chevron-down%22%20viewBox%3D%220%200%2016%2016%22%3E%0A%20%20%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M1.646%204.646a.5.5%200%200%201%20.708%200L8%2010.293l5.646-5.647a.5.5%200%200%201%20.708.708l-6%206a.5.5%200%200%201-.708%200l-6-6a.5.5%200%200%201%200-.708z%22%2F%3E%0A%3C%2Fsvg%3E")
}
.rotate {
  transform: rotate(-180deg);
}
.info-block {
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #c4d2f0;
  background: #eff3fb;
}
.fade-in {
	opacity: 1;
  animation: fadeInOpacity 250ms ease-in 1;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* #history-logo used on the history page */
#history-logo {
  position: absolute;
  margin-top: -50px;
  width: 120px;
}
@media (max-width:768px) {
  #history-logo {
    display: none;
  }
}

/* .news used on the news page */
.news {
  display: flex;
  gap: 1rem;
  overflow-x: scroll;
  padding: 1.2rem;
}
.news a {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  max-width: 290px;
  box-shadow: inset 0 0 2px 0 rgba(255,255,255,.4), inset 0 0 3px 0 rgba(0,0,0,.4), inset 0 0 3px 5px rgba(0,0,0,.05), 2px 2px 4px 0 rgba(0,0,0,.25), 5px 5px 5px rgba(0,0,0,0.3);
  background: #fff;
  border: 2px solid var(--apa-secondary-color);
  padding: 1rem;
  transition: all 300ms;
}
.news a:hover {
  border-radius: 2rem;
  transform: scale(1.05);
  box-shadow: none;
  background: #e8e9eb;
}
.news .img-box {
  display: flex;
  justify-content: center;
  height: 60px;
}
.news img {
  max-height: 60px;
  max-width: 254px;
  align-self: center;
}
.news p {
  flex-grow: 1;
  font-size: 150%;
  line-height: 1.2;
  margin: 1rem 0;
}
.news .form-text {
  align-self: end;
}

/* .state-auditors used on the state auditors page */
.state-auditors {
  display: flex;
  flex-wrap: wrap;
  text-align: justify;
}
.state-auditors .state-auditor-box {
  width: 46%;
}
.state-auditors .state-auditor-divider-1, .state-auditors .state-auditor-divider-3 {
  width: 2%;
}
.state-auditors .state-auditor-divider-2 {
  width: 4%;
}
@media (max-width:992px) {
  .state-auditors .state-auditor-box {
    width: 100%;
  }
  .state-auditors .state-auditor-divider-1, .state-auditors .state-auditor-divider-2, .state-auditors .state-auditor-divider-3 {
    display: none;
  }
}

/* .summary-box used on audit types page */
.summary-box {
  max-width: 600px;
  float: right;
  margin-left: 1.5rem;
  color: #fff;
}
.summary-box div {
  font-size: 1.5rem;
  text-align: center;
  padding: .5rem;
  background: var(--apa-primary-color);
  border-bottom: 1px solid #fff;
}
.summary-box p {
  padding: 1rem;
  background: var(--apa-secondary-color);
  border-bottom: 4px solid var(--apa-contrast-color);
}
@media (max-width:992px) {
  .summary-box {
    max-width: none;
    float: none;
    margin-left: 0;
  }
}

/* .quote used on internship page */
.quote {
  border: 2px solid var(--apa-primary-color);
  background: var(--apa-light-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23cad1e5' class='bi bi-quote' viewBox='0 0 16 16'%3E%3Cpath d='M12 12a1 1 0 0 0 1-1V8.558a1 1 0 0 0-1-1h-1.388q0-.527.062-1.054.093-.558.31-.992t.559-.683q.34-.279.868-.279V3q-.868 0-1.52.372a3.3 3.3 0 0 0-1.085.992 4.9 4.9 0 0 0-.62 1.458A7.7 7.7 0 0 0 9 7.558V11a1 1 0 0 0 1 1zm-6 0a1 1 0 0 0 1-1V8.558a1 1 0 0 0-1-1H4.612q0-.527.062-1.054.094-.558.31-.992.217-.434.559-.683.34-.279.868-.279V3q-.868 0-1.52.372a3.3 3.3 0 0 0-1.085.992 4.9 4.9 0 0 0-.62 1.458A7.7 7.7 0 0 0 3 7.558V11a1 1 0 0 0 1 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 80px;
}
.quote1 {
  width: 50%;
  margin-left: 5%;
}
.quote2 {
  width: 50%;
  margin-left: 35%;
}
@media (max-width:768px) {
  .quote {
    width: 100%;
  }
  .quote1, .quote2 {
    margin: 0;
  }
}
.hr {
  height: 4px;
  background: var(--apa-secondary-color);
}
.hr-contrast {
  height: 4px;
  background: var(--apa-contrast-color);
}
@media (max-width: 576px) {
  .text-center-mobile {
    text-align: center;
  }
}

/* .to-top used on the reports page */
.to-top {
  display: none;
  position: fixed;
  right: 32px;
  bottom: 32px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
  background-color: #dedede;
  color: #666;
  transition: all 250ms;
}
.to-top:hover {
  color: #fff;
  background-color: var(--apa-primary-color);
}

/* .float-img-left used on the why audit and peer reviews pages */
.float-img-left {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
@media (max-width:768px) {
  .float-img-left {
    width: 25vw;
  }
}

/* .float-img-left-sm-right used on the why audit page */
.float-img-left-sm-right {
  float: left;
  margin: 0 1.5rem 0.5rem 0;
}
@media (max-width:768px) {
  .float-img-left-sm-right {
    width: 25vw;
    /* actually floats to the right on mobile and we give it a top margin to shift below the h3 */
    float: right;
    margin: 0 0 1rem 1rem;
  }
}

.float-img-right {
  float: right;
  margin: 0 0 1.5rem 1rem;
}
@media (max-width:768px) {
  .float-img-right {
    width: 25vw;
  }
}

footer {
  background: var(--apa-secondary-color);
  color: #fff;
  border-top: 4px solid var(--apa-contrast-color);
  padding: 1rem;
}
footer img {
  height: 120px;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
footer a:hover, footer svg:hover {
  color: #ccc;
  fill: #ccc;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  column-gap: 1rem;
}
.footer-2 {
  justify-self: center;
}
.footer-3 {
  text-align: end;
}
.footer-spacer {
  margin-left: .5rem;
  margin-right: .5rem;
}
.footer-social-logos {
  margin-bottom: .2rem;
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-1, .footer-3 {
    text-align: center;
  }
  .footer-2 {
    display: none;
  }
  .footer-copyright {
    font-size: 13px;
  }
}
.scale {
  transition: transform 300ms;
}
.scale:hover {
  transform: scale(1.05);
}
.index-grid-reports {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}
@media (min-width:1400px) {
  .index-grid-reports {
    grid-template-columns: 1fr 1fr;
  }
}

.report-box {
  text-decoration: none;
  color: #000;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
  justify-content: start;
  flex-wrap: nowrap;
  border: 2px solid var(--apa-secondary-color);
  box-shadow:
      inset 0 0 2px 0 rgba(255,255,255,.4),
      inset 0 0 3px 0 rgba(0,0,0,.4),
      inset 0 0 3px 5px rgba(0,0,0,.05),
      2px 2px 4px 0 rgba(0,0,0,.25);
  transition: all 250ms;
  border-radius: 20px;
}
.report-box:hover {
  background-color: #e8e9eb;
  box-shadow: 2px 2px 10px #000;
  border-radius: 0;
}
.report-box-title {
  color: var(--apa-secondary-color);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1;
}
@media (max-width: 576px) {
  .report-box {
    justify-content: center;
    flex-wrap: wrap;
  }
  .report-box img {
    width: 100px;
  }
  .report-box-title {
    font-size: 1rem;
  }
}

/* .report-icon used on report page */
.report-icon span {
  display: none;
}
.report-icon svg {
  display: inline-block;
}
@media (max-width: 576px) {
  .report-icon span {
    display: inline-block;
  }
  .report-icon svg {
    display: none;
  }
}

/* #keyword-search-form > div used on reports-keyword-search page */
#keyword-search-form > div {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
@media (max-width:576px) {
  #keyword-search-form > div {
    flex-direction: column;
    align-items: center;
  }
}