body {
	font-family: "Lucida Grande", "Segoe UI", Arial, Tahoma, Verdana, Helvetica;
	font-size: 15px;
	line-height: 25px;
	height: 100%;
	background: #2675af url("../images/background-clouds-large.png") center bottom no-repeat;
	background-attachment: fixed;
	background-size: cover;
	margin: 20px;
}

body.sint {
	background: #2675af url("../images/sintpakpapier.jpg");
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	font-size: 13px;
	overflow: hidden !important;
	margin: 0 !important;
	padding-top: 20px;
}

body.christmas {
	background: #2675af url("../images/baubles.jpg");
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	font-size: 13px;
	overflow: hidden !important;
	margin: 0 !important;
	padding-top: 20px;
}

.musicplayer {
	text-align: center;
	color: white !important;
	text-decoration: none !important;
	font-size: 13px;
}

/* for wimpy player buttons */
/* by default it is 32px width and height, but we want it smaller, so I wrap it in a div with class wimpy and scale it down */
/* it is scaled from 32px to 20px, so scale factor is 20/32 = 0.625 */
/* inline-block is needed to prevent it from taking the full width, without it, it will look as if placed on a new line */
.wimpy {
	transform: scale(0.625);
	display: inline-block;
	transform-origin: center center;
	vertical-align: middle;
}

/* The rest of the CSS styling for Wimpy is in js/wimpy/7.84/wimpy.buttons/WimpyButton_7781359.css */

/* used for bubbles game */
.bubble {
	width: 600px;
	max-width: min(600px, 100%);
	/* the width will be at most 600px, but shrinks on smaller screens */
	height: 450px;
	border: none;
	background: #ffffff;
}

/* Content zorgt voor de lichtblauwe rand */
#Content {
	width: 952px;
	margin: 0px auto;
	text-align: left;
	padding: 10px;
	background-color: #82c5ef;
	border: 0px solid #ccc;
}

#LineContent {
	width: 972px;
	margin: 0px auto;
	padding: 1px;
	background-color: #ccc;
}

/* MainContent geeft de witte achtergrond */
#MainContent {
	width: 932px;
	margin: 0px auto;
	padding: 10px 10px 0px 10px;
	background-color: #ffffff;
}

/* Rotator is voor de imagerotator.swf */
#Rotator {
	width: 932px;
	height: 197px;
	z-index: 0;
	position: relative;
	margin-bottom: 2px;
}

/* DateBar en alle DateBar* entries daaronder is bedoeld voor de datum menu balk */
.DateBar {
	height: 44px;
	width: 932px;
	background-color: #ffffff;
	position: relative;
	font-weight: bold;
	color: #3579b2;
	padding-top: 5px;
	padding-bottom: 0px;
}

/* MenuBar wordt gebruikt voor de bovenste menu balk */
.MenuBar {
	width: 540px;
	padding-top: 10px;
	margin-left: -6px;
	position: relative;
	float: left;
}

/* GradientLine is een leuk blauw randje tussen de menu balken */
.GradientLine {
	height: 1px;
	line-height: 0px;
	width: 932px;
	background-image: url(../images/gradient4.jpg);
	font-size: 0px;
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
	position: relative;
}

#DateBarSearch {
	padding-right: 0px;
	padding-left: 0px;
	padding-top: 8px;
	margin-right: 0px;
	position: relative;
	float: right;
}

/* formsearch wordt gebruikt voor het zoek invulveld in de DateBar op index.php */
.formsearch {
	font-family: "Lucida Grande", "Segoe UI", Arial, Tahoma, Verdana, Helvetica;
	background: #ffffff;
	border: 1px solid #dfdfdf;
	color: #3579b2;
	width: 165px;
	/* there's a padding of 2px on left and right, so the total width will be 170px */
	font-size: 15px;
}

/* dit wordt gebruikt om de kleur van de tekst in het zoekveld rechts bovenin te bepalen */
input::placeholder {
	color: #ccc;
	/* Light gray */
}

/* formsearch2 wordt gebruikt in weblogsingle */
.formsearch2 {
	font-family: "Lucida Grande", "Segoe UI", Arial, Tahoma, Verdana, Helvetica;
	background: #ffffff;
	border: 1px solid #dfdfdf;
	color: #3579b2;
	width: 200px;
	font-size: 15px;
}

/* formsearch3 wordt gebruikt in weblogsingle voor de input text */
.formsearch3 {
	font-family: "Lucida Grande", "Segoe UI", Arial, Tahoma, Verdana, Helvetica;
	background: #ffffff;
	border: 1px solid #dfdfdf;
	color: #3579b2;
	font-size: 15px;
}

/* gebruikt voor hidden textarea to keep out spammers */
.myname {
	display: none;
}

/* de volgende worden gebruikt in homemain.php */
#HomeType {
	width: 932px;
	background-color: #ffffff;
	position: relative;
	padding-top: 0px;
	overflow: hidden;
}

#HomePageLeft {
	width: 742px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	padding-left: 0px;
	margin-top: 0px;
	position: relative;
	float: left;
	box-sizing: content-box;
    overflow: hidden; /* optional but often helpful */
}

#HomePageRight {
	width: 171px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 0px;
	padding-left: 10px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: -1px;
	position: relative;
	float: right;
}

/* used in blogs where I want a background image in a table cell */
.custom-table {
	width: 100%;
	max-width: min(742px, 100%);
	/* the width will be at most 742px, but shrinks on smaller screens */
	border-spacing: 0;
}

/* used for blogs that are about cats */
.cat-background-cell {
	padding: 10px;
	background-image: url('../images/backgr.gif');
	background-repeat: repeat;
	background-size: auto;
	background-position: top left;
	font-family: "Comic Sans MS";
	color: blue;
	font-style: italic;
}

.smallfont {
	font-size: 13px;
	line-height: 22px;
}

/* h1 element wordt gebruikt als titel op pagina's */
h1 {
	font-size: 20pt;
	color: #3579b2;
	margin-top: 10px;
}

/* grijs randje om de images */
img {
	border-color: #ccc;
}

img.filelist2 {
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #ccc !important;
	padding: 0;
	background: #fff;
	/* margin-top 5px adds a small margin above the image, useful when multiple images are 
	    displayed right underneath each other, e.g. by using multiple pictures in picture.php. */
	display: block;
	/* centers the image */
	/* limits width to 742px */
	height: auto;
	/* allows height to adjust based on width */
	/* max-height: 90vh; */
	/* limits height to 90% of viewport */
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
	/* float: left; */
	max-width: min(742px, 100%);
	/* the width will be at most 742px, but shrinks on smaller screens */
}

/* used in filelist2.php for the small images */
img.filelist2small {
	width: 146px;
	height: 110px;
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
	border: 1px solid #ccc !important;
	margin-top: 3px !important;
	margin-right: 3px !important;
	margin-bottom: 0px !important;
	margin-left: 0px;
	float: left;
}

/* no margin on the right for the 5th small image in a gallery in filelist2.php */
img.filelist2smallright {
	width: 146px;
	height: 110px;
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
	border: 1px solid #ccc !important;
	margin-top: 3px !important;
	margin-right: 0px !important;
	margin-bottom: 0px !important;
	margin-left: 0px;
	float: left;
}

img.double-border-center {
	clear: both;
	border: 1px solid #ccc !important;
	padding: 0;
	background: #fff;
	/* margin-top 5px adds a small margin above the image, useful when multiple images are 
	    displayed right underneath each other, e.g. by using multiple pictures in picture.php. */
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	/* centers the image */
	max-width: min(742px, 100%);
	/* the width will be at most 742px, but shrinks on smaller screens */
	height: auto;
	/* allows height to adjust based on width */
	/* max-height 90vh limits height to 90% of viewport, but when in landscape mode on mobile devices, it resizes images incorrectly */
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
	max-height: 90vh;
	/* limits height to 90% of viewport */
}

img.double-noborder-center {
	border: 0px solid #ccc !important;
	padding: 0;
	background: #fff;
	/* margin-top 5px adds a small margin above the image, useful when multiple images are 
	    displayed right underneath each other, e.g. by using multiple pictures in picture.php. */
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	/* centers the image */
	max-width: min(742px, 100%);
	/* the width will be at most 742px, but shrinks on smaller screens */
	height: auto;
	/* allows height to adjust based on width */
	/* max-height 90vh limits height to 90% of viewport, but when in landscape mode on mobile devices, it resizes images incorrectly */
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
}

img.double-border-right {
	border: 1px solid #ccc;
	padding: 0px;
	float: right;
	margin-left: 5px;
	margin-bottom: 10px;
}

img.double-noborder-right {
	border: 0px solid #ccc;
	padding: 0px;
	float: right;
	margin-left: 5px;
	margin-bottom: 10px;
}

img.double-border-left {
	border: 1px solid #ccc;
	padding: 0px;
	float: left;
	margin-right: 5px;
	margin-bottom: 10px;
}

img.double-noborder-left {
	border: 0px solid #ccc;
	padding: 0px;
	float: left;
	margin-right: 5px;
	margin-bottom: 10px;
}

/* dit wordt gebruikt voor hele lange afbeeldingen */
img.double-border-center-noresize {
	border: 1px solid #ccc !important;
	padding: 0;
	background: #fff;
	/* margin-top 5px adds a small margin above the image, useful when multiple images are 
	    displayed right underneath each other, e.g. by using multiple pictures in picture.php. */
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	/* centers the image */
	max-width: min(742px, 100%);
	/* the width will be at most 742px, but shrinks on smaller screens */
	height: auto;
	/* allows height to adjust based on width */
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
}

.panorama {
	overflow: scroll;
	overflow-y: hidden;
	width: max-content;
	/* ensures horizontal scroll if image is wider */
	max-width: 742px;
	max-height: none !important;
	display: block;
}

.panorama img {
	border: 1px solid #ccc !important;
	padding: 0;
	background: #fff;
	box-sizing: border-box;
	/* ensures padding and border are included in the total width and height */
}

/* wrapper voor afbeeldingen en video's met bijschrift */
div.figure p {
	text-align: center;
	font-style: italic;
	text-indent: 0;
	padding-bottom: 5px;
}

/* altijd blauwe links met een streepje eronder, ook al heb je een link al eerder bezocht */
/* als je dit niet doet, wordt het standaard paars */
a {
	color: #3579b2;
	text-decoration: none;
}

/* override naar witte kleur, voor gekleurde achtergronden, zoals bij de music player */
a.override {
	color: white !important;
	text-decoration: none !important;
	font-weight: bold !important;
}

/* als je hovert boven links, een iets blauwere kleur tonen */
a:active,
a:hover {
	color: #3579b2;
	text-decoration: underline;
}

/* bold titels dezelfde kleur geven als h1 elementen */
b {
	color: #3579b2;
}

/* een lijn met puntjes als scheidslijn */
.dotjes {
	width: 100%;
	border-top: 1px dotted #3399cc;
	margin-top: 26px;
	/* more space above */
	margin-bottom: 21px;
	clear: both;
}

/* buttons onderaan de pagina */
.buttons {
	margin: 0px;
	padding-top: 0px;
	text-align: center;
}

/* laatste update regel met kontakt link */

#LastUpdate {
	width: 932px;
	height: 40px;
	background: #ffffff;
	position: relative;
	padding-top: 20px;
	padding-bottom: 0px;
	overflow: hidden;
}

#LastUpdateLeft {
	width: 500px;
	position: relative;
	float: left;
	color: #666;
	font-size: 13px;
}

#LastUpdateRight {
	position: relative;
	float: right;
	font-size: 13px;
}

/* gebruikt voor de links in de weblog onderaan naar de vorige en volgende maand
 * om de links genoeg ruimte te geven.
 */
.weblink {
	width: 740px;
	line-height: 22px;
	padding-top: 0px;
	padding-bottom: 20px;
	position: relative;
	text-align: left;
	overflow: auto;
}

.weblinknobottom {
	width: 740px;
	line-height: 22px;
	padding-top: 0px;
	padding-bottom: 0px;
	position: relative;
	text-align: left;
	overflow: auto;
}

/* dit is om de images en de links met elkaar vertical te centreren; voor dezelfde links in de weblog */
.uplink {
	vertical-align: middle;
}

.weblinkleft {
	width: 250px;
	position: relative;
	text-align: left;
	float: left;
	color: #666;
}

.weblinkleft400 {
	width: 400px;
	position: relative;
	text-align: left;
	float: left;
	color: #666;
}

.weblinkmiddle {
	width: 240px;
	position: relative;
	text-align: center;
	float: left;
}

.weblinkright {
	width: 250px;
	position: relative;
	text-align: right;
	float: right;
}

.responselink {
	width: 740px;
	line-height: 22px;
	font-size: 13px;
	padding-top: 20px;
	padding-bottom: 0px;
	padding-right: 0px;
	position: relative;
	text-align: left;
	overflow: auto;
}

.padding10 {
	padding-right: 10px;
	padding-left: 10px;
}

.Info {
	border: 1px dotted #314263;
	padding: 10px;
	min-height: 30px;
	vertical-align: middle;
	background-color: #f0f4fb;
	margin-bottom: 10px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
}

.Info p {
	margin-top: 0em;
	margin-bottom: 0em;
	padding: 0;
	border: 0;
}

.Warn {
	color: #000000;
	text-align: left;
	vertical-align: middle;
	height: auto;
	padding: 10px;
	background: #fff7c0;
	border-bottom: solid #ebad14 2px;
	border-top: solid #ebad14 2px;
	margin-top: 20px;
	margin-bottom: 10px;
}

/* wordt gebruikt in gallery en special pages */
#TitleBar {
	height: 32px;
	width: 742px;
	background-color: #ffffff;
	position: relative;
	font-size: 13px;
	color: #3579b2;
	text-align: left;
	padding-bottom: 0px;
}

#TitleBarTitle {
	width: 530px;
	position: relative;
	float: left;
}

#TitleBarDate {
	padding-right: 0px;
	padding-left: 0px;
	position: relative;
	float: right;
}

/* voor weblogsingle het invulformulier */
.Rea {
	width: 730px;
	position: relative;
	text-align: left;
	padding-top: 0px;
	padding-bottom: 5px;
	overflow: hidden;
}

.ReaText {
	width: 100px;
	margin: 0px;
	text-align: left;
	position: relative;
	float: left;
}

.ReaInput {
	width: 260px;
	margin: 0px;
	margin-left: 3px;
	text-align: left;
	position: relative;
	float: left;
}

.ReaTextArea {
	width: 600px;
	margin: 0px;
	margin-left: 3px;
	text-align: left;
	position: relative;
	float: left;
	font-size: 15px;
}

p {
	margin: 0;
	padding: 0;
	font-size: 13px;
}

/* for a foto album link Button */
.button {
	background-color: #80C5EF;
	border: none;
	color: white;
	padding: 5px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 12px;
	margin: 4px 2px;
	cursor: pointer;
}

.linkbutton {
	border-radius: 3px;
	background-color: #80C5EF;
	border: none;
	color: white;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 3px;
	padding-right: 3px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 12px;
	margin-right: 0px;
	margin-left: 2px;
	cursor: pointer;
}

#HomePageLeft video {
    border: 1px solid #ccc; /* light gray border around videos */
    box-sizing: border-box; /* ensures padding and border are included in the total width and height */
	max-width: 100%;		/* videos with a width smaller than the container, HomePageLeft is 742px, should use their own width */
    width: auto;          	/* scales video to container width; allows width to adjust based on max-width, but also maintains aspect ratio */
    height: auto;         	/* keeps aspect ratio */
    display: block;
    margin: 5px auto;		/* centers the video, but also adds spacing of 5px on top */
    object-fit: cover;  		/* ensures full video is visible, but avoids letterboxing */
    max-height: 90vh;		/* Prevents vertical overflow */
}
