/* 
* CSS for the Library and Archives Page
*/

/* CSS for the Library and Archives Banner block */
.la-ctn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 10px 0px;
}

.la-ctn-block {
  margin-top: 10px;
  width: calc(50% - 10px);
  background-color: #ffffff;
  padding: 50px;
  transition: all 0.2s ease-in-out;
}

.la-ctn-block:hover {
  transform: scale(1.05);
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.la-ctn-block p {
  color: black;
}

.la-news-header {
  width: 100%;
  background-color: #005689;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 5px 35px 0px 35px;
  color: white;
}

.la-news-header h1 {
  color: #fff;
  font-size: 14px;
  background-color: #005689;
  text-transform: uppercase;
  margin-top: 5px;
}

.la-news-header a {
  text-decoration: none;
  color: white;
}

/* Css for the latest news story block (block__5) */
.three-boxes .box {
  width: calc(33% - 10px);
  transition: all 0.2s ease-in-out;
  margin-bottom: 0px;
}
.three-boxes .box:hover {
  transform: scale(1.02);
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.box {
  width: calc(50% - 10px);
  height: 500px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-bottom: 0px;
  transition: all 0.2s ease-in-out;
}

.box-img img,
.landing .img-box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.box-text-container h1 {
  font-size: 25px;
}

.box-header-h1 {
  color: #fff;
  font-size: 14px;
  background-color: #005689;
  padding: 15px 35px;
  text-transform: uppercase;
}

.three-boxes {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.box-img,
.box-text {
  height: 50%;
  width: 100%;
}

.box-text {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 40px;
}

.box-img {
  background: url(https://via.placeholder.com/386x295?text=Placeholder)
    no-repeat center;
  overflow: hidden;
}

/* CSS for the related pages section */
.box-text-container {
  min-height: 110px;
}

.la-ctn.landing .box {
  height: 300px;
}

.landing {
  padding: 20px 0px;
  clear: left;
  flex-wrap: wrap;
}

.landing .text-box {
  background-color: #005689;
  color: white;
  padding: 50px;
}
.box a {
  height: 100%;
}

.box-blue-container h1 {
  color: white;
}

.box-header {
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: 2px solid white;
  border-radius: 10px;
  padding: 10px;
  margin-top: 20px;
}

.box-header:hover {
  transform: scale(1.02);
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.box-header a {
  font-size: 12px;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

.img-box iframe {
  height: 100%;
  width: 100%;
}

@media only screen and (max-width: 800px) {
  .la-ctn h1 {
    font-size: 23px;
    padding-left: 0px;
  }

  .la-ctn h1.box-header-h1 {
    padding-left: 20px;
  }

  .la-ctn.cta-sml h1 {
    font-size: 3rem;
    color: #fff;
  }

  .three-boxes {
    flex-direction: column;
  }

  .three-boxes .box {
    width: 100%;
  }

  .box {
    margin: 0 auto;
    margin-bottom: 20px;
    height: auto;
    width: 100%;
  }

  .three-boxes .box {
    height: auto;
    margin-bottom: 20px;
  }

  .box:last-child {
    margin-bottom: 0px;
  }

  .container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }

  .events-details-page {
    background-color: #eceeed !important;
  }

  .options {
    flex-direction: column;
  }

  .la-ctn-block {
    width: 100%;
    background-color: #ffffff;
    padding: 50px;
    transition: all 0.2s ease-in-out;
    height: auto;
  }

  .partnerships {
    margin-top: 20px;
  }

  .landing {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .box-img,
  .box-text {
    height: auto;
  }

  .box-img img {
    display: none;
  }
  .box-text {
    min-height: 230px;
  }

  .la-ctn.cta .cta-buttons {
    flex-wrap: wrap;
    width: min-content;
  }

  .blue-container-buttons {
    flex-wrap: wrap;
  }

  .container-cta {
    margin: 71px;
  }

  .box-blue-container .blue-container-buttons .blue-btn {
    width: -webkit-fill-available;
  }

  .la-ctn :nth-child(1) {
    order: 2;
  }
  .la-ctn :nth-child(2) {
    order: 1;
  }
  .la-ctn :nth-child(3) {
    order: 3;
  }
  .la-ctn :nth-child(4) {
    order: 4;
  }
  .la-ctn :nth-child(5) {
    order: 6;
  }
  .la-ctn :nth-child(6) {
    order: 5;
  }
  .library-archive-news li {
    height: auto !important;
  }
}

/* CSS for the library and archive slide */
.view-library-and-archives-slides .view-content {
  padding-left: 30px;
  padding-right: 20px;
}
.la-slider img {
  height: 500px;
  object-fit: contain;
}

.la-slider .learn-more {
  width: 100% !important;
}

.slide-content {
  padding: 100px 50px 0px 50px;
}

.view-library-and-archives-slides .bx-viewport {
  border-radius: 50px;
}

.slide-content p {
  font-weight: bold;
  padding-top: 20px;
}

a.blue-button {
  text-align: center;
  border-radius: 10px;
  padding: 15px 35px;
  color: #fff;
  font-size: 14px;
  background-color: #005689;
  padding: 15px px 35px;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}

.mid-text {
  margin-top: 10px;
  font-size: 25px;
  font-weight: bold;
}

.blue-button-ctn {
  padding-bottom: 20px;
}

a.blue-button:hover {
  transform: scale(1.05);
}

.library-archive-news li {
  height: 450px;
  margin-bottom: 10px;
}

.library-archive-news .header {
  display: inline-block !important;
}

.library-archive-news .pager li {
  width: auto;
  height: auto;
}

.library-archive-news ul.pager {
  width: 300px;
  margin: 0 auto;
}

.library-archive-news ul.pager .pager-current {
  background: white;
  padding: 7px 14px;
  display: inline-block;
}

.view-library-and-archives-slides {
  background: white;
  padding-bottom: 10px;
}

.col-highlights-header {
  position: absolute;
  z-index: 99;
  left: 0;
  right: 0;
  margin: 8px auto;
  display: block;
  font-size: 25px;
}
@media only screen and (max-width: 1000px) {
  .library-archive-news li {
    height: auto;
  }
}
@media only screen and (max-width: 768px) {
  .slide-content {
    padding: 40px;
  }
  .slide-content .slide-title {
    text-align: center;
    font-size: 15px;
  }
  .slide-content p {
    padding-top: 0px;
  }
  .la-slider img {
    margin: 0 auto;
  }
  .la-slider img {
    height: 300px;
  }
  .col-highlights-header {
    font-size: 1em;
  }
}
