/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Teko:wght@300..700&display=swap');

/* 
 * Variables 
 */

:root {  
  --primary-color: #110837;
  --primary-color-contrast: #fff;
  --primary-color-shade: #0c0627;
  --primary-color-tint: #585273;
  /* Colors */
  --text-color-white: #FFFFFF;
  --background-color-white: #FFFFFF;

  --text-color-dark: #171717;
  --background-color-dark: #171717;

  --text-color-light: #a3a3a3;
  --background-color-light: #a3a3a3;

  --text-color-theme: #110837;
  --background-color-theme: #110837;

  --link-text-color: var(--text-color-theme);
  --hover-text-color: #0c0627;

  --main-button-color: var(--text-color-theme);
  --main-button-hover-color: var(--hover-text-color);

  --secondary-button-color: var(--text-color-theme);
  --secondary-button-hover-color: #585273;

  /* Fonts */
  --body-font: "Poppins", Arial, sans-serif;
  --header-font: "Teko", Arial, sans-serif;
  --button-font: var(--header-font);

  /* Boostrap variables */
  --bs-primary: #110837 !important;
  --bs-dropdown-link-active-bg: #110837 !important;
  
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--header-font);
  word-wrap: break-word;
}

h1 {
  color: var(--text-color-theme);
}

h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color-dark);
}

b,
strong {
  font-weight: 600;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

/* Links */
a {
  color: var(--link-text-color);
  text-decoration: underline;
}

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

img {
  max-width: 100%;
}

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

/* Buttons */
.btn {
  border-radius: 4px;
  font-family: var(--button-font);
}

.btn-primary {
  background-color: var(--main-button-color);
  border: none;
  color: var(--text-color-white);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background-color: var(--main-button-hover-color);
  color: var(--text-color-white);
}

.btn-secondary {
  background-color: var(--secondary-button-color);
  border: none;
  color: var(--text-color-white);
}

.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:hover {
  background-color: var(--secondary-button-hover-color);
  color: var(--text-color-white);
}

.btn-outline-primary {
  background-color: none;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
  background-color: var(--main-button-color);
  border: none;
  color: var(--text-color-white);
}

/* Utility classes */
.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;
}

.br-0 {
  border-radius: 0 !important;
}

.br-05 {
  border-radius: 4px !important;
}

.br-1 {
  border-radius: 8px !important;
}

.br-2 {
  border-radius: 16px !important;
}

.br-3 {
  border-radius: 24px !important;
}

.transparent-90 {
  opacity: 0.90;
}

.transparent-75 {
  opacity: 0.75;
}

.transparent-50 {
  opacity: 0.50;
}

.transparent-25 {
  opacity: 0.25;
}

.transparent-10 {
  opacity: 0.10;
}

.bg-white {
  background-color: var(--background-color-white) !important;
}

.bg-dark {
  background-color: var(--background-color-dark) !important;
}

.bg-theme {
  background-color: var(--background-color-theme) !important;
}

.text-white {
  color: var(--text-color-white) !important;
}

.text-dark {
  color: var(--text-color-dark) !important;
}

.text-theme {
  color: var(--text-color-theme) !important;
}



.standard-image {
  border-radius: 16px;
  max-height: 350px;
  min-width: 100%;
  object-fit: cover;
  overflow: hidden;
  margin-bottom: 24px;
}

#main-content {
  margin-top: 120px;
  padding-bottom: 60px;
}

#main-content>* {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

#main-content img {
  max-width: 100% ;
  max-height: 100%;
  height: unset;
}

/* 
 * Navbar 
 */


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

.main-navbar .navbar-nav {
  display: flex;
  align-items: center;
}

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

.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 .nav-item .btn-primary {
  font-weight: 700;
  font-size: 1.05rem;
}

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

.main-navbar .simple-menu-list-item>* {
  color: var(--text-color-dark);
  font-size: 16px;
  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);
}

.navbar-btn-container {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #110837;
}


/* Header */
.header-row {
  background-image: url('https://foys-prod.imgix.net/f69e6695-c341-4f55-a7f8-5db4527f5b43/b960420e-037f-41be-a4f6-786b66f8e9e8.jpg?w=1600');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: unset !important;
  margin-bottom: 3rem !important;
}

/* Footer */
.main-footer {
  color: var(--text-color-light);
}

.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6 {
  color: var(--text-color-white);
}

.foys-footer {
  background-color: var(--background-color-dark);
  color: var(--text-color-white);
  text-align: center;
  max-width: unset;
}

.foys-footer a {
  color: var(--text-color-theme);
}

.main-footer .widget-website-logo {
  max-height: 150px;
  max-width: 150px;
}

.footer-logo {
  max-width: 100%;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-image {
  vertical-align: top !important;
}

.image-container-footer img {
  border-radius: 0px;
  width: auto;
  height: 50%;
}

.image-container-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.image-container-footer a {
  width: 137px;
}

/* 
 * Aside
 */

.side-container {
  border: 1px solid rgba(0, 0, 0, 0.175);
  border-radius: 12px;
  padding: 12px;
  background-color: #fcfcfd;
}

.side-container .news-item {
  display: flex;
}

.side-container .news-image-container {
  max-width: 50px;
  margin-right: 5px;
}

.side-container .news-title {
  padding-top: 0px;
}

.side-container .news-item-image-div {
  height: 100%;
}

.side-container .side-item-container {
  margin-bottom: 2rem;
}

/* 
 * Social links
 */
.social-link-icon img {
    max-width: 40px !important;
    max-height: 40px !important;
    margin-right: 10px;
    }

/* 
 * News
 */
.website-news-items-widget .news-item {
  display: flex;
  flex-direction: column;
}

.website-news-items-widget .news-item-image-div {
  height: 250px;
  border-radius: 8px;
  background-size: cover;
  background-repeat: no-repeat;
}

.website-news-items-widget .news-item.border,
.calendar-event.border {
  border: 0 !important;
}

.website-news-items-widget .news-image-container {
  width: 100%;
}

.website-news-items-widget .news-item-image-div {
  min-height: 250px;
}

.website-news-items-widget .news-content-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.website-news-items-widget .news-short-description {
  margin-top: auto;
  font-weight: 500;
}


.website-news-items-widget .news-title {
  padding-top: 0.5rem;
}

.website-news-items-widget .news-title a {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-color-theme);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.website-news-items-widget .news-title a:hover {
  color: var(--link-text-color);
}

.website-news-items-widget .news-date {
  font-size: 0.8rem;
}

.website-news-items-widget .news-short-description-content,
.website-news-items-widget .news-read-more {
  font-weight: 300;
  margin-top: 0px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.website-news-items-widget .news-body img {
  max-width: 100%;
  height: auto;
}

.side-container .website-news-items-widget .news-item {
  flex-direction: row;
  margin-bottom: 24px;
}

.side-container .website-news-items-widget .news-title {
  padding-top: 0;
}

.side-container .website-news-items-widget .news-item-image-div {
  max-height: unset;
  min-height: unset;
  height: unset;
}

.side-container .website-news-items-widget .news-title a {
  font-size: 0.8em;
}

.side-container .website-news-items-widget .news-short-description {
  display: none;
}

blockquote {
  font-size: 2.4rem;
  text-align: center;
  width: 80%;
  margin: 50px auto;
  font-family: var(--header-font);
  font-style: italic;
  color: var(--text-color-theme);
  line-height: 3.6rem;
}

/* News detail page - Full width image */
.news-spinner {
  color: var(--text-color-dark);
  margin: 0 auto;
}

.website-news-item-details .news-title {
  margin-top: 20px;
  font-size: 2.5rem;
}

.website-news-item-details .col-md-3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.website-news-item-details .col-md-3 img {
  max-width: 50%;
  max-height: 50%;
  aspect-ratio: 16/8;
  object-fit: cover;
}

.website-news-item-details .col-md-9 {
  padding-inline: 1rem;
}

/* 
 * Sponsors List 
 */
.spnsr-continuous-slider .spnsr-item {
  height: unset !important;
}

.website-sponsors-list .lslide {
  overflow: hidden;
  height: 100%;

  a {
    display: flex;
    height: 100%;
    justify-content: center;

    img {
      display: block;
      height: 100%;
      object-fit: contain;
    }
  }
}

/* 
 * Media Queries 
 */

/* Desktop */
@media all and (min-width: 992px) {
  /* Custom desktop-specific styles */
}

/* Mobile and Tablets */
@media all and (max-width: 992px) {
  .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
  }
}

.screen-overlay {
  height: 100%;
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(34, 34, 34, 0.6);
  transition: opacity 0.2s linear, visibility 0.1s, width 1s ease-in;
}

.screen-overlay.show {
  transition: opacity 0.5s ease, width 0s;
  opacity: 1;
  width: 100%;
  visibility: visible;
}

@media all and (max-width: 992px) {
  .main-navbar .dropdown-menu {
    border: 0;
  }


  .main-navbar .navbar-nav {
    overflow-y: scroll;
    text-align: left !important;
    align-items: flex-start;
  }

  .navbar-btn-container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-top: 16px;
    margin-left: 11px;
  }

  .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;
    display: flex;
    flex-wrap: nowrap;
  }

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

  .offcanvas-header {
    display: block;
  }

  .mobile-offcanvas {
    visibility: hidden;
    transform: translateY(100%);
    display: block;
    position: fixed;
    bottom: 0px;
    right: 0%;
    z-index: 1200;
    width: 100%;
    transition: visibility 0.6s cubic-bezier(0.4, 0, 0, 1), transform 0.6s cubic-bezier(0.4, 0, 0, 1);
    margin-top: 16px;
    border-radius: 0px;
  }

  .mobile-offcanvas.show {
    visibility: visible;
    transform: translateY(0);
    background-color: #fff;
  }

  .dropdown-menu {
    border: 0;
  }

  .navbar .nav-item .dropdown-item {
    font-size: 1rem;
  }

  .news-item {
    max-width: 90% !important;
  }


  .navbar-collapse {
    padding: 0.5rem;
    background-color: white;
  }

  .navbar-dark .navbar-nav .nav-link {
    color: #1d1d1b;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all linear 0.5s;
    text-align: center;
    line-height: 40px;
  }

  .sticky .navbar-dark .navbar-nav .nav-link {
    font-size: 0.8rem;
    transition: all linear 0.5s;
  }

  .navbar-dark .navbar-nav .nav-link:focus,
  .navbar-dark .navbar-nav .nav-link:hover {
    color: #1d1d1b;
  }

  .navbar .nav-item .dropdown-large {
    padding: 20px;
  }

  .navbar .nav-item .dropdown-item {
    padding: 0.8rem;
    font-size: 0.8rem;
    text-decoration: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0, 31)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  }

  .page-partner-image {
    display: block;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
}