/*!
Theme Name: Neo Health
Theme URI: http://underscores.me/
Author: Digital On Demand
Author URI: http://www.digitalondemand.com.au
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: neohealth
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

NeoHealth is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 500;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #1BA085;
}

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

/* 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,
select {
    font-family:"Oswald", sans-serif;
    font-size:22px;
	color: #666;
	border: 1px solid #929292;
	border-radius: 5px;
	padding: 5px 10px;
	width:100%;
	font-weight:300;
	margin: 5px 0;
}

::placeholder {
    color: #666666aa;
}

textarea {
    max-width:100%;
    height:200px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

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

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

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

.main-navigation ul ul a {
	width: 200px;
}

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

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

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

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

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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

/* wp block / gutenberg custom styles */

.has-purple-background-color { background-color: #6B5179; }
.has-purple-color,
.wp-block-button__link.has-purple-color:hover,
.wp-block-button__link.has-purple-color:active,
.wp-block-button__link.has-purple-color:focus,
.wp-block-button__link.has-purple-color:visited { color: #6B5179 !important; }
.has-green-background-color { background-color: #1BA085; }
.has-green-color,
.wp-block-button__link.has-green-color:hover,
.wp-block-button__link.has-green-color:active,
.wp-block-button__link.has-green-color:focus,
.wp-block-button__link.has-green-color:visited { color: #1BA085 !important; }
.has-dark-grey-background-color { background-color: #58595B; }
.has-dark-grey-color,
.wp-block-button__link.has-dark-grey-color:hover,
.wp-block-button__link.has-dark-grey-color:active,
.wp-block-button__link.has-dark-grey-color:focus,
.wp-block-button__link.has-dark-grey-color:visited { color: #58595B !important; }
.has-light-grey-background-color { background-color: #EAEAEA; }
.has-light-grey-color,
.wp-block-button__link.has-light-grey-color:hover,
.wp-block-button__link.has-light-grey-color:active,
.wp-block-button__link.has-light-grey-color:focus,
.wp-block-button__link.has-light-grey-color:visited { color: #EAEAEA !important; }
.has-white-background-color { background-color: #fff; }
.has-white-color,
.wp-block-button__link.has-white-color:hover,
.wp-block-button__link.has-white-color:active,
.wp-block-button__link.has-white-color:focus,
.wp-block-button__link.has-white-color:visited { color: #fff !important; }


.has-purple-transparent-background-color { background-color: #6B51790F; }
.has-green-transparent-background-color { background-color: #1BA0850F; }

.alignfull {
    margin-left: calc((-100vw + 100%) / 2);
    width: 100vw;
    padding-left: calc((100vw - 100%) / 2);
    padding-right: calc((100vw - 100%) / 2);
}

.wp-block-group.has-background:not(.alignfull) {
    padding:50px;
}

.wp-block-group.has-background.alignfull {
    padding-top:11vw;
    padding-bottom:4vw;
    margin-top:0;
    margin-bottom:50px;
    position:relative;
}

.wp-block-group.has-background.alignfull:before,
.wp-block-group.has-background.alignfull:after {
    content:'';
    position:absolute;
    left:0;
    display:block;
    width:100vw;
    z-index:0;
}
.wp-block-group.has-background.alignfull:before {
    top:-2px;
    height:9.25vw;
    background: url('images/curved-top-desktop.png') no-repeat;
    background-size: cover;
}
.wp-block-group.has-background.alignfull:after {
    bottom:-2px;
    height:13.85vw;
    background: url('images/curved-bottom-desktop.png') no-repeat;
    background-size: cover;
}
.wp-block-group.has-background .wp-block-group__inner-container {
    position:relative;
    z-index:1;
}

.wp-block-separator {
    border:0;
    border-top:1px solid #707070;
    width:40%;
    margin: 0.5em auto;
    height:0;
    background:transparent;
}

.wp-block-image figcaption {
    text-align:center;
    font-weight:400;
    font-size:22px;
}

.wp-block-button__link,
.gform_button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-weight:700;
    text-transform:uppercase;
    padding:6px 50px;
    border-radius:9px;
    font-size:20px;
    transition: transform 100ms ease-out;
}

.wp-block-button__link:hover,
.gform_button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    transform:scale(1.03);
}

.no-margin {
    margin:0;
}

.wp-block-group.has-purple-transparent-background-color,
.wp-block-group.has-green-transparent-background-color {
    margin: 50px 0;
}

.has-purple-transparent-background-color h2,
.has-green-transparent-background-color h2{
    margin:0 0 30px;
    padding:20px 50px;
    margin-left:-50px;
    margin-top:-50px;
    width: calc(100% + 100px);
    border-bottom:10px solid white;
}

.has-purple-transparent-background-color h2 {
    background: rgba(107,81,121,0.22);
}

.has-green-transparent-background-color h2 {
    background: rgba(27,160,133,0.22);
}

/* custom styles */

body {
    font-family: "Oswald";
    font-weight:300;
    color:#5D5D5D;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
    line-height:1.33;
    font-size:27px;
    background: url('images/bg-dots.jpg') left bottom no-repeat;
    background-size: 70% auto;
}

.site-wrapper {
    overflow:hidden;
}

h1,h2,h3,h4 {
    text-transform:uppercase;
    font-weight:500;
    line-height:1.1;
}

h5 {
    font-weight:500;
    line-height:1.1;
}

p {
    margin: 0 0 1em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.footer-widgets-container h1,
.footer-widgets-container h2,
.footer-widgets-container h3,
.footer-widgets-container h4,
.footer-widgets-container h5{
    color:#6B5179;
}

.has-text-color h1,
.has-text-color h2,
.has-text-color h3,
.has-text-color h4,
.has-text-color h5 {
    color: inherit;
}

.site {
    width: 1000px;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 15px;
}

.site-preheader {
    background: #EAEAEA;
    text-transform:uppercase;
    padding:10px 30px;
    font-size:14px;
    text-align:right;
    color:#969798;
    width:100%;
}

.site-header {
    position:sticky;
    left:0;
    right:0;
    top:0;
    display:flex;
    align-items:center;
    background:white;
    flex-wrap:wrap;
    z-index:1000;
}

.page-header {
    position:relative;
    margin-bottom:80px;
    margin-left: calc((-100vw + 100%) / 2);
    width: 100vw;
}

.page-header.no-image {
    background:#EAEAEA;
    height: 200px;
}

@keyframes pageHeaderIntro {
    from { opacity:0; transform:scale(1.1); }
    to   { opacity:1; transform:scale(1); }
}

.page-header-image,
.page-header-image-mobile {
    width:100%;
    height:auto;
    animation: pageHeaderIntro 1s cubic-bezier(0.165, 0.840, 0.440, 1.000) 0s 1;
    animation-fill-mode:both;
}

@keyframes pageHeaderContentIntro {
    from { opacity:0; transform:translate(-40px, -50%); }
    to   { opacity:1; transform:translate(0, -50%); }
}

.page-header content {
    position:absolute;
    width:600px;
    max-width:100%;
    display:block;
    top:40%;
    transform:translateY(-50%);
    left: max( 0px, calc((100vw - 1400px) / 2) );
    animation: pageHeaderContentIntro 0.5s cubic-bezier(0.165, 0.840, 0.440, 1.000) 0.3s 1;
    animation-fill-mode:both;
    padding:0 30px;
}

.page-header h1 {
    margin:0 0 20px;
    color:white;
    font-size:50px;
    line-height:1.33;
    font-weight:500;
    display:inline;
    background: #1BA085;
    box-shadow: -15px 0 0 0 #1BA085, 15px 0 0 0 #1BA085;
}

.page-header .wp-block-button__link {
    margin-top:60px;
}

.homepage-hero-image {
    margin: -100px 0 -100px -100px;
}

.site-branding {
    padding:10px 30px;
}
.site-branding img {
    width:156px;
    height:auto;
    display: block;
}

.main-navigation {
    display:flex;
    justify-content: flex-end;
    flex: 1 1 auto;
}

.main-navigation ul li a {
    text-transform:uppercase;
    color:#5D5D5D;
    padding:10px 30px;
    font-size:14px;
    transition: all 100ms ease-out;
}

.main-navigation ul li a:hover {
    color: #1BA085;
}

.main-navigation ul li.current-menu-item a {
    font-weight:500;
    color: #1BA085;
}

.site-main {
    margin-bottom:200px;
}

.footer-widgets-container {
    background: rgba(0,0,0,0.05);
    padding-top: 50px;
    padding-bottom: 100px;
    margin-bottom:0;
    text-align:center;
    position:relative;
    margin-top: -1vw;
}
.footer-widgets-container:before {
    content:'';
    position:absolute;
    left:0;
    right:0;
    top: -13.85vw;
    width:100vw;
    height:13.85vw;
    background: url('images/footer-widgets-top.png') no-repeat;
    background-size:cover;
    pointer-events:none;
}

.site-footer {
    background:#aaaaaa;
    font-family: "Roboto", sans-serif;
    color:white;
    padding:30px;
    font-size:16px;
    position:relative;
}
.site-footer:before {
    content:'';
    position:absolute;
    left:0;
    right:0;
    top: calc(-10.3vw + 2px);
    width:100vw;
    height:10.3vw;
    background: url('images/footer-top-light.png') no-repeat;
    background-size:cover;
    pointer-events:none;
}

.footer-bottom {
    display:flex;
    align-items: flex-start;
    width:100%;
}

.menu-footer-menu-container {
    border-top:2px solid #bbb;
    padding-top:20px;
    margin-right:50px;
    flex: 1 1 auto;
    font-size:14px;
}

.footer-logo {
    width:20%;
}

#menu-footer-menu {
    list-style-type:none;
    margin:0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    width:450px;
    max-width:100%;
}

#menu-footer-menu li {
    width:33.33%;
}

#menu-footer-menu li a {
    color:inherit;
    text-decoration:none;
    white-space:nowrap;
    padding: 5px 0;
    display:block;
}

.simple-accordions {
    margin: 60px 0;
}

.product-category-accordion,
.services-accordion header,
.services-accordion strong {
    color: #1BA085;
}

.simple-accordion > header {
    background:#58595B0D;
    padding:15px 40px;
    display:flex;
    align-items:center;
    margin: 10px 0;
    cursor:pointer;
    transition: all 150ms ease-out;
}

.simple-accordion > header svg {
    width:50px;
    height:50px;
    margin-right:30px;
    fill:#1BA085;
    display:block;
}

.services-accordion > header svg {
    width: 80px;
    height:60px;
}

.simple-accordion > header h3 {
    color:inherit;
    margin:0;
    font-size:40px;
    flex: 1 1 auto;
}

.simple-accordion > header:after {
    content:'+';
    font-size:60px;
    line-height:0;
}

.simple-accordion > header.active:after {
    content:'−';
}

.simple-accordion > content {
    display:block;
    padding: 1px 0;
}

.product-category-item {
    background:#f6f6f6;
    margin: 6px 0;
    position:relative;
    cursor:pointer;
    transition: all 150ms ease-out;
}

.product-category-item h3 {
    color:inherit;
    text-transform:none;
    padding: 10px 30px 10px 120px;
    margin:0;
    font-size:27px;
    font-weight:300;
    line-height:1;
}

.product-category-item .product-details {
    position:absolute;
    right:10px;
    top:10px;
    padding:10px;
    max-width: 50%;
    box-shadow: 4px 5px 10px 0 rgba(0,0,0,0.38);
    background:white;
    color:inherit;
    border:2px solid;
    z-index:10;
    visibility:hidden;
    opacity:0;
    transform:scale(0.9);
    transition: all 100ms ease-out;
    line-height: 1.2;
}

.product-category-item.active .product-details {
    visibility:visible;
    opacity:1;
    transform:scale(1);
    z-index:11;
}

.product-category-item .product-details header {
    background: #1BA085;
    margin-bottom:15px;
    display:flex;
    align-items:center;
}

.product-category-item .product-details header svg {
    width:80px;
    height:60px;
    fill:white;
    padding:5px 15px;
}

.product-category-item .product-details header h4 {
    color:white;
    margin:0;
    text-transform:none;
    font-weight:300;
    padding: 20px 30px;
}

.product-category-item .product-details header svg + h4 {
    border-left:5px solid white;
}

.product-category-item .product-details table {
    margin:0;
    border-collapse:collapse;
}

.product-category-item .product-details table tr:not(:first-child) {
    border-top: 1px solid;
}

.product-category-item .product-details table td {
    padding: 8px 15px;
}

.product-category-item .product-details table td:first-child {
	font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.product-category-item .product-details table td:last-child {
    font-weight:500;
	width: 80%;
}

.product-category-item .product-details a {
    width:100%;
    border-radius:0;
    margin-top:25px;
    padding:15px;
}

.services-accordion > content {
    padding:50px 30px;
}


.simple-accordion > header:hover,
.simple-accordion > header.active,
.simple-accordion .product-category-item:hover,
.simple-accordion .product-category-item.active {
    background:#1BA08523;
}

.services-accordion > content {
    background:#1BA0850F;
}

.simple-accordion:nth-child(even) > header svg {
    fill:#6B5179;
}

.product-category-accordion:nth-child(even),
.services-accordion:nth-child(even) header,
.services-accordion:nth-child(even) strong{
    color:#6B5179;
}

.simple-accordion:nth-child(even) .product-category-item .product-details header {
    background: #6B5179;
}

.simple-accordion:nth-child(even) > header:hover,
.simple-accordion:nth-child(even) > header.active,
.simple-accordion:nth-child(even) .product-category-item:hover,
.simple-accordion:nth-child(even) .product-category-item.active {
    background:#6B517923;
}

.services-accordion:nth-child(even) > content {
    background:#6B51790F;
}

.services-grid {
    display:flex;
    flex-wrap:wrap;
    margin: 80px 0;
}

.services-grid-item {
    width:25%;
    text-align:center;
    padding:30px;
}

.services-grid-item svg {
    width:100px;
    height:100px;
    margin: 0 auto 30px;
    fill:#6B5179;
}

.services-grid-item h5 {
    color:#58595B;
    margin:0;
}

section.not-found {
    text-align:center;
}

.search-form {
    display:flex;
    width:100%;
}

.search-form > label {
    margin:0 10px 0 0;
    flex: 1 1 auto;
    width:100%;
}

.search-form .search-field {
    margin:0;
}

.gform_footer {
    text-align:center;
}

.gform_wrapper .gform_footer input.button,
input[type="submit"] {
    border:0;
    font-family:"Oswald", sans-serif;
    background:#6B5179;
    color:white;
    font-size:20px;
}

.gform_fields {
    list-style-type:none;
    margin:0 0 50px;
    padding:0;
}

.gfield.hidden_label label {
    display:none;
}

/* MOBILE NAVIGATION */

.mobile-navigation {
    position:fixed;
    left:0;
    right:0;
    top:0;
    bottom:0;
    padding: 30px 30px 30px;
    z-index:999;
    text-align:center;
    visibility:hidden;
    opacity:0;
    transition: all 100ms ease-in;
    
    transform: scale(0.9);
    background: white;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-navigation-toggle {
    position:relative;
    z-index:1001;
    cursor:pointer;
    color:white;
    width:50px;
    height:50px;
    padding:15px;
    margin-right:-15px;
}

.mobile-navigation-toggle .hamburger-bar {
    width:20px;
    height:2px;
    background:#5D5D5D;
    position:absolute;
    left:50%;
    top:50%;
    margin-left:-10px;
    margin-top:-1px;
    transition: transform 350ms ease-in-out;
}

.hamburger-bar:nth-child(1){
    transform:translateY(-8px);
}

.hamburger-bar:nth-child(3){
    transform:translateY(8px);
}

body.mobile-navigation-open .hamburger-bar:nth-child(1) {
    transform: translateY(0) rotate(-135deg) scaleX(1.2);
}
body.mobile-navigation-open .hamburger-bar:nth-child(2) {
    transform: scaleX(0);
}
body.mobile-navigation-open .hamburger-bar:nth-child(3) {
    transform: translateY(0) rotate(135deg) scaleX(1.2);
}

body.mobile-navigation-open .mobile-navigation {
    transition: all 300ms cubic-bezier(0.165, 0.840, 0.440, 1.000);
    visibility:visible;
    opacity:1;
    transform: scale(1);
}

.mobile-navigation .menu,
.mobile-navigation .sub-menu {
    list-style-type:none;
    padding:0;
    margin:0;
}

.mobile-navigation .menu li a {
    font-size:27px;
    color:#5D5D5D;
    text-transform:uppercase;
    text-decoration:none;
    padding: 10px 15px;
    display:block;
}

.mobile-navigation .menu li.current-menu-item a {
    font-weight:500;
    color: #1BA085;
    pointer-events:none;
}

.mobile-search-button {
    padding: 15px;
}

.single-job-listing .entry-title {
    color:#1BA085;
    padding: 0 85px;
}

.single-job-listing article.job-listing {
    background-color: rgba(27,160,133,0.06);
    padding: 10px 35px 30px;
}

.single-job-listing article.job-listing .entry-content {
    background-color: white;
    padding:20px 50px 40px;
    margin:0 0 30px;
    font-size: 22px;
}

.job-listings-item {
    background-color: white;
    padding:20px 50px;
    margin:10px 0;
    font-size:22px;
    display:block;
    text-decoration:none;
    color:#5D5D5D;
    transition: background-color 150ms ease-out;
}

.job-listings-item:hover {
    background-color: rgba(27,160,133,0.06);
}

.job-listings-item p {
    margin: 15px 0 0;
}

.job-listing-header {
    display:flex;
    justify-content:space-between;
    padding:10px 50px;
}

.job-listing-details {
    display:flex;
    justify-content:space-between;
}

.single-job-listing article.job-listing .entry-content .job-listing-details {
    margin-bottom:30px;
}

.job-listing-details h3 {
    text-align:center;
    color:#1BA085;
    text-transform:none;
    margin:0;
    font-size: 27px;
    width:25%;
}
.job-listing-details h3:first-child {
    text-align:left;
    width:50%;
}
.job-listing-details h3:last-child {
    text-align:right;
    width:25%;
}

.single-job-listing .gform_wrapper .gform_footer input.button,
.single-job-listing  input[type="submit"] {
    background-color:#1BA085;
}

.single-job-listing .gform_confirmation_message {
    text-align:center;
    color: #1ba185;
}

.gform_wrapper .validation_error,
.gform_wrapper .validation_message {
    font-size:18px;
    margin-bottom:10px;
    color:#D10028;
}

/* RESPONSIVE */

@media only screen and (min-width : 801px) {
    
    .mobile-navigation-toggle,
    .mobile-search-button,
    .page-header-image-mobile {
        display:none;
    }
    

    .wp-block-column:not(:first-child) {
        margin-left:60px;
    }
    
}

@media only screen and (max-width : 800px) {
    
    .main-navigation,
    .site-preheader,
    .page-header-image {
        display:none;
    }
    
    body,
    .wp-block-image figcaption {
        font-size: 18px;
    }
    
    .page-header {
        margin-bottom:30px;
    }
    
    .page-header content {
        top: 60%;
    }
    
    .page-header content > div {
        text-align:center;
    }
    
    .page-header h1 {
        font-size:40px;
    }
    
    .site-branding {
        flex: 1 1 auto;
    }
    
    .site-branding img {
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction:column;
        align-items:flex-end;
    }
    
    .menu-footer-menu-container {
        margin:0;
        width:100%;
    }
    
    #menu-footer-menu {
        flex-direction:column;
    }
    
    .footer-logo {
        width:40%;
        margin-top:30px;
    }

    .services-grid-item {
        width:50%;
    }
    
    .simple-accordion > header {
        padding-left:20px;
        padding-right:20px;
    }

    .simple-accordion > header h3 {
        font-size:23px;
    }

    .simple-accordion > header svg {
        width:40px;
        height:40px;
        margin-right:20px;
    }
    
    .services-accordion > header svg {
        width: 50px;
        height:40px;
    }
    
    .product-category-item h3 {
        padding-left:30px;
        font-size:18px;
    }

    .product-category-item .product-details header h4 {
        padding: 10px 15px;
    }

    .product-category-item .product-details {
        max-width:80%;
    }
    
    .homepage-hero-image,
    .mobile-wide-image {
        margin:  0 -100px 50px;
    }
    
    .is-style-circle-mask img,
    .is-style-rounded img {
        width:195px;
        height:auto;
        max-width:100%;
        margin: 0 auto 30px;
        display:block;
    }
    
    .mobile-two-columns {
        margin-bottom:0;
    }
    
    .mobile-two-columns .wp-block-column {
        flex-basis:50% !important;
        padding: 0 15px;
    }
    
    .wp-block-group.has-background.alignfull {
        padding-top:60px;
        padding-bottom:40px;
    }
    
    .wp-block-group.has-background:not(.alignfull) {
        padding:15px;
    }

    .job-listing-details {
        flex-direction:column;
        margin-bottom:15px;
    }

    .job-listing-details h3,
    .job-listing-details h3:last-child,
    .job-listing-details h3:first-child {
        text-align:left;
        width:100%;
        color:#5D5D5D;
        font-weight:normal;
        font-size:22px;
        margin-bottom:10px;
        display:flex;
    }
    
    .job-listing-details h3:before {
        color:#1BA085;
        width:100px;
        flex: 0 0 auto;
    }
    
    .job-listing-details-title:before { content: "Position: "; }
    .job-listing-details-work-type:before { content: "Work Type: "; }
    .job-listing-details-location:before { content: "Location: "; }
    .job-listing-details-close-date:before { content: "Closes: "; }
    
    .job-listing-header {
        display:none;
    }
    
    .job-listing-header,
    .job-listings-item,
    .single-job-listing article.job-listing .entry-content {
        padding-left:15px;
        padding-right:15px;
    }

    .has-purple-transparent-background-color h2,
    .has-green-transparent-background-color h2{
        margin-left:-15px;
        margin-top:-15px;
        width: calc(100% + 30px);
        padding-left:30px;
        padding-right:30px;
    }
    
    .single-job-listing .entry-title {
        padding-left:20px;
        padding-right:20px;
    }
    
    .single-job-listing article.job-listing {
        padding-left:15px;
        padding-right:15px;
        padding-top:15px;
    }
}