/* variables */
:root {
  --lerkeveld-red: #af261e;
  --on-hover-red: #781a16;
  --bg-blue: #b4d4e7;
  --background: #f6f6f6;
  --button-color: #157ea1;
  --title-blue: #0c62b0;
}

html{
    background: var(--background);
    font-family: Poppins;
    color: #111;
}

body{
    margin: 0; 
    /* margin 0 is needed to get rid of small white bars around the slideshow in home */
}

#page-container{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#page-content{
    display: flex;
    flex-direction: column;
    margin-top: 7vh;
    padding: 0 2.5vh;
    min-width: 55%;
    max-width: 1200px;
    background: var(--background);
    z-index: 10;
    transition-duration: 0.6s;
}

p{
    line-height: 2rem;
    margin: 0.5rem 0 1rem 3px;
}

li p{
    display: inline;
}

.indented{
    margin-left: 1rem;
}

h1, h2, h3{
    color: var(--title-blue);
    font-family: Poppins;
    font-weight: bolder;
}

h4, h5{
    text-decoration: underline;
    font-weight: bolder;
    margin: 1rem 0rem 0.5rem;
}

img{
    height: 100%;
}

span{
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

span a{
    color: white;
    text-decoration: underline;
}

video{
    margin: 2rem;
}

table{
    padding: none;
}

.nav-table-element{
    height: 100%;
    transition-duration: 0.4s;
}

.nav-table-element:hover{
    background-color: var(--on-hover-red);
}

.nav-anchor, #language-button-text{
    display: inline-block;
    height: 100%;
    width: 100%;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 0rem 1rem;
}

#navbar{
    display: flex;
    flex-direction: row;
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--lerkeveld-red);
    height: 6vh;
}

#nav-table{
    overflow-y: hidden;
    overflow-x: auto;
    display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    height: 100%;
    width: 100%;
}

#language-button{
    width: fit-content;
    float: right;
    display: flex;
    align-items: center;
}

 /* Hide scrollbar for Chrome, Safari and Opera */
 #nav-table::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
 #nav-table {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  } 

.mapouter{
    align-self: center;
    position: relative;
    text-align: center;
    max-width: 95vw;
    max-height: 100vh;
}

.gmap_canvas{
    background: none!important;
}

iframe{
    width: 1000px;
    max-width: 95vw;
    height: 650px;
    max-height: 95vh;
}

.small-column{
    width: 0rem;
}

.bordered-table{
    border: var(--button-color) solid 2px;
    width: fit-content;
    border-radius: 3px;
    border-spacing: 0px;
    margin-bottom: 1rem
}

.bordered-table td{
    border: grey solid 1px;
    background-color: var(--bg-blue);
    padding: 0.5rem 1rem;
}

td{
    vertical-align: top;
}

video{
    position: relative;
    display: block;
    width: 75%; /* width of iframe wrapper */
    height: 42.1875%; /* 16:9 ratio */
    margin: 1rem 1rem 2rem 1rem;
    align-self: center;
}

.iframe-container{
    position: relative;
    display: block;
    width: 75%; /* width of iframe wrapper */
    height: 0;
    margin: 1rem;
    padding: 0% 0% 42.1875%; /* 16:9 ratio */
    overflow: hidden;
    align-self: center;
}

.iframe-container iframe{
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.slideshow{
    position: relative;
    display: flex;
    overflow: hidden;
    align-self: center;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    z-index: 1;
}

#small-slideshow{
    max-width: 1000px;
    max-height: 562.5px;
    width: 100vw;
    height: 56.25vw;
    align-items: center;
    display: flex;
}

#big-slideshow{
    margin-top: 6vh;
    width: 100%;
    height: 94vh;
    align-items: center;
    display: flex;
}

.slideshow-image{
    display: none;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    animation-name: fade;
    animation-duration: 1.5s;
}

.prev, .next, .arrow-down{
    position: absolute;
    padding: 10px;
    color: white;
    transition: 0.5s;
    cursor: pointer;
    z-index: 100;
}

.prev{
    left: 0px;
    border-radius: 0px 10px 10px 0px;
}

.next{
    right: 0px;
    border-radius: 10px 0px 0px 10px;
}

.arrow-down{
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    margin: 0;
    background-color: #444;
    bottom: 15vh;
    left: calc(50vw - 1.5rem - 6.85px);  /* middle - half of padding - half of arrow size (13.7px) */
    -webkit-animation:bounce 0.75s infinite;    /* webkit animation not fully supported by all browsers, arrow is stationary but still in the right place if not supported*/
}

@-webkit-keyframes bounce {
  0%       { bottom:calc(15vh + 5px); }
  25%, 75% { bottom:calc(15vh + 15px); }
  50%      { bottom:calc(15vh + 20px); }
  100%     {bottom:15vh;}
}

.prev:hover, .next:hover{
    background-color: rgba(64, 64, 64, 0.8);
}

#logo{
    height: 100%;
}

.half-page-div{
    width: 48%;
    padding: 0.25rem 0.2rem;
    vertical-align: middle;
    display: inline-block;
}

.half-page-div p{
    margin-bottom: 2rem;
}

.half-page-div img{
    margin-bottom: 0.4rem;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

input, textarea, select{
    padding: 0.75rem;
    border-radius: 1rem;
    border: 2px solid #157ea1;
    background-color: #eaeaea;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    max-width: 87.5vw;
}

button, .hyperlink-button, #inschrijvingsknop p{
    border-radius: 14px;
    background-color: transparent;
    border: 2px solid var(--button-color);
    padding: 1rem;
    color: var(--button-color);
    transition-duration: 0.3s;
    margin: 0rem 0rem 1rem 0rem;
    width: fit-content;
    display: inline-block;
    font-weight: bold;
}

button:hover, .hyperlink-button:hover{
    color: white;
    background-color: var(--button-color);
}

ol li:not(.nav-table-element)::before{
    content: "";
    padding-right: 5px;
}

.blank-row{
    height: 1rem;
    background-color: var(--background);
}

.bg-table{
    border-spacing: 1rem 0rem;
    margin: 0rem 0rem 1rem 0rem;
}

.bg-list{
    list-style-type: none;
    margin: 0rem 0rem;
    padding: 1rem;
}

.bg-table td, .bg-div, .bg-list{
    background-color: var(--bg-blue);
}

.bg-table td, .bg-div{
    padding: 0rem 1rem;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

ul{
    margin: 0rem 0rem 1rem 0.4rem;
    list-style-type: none;
}

ul li:not(.nav-table-element){
    padding-left: 0.5rem;
}

ul li:not(.nav-table-element)::before{
    content: "\203a";
    position: relative;
    top: 2px;
    left: -8px;
    font-size: 1.5rem;
    font-weight: bolder;
    color: var(--title-blue);
    margin: -0.25rem 0;
}

.empty-li{
    height: 1.5rem;
}

.bordered-iframe{
    border: 3px solid var(--button-color);
    border-radius: 7px;
}

hr{
    margin: 1rem 0;
    width: 100%;
}