/*
 Theme Name:   mattg 2026
 Theme URI:    https://www.mattgodden.com
 Description:  The core theme for mattgodden.com and golgotha.com.au
 Author:       Matt Godden
 Author URI:   https://www.mattgodden.com
 Version:      1.0.0
 Tags:         mine
 Text Domain:  mattg2026
*/

@font-face {
    font-family: 'Century Gothic';
    font-style: normal;
    font-weight: 400;
    src: local('Century Gothic'), url('fonts/centurygothic.woff') format('woff');
}

html {
	overscroll-behavior: none;
	
}

html, body {
		margin: 0;
		height: 100%;
		font: 1em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	}
	
body {
	padding-right: 30px;
	padding-left: 30px;
	background-color: rgb(128, 128, 128);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	/*background-color: aqua;*/
}

a {
	text-decoration: none;
}

.invisible {
	display: none;
}

.clear {
	visibility: hidden;
}



/* @group Layout ID Styles */

	#spacer {
		/*background-color: rgba(0, 255, 0, 0.3);*/
	}
		
	/* spacer styles and sizer trick */
	
	.homepage #spacer { height: calc(100% - 9em); }
	
	/* end Spacer Styles and sizer trick */
	
	#splashimage {
		
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		position: fixed;
		height: 100vh;
		right: 0;
		left: 0;	
		z-index: -1;		
	}
	
	#test {
		height: 50px;
		width: 100%;
		position: fixed;
		bottom: 0;
		background: linear-gradient(
									180deg,
									rgba(0, 0, 0, 0) 0%, 
									rgba(0, 0, 0, 100) 100%
									);
	}
	
	#gradient_wrap {
		border-top: 2px solid white;
		background: linear-gradient(
									90deg,
									rgba(0, 0, 0, 0) 0%, 
									rgba(0, 0, 0, 0.4) 20%, 
									rgba(0, 0, 0, 0.4) 80%, 
									rgba(0, 0, 0, 0) 100%
									);
		/*display:  none;*/
	
	}
	
	#sidebar {
		background-color: rgba(0, 0, 0, 0.2);
		font-size: 1.1em;	
		padding-right: 10px;
		padding-left: 10px;
		backdrop-filter: blur(10px); /*necessary blur zero to prevent anti-aliasing at top */
		-webkit-backdrop-filter: blur(10px); /*necessary blur zero to prevent anti-aliasing at top */
	
	}
	
	#columns {
		border-bottom-right-radius: 1em;
		border-bottom-left-radius: 1em;
		overflow: clip;
		max-width: 1500px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#content {
		background-color: white;
		backdrop-filter: blur(0); /*necessary blur zero to prevent anti-aliasing at top */
		-webkit-backdrop-filter: blur(0); /*necessary blur zero to prevent anti-aliasing at top */
		padding-right: 30px;
		padding-left: 30px;
	}
	
	#interposter {
		text-align: center;
		padding-right: 0;
		padding-bottom: 1em;
		padding-left: 0;
		margin-right: -10px;
		margin-left: -10px;
		min-height: 1em;
		
	}
	
	
	#copyright {
		padding-top: .7em;
		padding-bottom: 1em;
	}

/* @end */

/* @group Flexbox Layouts */

	/* @group Flexbox for: Columns */
	
		#columns {
			display: flex;
			flex-direction: row;
		}
		
		#sidebar {
			flex-grow: 0;
			flex-shrink: 0;
			flex-basis: auto;
		}
		
		#content {
			flex-grow: 1;
			flex-shrink: 1;
			flex-basis: auto;
		}
	
	/* @end */
	
	/* @group Flexbox for: Masthead Subheader */
	
		#subheader {
			display: flex;
			flex-direction: row;
		}
		
		#subheader .subhead {
			flex-grow: 1;
			flex-shrink: 1;
			flex-basis: auto;
		}
		
		#subheader .arrow {
			flex-grow: 0;
			flex-shrink: 0;
			flex-basis: auto;
		}
	
	/* @end */
	
	/* @group Flexbox for: Gallery */
	
		.gallery {
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
			}
			
		.gallery-item {
				flex-grow: 1;
				align-self: center;
			}
	
	/* @end */
	
	/* @group Flexbox for: Entry Metadata */
			
		.entry-meta-header,
		.entry-meta-footer {
			display: flex;
			flex-direction: row;
		}
		
		.meta-data,
		.pre-in {
			flex: 1;
		}
		
		.menu-link,
		.in {
			flex: 0;
		}
				
		/* @end */
	
	/* @group Flexbox for: Interposter Pagination */
		
		#interposter {
			display: flex;
			flex-direction: row;
			align-items: flex-end;
		}
		
		#nav-left {
			flex: 1 1 0; /* to make the left and right equal width when one has no content */
		}
		
		#nav-centre {
			flex: auto;
		}
		
		#nav-right {
			flex: 1 1 0; /* to make the left and right equal width when one has no content */
		}
		
		/* @end */

/* @end */

/* @group Masthead Styles */

	#masthead {
		color: rgba(255, 255, 255, 0.7);
		text-transform: lowercase;
		text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
		font-family: "Century Gothic", CenturyGothic, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
		letter-spacing: 3px;
	}
	
	#masthead .blogname {
		margin: 0;
		font-size: 2.5em;
		font-weight: normal;
		font-style: normal;
		padding-top: 1em;
		text-decoration: none;
	}
	
	#masthead .blogname a {
		color: inherit;
	}
	
	#masthead .blogname a:hover, .subspan a:hover {
		color: white !important;
		
	}
	
	#masthead p {
		font-size: 1.5em;
		margin: .3em 0 1em;
	}
	
	.subhead .subspan {
		opacity: 0.5 !important;
	}
	
	.subspan a {
		color: inherit;
	}
	
	#masthead img {
		height: 0.7em;
		filter: invert(100%);
		opacity: 0.8;
		padding-top: .3em;
		
	}
	
	#masthead img:hover {
		opacity: 1;
	}
	
	#subheader p.arrow {
	}

/* @end */

/* @group Sidebar Styles */
		
	#sidebar ul {
		margin: 0.2em 0 1em;
		padding-left: 0;
	}
	
	#sidebar ul.menu {
		padding-top: 0.5em; /* pads the top of the menu from the background colour */
		padding-bottom: 0.5em; /* pads the bottom of the menu from the background colour */
	}
	
	#sidebar li {
		margin: 0;
		padding: 0 0 .2em;
		white-space: nowrap;
		list-style-type: none !important;
		border-top-width: 0;
		border-right-width: 0;
		border-right-style: solid;
		letter-spacing: .06em;
	}
	
	#sidebar li.menu-item-has-children {
		padding-bottom: 0.7em !important; /* creates the spacing beneath sub-menus and their enclosing parent end */
	}
	
	#sidebar ul.sub-menu {
		border-image: linear-gradient(
										to right, 
										rgba(255, 255, 255, 0.15)0%, 
										rgba(255, 255, 255, 0)90% 
									) 2;
		border-width: 2px;
		border-style: solid;
		border-right: 0 solid rgba(255, 255, 255, 0);
		margin: 0 1em;
		padding: 0;	
	}
	
	#sidebar ul.sub-menu li {
		background-image: linear-gradient(
											to right, 
											rgba(255, 255, 255, 0.05)0%, 
											rgba(255, 255, 255, 0)80% 
										);
		padding-left: 0;
		padding-top: 0;
		padding-bottom: 0;
		margin-top: 0;
		margin-bottom: 0;
	}
	
	#sidebar a {
		padding: .3em 10px .5em;
		display: block;
	}
	
	#sidebar a,
	#sidebar a:link,
	#sidebar a:visited
	 {
		text-decoration: none;
		color: rgba(255, 255, 255, 0.7);
		text-shadow: 0 0 4px rgba(0, 0, 0, 1);
	}
	
	#sidebar a:hover:not(.deadnav a:hover):not(.blanknav > a:hover) /* nots create exceptions to remove hover styles from strikethrough and socials nav category */ {
		color: rgba(255, 255, 255, 1);
	}
	
	#sidebar a:active:not(.deadnav a:active):not(.blanknav > a:active) /* nots create exceptions to remove active styles from strikethrough and socials nav category */ {
		color: #00b6b6 !important;
		text-shadow: 0 0 0;
	}
	
	.menu {
		margin-bottom: 0 !important;
	}
	
	.deadnav {
		text-decoration: line-through;
	}
	
	/* @group Darkmode Colours */
	
		.darkmode #sidebar {
			background-color: rgba(0, 0, 0, 0.2);
		}
		
		.darkmode #sidebar ul.sub-menu {
			border-image: linear-gradient(
											to right, 
											rgba(255, 255, 255, 0.15)0%, 
											rgba(255, 255, 255, 0)90% 
										) 2;
			border-right: 0 solid rgba(255, 255, 255, 0);
		}
		
		.darkmode ul.sub-menu li {
			background-image: linear-gradient(
												to right, 
												rgba(255, 255, 255, 0.05)0%, 
												rgba(255, 255, 255, 0)80% 
											);
		}
		
		.darkmode #sidebar a:link, #sidebar a:visited {
			text-decoration: none;
			color: rgba(255, 255, 255, 0.7);
			text-shadow: 0 0 2px rgba(0, 0, 0, 1);
		}
		
		.darkmode #sidebar a:hover {
			color: rgba(255, 255, 255, 1);	
		}
	
	/* @end */

/* @end */

/* @group Content Styles */

	.search-field {
		border-radius: 10px;
		border: 1px solid rgba(128, 128, 128, 0.58);
		font-size: 1em;
		width: calc(90% - 1em);
		margin-right: 5%;
		margin-left: 5%;
		margin-bottom: 1em;
		padding: 0.5em;
		/*box-shadow: inset 0 5px 8px rgba(0, 0, 0, 0.15);
		background: #fff;*/
	}


	blockquote p {
		color: maroon !important;
		font-style: italic;
	}
	
	pre {
		text-wrap: auto;
	}
	
	#content article {
		margin-top: 1em; /* spaces each article from the one above and first article from top of box */
	}
	
	.entry-content ol, .entry-content ul {
		margin-top: 1em;
		margin-right: 0;
		margin-bottom: 1em;
		margin-left: 1em;
		padding-right: 0;
		padding-left: 1em;
		
	}
	
	h4:has(+ ul), h3:has(+ ul) {
		clear: both;
	}
	
	.entry-content p,
	.entry-content li,
	.entry-content td {
		line-height: 1.5em;
		letter-spacing: .05em;
	}
	
	.entry-content p,
	.entry-content td {
		text-align: justify;
		color: #404040;
	}
	
	.entry-content strong,
	.entry-content td strong {
		letter-spacing: .05em;
	}
	
	.entry-content li,
	.entry-content li p {
		
		margin-top: 1em;
		margin-bottom: 1em;
		color: #606060 !important;
		text-align: left !important;
	}

	.entry-content table,
	.entry-content tbody,
	.entry-content tr,
	.entry-content td {
		border: 0;
		margin: 0;
		padding: 0;
		-webkit-border-horizontal-spacing: 0;
		-webkit-border-vertical-spacing: 0;
	}

	.entry-content td {
		padding-top: 0.5em;
		padding-bottom: 0.5em;
		vertical-align: top;
		
	}

	.entry-content td strong {
		padding-right: 0.5em;
	}
	
	.embed-container iframe {
		width: 100% !important;
		height: auto !important;
		aspect-ratio: 16/9;
		background-color: black;
	}
	
	.entry-content img {
		max-width: 100% !important;
		height: auto !important;
	}
	
	img.size-full, img.size-large {
		max-width: 100% !important;
		height: auto !important;
	}
	
	img.aligncenter { /* match with .mejs-contsiner */
		margin-top: 1em;
		margin-bottom: 2em;
	}
	
	img.expand {
		width: 100%;
		max-width: 800px !important;
	}
	
	img.alignleft {
		float: left;
		margin-top: 5px;
		margin-right: 15px;
		margin-bottom: 15px;
	}
	
	li img {
		margin-top: 1em;
		margin-bottom: 1em;
		width: 50%;
		margin-left: 25%;
	}
	
	p:has(img.aligncenter), figure.aligncenter {
		text-align: center;
	}
	
	figcaption.wp-caption-text {
			text-align: center;
			padding-top: 10px;
			font-size: 0.7em;
			color: rgba(0, 0, 0, 0.4);
			text-transform: uppercase;
			font-weight: bold;
			letter-spacing: 0.2em;
		}
	
	.entry-content a:link,
	.entry-content a:visited,
	p.entry-meta a:link,
	p.entry-meta a:visited,
	#interposter a,
	#interposter a:visited,
	.taxonomy-description a,
	.taxonomy-description a:visited {
		color: #4486bb !important;
	}	
	
	.entry-content a:hover,
	p.entry-meta a:hover,
	#interposter a:hover,
	.taxonomy-description a:hover {
		color: black !important;
	}
	
	.entry-content a:active,
	p.entry-meta a:active,
	#interposter a:active,
	.taxonomy-description a:active {
		color: #00b6b6 !important;
	}
	
	.entry-content img, 
	.entry-content a:link img,
	.entry-content a:visited img,
	.embed-container iframe {
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
		border: 1px solid black;
	}
	
	.entry-content a:hover img,
	.embed-container iframe:hover {
		
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
		border: 1px solid black;
	}
	
	.entry-content a:active img,
	.embed-container iframe:active {
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
		border: 1px solid aqua;
	}
	
	img.window-screenshot, 
	img.window-screenshot:hover, 
	img.window-screenshot:active {
		border: 0 !important;
		box-shadow: 0 0 0 !important;
	}
	
	figure.alignleft {
		display: inline-block;
		float: left;
	}
	
	/* @group Video Embed Centering and Scaling */
	
		/* these are both required to override the inline styles on the embed and the media continer */
		
		.wp-video {
			margin-right: auto;
			margin-left: auto;
			width: 100% !important;
		}
		
		.mejs-container {
			width: 100% !important;
			height: 100% !important;
			aspect-ratio: 3/2 !important; /* stops the video box becoming small during responsive resizing */
			margin-top: 1em; /* Allows video container to be used in a list item and have space against the text */
			margin-bottom: 2em; /* match with img.aligncentre */
		}
		
	/* @end */
		
	/* @group Gallery Styles */
	
		.gallery-icon {
			text-align: center;
			
		}
		
		
		.gallery-item {
			margin-right: 10px;
			margin-left: 10px;
		}
		
		.gallery-item img {
			max-width: 100%;
			height: auto !important;
		}
		
		figcaption.gallery-caption {
			text-align: center;
			padding-top: 10px;
			font-size: 0.7em;
			color: rgba(0, 0, 0, 0.4);
			text-transform: uppercase;
			font-weight: bold;
			letter-spacing: 0.2em;
		}
	
	/* @end */
	
	/* @group Entry Metadata Styles */
	
		p.entry-meta, h1.page-title {
			font-size: 0.7em;
			color: rgba(0, 0, 0, 0.4);
			text-transform: uppercase;
			font-weight: bold;
			letter-spacing: 0.2em;
			margin-top: 0;
			margin-bottom: 0.5em;
		}
		
		div.taxonomy-description {
			margin-bottom: 2em;
		}
		
		.taxonomy-description p {
			font-size: 0.9em;
			color: rgba(0, 0, 0, 0.5);
			letter-spacing: 0.1em;
		}
		
		p.entry-meta a {
			color: rgba(0, 0, 0, 0.4);
		}
		
		p.entry-meta a:hover, /*.in*/ {
			color: rgba(0, 0, 0, 1);
		}
		
		p.entry-meta a:active {
			color: #00b6b6;
		}
		
		p.entry-meta-footer {
			padding-top: 5em;
			margin-bottom: 2em;
			text-align: right;
			clear: both;
		}
		
		p.mod-date {
			margin-bottom: -4em !important;
		}
		
		.in {
			white-space: nowrap;
			padding-top: 0.5em;
			/*padding-left: 0.5em;*/
			
		}
		
		.pre-in {
			text-align: right;
		}
		
		.pre-in a, .paged-label, .first-published {
			display: inline-block;
			padding: 0.5em;
			/*padding-top: 0.5em;
			padding-bottom: 0.5em;*/
			/*background-color: lime !important;*/
		}
		
		.menu-link {
			white-space: nowrap;
		}
		
		/* @end */
	
	/* @group Headings */
	
		h1.page-title {
			color: rgba(0, 0, 0, 1);
			padding-top: 1.5em;
		}
		
		h1.entry-title, h2.entry-title {
			text-decoration: none;
			font-size: 1.7em;
			margin-top: 0;
		}
		
		h1.sticky, h2.sticky {
			background: url(media/thumbtack.svg) 10px no-repeat;
			background-size: 0.5em;
			margin-left: -30px;
			padding-left: 30px;
		}
				
		h1 a, h2 a {
			color: rgba(0, 0, 0, 0.4);
		}
		
		h1 a:hover, h2 a:hover {
			color: rgba(0, 0, 0, 1);
		}
		
		h1 a:active, h2 a:active {
			color: #00b6b6;
		}
		
		h1, h2, h3, h4 {
			font-weight: 300;
			letter-spacing: 0.08em;
		}
		
		h2 {
			font-size: 1.5em;
			margin-top: 3em;
		}
		
		h3 {
			font-size: 1.3em;
			margin-top: 2.6em;
		}
		
		h4 {
			font-size: 1.1em;
			margin-top: 2.2em;
		}
	
	
	/* @end */
		
	/* @group Horizontal Rule Styles */
	
		hr.seperator, hr {
			clear: both;
			margin-top: 5em;
			margin-right: auto;
			margin-bottom: 5em;
			margin-left: auto;
			height: 2px;
			width: 55%;
			border-width: 0;
			background: linear-gradient(
										90deg,
										rgba(0, 0, 0, 0) 0%, 
										rgba(0, 0, 0, 0.15) 40%, 
										rgba(0, 0, 0, 0.15) 60%, 
										rgba(0, 0, 0, 0) 100%
										);
		}
		
		hr {
			width:  30%;
		}
		
		hr.single-end {
			margin-top: 2em;
			margin-right: -30px;
			margin-bottom: 0.7em;
			margin-left: -30px;
			height: 2px;
			width: auto;
			border-width: 0;
			background: linear-gradient(
										90deg,
										rgba(0, 0, 0, 0.15) 0%, 
										rgba(0, 0, 0, 0) 20%, 
										rgba(0, 0, 0, 0) 80%, 
										rgba(0, 0, 0, 0.15) 100%
										);
		}
	
	/* @end */	
	
	/* @group Interposter Styles */
	
		#interposter a { /* attended to in entry-content link styles */
		 	/* color: black;
		 	opacity: 0.4; */
		 }
		
		#interposter a:hover { /* attended to in entry-content link styles */
			/* color: black;
			opacity: 1; */
		}
		
		#interposter a:active { /* attended to in entry-content link styles */
			/*color: #00b6b6;*/		
		}
		
		.nav-previous {
			text-align: left;
		}
		
		.nav-next {
			text-align: right;
		}
		
		.nav-pagination {
			text-align: center;
		}
		
		.nav-previous, .nav-next, .nav-pagination {
			font-size: 0.7em;
			text-transform: uppercase !important;
			font-weight: bold;
			letter-spacing: .2em;
			white-space: nowrap;
		}
		
		.nav-previous, .nav-next {
		}
		
		.chevron {
			font-size: 1.38em;
			color: black !important;
		 	opacity: 0.4 !important;
		}
		
		/*.chevron:hover {
			color: black !important;
			opacity: 1 !important; 
		}*/
		
		.nav-previous .chevron, .page-numbers .chevron {
			margin-right: -0.3em;
		}
		
		.nav-next .chevron, .page-numbers .chevron {
			margin-left: -0.3em;
		}
		
		.green {
			background-color: lime;
		}
		
		.red {
			background-color: red;
		}
		
		.prev {
			float: left;
		}
		
		.next {
			float: right;
		}
	
	/* @end */

/* @end */

/* @group Copyright Styles */

	#copyright p {
		color: rgba(255, 255, 255, 0.4);
		font-size: 0.8em;
		text-align: center;
		margin: 0;
	}

/* @end */

/* @group Testing Styles */

	.blarg {
		background-color: green;
		width: 200px;
		height: 4000px;
		margin-left: auto;
		margin-right: auto;
	}

/* @end */

@media (max-width:1000px) {
	
	#sidebar {
		font-size: 1em;
	}
	
}

@media (max-width:800px)  {

	body {
		padding-right: 0;
		padding-left: 0;
	}
	
	#masthead, #copyright {
		margin-right: 30px;
		margin-left: 30px;
	}
	
	#gradient_wrap {￼
		
	}

	#columns {￼
		display: flex;
		flex-direction: column-reverse;
	}

	#sidebar {
			font-size: 1.5em;
	}

}
