
.resource-library-page-hero{
  background-color: #00002A;

 
}

.resource-library-page-hero .page-hero__inner{
  /*max-width: 1366px;
  width: 95% !important;
  padding: 0 0;*/
  margin-left:auto;
  display: flex;
  align-items: flex-start;
  flex-flow: column-reverse;
}

@media (min-width:980px){
  .resource-library-page-hero .page-hero__inner{
    flex-flow: row;
    align-items: center;
  }
}

.resource-library-page-hero .page-hero__inner *{
  color: #fff;
}

.resource-library-page-hero .page-hero__text{
  min-width: 100%;
}
.resource-library-page-hero .page-hero__text_inner{
  padding: 5% 2.5%;
}

@media (min-width:980px){
  .resource-library-page-hero .page-hero__inner h1{
    font-size: 61px !important;
  }


  .resource-library-page-hero .page-hero__text{ 
    flex-basis: 50%;
    min-width: auto;
  }


  .resource-library-page-hero .page-hero__text_inner{
    max-width: calc((1366px / 2) - 2.5%);
    margin-left: auto;
    width: 95%;
    padding-right: 50px;
  }
}



.resource-library-page-hero .page-hero__image{ 
  position: relative;
  flex-basis: 50%;
  font-size: 0;
  display: flex;
  
}

.resource-library-page-hero .page-hero__image img{
  width: 100%;
  height: auto;
}

.resource-library-notice-bar{
  background-color: #006EFF;
  color: #fff;
  font-size: 16px;
}



.resource-library-notice-bar .resource-library-notice-bar__inner{
  max-width: 1366px;
  margin: auto;
  width: 95%;
  display: flex;
  flex-flow: column;
  align-items: space-between;
  justify-content: flex-start;
  padding:16px 0;
}

@media (min-width:980px){
  .resource-library-notice-bar .resource-library-notice-bar__inner{
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
  }
}

.resource-library-notice-bar .resource-library-notice-bar__inner a{
  color:inherit;
  text-transform: uppercase;
  text-decoration: underline;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  text-underline-offset:2px;
}

.resource-library {
  max-width: 1366px;
  width: 95% !important;
  padding: 2% 0;
  margin: auto;
}


.resource-library .resource-library__top-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 24px 0;
  gap:24px;
  font-family: 'Inter', sans-serif !important;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;

    overflow-x: auto;
}

.resource-library .resource-library__filter{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap:8px;
  padding: 0 0 0 0;
}
.resource-library .resource-library__filter a{
  display: block;
  padding: 8px 16px;
  background: #F9F9FB;
  border-radius: 19px;
  transition: all 0.3s ease-in-out;

  /*font-family: 'Inter', sans-serif !important;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;*/
  color: #333;

   
    line-height: 1;
    font-family: "FS_Industrie_Bold", Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: bold;
    font-size: 16px;
}

.resource-library .resource-library__filter a:hover,
.resource-library .resource-library__filter a.active{
  background-color: #006EFF;
  color:#fff;
}

.resource-library .resource-library__view-switcher{
  display: flex;
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap:8px;
}

@media (min-width:980px){
  .resource-library .resource-library__view-switcher{
    display: flex;
  }
}

.resource-library .resource-library__view-switcher button{
  height: 36px;
  width: 36px;
  background-color: transparent;
  border:none;
  cursor: pointer;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  margin:0;
}

.resource-library .resource-library__view-switcher .resource-library__view-switcher--grid{
  background-image: url("assets/icons/icon-grid-view.svg");
}

.resource-library .resource-library__view-switcher .resource-library__view-switcher--grid.active{
  background-image: url("assets/icons/icon-grid-view--active.svg");
}

.resource-library .resource-library__view-switcher .resource-library__view-switcher--list{
  background-image: url("assets/icons/icon-list-view.svg");
}

.resource-library .resource-library__view-switcher .resource-library__view-switcher--list.active{
  background-image: url("assets/icons/icon-list-view--active.svg");
}

.resource-library .resource-category--title-row {
  display: block;
  border-bottom: 1px solid rgba(51, 51, 51, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-right: 80px;

  padding-top: 48px;
  gap:24px;
}

.resource-library .resource-category--title-row  h3{
  font-family: 'FS_Industrie_Regular', sans-serif !important;

}



.resource-library .resource-category--title-row h5{
  flex:1;
}



.resource-library .resource-category--title-row .meta-title {
  display: block;
  display: none;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #333333;
  max-width: 124px;
  flex: 1;
}

@media (min-width: 980px) {
  .resource-library .resource-category--title-row .meta-title {
    display: block; 
  }
}

.resource-library .resource-library__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 24px;
  padding: 24px 0;
}




.resource-library  .resource-library__filter--archive{
  background-color: transparent !important; 
  color: #006EFF !important;
 
  text-decoration: underline;
}

.resource-library .resource__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 32px 16px 24px;
  box-shadow: 0px 4px 16px -4px rgba(16, 24, 40, 0.04),
    0px 0px 6px -2px rgba(16, 24, 40, 0.04);
  border-radius: 8px;
  text-transform: uppercase;
  border:2px solid #fff;
  transition: border 0.3s ease-in-out;
}

.resource-library .resource__link:hover{

  border-color:#006EFF;
  text-transform: uppercase;
}


.resource__link .resource__link-inner{
  position: relative;
  display: flex;
  gap:24px;
  flex:1;
  align-items: center;
  justify-content: space-between;
}


.resource-library .resource__link h5 {
  flex: 1;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans" !important;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 130%;
  text-transform: initial;
}



.resource-library .resource__link .tag {
  font-family: 'FS_Industrie_Regular', sans-serif !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 140%;
  color: #333;
  text-transform: uppercase;
  margin-top:3px;
}

.resource-library .resource__link .meta-tag {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  color: #333;
  text-transform: uppercase;
  opacity: 0.6;
  max-width: 124px;
  flex: 1;
  display: block;
}

.resource-library .resource__link .resource__file-icon {
  width: 38px;
  height: 48px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: url("assets/icons/icon-file.svg");
}

.resource-library .resource__link .resource__file-icon.type--pdf {
  background-image: url("assets/icons/icon-pdf.svg");
}
.resource-library .resource__link .resource__file-icon.type--folder {
  background-image: url("assets/icons/icon-folder.svg");
}


.resource-library .resource__link .download-icon {
  width: 22px;
  height: 22px;
  background-size: contain;
  background-position: 50% 50%;
  background-image: url("assets/icons/icon-download.svg");
  background-repeat: no-repeat;
}


/* Grid View */

@media (min-width: 980px) {

  .resource-library.grid-view .resource-library__list {
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 24px;
  }

  @media (max-width:1024px){
    .resource-library.grid-view .resource-library__list {
      grid-template-columns: repeat(3, 1fr);
    }
    
  }

  @media (max-width:980px){
    .resource-library.grid-view .resource-library__list {
      grid-template-columns: repeat(2, 1fr);
    }
    
  }

  .resource-library.grid-view  .resource__link{
    padding: 16px;
  }

  .resource-library.grid-view  .resource__link .resource__link-inner{
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap:8px;
  }

  .resource-library.grid-view .meta-title{
    display: none;
  }

  .resource-library.grid-view .resource__link .resource__file-type {
    display: none;
  }

  .resource-library.grid-view .resource__link  .download-icon{
    position: absolute;
    right: 0px;
    top:50%;
    transform: translateY(-50%);
  }
  .resource-library.grid-view  .resource__published{
    min-width: 100%;
  }
  .resource-library.grid-view  .resource__published::before{
    display: inline;
    content:'Published: ';
    font-size: 14px;
    text-transform: none;
  }
}

/* Grid view by default view - pretty much the same as grid view */ 

@media (max-width: 979px) {


 html body .resource-library .resource-category--title-row{
    flex-flow: column;
    align-items: flex-start;
    gap:0;
    padding-bottom: 20px;
  }
  

  html body .resource-library .resource-library__list {
    grid-template-columns: repeat(1, 1fr);
  }

  html body .resource-library  .resource__link .resource__link-inner{
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap:8px;
    padding-right: 40px;
  }

  html body .resource-library .resource__published{
    min-width: 100%;
  }

  html body .resource-library .resource__link  .download-icon{
    position: absolute;
    right: 0px;
    top:50%;
    transform: translateY(-50%);
  }

  .resource-library .resource__link .resource__file-type {
    display: none;
  }
  
  html body .resource-library .resource__published::before{
    display: inline;
    content:'Published: ';
    font-size: 14px;
    text-transform: none;
  }
  
 
  

}