@import url('https://fonts.googleapis.com/css?family=Almarai&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Almarai', 'Arial', 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

small {
  font-size: 60%;
  font-weight: 400;
}

a, .my-env .a {
  color: #0F0F0F;
  text-decoration: underline;
}

p, li {
  font-size: 20px;
}

p {
  max-width: 800px;
}

a:hover, .my-env a:hover {
  color: #039be5;
}

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: 'Almarai', 'Arial', 'Open Sans', sans-serif;
  color: #0F0F0F;
  font-weight: 400;
}

.red-text {
  color: #F41616;
}

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

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

h2, .my-env h2, h3, .my-env h3 {
  color: #0F0F0F;
}

.no-bottom-border {
  border-bottom: 0 !important;
}

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

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  text-decoration: none;
}

.btn, .my-env .btn {
  border-radius: 5px !important;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary, .my-env .btn-primary {
  background-color: #039be5;
  border: 0;
  color: #FFFFFF;
}

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

.home-image-block {
  width: 162px;
  margin-bottom: 20px;
}

.home-image-block img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.home-image-category {
  background-color: #039be5;
  color: #FFFFFF;
  font-family: 'Almarai', 'Arial', 'Open Sans', sans-serif;
  text-transform: uppercase;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.website-header {
  background-color: #FFF;
  border-bottom: solid 1px #E0E0E0;
  position: sticky;
  top: 0;
  z-index: 200;
  height: 100px;
}

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

.website-header-logo { max-height: 80px }

.website-header-name {
  display: none;
}

.navbar-dark {
  font-family: 'Almarai', 'Arial', 'Open Sans', sans-serif;
}

.offcanvas-header{
  display:none !important;
}

.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 .2s linear, visibility .1s, width 1s ease-in;
}
.screen-overlay.show {
  transition:opacity .5s ease, width 0s;
  opacity:1;
  width:100%;
  visibility:visible;
}

@media all and (max-width:992px) {
  .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: #039be5;
    cursor: pointer;
  }

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

  .dropdown-menu {
    border: 0;
    background-color: #b4ddf2;
    margin-left: 32px;
    padding-top: 0 !important;
  }

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

  .navbar .nav-item .dropdown-item:hover {
    background-color: transparent;
  }

  .navbar-collapse {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
  }
}

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

.navbar-collapse {
  padding: 1rem;
  background-color: #b4ddf2;
  font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link {
  color: #062143;
  font-size: 1.2rem;
  text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
  color: #039be5;
}

.navbar .nav-item .dropdown-large,
.navbar .nav-item .dropdown-menu {
  padding: 10px;
}

.navbar .nav-item .dropdown-item {
  padding: 0.5rem 0.1rem;
  font-size: 1rem;
  text-decoration: none;

}

.navbar .nav-item .dropdown-large .dropdown-item {
  padding: 0.5rem 0.1rem;
}

.red {
  background-color: #F41616;
  color: #FFF;
}

.red a {
  color: #FFFFFF;
}

.red h1, .red h2, .red h3, .red h4, .red h5, .red h6
{
  color: #FFFFFF;
}

.beige {
  background-color: #FFFAEF;
}

.my-env {
  font-family: 'Almarai', 'Arial', 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
}

.video-background {
  background: #F00;
  height: 800px;
  top: 0; right: 0; bottom: 0; left: 0;
}

.video-foreground, .video-background iframe {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 800px;
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .video-background, .video-foreground, .video-foreground iframe {
    height: 40.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-background, .video-foreground, .video-foreground iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    width: 100%;
  }
}

@media all and (min-width: 992px) {
  .navbar { padding: 0 }
  .navbar .nav-item .dropdown-menu {
    display: none;
    border-radius: 0 !important;
  }
  .navbar .nav-item .dropdown-large { padding: 20px; }
  .navbar .nav-item .nav-link{
     font-size: 1.2rem;
     padding-left: .4rem;
     padding-right: .4rem
   }
  .navbar .nav-item:hover .dropdown-menu{ display: block; }
  .navbar .nav-item .dropdown-menu{ margin-top:0; }
  .navbar-collapse {
    justify-content: center;
    text-align: center;
    background-color: transparent;
  }

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

.page-top-image {
  height: 400px;
  max-width: 1200px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: block;
}

.page-top-image h1 {
  color: #FFFFFF;
  margin-top: 200px;
  font-size: clamp(48px, 10vw, 60px);
}

.home-stats-row h2 {
  font-size: 75px;
  border-bottom: 0;
}

.home-image-nav {
  height: 500px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .6);
  padding-top: 200px;
  margin-bottom: 1.5rem;
  border-radius: 5px
}

.home-image-nav h2 a {
  color: #E0E0E0;
}

.counter {
  color: #039be5;
  animation-duration: 1s;
  animation-delay: 0s;
}

.website-news-item-details {
  width: 100%;
}

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

.calendar-event-date, .calendar-event-time {
  display: inline;
  font-family: 'Almarai', 'Arial', 'Open Sans', sans-serif;
  font-weight: 900;
  font-size: 1.0rem;
  text-decoration: none;
  color: #039be5;
}

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

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

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

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

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

.news-content-container {
  width: 100%;
}

.news-item-image-div {
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 200px;
  transition: all 1s;
}

.news-item-image-div:hover {
  transform: scale(0.9);
}

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

.news-title a {
  font-family: 'Almarai', 'Arial', 'Open Sans', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.0rem;
  text-decoration: none;
}

.news-title a:hover {
  color: #000000;
}

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

.news-short-description-content {
  text-align: justify!important;
}

.news-read-more {
  margin-top: 1rem;
  text-align: center;
}

.news-read-more a {
  color: #039be5;
  font-size: 0.8rem;
}

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

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

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


.link a {
  color: #FFFFFF;
  text-decoration: none;
}

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

.link2 a {
  color: #008cd5;
  text-decoration: none;
  border: 0;
}

.link2 a:hover:not(.active) {
  color: #008cd5;
  text-decoration: underline;
  background-color: white;
}

.link2 .active {
  color: black !important;
  background-color: white !important;
  border: 0 !important;
}

.link3 a {
  color: #007bff;
  text-decoration: none;
}

.link3 a:hover {
  color: #007bff;
  text-decoration: underline;
}

.py-8 {
  padding-block: 3rem;
}

.py-12 {
  padding-block: 4rem;
}

/* Homepage */
.page-top-carousel {
  position: relative;
  max-width: 1200px;
  display: block;
  margin: auto;
}

.page-top-carousel article {
  display: flex;
  position: absolute;
  top: 0;
  height: 100%;
}

.page-top-carousel article h1 {
  margin-top: auto;
  margin-bottom: 32px;
  color: #FFFFFF;
  font-size: clamp(48px, 10vw, 60px);
}

.image-carousel-wrapper {
  height: 400px !important;
}

.image-carousel-wrapper * {
  height: 100% !important;
}

.carousel-image {
  object-fit: cover;
}

.lSAction > a {
  opacity: 1;
}

/* News list */
.news-image-container {
  margin-bottom: 36px;
}

.news-content-container {
  display: flex;
  flex-direction: column;
}

.news-title {
  order: 1;
}

.news-title a {
  text-transform: none;
}

.news-date {
  order: 0;
}

.news-short-description {
  order: 2;
}

.news-read-more {
  text-align: start;
}

.news-read-more a {
  font-size: 1rem;
}

/* News */
.website-news-item-details .news-title {
  margin-top: 20px;
}

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

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

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

.website-news-item-details .news-body {
  padding-inline: 1rem;
}

/* Trainingsagenda */
.trainingsagenda th {
  width: calc(100% / 3);
}

.trainingsagenda td {
  width: calc(100% / 3);
  border-bottom: 1px solid lightgray;
}

/* first two tds */
.trainingsagenda td:nth-child(-n + 2) {
  border-right: 1px solid lightgray;
}

.trainingsagenda hr:not(:first-child) {
  margin-top: 4rem;
}

.trainingsagenda h5 {
  margin-bottom: 1rem;
}

.trainingsagenda table {
  margin-bottom: 0;
}

/* Contact page */
.contact-form label {
  display: none;
}

.contact-form button {
  margin-top: 2rem;
}

/* Header */
.sub-nav {
  column-gap: 2rem;
  row-gap: 1rem;
}

/* Footer */
.website-sponsors-list {
  padding-block: 4rem;
}

.website-sponsors-list li, .website-sponsors-list li div,  .website-sponsors-list li div a, .website-sponsors-list li div a img {
  height: inherit;
}

/* Sponsor */
.sponsors {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  padding-inline: 16px;
  width: 100%;
}

.sponsors figure {
  margin-bottom: 0;
  margin: auto;
}

.sponsors img {
  width: 100% !important;
  height: 100px !important;
  object-fit: contain;
}