/* Test */
/* Imports */
/* @import url('https://fonts.googleapis.com/css?family=Almarai&display=swap'); */
/* @import url('https://fonts.googleapis.com/css?family=Open+Sans'); */
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Noto+Serif');

/*
 * Variables
 */
:root {
  --primary-color: #8B1418;
  --primary-color-contrast: #fff;
  --primary-color-shade: #610e11;
  --primary-color-tint: #a24346;

  --secondary-color: #2F4858;
  --secondary-color-contrast: #fff;
  --secondary-color-shade: #21323e;
  --secondary-color-tint: #8B1418;

  --background-color: white;
  --text-color: #0F0F0F;
  --link-text-color: #8B1418;
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  background-color: var(--background-color);
}

@font-face {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
}

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: 'Noto Serif', sans-serif;
  color: var(--text-color);
  /* font-weight: 400; */
}

/*
.highlighted {
  border: 2px solid red;
}
*/

/* h1, .my-env h1 {
  font-size: 40px;
}

h3, .my-env h3 {
  font-size: 1.65rem;
} */

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(--text-color);
  text-decoration: none;
}


/*
 * Bootstrap overwrites
 */
.btn-primary, .my-env .btn-primary {
  background-color: var(--primary-color);
  border: 0;
  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-tint);
}

.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
 */
.align-justify {
  text-align: justify;
}

/* 
 * Basics
 */
.website-header {
  background-color: #FFF;
  position: sticky; 
  opacity: 1;
  border-bottom: solid 1px #E0E0E0;
  height: 90px;
}

.website-header .btn-primary {
  width: 150px;
}

.website-header-logo {
  max-height: 100px;
}

.navbar-dark .navbar-toggler {
  border-color: var(--primary-color);
}

.navbar-dark .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(139,20,24, 31)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

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

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-color);
  font-size: 1.2rem;
  text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.foys-footer {
  background: var(--primary-color);
  color: var(--primary-color-contrast);
  max-width: none;
}

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

/* 
 * 👇 INSERT CUSTOM CSS FOR ALL SCREEN SIZES BELOW 👇
 */
.btn {
  border-radius: 5px;
}

.btn-lg {
  height: 70px;
  font-size: 35px;
}

.red {
  background-color: var(--primary-color);
  color: var(--primary-color-contrast);
}

.red a, .red h1, .red h2, .red h3, .red h4, .red h5, .red h6 {
  color: var(--primary-color-contrast);
}

.link a {
  color: #ffffff;
  text-decoration: none;
}
.link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.link2 a {
  color: #ffffff;
  text-decoration: none;
}
.link2 a:hover {
  color: #bebebe;
  text-decoration: none;
}

.link3 a {
  color: #bebebe;
  text-decoration: none;
}
.link3 a:hover {
  color: #000000;
  text-decoration: none;
}

.link4 a {
  color: #ffffff;
  text-decoration: none;
}
.link4 a:hover {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.thead-light th {
  background-color: var(--primary-color) !important;
  color:var(--primary-color-contrast) !important;
}



/* news items */
.news-content-container {
  position: absolute;
  top: 0;
  padding: 16px;
}

.news-item-image-div {
  min-height: 150px;
}

.news-item-image-div {
  background-size: cover;
  background-repeat: no-repeat;
  height: 200px;
}

.news-title a {
  margin-top: 0.5rem;
  color: white;
}

.news-title a {
  font-weight: 900;
  font-size: 1.7rem;
  text-decoration: none;
}

.news-title a:hover {
  text-decoration: underline;
}

.news-date {
  margin-top: 12px;
  color: white;
  font-size: 1.25rem;
}

.news-short-description-content, .news-read-more {
  display: none;
}

.news-body img {
  max-width: 100%;
  height: auto;
}
/* end news items */

/* HOME PAGE */
.page-top-image {
  height: 400px;
  display: block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
 
 .page-header {
  height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: block;
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .6)
}

.page-top-image .container {
  height: 100%;
}

.page-top-image .container .row {
  height: 100%;
  display: flex;
  align-items: center;
}

.page-top-image .container .row h2 {
  color: #FFFFFF;
  font-size: clamp(48px, 10vw, 60px);
  text-align: center;
}

/* News items on homepage */
.news-image-container {
  border-radius: 5px;
  padding-top: 10px;
  overflow: hidden;
}


/* END HOME PAGE */

/* FOOTER */
.website-sponsors-list .lead {
  display: none;
}

.footer {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg data-name='Layer 2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 544.07 544.07'%3E%3Cpath d='M0 0v544.07h544.07v-158.1L158.1 0H0zm165.17 0 378.9 378.9v-67.04L232.22 0h-67.05zM521.3 0h-64.7l87.47 87.47V22.78L521.3 0zM274.64 0l269.43 269.43V203.7L340.37 0h-65.73zm72.81 0 196.62 196.63v-66.74L414.18 0h-66.73zm196.62 0h-15.7l15.7 15.71V0z' style='fill:none'/%3E%3Cpath d='m158.1 0 385.97 385.97v-7.07L165.17 0h-7.07zm182.27 0 203.7 203.7v-7.07L347.45 0h-7.08zm203.7 15.71L528.37 0h-7.07l22.77 22.78v-7.07zM414.18 0l129.89 129.89V87.47L456.6 0h-42.42zM232.22 0l311.85 311.86v-42.43L274.64 0h-42.42z' style='fill:%23fff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position-y: top;
  background-position-x: right;
  background-size: clamp(200px, 40vw, 600px);
}

/* END FOOTER */

.card-img {
  object-fit: cover;
}

.spnsr-logo-image {
  max-width: 300px;
  max-height: 200px;
}

.website-sponsors-list .lead {
  display: none;
}

.website-sponsors-list {
  >* {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .lslide,
  .clone {
    height: 100px;
  }

  .lslide>*,
  .clone>* {
    overflow: hidden;
    height: 100%;
  }

  .lslide>a,
  .clone>a {
    display: flex;
    height: 100%;
    justify-content: center;
  }

  .lslide>a>img,
  .clone>a>img {
    display: block;
    height: 100%;
    object-fit: contain;
  }
}

/*
 * DESKTOP
 */
@media all and (min-width: 992px) {
  /* BASICS */


  /*
   * 👇 CUSTOM CSS FOR DESKTOP ONLY 👇
   */
  /* tabs */

  }
  .nav-tab {
    display: none;
    border-radius: 0 !important;
  }
  .nav-tab {
    padding: 20px;
  }
  .nav-tab .nav-link {
    font-size: 0.9rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
  .nav-tab:hover {
    display: block;
  }
  .nav-tab {
    margin-top: 0;
  }

  .nav-tab{
    min-width: 480px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 100% !important;
  }

  /* navbar centered with logo in middle */
  }
  .navbar-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 0 !important; /* overwrite bootstrap */
  }

  .navbar-nav .nav-item:nth-child(4) {
    display: flex;
  }

  .navbar-nav .nav-item:nth-child(4)::after {
    content: '';
    display: block;
    background-image: url(https://foys-prod.imgix.net/club-sites/cb2b2374-276e-4989-bf79-dcf6dc3204a6);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
  }
  
  .navbar-nav .nav-item:last-child {
    background-color: var(--primary-color);
    border-radius: 9px;
    padding-inline: 12px;
    margin-left: 8px;
  }
  
  .navbar-nav .nav-item:last-child a {
    color: var(--primary-color-contrast) !important;
  }

  .website-header-logo-div, .navbar-brand {
    display: none;
  }
  /* end navbar */
  
}

/* 
 * MOBILE AND TABLETS
 */
@media all and (max-width: 992px) {
  /* BASICS */
  .website-header-logo {
    max-height: 60px;
  }

  .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;  
    border-color: var(--primary-color);
    cursor: pointer;
  }

/*kalender*/

}

.calendar-event-date, .calendar-event-time {
  display: inline;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.0rem;
  text-decoration: none;
  color: #8B1418;
}

.calendar-event-date:first-letter {
  text-transform: capitalize;
}

.calendar-event-time::before {
  content: "van ";
}

.calendar-event-title {
  font-size: 0.8rem;
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.button-primary, .my-env .btn-primary {
  background-color: #8b1418;
  border: none;
  padding:10px 32px;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.button-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:focus,
.btn-primary:hover, 
.my-env .btn-primary:hover {
  background-color: #F62020;
  border-color: #F62020;
}