/*
Theme Name: Tiny Gold
Theme URI: https://hooxies.nl/?page_id=5526
Description: The theme of hooxies.nl: fixed width, two columns, right sidebar, with gold accents. Compatible with WordPress 7.0. Based on the original graphical design of dfBlog by Daniel Fajardo (2009); further developed and maintained by Auke Hoekstra.
Version: 5.3.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Author: Auke Hoekstra (original graphical design: Daniel Fajardo, 2009)
Author URI: https://hooxies.nl/?page_id=5526
Text Domain: tinygold
Domain Path: /languages
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: fixed-width, two-columns, right-sidebar, theme-options, threaded-comments, light, white, blue, yellow

	The CSS, HTML5 and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php
*/

/* css/reset.css, css/typography.css, css/template.css and css/menu.css used to
 * be pulled in here with @import. They are now enqueued individually in
 * functions.php (tinygold_enqueue_assets) so the browser can fetch them in
 * parallel instead of discovering them only after style.css has parsed.
 *
 * The cascade is UNCHANGED and still matters: the handles are chained
 * reset -> typography -> template -> menu -> tinygold-style via $deps, so they
 * print in exactly the old @import order and this file still prints last.
 * A later file refines an earlier one - that is layering, not duplication.
 */


/* Head
***************************************************************************** */
#head .logotext {
	font-size: 3.2em;
	font-weight: bold;
	padding: 32px 30px 0 30px;
	letter-spacing: -.05em;
}

#head .slogan {
	font-size: 1.4em;
	padding: 5px 30px 0 30px;
}

#head .logoimg {
	padding: 19px 0 0 20px;
}


/* Main Menu. The first level
***************************************************************************** */

#mainmenu {
	letter-spacing: .1em;
	font-variant: small-caps;
	font-weight: lighter;
}

#mainmenu ul {
	font-size: 1.2em;
	}
	#mainmenu ul li a {
		padding-left: 2em;
		padding-right: 2em;
	}



/* Wrap -> Contaniner -> Content, pagenavigator, entry...
***************************************************************************** */

.content-header {
	margin: 0;
	padding: 0 0 0 50px;
	text-align: left;
	overflow: hidden;
	clear: both;
	}
	.content-header h2 {
		margin: .4em 0 40px;
		color: #999;
		border-bottom: 1px solid #cdd;
	}

.post {
	overflow: visible;
	clear: both;
	margin-left: 1px;
	font-family: 'Quattrocento Sans',Georgia,'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif;
	font-size:11px;
	font-weight:normal;
	padding: 0 0 40px 50px;
	background: #fff url(images/post-label.gif) 0px 0px no-repeat;
	}
	.post hr {
		display: block;
	}

.postmetadata {
	clear: both;
	margin: 0;
	font-size: 1.2em;
	line-height:1.6em;
	color: #888;
	}
	.postmetadata .date, .postmetadata .author, .postmetadata .comment, .postmetadata .category, .postmetadata .tag, .postmetadata .edit {
		margin:  0 0 0 2px;
		padding: 0 0 0 20px;
	}
	.postmetadata .date           { background: url(images/icons/icons-normal.png) 0 0 no-repeat; }
	.postmetadata .date:hover     { background: url(images/icons/icons-hover.png) 0 0 no-repeat;	}

	.postmetadata .author         { background: url(images/icons/icons-normal.png) 0 -16px no-repeat; }
	.postmetadata .author:hover   { background: url(images/icons/icons-hover.png) 0 -16px no-repeat;	}

	.postmetadata .comment        { background: url(images/icons/icons-normal.png) 0 -32px no-repeat; }
	.postmetadata .comment:hover  { background: url(images/icons/icons-hover.png) 0 -32px no-repeat;	}

	.postmetadata .category       { background: url(images/icons/icons-normal.png) 0 -64px no-repeat; }
	.postmetadata .category:hover { background: url(images/icons/icons-hover.png) 0 -64px no-repeat;	}

	.postmetadata .tag            { background: url(images/icons/icons-normal.png) 0 -64px no-repeat; }
	.postmetadata .tag:hover      { background: url(images/icons/icons-hover.png) 0 -64px no-repeat;	}

	.postmetadata .edit           { background: url(images/icons/icons-normal.png) 0 -80px no-repeat; }
	.postmetadata .edit:hover     { background: url(images/icons/icons-hover.png) 0 -80px no-repeat;	}

#pagenavigator {
	clear: both;
	margin: 0 0 20px 50px;
	width: 590px;
	height: 22px;
	font-size: 1.0em;
	border: 1px solid #dee;
	border-radius: 5px;
	background: #f1f9f9;
	}
	#pagenavigator a,
	#pagenavigator span.current { margin: 0 .75em 0 0; padding: 3px .25em; }
	#pagenavigator a.page       {}
	#pagenavigator span.current { color: #be261e; font-weight: bold; }
	#pagenavigator a.first      {}
	#pagenavigator a.last       {}
	#pagenavigator span.extend  {}
	#pagenavigator span.pages   {}

.entry {
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 20px 0 0;
	}
	.entry blockquote {
		font-size: .9em;
	}
	.entry blockquote blockquote {
		font-size: .9em;
	}
	.entry fieldset {
		padding: 1em 1em 1em 2em;
		margin-bottom: 1em;
		border: 1px dashed #ccc;
		border-radius: 5px;
	}
	.entry fieldset legend {
		font-weight: bold;
		text-transform: uppercase;
		margin: -.25em 0 -.25em -3em;
		padding: .25em 1em .25em 1em;
		background-color: white;
		border: 1px solid #ccc;
		border-radius: 5px;
	}
	.entry table {
		border-width: 0 1px 1px 0;
		border-style: solid;
		border-color: #ccc;
		font-size: 0.9em;
	}
	.entry table tr td {
		padding: 5px 10px;
		border-width: 1px 0 0 1px;
		border-style: solid;
		border-color: #ccc;
	
	}
	.entry table tr th {
		border-width: 1px 0 0 1px;
		border-style: solid;
		border-color: #ccc;
		padding: 5px 10px;
		background: #f4f4f4;
		color: #666;
		font-weight: bold;
		text-align: center;
	}
	.entry ol { list-style-type: decimal; }
	.entry ol ol {	list-style-type: lower-alpha; }
	.entry ol ol ol {	list-style-type: lower-roman; }

	.entry ul.links {
		list-style: none;
		margin-left: 0;
		}
		.entry ul.links li {
			padding: 0 0 1em;
		}

.notice {
		font-size: 1.4em;
		line-height: 1.4em;
		padding: 2em 1em 1em 0;
		border: 1px solid #ccc;
		border-radius: 5px;
		background: #fff9f9;
	}
	.notice div#icon {
		float: left;
		margin-left: 20px;
		width: 48px;
		height: 48px;
		background: url(images/icons/notice.png) 0 0 no-repeat;
	}
	.notice div#box {
		float: right;
		width: 500px;
		}
		.notice div#box form {
			margin-bottom: 1em;
		}

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* Image borders (hooxies)
 * style.css is enqueued after css/typography.css (see the $deps chain in
 * functions.php), so these beat `a img { border: none }` in typography.css:
 * equal specificity, later position wins. Same mechanism as `p img` above.
***************************************************************************** */

a img,
.hxborder128x228,
.hxborder413x232,
.hxborder413x275,
.hxborder413x310 { border: 1px solid #cccccc; padding: 4px; border-radius: 6px; }

.hxborder128x228 { width: 128px; height: 228px; }
.hxborder413x232 { width: 413px; height: 232px; }
.hxborder413x275 { width: 413px; height: 275px; }
.hxborder413x310 { width: 413px; height: 310px; }


/* Comments
***************************************************************************** */

#comments {
	font-size: 1em;
	line-height: 1.4em;
	margin: 0 0 20px 50px;
	padding: 20px 0 0 0;
	border-top: 1px solid #cdd;
	}
	#comments .browse {
		clear: both;
		width: 588px;
		height: 19px;
		margin: 0;
		padding-bottom: 9px;
	}

.commentlist {
	margin: 10px 0;
	}
	.commentlist li {
		list-style: none;
		padding: 10px;
	}

li.comment {
	border: 1px solid #cdd;
	border-radius: 5px;
	margin-bottom: 20px;
	padding-top: 1em;
	font-size: 12px;
	}
	.vcard img.avatar {
		float: left;
		border: 1px solid #eee;
		padding: 2px;
		margin: 0 20px 1em 0;
		background: #fff;
	}
	.vcard cite {
		font-weight: bold;
		font-size: 12px;
	}
	.vcard span {
		font-size: 10px;
	}
	.commentmetadata {
		font-size: 10px;
	}
	
	li.comment p {
		clear: both;
	}
	
	li.comment blockquote {
		clear: both;
		font-size: 12px;
		min-height: 2em;
	}
	.reply {
		font-size: 10px;
	}

.commentlist li.even {
	background: #f0f0f0;
}

.commentlist li.odd {
	background: #fff;
}

ul.children {
	margin: 1em 0 0;
}

ul.children li {
	list-style: none;
	margin-bottom: 10px;
	padding-top: 1em;
}

#respond {
	font-size: 12px;
	margin: 20px 0;
	}
	#respond p.small {
		font-size: 10px;
	}
	#respond textarea {
		width: 96%;
	}
	#respond div.cancel-comment-reply {
		padding: 10px 0 0;
	}

#commentform {
	padding-bottom: 30px;
}


/* Sidebar
***************************************************************************** */

#sidebar h2 {
	margin-bottom: .5em;
	font-size: 1.6em;
	border-bottom: 1px solid #cdd;
	color: #999;
}

#sidebar a:link, #sidebar a:visited {
	font-size: 1.2em;
	font-family: Arial,Verdana,'Quattrocento Sans',Sans-serif;
	font-weight: normal;
	line-height: 1.2em;
	background: none;
	color: #607DC7;
}

#sidebar ul, #sidebar ul ol, #sidebar a span {
	margin: 0;
	padding: 0;
	color: #607DC7;
}

#sidebar ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 20px;
}


#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px; 
}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 0;
}

#sidebar ul ul ul, #sidebar ul ol {
	margin: .5em 0 .5em 1em;
}

#sidebar ul ol li {
	list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li {
	padding: 0;
	margin: .5em 0 .5em 0;
}

/* Calendar */

#wp-calendar {
 	font-size: 1.2em;
	empty-cells: show;
	}

#wp-calendar a {
 	font-size: 1.0em;
	display: block;
	font-weight: bold;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar caption {
	margin: 8px 0;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-weight: lighter;
 	font-size: .8em;
 	color: #444;
	text-align: right;
	}

#wp-calendar th {
	padding: 4px 5px 4px 6px;
	font-weight: lighter;
 	font-size: .8em;
 	color: #666;
	text-align: right;
	background: #f4f4f4;
}

#wp-calendar td {
	padding: 4px 5px 4px 6px;
	text-align: right;
	}
	#wp-calendar td#today {
		background: #e0e0e0;
	}
	#wp-calendar td#prev a {
		padding: 0;
		text-align: left;
		font-weight: normal;
	}
	#wp-calendar td#next a {
		padding: 0;
		text-align: right;
		font-weight: normal;
}


/* Bottom -> Footer
***************************************************************************** */

#footer span {
	color: #888;
	text-align: left;
	font-size: .9em;
	line-height: 1.6em;
	}
	#footer .copyright {
		color: #666;
		font-size: 1.111em;
	}


/* Template. Auxiliary
***************************************************************************** */

.clear, .clearfix {
	clear: both;
	height: 0;
}

.alignright, .alignleft {
	padding: 0;
	margin: 6px 20px 10px 20px;
	display: inline;
}

.alignright {
	float:right;
}

.alignleft {
	float:left;
}

.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ccc;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


/* Link hover pulse + external-link icon (moved out of mad.jquery.js, 4.0.0)
 * The pulse used to be two chained jQuery animate() calls bound to EVERY <a>
 * on the page on every page load. Same 300ms 1 -> .5 -> 1 fade, no JS, and it
 * no longer touches a .selected class that nothing styles.
 * The icon used to be an <img> appended by jQuery with a relative src that
 * only resolved under plain permalinks.
***************************************************************************** */

@keyframes tinygold-link-pulse {
	0%   { opacity: 1; }
	66%  { opacity: .5; }
	100% { opacity: 1; }
}

a:hover { animation: tinygold-link-pulse .3s ease-out; }

@media (prefers-reduced-motion: reduce) {
	a:hover { animation: none; }
}

ul.links li a::after,
a.external::after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 4px;
	vertical-align: baseline;
	background: url(images/icons/external.png) no-repeat 0 0;
}


/* Photo info bar for Ring-overlay photos (5.1.8) - see includes/tinygold-photoinfo.js.
 * The script adds the bar only to photos whose file name carries PhotoMark's
 * Ring code, and sets its background and text colour from that name. The bar
 * lives inside the popup's frame (.tinygold-lb-frame; #fancybox-content under
 * Firelight Lightbox until 5.2.1), whose overflow:hidden and 10px radius clip it to
 * the popup's corners, and which the pinch transform scales with it.
 * pointer-events:none lets a pinch that starts on the bar reach the photo.
 * The "i" is only added on devices without hover (decided in JS: this theme
 * has no @media rules, on purpose). */
.tinygold-photoinfo {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 5px 14px 2px;
	font: 13px/1.2 Candara, Calibri, "Segoe UI", sans-serif;
	white-space: nowrap;
	overflow: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .25s, transform .25s;
	pointer-events: none;
}
.tinygold-photoinfo.is-shown { opacity: 1; transform: none; }
.tinygold-photoinfo-l { overflow: hidden; text-overflow: ellipsis; }
.tinygold-photoinfo-r { flex-shrink: 0; }
.tinygold-photoinfo-i {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(28, 53, 80, .55);
	color: #fff;
	font: italic bold 14px/24px Georgia, serif;
	text-align: center;
	cursor: pointer;
	transition: opacity .25s;
}
.tinygold-photoinfo-shown .tinygold-photoinfo-i { opacity: 0; pointer-events: none; }

/* Lightbox (5.2.1) - see includes/tinygold-lightbox.js, which replaces Firelight
 * Lightbox for photos and PDFs. Same look as the Firelight settings the site
 * used: overlay #000 at 60%, white frame, 1px gold #e0a43a border, 10px corners,
 * shadow 0 0 20px #111. Everything is position:fixed and placed by the script
 * inside the visible part of the page. touch-action:none: on the popup the
 * script does all gestures itself (pinch, pan, swipe), and on the overlay it
 * keeps a drag from scrolling the page behind. The outer quarters of a photo
 * are back/forward (hand pointer); the middle keeps the normal pointer. */
.tinygold-lb-overlay {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 111100;
	background: rgba(0, 0, 0, .6);
	touch-action: none;
}
.tinygold-lb-overlay.is-open { display: block; }
.tinygold-lb {
	display: none;
	position: fixed;
	z-index: 111101;
	touch-action: none;
	transform-origin: center center;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.tinygold-lb.is-open { display: block; }
.tinygold-lb-frame {
	position: relative;
	overflow: hidden;
	border: 1px solid #e0a43a;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 20px #111;
	cursor: default;
	-webkit-user-select: none;
	user-select: none;
}
.tinygold-lb-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}
.tinygold-lb-frame.is-pdf .tinygold-lb-img,
.tinygold-lb-frame.is-error .tinygold-lb-img { display: none; }
.tinygold-lb-frame.is-error::after {
	content: "De foto kan niet worden geladen.";
	display: block;
	padding: 20px;
	font: 14px/20px "Quattrocento Sans", sans-serif;
	color: #444;
	text-align: center;
}
.tinygold-lb-pdf { display: block; width: 100%; height: 100%; }
.tinygold-lb-pdf-link { display: block; padding: 20px; text-align: center; }
.tinygold-lb-nav {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: 25%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.tinygold-lb-nav:focus { outline: none; }
.tinygold-lb-nav:focus-visible { outline: 2px solid #e0a43a; outline-offset: -4px; }
.tinygold-lb-nav[hidden] { display: none; }
.tinygold-lb-prev { left: 0; }
.tinygold-lb-next { right: 0; }
.tinygold-lb-close {
	position: absolute;
	top: -22px;
	right: -22px;
	z-index: 4;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.tinygold-lb-close::before,
.tinygold-lb-arrow::before {          /* the visible button: a black disc with a white ring, centred in the 44px hit area */
	content: "";
	position: absolute;
	left: 9px;
	top: 9px;
	width: 22px;
	height: 22px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #000;
	box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}
.tinygold-lb-close::after {           /* the cross: two 10x2px bars crossing at the exact centre (5.2.1: was a text glyph, off-centre) */
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	background:
		linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
		linear-gradient(#fff, #fff) center / 2px 10px no-repeat;
	transform: rotate(45deg);
}
.tinygold-lb-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 44px;
	height: 44px;
	margin: -22px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.tinygold-lb-arrow[hidden] { display: none; }
.tinygold-lb-arrow-prev { left: -22px; }
.tinygold-lb-arrow-next { right: -22px; }
.tinygold-lb-arrow::after {           /* the chevron: two sides of a 7px square, turned; nudged 1.5px so it looks centred */
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	margin: -4.5px 0 0 -4.5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.tinygold-lb-arrow-next::after { transform: translateX(-1.5px) rotate(45deg); }
.tinygold-lb-arrow-prev::after { transform: translateX(1.5px) rotate(-135deg); }
.tinygold-lb-arrow:focus { outline: none; }
.tinygold-lb-close:focus { outline: none; }
.tinygold-lb-close:focus-visible::before { box-shadow: 0 0 0 2px #e0a43a; }
.tinygold-lb-loading {
	display: none;
	position: fixed;
	z-index: 111102;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	border: 3px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tinygold-lb-spin .8s linear infinite;
	pointer-events: none;
}
.tinygold-lb-loading.is-on { display: block; }
@keyframes tinygold-lb-spin { to { transform: rotate(360deg); } }
