body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
  }

    p {margin: 0 0 1.25rem 0;}

  h1 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 3rem;
    margin: 0 0 1rem 0;
  }

  h2 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
  }

  h3 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
  }

  h4 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
  }

  h5 {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 700;
  }
  
  div[data-wrapper="true"] {
    font-family: unset !important;
    font-size: unset !important;
    }
  
  a {text-decoration: none;}
  
  a:focus, button:focus, input:focus, textarea:focus {outline: 4px solid #fbb36a !important;}
  
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .content-info {margin: 0 0 .25rem 0;}

  .content-info a {display: inline-block;}

  .content-info span {
    display: inline-block;
    font-size: .75rem;
    line-height: .75rem;
    border-radius: .35rem;
    padding: .5rem;
    margin: 0 0 .25rem 0;
  }

  .info-chip {border: 1px solid #CCD5DB;}

  .static-marker {border: 1px solid transparent;}

/* pre-header */

#classification-warning {
  display: flex;
  min-height: 48px;
  width: 100%;
  justify-content: center;
  background-color: var(--portalThemeColor8);
  z-index: 99;
  }
  
  #classification-warning a {
    font-size: .9rem;
    margin: 0;
    color: var(--portalThemeColor7);
    text-decoration: none;
  }

  #warning-label {
    position: fixed;
    top: 0;
    height: 48px;
    line-height: 44px;
    padding: 0 1.2rem;
    border-radius: 0 0 .5rem .5rem;
    background-color: var(--portalThemeColor8);
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease;
    z-index: 99;
  }

#print-warning {display: none;}

  #print-warning p {text-align: center;}

@media print {
  #print-warning {display: block;}
  .no-print {display: none !important;}
  .skip-to-content {display: none;}
  iframe {display: none;}
  embed {display: none;}
}

.ms-Button--hasMenu {color: var(--portalThemeColor8); border: 1px solid var(--portalThemeColor8);}
  
/* Header */

#header-logo { display: inline-block; font-size: 1rem; font-weight: normal; }

#header-logo img {
  margin: 0 10px 0 0;
  border-radius: 4px;
  transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease;
}

  #header-logo:hover img { filter: brightness(1.1); }

  .navbar-nav li a {
    border: 1px solid transparent;
    border-radius: .35rem;
  }
  
.navbar-nav > li:last-child > a {border: 1px solid #CCD5DB;}

/* print check */

#printCheck {display: none;}

@media print {
  #printCheck {display: block;}
}
  
.alert-container {
display: inline-block;
width: fit-content;
padding: .75rem 1rem;
border-radius: 4rem;
}
  
.alert-container .btn { 
  display: inline-block;
  border-radius: 2rem; 
}
  .alert-container p { display: inline-block; margin: 0 .5rem; }
  
  .view-only-alert p span {
    color: #ffffff;
    border-radius: .5rem;
    border-color: #323130;
    padding: .75rem 1.5rem;
    width: fit-content;
    border-style: solid;
    background-color: #323130;
  }

.download-alert {
  margin: 1rem 0;
  border: 1px solid #A3DAE6;
  background-color: #D1ECF2;
}

  .download-alert a {
    font-weight: 600;
    text-decoration: underline;
  }

.view-only-alert {
  margin: 1rem 0;
  border: 1px solid #CCD5DB;
  background-color: rgb(242, 242, 242);
}

  .view-only-alert p {font-weight: 600;}

.admin-alert {
  border: 1px solid #FEBC66;
  background-color: #FFD399;
}

  .admin-alert a {font-weight: 600;}

  .subtopics a {
    display: inline-block;
    font-weight: 600;
    margin: .25rem 0;
    padding: .5rem 1rem;    
    background-color: #D1ECF2;
    border: 1px solid #A3DAE6;
    border-radius: 2rem;
  }

.breadcrumb {
  font-weight: 600;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.breadcrumb > li:not(:first-child)::before {
  content: "›";
  margin: 0 5px 0 3px;
}

.breadcrumb > li a {
  margin: 0 .3rem 0 0;
  text-decoration: underline;
}
  
  /* footer */

  footer {background-color: var(--portalThemeColor8);}

  footer .columnBlockLayout > div {padding: 1.5rem 0;}

  footer p {margin: 0;}
  
  #footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    border-bottom: 1px solid rgb(58, 74, 90);
  }

  #footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
  }

  footer .columnBlockLayout div, footer ul {display: inline-block;}
  
 footer li {
    display: inline-block;
    margin: 0 1.5rem 0 0;
  }

    footer li a, footer p {color: var(--portalThemeColor7);}
    footer li a:hover {color: var(--portalThemeColor7);}
    footer li a:focus {color: var(--portalThemeColor7);}

  /* Home */

  .topic-link {
    background-color: var(--portalThemeColor4);
    width: calc(50% - 4px);
    cursor: pointer;
    text-decoration: none !important;
    border-radius: .5rem;
  }

  .topic-link img {
    border-radius: .5rem .5rem 0 0;
    width: 100%;
    background-color: var(--portalThemeColor4);
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease;
  }
    .topic-link:hover img { filter: brightness(1.1); }

    .topic-link div { padding: 1.5rem; }
    .topic-link h3 { 
      font-weight: 600;
      font-size: 1.75rem;
      margin: 0 0 .25rem 0;
    }
    .topic-link p { margin: 0; }

.banner-row {
  --bs-gutter-x: 0 !important;
}

/* Content lists */

.sticky {
  position: sticky;
  top: 2rem;
}

.category-list-ul {padding: 1rem 0;}
.resource-list-ul {
  padding: 1rem 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.list-container .content-info {margin: 0 0 .75rem 0;}
    
  .link-card {
    display: flex;
    justify-content: space-between;
    background-color: var(--portalThemeColor4);
    border-radius: .5rem;
    padding: 1.5rem;
    text-decoration: none !important;
    user-select: none;
  }

  .news-item {user-select: none;}
  
      .admin-item::after, .news-item::after, .article-item::after, .announcement-item::after {
        content: '➔';
        display: flex;
        align-items: center;
      }

.link-list-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  text-decoration: none !important;
  user-select: none;
}

.admin-item {background-color: var(--portalThemeColor4); padding: 1.5rem; border-radius: .5rem;}
.admin-item p {margin: 0;}
.admin-item:hover {background-color: #FFE9CC;}

.news-item:not(:last-child) {border-bottom: 1px solid #CCD5DB;}

.default-item {padding: .5rem; border-radius: .5rem;}
.default-item p {margin: 0;}
.default-item p:last-child {font-weight: 600;}
.default-item .content-info {margin: 0 0 .5rem 0;}
.default-item:hover p:last-child {text-decoration: underline;}
.default-item::after {margin: 0 0 0 1rem;}

.default-active {border: 1px solid #CCD5DB;}

.jump-item {padding: .25rem; border-radius: .5rem;}
.jump-item p {font-weight: 600; margin: 0;}

.article-item {background-color: var(--portalThemeColor4); padding: 1.25rem; border-radius: .5rem;}
.article-item p {margin: 0;}
.article-item p:last-child {font-weight: 600;}
.article-item .content-info {margin: 0 0 .5rem 0;}
.article-item::after {margin: 0 0 0 1rem;}

.category-section {margin: 1rem 0;}
.category-heading {margin: .5rem 0;}

    .link-card:hover, .article-item:hover {background-color: #d1ecf2;}
    .link-card:hover .info-chip, .article-item:hover .info-chip {color: #47B5CD; border-color: #75C7D9;}

.announcement-item {
  width: fit-content;
  padding: 1.5rem 2.5rem;
  border-radius: 5rem;
  border: 1px solid #CCD5DB;
  background-color: var(--portalThemeColor4);
}
.announcement-item > div {display: flex; padding: 0 2rem 0 0;}
.announcement-item p {margin: 0;}

      .announcement-item > div::before {
        content: '📣';
        display: flex;
        align-items: center;
        font-size: 2rem;
        margin: 0 2rem 0 0;
      }

#insight-button, .setting-title {
font-weight: 600;
font-size: 1.5rem;
background-color: var(--portalThemeColor7);
border: 1px solid #CCD5DB;
user-select: none;
}

#insight-button {border-radius: .4rem;}

  #insight-button::after {
    content: '›';
    display: flex;
    align-items: center;
    rotate: 90deg;
  }

#insight-button.active {
  border-bottom: none;
  border-radius: .4rem .4rem 0 0;
}

    #insight-button.active::after {rotate: 270deg;}

#insight-body, .setting-content {
user-select: none;
display: none;
padding: .5rem 0 0 0;
background-color: var(--portalThemeColor7);
border: 1px solid #CCD5DB;
border-radius: 0 0 .5rem .5rem;
}

  #insight-body.active {display: block;}

  #insight-body article > div:first-child {
    margin: 0 0 1rem 0;
}

.setting-title {width: 100%;}
.setting-title p {margin: 0;}
.setting-title .content-info {    
  display: flex;
  align-items: center;
  font-weight: 400;
}
.setting-title .content-info span {margin: 0;}

.panel.active .setting-content {display: block;}

.setting-content article {margin: 0;}
.setting-content .download-alert {margin: 1rem;}

.panel-array .panel:first-child .setting-title {border-radius: .4rem .4rem 0 0;}
.panel-array .panel:last-child .setting-title {border-radius: 0 0 .4rem .4rem;}

#scope-warning {
width: fit-content;
padding: 1rem;
border-radius: .4rem;
border: 1px solid #CCD5DB;
background-color: var(--portalThemeColor4);
user-select: none;
}

#scope-warning p {margin: 0;}

#scope-warning > div {display: flex;}

#scope-warning > div::before {
    content: '📌';
    display: flex;
    align-items: center;
    font-size: 2rem;
    margin: 0 1rem 0 0;
}

  /* Global */
  
  @media (min-width: 1600px) {
    .container {
        width: 1460px;
    }
  }
  
  .username { margin: 0 0 0 6px; }

  .primary-banner {
  background: #d1ecf2;
  border-top: 1px solid #A3DAE6;
  border-bottom: 1px solid #A3DAE6;
  }

  .secondary-banner {
  background: var(--portalThemeColor4);
  border-top: 1px solid #CCD5DB;
  border-bottom: 1px solid #CCD5DB;
  }
  
  .page-banner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
  }
  
  .page-banner > div {
    display: inline-flex;
    align-items: center;
  }
  
  .banner-left {
    width: 60%;
    padding: 3rem 4rem 3rem 3rem;
  }

  .banner-right {
    width: 40%;
    overflow: hidden
  }

  .banner-right, .banner-right img {border-radius: 1rem;}

  .banner-right img {width: 100%;}

  /* Article */
  
  article {
    user-select: none;
    padding: 1rem;
    margin: 0 0 4rem 0;
  }

  article:last-child {margin: 0;}

  article h2, article h3, article h4, article > h4 {margin: 2rem 0 1rem 0;}

  article p, article ul {font-size: 1.15rem;}

  article > div:first-child { margin: 0 0 2rem 0;}
  
  article div > div {margin: 1rem 0;}
  
    article .highlight, .html-helper .highlight {
      padding: 1.5rem;
      margin: 2rem 0;
      border: 2px solid var(--portalThemeColor3);
      border-radius: 1rem;
    }

      article .highlight p:last-child, .html-helper .highlight p:last-child {margin: 0;}

    blockquote {
      background: var(--portalThemeColor4);
      padding: 1rem;
      margin: 1rem 0;
      border-radius: .5rem;
    }
  
  article ul, .html-helper ul {
    margin: 1rem 1rem 1.25rem 3rem;
    list-style: disc;
  }
  
  article a:not(.btn), .html-helper a:not(.btn), a.text-primary {
    color: var(--portalThemeColor1) !important;
    text-decoration: underline;
  }

  .introduction {font-size: 1.4rem;}

  article .content-info {margin: 0 0 1rem 0;}

  article img {
    display: block;
    max-width: 100%;
    border: 1px solid #CCD5DB;
    margin: .5rem auto 1rem auto;
    border-radius: .5rem;   
  }

  article .table-container div {margin: 0}
  
  /* Topic Styles */

  .topics-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  
  .topic-item {
  display: flex;
  background-color: var(--portalThemeColor4);
  width: calc(50% - 4px);
  cursor: pointer;
  text-decoration: none !important;
  border-radius: 12px;
  }
  
  .topic-item:hover {
    background-color: #DEF8FF;
    }
  
  .topic-item > li {
    width: 100%;
  }
  .topic-item > li div {padding: 2rem;}
  .topic-item p {margin: 0;}
  .topic-item p span {font-size: 2.25rem;}
  
  .topic-item img {
    border-radius: 12px 12px 0 0;
    width: 100%;
    background-color: var(--portalThemeColor4);
    transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease;
  }
  
    .topic-item:hover img {filter: brightness(1.3);}
  
  .topic-item-active p {color: var(--portalThemeColor3);}
  .topic-item-active img {background-color: var(--portalThemeColor3);}
  
/* Call to action */

.call-to-action {
background: linear-gradient(#fff, #d1ecf2 50%);
padding: 2.5rem 8px;
}

.article-banner {
  background: #d1ecf2;
  border-top: 1px solid #A3DAE6;
  border-bottom: 1px solid #A3DAE6;
  }

    .article-banner h1, .resource-banner h1, .admin-banner h1, .standard-banner h1, .primary-banner h1 {margin: 2rem 0 1.5rem 0;}
    
.resource-banner, .standard-banner {border-top: 1px solid #CCD5DB;}

  .resource-description, .resource-insight {font-size: 1.15rem; max-width: 600px;}
  .resource-legacy::before {content: '⚠️';}
  .resource-insight::before {content: '💡';}
  .resource-banner p a {text-decoration: underline;}
  .resource-banner p {user-select: none;}

#resource-details {margin: 2rem 0;}

  #resource-details div, .meeting-details div {padding: 0 1rem 0 0;}

  #resource-details div:not(:last-child), .meeting-details div:not(:last-child) {
    margin: 0 1rem 0 0;
    border-right: 1px solid #CCD5DB;
  }

  #resource-details div p:first-child, .meeting-details div p:first-child {font-size: .75rem; margin: 0;}
  #resource-details div p:last-child, .meeting-details div p:last-child {font-weight: 600; margin: 0;}

  .meeting-details {padding: 1rem;}

.admin-banner {
  background-color: #FFE9CC;
  border-top: 1px solid #FEBC66;
  border-bottom: 1px solid #FEBC66;
}

  .admin-banner h1 {font-weight: 700; color: var(--portalThemeColor5);}
  .admin-banner .breadcrumb a, .admin-banner .breadcrumb > li:not(:first-child)::before, .admin-banner .breadcrumb > .active, .admin-banner .breadcrumb > li a:hover {font-weight: 600; color: var(--portalThemeColor5);}

/* Resource table */

#resource-container {
  display: flex;
  flex-grow: 1;
  gap: 2rem;
  min-width: 250px;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

#resource-array {flex-grow: 1;}

  #resource-array ul {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 2rem 0 4rem 0;
  }

  .resource-card .content-list {margin: 0 0 .5rem 0;}

  .resource-card {
    width: calc(50% - 4px);
  }

  .featured-resource-card {
    width: calc(50% - 4px);
    border: 1px solid #CCD5DB;
  }

    .featured-resource-card p {margin: 0 0 .5rem 0;}

  .reporting-resource-card {
    width: 100%;
  }

    .reporting-resource-card p {margin: 0 0 .5rem 0;}

/* user-agreement */

#terms-and-conditions-section h1 {display: none;}
  
#terms {
  max-height: 50vh;
  background-color: var(--portalThemeColor4);
  border: 1px solid #CCD5DB;
  padding: 2rem;
  overflow-y: scroll;
}

.btn:disabled {
  background-color: #CCD5DB;
  border: 1px solid #CCD5DB;
}

/* resource */

#frame {
  position: relative;
  height: 80vh;
  width: 100%;
  background-color: var(--portalThemeColor4);
  margin: 0 0 2rem 0;
  border: 1px solid #CCD5DB;
  user-select: none;
}

#frame-inner {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(1, 1, 1, .5);
  height: 100%;
  width: calc(100% - 16px);
  user-select: none;
}
  
    /* loader  */
  
  #load-container {
      position: absolute;
      top: 50%;
      right: 50%;
      transform: translate(50%, -50%);
    }
  
  .loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    animation: l14 4s infinite;
  }
  .loader::before,
  .loader::after {    
    content: "";
    grid-area: 1/1;
    border: 8px solid;
    border-radius: 50%;
    border-color: #FD014E #FD014E #0000 #0000;
    mix-blend-mode: darken;
    animation: l14 1s infinite linear;
  }
  .loader::after {
    border-color: #0000 #0000 #5ADBFF #5ADBFF;
    animation-direction: reverse;
  }
  @keyframes l14{ 
    100%{transform: rotate(1turn)}
  }
  
  .loaded {opacity: 0;}
  
.table-container {
display: flex;
flex-direction: column;
border: 1px solid #CCD5DB;
border-radius: .5rem;
margin-bottom: 2.5rem;
}
    .table-container div {box-sizing: border-box;}
    .flex-table {
      display: flex;
      width: 100%;
    }
    .table-header {
      background-color: var(--portalThemeColor4);
      border-bottom: 1px solid #CCD5DB;
      border-radius: .5rem .5rem 0 0;
    }
    .flex-cell {
      padding: .75rem;
      flex-grow: 1;
    }
  
      .flex-1 {width: 16.667%;}
      .flex-2 {width: 25%;}
      .flex-3 {width: 33.33%;}
      .flex-4 {width: 40%;}
      .flex-5 {width: 50%;}
      .flex-6 {width: 66.66%;}
      .flex-7 {width: 75%;}

    .flex-cell p:last-child {margin: 0;}
    .flex-cell p a {text-decoration: underline;}
    .flex-cell .button1 {width: 100%;}
    .flex-cell .remove {display: block; text-align: center; margin: .5rem 0 0 0;}
  
    .table-row {width: 100%;}
    .table-row:not(:last-child) {border-bottom: 1px solid #CCD5DB;}

    .table-container a:not(.btn) p {text-decoration: underline;}

    .row-header {
    background-color: var(--portalThemeColor4);
    border-right: 1px solid #CCD5DB;
    }

    .row-header {
      background-color: var(--portalThemeColor4);
      border-right: 1px solid #CCD5DB;
    }
    .top-corner {border-radius: .5rem 0 0 0;}
    .bottom-corner {border-radius: 0 0 0 .5rem;}

/*  Profile and uploads */

.user-profile h2 {
font-weight: 700;
font-size: 1.5rem;
padding: 0 0 1rem 0;
}

.user-resources {
border: 1px solid #CCD5DB;
border-radius: .5rem;
padding: 1rem;
margin: 0 0 2.5rem 0;
}

  .user-resources h3::after {content: '📄';}

.flex-cell .button2:hover {
  background-color: red;
}

/* forms */

input.form-control {
  border: 1px solid #CCD5DB;
}

input.form-control:read-only {
  border: 1px solid #CCD5DB;
}

input.form-control:focus, select:focus {
  border-color: #fbb36a;
}

.input-group .btn-default {
  padding: 7px 14px 6px 14px;
}

label {margin: 0 0 1rem 0;}

fieldset:last-child:not(:first-child) {
  border: 2px solid var(--portalThemeColor5);
  border-radius: 1rem;
  padding: 1.5rem 1rem 1rem 1.25rem;
}

fieldset:last-child:not(:first-child) h3 {
  font-weight: 700;
  color: var(--portalThemeColor5);
}

/* Mascot */

@keyframes jiggle {
  0%, 100% {
    transform: rotate(8deg);
    transform-origin: bottom center;
  }
  50% {
    transform: rotate(-8deg);
    transform-origin: bottom center;
  }
}

@media (min-width: 1400px) {
#mascot {
  position: fixed;
  bottom: 10px;
  right: 16px;
}

  #mascot img { animation: jiggle 1s infinite; }

#mascot:hover::before {
  content: "Season's Greetings from PSR";
  position: relative;
  font-weight: 600;
  font-size: .6rem;
  line-height: .75rem;
  color: rgba(0, 0, 0, .65);
  padding: .5rem 1rem;
  margin: -.5rem;
  background: #fff;
  border-radius: 1rem 1rem 0 1rem;
  box-shadow: rgba(0, 0, 0, 0.13) 0px 5.075px 11.418px 0px, rgba(0, 0, 0, 0.11) 0px 0.951px 2.854px 0px;
}
}

/* Responsive styles */

@media (max-width: 1400px) {

}

@media (max-width: 1200px) {
  #mascot {display: none; visibility: hidden;}
  .navbar-toggler-icon {width: 1.5rem; height: 1.5rem;}
  .navbar-toggler {height: 48px;}
  .navbar-brand {padding: 0;}
  .static-top .navbar-brand {height: auto;}
}

@media (max-width: 993px) {
  h1, h2 {font-size: 2rem;}
  .banner-left {padding: 2rem;}
  .breadcrumb {font-size: .75rem;}
  #resource-nav {display: none;}
  .resource-card {width: calc(50% - 4px);}
  .table-row {flex-direction: column;}
  .flex-1, .flex-2, .flex-3, .flex-4, .flex-5, .flex-6, .flex-7 {width: 100%;}
  .table-container, .table-header, .top-corner, .bottom-corner, .table-row-modal {border-radius: 0;}
  .row-header {border-right: none;}
  .res-hide {display: none;}
  #footer-logos {width: 100%;}
  #footer-logos img {max-height: 60px;}
  #footer-nav {width: 100%; flex-direction: column;}
}

@media only screen and (max-width: 800px) {
  .page-banner {flex-direction: column;}
  .page-banner > div {width: 100%;}
  .banner-left {padding: 2rem 2rem 1.5rem 2rem; border-radius: 1rem;}
  .banner-right, .banner-right img {display: none;}
  #resource-container {margin-top: 2rem; margin-bottom: 2rem;}
  .resource-card, .featured-resource-card {width: 100%;}
  .announcement-item {border-radius: .5rem;}
  .topic-link {width: 100%;}
  .topic-link div {padding: 1rem; text-align: center;}
  .topic-link h3 {margin: 0;}
  .topic-link p {font-size: .8rem;}
}

@media (max-width: 780px) {
  footer li {
    display: block;
    margin: .5rem 0;
    text-align: center;
  }
  #footer-logos {display: none;}
}

@media (max-width: 400px) {
  .alert-container {width: 100%; text-align: center; border-radius: .5rem;}
  .alert-container p {display: block; margin: .5rem 0;}
}

@media (max-width: 375px) {
  .siteTitle {display: none !important;}
}

