/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../../files/gas_theme/fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../../files/gas_theme/fonts/open-sans-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../../files/gas_theme/fonts/open-sans-v40-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../../files/gas_theme/fonts/open-sans-v40-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../../files/gas_theme/fonts/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../../files/gas_theme/fonts/open-sans-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

h1, h2,
h3, h4 {
  text-wrap: balance;
}

a:not([class]) {
  color: currentColor;
  text-decoration-skip-ink: auto;
}

img,
picture {
  display: block;
  max-width: 100%;
}

input, button,
textarea, select {
  font: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

menu {
  margin: 0;
  padding: 0;
}

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

:root {
  font-size: 62.5%;

  --col-green:  #4EA24D;
  --col-blue:   #2255A8;
  --col-red:    #C71616;
  --col-yellow: #EAE21E;

  --col-copy: hsl(0, 0%, 3%);

  --col-t400: rgba(255,255,255,.5);
  --col-t700: rgba(255,255,255,.80);

  --fs-300: 1.2rem;
  --fs-400: 1.4rem;
  --fs-500: 1.6rem;
  --fs-600: 1.8rem;
  --fs-700: 2.0rem;
  --fs-800: 2.2rem;
}


@media screen and (min-width: 500px) {
  :root {
    --fs-300: 1.4rem;
    --fs-400: 1.6rem;
    --fs-500: 1.8rem;
    --fs-600: 2.0rem;
    --fs-700: 2.2rem;
    --fs-800: 2.4rem;
  }
}

@media screen and (min-width: 800px) {
  :root {
    --fs-300: 1.4rem;
    --fs-400: 1.8rem;
    --fs-500: 2.0rem;
    --fs-600: 2.2rem;
    --fs-700: 2.4rem;
    --fs-800: 2.6rem;
  }
}

body {
  font-family: "Open sans", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--col-copy);
  font-optical-sizing: auto;
}

:is(h1,h2,h3,h4) {
  display: block;
  font-weight: 600;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  font-weight: 500;
}

main {
  font-size: var(--fs-400);
}

h1 {
  position: relative;
  text-align: center;
  font-size: var(--fs-800);
  font-weight: 600;
  text-transform: uppercase;
}

h1::after {
  position: absolute;
  content: "";
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: .2rem;
  background-color: var(--col-green);
}

h1 + * {
  margin-top: 5rem;
}

h2 {
  font-size: var(--fs-500);
  text-transform: uppercase;
  font-weight: 600;
}

h2 + * {
  margin-top: calc(1.5 * var(--fs-400));
}

h3 {
  font-size: var(--fs-400);
  font-weight: 500;
}

p, .ce_text {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

P + * {
  margin-top: calc(1.5 * var(--fs-400));
}


.rte ul,
.content-downloads ul {
  padding-left: 2ch;
  list-style: square;
}

.rte ul li + *,
.content-downloads ul li + * {
  margin-top: calc(0.5 * var(--fs-400));
}

.rte ul ul,
.content-downloads ul ul {
  list-style: disc;
  margin-top: calc(0.5 * var(--fs-400));
}

.rte ol {
  padding-left: 3ch;
}
.rte ol li + * {
  margin-top: calc(0.5 * var(--fs-400));
}

.rte ol ol {
  list-style: lower-alpha;
  margin-top: calc(0.5 * var(--fs-400));
}

.rte ul + *,
.rte ol + * {
  margin-top: 1rem
}

/* Inside */
.inside {
  margin: 0 auto;
  padding: 0 1rem;
  width: min(100%, 120rem);
}

@media screen and (min-width: 500px) {
  .inside {
    padding: 0 3rem;
  }
}

/* Invisible */
.invisible {
  position: absolute;
  top: -999rem;
  left: -999rem;
}

/* Buttons */
.btn_link a {
  display: inline-block;
  transition: transform 0.2s;
  margin-top: 4rem;
  border-radius: 0.5rem;
  background-color: var(--col-green);
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  font-size: var(--fs-300);
  font-weight: 500;
}

.btn_link a:hover {
  transform: scale(1.1);
}

/* More */
.more a {
  text-decoration: none;
}

.more a:hover {
  text-decoration: underline;
}

/* Content */
.content-text,
.content-downloads {
  margin-right: auto;
  margin-left: auto;
  width: min(100%, 80ch);
}

.content-gallery {
  width: 100%;
}

.content-text img {
  border: 0.5rem solid var(--col-t400);
  border-radius: 1rem;
}

.content-text + *,
.content-downloads + *,
.content-gallery + * {
  margin-top: 3rem;
}

.content-text + .content-text,
.content-downloads + .content-downloads,
.content-gallery + .content-gallery {
  margin-top: 5rem;
}

figure + .rte {
  margin-top: 3rem;
}

.courses {
  border-radius: 1rem;
  background-color: var(--col-t400);
  padding: 2rem;
}

/* Hero */
.hero {
  isolation: isolate;
  position: relative;
  margin-bottom: 5rem;
}
.hero__bg {
  object-fit: cover;
  object-position: -25rem center;
  margin-top: -4rem;
  border: 0.5rem solid var(--col-t400);
  border-radius: 1rem;
  width: min(100%, 114rem);
  height: 25rem;
}

.hero__logo {
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  width: min(40%, 18.5rem);
  height: auto;
}

@media screen and (min-width: 390px) {
  .hero__bg {
    object-position: -10rem center;
  }
}

@media screen and (min-width: 560px) {
  .hero__bg {
    object-position: right center;
  }
}

@media screen and (min-width: 700px) {
  .hero__bg {
    width: min(100%, 114rem);
    height: min(100%, 40rem);
  }

  .hero__logo {
    width: max(18.5rem, 20%);
  }
}

/* Gallery */
.gallery {
  gap: 3rem;
  justify-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 500px) {
  .gallery {
    justify-items: center;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.gallery a {

  display: block;
  width: 100%;
  height: 100%;
}

.gallery a img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 0.5rem solid var(--col-t400);
  border-radius: 1rem;
  width: 100%;
  height: 100%;
}

/* Timetable */
.timetable {
  border: none;
  margin-left: auto;
  margin-right: auto;
}

.timetable td {
  padding: .5rem;
}

.timetable tr:nth-child(2n) td {
  border-style: solid none;
  border-width: 1px;
  border-color: (--col-copy);
}

.timetable tr:nth-child(2n):last-child td {
  border-bottom: none;
}

html, body {
  min-height: 100%;
}

body {
  background: linear-gradient(
    180deg,
    hsl(205, 100%, 89%) 0%,
    hsl(205, 100%, 81%) 35%,
    hsl(205, 100%, 81%) 75%,
    hsl(205, 100%, 89%) 100%
  );
  background-repeat: no-repeat;
}

#wrapper {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

/* Header */
#header {
  border-top: .8rem solid var(--col-blue);
  background: var(--col-t400);
}

#header .inside {
  isolation: isolate;
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 5rem;
}

@media screen and (min-width: 980px) {
  #header .inside {
    margin-right: auto;
    margin-left: auto;
    width: min(100%, 120rem);
  }
}

/* Main */
#container {
  flex: 1;
  margin-top: 6rem;
  margin-bottom: 6rem;
}

/* Mod Article */
.mod_article + .mod_article {
  margin-top: 5rem;
}

@media screen and (min-width: 600px) {
  .mod_article + .mod_article {
    margin-top: 10rem;
  }
}

/* Footer */
#footer {
  background-color: var(--col-blue);
  padding: 2rem;
  color: #fff;
}

#footer .inside {
  gap: 2rem;
  display: grid;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 500px) {
  #footer .inside {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
  }
}


#footer address {
  font-size: var(--fnt-400);
  font-style: normal;
}

#footer .phone span {
  display: inline-block;
  width: 3ch;
}

@media screen and (min-width: 800px) {
  #footer .inside {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Mobile nav */
.main_nav {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem 0;
  text-transform: uppercase;
}

.main_nav .active {
  font-weight: 500;
}

.main_nav[data-navactive] {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  display: block;
  background: var(--col-t700);
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
}

.main_nav a {
  text-decoration: none;
  color: var(--col-copy);
}

.main_nav a:visited {
  color: inherit;
}

.main_nav ul {
  gap: 1rem;
  display: flex;
  flex-flow: column;
  margin: 0;
  padding: 4rem;
  list-style: none;
}

.main_nav ul li {
  padding: 1.25rem 1rem 1.25rem 1rem;
}

.main_nav ul li span {
  display: flex;
}

.main_nav li.submenu span::after {
  display: inline-block;
  margin-left: auto;
  font-weight: 600;
  content:'+';
}

.main_nav .level_2 {
  display: none;
}

.main_nav ul.level_2 li span::after {
  display: none;
}

.main_nav ul li[subopened].submenu span::after {
  content:'-';
}

.main_nav ul li[subopened] .level_2  {
  display: block;
  padding: 1rem 0;
}

.main_nav ul li[subopened].submenu::after {
  transform: rotate(180deg);
}

/* Desktop nav */
@media screen and (min-width: 1200px) {
  .main_nav {
    display: block;
    position: relative;
  }

  .main_nav .level_2 {
    display: none;
    position: absolute;
    top: 4.8rem;
    left: 0rem;
    padding: .5rem 1rem;
    width: max-content;
  }

  .main_nav ul {
    flex-flow: row;
    padding: 0;
  }

  .main_nav ul li {
    isolation: isolate;
    position: relative;
    z-index: 10;
    padding: 1.25rem 1rem 1.25rem 1rem;
  }

  .main_nav li.submenu span::after {
    display: inline-block;
    transition: transform 150ms ease;
    margin-left: .5rem;
    content:'▾';
  }

  .main_nav ul li[subopened] {
    border-radius: .5rem .5rem  0 0;
    box-shadow: .75rem .75rem .75rem rgba(0, 0, 0, .25);
    background: #fff;
  }


  .main_nav ul li[subopened].submenu span::after {
    transform: rotate(180deg);
    content:'▾';
  }

  .main_nav ul li[subopened] .level_2  {
    display: block;
    border-radius: 0 .5rem .5rem .5rem;
    box-shadow: .75rem .75rem .75rem rgba(0, 0, 0, .25);
    background: #fff;
    padding: 1rem 0;
  }
}


/* Footer nav */
.mod_customnav {
  grid-column: 1 / -1;
  grid-row: 1;
}

.mod_customnav ul {
  gap: 2rem;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  text-transform: uppercase;
}

.mod_customnav ul li a {
  text-decoration: none;
}

@media screen and (min-width: 800px) {
  .mod_customnav {
    grid-column: 3 / -1;
  }
  .mod_customnav ul {
    justify-content: flex-end;
  }
}

/* Upcoming */
.events_upcoming {
  gap: 2rem;
  display: grid;
  grid-template-columns: minmax(auto, 40rem);
  justify-content: center;
}

@media (min-width: 600px) {
  .events_upcoming {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1140px) {
  .events_upcoming {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* Upcoming items */
.events_upcoming__item {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: auto 1fr;
  border-radius: 1rem;
  background-color: var(--col-t400);
  min-height: 2.5lh
}

.events_upcoming__item time {
  grid-column: 1;
  border-radius: 1rem 0 0 1rem;
  background-color: var(--col-t400);
  padding: .5rem;
  padding: 1rem;
  font-size: var(--fs-300);
  align-content: center;
}

.events_upcoming__item time > div {
  line-height: .3rem;
  text-align: center;
  margin-bottom: .75lh;
}

.events_upcoming__item__title {
  font-size: var(--fs-300);
  padding: 1.5rem;
}

/* List */
.events_list {
  gap: 2rem;
  display: grid;
  grid-template-columns: minmax(auto, 40rem);
  justify-content: center;
}

@media (min-width: 600px) {
  .events_list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1140px) {
  .events_list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

/* List items */
.events_list__item {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 1rem;
  background-color: var(--col-t400);
  min-height: 2.5lh
}

.events_list__item time {
  grid-row: 1;
  border-radius: 1rem 1rem 0 0;
  background-color: var(--col-t400);
  padding: .5rem;
  padding: 1rem;
  text-align: center;
}

.events_list__item > div {
  text-align: center;
  padding: 1rem;
}

/* Latest */
.news_latest {
  gap: 3rem;
  display: grid;
  grid-template-columns: minmax(auto, 40rem);
  justify-content: center;
}

@media (min-width: 600px) {
  .news_latest {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 860px) {
  .news_latest {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.news_latest__item {
  gap: 2rem;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto 1fr;
  border-radius: 1rem;
  background-color: var(--col-t400);
  padding: 2rem;
}

.news_latest__item__header figure {
  margin-bottom: 1.5rem;
}

.news_latest__item__content .image_container {
  width: 100%;
}

.news_latest__item__header .image_container {
  aspect-ratio: 1.4 / 1;
}

.news_latest__item__header img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem .5rem 0 0;
}

.news_latest__item__header a {
  text-decoration: none;
}

.news_latest__item__content {
  gap: 2rem;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  display: grid;
  margin-top: 1rem;
}

.news_latest__item > .more {
  align-self: end;
}

/* Full */
.news_full {
  width: min(100%, 70ch);
  margin: 0 auto;
  font-size: var(--ftn-400);
}

.news_full__header .info {
  text-align: center;
  font-size: var(--fs-300);
  margin-bottom: 1rem;
}


.news_full__header + * {
  margin-top: 5rem;
}

.news_full img {
  border-radius: 1rem;
  border: .5rem solid  var(--col-t400);
}

.news_full .content-text {
  margin-top: 3rem;
}

/* Archive */
.news_archive__list {
  margin-top: 3rem;
}

.news_archive__list h2 + * {
  margin-top: 3rem;
 }

.news_archive__list a {
  text-decoration: none;
}

.news_archive__list__item + * {
  margin-top: 1rem;
}

.nav_toggle {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  transition: transform 200ms ease-in-out;
  z-index: 20;
  margin-left: auto;
  background: none;
  width: 3rem;
  height: 3rem;
}

@media screen and (min-width: 500px) {
  .nav_toggle {
    right: 3rem;
  }
}

.nav_toggle__top,
.nav_toggle__middle,
.nav_toggle__bottom {
  position: absolute;
  top: 0;
  transform-origin: 50% 50%;
  transition: transform 300ms ease;
  background: #333;
  width: 100%;
  height: .2rem;
}

.nav_toggle__top {
  transform: translate(0, 0.5rem) scalex(0.9);
}

.nav_toggle__middle {
  transform: translate(0, 1.3rem) scalex(0.9);
  transition: transform 50ms ease 50ms;
}

.nav_toggle__bottom {
  transform: translate(0, 2.1rem) scalex(0.9);
}

.nav_toggle[data-navactive] {
  transform: translateY(-50%) rotate(-180deg) scale(0.75);
  z-index: 1000;
}

.nav_toggle[data-navactive] .nav_toggle__top {
  transform: translate(0, 1.3rem) rotate(45deg) scalex(1);
}

.nav_toggle[data-navactive] .nav_toggle__middle {
  transform: translate(0, 1.3rem) scalex(0);
  transition: transform 50ms ease;
}

.nav_toggle[data-navactive] .nav_toggle__bottom {
  transform: translate(0, 1.3rem) rotate(-45deg) scalex(1);
}

@media screen and (min-width: 1200px) {
  .nav_toggle {
    display: none;
  }
}

.embla {
  margin: 10rem auto 0 auto;
  width: 100%;
  overflow-x: hidden;
}

.embla__container {
  display: flex;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.embla__dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
  margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
}

.embla__dot {
  -webkit-tap-highlight-color: rgba(255,255,255, 0.5);
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  display: inline-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  width: 2.6rem;
  height: 2.6rem;
  text-decoration: none;
}

.embla__dot:after {
  display: flex;
  align-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.2rem rgba(255,255,255,.5);
  width: 1.4rem;
  height: 1.4rem;
  content: '';
}

.embla__dot--selected:after {
  box-shadow: inset 0 0 0 0.2rem rgba(255,255,255,.95);
}

.embla__button {
  border: none;
  background: none;
}

/* Home */
.slider--home .embla__slide {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  justify-content: center;
  margin-left: -1rem;
}

@media screen and (min-width: 730px) {
  .slider--home {
    margin-right: auto;
    margin-left: auto;
    width: min(100%, 73rem);
  }
  .slider--home .embla__slide {
    display: flex;
    align-items: center;
    flex: 0 0 50%;
    justify-content: center;
    margin-left: -1rem;
  }
}

@media screen and (min-width: 1200px) {
  .slider--home {
    width: 100%;
  }
  .slider--home .embla__slide {
    display: flex;
    align-items: center;
    flex: 0 0 33%;
    justify-content: center;
    margin-left: -1rem;
  }
}

