.two-column-cards {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-gap: 20px;
  display: grid; }
  @media (max-width: 767.98px) {
    .two-column-cards {
      grid-template-columns: 1fr; } }
  .layout-list .two-column-cards {
    grid-template-columns: 1fr; }

.two-column-cards .node--view-mode-listing {
  height: 100%; }


.card-group-layout {
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  text-decoration: none;
  color: #000; }
  .layout-list-item .card-group-layout {
    flex-direction: row; }
    @media (max-width: 767.98px) {
      .layout-list-item .card-group-layout {
        flex-direction: column; } }

.card-image-group {
  position: relative;
  height: max-content;
  border-bottom: solid 1px rgba(0, 0, 0, .15); }
  .card-image-group .card-image img {
    width: 100%; }
  .layout-list-item .card-image-group {
    flex: 0 0 50%;
    padding: 0; }
    @media (max-width: 767.98px) {
      .layout-list-item .card-image-group {
        padding: 0; } }
  .card-image-group .card-post-type {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #ffc72c;
    padding: 2px 15px;
    font-size: 14px;
    color: #000; }
    .layout-list-item .card-image-group .card-post-type {
      bottom: 0; }
    .card-image-group .card-post-type a {
      display: block;
      font-size: 14px;
      color: #000;
      text-align: center;
      text-decoration: none; }

.card-body-group {
  padding: 20px 17px 45px;
  display: inline-flex;
  flex-wrap: wrap;
  flex: 1 0 0%;
  flex-direction: column;
  line-height: 18px; }
  .layout-list-item .card-body-group {
    padding: 15px; }
  @media (max-width: 767.98px) {
    .card-body-group {
      padding: 20px; } }
    .layout-list-item .card-body-group .card-title {
      margin-bottom: 10px; }


  .card-body-group .card-more {
    margin-top: auto; }
  .card-body-group .card-detail-grid .card-created-date,
  .card-body-group .card-detail-grid .card-difficulty-level,
  .card-body-group .card-detail-grid .card-duration,
  .card-body-group .card-detail-grid .card-author {
    margin: 10px 0; }
  .card-body-group .card-detail-grid .card-created-date {
    font-style: italic; }
    .card-body-group .card-detail-grid .card-created-date {
      font-size: 16px; }
    @media (min-width: 575px) {
      .card-body-group .card-detail-grid .card-created-date {
        font-size: calc(16px + 2 * (100vw - 575px) / 1025); } }
    @media (min-width: 1600px) {
      .card-body-group .card-detail-grid .card-created-date {
        font-size: 18px; } }

.card-desc {
  font-size: 14px;
  color: #000;
  margin-bottom: 0; }
  @media (max-width: 767.98px) {
    .card-desc {
      margin-bottom: 15px; } }
  .card-desc p {
    margin-bottom: 0; }
    .layout-list-item .card-desc p:last-of-type {
      margin-bottom: 0; }
    @media (max-width: 767.98px) {
      .card-desc p {
        margin-bottom: 0; } }


.card-created {
  text-align: right;
  font-size: 12px;
  font-style: italic;
  color: #000;
  width: 100%;
  margin-top: auto; }

.layout-grid-item,
.node--view-mode-_-item-feed-latest {
  height: 100%; }


/* Exposed Filters */
form#views-exposed-form-people-people-sidebar-block, form#views-exposed-form-publication-block-1, #views-exposed-form-training-block-1, #views-exposed-form-blog-block-1, form#views-exposed-form-center-in-the-news-block-1, form#views-exposed-form-event-listing-list-block-1, #views-exposed-form-data-equity-center-resource-library-block-1, form#views-exposed-form-dac-online-project-depot-list-block-block-1 {
  padding:0;
  h2 {
    font-size: 24px;
    font-weight: 500;
    color: #003B5C;
    font-style: italic;
    display: inline-block;
    background: #fff;
    padding: 0 0 10px;
    margin: 0;
    width: 100%;
    span {
      font-weight: 300;
      font-style: normal;
    }
  }
  #edit-training-custom-sort--2--wrapper, fieldset#edit-custom-sort--2--wrapper, fieldset#edit-publication-custom-sort--3--wrapper, fieldset#edit-blog-custom-sort--2--wrapper, #edit-event-custom-sort--4--wrapper, fieldset#edit-sort-by--wrapper, fieldset#edit-publication-custom-sort--2--wrapper, fieldset#edit-event-custom-sort--2--wrapper {
    border-bottom: solid 1px rgba(51, 51, 51, .7);
    .fieldset-wrapper {
      display: block !important;
      padding: 5px 24px 25px;
    }
    .form-check-label {
      padding: 0;
      line-height: 1;
  }
    label.option {
      font-size: 14px;
      font-weight: 400;
      line-height: 1;
      margin-right: 10px;
      margin-bottom: 0;
    }
  div#edit-custom-sort--2, div#edit-publication-custom-sort--3, div#edit-training-custom-sort--2, div#edit-blog-custom-sort--2, div#edit-event-custom-sort--4, div#edit-sort-by, #edit-publication-custom-sort--2, #edit-event-custom-sort--2 {
    display: flex;
  } 
  span.fieldset-legend {
    border-bottom: none;
    padding: 22px 24px 0;
    &:after {
      content: none;
    }
  }
  .form-check input[type="radio"]:checked + label:after, .form-check input[type="radio"] + label:before {
    top: 7px;
  }
}

}
.node.node--type-person-page.node--view-mode-listing {
  height: 100%;
}
.view-content.three-column-layout {
  .news-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px 27px;
  }
}

/* Staff */ 
.view.view-people.view-id-people.view-display-id-people_sidebar_block {
  a.list-item {
    text-decoration: none;
    position: relative;
    border: solid 1px rgba(0, 0, 0, .15);
    border-radius: 10px;
    height: 100%;
    display: block;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    &:hover {
      box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
      -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
      -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
    }
    &:after {
      background: #FFC72C;
      width: 0px;
      height: 10px;
      transition: all 0.3s ease-in-out;
      content:'';
      position: absolute;
      bottom:0;
      left:0;
    }
    h3 {
      font-size: 20px;
      line-height: 1.2;
      color: #000;
      padding: 0 0 8px;
      margin:0;
      z-index: 1;
      position: relative;
      font-weight: bold;
    }
    h4 {
      font-size: 14px;
      line-height: 1.2;
      color: #000;
      padding: 0;
      margin:0;
      z-index: 1;
      position: relative;
      font-weight: 400;
    }
    &:hover, &:focus {
      &:after {
        width: 100%;
      }
      h3 {
        text-decoration: underline;
        font-weight: bold;
      }
    }
  }

}
/* Publications */
.view.view-publication.view-id-publication.view-display-id-block_1 {
  .views-row {
    border: solid 1px rgba(0, 0, 0, .15);
  }
  .journal-article {
    position: absolute;
    bottom: 0;
    width: 100%;
    .overlay {
      background: hsla(206, 63%, 42%, 1);
      background: linear-gradient(90deg, rgba(40, 116, 175, 1)  30%, rgba(255, 255, 255, 0) 100%);
      background: -moz-linear-gradient(90deg, rgba(40, 116, 175, 1)  30%, rgba(255, 255, 255, 0) 100%);
      background: -webkit-linear-gradient(90deg, rgba(40, 116, 175, 1)  30%, rgba(255, 255, 255, 0) 100%);
      filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#2774AE", endColorstr="#FFFFFF", GradientType=1 );
      position: absolute;
      content: '';
      width: 100%;
      height: 150px;
      bottom: 0;
    }
  }

  a.list-item {
    text-decoration: none;
    position: relative;
    &:after {
      background: #FFC72C;
      width: 0px;
      height: 10px;
      transition: all 0.3s ease-in-out;
      content:'';
      position: absolute;
      bottom:0;
      left:0;
    }
    h3 {
      font-size: 20px;
      line-height: 1.2;
      color: #fff;
      padding: 20px;
      margin:0;
      z-index: 1;
      position: relative;
    }
    .card-created-date {
      font-size: 12px;
      font-style: normal;
      color: #000;
      margin-bottom: 0; 
    }
    .card-title {
      h4 {
        font-size: 20px;
        font-weight: 300;
        line-height: 28px;
        padding: 10px 0;
        margin:0;
        color: #000;
        a {
          color: #000;
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
    .card-desc {
      p {
        font-size: 12px;
        line-height: 17px;
        padding: 0;
        margin:0;
      }
    }
    &:hover, &:focus {
      &:after {
        width: 100%;
      }
      h4 {
        text-decoration: underline;
        font-weight: bold;
      }
    }
  }
}

/* Training */
.views-element-container.contextual-region.block.block-views.block-views-blocktraining-block-1, .views-element-container.block.block-views.block-views-blocktraining-block-1 {
  .views-row {
    border: solid 1px rgba(0, 0, 0, .15);
  }
  a.list-item {
    text-decoration: none;
    position: relative;
    &:after {
      background: #FFC72C;
      width: 0px;
      height: 10px;
      transition: all 0.3s ease-in-out;
      content:'';
      position: absolute;
      bottom:0;
      left:0;
    }
    h3 {
      font-size: 20px;
      line-height: 1.2;
      color: #fff;
      padding: 20px;
      margin:0;
      z-index: 1;
      position: relative;
    }
    .card-created-date {
      font-size: 12px;
      font-style: normal;
      color: #000;
      margin-bottom: 0; 
    }
    .card-title {
      h4 {
        font-size: 20px;
        font-weight: 300;
        line-height: 28px;
        padding: 10px 0;
        margin:0;
        color: #000;
        a {
          color: #000;
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
    .card-desc {
      p {
        font-size: 14px;
        line-height: 1.4;
        padding: 0;
        margin:0;
      }
    }
    &:hover, &:focus {
      &:after {
        width: 100%;
      }
      h4 {
        text-decoration: underline;
        font-weight: bold;
      }
    }
  }
}

/* Blog */
.views-element-container.contextual-region.block.block-views.block-views-blockblog-block-1, .node.node--type-blog.node--view-mode-listing, .views-element-container.block.block-views.block-views-blockblog-block-1 {
  .views-row {
    border: solid 1px rgba(0, 0, 0, .15);
  }
  a.list-item {
    text-decoration: none;
    position: relative;
    &:after {
      background: #FFC72C;
      width: 0px;
      height: 10px;
      transition: all 0.3s ease-in-out;
      content:'';
      position: absolute;
      bottom:0;
      left:0;
    }
    h3 {
      font-size: 20px;
      line-height: 1.2;
      color: #fff;
      padding: 20px;
      margin:0;
      z-index: 1;
      position: relative;
    }
    .card-created-date {
      font-size: 12px;
      font-style: normal;
      color: #000;
      margin-bottom: 0; 
    }
    .card-title {
      h4 {
        font-size: 20px;
        font-weight: 300;
        line-height: 28px;
        padding: 10px 0;
        margin:0;
        color: #000;
        a {
          color: #000;
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
    .card-desc {
      p {
        font-size: 12px;
        line-height: 17px;
        padding: 0;
        margin:0;
      }
    }
    &:hover, &:focus {
      &:after {
        width: 100%;
      }
      h4 {
        text-decoration: underline;
        font-weight: bold;
      }
    }
  }

  
}

/*Center in the news*/
.view-content.center-in-news.two-column-layout, .views-element-container.block.block-views.block-views-blockcenter-in-the-news-block-1 {
  padding: 0 0 100px;
  .news-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 25px; 
    column-gap: 27px; 
  }
  .views-row {
    display: block;
    background-color: #fff;
    padding: 0;
    height: 100%;
  } 
  
  .internal-box {
    border-radius: 0 0 10px 10px;
    padding: 17px 25px 50px;
    position: relative;
    z-index: 2;
  } 
  .post-date {
    color: #000;
    font-size: 14px;
    text-align: left;
    b{
      font-weight: 400;
    }
  } 
  .post-details {
    color: #000;
    height: 100%;
    border-top: none;
    border-left: solid 1px rgba(0, 0, 0, .1);
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    border-right: solid 1px rgba(0, 0, 0, .1);
    border-radius: 0 0 10px 10px;
    display: block;
    padding: 0;
    margin: 0;
  }
  .post-publisher {
    .field.field--type-string.field--label-hidden.field__item {
      background: #2774AE;
      color: #fff;
      font-size: 16px;
      line-height: 1;
      padding: 13px 30px;
      border-radius: 10px 10px 0 0;
      font-weight: bold;
      position: relative;
      z-index: 2;
      overflow: hidden;
      border: solid 1px #2774AE;
    }
    a {
      text-decoration: none;
      &:hover {
        text-decoration: underline;
        color: #fff;
      }
    }
  }
  .post-publisher:after {
    background: #fff;
    height: 35px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  .post-title {
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    padding: 12px 0 20px;
    margin: 0;
    a {
      text-decoration: none;
      &:hover, &:focus {
        text-decoration: underline;
        color: #000;
      }
    }
    p.field.field--type-string.field--label-hidden.field__item {
      padding: 0;
      margin: 0;
    }
  }
  .post-body {
    line-height: 1.4;
    font-size: 14px;
    padding: 0 0 20px;
    margin: 0;
  } 
  .post-staff, .post-related-works {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 300;
    display: inline-block;
    span {
      font-style: italic;
    }
    .field.field--type-entity-reference.field--label-hidden.field__items {
      display: inline;
    }
    a {
      text-decoration: none;
      &:hover {
        color: #fff;
        text-decoration: underline;
      }
    }
  }

  .post-field_quote {
    font-size: 18px;
    line-height: 24px;
    font-style: italic;
    font-weight: 300;
    z-index: 1;
    position: relative;
    margin: 50px 35px 20px;
    max-width: 400px;
    a {
      color: #000;
      text-decoration: none;
      &:hover {
        color: #000;
        text-decoration: underline;
      }
    }
  }
  .post-field_quote:after {
    font-family: ABeeZee;
    content: "“";
    position: absolute;
    top: 20px;
    left: -35px;
    font-size: 116px;
    color: #0B7ACB;
    opacity: .2;
    font-style: normal;
  }
  .post-big-nums {
    font-size: 96px;
    line-height: 1;
    font-weight: 300;
    z-index: 1;
    position: relative;
    margin: 30px 0 0;
    max-width: 400px;
    a {
      color: #000;
      text-decoration: none;
      display: inline-block;
      position: relative;
      &:after{
        position: absolute;
        content: '';
        background: #000;
        left: 0;
        bottom: 6px;
        height: 3px;
        width: 0px;
        display: inline-block;
      }
    }
    a:hover, a:focus {
      color: #000;
      &:after {
        width: 100%;
      }
    }
  }
  .post-big-nums-detail {
    font-size: 16px;
    line-height: 1;
    font-weight: 300;
    z-index: 1;
    position: relative;
    margin: 0 0 20px;
    max-width: 400px;
  }
  @media all and (max-width: 650px) {
    .news-item {
      grid-template-columns: 1fr;
      gap: 25px;
  }
  .search {
    width: 100%;
    max-width: 100%;
  }
}

@media all and (max-width:550px) {
      .post-body {
          font-size: 12px;
      }
      .post-big-nums {
          font-size: 60px;
          color: #0B7ACB;
          font-weight: 400;
          a {
            color: #0B7ACB;
          }
      }
  }

}

/* Events */

.views-element-container.contextual-region.block.block-views.block-views-blockevent-listing-list-block-1, .views-element-container.block.block-views.block-views-blockevent-listing-list-block-1 {

  a.list-item {
    text-decoration: none;
    position: relative;
    height: 100%;
    display: flex;
    padding: 28px 38px;
    border: solid 1px rgba(0, 0, 0, .15);
    border-radius: 10px;
    overflow: hidden;
    &:after {
      background: #FFC72C;
      width: 0px;
      height: 12px;
      transition: all 0.3s ease-in-out;
      content:'';
      position: absolute;
      left:0;
      bottom: -2px;
    }
    .card-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      height: 100%;
    }
    .card-day {
      font-size: 96px;
      font-weight: bold;
      line-height: 1;
      padding: 0;
      margin: 0;
      color: #000;
    }
    .card-month {
      font-size: 24px;
      line-height: 1.2;
      color: #000;
      font-weight: bold;
      margin: 0 0 15px;
      padding: 0;
    }
    .card-summary {
      font-size: 18px;
      line-height: 28px;
      color: #000;
      padding:0;
      margin:0 0 15px;
      display: block;
    }
    svg.svg-inline--fa.fa-star {
      position: absolute;
      right: 18px;
      font-size: 62px;
      top: 20px;
      color: #FFC72C;
  }
    .card-location {
      display: flex;
      justify-content: space-between;
      color: #000;
      font-size: 14px;
      line-height: 19px;
      margin: auto 0 0;
      width: 100%;
  }
    h3 {
      font-size: 20px;
      line-height: 1.2;
      color: #fff;
      padding: 20px;
      margin:0;
      z-index: 1;
      position: relative;
    }
    .card-created-date {
      font-size: 12px;
      font-style: normal;
      color: #000;
      margin-bottom: 0; 
    }
    .card-title {
      h4 {
        font-size: 20px;
        font-weight: 300;
        line-height: 28px;
        padding: 18px 0;
        margin:0;
        color: #000;
        a {
          color: #000;
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }
    }
    .card-desc {
      p {
        font-size: 12px;
        line-height: 17px;
        padding: 0;
        margin:0;
      }
    }
    &:hover, &:focus {
      &:after {
        width: 100%;
      }
      h4 {
        text-decoration: underline;
        font-weight: bold;
      }
    }
  }
  a.list-item.card.card--event.older.highlighted {
    border: solid 1px #000;
    .card-day, .card-month {
      color: #000;
    }
  }
  a.list-item.card.card--event.highlighted {
    border: solid 1px #2774AE;
    .card-day, .card-month {
      color: #2774AE;
    }
  }
  
}

/* Resource Lirbary */

.views-element-container.contextual-region.block.block-views.block-views-blockdata-equity-center-resource-library-block-1, .views-element-container.block.block-views.block-views-blockdata-equity-center-resource-library-block-1 {
   
  .resourceContainer {
    background: #F9F9F9;
    border-top: solid 1px #003b5c4a;
    margin: 0;
    .resourceType {
      border-left: solid 1px #003b5c4a;
      border-right: solid 1px #003b5c4a;
    }
    .resourceInnerContainer {
        padding: 20px;
        border-left: solid 1px #003b5c4a;
        border-right: solid 1px #003b5c4a;
    }
    h5.field__item {
      background: #FFD100;
      display: inline-block;
      font-size: 16px;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 10px;
      margin: 0 0 5px;
     }
    h4.field.field--type-string.field--label-hidden.field__item {
      font-size: 18px;
      line-height: 1.2;
      padding: 0;
      font-weight: 500;
    }
    h3.field.field--type-string.field--label-hidden.field__item {
      font-size: 24px;
    }
    .authors-listing, .topics p {
      font-size: 15px;
      a {
        text-decoration: none;
        transition: 0.5s;
      }
      a:hover {
        color: #0079BF;
        text-decoration:underline;
      }
      a:active {
        color: #003B5C;
      }
    }
    .post-body p {
      font-size: 18px;
      line-height: 1.2;
    }
    .button {
      margin: 0;
      background: transparent;
      display: block;
      padding: 0;
      position: relative;
      border-left: solid 1px #005587 !important;
      border-right: solid 1px #005587 !important;
    }
    .button:hover {
      border-left: solid 1px #0079BF !important;
      border-right: solid 1px #0079BF !important;
    }
    .button .field.field--type-link.field--label-hidden.field__items {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px; 
    }
    .button .field.field--type-link.field--label-hidden.field__items > span:only-child{
      grid-column: 1 / -1; 
    }
    .button .field.field--type-link.field--label-hidden.field__items span.field__item {
      display: block;
      width: 100%;
    }
    .button a {
      text-align: center;
      background: #005587;
      width: 100%;
      color: #fff;
      text-decoration: none;
      font-weight: 400;
      font-size: 16px;
      display: block;
      padding: 20px 0;
      transition: 0.3s;
    }
    .button a:hover {
      background: #0079BF;
    }
    .button a:active {
      background: #003B5C;
    }
    .topics p {
      display: inline;
    }
    .authors, .topics {
      display: block;
      position: relative;
      margin: 10px 0;
      padding: 0 0 0 25px;
    }
    svg {
      padding: 0;
      width: 24px;
      left: -2px;
      position: absolute;
      top: 3px;
    }
    .topics svg {
      font-size: 15px;
      top: 6px;
    }
  }
    
  }

/* DAC Project Depot */
form#views-exposed-form-dac-online-project-depot-list-block-block-1, .view.view-dac-online-project-depot-list-block.view-id-dac_online_project_depot_list_block.view-display-id-block_1 {
  fieldset#edit-years--wrapper .js-form-item.js-form-type-checkbox.checkbox.form-check {
    margin: 0;
  }
  .list-filter-container {
    .slide-in-filter {
        fieldset#edit-sort-order--2--wrapper {
            border-bottom: solid 1px rgba(51, 51, 51, .7);
            padding: 0 24px;
            display: block !important;
            .fieldset-wrapper {
              padding: 5px 0 25px;
          }
        }
    }
  }
}


.views-element-container.contextual-region.block.block-views.block-views-blockdac-online-project-depot-list-block-block-1, .view.view-dac-online-project-depot-list-block.view-id-dac_online_project_depot_list_block.view-display-id-block_1 {
  .views-row {
    border: solid 1px rgba(0, 0, 0, .15);
  }
  .dac-project-item, .node.node--type-dac-online-project-depot.node--promoted.node--view-mode-listing {
    height: 100%;
  }
  a.list-item {
    text-decoration: none;
    position: relative;
    &:after {
      background: #FFC72C;
      width: 0px;
      height: 10px;
      transition: all 0.3s ease-in-out;
      content:'';
      position: absolute;
      bottom:0;
      left:0;
    }
    h3 {
      font-size: 20px;
      line-height: 1.2;
      color: #000;
      font-weight: 300;
      margin:0;
      z-index: 1;
      position: relative;
    }
    .card-desc {
      font-size: 14px;
      font-style: normal;
      color: #000;
      margin-bottom: 0; 
      padding: 16px 0 20px;
    }
    .investigator {
      margin-top: auto;
      span {
        font-style: normal;
      }
    }
    h4 {
      font-size: 14px;
      font-weight: 300;
      font-style: italic;
      line-height: 28px;
      padding: 0;
      margin:0;
      color: #000;
    }
    
    .card-desc {
      p {
        font-size: 12px;
        line-height: 17px;
        padding: 0;
        margin:0;
      }
    }
    &:hover, &:focus {
      &:after {
        width: 100%;
      }
      h3 {
        text-decoration: underline;
        font-weight: bold;
      }
    }
  }  
}

.list-filter-container {
  h2 {
    font-size: 70px;
    line-height: 1.2;
    font-weight: 300;
  }
  input#edit-keys, input#edit-keys--2, input#edit-keys--3, input#edit-keys--4 {
    background: #DAEBFE;
    font-size: 14px;
    color: #000;
    border-radius: 10px;
    border: solid 1px rgba(0, 0, 0, .2);
    padding: 15px 43px 15px 20px;
    line-height: 1;
    font-weight: 500;
    opacity: 1;
  }
  input#edit-key::placeholders, input#edit-keys--2::placeholder, input#edit-keys--3::placeholder,input#edit-keys--4::placeholder {
    font-size: 14px;
    color: #000;
    line-height: 1;
    font-weight: 500;
    opacity: 1;
  }
  button#search-input{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    right: 33px;
  }
  .clear {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    min-width: 44px;
    transition: all 0.3s ease-in-out;
    &:hover, &:focus {
      color: #0088d8;
    }
  } 
  .clear.search1.mobile {
    display: none !important;
  }
  .filters-wrapper {
    display: block;
    padding: 0 0 25px;
  }
  .search-filter {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .search {
    width: 697px;
    max-width: 100%;
    position: relative;
    svg.svg-inline--fa.fa-magnifying-glass {
      position: absolute;
      z-index: 1;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #000;
    }
    button.remove-filter.search-clear {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      svg.svg-inline--fa.fa-xmark {
        font-size: 10px;
      }
    }
  }

  fieldset.js-form-item.js-form-type-textfield.form-type-textfield.js-form-item-keys.form-item-keys.form-group {
    margin: 0;
  }
  .slide-in-filter {
    position: fixed;
    height: 100%;
    width: 390px;
    right: -200%;
    top: 0;
    z-index: 9999;
    background: #fff;
    padding: 0 0 100px;
    transition: all 0.3s ease-in-out;
    overflow-y: scroll;

    fieldset#edit-sort-order--2--wrapper, fieldset#edit-publication-custom-sort--4 {
      border-bottom: solid 1px rgba(51, 51, 51, .7);
      padding: 20px 24px 25px;
      span.fieldset-legend {
        display: block;
        font-size: 15px;
        font-weight: bold;
        position: relative;
        cursor: pointer;
        width: 100%;
        line-height: 1.1;
        padding: 22px 0 0;
        border-bottom: none;
    }
    .fieldset-wrapper {
      padding: 0;
   }
  }
    h3 {
      font-size: 20px;
      text-align: center;
      font-weight: bold;
      padding: 0 15px 25px;
      margin: 0;
      border-bottom: solid 1px rgba(51, 51, 51, .7);
    }
    .form-actions {
      position: fixed;
      bottom: 0;
      background: #fff;
      width: 390px;
      }  
  }
  .filterbutton {
    display: flex;
    align-items: center;
    align-content: center;
    background: #F5F5F5;
    padding: 16px 5px;
    border-radius: 10px;
    border: solid 1px rgba(0, 0, 0, .2);
    min-width: 137px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    justify-content: center;
    &:hover, &:focus {
      background: #D5D5D5;
    }
  }
  .filterbutton span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 0 0 0 10px;
    margin: 0;
    display: block;
    color: #000;
  }
  svg.svg-inline--fa.fa-sliders {
    font-size: 13px;
    color: #000;
  } 
  .overlay {
    transition: all 0.3s ease-in-out;
  }
  .form-checkboxes.bef-checkboxes {
    max-height: unset;
  }
  .header-slider-filter {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 12px 15px 10px;
  }
  span.filter-tag {
    font-size: 14px;
    border: solid 1px #333;
    display: inline-block;
    border-radius: 50px;
    padding: 10px;
    line-height: 1.2;
    margin: 10px 0 0;
  }
  .inner-filter {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
}
  button.remove-filter {
    height: 15px;
    width: 15px;
    border: none;
    border-radius: 50%;
    background: #000;
    color: #fff;
    text-align: center;
    font-size: 15px;
    margin-right: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    svg.svg-inline--fa.fa-xmark {
      font-size: 10px;
    }
  }
  .applied-filters {
    padding: 20px 24px 25px;
    margin: 0;
    border-bottom: solid 1px rgba(51, 51, 51, .7);
    h4 {
      font-size: 16px;
      font-weight: bold;
      padding:0 0 3px;
      margin: 0;
    }
  }
  .slide-in-filter {
    fieldset#edit-sort-order--2--wrapper {
      border-bottom: solid 1px rgba(51, 51, 51, .7);
      padding: 20px 24px 25px;
      span.fieldset-legend {
        display: block;
        font-size: 16px;
        font-weight: bold;
        position: relative;
        cursor: pointer;
        width: 100%;
        line-height: 1.1;
        padding: 22px 0 0;
        border-bottom: none;
    }
    .fieldset-wrapper {
      padding: 0;
   }
  }
    .form-group {
      margin: 0;
      padding: 0;
      display: block;
      position: relative;
      span.fieldset-legend {
        display: block;
        font-size: 16px;
        font-weight: bold;
        position: relative;
        cursor: pointer;
        width: 100%;
        line-height: 1.1;
        padding: 22px 24px 20px;
        border-bottom: solid 1px rgba(51, 51, 51, .7);
      }
      legend {
        margin:0;
       }
       .fieldset-wrapper {
        padding: 20px 24px 20px;
      }
    }
    .form-group.active span.fieldset-legend:before {
     background: #FFD100;
     width: 5px;
     height: 100%;
     content:'';
     position: absolute;
     left:0;
     top:0;

    }
    .form-actions {
      text-align: center;
    }
    button[type="submit"] {
      background-color: #2774AE;
      color: #fff;
      border: none;
      padding: 19px 20px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: calc(100% - 28px);
      font-size: 16px;
      font-weight: 500;
      line-height: 1;
      margin: 14px auto !important;
      text-align: center;
      span {
        position: relative;
        display: inline-block;
        &:after {
          content: '';
          position: absolute;
          width: 0%;
          height: 1px;
          border: solid 1px #fff;
          border-radius: 8px;
          transition: all 0.3s ease;
          left: 0;
          bottom: -3px;
          opacity: 0;
        }
      }
      &:hover {
        background: #00598C;
        span {
          &:after {
            width: 100%;
            opacity: 1;
          }
        }
      }
    }
    
  }


  fieldset#edit-sort-order--2--wrapper .fieldset-wrapper {
    display: block;
  }
  .form-radios {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    .js-form-item.js-form-type-radio.radio.form-check.js-form-item-sort-order.form-item-sort-order {
      padding: 0 10px 0 0;
    }
    .form-check-label {
      display: flex;
      align-items: start;
      align-content: start;
      justify-content: flex-start;
    }
    input#edit-sort-order-asc--2 {
      position: relative;
      border-radius: 0;
      width: 0;
      height: 0;
    }
    label.option {
      font-size: 14px;
      font-weight: 400;
      line-height: 1;
      margin: 0;
    }
    .form-check input[type="radio"][type="radio"]:checked + label:after, .form-check input[type="checkbox"][type="radio"]:checked + label:after {
      top: 6px;
    }
    .form-check input[type="radio"][type="radio"]:not(:checked) + label:before, .form-check input[type="checkbox"][type="radio"]:not(:checked) + label:before {
      top: 6px;
    }
  }
  .fieldset-wrapper {
    display: none;
  }
  fieldset#edit-date span.fieldset-legend:after {
    content: none;
  }

  fieldset#edit-date input#date-range-input {
    padding: 10px;
    border: solid 1px rgba(0, 0, 0, .7);
    margin: 0 0 0 10px;
  } 
  span.fieldset-legend:after {
    content: "\f107";
    font-family: "fontawesome";
    position: absolute;
    right: 24px;
    font-size: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  span.fieldset-legend.active:after {
    content:"\f106";
  }
  fieldset#edit-sort-order--2--wrapper span.fieldset-legend:after {
    content: none;
  }
  .form-check-label{
    padding: 1px 0 0;
  }
  .form-checkboxes.bef-checkboxes .option {
    font-size: 14px;
    font-weight: 300;
    color: #000;
    line-height: 1.3;
    margin: 0 0 6px;
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .form-checkboxes.bef-checkboxes .option::before {
    top: 8px;
  }
  .form-check input[type="checkbox"][type="checkbox"]:checked + label:after {
    top: 8px;
  }
  .back {
    font-size: 14px;
    color: #003B5C;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    svg.svg-inline--fa.fa-angle-left {
      color: #003B5C;
    }
  }
  /* .search-filter {
    .clear.desktop.search1, a.clear.noshow.desktop.filters-1, a.clear.desktop.filters-0.search1, a.clear.desktop {
      display: block !important;
    }
    .applied-filters.filters-0, .clear.filters-0, .clear.noshow, a.clear.noshow.mobile.filters-1, a.clear.mobile {
      display: none !important;
    }

    .clear.desktop.search1, a.clear.noshow.desktop.filters-1, a.clear.desktop.filters-0.search1, a.clear.desktop {
      display: block !important;
    }
  } */
  .search-filter {
    a.clear.mobile, a.clear.desktop, a.clear.noshow {
      display: none;
    }
    a.clear.mobile, a.clear.desktop, a.clear.noshow {
      display: none;
    }
    a.clear.desktop.show, a.clear.show {
      display: block;
    }
    a.clear.mobile.show, a.clear.mobile.noshow{
      display: none !important;
    }
  }
  div.clear.filters-1.show a, div.clear.filters-0 {
    a.clear.show{
      display: block !important;
    }
  }
  div.clear.filters-0 {
    a {
      display: none;
    }
  }


  @media all and (max-width: 750px) {
    .search {
      width: 100%;
      max-width: 100%;
  }
  }
  @media all and (max-width: 610px) {
  h2 {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 400;
  }
  }
  @media all and (max-width: 390px) {
    .filterbutton {
      width: 195px;
    }
  }
}

@media all and (max-width: 500px) {
  .list-filter-container {
    .slide-in-filter {
        width: 100%;
        .form-actions {
          width: 100%;
          }
    }
  }
}

.list-filter-container.slideout {
  .slide-in-filter {
    right: 0;
    transition: all 0.3s ease-in-out;
  }
  .overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .2);
    left: 0;
    top: 0;
    z-index: 100;
  }

}


.view-content.center-in-news.two-column-layout {
  padding: 0 0 100px;
  .news-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 25px; 
    column-gap: 27px; 
  }
  .views-row {
    display: block;
    background-color: #fff;
    padding: 0;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    &:hover {
      box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
      -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
      -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
    }
  } 
  
  .internal-box {
    border-radius: 0 0 10px 10px;
    padding: 17px 25px 50px;
    position: relative;
    z-index: 2;
  } 
  .post-date {
    color: #000;
    font-size: 12px;
    text-align: left;
  } 
  .post-details {
    color: #000;
    height: 100%;
    border-top: none;
    border-left: solid 1px rgba(0, 0, 0, .1);
    border-bottom: solid 1px rgba(0, 0, 0, .1);
    border-right: solid 1px rgba(0, 0, 0, .1);
    border-radius: 0 0 10px 10px;
    display: block;
    padding: 0;
    margin: 0;
  }
  .post-publisher {
    .field.field--type-string.field--label-hidden.field__item {
      background: #2774AE;
      color: #fff;
      font-size: 16px;
      line-height: 1;
      padding: 13px 30px;
      border-radius: 10px 10px 0 0;
      font-weight: bold;
      position: relative;
      z-index: 2;
      overflow: hidden;
      border: solid 1px #2774AE;
    }
    a {
      text-decoration: none;
      &:hover {
        text-decoration: underline;
        color: #fff;
      }
    }
  }
  .post-publisher:after {
    background: #fff;
    height: 35px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  .post-title {
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    padding: 12px 0 20px;
    margin: 0;
    a {
      text-decoration: none;
      &:hover {
        text-decoration: underline;
        color: #000;
      }
    }
    p.field.field--type-string.field--label-hidden.field__item {
      padding: 0;
      margin: 0;
    }
  }
  .post-body {
    line-height: 1.4;
    font-size: 14px;
    padding: 0 0 20px;
    margin: 0;
  } 
  .post-staff, .post-related-works {
    font-size: 12px;
    line-height: 1;
    font-weight: 300;
    display: inline;
    .field.field--type-entity-reference.field--label-hidden.field__items {
      display: inline;
    }
    a {
      text-decoration: none;
      &:hover {
        color: #fff;
        text-decoration: underline;
      }
    }
  }

  .contextual-region.node.node--type-person-page.node--view-mode-listing, .contextual-region.node.node--type-publications.node--view-mode-listing, .node.node--type-publications.node--view-mode-listing, .contextual-region.node.node--type-training.node--view-mode-listing, .node.node--type-training.node--view-mode-listing, .contextual-region.node.node--type-blog.node--view-mode-listing, .contextual-region.node.node--type-person-page.node--view-mode-listing, .contextual-region.node.node--type-dac-online-project-depot.node--promoted.node--view-mode-listing {
    height: 100%;
  }
  @media all and (max-width: 650px) {
    .news-item {
      grid-template-columns: 1fr;
      gap: 25px;
  }
  .search {
    width: 100%;
    max-width: 100%;
  }
}

@media all and (max-width:550px) {
      .post-body {
          font-size: 12px;
      }
      .post-big-nums {
          font-size: 60px;
          color: #0B7ACB;
          font-weight: 400;
          a {
            color: #0B7ACB;
          }
      }
  }

}

@media all and (max-width:550px) {
  .search-filter {
    button.filterbutton {
      span {
        transition: all 0.3s ease-in-out;
      }
    }
  }
  .search-filter.active {
    button.filterbutton {
      min-width: 47px;
      height: 47px;
      span {
        display: none;
      }
    }
  }
  .list-filter-container {
    .search-filter {
      a.clear.mobile.noshow, a.clear.desktop.noshow, a.clear.noshow {
        display: none !important;
      }
      a.clear.desktop.show {
        display: none !important;
      }
      a.clear.show {
        display: block !important;
      }
      a.clear.mobile.show {
        display: block !important;
        position: absolute;
        bottom: -22px;
        right: 3px;
      }
    }
  }

  .list-filter-container {
    .search-filter {
      a.clear.noshow.mobile.filters-1 {
            display: block !important;
            bottom: -22px;
            right: 3px;
        }
    }
  }

  .list-filter-container {
    .search-filter {
      .clear.desktop.search1, a.clear.noshow.desktop.filters-1, a.clear.desktop.filters-0.search1, a.clear.desktop.search1{
            display: none !important;
        }
    }
  }
  .list-filter-container {
    .search {
      margin: 0 0 20px;
    }
    .filterbutton {
      margin: 0 0 20px;
    }
    svg.svg-inline--fa.fa-magnifying-glass {
      margin: 0;
    }
  }
}

@media all and (max-width:550px) {
  #stickymenu.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    left:0;
    .list-filter-container {
      margin: 0 auto;
      max-width: 1206px;
      width: 100%;
      padding: 0 15px;
    }
    .filters-wrapper {
      padding: 15px 0;
    }
  }
}

body.list-slide-active,
html.list-slide-active {
  overflow: hidden;
}
@media all and (max-width: 767px) {
  .view-content.three-column-layout {
    .news-item {
      grid-template-columns: 1fr 1fr;
    }
  }
}
@media all and (max-width: 500px) {
  .view-content.three-column-layout {
    .news-item {
      grid-template-columns: 1fr;
    }
  }
}

main#content .breadcrumb {
  li.breadcrumb-item:last-of-type {
      width: 100%;
  }
}

.list-filter-container {
  .form-actions {
    z-index: -1;
    opacity: 0;
    position: relative; /* <- Add this line */
    background: transparent;
    right: -100%;
    transition: all 0.3s ease-in-out;
  }
}

.list-filter-container.slideout {
  .filters-wrapper {
    position: relative;
  }

  .form-actions {
    z-index: 10000;
    opacity: 1;
    position: relative; /* <- Needed for Safari to honor z-index */
  }
}

.list-filter-container.slideout .form-actions {
  position: fixed;
  bottom: 0;
  right: 25px;
  max-width: 350px;
  z-index: 10000;
  opacity: 1;
}