:root {

  --color-primary: #106593;
  --color-secondary:rgba(238,175,60,0.8);
  --color-tertiary: rgba(214, 69, 80, 0.80);
  --color-light: #FFFDF2;
  --color-text: #1f1646;
  --color-soft-bg: #eaf2ef ;
  --color-highlight: #cafe48;
  --color-table: #D0CCC9;
  --color-row: #f0f5f8;
  --menu-offset: 0px;
}

html {
  color: var(--color-text);
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  color: var(--color-text);
  /* letter-spacing: -1px; */
}

.page-title {
  margin-bottom: 0;
  text-shadow: 4px 4px var(--color-secondary);

}

h1 {
  font-size: 4em;
  margin-bottom: 2rem;
  position: relative;
}

h2 {
  font-size: 1.5rem;
  font-size: clamp(1.5rem, 1.2090909090909092rem + 1.4545454545454541vw, 2.3rem);
}

h3 {
  font-size: 2rem;
  line-height: 1.4;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--color-secondary);
}

a:hover {
  text-decoration-color: var(--color-tertiary);
}

/* .hero__logo {
  width: 200px;
  vertical-align: initial;
} */

.lede {
  font-size: 24px;
  /* max-width: 60ch; */
  /* margin: 0; */
  /* color: white; */
}

.caps-title {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--color-primary);
}

hr {
  border-top: 2px solid var(--color-secondary);
}

/* p, */
/* ol, */
/* ul:not(:where(.toolbar-menu, .menu, .delivery-partners)) { */
.paragraph--type--rich-text {
  max-width: 75ch;
  line-height: 1.7;
}

ol,
ul:not(:where(.menu)) {
  padding-inline-start: 1.5rem;
  line-height: 1.7;
}

pre {
 white-space: pre-wrap;
}

blockquote {
  padding: 1rem;
  background-color: var(--color-soft-bg);
  margin: 0;
}



tbody {
  vertical-align: top;
}

th {
  background-color: var(--color-soft-bg);
  color: var(--color-text);
  padding: 0.5rem;
}

td {
  padding: 0.5rem;
}

tr {
  background-color: white;
}

tr.even {
  background-color: rgba(240, 240, 250, 0.6);
}

fieldset {
  border: 1px solid var(--color-secondary);
}

@media screen and (max-width: 799px) {
  p img {
    width: 100%;
    height: auto;
  }
}

.text-secondary {
  font-size: 0.8rem;
}

.grey-box {
  background-color: var(--color-soft-bg);
  padding: 1rem;
}

.sidebar-block {
  /* border-bottom: 1px solid #e8e1d7; */
  padding-bottom: 2rem;
}

.sidebar-block .cta {
  flex-direction: column;
  padding: 2.5rem 1rem;
  margin: 0;
}

.sidebar-block .main-menu {
  flex-direction: column;
  margin: 0;
}
.region-breadcrumb {
  background-color: var(--color-text);
  position: relative;
  margin-bottom: 1rem;
}

.region-breadcrumb .container {
  display: flex;
}


/* .region-breadcrumb::after {
  content: "";
  background-color: #e5e5f7;
  opacity: 0.8;
  background: repeating-linear-gradient( -45deg, var(--color-soft-bg), var(--color-soft-bg) 2px, #fff 2px, #fff 10px );
  height: 30px;
  width: 100%;
  position: absolute;
  bottom: -30px;
  z-index: -1;
} */

.layout-content-bottom {
  margin-top: 3rem;
  border-top: 10px solid var(--color-text);
  background-color: var(--color-secondary);
  position: relative;
}
/* .layout-content-bottom::after {
  content: "";
  background-color: #e5e5f7;
  opacity: 0.8;
  background: repeating-linear-gradient( -45deg, var(--color-secondary), var(--color-secondary) 2px, #fff 2px, #fff 10px );
  height: 30px;
  width: 100%;
  position: absolute;
  bottom: -30px;
  z-index: -1;
} */

main form {
  display: initial;
}

.views-exposed-form {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  /* align-items: center; */
}

.bef-exposed-form .form-item {
  margin: 0;
  padding: 0.25rem;
}

.view-id-resources legend {
  display: none;
}

label {
  font-weight: bold;
}

button {
  font-size: 1rem;
}

.optional {
  font-weight: bold;
  font-size: small;
}

.btn {
  border: 1px solid var(--color-text);
  padding: 0.5rem 0.75rem;
  margin: 1rem 0;
  color: var(--color-text);
  display: inline-block;
  background-color: transparent;
  transition: all ease-in-out .5s ;
    /* Old browsers */
    background: linear-gradient(to left, white 50%, var(--color-text) 50%);
    background-size: 200% 100%;
    background-position:right bottom;
}

.btn:hover {
  color: var(--color-row);
  background-position:left bottom;
}

.btn-bg {
  position: relative;
}

.btn-bg::before {
  content: "";
  position: absolute;
  right: 2rem;
  top: -30px;
  height:20px;
  width:10%;
  background: var(--color-text);
  border: 3px solid var(--color-light);
  transition: background-color ease-in-out .2s ;
  z-index: -1;
}

.btn-bg:hover::before {
  background: var(--color-secondary);
}

.btn__submit {
  border-color: var(--color-primary) ;
  background: linear-gradient(to left, var(--color-primary) 50%, var(--color-text) 50%);
  background-size: 200% 100%;
  background-position:right bottom;
  color: white;
  font-weight: bold;
}

.btn-overlaid {
  position: relative;
  }

.btn-overlaid a {
  position: absolute;
  bottom: 0;
  left: 25%;
}

.btn-overlaid img {
  width: 550px;
  height: auto;
}

.section-title {
  position: relative;
  padding: 1rem 1rem 1rem 0;
  padding-bottom: 0;
  overflow: hidden;
}

.list {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}

.list-item {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background-color ease-in-out .25s ;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

@media (min-width: 800px) {
  .list-item {
    flex-direction: row;
  }
}

.promoted img {
  width: 800px;
}

.text {
  color: var(--color-card);
  padding: 0 1rem;
}

/* pagenation*/
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 22px 0;
  list-style: none;
}

.pagination > li > span {
display: inline;
}

.pagination > li {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  color: var(--color-primary);
  border: 1px solid var(--color-table);
}

.pagination > .active {
  margin-left: 0;
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: white;
}

.pagination a {
  text-decoration: none;
}

.pagination > li:hover {
  background-color: var(--color-soft-bg);
}

.pagination > .active:hover {
  border: 1px solid var(--color-soft-bg);
  color: var(--color-primary);
}

.tab-content > .tab-pane:target ~ .tab-pane:last-child,
.tab-content > .tab-pane {
  display: none;
}
.tab-content > :last-child,
.tab-content > .tab-pane:target {
  display: block;
}

/*Accordion - style but actual HTML can/should be better */
.accordion-tabs {
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0,0,0,0.5);
  margin: 1rem 0;
}
.accordion-tab {
  width: 100%;
  color: var(--color-text);
  overflow: hidden;
  margin: 1rem 0;
}

.accordion-tab__label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: var(--color-soft-bg);
  border-bottom: 1px solid var(--color-table);
  font-weight: bold;
  cursor: pointer;
}

.accordion-tab__label:hover {
  background: var(--color-primary);
  color: var(--color-light);
}

.accordion-tab__label::after {
  content:"";
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' focusable='false' fill='%231f1646' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-size: cover;
  height: 1rem;
  width: 12px;
  margin-right: 6px;
  transform: rotate(90deg);
}

.accordion-tab__content {
  max-height: 0;
  padding: 0 1em;
  color: var(--color-text);
  background: white;
  transition: all .35s;
}
.accordion-tab__close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: var(--color-primary);
    cursor: pointer;
}
.accordion-tab__close:hover {
  background: var(--color-secondary);
}

/* :checked*/
.accordion-tab > input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.accordion-tab > input:checked ~ .accordion-tab__content {
  max-height: 100vh;
  padding: 1em;
}

.accordion-tab > input:checked ~ .accordion-tab__label {
  background: var(--color-secondary);
  color: var(--color-text);
}

.accordion-tab > input:checked ~ .accordion-tab__label::after  {
  transform: rotate(-90deg);
}

.logo a {
  text-decoration: none;
  display: flex;
}

.logomark {
  font-weight: bold;
  color: var(--color-primary);
  font-size: 30px;
  letter-spacing: -2px;
}

.sticky .logomark {
  color: var(--color-text);
}

.column {
  width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 800px) {
  .forecast-block {
    flex-direction: row;
  }

  .column {
    width: 50%;
  }
}

.hero-bg-image {
  padding: 1rem 1rem 2rem 1rem;
  background-size: cover;
  min-height: 230px;
  z-index: 1;
}

.featured-card {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-content: stretch;
  justify-content: center;
  padding: 3rem 0;
  max-width: initial;
  margin: 0;
}

.featured-card img {
  max-width: 450px;

}

.featured-card .text {
  position: relative;
}

.featured-card .text::after {
  content: "";
  background-image: radial-gradient(var(--color-primary) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  height: 250px;
  width: 250px;
  position: absolute;
  right: 0;
  top: 20%;
  z-index: -1;
}

.cards {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 3rem 0;
    max-width: initial;
    list-style: none;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.card {
  position: relative;
}

/* .card::after {
  content: "";
  background-color: #e5e5f7;
opacity: 0.8;
background: repeating-linear-gradient( -45deg, var(--color-soft-bg), var(--color-soft-bg) 2px, #fff 2px, #fff 10px );
  height: 200px;
  width: 200px;
  position: absolute;
  left: -50px;
  top: -20px;
  z-index: -1;
} */

.card:has(a:hover) {
  background-color: var(--color-primary);
}

.card .img {
  position: relative;
  top: 6px;
}

.card img {
  width: 100%;
}

.card h2 {
  margin: 0;
}
.card h3 {
  margin: 0;
}

.card a {
  color: var(--color-text);
}

.card .title {
  position: absolute;
  padding: 0.5rem 1rem;
  z-index: 1;
  line-height: 2.8rem;
}

.card .hero-bg-image:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(30,39,43,.3);
  mix-blend-mode: multiply;
}

.card:hover .hero-bg-image:before {
  background: transparent;
}

.card.spotlight {
  background-color: var(--color-text);
  color : var(--color-light);
}

.card.spotlight h3 {
  color: white;
}

.cta {
  flex-direction: column;
  padding: 3rem;
  background-color: var(--color-text);
  color: var(--color-secondary);
  position: relative;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.cta h2,
.cta h3 {
  text-decoration: none;
  margin-bottom: 0;
  color: var(--color-secondary);
}


.cta a:hover {
  background-color: var(--color-secondary);
}

.cta:before {
  content: "";
  position: absolute;
  right: 3rem;
  top: -20px;
  height:100%;
  width:10%;
  opacity: 0.8;
  background-image: radial-gradient(var(--color-secondary) 0.5px, transparent 0.5px);
  background-size: 10px 10px;
}

.cta * {
  z-index: 1;
}

.testimonial {
  flex-direction: column;
  padding: 4rem;
  background-color: var(--color-soft-bg);
  color: var(--color-text);
  position: relative;
  margin: 1rem;
  font-size: 1.2rem;
}

.testimonial h3 {
  text-decoration: none;
  margin-bottom: 0;
  color: var(--color-secondary);
}

.testimonial:before {
  content: "“";
  position: absolute;
  font-size: 14rem;
  top: -2rem;
  left: 0;
  color: var(--color-primary);
}


.tab-content a {
  color: var(--color-text);
}

.tabs__tab-link.active {
  background-color: rgba(236, 243, 245, 0.3);
  border-top: 3px solid var(--color-primary) ;
  border-right: 3px solid var(--color-primary) ;
  border-bottom: 0 !important;

}


/* tabs */
.tabs {
  /* margin: 0 0 2rem 0; */
  position: relative;
}
.nav-tabs {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: -1px;
  list-style: none;
  max-width: initial;

}
/* .nav-item, */
.tabs__tab {
  display: block;
  position: relative;
  margin-bottom: 1px;
  flex-grow: 1;
}

/* .nav-link, */
.tabs__tab-link {
  position: relative;
  display: block;
  padding: 1rem;
  border: 1px solid var(--color-secondary);
  border: 0 ;
  color: var(--color-text);
  border-bottom: 3px solid var(--color-primary) ;
}

/* .nav-link.active, */
.tabs__tab-link.active {
  background-color: white;
  border-bottom-color: white;
  text-decoration: none;
  font-weight: bold;
}

.tab-pane {
  /* z-index: 0; */
  /* background-color: white; */
  padding: 1rem;
  /* position: absolute; */
  /* top: 100px;
  width: 100%;
  height: 300px; */
}

.tab-pane:first-child {
  z-index: 1;
}
.tab-pane:target {
  z-index: 2;
}
.tab-content > .tab-pane {
  display: none;
}

.step-by-step {
  list-style: none;
  counter-reset: my-awesome-counter;
}

.step-by-step li {
  counter-increment: my-awesome-counter;
  margin-bottom: 0.5rem;
  position: relative;
  display: flex;
}
.step-by-step li::before {
  content: counter(my-awesome-counter);
  font-weight: bold;
  color: var(--color-secondary);
  text-shadow: 2px 2px var(--color-tertiary);
  font-size: 3rem;
  margin-right: 0.5rem;
  line-height: 1;
}

.step-by-step h3 {
  margin: 0;
}

.step {
  margin-top: 0.3rem;
}

.delivery-partners {
  padding: 0;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.delivery-partners__container {
  padding-block: 2rem;
}

.footer {
  padding: 1rem 0;
}

.footer-menu {
  background-color: var(--color-text);
}

.block-system-branding-block {
  display: flex;
  max-width: 100%;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .block-system-branding-block {
    max-width: 100%;
  }
}

.header-images__container {
  display: grid;
  position: relative;
}

.header-images__container > *{
  grid-row: 1;
  grid-column: 1/3;
}

.header-images {
  background-size: cover;
}

.header {
  background-color: var(--color-text);
  background-size: cover;
}
@media (min-width: 768px) {
  .header {
    clip-path: polygon(0 0, 80% 0%, 70% 101%, 0 101%);
  }
}

.image-1 {
  background-image: url('./../../images/shutterstock_1922947694_resized.png');
  background-position: center;

}

.image-2 {
  background-image: url('./../../images/shutterstock_1293827935_resized2.png');
  display: none;
}

@media (min-width: 768px) {
  .header {
    clip-path: polygon(0 0, 65% 0%, 45% 101%, 0 101%);
    min-height: 300px;
  }

  .block-system-branding-block {
    max-width: 45%;
  }
}

@media (min-width: 1079px) {
  .image-1 {
    clip-path: polygon(0 0, 85% 0, 65% 101%, 0 101%);
    background-position: center right;
  }

  .image-2 {
    display: block;
    clip-path: polygon(85% 0px, 100% 0, 100% 101%, 65% 101%);
    background-position: center;
  }
}

.header__iso {
  position: absolute;
  z-index: 1;
  inset-inline-end: 4px;
  inset-block-end: 4px;
  transform: translateY(4rem);
}

@media (width >= 768px) {
  .header__iso {
    transform: none;
  }
}

.follow-us {
  font-size: 1.2rem;
  font-size: clamp(1.2rem, 1.0909090909090908rem + 0.5454545454545455vw, 1.5rem);
  font-weight: bold;
}

.fact-box {
  background-color: var(--color-soft-bg);
  padding: 2rem;
  font-size: 1.4rem;
  position: relative;
  margin: 2rem;
}

.fact-box::after {
  content: "";
  /* background-image: radial-gradient(var(--color-primary) 0.5px, transparent 0.5px); */
  background-color: #e5e5f7;
  opacity: 0.8;
  background: repeating-linear-gradient( -45deg, var(--color-soft-bg), var(--color-soft-bg) 2px, #fff 2px, #fff 10px );
  /* background-size: 8px 8px; */
  height: 200px;
  width: 300px;
  position: absolute;
  right: -50px;
  top: -50px;
  z-index: -1;
}

.site-name {
  font-size: 2.25rem;
  font-size: clamp(2.25rem, 2.3181818181818183rem + 0.9090909090909091vw, 2.5rem);
  font-weight: bold;
  /* line-height: 1.8; */
}
.site-name a {
  text-decoration: none;
  color: white;
}

.site-slogan {
  font-size: 1.3rem;
  color: white;
  text-shadow: 2px 2px black;
}

@media (min-width: 800px) {
  .site-slogan {
    font-size: 1.6rem;
  }
}

@media (min-width: 800px) {
  .view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .view-resources   .view-content {
    display: block;
  }
}

.views-row {
  border-bottom: 1px solid var(--color-tertiary);
}

.views-row h3 {
  margin-bottom: 0.5rem;
}

.views-row a {
  text-decoration: none;
  text-shadow: 0 0 var(--color-secondary);
  transition: all 0.25s ease-in-out;
}

.views-row a:hover {
  color: var(--color-text);
  text-shadow: 2px 2px var(--color-secondary);
}

.view-events .views-row {
  background-color: var(--color-soft-bg);
  border-bottom: none;
  padding: 1rem;
}

.resource__list {
  list-style: none;
  padding: 0;
}
.resource__item {
  border-bottom: 1px solid var(--color-tertiary);
}
.resource__item a {
  text-decoration: none;
}
.align-right {
  margin-left: 1.5rem;
}

img.align-right {
  border-right: 4px solid var(--color-soft-bg);
  border-bottom: 4px solid var(--color-soft-bg);
}

.img-wrapper {
  position: relative;
}

.img-wrapper::after {
  content: "";
  background-color: #e5e5f7;
  opacity: 0.8;
  background: repeating-linear-gradient( -45deg, var(--color-soft-bg), var(--color-soft-bg) 2px, #fff 2px, #fff 10px );
  /* background-size: 8px 8px; */
  height: 200px;
  width: 300px;
  position: absolute;
  right: -50px;
  top: -50px;
  z-index: -1;
}

@media (min-width: 768px) {
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: var(--color-row);
    padding: 1rem;
    align-items: center;
  }
}

.path-frontpage .two-col {
  background-color: transparent;
}


table h3 {
  font-size: 1.2rem;
}
