/*
Theme Name: The Theme
Author: Dux Digital
Author URI: http://duxdigital.com.au
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
*, ::before, ::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

figure {
  margin: 0 0 1.5em;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

svg path {
	transform-box: fill-box;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button {
	background-color: transparent;
	border: none;
	border-radius: 0;
	cursor: pointer;
	padding: 0;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
dfn,
cite,
em,
i {
	font-style: italic;
}

code {
	background: #f3f3f3;
	font-family: Inconsolata, monospace;
	padding: 0 0.25em;
}

pre {
	border: 1px solid #f3f3f3;
	font-family: Inconsolata, monospace;
	margin: 0 0 1.5em;
	max-width: 100%;
	overflow: auto;
	padding: 1.5em;
	position: relative;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
ul,
ol {
	margin: 0 0 1.5em 1.25em;
	padding: 0;
}

ul {
	list-style: outside disc;
}

ol {
	list-style: outside decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
	width: auto;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 1.5em;
	table-layout: fixed;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header {
	width: 100%;
}

.site-header-wrapper {
	align-items: center;
	display: flex;
	position: relative;
	z-index: 1;
}

.site-branding {
	margin-left: 0;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	text-decoration: none;
}

a:visited {
	font-weight: normal;
}

/*a:focus,
a:hover {
	outline: 0;
}*/

/*--------------------------------------------------------------
## Main Menu
--------------------------------------------------------------*/
.site-menu.toggled-on {
	display: block;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
}

.main-navigation.toggled-on ul,
.main-navigation.toggled-on ul.toggled-on {
	display: block;
}

.main-navigation.toggled-on ul ul {
	display: none;
}

.main-navigation .menu-item-has-children > a {
	margin-right: 3.5em;
	position: relative;
}

.main-navigation .menu-item-has-children > a:after {
	right: 0;
	top: 50%;
}

.main-navigation ul ul .menu-item-has-children > a:after {
	right: 0.75em;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
}

.main-navigation ul ul {
	margin-left: 1.5em;
}
@media screen and (max-width: 896px) {
	.main-navigation ul ul {
		background: transparent;
	}	
}

/* Dropdown Toggle */
.dropdown-toggle,
.menu-toggle {
  background: none;
	border: none;
	cursor: pointer;
}

.hamburger {
	box-sizing: content-box;
	height: auto;
	padding: 0;
	z-index: 222;
}

.hamburger span.hamburger-text {
	display: none;
}

.hamburger svg {
	width: auto;
}

.hamburger .line {
	fill: none;
	stroke: black;
	stroke-width: 6;
	transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
		stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1),
		stroke 200ms;
}
.hamburger .line1 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.hamburger .line2 {
	stroke-dasharray: 60 60;
	stroke-width: 6;
}
.hamburger .line3 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.hamburger.is-active .line1 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}
.hamburger.is-active .line2 {
	stroke-dasharray: 1 60;
	stroke-dashoffset: -30;
	stroke-width: 6;
}
.hamburger.is-active .line3 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 9999999;
}

#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts & Pages
--------------------------------------------------------------*/

embed,
iframe,
object,
video,
.fb_iframe_widget,
.wp-audio-shortcode {
	margin: 0;
	max-width: 100%;
}

p embed,
p iframe,
p object,
p video {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
## x >= 896px
--------------------------------------------------------------*/
@media screen and (min-width: 896px) {

	/* Layout */
	.no-sidebar .site-content-wrapper {
		max-width: 100%;
	}

	.site-menu {
		display: block;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
	}

	.sticky-header .site-header {
		position: fixed;
		-webkit-transition: all 250ms ease-in-out;
		-moz-transition: all 250ms ease-in-out;
		transition: all 250ms ease-in-out;
		z-index: 9999;
	}

	/* Navigation */
	.main-navigation.toggled-on ul ul {
		display: block;
	}

	.main-navigation .primary-menu {
		border-bottom: 0;
	}

	.main-navigation ul,
	.main-navigation.toggled-on ul {
		display: flex;
	}

	.main-navigation li {
		border: 0;
		position: relative;
	}

	.main-navigation .primary-menu > li:first-child {
		margin-left: 0;
	}

	.main-navigation .primary-menu > li:last-child {
		margin-right: 0;
	}

	.main-navigation a {
		display: block;
	}

	.main-navigation .menu-item-has-children > a {
		margin-right: 0;
	}

	.main-navigation ul ul .menu-item-has-children > a {
		padding-right: 28px;
		padding-right: calc(0.75em + 20px);
	}

	.main-navigation .menu-item-has-children > a:after {
		display: block;
	}

	.main-navigation ul ul {
		position: absolute;
		display: block;
		height: auto;
		left: -999em;
		top: 91px;
		visibility: hidden;
		width: calc(100% + 200px);
		z-index: 99999;
	}

	.main-navigation ul ul ul {
		top: -1px;
	}

	.main-navigation ul ul li {
		margin: 0;
		width: 100%;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.open > ul {
		left: 50%;
		transform: translateX(calc(-50% - 9px));
		visibility: visible;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.open > ul {
		left: 100%;
		visibility: visible;
	}

	/* Move dropdowns falling offscreen to the right */
	.main-navigation ul li:hover > ul.offscreen,
	.main-navigation ul li.open > ul.offscreen {
		left: auto;
		right: 0;
	}

	.main-navigation ul ul li:hover > ul.offscreen,
	.main-navigation ul ul li.open > ul.offscreen,
	.main-navigation ul ul ul.offscreen li:hover > ul,
	.main-navigation ul ul ul.offscreen li.open > ul {
		left: auto;
		right: 100%;
	}
}

/*--------------------------------------------------------------
# Gutenberg
--------------------------------------------------------------*/
.alignfull {
	width: 100vw;
  margin-left: calc( 50% - 50vw );
  max-width: none;
}
.alignwide {
  max-width: none;
}
