@font-face {
    font-family: din2014;
    src: url("fonts/DIN2014-Regular.4c715fda6fcb.ttf")  format('truetype');
}
p, a, ul, li, div, span {
    font-family: din2014, sans-serif !important;
    font-size: 1.125rem;
}
.contents-catalogue-grid-container{
    display: grid;
    grid-template: auto / auto;
    margin: 4% 0;
    padding: 10px;
    font-weight: bold;
}

.contents-catalogue-grid-container .content-item{
    text-decoration: underline;

}

.contents-catalogue-grid-container .content-link{
    color: #000;
    font-size: 1.1rem;
}

.basic-data-grid-container {
    display: grid;
    grid-template: auto / auto;
    margin-bottom: 5%;
    border: 3px solid rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 10px;
    padding-left: 20px;
    .grid-item {
        padding: 10px;
    }
    .summary-inline-block {
      display: flex;
      margin-left: 6px;
      span {
        margin-left: 6px;
        p { margin-bottom: 0; }
      }
    }
    .nested-inline-block {
      display: inline;
      p {
        display: inline;
      }
    }
    .basic-mid {
        border: 0.5px solid rgba(0, 0, 0, 0.8);
        border-style: none solid none solid;
    }
}

.meta-grid-container,  
.index-summary-grid-container {
    display: grid;
    grid-template: auto / auto auto;
    margin-bottom: 5%;
}

.meta-grid-container .grid-item {
    padding: 0%;
}

.localarea-grid-container {
    display: grid;
    grid-template: auto / 50% 50%;
    margin-bottom: 1%;
    border: 3px solid rgba(0, 0, 0, 0.8);
}

.localarea-grid-container .localarea-left {
    border: 3px solid rgba(0, 0, 0, 0.8);
    border-style: none solid none none;
}

.localarea-grid-container .h3{
    font-weight: bolder;
    font-size: 22pt;
    line-height: 1.5;
    text-align: left;
}

/* .localarea-grid-container .localarea-left p b {
    font-size: large;
} */

.grid-item {
    padding: 10px;
}

.agency-grid-container {
    display: grid;
    grid-template-columns: 3fr 3fr 3fr;
    border-top: 1px solid black;
    border-right: 1px solid black;
    margin-top: 4%;
    margin-bottom: 4%;
}

.agency-grid-container .agency-grid-item {
    padding: 8px 4px;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}

/* .basic-data-grid-container > p > b,
.init-desc > p > b,
.crosscut-themes > li > b,
.lesson > p > b,
.resource > p > b {
    font-size: large;
} */

.crosscut-themes > li > b
.theme > p {
    display: inline;
}

.title{
    font-family: 'Bebas Neue';
    font-size: 6rem;
}

.main-section {
    font-weight: bolder;
    margin-top: 2%;
    margin-bottom: 3%;
}

h1 {
    font-family: 'Bebas Neue', display;
    line-height: 6rem;
    font-size: 5rem;
    font-weight: 500;
    margin-top: 6%;
}
h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}
h1.key-info-head {
    font-size: 3rem;
    font-weight: 500;
    margin-top: 0;
}
h1.case-study-title-head {
    font-family: "Open Sans";
    font-size: 3.1rem;
    font-weight: bold;
    line-height: 4rem;
}
h2 {
    font-size: 2rem;
    margin-top: 4%;
    margin-bottom: 1%;
}
h2.case-study {
    font-family: "Open Sans";
    font-size: 2rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 0.8rem;
}
h3 {
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: left;
}
h3.case-study {
    font-family: "Open Sans";
    font-weight: bold;
    display: block;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
h3.case-study-in-para {
    margin-top: 0;
    margin-bottom: 0;
}

.margin {
    margin-top: 0;
    margin-bottom: 1rem;
}

.block {
    display: block;
}

.citation {
    display: block;
}

header {
    margin-bottom: 2%;
}

.grid-container {
    display: grid;
}

.styled-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 1.125rem;
    cursor: pointer;
    border-radius: 25px;
    background-color: #ffd600;
    color: #17213b !important;
}
.nav-styled-button {
    font-size: 1.4rem;
    padding: 17px !important;
}

.comment-card {
    margin-bottom: 5%;
    width: 55%;
}

.form-group label {
    font-size: large;
}

#form-notes{
    color: #0080ff;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
}

#nav-bar-container{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 10px;
    width: 100%;
}

/* Nav styles for home page */
#navbarContent {
    line-height: 0;
}
.nav-logo {
    height: 170px;
}
.nav-link {
    padding: 1rem 2rem;
}
a.nav-link {
  font-size: 1.4rem;
}
.nav-link-external {
    color: #00D673 !important;
}
.nav-link-external, .nav-link-list {
    font-size: 1.4rem;
    font-weight: bold;
}
li.nav-link-list {
    margin-right: 24px;
}
li.nav-link-list:last-of-type {
    margin-right: 0;
}
.nav-search input {
    min-width: 310px !important;
}
@media (max-width: 991px) {
    #nav-bar-container {
        display: block;
    }
    #nav-bar-container a {
        font-size: 1rem;
    }
    ul.navbar-nav {
        flex-direction: row;
        margin-top: 12px;
    }
    #note-grid {
        width: 90%;
    }
}
@media (max-width: 575px) {
    .nav-search input {
        min-width: 0 !important;
        width: 100%;
    }
    ul.navbar-nav {
        flex-direction: column;
    }
    li.nav-link-list {
        margin-right: 0;
    }
}

/* Text styles for home page */
.h2 {
    font-size: 3rem;
    font-weight: bold;
}
#home-page-subheader {
  padding: 0 15px;
}
#home-page-subheader p, #home-page-subheader a {
  font-size: 1.6rem;
  color: white;
}
#home-page-subheader a {
  text-decoration: underline;
}
#case-study-block {
    margin-bottom: 90px;
}
.case-study-grid-item {
    display: flex;
}
.case-study-grid-item img {
    margin-right: 18px;
    height: 100px;
}
.case-study-grid-item p {
    margin: auto 0px;
    font-size: 1.4rem;
}

/* Text styles for map page */
.index-card-head {
    display: block;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
#article-grid h2 {
    font-size: 1.6rem;
}
#article-grid h3 {
    font-size: 1.4rem;
    display: block;
}

/* Map popup styles */
.leaflet-popup-pane h2 {
    display: block;
    font-size: 1.4rem;
}
.leaflet-popup-pane h3.map-header {
    display: block;
    font-size: 1rem;
    margin: 1.3rem 0 0 0;
}
.leaflet-popup-content p, .leaflet-popup-content a {
    font-size: 1rem;
}
.leaflet-popup-content p {
    margin: 12px 0;
}

/* Case study detail page */
.margin h3 {
    display: block;
    font-size: 1.3rem;
}
.margin h3.inline {
    display: inline;
}
.urc-featured-image img {
  filter: drop-shadow(6px 6px 4px #ddd);
  border: 1px solid #888;
  max-width: 100%;
  height: auto;
}
.urc-featured-image span {
  font-style: italic;
  font-size: 1rem;
}
.case-study-citation {
  background: #cacaca;
  padding: 18px;
  color: #17213b;
  border-radius: 10px;
  margin: 24px 0;
}

/* WCAG compliant link color */
a {
    color: #007eb1;
}

/* Reset some of the font properties on smaller displays */
@media (max-width: 991px) {
  #content-container {
    grid-template-columns: 4fr;
  }
  #toggle-map-button {
    display: none;
  }
  #full-screen-button {
    display: none;
  }
  #intro-grid {
    display: none;
  }
}
@media (min-width: 992px) {
  #toggle-map-button {
    display: inline;
  }
  #full-screen-button {
    display: inline;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: 95%;
  }
  h1 {
    line-height: 65px;
    font-size: 4rem;
  }
  h1.key-info-head {
    font-size: 2.5rem;
  }
  .nav-logo {
    height: 130px;
  }
  a.discover-cell {
    font-size: 1.1rem;
  }
  .localarea-grid-container {
    grid-template-columns: 1fr;
  }
  .localarea-grid-container .localarea-left {
    border-style: none none solid none;
  }
}
@media (max-width: 575px) {
  h1.case-study-title-head {
    font-size: 2.5rem;
    line-height: 3rem;
  }
  h1 {
    line-height: 65px;
    font-size: 3rem;
  }
  .nav-logo {
    height: 90px;
  }
}
@media (max-width: 400px) {
  main article {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .agency-grid-item {
    font-size: 0.9rem;
  }
  .nav-logo {
    height: 90px;
  }
  h1.case-study-title-head {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  h1.key-info-head {
    font-size: 2rem;
  }
  h2.case-study {
    font-size: 1.75rem;
     margin-top: 1.75rem;
    margin-bottom: 0.7rem;
  }
  h3.case-study {
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  h1 {
    line-height: 42px;
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
    margin-bottom: 5%;
  }
  p, a, li, div, span {
    font-size: 1rem;
  }
  #home-page-subheader p, #home-page-subheader a {
    font-size: 1.2rem;
  }
  #case-study-block {
    margin-bottom: 42px;
  }
  .case-study-grid-item {
    margin-bottom: 10px;
  }
  .case-study-grid-item img {
    height: 50px;
  }
  .case-study-grid-item p {
    font-size: 1rem;
  }
  .img-text-grid img {
    height: 150px;
    width: 250px;
  }
}
@media (max-width: 250px) {
  #browse-case-study-block h2 {
    font-size: 1.1rem;
  }
  .img-text-grid {
    margin-bottom: 18px;
  }
  .img-text-grid img {
    height: 100px;
    width: 200px;
  }
}

@media (max-width: 379px) {
  article div iframe {
    width: 320px;
    height: 340px;
  }
}
@media (min-width: 380px) {
  article div iframe {
    width: 340px;
  }
}
@media (min-width: 600px) {
  article div iframe {
    width: 500px;
    height: 420px;
  }
}
@media (min-width: 800px) {
  article div iframe {
    width: 690px;
    height: 480px;
  }
}
@media (min-width: 1200px) {
  .container.project-content {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  article div iframe {
    width: 920px;
    height: 620px;
  }
}

.acrc-project-label {
    padding: 0.25rem 0.5rem;
    background-color: #20835C;
    font-size: 1.25rem;
    color: white;
}

.agency-table.table-bordered > :not(caption) > * > * {
  border-color: #000;
}

.acrc-info-box {
    background-color: #17213b;
    color: white;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.acrc-info-box h2 {
  margin-top: 0;
}
