html {
  width: 100%;
  height: 100%;
  overflow: scroll;
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  --oldColor: rgb(146, 173, 89);
  --darkGreenColor: rgb(36, 73, 43);
  --lightGreenColor: rgb(155, 190, 97);
  --backColor: rgb(102, 153, 0);
  --darkColor: rgb(76, 116, 0);
  --darkColor2: rgb(51, 77, 0);
  --lightColor: white;
  font-family: Tahoma, sans-serif;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
	position: absolute;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
  margin-top: 0.5em;
}

h3 {
  font-size: 16px;
  margin-top: 1.5em;
}

hr {
  color: var(--backColor);
	border-color: var(--backColor);
	max-width: 500px;
	margin-top: 30px;
	margin-bottom: 30px;
}
 
#content {
  background-color: white;
  color: var(--darkColor);
  padding: 16px;
  font-size: 16px;
}

header, footer {
  background-color: var(--backColor);
  color: var(--lightColor);
  padding: 16px;
  font-size: 12px;
}

header > div, footer > div, #content > div {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    /* font-weight: bold; */
}

nav ul li a:hover {
    text-decoration: underline;
}

footer table, footer th, footer td {
	padding: 0;
	vertical-align: bottom;
}

#content a:link, #content a:visited {
  color: var(--darkColor);
}

#content #contact a:link, #content #contact a:visited {
  color: var(--lightGreenColor);
	text-decoration: none;
}

#content div {
  text-align: left;
}

table {
  border-collapse: collapse;
	text-align: center;
}

th, td {
  border: none;
}

#content table.grid th, #content table.grid td {
	border: 1px solid var(--darkColor); 
	padding: 4px;
}

#golfspellen table td {
	padding: 8px;
	text-align: left;
}

#golfspellen table td:first-child {
	text-align: center;
}

#logo {
  margin: 5px 15px 0 0;
}
	
span.center {
	float: center;
}
	
span.right {
	float: right;
}

.sub {
	font-size: 12px;
	margin-top: 4px;
}

.small {
	font-size: 12px;
}

sup {
  line-height: 0;
  vertical-align: 5px;
}

.listtitle {
  margin-bottom: 0;
}

ul {
  margin-top: 0;
	padding-left: 1.5em;
}

#contact table {
	text-align: left;
	vertical-align: middle;
}

#contact table td {
	padding: 6px 0;
}

#contact table td:first-child {
	padding: 0 16px 0 32px;
	text-align: center;
	height: 23px;
	color: black;
}

#content #contact img {
	height: 24px;
}

img.imgbkg {
	background: var(--darkColor2);
}

div.table-container {
  font-size: 11px;
}

table.layout {
	border-collapse: separate;
  border-spacing: 8px;
}

table.layout th, table.layout td {
}

.bck td {
  /* background-color: var(--backColor); */
}
				
/* Container holding image and text */
.container {
  position: relative;
  text-align: center;
  color: white;
  font-size: 9px;
}

.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a button {
	background-color: var(--backColor);
  color: white;
  display: block;       /* Make button a block element */
  margin: 0 auto;       /* Auto left/right margins center it */
	padding: 6px 12px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
}

.carousel {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  height: 150px;
  width: 100%; /* afbeelding vult de slide */
  object-fit: contain;
  flex: 0 0 100%; /* elke afbeelding neemt 100% van de container */
}

.carousel-button {
  position: absolute;
  top: 50%;
  /* transform: translateY(-50%); */
  background: white;
	color: var(--darkColor);
  border: none;
  font-size: 1.5rem;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 6px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0;
  background-color: var(--lightGreenColor);
  cursor: pointer;
  display: inline-block;
  box-sizing: content-box;
}

.carousel-dots .active {
  background-color: var(--darkColor);
}

.onlinegames {
    display: flex;
    gap: 20px;
		flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.onlinegames > div {
    text-align: center;
}
