/* base styles */
html:has(.gff-page) {
  scroll-padding-top: calc(var(--header-height) + 30px);
}

html:has(.path-homepage) {
  scroll-padding-top: calc(var(--header-height) - 2px);
}

:root {
  --page-max: 1920px;
}

.cursor-default {
  cursor: default;
}

/* positions */
.p-relative {
  position: relative;
}

.p-static {
  position: static !important;
}

/* text transform */

.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-normalcase {
  text-transform: none;
}

/* flex */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* border-radius */
:root {
  --radius-xxs: 10px;
  --radius-xs: 16px;
  --radius-sm: 18px;
  --radius-md: 25px;
  --radius-lg: 53px;
  --radius-xl: 85px;
  --radius-22: 22px;
  --radius-24: 24px;
  --radius-34: 34px;
  --radius-68: 68px;
}

[class*=" radius-"] {
  overflow: hidden;
}

.border-cirle {
  border-radius: 100%;
}

.radius-xxs {
  border-radius: var(--radius-xxs);
}

.radius-xs {
  border-radius: var(--radius-xs);
}

.radius-sm {
  border-radius: var(--radius-sm);
}

.radius-md {
  border-radius: var(--radius-md);
}

.radius-lg {
  border-radius: var(--radius-lg);
}

.radius-xl {
  border-radius: var(--radius-xl);
}

.radius-22 {
  border-radius: var(--radius-22);
}

.radius-24 {
  border-radius: var(--radius-24);
}

.radius-34 {
  border-radius: var(--radius-34);
}

.radius-68 {
  border-radius: var(--radius-68);
}

/* width */
.w-full {
  width: 100%;
}

.w-60 {
  width: 60px;
}


/* height */

.h-60 {
  height: 60px;
}

.m-h-30 {
  min-height: 30px;
}

.max-h-100 {
  max-height: 100px;
}

.max-h-110 {
  max-height: 110px;
}

.max-h-120 {
  max-height: 120px;
}

.max-h-400 {
  max-height: 400px;
}

/* grid */

.grid-layout-block {
  --col-count: 2;
  --gap: 0;
  --grid-template-columns: repeat(var(--col-count), 1fr);
  display: grid;
  grid-template-columns: var(--grid-template-columns);
  grid-gap: var(--gap);
}

/* border-separated-content */
.border-separated-content {
  --padding-x: var(--sp8);
}

.border-separated-content>* {
  border-right: 1px solid var(--border-color);
  padding-right: var(--padding-x);
  overflow: hidden;
}

.border-separated-content.col-pr-2>*:nth-child(2n) {
  border-right: 0;
  padding-right: 0;
  padding-left: var(--padding-x);
}

/* list */
.list-type-none {
  list-style-type: none;
}

.li-separation-border {
  --min-height: 50px;
  --li-py: var(--sp3);
  --li-px: var(--sp3);
}

.li-separation-border>li {
  min-height: var(--min-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--li-py) var(--li-px);
  border-bottom: 1px solid var(--border-color, var(--border-default));
}

.li-separation-border>li:first-child {
  border-top: 1px solid var(--border-color, var(--border-default));
}

/* text-u */

.underline {
  --offfset: 6px;
  --tickness: 1px;
  text-underline-offset: var(--offfset);
  text-decoration: underline !important;
  text-decoration-thickness: var(--tickness) !important;
}

.u-offset-2 {
  --offfset: 2px;
}

.u-offset-5 {
  --offfset: 5px;
}

.u-offset-7 {
  --offfset: 7px;
}

.u-offset-10 {
  --offfset: 10px;
}

.u-tickness-1 {
  --tickness: 1px;
}

.u-tickness-half {
  --tickness: 0.5px;
}

.underline-border {
  position: relative;
}

.underline-border:before {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 100%;
  margin-top: 4px;
  background: var(--border-color);
}

/* trim */

.trim-text {
  display: -webkit-box;
  -webkit-line-clamp: var(--line-max);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-max-6 {
  --line-max: 6;
}

.line-max-5 {
  --line-max: 5;
}

.line-max-1 {
  --line-max: 1;
}

.line-max-2 {
  --line-max: 2;
}

.line-max-3 {
  --line-max: 3;
}

.line-max-4 {
  --line-max: 4;
}

.line-max-8 {
  --line-max: 8;
}

/* image bg */

.section-with-bg-image {
  position: relative;
  min-height: calc(100vh - var(--header-height))
}

.section-with-bg-image .views-row-inner {
  position: static !important;
}

.section-with-bg-image .section-view-content {
  position: relative;
}

.section-with-bg-image .section-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-with-bg-image .section-bg-image:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gradient-color, var(--gradient-blue));
}

.section-with-bg-image .bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* scrollbar */
.site-scrollbar {
  --scrollbar-width: 5px;
  --scrollbar-track-bg: #e0e0e0;
  --scrollbar-thumb-bg: var(--clr-primary);
  --scrollbar-thumb-radius: 8px;
  /* overflow: hidden; */
  overflow: auto;
  padding-right: 7px;
}

.site-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.site-scrollbar::-webkit-scrollbar-track {
  background: var(--scrollbar-track-bg);
}

.site-scrollbar::-webkit-scrollbar-thumb {
  width: 2px;
  background-color: var(--scrollbar-thumb-bg);
  border-radius: var(--scrollbar-thumb-radius);
  border: 2px solid var(--transparent-white);
}

/* Remove scrollbar buttons/arrows (in older browsers that support them) */
.site-scrollbar::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

/* chapter tab content */
.tab-content-chapter .tab-content-chapter-item:not(.active-chapter-content-item) {
  display: none;
}

.tab-content-chapter-item:has(.readmore-body-text):not(.readmore-content-processed) {
  display: block;
}

/* 2 col */
.content--two-col-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: var(--sp10);
}

/* pattern */
.section-pattern {
  --pattern-width: 560px;
  --pattern-height: 387px;
  --pattern-img: url(/themes/custom/gff/components/redesign/base/img/patterns/pattern-top.svg);
  position: relative;
}

.section-pattern:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--pattern-width);
  height: var(--pattern-height);
  background: var(--pattern-img) no-repeat center center transparent;
  pointer-events: none;
}

.pattern-top:after {
  left: var(--px, 70px);
}

.pattern-right {
  --pattern-width: 281px;
  --pattern-height: 408px;
  --pattern-img: url(/themes/custom/gff/components/redesign/base/img/patterns/pattern-right.svg);
}

.pattern-right:after {
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}

/* card-border-style */
.card-border-style {
  --this-padding: 15px var(--sp10) var(--sp10) var(--sp10);
  background: var(--card-bg, var(--clr-white));
  border-radius: var(--radius-xxs);
  padding: var(--card-padding, var(--this-padding))
}


/* sections styling */
.sub-chapers-grouping .parallax-row,
.sub-chapers-grouping .parralax-row {
  position: static !important;
}

.page-main-chapter:has(.content-image-module) {
  padding-top: var(--sp12);
  padding-bottom: var(--sp12);
}

.page-main-chapter .sub-chapers-grouping .sub-chaper {
  margin-bottom: var(--sp11);
  padding-bottom: var(--sp10_5);
  border-bottom: 1px solid var(--section-main-border-clr, var(--border-default));
}

.page-main-chapter .sub-chapers-grouping .sub-chaper:last-child {
  border: none;
  margin: 0;
  padding: 0;
}

.page-main-chapter .sub-chapers-grouping .sub-chaper.section-with-bg-image {
  margin-bottom: 0;
  border-bottom: none;
}

/* content-layout--grid */
.content-layout--grid .sub-chapers-grouping .sub-chaper {
  margin-bottom: var(--sp6);
  border-bottom: none;
}

/* z-index */
.content-layout--grid .section-view-content {
  position: relative;
}

.content-layout--grid .visulisation-widgets {
  position: relative;
  z-index: 1;
}

.content-layout--grid .visulisation-widgets:has(.custom-modal-overlay.show) {
  z-index: unset;
}

/* hidden */
.visually-hidden-field {
  opacity: 0;
  pointer-events: none;
}

/* notes-asterik */
.notes-asterik {
  font-size: 16px;
  top: 0;
  color: #ff0000;
}

/* skip intro */
.skip-intro-option {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 20px;
  display: flex;
  justify-content: center;
  transition: opacity 0.5s linear 0s;
}

.skip-intro-option.is-hidden {
  opacity: 0;
}

.skip-intro {
  position: relative;
  color: var(--clr-white);
  cursor: pointer;
  z-index: 1;
}

.skip-intro p {
  font-size: 14px;
  margin: 0;
  color: var(--clr-white);
}

.skip-intro__icon {
  position: relative;
}

.skip-intro__icon:before {
  top: -62px;
  height: 55px;
  width: 32px;
  border-radius: 15px;
  border: 2px solid var(--clr-white);
}

.skip-intro__icon:after,
.skip-intro__icon:before {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 999;
}

.skip-intro__icon:after {
  top: -52px;
  height: 12px;
  width: 3px;
  background-color: var(--clr-white);
  -webkit-animation-name: e;
  -moz-animation-name: e;
  animation-name: e;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: normal;
  -moz-animation-direction: normal;
  animation-direction: normal;
}

@-webkit-keyframes e {
  0% {
    opacity: 0;
    top: -55px;
    height: 12px
  }

  50% {
    opacity: 1
  }

  to {
    opacity: 0;
    height: 10px;
    top: -40px
  }
}

@-moz-keyframes e {
  0% {
    opacity: 0;
    top: -55px;
    height: 12px
  }

  50% {
    opacity: 1
  }

  to {
    opacity: 0;
    height: 10px;
    top: -40px
  }
}

@keyframes e {
  0% {
    opacity: 0;
    top: -55px;
    height: 12px
  }

  50% {
    opacity: 1
  }

  to {
    opacity: 0;
    height: 10px;
    top: -40px
  }
}



@media only screen and (min-width: 1921px) {

  /* center */
  html {
    background: #d6d6d6;
  }

  body {
    background: var(--clr-white);
  }

  .secondary-menu-fixed .secondary-menu-block,
  .padding-around .parallax-active .parallax-img,
  .parallax .hero-image,
  header.navbar,
  .dialog-off-canvas-main-canvas,
  .region-secondary-navigation {
    max-width: var(--page-max) !important;
    margin: 0 auto !important;
    width: 100%;
  }

  .region-secondary-navigation,
  .secondary-menu-fixed .secondary-menu-block,
  header.navbar {
    right: 0;
  }

  .padding-around .parallax-active .parallax-img,
  .parallax .hero-image {
    max-width: calc(var(--page-max) - (2 * var(--arround-padding))) !important;
  }

  body .explore-links-module.sticky {
    right: calc(var(--sec-nav-spx) + 50% - 1920px / 2);
  }
}
