/*----------------------------------------- */
/* FONTS STACK */
/* ----------------------------------------- */
@font-face {
  font-family: "avenir";
  src: url("Avenir-Roman.ttf");
}
@font-face {
  font-family: "avenirBook";
  src: url("Avenir-Book.ttf");
}
@font-face {
  font-family: "avenirM";
  src: url("Avenir-Medium.ttf");
}
@font-face {
  font-family: "avenirH";
  src: url("Avenir Heavy.ttf");
}
/*----------------------------------------- */
/*                    VARIABLES             */
/* ----------------------------------------- */
:root {
  /* typography */
  --avenir: "avenir", "sans-serif";
  --avenirBook: "avenirBook", "sans-serif";
  --avenirM: "avenirM", "sans-serif";
  --avenirH: "avenirH", "sans-serif";
  /* colors */
  --color-primary: #1a6f33;
  --color-primary-10: rgba(26, 111, 51, 0.1);
  --color-dark-gray: #3c3c3c;
  --color-text: #1a1c1b;
  --color-text-rgba10: rgba(26, 28, 27, 0.1);
  --color-white: #fff;
  --color-white-alpha10: rgba(255, 255, 255, 0.1);
  --color-black: #000;
  --color-red: #d0041e;
  /* spacing */
  --section-spacing: 70px 35px;
  --section-spacing-y: 70px;
  --section-spacing-x: 35px;
  /* other */
  --transition-04: all 0.4s ease;
}
/*----------------------------------------- */
/*                       MISC                */
/* ----------------------------------------- */
.page-node-type-elib-page {
  scroll-behavior: smooth !important;
}
.page-node-type-elib-page #page-title {
  display: none;
}
.page-node-type-elib-page section {
  padding: 0;
}
.page-node-type-elib-page .breadcrumb {
  margin-bottom: 0;
}
.page-node-type-elib-page .region.region-content .content,
.page-node-type-elib-page .region.region-content .view-content {
  margin: 0;
}
.page-node-type-elib-page .region.region-content {
  padding: 0 !important;
}

/* spotlight button effect */
.spotlight-btn {
  position: relative;
  overflow: hidden;
  /* background-color: #111;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
        font-size: 16px;
 */
  cursor: pointer;
  transition: transform 0.2s;
}
.spotlight-btn-green {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

/* .spotlight-btn:hover {
    transform: scale(1.05);
} */

/* Spotlight effect */
.spotlight-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 8px;

  background: radial-gradient(
    circle 100px at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.45),
    transparent 40%
  );

  opacity: 0; /* invisible by default */
  transition:
    opacity 0.2s,
    background 0.05s;
}
.spotlight-btn-green::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 8px;

  background: radial-gradient(
    circle 100px at var(--x, 50%) var(--y, 50%),
    rgba(0, 255, 120, 0.45),
    transparent 40%
  );

  opacity: 0; /* invisible by default */
  transition:
    opacity 0.2s,
    background 0.05s;
}

/* Show spotlight only on hover */
.spotlight-btn:hover::after,
.spotlight-btn-green:hover::after {
  opacity: 1;
}

/*----------------------------------------- */
/*                       elib banner        */
/* ----------------------------------------- */
#elib-section {
  display: block;
}
.elib-banner {
  position: relative;
}
#elib-section.elib-banner {
  margin: 0;
  padding: 0;
}
.elib-banner > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 647px;
}
.elibbanner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: var(--section-spacing);
}
.elibbanner-content .tagline {
  color: var(--color-white) !important;
  font: 12px/12px var(--avenirH) !important;
  margin: 0 auto;
  padding: 12px 12px 12px 40px;
  border: 1px solid var(--color-white);
  border-radius: 50px;
  position: relative;
  text-align: center;
  width: fit-content;
}
.elibbanner-content .tagline::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("../images/icon-leaf.svg") no-repeat center center;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.elibbanner-content h3.bnr-title {
  font: 72px var(--avenir) !important;
  color: var(--color-white) !important;
  margin: 0;
  text-align: center;
}
.elibbanner-content .bnr-text {
  color: var(--color-white);
  text-align: center;
  font: 20px var(--avenir);
  margin: 0 0 32px;
  max-width: 720px;
}
.elibbanner-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin: 0 0 64px;
}
.elibbanner-content ul > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  gap: 16px;
  width: 209px;
  height: 125px;
  border-radius: 12px;
  background: rgba(231, 227, 232, 0.2);
  backdrop-filter: blur(6px);
  font: 12px/120% var(--avenir);
  color: var(--color-white);
  transition: var(--transition-04);
}
.elibbanner-content ul > li > a span {
  display: block;
  text-align: center;
  font: 16px/120% var(--avenir);
  color: var(--color-white);
}
.elibbanner-content ul > li > a:hover,
.elibbanner-content ul > li > a:focus {
  text-decoration: none;
}
.elibbanner-content .bnr-btn {
  display: block;
  width: fit-content;
  padding: 14px 24px;
  text-align: center;
  margin: 0 auto;
  font: 16px var(--avenirH) !important;
  color: var(--color-white) !important;
  border-radius: 8px !important;
  background: var(--color-primary);
  transition: var(--transition-04);
}
.elibbanner-content .bnr-btn:hover,
.elibbanner-content .bnr-btn:focus {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .elib-banner > img {
    min-height: 800px;
    object-fit: cover;
    object-position: center center;
  }
}
@media screen and (max-width: 641px) {
  .elib-banner > img {
    min-height: 1000px;
  }
}
/*----------------------------------------- */
/*                       EIA REPORTS        */
/* ----------------------------------------- */
#block-views-block-elibrary-block-1 {
  position: relative;
  background: #f2f2f2;
  padding: var(--section-spacing);
  z-index: 0;
}
#block-views-block-elibrary-block-1::after {
  content: "";
  width: 50%;
  height: 100%;
  background: url("../images/eia-reports-bg.png") no-repeat center center;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  background-size: 100% 100%;
  background-position: 100% -150px !important;
  z-index: -1;
}
/* .header-light{} */
.section-tagline {
  font: 12px var(--avenir) !important;
  border-radius: 50px;
  margin: 0 0 16px;
  padding: 8px 12px;
  display: flex;
  width: fit-content;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
}
.header-light .section-tagline {
  color: var(--color-primary) !important;
  background: var(--color-primary-10);
}
.header-dark .section-tagline {
  color: var(--color-white) !important;
  background: var(--color-white-alpha10);
}
.page-node-type-elib-page .section-title {
  font: 36px/150% var(--avenirH) !important;
  margin: 0 0 12px;
}
.page-node-type-elib-page .header-light .section-title {
  color: var(--color-text) !important;
}
.page-node-type-elib-page .header-dark .section-title {
  color: var(--color-white) !important;
}
.page-node-type-elib-page .section-header-text {
  max-width: 770px;
  font: 16px var(--avenirM) !important;
  margin: 0;
}
.page-node-type-elib-page .header-light .section-header-text {
  color: var(--color-text) !important;
}
.page-node-type-elib-page .header-dark .section-header-text {
  color: var(--color-white) !important;
}

.elib-section-btn {
  border-radius: 8px;
  padding: 14px 24px;
  font: 16px var(--avenirH) !important;
  text-transform: uppercase;
  transition: var(--transition-04);
}
.header-light .elib-section-btn {
  color: var(--color-white) !important;
  background: #3c3c3c;
}
.header-dark .elib-section-btn {
  color: var(--color-text) !important;
  background: var(--color-white);
}
.header-light .elib-section-btn:hover,
.header-light .elib-section-btn:focus {
  text-decoration: none;
  background: var(--color-primary);
}

.page-node-type-elib-page .header-view {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 48px;
}
.page-node-type-elib-page .header-view .lt {
  width: calc(100% - 380px);
  padding: 0 24px 0 0;
}
.page-node-type-elib-page .header-view .rt {
  width: fit-content;
  max-width: 380px;
}
.report-item {
  border: 1px solid #52725f;
  border-radius: 12px;
  background: var(--color-white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 32px 24px;
  margin: 0 0 34px;
}
.report-title {
  font: 18px var(--avenirH) !important;
  color: var(--color-text) !important;
  margin: 0 0 8px;
}
.report-description {
  font: 14px var(--avenirBook) !important;
  color: var(--color-text) !important;
}
.msg-link,
.elib-pdf-link {
  font: 14px var(--avenirH);
  margin: 0;
  padding: 14px 24px;
  background: #fafaf7;
  border-radius: 8px;
  display: flex;
  flex-wrap: nowrap;
  column-gap: 10px;
  justify-content: space-between;
  align-items: center;
  max-width: 205px;
}
.elib-pdf-link {
  color: var(--color-text);
  border: 1px solid #cad7d0;

  transition: var(--transition-04);
}
.msg-link {
  color: #52725f;
  border: 1px solid #52725f;
}
.elib-pdf-link:hover,
.elib-pdf-link:focus,
.msg-link:hover,
.msg-link:focus {
  text-decoration: none;
  transform: unset !important;
}
.report-lt {
  position: relative;
  width: calc(100% - 400px);
  padding: 0 24px 0 41px;
}
.report-lt::before {
  content: "";
  width: 32px;
  height: 32px;
  background: var(--color-primary-10) url("../images/icon-report.svg") no-repeat
    center center;
  background-size: 20px 20px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
}
.report-rt {
  width: fit-content;
  max-width: 400px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  column-gap: 16px;
}
@media screen and (max-width: 992px) {
  .report-rt {
    flex-direction: column;
    row-gap: 12px;
  }
  .report-lt {
    width: calc(100% - 250px);
  }
}
@media screen and (max-width: 768px) {
  .page-node-type-elib-page .header-view {
    flex-direction: column;
    row-gap: 24px;
    align-items: flex-start;
  }
  .report-item {
    gap: 24px;
  }
  .report-lt,
  .report-rt {
    width: 100%;
  }
  .page-node-type-elib-page .header-view .lt,
  .page-node-type-elib-page .header-view .rt {
    width: 100%;
  }
  .report-rt {
    flex-direction: row;
  }
}
@media screen and (max-width: 640px) {
  .report-rt {
    flex-direction: column;
    row-gap: 12px;
  }
}
/*----------------------------------------- */
/*             Journals & Publications      */
/* ----------------------------------------- */
#block-views-block-elibrary-block-2 {
  background: url("../images/journals-pub-bg.png") no-repeat center center /
    cover;
  padding: var(--section-spacing);
}
.block-journals-and-publications .view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
}
.block-journals-and-publications .view-content > div {
  width: calc(33.3333% - 24px);
  background: var(--color-white);
  border: 1px solid #52725f;
  border-radius: 12px;
  padding: 24px 32px;
}
.jp-title {
  font: 18px var(--avenirH);
  color: var(--color-text) !important;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(82, 114, 95, 0.5);
}
.jp-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.jp-tag {
  color: #52725f;
  font: 12px var(--avenirH);
  margin: 0;
}
.jp-readmore {
  color: #3c3c3c !important;
  border: 1px solid #3c3c3c;
  font: 14px var(--avenirH) !important;
  border-radius: 8px;
  padding: 12px;
}
.jp-readmore:hover,
.jp-readmore:focus {
  text-decoration: none !important;
  transform: unset !important;
}
@media screen and (max-width: 992px) {
  .block-journals-and-publications .view-content > div {
    width: calc(50% - 24px);
  }
}
@media screen and (max-width: 768px) {
  .block-journals-and-publications .view-content > div {
    width: calc(100% - 24px);
  }
}
/*----------------------------------------- */
/*             published books               */
/* ----------------------------------------- */
.block-published-books-section {
  background: #f2f2f2;
  padding: var(--section-spacing);
}
.block-published-books-section .header-light .section-tagline {
  color: var(--color-text) !important;
  background: var(--color-text-rgba10);
}
.block-published-books-section .view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
}
.block-published-books-section .view-content > div {
  width: calc(50% - 24px);
  background: var(--color-white);
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.pub-bk-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
}
.pub-bk-card .cvrimg-wrap {
  width: 237px;
}
.pub-bk-card .cvrimg-wrap > img {
  display: block;
  width: 100%;
  height: auto;
}
.pub-bk-card .pub-bk-cont {
  width: calc(100% - 237px);
  padding: 16px;
  position: relative;
}
.pub-bk-cont .pb-title {
  font: 18px var(--avenirH);
  color: var(--color-text) !important;
  padding: 0 0 16px;
  margin: 0 0 16px;
}
.pub-bk-cont a {
  width: fit-content;
  padding: 14px 24px;
  border-radius: 8px;
  background: #d0041e;
  color: var(--color-white) !important;
  font: 14px var(--avenir) !important;
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  column-gap: 10px !important;
  position: absolute;
  left: 16px;
  bottom: 24px;
}
.pub-bk-cont a:hover,
.pub-bk-cont a:focus {
  transform: unset !important;
  text-decoration: none !important;
}
.page-node-type-elib-page .block-published-books-section .header-view .lt {
  width: 100% !important;
}

@media screen and (max-width: 992px) {
  .pub-bk-card .cvrimg-wrap {
    width: 210px;
  }
}
@media screen and (max-width: 1080px) {
  .block-published-books-section .view-content > div {
    width: calc(70% - 24px);
  }
}
@media screen and (max-width: 768px) {
  .block-published-books-section .view-content > div {
    width: calc(100% - 24px);
  }
}
@media screen and (max-width: 640px) {
  .pub-bk-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .pub-bk-card .cvrimg-wrap,
  .pub-bk-card .pub-bk-cont {
    width: 100%;
  }
  .pub-bk-cont a {
    position: unset;
  }
  .block-published-books-section .report-description {
    margin: 0 0 16px;
  }
}
/* WEBFORM */
#block-epdpopup {
  display: none;
}
.page-node-type-webform .node-id-5786 #page-title {
  font: 36px var(--avenirM) !important;
  color: var(--color-text) !important;
  text-align: center;
  margin: 0 0 36px;
}
.page-node-type-webform .node-id-5786 .webform-button--submit {
  font: 16px var(--avenirH) !important;
  color: var(--color-white) !important;
  background: var(--color-primary);
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  text-align: center;
  padding: 14px 24px;
}
.page-node-type-webform .node-id-5786 .form-item label,
.page-node-type-webform .node-id-5786 .webform-select-other span {
  font: 14px var(--avenirM) !important;
  color: var(--color-text) !important;
  margin: 0 0 18px;
  display: block;
}
.page-node-type-webform .node-id-5786 .form-control::-webkit-input-placeholder {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
}
.page-node-type-webform .node-id-5786 .form-control {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
}
/* Chrome, Edge, Safari */
.page-node-type-webform .node-id-5786 .form-control::-webkit-input-placeholder {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
}

/* Firefox 19+ */
.page-node-type-webform .node-id-5786 .form-control::-moz-placeholder {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
  opacity: 1; /* important for Firefox */
}

/* Firefox 4–18 (legacy) */
.page-node-type-webform .node-id-5786 .form-control:-moz-placeholder {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
  opacity: 1;
}

/* Internet Explorer 10–11 */
.page-node-type-webform .node-id-5786 .form-control:-ms-input-placeholder {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
}

/* Standard (modern browsers) */
.page-node-type-webform .node-id-5786 .form-control::placeholder {
  color: #5f605f !important;
  font: 16px/24px var(--avenir) !important;
}
/*----------------------------------------- */
/*             Notification and orders      */
/* ----------------------------------------- */
#block-views-block-elibrary-block-4 {
  background: url(../images/journals-pub-bg.png) no-repeat center center / cover;
  padding: var(--section-spacing);
}

.block-notifications-and-orders .view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 24px;
}
.block-notifications-and-orders .view-content > div {
  width: calc(33.3333% - 24px);
  background: var(--color-white);
  border: 1px solid #52725f;
  border-radius: 12px;
  padding: 24px 32px;
}
.jp-title {
  font: 18px var(--avenirH);
  color: var(--color-text) !important;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid rgba(82, 114, 95, 0.5);
}
.jp-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.jp-tag {
  color: #52725f;
  font: 12px var(--avenirH);
  margin: 0;
}
.jp-readmore {
  color: #3c3c3c !important;
  border: 1px solid #3c3c3c;
  font: 14px var(--avenirH) !important;
  border-radius: 8px;
  padding: 12px;
}
.jp-readmore:hover,
.jp-readmore:focus {
  text-decoration: none !important;
  transform: unset !important;
}
@media screen and (max-width: 992px) {
  .block-notifications-and-orders .view-content > div {
    width: calc(50% - 24px);
  }
}
@media screen and (max-width: 768px) {
  .block-notifications-and-orders .view-content > div {
    width: calc(100% - 24px);
  }
}
/*----------------------------------------- */
/*        ACTS, LAWS AND REGULATIONS        */
/*----------------------------------------- */
#block-views-block-elibrary-block-5 {
  position: relative;
  background: #f2f2f2;
  padding: var(--section-spacing);
  z-index: 0;
}
#block-views-block-elibrary-block-5::after {
  content: "";
  width: 50%;
  height: 100%;
  background: url("../images/eia-reports-bg.png") no-repeat center center;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  background-size: 100% 100%;
  background-position: 100% -150px !important;
  z-index: -1;
}