/*
	Theme Name: Federal Finance
	Theme URI: https://federalfinance.us / https://federalfinance.co.uk
	Description: Custom WP Theme for Federal Finance
	Version: 0.1
	Author: Creative Direction
	Author URI: https://creativedirection.info
*/

/*------------------------------------*\
    RESET GUTENBERG DEFAULT STYLES
\*------------------------------------*/
.home-products-container .wp-block-columns {
	gap: 0;
}
.home-products-container .wp-block-column:not(:first-child) {
    margin-left: 0;
}
.home-products-container .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-left: 0;
}
.wp-block-group.has-background {
	padding: 0;
}
.wp-block-columns {
	margin-bottom: 0;
	/*gap: 0 !important;*/
}
.wp-block-column.is-vertically-aligned-top {
	align-self: auto;
}
.wp-block-image {
	margin-bottom: 0;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*{
min-height: 0;
min-width: 0;
}
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body:not(.wp-admin) {
	font-weight: 400;
	font-style: normal;
	font-variant: normal;
	font: normal normal normal 16px Meta Pro;
	font-family: 'ff-meta-web-pro', 'meta pro', 'sans-serif';
	letter-spacing: 0.025em;
	color: #032743;
	background-color: #E4E4E4;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img, svg {
	max-width:100%;
	vertical-align:bottom;
	height: auto;
}
a {
	color:#B38930;
	text-decoration:none;
	transition: 0.6s color;
}
a:hover {
	color:#032743;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

ul {
	padding-left: 0;
}

ul li {
	list-style: none;
	padding-left: 2em;
	position: relative;
	margin-bottom: 0.8em;
}
ul:not(.wp-admin ul) li:before {
	content: '—';
	position: absolute;
	top: 0;
	left: 0;
}

h1:not(body.wp-admin h1), 
h2:not(body.wp-admin h2), 
h3:not(body.wp-admin h3), 
h4:not(body.wp-admin h4),
h5:not(body.wp-admin h5),
h6, .nav ul li > ul > li a {
	font-family: capitolium-2, Capitolium2, 'serif';
	font-weight: normal;
	line-height: 1em;
	letter-spacing: 0;
	margin-top: 0;
}

h1:not(body.wp-admin h1) {
	font-size: 4em;
	line-height: 1.1em;
}
h2:not(body.wp-admin h2), .nav ul li > ul > li a {
	font-size: 2.72em;
	line-height: 1.1em;
}
h3:not(body.wp-admin h3) {
	font-size: 1.81em;
	line-height: 1.1em;
	letter-spacing: 0.01em;
}
h4:not(body.wp-admin h4) {
	font-size: 1.36em;
	line-height: 1.1em;
	letter-spacing: 0.1em;
}
h5:not(body.wp-admin h5) {
	font-size: 1em;
	letter-spacing: 0.1em;
	/*text-transform: uppercase;*/
	margin-bottom: 0;
	/*margin-top: 0.4em;*/
	line-height: 1.3em;
}
h6:not(body.wp-admin h6) {
	font-family: ff-meta-web-pro, sans-serif;
	font-weight: 100;
	border: 1px solid #87929A;
	display: inline-block;
	margin-bottom: 4em;
	padding: 0.6em;
	text-transform: uppercase;
	font-size: 0.7em;
	letter-spacing: 0.1em;
}

p {
	margin-top: 0;
}

.hidden {
	display: none;
}

.modal {
	display: none;
	height: 100vh;
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #E4E4E4;
	z-index: 10;
}

.modal-close {
	font-size: 5em;
	position: absolute;
	top: 30px;
	right: 30px;
	color: #B38930;
	line-height: 0;
	cursor: pointer;
}


.profile {
	cursor: pointer;
	margin-bottom: 10px;
	display: block;
}

.profile--contact-details {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.profile--name {
	margin-bottom: 10px;
}
.profile-modal {
	display: grid;
	grid-template-columns:  1fr 2fr;
	grid-gap: 50px;
	width: 60%;
	margin: 0 auto;
	align-items: center;
	min-height: 100vh;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	/*max-width:1280px;*/
	/*width:95%;*/
	margin:0 auto;
	position:relative;
}

.inner {
	max-width: 1920px;
	width: 90%;
	margin: 0 auto;
	position: relative;
}

.narrow {
	max-width: 1200px;
	width: 75%;
	margin: 0 auto;
	position: relative;
	padding: 4em !important;
	box-sizing: border-box;
	margin-top: -150px !important;
}

.width-40 {
	width: 40%;
}
/* header */
.header {
	height: 150px;
	z-index: 4;
	position: fixed;
	transition: .6s all;
	width: 100%;
}
.header .inner {
	display: flex;
	justify-content: space-between;
}
/* logo */
.logo {
	width: 320px;
	padding: 15px 25px 0 0;
	box-sizing: border-box;
	transition: 0.3s all;
	margin-right: 100px;
}

.logo-img {
	transition: 0.3s all;
}
/* nav */
.nav {
	/*width: 100%;*/
	height: 150px;
	/*transition: .6s all;*/
	flex-grow: 1;
}

.nav ul li {
	margin-bottom: 0;
}
.nav ul li:before {
	display: none;
}

.nav > ul {
	display: flex;
	justify-content: space-between;
	height: 150px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav > ul > li {
	padding: 0;
	margin: 0;
	display: block;
	height: 150px;
	flex-grow: 1;
	flex-shrink: 1;
	position: relative;
}

.nav > ul > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	transition: 0.3s all;
	/*transition-delay: 6s opacity;*/
	text-transform: uppercase;
	color: #032743;
	font-size: 0.9em;
}
.nav > ul > li.use-hover:hover > a {
    box-shadow: inset 0px -150px 0px rgba(255, 255, 255, 0.95);
    color: #032743;
    /*color: #032642;*/
	/*color: #fff;*/
	
}

.nav ul li > ul {
	display: none;
	list-style: none;
    position: absolute;
    padding: 1em;
}
.nav ul li:hover > ul {
	position: absolute;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: auto;
	width: 200%;
	background-color: rgba(255, 255, 255, 0.95);
}

.nav ul li > ul > li {
	transition: 0.6s all;
	padding-left: 0;
}

.nav ul li > ul > li a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.5em 0.5em 1em 0.5em;
	height: 100%;
	width: 100%;
	line-height: 1.2em;
	color: rgba(2, 32, 58, 0.95); 
	font-size: 1em;
    line-height: 1.1em;
    font-family: 'ff-meta-web-pro', 'meta pro', 'sans-serif';
}
.nav ul li > ul > li a:hover {
	opacity: 1;
	position: relative;
	color: #013B29;
}



.sub-menu {
	font-family: 'ff-meta-web-pro', 'meta pro', 'sans-serif';
}

.nav > ul > li.current-menu-item > a,
.nav > ul > li.current-page-parent > a
/*.nav > ul > li.current_page_parent > a*/
{
	color: #B38930 !important;
	/*border-bottom: 1px solid #B38930;*/
}

/* nav button */
#nav-button {
	margin-left: 40px;
    height:30px;
    width:40px;
    cursor: pointer;
    z-index:10;
    display: none;
}


.hamburger {
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible; 
}
  .hamburger:hover {
    opacity: 0.7; 
}
  .hamburger.is-active:hover {
    opacity: 0.7; 
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #B38930; 
}

.home .hamburger.is-active .hamburger-inner,
.home .hamburger.is-active .hamburger-inner::before,
.home .hamburger.is-active .hamburger-inner::after {
    background-color: #B38930; 
}



.hamburger-box {
	width: 30px;
	height: 24px;
	display: inline-block;
	position: relative; 
}

.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px; 
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 4px;
    background-color: #B38930;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; 
}
.home .hamburger-inner, .home .hamburger-inner::before, .home .hamburger-inner::after {
	background-color: #B38930;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; 
}
.hamburger-inner::before {
    top: -10px; 
}
.hamburger-inner::after {
    bottom: -10px; 
}


/*
   * Squeeze
   */
.hamburger--squeeze .hamburger-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}
.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease; 
}
.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}
.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease; 
}
.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); 
}



.header > div {
	display: flex;
	align-items: center;
}
.get-started {
	min-width: 200px;
	border: 1px solid #032642;
	padding: 0.6em 1em;
	margin-left: 2em;
	text-transform: uppercase;
	color: #032743;
}
.home .get-started {
	border: 1px solid #fff;
}

.language-switcher {
    margin-bottom: 0;
    margin-left: 4em;
    margin-right: 4em;
}

.language-switcher strong {
	opacity: 0.5;
}

.language-switcher a {
    font-weight: bold;
    color: #032743;
}

.widget_polylang ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	list-style: none;
	min-width: 100px;
}
.widget_polylang ul li:before {
	display: none;
}
.widget_polylang ul li {
	margin-bottom: 0;
	padding-left: 0;
}
.widget_polylang ul li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.widget_polylang img {
	width: 30px;
	height: auto;
	margin-right: 10px;
}
/* footer */
.footer {
	background-color: #032743;
	background-image: url(img/footer-bg.svg);
	background-position: top right;
	background-repeat: no-repeat;
	background-size: 30%;
	color: #fff;
	line-height: 1.8em;

}
.footer-1 {
	grid-area: footer-1;
}
.footer-2 {
	grid-area: footer-2;
}
.footer-3 {
	grid-area: footer-3;
}
.footer-4 {
	grid-area: footer-4;
}
.footer-5 {
	grid-area: footer-5;
}
.footer-6 {
	grid-area: footer-6;
}
.footer-7 {
	grid-area: footer-7;
}
.footer-8 {
	grid-area: footer-8;
}
.footer h5 {
	color: #B1BDC5;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}
.footer ul {
	list-style: none;
	padding: 0;
}
.footer ul li {
	padding-left: 0;
}
.footer ul li:before {
	display: none;
}
.footer .inner {
	padding: 200px 0 100px 0;
	display: grid; 
  grid-template-columns: repeat(5, 1fr); 
  /*grid-template-rows: repeat(2, 1fr); */
  gap: 65px 0px; 
  grid-template-areas: 
    "footer-1 footer-2 footer-3 footer-4 footer-5"
    "footer-6 . footer-7 footer-8 footer-8";  
}
.footer .inner ul {
	margin-top: 0;
}
.footer .inner > div h5 {
	margin-bottom: 22px;
}
.footer a {
	color: #fff;
}
.footer svg {
	/*width: 50%;*/
}
.footer #logo-text path {
	fill: #fff;
}
.footer .design-credit {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	font-size: 1em;
}
.design-credit span span, .design-credit a {
	color: #b38930;
}

/* SCROLLED STATES */
.scrolled .logo {
	padding-top: 5px;
	width: 200px;
}

.scrolled .header, 
.scrolled .nav, 
.scrolled .nav > ul > li {
	height: 100px;
}
.scrolled .header {	
	background-color: #032743;
}

.scrolled .nav ul li:hover > ul {
	/*height: calc(100vh - 100px);*/
}

.scrolled .nav {
	/*opacity: 0;*/
}
.scrolled .nav > ul > li > a {
	color: #fff;
}

.scrolled #logo-text path {
	fill: #fff;
}

.scrolled .get-started {
	color: #fff;
	border: 1px solid #fff;
}

.scrolled .language-switcher a {
	color: #fff;
}

/* Accordion */
.accordion-block {
	/*margin:3rem 0;*/
}
.accordion {
	color: #242C2F;
	cursor: pointer;
	padding: 40px 18px;
	width: 100%;
	border:0;
	border-top: 1px solid #CC95A0;
	text-align: left;
	outline: none;
	/*font-size: 1.2em;*/
	-webkit-transition: 0.4s;
	transition: 0.4s;
	position:relative;
	padding-left: 40px;
	padding-right:50px;
	margin:0;
	text-transform: none;
	letter-spacing: inherit;
	font-weight: 400;
}

.accordion.active, .accordion:hover {
	color:#86011c;
}

.accordion > span {
	position: absolute;
	top: 35px;
	left: 0;
	font-size: 0.5em;
	font-weight:500;
	font-family: 'ff-meta-web-pro', 'meta pro', 'sans-serif';
}

.accordion:after {
	content: '\002B';
	content:'+';
	color: #242C2F;
	position:absolute;
	right:13px;
	top:50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
	margin-left: 5px;
	font-size:0.8em;
	font-family: 'ff-meta-web-pro', 'meta pro', 'sans-serif';
	font-weight:500;
	transition: 0.3s all;
}

.accordion:hover:after {
	color: #86011c;
}

.accordion.active:after {
	content: "–";
	color: #86011c;
}

.panel {
	padding: 0 18px;
	background-color: transparent;
	max-height: 0;
	overflow: hidden;
	-webkit-transition: max-height 0.2s ease-out;
	transition: max-height 0.2s ease-out;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/
#homepage-hero {
	background-image: url(img/hero-bg.jpg);
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
/*.home-products-container > .wp-block-columns > div {
	padding: 0 5%;
}*/
.home-products-left {
	/*margin-top: -50px;*/
	padding-left: 5%;
	padding-right: 6em;
	background-image: url(img/federal-finance-homepage-services.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.home-products-copy {
	padding-left: 5em;
}
.home-products-accordion {
	margin-top: 50px;
	margin-bottom: -50px;
	padding: 2em;
	padding-right: 5%;
	padding-left: 3em;
}
.home-how-we-can-help {
	background-image: url(img/home-how-we-can-help.svg);	
	background-size: contain;
	background-size: 40%;
	background-repeat: no-repeat;
	background-position: bottom right;
}
.home-how-we-can-help-text {

	padding-left: 4em;
}



/* Product pages */
.product-block-1 {
	background-image: url(img/white-lion-right.svg);	
	background-size: 40%;
	background-repeat: no-repeat;
	background-position: top right;
}

/*------------------------------------*\
    BLOG
\*------------------------------------*/
.top-padding {
	height: 200px;
	display: block;
	position: relative;
}

/* Blog Index  */
	.news-index-container {
		display: grid;
		grid-gap: 2em;
		grid-template-columns: repeat(4,1fr);
		margin-bottom: 3em;
	}
  .news-block-article {
    position: relative;
  }
  .news-block-article img {
    filter: grayscale(50%) brightness(0.6);
    transition: 0.3s all;
  }
/*  .news-block-article:hover img {
    filter: grayscale(0%) brightness(1);
  }*/
  a.article-link {
    z-index: 1;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    display: block;
  }
  .news-block-category-container {
    z-index: 2;
    display: block;
    position: relative;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 20px;
  }
  .news-block-grid-container {
    display: grid;
    grid-template-columns: 0.75fr repeat(3,1fr);
    grid-gap: 1.3em;
  }
  .news-block-article {
    position: relative;
  }
  .news-block-article-inner {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    transition: 0.6s all;
    color: #fff;
    padding: 2em;
    /*z-index: 999;*/
  }
   .news-article-title--title {
    font-family: capitolium-2, Capitolium2, 'serif';
    font-size: 2em;
  }
  .news-block-article:hover .news-block-article-inner {
    background: #003B29;
  }
  .news-article-title--date {
    position: absolute;
    bottom: 2em;
    margin-bottom: 0;
  }

  .news-block-day {
    font-size: 3em;
    font-family: capitolium-2, Capitolium2, 'serif';
  }

  /* Single blog article */
.single-post #title-hero h1 {
	width:70%;
}
.single-article-date {
	font-size:0.8em;
	display: block;
	margin-bottom:2em;
	text-transform: uppercase;
}
.news-block-month {
	text-transform: uppercase;
}
.single-article {
	margin-top:2em;
	/*display: flex;*/
	display:-ms-grid;
	display:grid;
	-ms-grid-columns: 7fr 2em 4fr;
	grid-template-columns: 7fr 4fr;
	grid-gap:2em;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.single-article .hero-image img {
	margin-bottom:2em;
}

#single-article-left {
	/*width:70%;*/
}

#single-article-right {
	/*padding-left:3em;*/
	/*width:30%;*/
	/*background: #f7f7f7;*/
    margin-bottom: 2rem;
}
#single-latest-articles {
	position:-webkit-sticky;
	position:sticky;
	top:100px;
	padding: 2em;
}
#single-latest-articles #services-related-services {
	width:100%;
}
#single-post-meta {
	font-size:0.8em;
	margin-top:5rem;
	background-color:#F7F7F7;
	padding:2rem;
	clear:both;
}
#single-post-meta p {
	margin-bottom:0.5em;
}

.article-recent-post {
	margin-bottom: 0.8em;
	display: block;
}


/* Projects archive */

.sort-projects {
	margin-bottom: 3em;
	/*background-color: #032743;*/
	/*color: #fff;*/
	color: #86011C;
	padding: 0.7em;
}
.archive h1 span {
	font-size: 0.4em !important;
}

.sort-projects select {
	margin-left: 4em;
	/*background-color: #86011C;*/
	background-color: transparent;
	border: 0;
	/*color: #fff;*/
	color: #032743;
	padding: 0.5em;
}
.projects-archive-grid {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-gap: 1em;
	margin-bottom: 2em;
}

.project-archive-article {
	position: relative;
}

.project-archive-article img {
	display: block;
	object-fit: fill;
	height: 100%;
	width: 100%;
	/*opacity: 0.3;*/
	transition: 0.6s all ease-in-out;
	aspect-ratio: 4 / 3;
}

.project-archive-article:hover img {
	opacity: 1;
}

.project-archive-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(3, 39, 67, 0.6);
	background-blend-mode: multiply;
	opacity: 0;
	transition: 0.6s all;
	padding: 1em;
}

.project-archive-link:hover {
	opacity: 1;
}

.project-archive-meta {
	color: #38556B;
	font-size: 0.6em;
	text-transform: uppercase;
	position: absolute;
	top: 2em;
	right: 2em;
	display: flex;
}
.project-archive-sector {
	padding: 0.3em 0.6em;
	background: #fcfcfc;
	border: 1px solid #38556B;
}
.project-archive-product {
	padding: 0.3em 0.6em;
	background: #FCFCD8;
	border: 1px solid #38556B;
	border-left: 0;
}
.project-archive-title {
	position: absolute;
	bottom: 1em;
	left: 1em;
	color: #fff;
}


  /* About page  */
  .meet-the-team .profile {
  	margin-bottom: 0.8em;
  }
  .meet-the-team h5 {
  	/*margin-bottom: 0.8em !important;*/
  }
  .meet-the-team p {
  	margin-top: 0;
  }

  .meet-the-team img {
  	transition: 0.3s all;
  }
  .meet-the-team img:hover {
  	opacity: 0.8;
  	cursor: pointer;
  }

  .meet-the-team .profile--job-title, 
  .meet-the-team .profile--email-phone,
  .meet-the-team .profile--location {
  	font-size: 0.8em;
  }

.meet-the-team-container {
	background-image: url(img/white-lion-left.svg);
	/*background-size: contain;*/
	background-size: 30%;
	background-position: top 150px left;
	background-repeat: no-repeat;
}
.meet-the-team .wp-block-column {
    margin: 0 4vw;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:1024px) {

	.mobile-only {
		display: none;
	}
}
.activate-sub {
	display: none;
	color: #B38930;
}

@media only screen and (max-width:1400px) {
	.logo {
		margin-right: 50px;
	}
	.news-index-container {
		grid-template-columns: repeat(3,1fr);
	}
}
@media only screen and (max-width:1280px) {
	.get-started {
		display: none
	}

}
@media only screen and (max-width:1024px) {

	.hide-mobile {
		display: none !important;
	}
	.mobile-only {
		display: block;
	}

	h1:not(body.wp-admin h1) {
		font-size: 2.3em;
	}
	h2:not(body.wp-admin h2) {
		font-size: 1.8em;
		margin-bottom: 0.6em;
	}
	h3:not(body.wp-admin h3) {
		font-size: 1.3em;
	}
	h4:not(body.wp-admin h4) {
		font-size: 1.15em;
	}

	#nav-button {
		display: block;
	}

	.language-switcher {
	    margin-left: 0;
	    margin-right: 0;
	}

	/* Responsive Nav */
	.nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: #032743;
		color: #fff;
		height: auto;
		display: none;
		padding-top: 100px;
	}
	.nav ul {
		display: block;
		position: relative;
	}
	.nav > ul > li {
		height: auto;
		text-align: left;
	}
	.nav ul li > ul > li {
		border: 0;
	}
	.scrolled .header, {
		height: 100px;
	}


	.scrolled .header, 
	.scrolled .nav, 
	.scrolled .nav > ul > li {
		height: auto;
	}


	.scrolled .nav ul li:hover > ul {
		height: auto;
	}
	.nav ul li > ul,  {
		display: block;
		height: auto;
		opacity: 1;
		padding: 0;
		position: relative;
	}
	.nav ul li > ul > li {
		background: inherit;
		padding: 0;
		padding-left: 1rem !important;
	}
	.nav ul li > ul > li a {
		font-size: 1em;
	}

	.nav > ul > li a  {
		padding: 1em;
		display: flex;
		justify-content: flex-start;
		color: #fff;
	}

	.sub-menu {
    	position: relative;
    	left: 0px;
    	top: 0;
    	display: none;
    	padding-top:0.6em !important;
    	padding-bottom:0.6em !important;
    	font-size: 1em !important;
    	padding-left: 0;
	}
	.nav ul li:hover .sub-menu {
		display: none;
		position: relative;
		height: auto;
	}



	.activate-sub {
		position:absolute;
		top:0;
		right:15px;
		cursor:pointer;
		width:100%;
		display:block;
		z-index:3;
		text-align:right;
		font-size: 1.8em;
	}

	.nav ul li ul.active-sub {
		display: block;
		position: relative;
		padding: 0;
		background: #C0C9D0;
		height: auto;
	}

	.nav > ul > li > ul.active-sub > li {
		background-color: #C0C9D0 !important;
		color: #032743 !important;
		padding-left: 0 !important;
		margin-left: 0 !important;
	}

	.nav ul li > ul > li a {
		padding: 0.6em;
	}


	.widget_polylang ul {
		padding-left: 0;
	}

	/* Responsive Homepage - 1024 */
	.home-products-copy {
		padding-left: 0;
	}

	.home-products-accordion {
		.margin-top: 0;
	}

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

	.footer .inner {
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas: "footer-1 footer-2" "footer-3 footer-4" "footer-5 footer-6" "footer-7 footer-8";
	}


} /* /1024 */
@media only screen and (max-width:768px) {

	.top-padding {
		height: 105px;
	}

	.profile-modal {
		grid-template-columns: 1fr;
	}
	.modal {
		overflow: scroll;
	}

	.header {
		height: 85px !important;
	}
	.sub-menu span {
		display: none;
	}
	.logo, .scrolled .logo {
		margin-right: 10px;
		padding-top: 8px;
		width: 200px;
	}
	#nav-button {
		margin-left: 10px;
	}
	.narrow {
		width: 100%;
		padding: 2em;
		margin-top: 0 !important;
	}
	.accordion {
		padding-left: 40px;
	}
	/* Responsive Homepage - 768 */
	.home-products-left {
		padding-right: 5%;
	}
	.home-products-accordion {
		padding-left: 2em;
		padding-right: 2em;
	}
	.home-how-we-can-help {
		background-size: contain;
	}
	.home-how-we-can-help-text {
		padding-left: 0;
		padding-top: 2em;
	}


	.sort-projects {
		display: none;
	}
	.projects-archive-grid, .news-index-container {
		grid-template-columns: 1fr;
	}

	.single-article {
		grid-template-columns: 1fr;
	}

	.sort-projects {
		margin-top: 1em;
	}
		.sort-projects .inner {
			display: flex;
			flex-direction: column;
		}
		.sort-projects .inner select {
			margin-left: 0;
			margin-top: 1em;
		}
	
		/* Responsive Footer */
		.footer {
			background-size: 65%
		}
		.footer .inner {
			grid-template-columns: 1fr;
			grid-template-areas: "footer-1" "footer-2" "footer-3" "footer-4" "footer-5" "footer-6" "footer-7" "footer-8";
	}
	.footer-5 svg {
		width: 50%;
	}

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}



/* Animations  */
@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: grid;
        opacity: 0;
    }

    100% {
        display: grid;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: grid;
        opacity: 0;
    }

    100% {
        display: grid;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: grid;
        opacity: 0;
    }

    100% {
        display: grid;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: grid;
        opacity: 0;
    }

    100% {
        display: grid;
        opacity: 1;
    }
}

.contact-container {
	background-image: url(img/contact-lion.svg);
	background-position: bottom right;
	background-repeat: no-repeat;
}

.contact-page-form input, .contact-page-form textarea, .contact-page-form select {
    border: none;
    border-bottom: 1px solid #84011C;
    background-color: transparent;
    resize: none;
    color: #84011C;
    border-radius: 0;
}

.contact-page-form textarea {
	border: 1px solid #84011C;
	background-color: #fff;
}

    #contact-form-button button {
        font-weight: bold;
        font-size: 0.9em;
        text-transform: uppercase;
        position: relative;
        padding-right: 25px;
        color: #032743;
        letter-spacing: 0.15em;
        display: table-cell;
    }
    #contact-form-button button:after {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
        background-image: url(img/button-arrow.php);
        position: absolute;
        right: 0;
        top: 6px;
        transition: 0.3s all;
    }

    #contact-form-button button:hover:after {
        transform: rotate(90deg);
    }

    #contact-form-button button {
    	display: table-cell;
    	background-color: transparent;
    	border: 0;
    	border-radius: 0;
    }