/*!
Theme Name: patrick
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: patrick
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 with others.

patrick is based on Underscores https://underscores.me/, (C) 2012-2017 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | 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; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

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

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * 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; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/* 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; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	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; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
	padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
	font: inherit; /* 2 */
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

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: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

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 {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

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

/* -- MODIFIED FOR JS DROPDOWN */
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: auto;
	/* left: -999em; */
	z-index: 99999;
	display: none;
	/* dispplay: block; */
}

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

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

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

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

.main-navigation li {
	float: left;
	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: block;
	}
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 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;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#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,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-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,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

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

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

.post,
.page {
	margin: 0 0 1.5em;
}

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

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/*============================================================================================================================
============================================================== MAIN STYLES
============================================================================================================================*/

/*===============
====== FONTS 
================*/

h1, h2, h3, p, li, a {
	font-family: 'Montserrat', sans-serif;
	font-weight: normal !important;
	font-style: normal;
}

body ul {
	list-style: none;
}

body p, body a {
	font-size: 17px;
}

ul li::before {
  	content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  	color: #0C50A2;
  	font-weight: bold;
  	display: inline-block; /* Needed to add space between the bullet and the text */
  	width: 1em; /* Also needed for space */
  	margin-left: -1em; /* Also needed for space */
  	font-size: 26px;
  	line-height: 24px;
}

/* Font fix */
h1, h2, h3, p, li, a {
    -webkit-font-smoothing: antialiased; /* This needs to be set or some font faces fonts look bold on Mac in Chrome/Webkit based browsers. */
    -moz-osx-font-smoothing: grayscale; /* Fixes font bold issue in Firefox version 25+ on Mac */    
}

/*===============
====== MAIN 
================*/

body {
	overflow-x: hidden;
}

#page {
	max-width: 100%;
	margin-bottom: 0px;
	margin-top: 220px;
}

.page {
	margin-bottom: 0px;
}

.page-content {
	margin-top: 0px;
}

.page-content h1:first-child, .page-content p:first-child {
	margin-top: 0px;
}

.wrap {
	overflow: hidden;
}

h1, h2, h3 {
	color: #21409A;
}

body a {
	text-decoration: underline;
}

/* Centre all background images by default */
.wide-tile-image, .service-middle-image {
	background-position: center center;
}

/*===============
====== HEADER 
================*/

#masthead {
    position: fixed;
    top: 0px;
    z-index: 999;
    background: white;
    width: 100%;	
}

#menu-top-menu li::before {
	content: " ";
	background-image: url('/~patrickadmin/wp-content/themes/patrick/img/menu-chevron-grey.png');
    background-repeat: no-repeat;
	background-size: 20px 20px;
    float: left;
	width: 20px;
	height: 20px;
	margin-right: 2px;
	margin-top: 2px;
	transition-duration: 0.3s;
}

#menu-top-menu li:hover::before {
	transform: rotate(-90deg);
    margin-top: 3px;
}

#menu-top-menu {
	float: right;
	list-style: none;
	margin-right: 60px;
	margin-top: 30px;
}

#menu-top-menu li {
	float: left;
	margin-right: 45px;
	position: relative;
}

#menu-top-menu li a {
	text-decoration: none;
    color: gray;
}

.site-branding {
	width: 20%;
    min-width: 150px;
    float: left;
    margin-left: 10%;
    margin-top: 30px;
}

#primary-menu li {
	cursor: pointer;
	height: 40px;
	margin-right: 5%;
}

#primary-menu li::before {
	content: " ";
	background-image: url('/~patrickadmin/wp-content/themes/patrick/img/menu-chevron.png');
    background-repeat: no-repeat;
	background-size: 25px 25px;
    float: left;
	width: 30px;
	height: 30px;
	margin-right: 3px;
	margin-top: 3px;
	transition-duration: 0.3s;
}

#primary-menu li a {
	float: left;
	color: #0C50A2;
	font-size: 20px;
}

#primary-menu li:hover.menu-item::before {
	transform:rotate(-90deg);
	margin-top: -1px;
}

#primary-menu .sub-menu {
	background: rgba(255, 255, 255, 0.9);
    border-radius: 0px 0px 10px 10px;
}

#primary-menu .sub-menu li {
	padding: 5px 5px 5px 10px;
	width: 100%;
}

#primary-menu .sub-menu a {
	color: gray;
	font-size: 16px;
	/*border-bottom: solid 1px gray;*/
}

#primary-menu .sub-menu li::before {
	content: none;
}

#primary-menu .sub-menu li:hover {
	background: gray;
}

#primary-menu .sub-menu li:hover a {
	color: white;
}

.menu-main-menu-container {
	display: inline-block;
	width: 80%;
	float: left;
	margin-left: 11%;
    margin-top: 30px;
}

#primary-menu li.current-menu-parent::before, #primary-menu li.current-menu-item::before {
	transform: rotate(-90deg);
	margin-top: -1px;
	margin-right: 12px;
}

#menu-top-menu .sub-menu {
	visibility: hidden;
	opacity: 0;
	list-style-type: none;
	background: rgba(255, 255, 255, 0.9);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: auto;
    z-index: 99999;
	transition: opacity 0.6s, visibility 0.6s ease-in-out;
	padding: 0px;
	margin: 0px;
}

#menu-top-menu .menu-item-has-children:hover .sub-menu {
	visibility: visible;
	opacity: 1;
}

#menu-top-menu .sub-menu li {
	padding: 5px 5px 5px 10px;
	margin: 0px;
	width: 100%;
}

#menu-top-menu .sub-menu a {
	color: gray;
	font-size: 16px;
}

#menu-top-menu .sub-menu li::before {
	content: none;
}

#menu-top-menu .sub-menu li:hover {
	background: gray;
}

#menu-top-menu .sub-menu li:hover a {
	color: white;
}

#header-socials {
	margin-top: 26px;
}

#header-socials a {
	float: left;
	margin-right: 5px;
}

#header-socials img {
	margin-bottom: 8px;
    max-width: 30px;
	cursor: pointer;
}

/* MOBILE MENU */
#mobile-menu, #menu-toggle {
	display: none;
}

.menu-mobile-menu-container {
	margin-top: 25px;
}

#mobile-menu {
	position: fixed;
	z-index: 99999;
	background: white;
	width: 100%;
	padding-left: 10%;
	padding-right: 6%;
}
	
#mobile-menu ul:first-child {
	display: inline-block;
}
	
#mobile-menu li {
	clear: both;
	width: 100%;
   	min-height: 35px;
}

#mobile-menu li::before {
	content: "";
}
	
#mobile-menu li a {
	float: left;
	color: #21409A;
	font-size: 16px;
}
	
#mobile-menu .expand {
	float: right;
	width: 20px;
	transform: rotate(-90deg);
	cursor: pointer;
}

#mobile-menu ul {
	position: relative;
    clear: both;
    box-shadow: none;
    margin-left: 5%;
}


/* TRANSLATION */
#top-navigation {
	position: relative;
}

.translate-container {
	position: absolute;
    top: 28px;
    right: 660px;
}

span.gglobe:before {
	content: " ";
    background-image: url(/~patrickadmin/wp-content/themes/patrick/img/menu-chevron-grey.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    float: left;
    width: 20px;
    height: 20px;
    margin-left: -23px;
    margin-top: 4px;
	transition-duration: 0.3s;
}

span.gglobe {
	height: 28px;
	width: 28px;
	background-image: url(/~patrickadmin/wp-content/themes/patrick/img/patrick-globe.png);
	background-size: contain;
}

span.gglobe:hover {
	transform: scale(1);
}

span.gglobe:hover::before {
	transform: rotate(-90deg);	
	margin-top: 5px;
}

/* Translation Globes */
.glang_zh-CN {
	left: 42.8909px !important;
	top: 42.8909px !important;
}

.glang_zh-TW {
	left: 13.1541px !important;
	top: 58.2329px !important;
}

.glang_en {
	left: -19.9709px !important;
	top: 53.5015px !important;
}

.glang_ko {
	left: -44.2235px !important;
	top: 30.448px !important;
}

/*==================
====== BREADCRUMBS 
==================*/

#breadcrumbs {
	display: inline-block;
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
	width: 100%;
}

#breadcrumbs li {
	float: left;
}

#breadcrumbs li a, #breadcrumbs li {
	color: gray;
	text-decoration: none;
	font-size: 14px;
}

#breadcrumbs li::before {
	content: "";
}

.breadcrumb-separator {
	transform: rotate(180deg);
    height: 14px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 3px;
}


/*===============
====== FOOTER 
================*/

.site-footer {
	background: grey;
	color: white;
}

.footer-content {
	display: inline-block;
	width: 98%;
	margin-left: 1%;
}

.footer-content p {
	float: left;
	width: 33%;
	text-align: center;
}

footer .footer-content a {
	text-decoration: none;
	color: white;
}

footer .footer-content .footer-underline {
	text-decoration: underline;
}

/*===============
====== HOMEPAGE 
================*/

.page-template-homepage .banner-container, .page-template-homepage-new .banner-container {
	width: 95%;
	height: 500px;
	margin: auto;
}

.banner-container .slick-list {
	overflow: visible;
}

.page-template-homepage .mainpage-banner, .page-template-homepage-new .mainpage-banner {
	width: 98%;
	position: relative;
	height: 500px;
	background-size: cover;
	display: none;
}

.page-template-homepage .mainpage-banner:before, .page-template-homepage-new .mainpage-banner:before {
	content : "";
  	position: absolute;
  	right    : 0;
  	bottom  : -12px;
  	height  : 1px;
  	width   : 200px;  /* or 100px */
	max-width: 25vw;
  	border-bottom:12px solid #FFCB08;	
	border-left: 12px solid white;
}

.page-template-homepage .mainpage-banner:after, .page-template-homepage-new .mainpage-banner:after {
	content : "";
  	position: absolute;
  	right    : -12px;
  	bottom  : -12px;
  	height  : 200px;
	max-height: 25vw;
  	width   : 1px;  /* or 100px */
  	border-right:12px solid #0C50A2;	
	border-top: 12px solid white;
	border-bottom: 12px solid #FFCB08;
}

.page-template-homepage .mainpage-banner svg, .page-template-homepage-new .mainpage-banner svg {
	position: absolute;
}

.page-template-homepage .mainpage-banner .overlay-container, .page-template-homepage-new  .mainpage-banner .overlay-container {
	position: absolute;
    bottom: 50px;
    left: 10%;
    width: 800px;
    height: 70px;
}

.page-template-homepage .mainpage-banner .overlay, .page-template-homepage-new  .mainpage-banner .overlay {
	position: absolute;
    background: rgba(11,40,80, 0.7);
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 10px;
	width: 100%;
	height: 100%;
}

.page-template-homepage .mainpage-banner h2, .page-template-homepage-new .mainpage-banner h2 {
	color: white;
}

.page-template-homepage .mainpage-banner .filter-overlay, .page-template-homepage-new .mainpage-banner .filter-overlay {
	position: absolute;
	/*-webkit-filter: url('#greyscale');
	filter: url(#greyscale);*/
	-webkit-filter: sepia(100%) hue-rotate(195deg) saturate(500%);
	filter: sepia(100%) hue-rotate(195deg) saturate(500%);
    border-radius: 10px;
	width: 100%;
	height: 100%;
}

.page-template-homepage .overlay img.homepage-title-chevron, .page-template-homepage-new .overlay img.homepage-title-chevron {
	height: 20px;
	width: 20px;
    margin-bottom: -2px;
    margin-left: 5px;
    margin-right: 5px;
	display: inline-block;
}

.page-template-homepage .site-main h1, .page-template-homepage-new .site-main h1 {
	text-align: center;
	margin-bottom: 50px;
}

.page-template-homepage .site-main h1::before, .page-template-homepage-new .site-main h1::before {
	content: " ";
    background-image: url(/~patrickadmin/wp-content/themes/patrick/img/menu-chevron.png);
    background-repeat: no-repeat;
    background-size: 25px 25px;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 5px;
    margin-bottom: -6px;
}

/* Homepage Stats */
.homepage-stats-container {
	display: inline-block;
	width: 100%;
}

.stats-col {
	width: 20%;
	padding: 2%;
	float: left;
}

.stats-col-image-container {
	max-width: 150px;
	display: block;
	margin: auto;
	position: relative;
}

.stats-col img {
	width: 100%;
}

.stats-col-image-container:before {
	content : "";
  	position: absolute;
  	right    : -22px;
  	bottom  : -12px;
  	height  : 1px;
  	width   : 50px;  /* or 100px */
	max-width: 25vw;
  	border-bottom: 8px solid #FFCB08;	
	border-left: 8px solid white;
}

.stats-col-image-container:after {
	content : "";
  	position: absolute;
  	right    : -30px;
  	bottom  : -12px;
  	height  : 50px;
	max-height: 25vw;
  	width   : 1px;  /* or 100px */
  	border-right: 8px solid #0C50A2;	
	border-top: 8px solid white;
	border-bottom: 8px solid #FFCB08;
}

.stats-col p {
	text-align: right;
	color: #21409A;
	text-transform: uppercase;
	font-weight: normal;
}

.stats-col span {
	font-size: 24px;
}

/* Homepage Rail */
.homepage-rail-container {
	display: inline-block;
    width: 100%;
    margin-top: 150px;
    margin-bottom: 50px;
}

.homepage-rail-left {
	width: 60%;
	float: left;
}

.homepage-rail-right {
	width: 35%;
	float: left;
	margin-left: 5%;
}

.homepage-rail-right .internal-grey-tile-overlay {
	clip-path: polygon(0% 55%, 0% 100%, 30% 100%, 55% 100%);
}

.homepage-rail-image-container {
	height: 30vw;
	width: 100%;
	background-size: cover;
}

.homepage-rail-image-container .internal-tile {
	height: 100%;
	width: 100%;
	position: relative;
}

.homepage-rail-buttons {
	display: inline-block;
	width: 100%;
}

.homepage-rail-buttons .blue-download-button {
	float: left;
    height: 60px;
	width: 45%;
    margin-right: 5%;
}

.homepage-rail-container .internal-grey-tile {
	clip-path: polygon(0% 55%, 0% 100%, 30% 100%, 55% 100%);
}

.featherlight-video-container {
	display: none;
}

.featherlight-content .featherlight-video-container {
	display: block;
	max-width: 1024px;
	max-height: 576px !important;
	width: 96vw;
	height: 54vw; 
}

.featherlight .featherlight-content {
	padding: 0px !important;
	border-bottom: 0px !important;
}


#patrick-rail-video iframe {
	width:100%;
	height:100%;
	max-width: 1024px;
	max-height: 576px;
}


@media (max-width: 800px) {
	.homepage-rail-container {
		margin-top: 50px;
	}
	
	.homepage-stats-container .stats-col {
		width: 45%;
		margin-right: 5%;
	}
	
	.homepage-stats-container .stats-col p {
		width: 114% !important;
	}
	
	.homepage-stats-container .break-col {
		clear: both;
	}
	
	.homepage-stats-container .centre-stats-col {
		margin-left: 50%;
    	transform: translateX(-50%);
	}
	
	.homepage-rail-right, .homepage-rail-left {
		width: 100%;
		margin-left: 0px;
	}
	
	.homepage-rail-right {
		float: left;
	}
	
	.homepage-rail-left {
		float: right;
		margin-bottom: 30px;
	}
	
	.homepage-rail-image-container {
		height: 500px;
	}
}


/*=================
====== HOMEPAGE NEW
=================*/
.page-template-homepage .homepage-stats-container .stats-col {
	width: 16%;
	padding: 1%;
}

@media (max-width: 1400px) {
	.page-template-homepage .homepage-stats-container .stats-col {
		width: 33%;
		padding: 2%;
	}
	
	.page-template-homepage .stats-col-image-container {
		max-width: 250px;
	}
	
	.page-template-homepage .first-break-col {
		clear: both;
	}
}

@media (max-width: 1000px) {
	.page-template-homepage .homepage-stats-container .stats-col {
		width: 33%;
		padding: 6%;
	}
	
	.page-template-homepage .homepage-stats-container .stats-col p {
		width: 115%;
	}
}


@media (max-width: 800px) {
	.page-template-homepage .homepage-stats-container .stats-col {
		width: 45%;
		padding: 5%;
	}
	
	.page-template-homepage .first-break-col {
		clear: none;
	}
}

/*======================
====== ALL PAGE HEADERS 
======================*/

.page-template .mainpage-banner, .single-location .mainpage-banner, .single-employeecasestudy .mainpage-banner {
	width: 98%;
    position: relative;
	height: 500px;
	background-size: cover;
}

/*.page-template .mainpage-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left top;
}*/

.page-template .mainpage-banner h2, .single-location .mainpage-banner h2, .single-employeecasestudy .mainpage-banner h2 {
	text-align: center;
	color: white;
}

.page-template .mainpage-banner:before, .single-location .mainpage-banner:before, .single-employeecasestudy .mainpage-banner:before {
	content : "";
  	position: absolute;
  	right    : 0;
  	bottom  : -12px;
  	height  : 1px;
  	width   : 200px;  /* or 100px */
	max-width: 25vw;
  	border-bottom:12px solid #FFCB08;	
	border-left: 12px solid white;
}

.page-template .mainpage-banner:after, .single-location .mainpage-banner:after, .single-employeecasestudy .mainpage-banner:after {
	content : "";
  	position: absolute;
  	right    : -12px;
  	bottom  : -12px;
  	height  : 200px;
	max-height: 25vw;
  	width   : 1px;  /* or 100px */
  	border-right:12px solid #0C50A2;	
	border-top: 12px solid white;
	border-bottom: 12px solid #FFCB08;
}

.page-template .mainpage-banner svg, .single-location .mainpage-banner svg,.single-employeecasestudy .mainpage-banner svg {
	position: absolute;
}

.mainpage-banner .overlay-container {
	position: absolute;
    bottom: 50px;
    left: 10%;
    width: 30%;
    height: 70px;
}

.page-template .mainpage-banner .overlay, .single-location .mainpage-banner .overlay, .single-employeecasestudy .mainpage-banner .overlay {
	position: absolute;
    background: rgba(16, 58, 117, 0.7);
    padding-left: 25px;
    padding-right: 25px;
    border-radius: 10px;
	width: 100%;
	height: 100%;
}

.page-template .mainpage-banner .filter-overlay, .single-location .mainpage-banner .filter-overlay, .single-employeecasestudy .mainpage-banner .filter-overlay {
	position: absolute;
	/*-webkit-filter: url('#greyscale');
	filter: url(#greyscale);*/
	-webkit-filter: sepia(100%) hue-rotate(195deg) saturate(500%);
	filter: sepia(100%) hue-rotate(195deg) saturate(500%);
    border-radius: 10px;
	width: 100%;
	height: 100%;
}


/*======================
====== PAGE DEFAULTS 
======================*/

.image-size-values {
	display: none;
}

.page-template .content-area, .single-location .content-area, .single-employeecasestudy .content-area {
	width: 80%;
	margin: auto;
	margin-top: 30px;
}

.page-template:not(.page-template-homepage):not(.page-template-homepage-new) .site-main, .single-location .site-main, .single-employeecasestudy .site-main {
	width: 80%;
	float: left;
	margin-left: 5%;
}

.page-template .content-container, .single-location .content-container, .single-employeecasestudy .content-container {
	display: inline-block;
	width: 100%;
}

.page-template a {
	color: #404040;
}

/* Left Submenus */
.standard-submenu {
	float: left;
	margin-top: 10px;
	width: 15%;
}

.standard-submenu ul {
	list-style: none;
	margin-left: 0px;
	padding-left: 0px;
}

.standard-submenu li {
	position: relative;
	width: 100%;
    margin-bottom: 50px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.standard-submenu li a {
	color: gray;
	text-decoration: none;
	text-align: right;
	display: block;
}

.standard-submenu li.current-menu-item:before {
	width: 100%;
}

.standard-submenu li:hover:before {
	width: 100%;
}

.standard-submenu li:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0px;
    height: 1px;
    width: 40px;
    border-bottom: 4px solid #FFCB08;
    border-left: 4px solid white;
	transition-duration: 0.5s;
}

.standard-submenu li:after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: 0px;
    height: 40px;
    width: 1px;
    border-right: 4px solid #0C50A2;
    border-top: 4px solid white;
    border-bottom: 4px solid #FFCB08;
}

/* Standard Buttons */
.blue-download-button {
	background: #21409A;
    color: white;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    padding: 5px 10px 5px 10px;
    text-align: center;
    border-radius: 5px;
	cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
	line-height: 20px;
}

.blue-download-button a {
	color: white;
	text-decoration: none;
}

/*======================
====== TILES
======================*/
.tiles-container {
	width: 100%;
}

.tile-row {
	display: inline-block;
	width: 100%;
	margin-bottom: 50px;
}

.tiles-container .single-tile-column {
	width: 33%;
    display: block;
    float: left;
}

.tiles-container .single-tile-container {
	width: 350px;
	margin: auto;
}

.single-tile-container .tile {
	height: 350px;
    width: 100%;
    background-size: cover;	
}

.tile .internal-tile {
	height: 100%;
	width: 100%;
	position: relative;
}

.tile-title-container {
	background: #25408F;
    height: 50px;
	position: relative;
	width: 110%;
}

.tile-title-container p {
	color: white;
	margin: 0px;
	line-height: 50px;
	padding-left: 3%;
	font-size: 22px;
}

.tile-title-container a {
	text-decoration: none;
}

.tile-title-container::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -17px;
    height: 90px;
    width: 50px;
    background: white;
    transform: rotate(145deg);
}

.internal-grey-tile {
	position: absolute;
	width: 100%;
    height: 100%;
    background-size: cover;
    filter: grayscale(100%);
    clip-path: polygon(0% 65%, 0% 100%, 30% 100%, 30% 100%);
	transition: 0.4s;
}

.internal-grey-tile-overlay {
	position: absolute;
	width: 100%;
    height: 100%;
    clip-path: polygon(0% 65%, 0% 100%, 30% 100%, 30% 100%);
	background-color: rgba( 0, 0, 255, 0.5);
	transition: 0.4s;
}

/* Tile Hover + Animation */
.tile:hover .internal-grey-tile, .tile:hover .internal-grey-tile-overlay {
	clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
}

.tile:hover .internal-grey-tile-overlay {
	background-color: rgba( 0, 0, 255, 0.3);
}

/*=======================
====== MAP
=======================*/
.map-container, .map {
	position: relative;
}

.map {
	width: 75%;
}

.map .dot {
  	height: 25px;
  	width: 25px;
  	background-color: #FFBC05;
	border-radius: 50%;
  	display: block;
  	position: absolute;
	cursor: pointer;
}

.map .brisbane {
	top: 49%;
	right: 12%;
}

.map .sydney {
	top: 66%;
	right: 20%;
}

.map .sydney-rail {
	top: 66%;
	right: 18%;
	background-color: #C52A2B;
}

.map .melbourne {
	top: 76%;
	right: 29%;
}

.map .nocc {
	top: 76%;
	right: 27%;
	background-color: #034EA2;
}

.map .adelaide {
	top: 69%;
	right: 37%;
	background-color: #C52A2B;
}

.map .fremantle {
	top: 64%;
	right: 75%;
}

.map-container .map-window {
	display: none;
	position: absolute;
	top: 10%;
	right: 0%;
	width: 25%;
	padding: 0px 25px 25px 0px;
}

.map-container .map-window.default-location {
	display: block;
}

.map-window:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0px;
    height: 1px;
    width: 100%;
    border-bottom: 6px solid #FFCB08;
    border-left: 6px solid white;
	transition-duration: 0.5s;
}

.map-window:after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: 0px;
    height: 100%;
    width: 1px;
    border-right: 6px solid #0C50A2;
    border-top: 6px solid white;
    border-bottom: 6px solid #FFCB08;
}

.map-window ul {
	margin: 0px;
}

/*=======================
====== LOCATIONS
=======================*/

.location-stats-container {
	width: 100%;
	margin: auto;
}

.location-stats-container .stats-row {
	display: inline-block;
	width: 100%;
}

.location-stats-container .stats-col {
	width: 15%;
	margin-right: 13%;
}

.location-stats-container .stats-row .stats-col:last-child {
	margin-right: 0%;
}

.page-template-locations .map-container {
	margin-bottom: 200px;
}

@media (max-width: 800px) {
	.location-stats-container .stats-col {
		width: 45%;
		margin-right: 5%;
	}
	
	.location-stats-container .break-col {
		clear: both;
	}
}


/*=======================
====== HISTORY
=======================*/

.history-container {
	display: inline-block;
	width: 100%;
}

.history-tiles-container {
	width: 85%;
	float: left;
}

.history-tile {
	height: 300px;
	margin-bottom: 10px;
}

.history-tile-image {
	height: 100%;
    width: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	float: left;
}

.history-content {
	width: 50%;
	float: left;
	background-color: #0C50A2;
	color: white;
	height: 100%;
	padding-left: 3%;
	padding-right: 3%;
}

.history-content h2 {
	color: white;
	border-bottom: solid 1px white;
}

.history-timeline-container {
	width: 15%;
	float: left;
}

.history-timeline-section {
	position: relative;
	height: 300px;
	margin-bottom: 10px;
	margin-left: 30px;
}

.history-timeline-section .timeline-dot {
  	height: 15px;
  	width: 15px;
  	background-color: #0C50A2;
	border-radius: 50%;
  	display: block;
	margin-bottom: 28px;
}

.history-timeline-section .timeline-dot:not(.timeline-year) {
	margin-left: 7.5px;
}

.history-timeline-section .timeline-year {
	text-indent: 40px;
	height: 30px;
	width: 30px;
	line-height: 30px;
    font-size: 24px;
    color: #0C50A2;
	font-family: "Montserrat";
}

.history-container-mobile {
	display: none;
	width: 100%;
}

.history-container-mobile .history-tiles-container {
	width: 100%;
}

.history-container-mobile .history-tile-image, .history-container-mobile .history-content {
	width: 100%;
}

.history-container-mobile .history-content {
	margin-bottom: 50px;
}

/*=======================
====== BOARD AND LEADERSHIP
=======================*/

.board-leadership-row {
	width: 100%;
	display: inline-block;
}

.board-leadership-tile-container {
	width: 50%;
	float: left;
}

.board-leadership-tile {
	width: 350px;
    margin: auto;
    background-size: cover;
    height: 350px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.board-leadership-tile-overlay {
	background: rgba(33, 64, 154, 0.75);
	height: 100%;
	width: 100%;
	padding: 5px 25px 10px 25px;
    position: absolute;
    top: 80%;
}

.board-leadership-tile p, .board-leadership-tile h2 {
	color: white;
	margin: 0px;
}

.board-leadership-tile .board-and-leadership-position {
	margin-bottom: 20px;
	border-bottom: solid 0px white;
}

/*=======================
====== GALLERY
=======================*/
.gallery-row {
	width: 100%;
	display: inline-block;
}

.gallery-row a {
    width: 50%;
    float: left;
    padding: 0 1% 1% 1%;
    margin-bottom: 0px;
    line-height: 0px;
}

.featherlight-next span, .featherlight-previous span {
	transform: translateY(-20%);
}

.featherlight-next span img, .featherlight-previous span img {
	max-height: 100px;
}


/*=======================
====== SERVICES
=======================*/

.wide-tile-container {
    width: 100%;
    display: inline-block;
	position: relative;
	margin-bottom: 50px;
}

.wide-tile-image {
	width: 50%;
    background-size: cover;
    position: absolute;
	height: 100%;
}

.wide-tile-content {
	width: 50%;
	float: left;
    min-height: 300px;
	margin-left: 50%;
	padding-left: 3%;
	padding-right: 3%;
	background: #21409A;
}

.wide-tile-content h2 {
	padding-bottom: 5px;
	border-bottom: solid 1px white;
}

.wide-tile-content p, .wide-tile-content h2, .wide-tile-content a {
	color: white;
}

.wide-tile-container.tile-alt .wide-tile-content {
	margin-left: 0px;
}

.wide-tile-container.tile-alt .wide-tile-image {
	margin-left: 50%;
}

.wide-tile-container .tile-quote {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
	font-style: italic;
}

.service-middle-image {
	height: 500px;
	background-size: cover;
	background-repeat: no-repeat;
}

.services-information-and-rates {
	display: inline-block;
	width: 100%;
}

.services-information-and-rates .blue-download-button {
	height: 70px;
    float: left;
    width: 45%;
    margin-right: 5%;
    margin-bottom: 30px;
	max-width: 100%;
}

/*=======================
====== CAREERS
=======================*/

.case-studies-container {
	display: inline-block;
	width: 100%;
}

.case-study-tile-container {
	width: 30%;
	margin-right: 3%;
	height: 400px;
	margin-bottom: 50px;
	float: left;
}

.case-study-tile {
	height: 100%;
	background-size: cover;
	position: relative;
}

.case-study-tile-overlay {
	background: rgba(33, 64, 154, 0.75);
    position: absolute;
    bottom: 0px;
	width: 100%;
	padding-bottom: 10px;
    padding-top: 10px;
}

.case-study-tile-overlay h2, .case-study-tile-overlay p {
	color: white;
	margin: 0px;
	padding-left: 3%;
}

.careers-images-row {
	display: inline-block;
	width: 100%;
	height: 300px;
	margin-bottom: 50px;
}

.careers-image-div-container {
	width: 30%;
	margin-right: 3%;
	height: 100%;
	float: left;
}

.careers-image-div {
	height: 100%;
	background-size: cover;
    background-repeat: no-repeat;
}

.careers-image-div.img-first {
	margin-right: 1.5%;
}

.careers-image-div.img-third {
	margin-left: 1.5%;
}

/*=======================
====== CASE STUDIES
=======================*/
.single-employeecasestudy .content-area {
	width: 80%;
    margin-left: auto;
	margin-right: auto;
}

.single-employeecasestudy .site-main {
	width: 80%;
    float: left;
    margin-left: 5%;
}

.case-study-container-left, .case-study-container-right {
	width: 50%;
    float: left;
}

.case-study-container-left {
	padding-right: 2%;
}

.case-study-mobile-photo {
	display: none;
}

@media (max-width: 1000px) {
	.single-employeecasestudy .site-main {
		width: 95%;
	}
}

@media (max-width: 800px) {
	.case-study-container-left, .case-study-container-right {
		width: 95%;
		margin-bottom: 50px;
	}
	
	.single-employeecasestudy .mainpage-banner, .single-employeecasestudy .case-study-photo {
		display: none;
	}
	
	.single-employeecasestudy .case-study-mobile-photo {
		display: block;
	}
}

/*=======================
====== WILPOWER
=======================*/
.page-template-wilpower #primary {
	width: 100%;
}

.page-template.page-template-wilpower #primary .site-main {
	width: 100%;
	margin: 0px;
}

.page-template-wilpower .mainpage-banner .overlay-container, .page-template-wilpower-faq .mainpage-banner .overlay-container {
	height: 175px;
}

.page-template-wilpower .mainpage-banner .overlay, .page-template-wilpower-faq .mainpage-banner .overlay {
	padding: 20px;
	background: rgba(0, 25, 152, 0.7);
}

.wilpower-text-centre {
	width: 80%;
    margin: auto;
	margin-bottom: 50px;
}

.wilpower-row {
	display: flex;
	width: 100%;
	min-height: 400px;
}

.wilpower-col {
	width: 50%;
	float: left;
	background-size: cover;
	background-position: center center;
}

.wilpower-text {
	padding: 30px;
}

.wilpower-overlay-row {
	position: relative;
}

.wilpower-overlay-row img {
	width: 100%;
}

.wilpower-overlay-text {
	position: absolute;
    top: 5%;
    right: 0;
    width: 40%;
    background: rgba(0, 25, 152, 0.7);
    color: white;
    padding-left: 25px;
    padding-right: 25px;
}

.wilpower-overlay-text h2{ 
	color: white;
}

.accordion-container {
	margin-left: 40px;
}

.accordion-controls {
	float: right;
    display: inline-block;
}

.accordion-controls p {
	margin-top: 0px;
}

.accordion-controls #expandAll {
	float: left;
    padding-right: 15px;
}

.accordion-controls #closeAll {
	float: left;
    padding-left: 15px;
    border-left: solid 1px gray;
}

#expandAll, #closeAll {
	cursor: pointer;
}

.ui-accordion .ui-accordion-header {
	height: auto;
    line-height: 32px;
	background: none;
	background-color: white;
    border-radius: 0px !important;
	border: none;
    color: black;
}

.ui-accordion-header-icon.ui-icon {
	background-image: url(/~patrickadmin/wp-content/themes/patrick/img/icon-plus.png) !important;
    height: 40px;
    width: 40px;
    background-position: 0px;
	background-size: contain;
	float: left;
    margin-right: 25px;
	margin-left: -65px;
}

.ui-accordion-header-icon.ui-icon-triangle-1-s {
	background-image: url(/~patrickadmin/wp-content/themes/patrick/img/icon-minus.png) !important;
}

.ui-accordion .ui-accordion-content {
    padding: 20px;
	border: none;
}

.wilpower-footer {
	display: inline-block;
	margin: auto;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

.wilpower-footer-col {
	width: 50%;
	float: left;
}

.yellow-download-button {
    background: #FFCB08;
    color: #21409A;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 250px;
    min-width: 200px;
    padding: 5px 10px 5px 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;	
}

.wilpower-footer .yellow-download-button  {
	float: right;
	max-width: 350px;
	margin-right: 5%;
}

.wilpower-footer .blue-download-button {
	float: left;
	max-width: 350px;
	margin-left: 5%;
}

.wilpower-footer .yellow-download-button a {
	color: #21409A;
}

.wilpower-footer .blue-download-button a {
	color: white;
}

.wilpower-footer a {
	text-decoration: none;
}

.wilpower-footer .blue-download-button, .wilpower-footer .yellow-download-button {
	line-height: auto;
}

/* Wilpower Responsive */
@media (max-width: 1200px) {
	.wilpower-overlay-text {
		width: 46%;
	}
}

@media (max-width: 1000px) {
	.wilpower-row {
		flex-direction: column;
	}
	
	.wilpower-col {
		min-height: 400px;
		width: 100%;
	}
	
	.wilpower-overlay-text {
		position: static;
		width: 100%;
		padding: 25px;
	}
}

/*=========================
====== CUSTOMER INFORMATION
=========================*/
.page-template-customer a, .page-template-customer-general a {
	text-decoration: none;
}

.download-button-container-row {
	width: 100%;
	display: inline-block;
}

.download-button-container {
	width: 49%;
	float: left;
}

.download-button-container.container-last {
	margin-left: 2%;
}

.blue-download-button {
	min-width: 100px;
}

@media (max-width: 600px) {
	.blue-download-button a {
		font-size: 13px;
	}
}


/*=========================
====== ENVIRONMENTAL
=========================*/
.page-template-environmental a {
	text-decoration: none;
}

.environmental-table, .environmental-table tr, .environmental-table td, .environmental-table th {
	border: solid 3px white;
	border-collapse: collapse;
}

.environmental-table th, .environmental-table td {
	padding: 5px;
	text-transform: uppercase;
	font-weight: 400;
}

.environmental-table th {
	background: #0C50A2;
	color: white;
}

.environmental-table td {
	background: rgba(0, 0, 0, 0.1);
	font-size: 16px;
}

.environmental-table a {
	font-size: 16px;
}

.environmental-table-year {
	width: 150px;
}

.environmental-table tr td:first-child {
	text-align: center;
}

.environmental-table.table-left-align td, .environmental-table.table-left-align th {
	text-align: left !important;
	padding-left: 10px;
}

/*=======================
====== CONTACT FORM
=======================*/

.contact-form-container {
	margin-bottom: 50px;
}

.contact-form-container input, .contact-form-container textarea, .contact-form-container input::placeholder, .contact-form-container textarea::placeholder {
	font-family: 'Montserrat', sans-serif;
	color: black;
}

.contact-form-container input:not([type=submit]), .contact-form-container textarea {
	width: 100%;
	float: left;
	margin-bottom: 20px;
	padding-left: 5px;
}

.contact-form-container input:not([type=submit]) {
	line-height: 30px;
}

.contact-form-container input[type=submit] {
	cursor: pointer;
	background: #0C50A2;
    color: white;
	transition: 0.2s;
	font-size: 16px;
	border-radius: 5px;
}

.contact-form-container input[type=submit]:hover {
	background: rgba(12, 80, 162, 0.85);
}

.message-number {
	display: none;
}


/*===================
====== MEDIA RELEASES
===================*/

.release-block a {
	text-decoration: none;
}


/*=============
====== 404 PAGE
=============*/

.error-404.not-found {
	max-width: 1000px;
    margin: auto;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
}

.error-404.not-found .blue-download-button {
	margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}

.error-404.not-found .blue-download-button a {
	text-decoration: none;
}

/* VIDEO CONTAINER */
.patrick-video-container {
    margin-top: 50px;
	margin-bottom: 50px;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 5px 10px 10px #888888;
}

.patrick-video-container.vimeo-fullwidth {
	width: 100%;
}

.patrick-video-container.vimeo-left {
	margin: 0px;
	width: 48%;
	margin-right: 2%;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;    
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;    
}


/*=======================
====== RESPONSIFICATION
=======================*/

@media (max-width: 1600px) {
	/* FONTS */
	h1, h2 {
		font-size: 24px;
	}
	
	h1:before {
		background-size: 23px 23px;
		width: 28px;
		height: 28px;
		margin-right: 3px;
		margin-bottom: -7px;		
	}
	
	.tiles-container .single-tile-container {
		width: 300px;
	}

	.single-tile-container .tile {
		height: 300px;
	}
	
	.tile-title-container:after {
		content: "";
		position: absolute;
		right: -39px;
		bottom: -20px;
		height: 90px;
		width: 50px;
		background: white;
		transform: rotate(149deg);
	}
}

@media (max-width: 1500px) {
	/* PAGE DEFAULTS */
	#page {
		margin-top: 180px;
	}	

	#primary-menu li a {
		font-size: 18px;
	}
	
	#primary-menu li::before {
		background-size: 20px 20px;
		width: 23px;
		height: 23px;
		margin-top: 2px;
	}
	
	.page-template .content-area, .single-location .content-area, .single-employeecasestudy .content-area {
		width: 85%;
	}
	
	.page-template .mainpage-banner {
		height: 450px;
	}
	
	/* HOMEPAGE */
	.page-template-homepage .mainpage-banner, .page-template-homepage-new .mainpage-banner {
		height: 450px;
	}
	
	/* ABOUT */
	.about-submenu li {
		width: 180px;
	}
	
	/* MAP */
	.map-container .map {
		width: 70%;
	}
	
	.map-container .map-window {
		width: 30%;
		top: 5%;
	}
	
	.map-container {
		margin-bottom: 20px;
	}
}

@media (max-width: 1300px) {
	/* MENU */
	#primary-menu li {
		margin-right: 4%;
	}
	
	.tiles-container .single-tile-container {
		width: 250px;
	}

	.single-tile-container .tile {
		height: 250px;
	}
	
	.tile-title-container:after {
		content: "";
		position: absolute;
		right: -43px;
		bottom: -24px;
		height: 90px;
		width: 50px;
		background: white;
		transform: rotate(153deg);
	}
	
	/* MAP */
	.map-container .map {
		width: 65%;
	}
	
	.map-container .map-window {
		width: 35%;
	}
	
	.map-container {
		margin-bottom: 60px;
	}
}

@media (max-width: 1200px) {
	/* PAGE DEFAULTS */
	#page {
		margin-top: 150px;
	}
	
	.mainpage-banner .overlay-container {
		width: 50%;
	}
	
	/* FOOTER */
	footer .footer-content a, footer .footer-content p {
		font-size: 14px;
	}
	
	/* MENU */
	#primary-menu li a, #primary-menu .sub-menu a {
		font-size: 15px;
	}

	#primary-menu li::before {
		background-size: 12px 16px;
		width: 12px;
		height: 18px;
		margin-top: 2px;
	}
	
	#primary-menu li:hover.menu-item::before {
		margin-top: 2px;
	}
	
	.page-template .content-area, .single-location .content-area, .single-employeecasestudy .content-area {
		width: 95%;
	}
	
	.page-template .mainpage-banner {
		height: 400px;
	}
	
	.translate-container {
		right: 600px;
	}
	
	#menu-top-menu {
		margin-right: 0px;
	}
	
	/* BANNERS */
	.page-template .banner-container {
		height: 400px;
	}
	
	.page-template .mainpage-banner {
		height: 400px;
	}
	
	/* MAP */
	.map-container .map {
		width: 60%;
	}
	
	.map-container .map-window {
		width: 40%;
	}
	
	.map-container .map-window {
		top: 1%;
	}
	
	.map-container {
		margin-bottom: 70px;
	}
	
}

@media (max-width: 1000px) {
	/* MENUS */
	#primary-menu, .translate-container, .top-menu {
		display: none;
	}
	
	#menu-toggle {
		display: block;
		cursor: pointer;
		width: 40px;
		float: right;
		margin-top: 30px;
		margin-right: 5%;
	}
	
	#header-socials {
		display: none;
	}
	
	/* HOMEPAGE SLIDER */
	.page-template-homepage .mainpage-banner .overlay-container, .page-template-homepage-new .mainpage-banner .overlay-container {
		width: 98%;
		left: 1%;
	}
	
	.page-template .mainpage-banner h2, .page-template-homepage-new .mainpage-banner h2 {
		font-size: 20px;
	}
	
	/* HOMEPAGE */
	.homepage-stats-container .stats-col {
		padding: 5%;
	}
	
	.homepage-stats-container .stats-col p {
		width: 135%;
	}
	
	.stats-col-image-container:after{
		right: -27px;
		border-right: 6px solid #0C50A2;
    	border-top: 6px solid white;
    	border-bottom: 6px solid #FFCB08;
	}
	
	.stats-col-image-container:before {
		border-bottom: 6px solid #FFCB08;
		border-left: 6px solid white;		
	}
	
	.tiles-container .single-tile-container {
		width: 200px;
	}
	
	.single-tile-container .tile {
		height: 200px;
	}
	
	.tile-title-container {
		height: 40px;
	}
	
	.tile-title-container p {
		line-height: 40px;
		font-size: 20px;
	}
	
	.tile-title-container:after {
		right: -46px;
		bottom: -36px;
		transform: rotate(157deg);
	}
	
	/* TILES */
	.wide-tile-container {
		width: 100%;
	}
	
	/* PAGE DEFAULTS */
	#page {
		margin-top: 110px;
	}
	
	.standard-submenu {
		display: none;
	}
	
	#primary .content-container .site-main {
		width: 90%;
	}
	
	/* BOARD AND LEADERSHIP */
	.board-leadership-tile-container {
		width: 100%;
		margin-bottom: 50px;
	}
	
	/* HISTORY */
	.history-container {
		display: none;
	}
	
	.history-container-mobile {
		display: inline-block;
	}
	
	/* MAP */
	.map-container .map {
		width: 100%;
	}
	
	.map-container .map-window {
		position: relative;
		width: 80%;
		margin: auto;
		margin-bottom: 50px;
	}
	
	.map .dot {
		height: 20px;
		width: 20px;
	}
	
	/* LOCATIONS */
	.location-stats-container {
		width: 100%;
	}
	
	/* BREADCRUMBS */
	#breadcrumbs li {
		font-size: 14px;
	}
	
	.breadcrumb-separator {
		margin-right: 5px;
		margin-left: 5px;
		height: 13px;
	}
	
	/* FOOTER */
	.footer-content p {
		width: 100%;
		margin-bottom: 0px;
	}
}

@media (max-width: 800px) {
	/* PAGE DEFAULTS */
	.mainpage-banner .overlay-container {
		width: 80%;
	}
	
	/* HOMEPAGE */
	.tiles-container .single-tile-column {
		width: 100%;
	}
	
	.tiles-container .single-tile-container {
		width: 90%;
		margin-bottom: 50px;
	}
	
	.single-tile-container .tile {
		height: 500px;
	}
	
	.tile-title-container {
		height: 40px;
		width: 100%;
	}
	
	.tile-title-container p {
		line-height: 40px;
		font-size: 20px;
	}
	
	.tile-title-container:after {
		display: none;
	}
	
	/* TILES */
	.wide-tile-image {
		height: 300px;
		width: 100%;
	}
	
	.wide-tile-container.tile-alt .wide-tile-image {
		margin-left: 0px;
	}
	
	.wide-tile-content {
		margin-top: 300px;
		margin-left: 0px;
		min-height: 200px;
		width: 100%;
	}

	/* CAREERS */
	.careers-images-row {
		height: auto;
	}
	
	.careers-image-div-container {
		height: 300px;
		width: 100%;
		margin-left: 0px !important;
		margin-right: 0px !important;
		margin-bottom: 20px;
	} 
	
	.case-studies-container {
		height: auto;
	}
	
	.case-study-tile-container {
		width: 100%;
	}
}

@media (max-width: 700px) {
	/* BANNERS */
	.page-template .banner-container {
		height: 300px;
	}
	
	.page-template .mainpage-banner {
		height: 300px;
	}
	
	/* HOMEPAGE SLIDER */
	.page-template-homepage .mainpage-banner h2, .page-template-homepage-new .mainpage-banner h2 {
		margin-top: 5px;
	}
	
	/* HOMEPAGE */
	.single-tile-container .tile {
		height: 400px;
	}
	
}

@media (max-width: 600px) {
	/* BANNERS */
	.page-template-homepage .mainpage-banner .overlay-container, .mainpage-banner .overlay-container, .page-template-homepage-new .mainpage-banner .overlay-container {
		bottom: 30px;
	}
	
	.page-template .banner-container {
		height: 220px;
	}
	
	.page-template .mainpage-banner {
		height: 220px;
	}
	
	.single-tile-container .tile {
		height: 350px;
	}
	
	/* CUSTOMER INFORMATION */
	.page-template-customer .blue-download-button, .page-template-environmental .blue-download-button, .page-template-customer-general .blue-download-button {
		font-size: 12px;
	}
	
	/* WILPOWER */
	.page-template-wilpower .mainpage-banner .overlay-container {
		height: 75px;
		bottom: 10px;
	}
	
	.page-template-wilpower .mainpage-banner .overlay {
		padding: 0px 50px;
	}
}

/* IE COMPATIBILITY */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.internal-grey-tile, .internal-grey-tile-overlay {
		display: none;
	}

	.page-template .mainpage-banner .overlay {
		background: rgba(0, 0, 255, 0.5);
	}

	.page-template .mainpage-banner .filter-overlay {
		display: none;
	}
}


/* SAFARI COMPATIBILITY */
/* 7.1+ */
_::-webkit-full-page-media, _:future, :root .safari_only {
	display: none;
}

/* 10.1+ */
@media not all and (min-resolution:.001dpcm) { 
    @media {
        .safari_only { 
            display: none;
        }
    }
}

/* HEADER TICKER */
.header-ticker {
	background: #9f0737;
	text-align: center;
	padding: 10px;
}

.header-ticker a {
    color: white;
    margin: 0px;
}