/* @override 
	http://localhost:1313/css/base.css
	http://localhost:1313/css/base.css?v=2
	http://tdgq.com.au/css/base.css
*/

/* @group Generic Elements */

/* @group Reset */

@import url("reset.css");

/* @end */

/* @group Body */

body {
	/* font sets */
	--sans-fonts: "open sans", Arial, Helvetica, sans-serif;
	--sans-rem: 1rem;

	--heading-fonts: var(--sans-fonts);
	--heading-rem: var(--sans-rem);

	--table-fonts: var(--heading-fonts);
	--table-rem: calc(0.85 * var(--sans-rem));

	--code-font: Menlo, Consolas, Monaco, 'Lucida Console', 'Courier New', monospace, serif;
	--code-rem: 1rem;

	--text-font: merriweather, georgia, serif;
	--text-rem: 1rem;
	
	/* colours */
	
	--link-color: #5656FF;
	--em-color: inherit;
	--code-color: #008080;

	/* dimensions */
	--outer-width: 1024px;
	--article-left-margin: 100px;
	/* right margin for full-width content */
	--article-right-margin: 60px;
	/* gutter between text column and side panel */
	--article-right-gutter: 40px;
	--side-panel-width: 230px;
	--article-width:
		calc(var(--outer-width)
		- var(--article-left-margin)
		- var(--side-panel-width)
		- var(--article-right-gutter));
	--full-width-negative-margin:
		calc(var(--outer-width)
		- var(--article-left-margin)
		- var(--article-width));
}

body {
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	background: rgb(140, 140, 140);
}

/* @end */

/* @group Links */

a {
	text-decoration: none;
	color: var(--link-color);
}

a:hover {
	text-decoration: underline;
}


/* @end */


/* @group Lists */

ul {
	list-style-type: disc;
	list-style-position: inside;
}

/* @end */

/* @group Tables */

/* @end */

/* @group Blockquotes */


/* @end */

/* @group Images */

img {
	vertical-align: bottom;
}


/* @end */

/* @group Typography */

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

span.nobreak {
	white-space: nowrap;
}

/* @end */

/* @end */



/* @group Content Components */

/* @group Outer Container */

.outer-container {
	width: var(--outer-width);
	margin: 0px auto;
	margin-bottom: 50px;
	text-align: left;
	background-color: white;
	box-shadow: 0 0 10px #000000;
	border-radius: 0 0 12px 12px;	
}

/* @end */

/* @group site-id */

.site-id {
	font-family: var(--sans-fonts);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	
	padding: 0.3rem 1rem 0.32rem;
	background-color: #303030;
}

.site-id a {
	color: white;
}

.site-id a:hover {
	text-decoration: none;
}

.site-id .title {
	text-transform: uppercase;
	opacity: 0.75;
}

.site-id .url {
	margin-left: 0.5rem;
	opacity: 0.5;
	letter-spacing: 0.01em;
}

/* @end */


/* @group Header */

header {
	position: relative;
	min-height: 110px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

header .blog-title {
	flex: auto;
	margin-bottom: 0.3rem;
}

header .blog-image {
	flex: none;
}

header .blog-image img {
	width: 230px;
	height: 110px;
}

header h1 {
	font-family: var(--heading-fonts);
	font-size: calc(1.95 * var(--heading-rem));
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: white;
	text-shadow: 0 -1px 0px rgba(0,0,0,.7);
}

/* @end */


/* @group Nav */

nav {
	height: 30px;
	padding-left: 50px;
	background-color: hsl(0, 0%, 25%);
	
	/* flexbox to vertically centre the ul */
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

nav ul {
	width: 100%;
}

nav li {
	font-family: var(--heading-fonts);
	font-size: calc(0.875 * var(--heading-rem));
	font-weight: 700;
	line-height: 1;
	color: white;
	
	display: inline-block;
	margin-right: 40px;
	float: left;
}

nav li a {
	color: white;
}

nav li a:hover {
	text-decoration: underline;
}

nav li.tdgq-home {
	float: right;
}

/* @end */

/* @group Main */

main {
	position: relative;
	overflow: auto; /* no margin migration */
}

/* @end */

/* @group Article and subelements */

article {
	font-family: var(--text-font);
	font-weight: 400;
	font-size: calc(1.06 * var(--text-rem));
	line-height: 1.6;

	padding-top: 4rem;
	margin-left: var(--article-left-margin);
	margin-bottom: 30px;
	position: relative;
	width: var(--article-width);
	box-sizing: content-box;
}

article section.post-body {
	margin-top: 2.2rem;
}

article strong {
	font-weight: 900;
}

article h2 {
	font-family: var(--text-font);
	font-size: calc(2.25 * var(--text-rem));
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #606060;
	
	margin-bottom: 9px;
	padding-bottom: 12px;
	border-bottom: 1px solid #c0c0c0;
}

article h3 {
	font-family: var(--heading-fonts);
	font-size: calc(1.3 * var(--heading-rem));
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	
	margin-top: 2rem;
	margin-bottom: 1.1rem;
}

article h4 {
	font-family: var(--heading-fonts);
	font-size: calc(1.1 * var(--heading-rem));
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
	
	margin-top: 2rem;
	margin-bottom: 1.1rem;
}

article p,
article li,
article blockquote {
	margin-top: 12px;
	margin-bottom: 10px;
}

article ul > li {
	margin-left: 24px;
	list-style-type: disc;
	list-style-position: outside;
}

article ol > li {
	margin-left: 25px;
	list-style-type: decimal;
	list-style-position: outside;
}

article blockquote {
	padding-left: 36px;
	padding-right: 18px;
}

article blockquote,
article blockquote > p {
	font-family: var(--heading-fonts);
	font-size: calc(1.06 * var(--heading-rem));
	font-weight: 700;
	line-height: 1.5;
	color: #404040;
}

article blockquote em,
article blockquote > p em {
	font-weight: 700;
	font-style: italic;
	color: var(--em-color);
}

article .abstract {
	font-family: var(--heading-fonts);
	font-size: calc(1.4 * var(--heading-rem));
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
	
	margin-top: 30px;
	margin-bottom: 30px;
	border-left: 5px solid #a0a0a0;
	padding-left: 15px;
}

article hr {
	margin: 4rem 0 3rem;
}

/* @group Photos */

article div.photo {
	text-align: center;
	margin: 30px 0px;
}

/* @end */

/* @group Figures */

article figure {
	margin: 0;
	margin-top: 30px;
	margin-bottom: 30px;
}

article figure.full-width {
	margin-left: calc(-1 * var(--article-left-margin));
	margin-right: calc(-1 * var(--full-width-negative-margin));
}

article figure figcaption {
	font-family: var(--heading-fonts);
	font-size: calc(0.8 * var(--heading-rem));
	line-height: 1.4;
	font-weight: 600;
	color: white;
	
	background-color: #404040;
	padding: 8px 16px 9px;
}

article figure figcaption.long {
	padding: 15px 16px 16px;
	line-height: 1.5;
}

article figure.full-width figcaption {
	padding-left: var(--article-left-margin);
	padding-right: var(--full-width-negative-margin);
}

article figure figcaption em {
	font-weight: 600;
	font-style: italic;
}

article figure img {
	width: 100%;
}

article .photo-right-caption {
	display: flex;
	align-items: center;
}

/* @end */

/* @group Display Box */

article .display-box {
	padding: 24px 35px;
	margin: 30px 0;
	background-color: #e0e0e0;
}

article .display-box h3 {
	margin: 0;
}

/* @end */

/* @group Code */

article pre {
	font-family: var(--code-font);
	font-size: 14px;
	line-height: 1.3;
	
	margin: 18px 0px;
	padding: 12px 12px 9px 20px;
	overflow: scroll;
	white-space: pre;
	background-color: #f0f0f0;
}

article code {
	font-family: var(--code-font);
	font-size: 14px;
	
	margin: 0;
	padding: 0;
}

/* @end */

/* @group Footnotes */

article div.footnotes {
	margin-top: 30px;
}

article div.footnotes li {
	font-size: 90%;
}

/* @end */

/* @end */


/* @group Footer */

footer {
	border-radius: 0 0 12px 12px;
	background: #66707c;
	background-image: linear-gradient(#66707c, #576069);
}

footer aside.fat-footer {
	padding: 24px 0px 30px var(--article-left-margin);
}

table.footer {
	width: calc(var(--outer-width) - var(--article-left-margin) - 50px);
}

footer td {
	font-family: var(--heading-fonts);
	font-size: calc(0.75 * var(--heading-rem));
	font-weight: 400;
	line-height: 1.5;
	color: white;
	
	padding-right: 20px;
}

footer td.c1 {
	width: 20%;
}

footer td.c2 {
	width: 20%;
}

footer td.c3 {
	width: 30%;
}

footer td.c4 {
	width: 30%;
}

footer h4 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #c0c0c0;
	
	margin-bottom: 0.3rem;
}

footer li {
	color: white;
	margin-top: 3px;
	list-style-type: none;
}

footer li a {
	color: white;
}

footer .footer-copyright {
	font-family: var(--heading-fonts);
	font-size: 70%;
	font-weight: 400;
	text-align: center;
	color: #a0a0a0;
	text-transform: uppercase;
	letter-spacing: 0.15em;

	border-radius: 0 0 12px 12px;
	padding: 5px 0 6px 0;
	background-color: #394047;
}

/* @end */

/* @group Audio Player */

.audio-player {
	margin-top: 21px;
	margin-bottom: 21px;
}

/* @end */

/* @end */


/* @group Root Section */

/* @group Header */

.root header {
	background-color: #646464;
}

.root header .site-logo {
	position: absolute;
	left: 42px;
	top: 24px;
	shadow: 0 -1px 0px rgba(0,0,0,.7);
}

.root header .site-title {
	padding-left: 199px;
}

/* @end */



/* @group Nav */

.root nav {
	background-color: #6475af;
	padding-left: 200px;
}

/* @end */



/* @end */

/* @group Home Page */


/* @group Background */

body.home div.outer-container {
	background: url(../images/home/exclusive_paper.jpg) repeat 0 155px;
	border-radius: 0 0 12px 12px;
}

/* @end */

/* @group Blogs List */

.home section.summary {
	font-family: var(--text-font);
	font-size: calc(1 * var(--text-rem));
	line-height: 1.55;

	padding: 24px 150px 18px 200px;
	position: relative;
	color: #303030;
	
	padding: 36px 150px 2.5rem 70px;
	display: flex;
	justify-content: flex-start;
}

.home section.summary.blog + section.summary.blog {
	border-top: 2px dashed #c0c0c0;
}

.home section.summary .thumbnail {
	flex: none;
	width: 130px;
}

.home section.summary div.details {
	flex: auto;
}

.home section.summary div.thumbnail img {
	width: 90px;
	height: 90px;
	margin-top: 6px;
}

.home section.summary h2 {
	font-family: var(--heading-fonts);
	font-size: calc(1.7 * var(--heading-rem));
	font-weight: 600;
	line-height: 1.2;
	color: #1a438e;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 0px rgba(255,255,255,.5);
	
	margin: 0 -0px 15px 0;
	padding: 0;
	border-bottom: none;
}

.home section.summary h2 a {
	color: #1a438e;
}

.home section.summary h2 img {
	vertical-align: baseline;
	padding-right: 0.4em;
}

.home section.summary h2.blog img {
	width: 40px;
}

.home section.summary h2.website img {
	width: 58px;
}

.home section.summary h3 {
	font-family: "freight-sans-pro", Tahoma, Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #808080;
	
	margin-top: 1rem;
	margin-bottom: 0.4rem;
}

.home section.summary ol {
	border-bottom: 1px solid #cccccc;
}

.home section.summary li {
	list-style: none;
	padding-top: 6px;
	padding-bottom: 4px;
	border-top: 1px solid #cccccc;
}

.home section.summary li a {
	color: #1a438e;
}

/* @group Websites */

.home section.tarax,
.home section.dha {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

/* @group Tarax */

.home section.tarax {
	margin-top: 1rem;
	background: url(../images/home/cardboard-yellow.jpg) repeat;
}

.home section.tarax div.thumbnail {
	top: 36px;
}

/* @end */

/* @group Denzil */

.home section.dha {
	background: url(../images/home/cardboard.jpg) repeat;
}

.home section.dha div.thumbnail {
	top: 36px;
}

/* @end */

/* @end */

/* @group Experience Blog */

.home section.experience {
	color: white;
	
	border: none;
	background: #574f4b;
	padding-top: 3rem;
	padding-bottom: 4rem;
	margin-bottom: 1rem;
}

.home section.experience h2 a {
	color: white;
}

.home section.experience h3 {
	color: white;
	opacity: 0.6;
}

.home section.experience li a {
	color: white;
}

/* @end */

/* @end */

/* @group Page Footer */

.home aside.fat-footer {
	padding-left: 70px;
}

/* @end */

/* @end */

/* @group Error Messages */

div.system-error-message {
	font-family: var(--heading-fonts);
	width: 500px;
	margin: 60px auto 120px;
	padding: 36px 48px;
	background-color: white;
	border: 1px solid #a0a0a0;
}

div.system-error-message h1 {
	font-size: calc(2.4 * var(--heading-rem));
	font-weight: 500;
	line-height: 1.0;
	letter-spacing: -0.02em;
	
	margin-bottom: 24px;
}

div.system-error-message ul {
	margin: 20px 0 20px 10px;
}

div.system-error-message p,
div.system-error-message li {
	font-size: calc(1.2 * var(--heading-rem));
	font-weight: 400;
	line-height: 1.3;
	
	margin: 6px 0;
}

/* @end */



/* @group Blogs */

/* @group Header */

header .blog-title {
	padding-left: 50px;
}

/* @end */

/* @group Single Post page */

.blog-post .post-date {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: calc(var(--sans-rem) * 1);
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	
	margin-top: 4px;
	margin-bottom: 0px;
}

/* @end */

/* @group Side Panel */

.blog .side-panel {
	position: absolute;
	top: 60px;
	right: 0px;
	width: var(--side-panel-width);
}

.blog.section .side-panel {
	top: 100px;
}

.blog .side-panel h4,
.blog .rss-feed {
	font-family: var(--heading-fonts);
	font-size: calc(0.8 * var(--heading-rem));
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #888888;
}

/* @end */

/* @group RSS Feed */

.blog .rss-feed {
	display: flex;
	align-items: center;
}


.blog .rss-feed .label {
	padding-left: 10px;
}

.blog .rss-feed a {
	color: #888888;
}

.blog .rss-feed img {
	width: 27px;
}

/* @end */

/* @group Tags in Post */

.blog ul.tags {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.blog ul.tags li {
	font-family: var(--heading-fonts);
	font-size: calc(0.8 * var(--heading-rem));
	font-weight: 600;
	list-style: none;

	padding: 1px 9px 2px;
	margin: 3px 5px 3px 0px;
	
	background-color: #b0b0b0;
	border-radius: 6px;
}

.blog ul.tags li a {
	color: white;
}

/* @end */

/* @group Taxonomy Tags */

.blog.taxonomyTerm .taxonomy-terms ul.tags {
	margin-top: 30px;
	margin-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.blog.taxonomyTerm .taxonomy-terms ul li {
	font-family: var(--heading-	font-size: 20px;
fonts);
	font-size: 1rem;
	font-weight: 600;
	list-style: none;

	padding: 2px 12px 3px;
	margin: 3px 8px 3px 0px;
	
	background-color: #b0b0b0;
	border-radius: 8px;
}

.blog.taxonomyTerm .taxonomy-terms li a {
	color: white;
}

/* @end */


/* @group Code */

article code {
	font-family: var(--code-font);
	font-size: 17px;
	color: teal;
	color: var(--code-color);
	margin: 0 2px;
}

/* @end */

/* @group Next-Prev */

.next-prev {
	position: relative;
	width: var(--article-width);
	box-sizing: content-box;
	overflow: auto;
	margin-left: var(--article-left-margin);
	margin-bottom: 30px;
	
	display: flex;
	justify-content: space-between;
}

.next-prev > div {
	font-family: var(--heading-fonts);
	font-size: calc(0.75 * var(--heading-rem));
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	
	padding: 4px 12px;
	background-color: #e9e9e9;
	border-radius: 20px;
}

.next-prev > div a {
	color: #808080;
}

/* @end */

/* @group Recent Posts */

.blog .recent-posts {
	padding: 0px 0px 50px var(--article-left-margin);
	position: relative;
	margin-top: 20px;
	background-color: #e9e9e9;
	overflow: auto;
}

.blog .recent-posts h4 {
	font-family: var(--heading-fonts);
	font-size: calc(1.1 * var(--heading-rem));
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #606060;
	
	margin: 24px 0 15px;
}

.blog .recent-posts table {
	width: var(--article-width);
	border-bottom: 1px solid #ffffff;
}

.blog .recent-posts td {
	font-family: var(--table-fonts);
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.015em;
	
	padding: 10px 0 10px;
	border-top: 1px solid #ffffff;
}

.blog .recent-posts td a {
	color: #4674B0;
}

.blog .recent-posts td.date {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	color: #909090;
	
	width: 20%;
}

/* @end */

/* @group Section + Taxonomy List pages */


.blog.section main h1,
.blog.taxonomyTerm main h1,
.blog.taxonomy main h1 {
	font-family: var(--heading-fonts);
	font-size: calc(1.3 * var(--heading-rem));
	font-weight: 600;
	color: #505050;
	
	background-color: #e9e9e9;
	padding: 12px 0px 12px 180px;
}

.blog.taxonomyTerm main h1 {
	padding-left: var(--article-left-margin);
}

.blog.taxonomy main h1 span {
	font-size: 1rem;
	font-weight: 600;
	color: white;

	padding: 1px 10px 3px;
	margin-left: 3px;
	
	background-color: #a8a8a8;
	border-radius: 8px;
}

.blog.section main h1 span {
	font-size: 80%;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-left: 0.5em;
	color: #909090;
}

.blog.section article,
.blog.taxonomy article {
	--listing-indent:50px;
	--listing-width-reduction:80px;
	display: flex;
	margin: 0;
	padding: 0;
	margin: 2.7rem 0 36px var(--listing-indent);
	width: calc(var(--article-width) + var(--listing-indent));
}

.blog.section article time,
.blog.taxonomy article time {
	font-family: var(--heading-fonts);
	font-size: calc(0.9 * var(--heading-rem));
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #808080;

	flex-basis: 130px;
	flex-basis: calc(var(--listing-indent) + var(--listing-width-reduction));
	margin-top: 5px;
}

.blog.section article div,
.blog.taxonomy article div {
	flex-basis: calc(
	var(--article-width) -
	var(--listing-width-reduction)
	);
}

.blog.section article h2,
.blog.taxonomy article h2 {
	font-family: var(--heading-fonts);
	font-size: calc(1.3 * var(--heading-rem));
	font-weight: 700;
	line-height: 1.3;

	margin: 0;
	padding: 0;
	border: none;
}

.blog.section article h2 a,
.blog.taxonomy article h2 a {
	color: #505050;
}

.blog.section article p,
.blog.taxonomy article p {
	margin-bottom: 0;
}

.blog.section article .tags,
.blog.taxonomy article .tags {
	margin-top: 9px;
}

.blog.section article .tags li,
.blog.taxonomy article .tags li {
	font-size: 14px;
	background-color: #c0c0c0;
}

/* @end */

/* @group Vimeo/video panels */

.blog .video-wrapper {
	background-color: #404040;
	margin-left: -100px;
	padding-left: 100px;
	margin-right: -270px;
	margin-top: 2rem;
	margin-bottom: 3rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/* @end */





/* @end */
