/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

/*
 * Variables
 */
:root {
  /* COLORS */

  --primary-color: #0ba263;
  --primary-color-contrast: #fff;
  --primary-color-shade: #087145;
  --primary-color-tint: #54be92;

  /* When changing color; also generate new shade and tint with https://maketintsandshades.com/ (using 30% value). This is used for hover */
  /*
    --primary-color: #E50F21;
    --primary-color-contrast: #fff;
    --primary-color-shade: #a00b17;
    --primary-color-tint: #ed5764; 
    */
  --background-color: white;
  --text-color: #0F0F0F;
  --link-text-color: #102142;

  --border-radius: 8px;


  /* FONTS */
  --primary-font-family: 'Bebas Neue', sans-serif;
  --secondary-font-family: 'Almarai', sans-serif;
}

/*
* Essentials
*/
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--secondary-font-family);
  font-weight: 400;
  font-size: 18px;
  background-color: var(--background-color);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
.my-env h1,
.my-env h2,
.my-env h3,
.my-env h4,
.my-env h5,
.my-env h6 {
  font-family: var(--primary-font-family);
  color: var(--primary-color);
  word-wrap: break-word;
}

a,
.my-env a {
  color: var(--link-text-color);
  text-decoration: none;
}

a:hover,
.my-env a:hover {
  text-decoration: underline;
  color: var(--link-text-color);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--primary-color);
  text-decoration: none;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-width: 1px;
    padding: 7px;
}

#my-env-calendar-occurence-enroll {
  display: none !important;
}


/*
* Bootstrap overwrites
*/
.btn {
  border-radius: 4px;
  font-family: var(--primary-font-family);
}

.btn-primary,
.my-env .btn-primary {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--primary-color-contrast);
}

.btn-outline-primary,
.my-env .btn-outline-primary {
  background-color: var(--primary-color-contrast);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:focus,
.btn-outline-primary:hover,
.my-env .btn-primary:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--primary-color-contrast);
}

.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:focus,
.btn-primary:hover,
.my-env .btn-primary:hover {
  background-color: var(--primary-color-contrast);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary,
.my-env .btn-secondary {
  background-color: var(--secondary-color-contrast);
  border: 0;
  color: var(--secondary-color);
}

.btn-secondary:active,
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:focus,
.btn-secondary:hover,
.my-env .btn-secondary:hover {
  background-color: var(--secondary-color-tint);
  color: var(--secondary-color-contrast);
}

/*
* Bootstrap extensions
*/
.py-8 {
  padding-block: 5rem;
}

.pt-8 {
  padding-top: 5rem;
}

.pb-8 {
  padding-bottom: 5rem;
}

.my-8 {
  margin-block: 5rem;
}

.mt-8 {
  margin-top: 5rem;
}

.mb-8 {
  margin-bottom: 5rem;
}

.align-justify {
  text-align: justify;
}

/* 
* Backward compatibiltiy for bootstrap v5
*/
.float-right {
  float: right;
}

.float-left {
  float: left;
}


/* 
* Basics
*/

/* NAVBAR SECTION */
.navigation-wrapper {
  max-width: unset !important;
}

/* Top Navbar */
#top-navbar {
  display: block;
}

#top-navbar {
  height: 54px;
  padding-top: 10px;
  background: var(--primary-color);
  transition: height 0.5s ease, padding 0.5s ease;
  overflow: hidden;
}

#top-navbar .top-navbar-content>div {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

#top-navbar a {
  display: block;
  border-radius: 16px 16px 0 0;
  padding: 10px 16px;
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--primary-font-family);
}

#top-navbar a:hover {
  background-color: var(--primary-color-tint);
}

#top-navbar a.active {
  margin-left: 56px;
  background-color: white;
  color: var(--primary-color);
}

#top-navbar-mobile {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  font-family: var(--primary-font-family);
  display: none;
}

.top-navbar-mobile-content {
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 16px;
  padding-top: 4rem;
}

#top-navbar-mobile a {
  color: var(--primary-color-contrast);
}

#top-navbar-mobile a.active {
  color: var(--primary-color);
  background-color: var(--primary-color-contrast);
  width: fit-content;
  padding: 8px 16px;
  border-radius: 16px 16px 0 0;
}

.navbar-close-offcanvas:before,
.navbar-close-offcanvas:after {
  background-color: var(--primary-color-contrast) !important;
}



/* Main Navbar */
.main-navbar {
  border-bottom: 5px solid var(--primary-color);
  background-color: #fff;
  height: 75px;
  display: block;
  width: 100%;
}

.main-navbar .navbar-brand img,
.main-navbar .navbar-brand figure {
  max-height: 50px;
  margin: 0;
}

.main-navbar .navbar-nav {
  justify-content: start;
}

.main-navbar .navbar-nav .nav-link {
  margin: 0 5px;
  color: var(--primary-color);
  font-weight: 500;
  font-family: var(--primary-font-family);
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link:focus {
  color: unset;
}

.main-navbar .navbar-nav .dropdown-item.active,
.dropdown-item:active {
  background-color: var(--primary-color-tint);
}

.main-navbar .navbar-nav .nav-item .btn-primary {
  font-weight: 700;
  font-size: 1.05rem;
}

.main-navbar .simple-menu-list {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: center;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
}

.main-navbar .simple-menu-list-item>* {
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
  font-family: var(--primary-font-family);
}

.navbar-toggler {
  border: 0;
}

.navbar-hamburger {
  cursor: pointer;
}

.navbar-hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  display: block;
  margin: 5px auto;
}

.navbar-close-offcanvas {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.navbar-close-offcanvas:before,
.navbar-close-offcanvas:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 33px;
  width: 2px;
  background-color: var(--primary-color);
}

.navbar-close-offcanvas:before {
  transform: rotate(45deg);
}

.navbar-close-offcanvas:after {
  transform: rotate(-45deg);
}

#main-content {
  margin-right: 26px;
  margin-left: 26px;
  flex: 1;
}

#main-content>* {
  max-width: 1140px;
  margin: 0 auto;
}

.youtube-video-iframe {
  max-width: 650px;
  margin-left: 0;
}

/* FOOTER */
.main-footer {
  max-width: unset !important;
}

.footer-stacked-waves {
  width: 100%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.footer-content-wrapper {
  background-color: var(--primary-color);
  z-index: 10;
  font-size: 16px;
}

.footer-content * {
  color: #fff;
}

.footer-content .footer-social-links svg {
  max-width: 2rem;
  fill: #fff;
}

.footer-content p {
  font-weight: 300;
}

.footer-content .contact-wrapper svg {
  width: 18px;
  margin-right: 8px;
}

.footer-content .contact-wrapper p {
  margin-bottom: 0px;
}

.footer-content .contact-wrapper svg path {
  fill: #fff;
}

.footer-content ul {
  list-style: none;
  margin-inline: 0;
  padding-inline: 0;
}

.footer-content li {
  margin-bottom: 6px;
}

.footer-content li a:hover {
  color: inherit;
}

.bottom-footer {
  text-align: center;
}

.bottom-footer p {
  margin-bottom: 0;
}

.foys-footer {
  color: var(--primary-color-contrast);
  background-color: var(--primary-color);
  max-width: none;
  text-align: center;
  font-size: 15px
}

.foys-footer a {
  color: var(--primary-color-contrast);
}

/* 
* 👇 INSERT CUSTOM CSS FOR ALL SCREEN SIZES BELOW 👇
*/
/* HEADER */
.header-image-container {
  width: 100%;
  height: 500px;
  background-image: url('https://images.foys.io/foys-staging/a43d4588-3155-4381-d6e3-08dd33b43250/957e961d-d4c2-4343-b3d8-548880544721.JPG?w=1600');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.header-image-wave {
  width: 200%;
  position: absolute;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* Fix for some screen renders */
  margin-bottom: -1px;

  /* Animation Variables */
  --wave-animation-duration-1: 25s;
  --wave-animation-duration-2: 15s;
  --wave-animation-duration-3: 35s;
}

.header-image-wave-1 {
  background-image: url('https://foys.imgix.net/6ac183df-350e-4575-5bfc-08dc798b6c79/2d56c18d-4681-4a5a-a378-d47c6bd7fa1b.svg');
  height: 200px;
  animation-duration: var(--wave-animation-duration-1);
  animation-name: headerWave1;
  animation-timing-function: cubic-bezier(.03, .29, .8, .99);
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

@keyframes headerWave1 {
  from {
    right: 0%;
  }

  to {
    right: -100%;
  }
}


.header-image-wave-2 {
  background-image: url('https://foys.imgix.net/6ac183df-350e-4575-5bfc-08dc798b6c79/974df7bc-dc5e-4467-abed-8c420ad21f8f.svg');
  height: 240px;
  animation-duration: var(--wave-animation-duration-2);
  animation-name: headerWave2;
  animation-timing-function: cubic-bezier(.03, .29, .8, .99);
  animation-direction: alternate;
  animation-iteration-count: infinite;

}

@keyframes headerWave2 {
  from {
    right: 0%;
  }

  to {
    right: -100%;
  }
}


.header-image-wave-3 {
  background-image: url('https://foys.imgix.net/6ac183df-350e-4575-5bfc-08dc798b6c79/329288e8-e9a7-4f72-8bf1-ac5cb010cdda.svg');
  height: 320px;
  animation-duration: var(--wave-animation-duration-3);
  animation-name: headerWave3;
  animation-timing-function: cubic-bezier(.03, .29, .8, .99);
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

@keyframes headerWave3 {
  from {
    left: 0%;
  }

  to {
    left: -100%;
  }
}


.header-logo img {
  max-width: 80vw;
  max-height: 200px;
}

/* CALENDAR WIDGET */
.calendar-event {
  margin-bottom: 3rem;
}

.calendar-event .big-date {
  min-width: 100px;
  font-weight: 600;
  font-family: var(--primary-font-family);
  font-size: 1.1em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-event .big-date .big-date-day {
  font-size: 1.5em;
}

.calendar-event .big-date .big-date-month {
  font-size: 1.05em;
  font-weight: normal;
}

.calendar-event .event-title {
  font-size: 1.8em;
}

/* NEWS ITEM WIDGET */
.news-item-image-div {
  height: 200px;
  background-position: center;
  background-size: cover;
}

.news-title a {
  font-family: var(--primary-font-family);
  color: var(--primary-color) !important;
  word-wrap: break-word;
  font-size: calc(1.375rem + 0.5vw);
}

.news-date {
  font-weight: 900;
  font-size: 0.95em;
}

.news-short-description-content {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-read-more {
  margin-top: 10px;
}

/* GET APP BUTTON */
.get-app-btn {
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  gap: 0.5rem;
  transition: all 0.2s linear;
}

.get-app-btn:hover {
  text-decoration: none;
  background-color: #fff;
}

.get-app-btn:hover * {
  text-decoration: none;
  color: #000;
}

.get-app-btn.get-app-btn-apple svg path {
  fill: #fff;
}

.get-app-btn:hover.get-app-btn-apple svg path {
  fill: #000;
}

.get-app-btn-subtitle {
  font-size: 0.6rem;
}

.get-app-btn-store {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* STACKED WAVES */
.stacked-wave-top-container {
  max-width: none;
  overflow-x: hidden;
  margin-top: 75px;
}

/* Fix for unsetting max-width of parent container */
div:has(> .stacked-wave-top-container) {
  max-width: unset !important;
}

/* WIDGET SVN SHOW PAGE */
.widget-svn-show-page img {
  max-width: 100% !important;
  height: 100% !important;
}


/* VISPAS CONTENT BLOCK */
div:has(> .home-vispas-wrapper) {
  max-width: unset !important;
}

.home-vispas-wrapper {
  background-color: var(--primary-color);
  max-width: unset !important;
  margin-left: -26px !important;
  margin-right: -26px !important;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.home-vispas-container {
  max-width: 1020px;
  margin: 0 auto;
}

.home-vispas-container * {
  color: var(--primary-color-contrast);
}


.home-vispas-btn {
  background-color: #fff !important;
  color: var(--primary-color);
}

.home-vispas-img {
  max-width: 100%;
}


@media all and (max-width: 1200px) {
  /*
    * 👇 CUSTOM CSS FOR BELOW EXTRA LARGE 👇
    */

}

@media all and (max-width: 992px) {

  /*
    * 👇 CUSTOM CSS FOR BELOW LRAGE 👇
    */
  #top-navbar {
    display: none;
  }

  #top-navbar-mobile {
    display: block;
  }

  .main-navbar .dropdown-menu {
    border: 0;
  }

  .navbar-nav {
    overflow-y: scroll;
  }

  .main-navbar-container {
    justify-content: end;
  }

  .main-navbar .navbar-brand {
    margin-right: auto;
  }

  .main-navbar .simple-menu-list {
    flex-direction: column;
    padding-left: 0px;
    margin-top: 2rem;
  }

  .main-navbar .simple-menu-list-item>* {
    margin-left: 11px;
  }
}

@media all and (max-width: 768px) {

  /*
  * 👇 CUSTOM CSS FOR BELOW MEDIUM 👇
  */
  .header-image-container {
    height: 400px;
  }
}

@media all and (max-width: 576px) {
  /*
  * 👇 CUSTOM CSS FOR BELOW SMALL👇
  */

  .header-image-container {
    height: 300px;
  }
}