* { box-sizing: border-box; }

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

@font-face {
    font-family: 'Novecento sans Bold';
    font-weight: bold;
    src: url("https://foys-prod.imgix.net/a17e1b0e-ef3e-46d3-a227-dd38e739b50a/cafd4610-c4a4-404e-94a9-2844cca09e18.otf") format("opentype");
}

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

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

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

a:hover, .my-env a:hover {
  color: #1C448D;
}

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: 'Novecento sans Bold', sans-serif;
  color: #0F0F0F;
  font-weight: 900;
  text-transform: uppercase;
}

.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;
  border-bottom: 1px solid #000000;
}

.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: #1C448D;
  border: 0;
  color: #FFFFFF;
}

.foys-footer {
  background-color: #1C448D;
  color: #FFFFFF;
  max-width: none;
}

.foys-footer a {
  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: #F5D548;
  border-color: #1C448D;
}

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

.home-image-block a {
  text-decoration: none;
  color: #FFFFFF;
}

.home-image-block a:hover {
  color: #BEBEBE;
  font-size: 20px;
}

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

.home-image-category {
  background-color: #1C448D;
  color: #FFFFFF;
  font-family: 'Novecento sans Bold', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}


 .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 {
  font-family: 'Novecento sans Bold', sans-serif;
}

.offcanvas-header{ display:none; }
.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: #1C448D;
    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(244,22,22, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/></svg>");
  }

 .offcanvas-header{ display:block; }
 
 .mobile-offcanvas{
    visibility: hidden;
    transform:translateX(-100%);
    border-radius:0; 
    display:block;
    position: fixed;
    top: 0; left:0;
    height: 100%;
    z-index: 1200;
    width:80%;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: visibility .2s ease-in-out, transform .2s ease-in-out;
  }

  .mobile-offcanvas.show{
    visibility: visible;
    transform: translateX(0);
    background-color: #FFF;
  }
  
  .dropdown-menu {
    border: 0;
  }
  
  .navbar .nav-item .dropdown-item {
    font-size: 1rem;
  }
}

.navbar-dark .navbar-toggler {
  border-color: #1C448D;
} 

.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(255,102,203, 0.5)' 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: #000000;
  font-size: 1.2rem;
  text-decoration: none;
}

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

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

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

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

.navbar .nav-item .dropdown-item:active {
  background-color: #F62020;
}

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

.red a {
  color: #FFFFFF;
}

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

.page-top-image {
  display: none;
}

.beige {
  background-color: #FFFAEF;
}

//.my-env .sticky-top {
//  z-index: 0 !important;
//}

.my-env {
  font-family: '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: 0.9rem;
     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: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: block;
  }  

  .page-top-image h2 {
    color: #E0E0E0;
    margin-top: 200px;
    font-size: 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: #1C448D;
  animation-duration: 1s;
  animation-delay: 0s;
}

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

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

.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: 'Novecento sans Bold', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.0rem;
  text-decoration: none;
}

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

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

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

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

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

.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: #FFFFFF;
  text-decoration: none;
}
.link2 a:hover {
  color: #BEBEBE;
  text-decoration: underline;
}
/* Functionalities */
.functionality-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.functionality-container > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 12px;
  border: 2px solid #233987;
  padding: 16px;
}

.functionality-container > div {
  background-color: rgb(232, 248, 255) !important;
  color: #062143;
}

.functionality-container > div header {
  text-align: center;
}