/*
Theme Name: Dux Digital
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;
}

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[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;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# 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;
}

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%;
}


/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.entry-hero-wrapper,
.hentry-wrapper,
.site-content-wrapper,
.site-footer-wrapper,
.site-header-wrapper,
.widget-area-wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
	max-width: 56.25rem;
	width: 90%;
	width: calc(100% - 3em);
}

.content-area {
	width: 100%;
}

.content-area {
	max-width: 100%;
}

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

.site-header-wrapper {
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	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 {
  background: none;
	border: none;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 0;
	width: 2.5em;
}

.dropdown-toggle:before {
	height: 1em;
	left: 50%;
	line-height: 1;
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 1em;
}

/*--------------------------------------------------------------
# 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: 100000;
}

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.page-content:before,
.page-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.page-content:after,
.site-header:after,
.site-content:after,
.site-footer:after{
	clear: both;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts & Pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
	padding-top: 1.5em;
}

.hentry:last-of-type {
	border-bottom: 0;
	margin-bottom: 0;
}

.hentry + .hentry {
	margin-top: -1.5em;
}

.updated:not(.published) {
	display: none;
}

.entry-content,
.entry-summary {
	margin: 0;
}

.page-content {
	padding: 1.5em 1.5em 0;
}

.page-header {
	padding: 1.5em 1.5em 0;
}

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

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

/*--------------------------------------------------------------
# Extra Classes
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Buttons
--------------------------------------------------------------*/
.button {
	border: 0;
	cursor: pointer;
	text-align: center;
	text-shadow: none;
}

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

	/* Layout */
	.entry-hero-wrapper,
	.hentry-wrapper,
	.site-content-wrapper .has-post-thumbnail .entry-header-wrapper,
	.site-footer-wrapper {
		width: 80%;
		width: calc(100% - 6em);
	}

	/* Content */
	.hentry {
		padding-top: 3em;
		padding-bottom: 1.5em;
	}

	.page-content,
	.page-header {
		padding: 3em 3em 1.5em;
	}
}

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

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

	.site-header-wrapper {
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}

	.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;
	}

	.scrolling .main-navigation,
	.scrolling .site-branding {
		margin-top: 0.75em;
	}

	/* Navigation */
	.dropdown-toggle,
	.main-navigation ul .dropdown-toggle.toggled-on,
	.menu-toggle {
		display: none;
	}

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

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

	.main-navigation ul,
	.main-navigation.toggled-on ul {
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		font-size: 1rem;
		line-height: 1.5;
	}

	.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;
		padding-right: 20px;
	}

	.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 {
		border-style: solid;
		border-width: 1px 1px 0;
		float: left;
		margin: 0;
		position: absolute;
		top: 100%;
		left: -999em;
		width: 12.5em;
		z-index: 99999;
	}

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

	.main-navigation ul ul a {
		padding: 0.75em;
	}

	.main-navigation ul ul li {
		border-bottom: 1px solid;
		margin: 0;
		width: 100%;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: auto;
		right: 0;
	}

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

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

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

	.main-navigation ul ul.offscreen .menu-item-has-children > a:after {
		transform: rotate(90deg);
		top: 40%;
	}
}

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