/*
Theme Name: Nexia
Theme URI: https://api.modulestudio.co.uk
Details URI: https://api.modulepreview.co.uk/?action=get_metadata&slug=cla
Author: Module Studio
Author URI: https://modulestudio.co.uk
Description: Nexia FSI Theme
Requires at least: 6.1
Tested up to: 6.22
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: Nexia
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap");
/* Change the WordPress default css to a 1023px media query */
@media (min-width: 1023px) {
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
	}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(
			.is-menu-open
		) {
		display: block !important;
		width: 100%;
		position: relative;
		z-index: auto;
		background-color: inherit;
	}
}
/* Remove the WordPress default for 600px */
@media (min-width: 600px) {
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(
			.is-menu-open
		) {
		display: none;
	}
}
@media (max-width: 1023px) {
	.wp-block-site-logo a img {
		width: 235px;
	}
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	margin-block-start: 0px !important;
}
p {
	font-size: 18px;
}
@media only screen and (max-width: 780px) {
	p {
		font-size: 18px !important;
	}
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong,
.wp-block-buttons {
	font-family: "Poppins", sans-serif;
	margin-bottom: 24px;
}
.bolder {
	font-weight: 600;
}
.current-menu-item a {
	border-bottom: 4px solid rgba(125, 210, 211, 0);
	-webkit-transition: border-color 0.25s ease-in-out;
	transition: border-color 0.25s ease-in-out;
	border-color: #00b9b9;
}
nav li a {
	border-bottom: 4px solid rgba(125, 210, 211, 0);
	-webkit-transition: border-color 0.25s ease-in-out;
	transition: border-color 0.25s ease-in-out;
}
nav li a:hover {
	border-color: #00b9b9;
}
header .header-wrap {
	border-bottom: none !important;
}
@media (max-width: 1350px) {
	header .header-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
}
header .header-wrap .wp-block-group {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
	align-items: flex-end !important;
}
footer .wp-block-columns,
footer .wp-block-site-logo {
	padding-top: 50px;
	padding-bottom: 50px;
}
@media (max-width: 1350px) {
	footer .wp-block-columns,
	footer .wp-block-site-logo {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media only screen and (max-width: 1100px) {
	footer .wp-block-columns,
	footer .wp-block-site-logo {
		padding-top: 25px;
		padding-bottom: 25px;
	}
}
footer .wp-block-columns:first-of-type,
footer .wp-block-site-logo:first-of-type {
	padding-top: 0px;
}
footer .wp-block-columns:last-of-type,
footer .wp-block-site-logo:last-of-type {
	padding-bottom: 0px;
}
footer .bottom-footer {
	justify-content: space-between;
}
@media only screen and (max-width: 1100px) {
	footer .bottom-footer {
		flex-direction: column;
		gap: 50px;
	}
}
footer .bottom-footer .page-list {
	display: flex;
	gap: 20px;
}
@media only screen and (max-width: 1100px) {
	footer .bottom-footer .page-list {
		flex-direction: column;
		gap: 10px;
	}
}
footer .bottom-footer .page-list p {
	margin: 0 !important;
}
footer .bottom-footer .col2 {
	align-items: flex-end;
	display: flex;
	justify-content: flex-end;
}
@media only screen and (max-width: 1100px) {
	footer .bottom-footer .col2 {
		justify-content: flex-start;
		align-items: flex-start;
	}
}
footer .bottom-footer .col2 .social-icons {
	display: flex;
	gap: 20px;
}
footer .bottom-footer .col2 .social-icons figure {
	margin: 0 !important;
}
.wp-block-navigation__responsive-container {
	background-color: #00323c !important;
	color: #ffffff !important;
}
.wp-block-buttons .wp-block-button a {
	padding-left: 40px;
	padding-right: 40px;
}
.clear-white .wp-block-button a {
	border-radius: 0;
	background-color: #ffffff;
	color: #00323c;
	border: 1px solid #00323c;
}
.contact-hero p {
	margin-bottom: 5px !important;
}
.contact-hero .extra-pad {
	padding-bottom: 20px;
}
.home-hero {
	align-items: flex-end;
	padding: 0 !important;
	height: 800px;
	position: relative;
}
.home-hero .wp-block-cover__inner-container {
	max-width: 1350px;
	margin-left: -80px !important;
}
@media only screen and (max-width: 1530px) {
	.home-hero .wp-block-cover__inner-container {
		margin-left: 0px !important;
		position: absolute;
		left: 0;
		bottom: 0;
	}
}
.home-hero
	.wp-block-cover__inner-container
	.wp-block-buttons
	.wp-block-button
	a {
	border-radius: 0;
	background-color: #00b9b9;
	color: #00323c;
}
.home-hero .wp-block-cover__inner-container .wp-block-group {
	width: 70%;
	margin: 0 !important;
	border-radius: 0px 40px 0px 0px;
	padding: 100px 100px 80px 40px;
}
@media only screen and (max-width: 780px) {
	.home-hero .wp-block-cover__inner-container .wp-block-group {
		width: 100%;
		padding: 100px 20px 80px 20px;
	}
}
.home-hero .wp-block-cover__inner-container .wp-block-group h1 {
	font-size: 50px !important;
}
@media only screen and (max-width: 1100px) {
	.home-hero .wp-block-cover__inner-container .wp-block-group h1 {
		font-size: 40px !important;
	}
}
@media only screen and (max-width: 780px) {
	.home-hero .wp-block-cover__inner-container .wp-block-group h1 {
		font-size: 30px !important;
	}
}
.home-hero .wp-block-cover__inner-container .flex-this {
	display: flex;
	padding: 0px !important;
	gap: 20px;
	justify-content: center;
	margin-top: 50px !important;
}
.home-hero .wp-block-cover__inner-container .flex-this p {
	margin: 0;
}
.home-hero .wp-block-cover__inner-container .flex-this .arrows {
	padding: 0px !important;
	display: flex;
	gap: 10px;
	margin-bottom: 20px !important;
	cursor: pointer;
}
.home-hero .wp-block-cover__inner-container .flex-this .arrows figure {
	margin: 0 !important;
	margin-top: -6px !important;
}
.text-block {
	padding-top: 60px;
	padding-bottom: 60px;
	max-width: 1050px !important;
}
@media (max-width: 1350px) {
	.text-block {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.text-block {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.text-block .col1 {
	display: flex;
	justify-content: center;
	padding-top: 40px;
	padding-bottom: 40px;
	flex-direction: column;
	padding-right: 15%;
}
.text-block .col2 h2 {
	font-size: 70px;
	margin-bottom: 10px;
}
@media only screen and (max-width: 1100px) {
	.text-block .col2 h2 {
		font-size: 60px !important;
	}
}
@media only screen and (max-width: 780px) {
	.text-block .col2 h2 {
		font-size: 50px !important;
	}
}
.latest-insights {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.latest-insights {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media (max-width: 1350px) {
	.latest-insights {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
.latest-insights .col1 {
	position: relative;
}
@media only screen and (max-width: 780px) {
	.latest-insights .col1 {
		min-height: 300px;
	}
}
.latest-insights .col1 h3 {
	font-size: 42px;
}
.latest-insights .col1 .arrows {
	display: flex;
	gap: 10px;
	position: absolute;
	bottom: 0;
	left: 0;
	cursor: pointer;
}
@media only screen and (max-width: 780px) {
	.latest-insights .col1 .arrows {
		position: relative;
	}
}
.latest-insights .col1 .arrows figure {
	margin: 0 !important;
}
.latest-insights .col2 {
	padding-top: 30px;
}
@media only screen and (max-width: 780px) {
	.latest-insights .col2 {
		padding-top: 0px;
	}
}
.latest-insights .col2 img {
	border-radius: 0px 40px 0px 40px;
	height: 350px;
	object-fit: cover;
	width: 100%;
	padding-bottom: 20px;
}
.text-block-2 {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.text-block-2 {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.text-block-2 {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.text-block-2 .col1 h3 {
	font-size: 42px;
}
.text-block-2 .col2:not(.with-button) {
	display: flex;
	justify-content: center;
	align-items: center;
}
@media only screen and (max-width: 780px) {
	.text-block-2 .col2:not(.with-button) {
		justify-content: flex-start;
	}
}
.service-tabs {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.service-tabs {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.service-tabs {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.service-tabs .col1,
.service-tabs .col2,
.service-tabs .col3 {
	position: relative;
}
.service-tabs .col1 img,
.service-tabs .col2 img,
.service-tabs .col3 img {
	border-radius: 0px 40px 0px 40px;
	height: 550px;
	object-fit: cover;
	width: 100%;
}
.service-tabs .col1 .absol,
.service-tabs .col2 .absol,
.service-tabs .col3 .absol {
	position: absolute;
	bottom: 5%;
	left: 5%;
}
.service-tabs .col1 .absol p,
.service-tabs .col2 .absol p,
.service-tabs .col3 .absol p {
	font-size: 35px;
}
.service-tabs .col1 .absolute,
.service-tabs .col2 .absolute,
.service-tabs .col3 .absolute {
	position: absolute;
	bottom: 5%;
	right: 5%;
	height: 44px;
	width: 44px;
}
.service-tabs .col1 .absolute img,
.service-tabs .col2 .absolute img,
.service-tabs .col3 .absolute img {
	object-fit: cover;
	height: 100%;
	width: 100%;
	height: auto !important;
	border-radius: 0;
}
.content-area {
	margin-top: 0px !important;
	height: 700px;
}
@media only screen and (max-width: 1350px) {
	.content-area {
		height: fit-content;
	}
}
.content-area p {
	font-size: 28px;
}
.content-area .bolder {
	font-size: 18px;
}
.content-area .is-layout-flex {
	gap: 0px;
}
.content-area .wp-block-buttons .wp-block-button a {
	border-radius: 0;
	background-color: #00323c;
	color: #ffffff;
	border: 1px solid #00323c;
}
.content-area .wp-block-columns {
	gap: 32px;
	height: 100%;
}
@media only screen and (max-width: 780px) {
	.content-area .wp-block-columns {
		flex-direction: column;
		gap: 0px;
	}
}
.content-area .wp-block-column {
	flex-basis: 50% !important;
}
.content-area .col1 figure {
	width: 100%;
	height: 100%;
}
.content-area .col1 figure img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}
.content-area .col2 {
	padding-right: 20%;
	padding-left: 50px;
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.content-area .col2 {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.content-area .col2 {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.simple-text-block {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.simple-text-block {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.simple-text-block {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.simple-text-block p {
	padding-right: 5%;
}
.simple-text-block p:not(.bolder) {
	font-size: 28px;
}
@media (max-width: 1350px) {
	.video-placeholder {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.video-placeholder figure {
	margin: 0 !important;
}
.video-placeholder figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.image-three-col {
	padding-top: 60px;
	padding-bottom: 60px;
	padding-top: 0px !important;
}
@media (max-width: 1350px) {
	.image-three-col {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.image-three-col {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.image-three-col img {
	border-radius: 0px 40px 0px 40px;
	height: 350px;
	object-fit: cover;
	width: 100%;
	padding-bottom: 20px;
}
.image-three-col .bolder {
	font-size: 28px;
}
.image-block {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.image-block {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.image-block {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.image-block figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (max-width: 1350px) {
	.centered-form {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.image-with-card {
	position: relative;
	padding-bottom: 80px;
	height: 700px;
}
.image-with-card .banner {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	max-width: 100% !important;
}
.image-with-card .banner img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.image-with-card .arrows {
	display: flex;
	gap: 10px;
	align-items: center;
	padding-top: 20px;
	cursor: pointer;
}
@media (max-width: 1350px) {
	.image-with-card .arrows {
		padding-left: 20px;
		padding-right: 20px;
	}
}
@media only screen and (max-width: 882px) {
	.image-with-card .arrows {
		display: none !important;
	}
}
.image-with-card .arrows p {
	margin: 0 !important;
	padding-left: 30px;
}
.image-with-card .arrows figure {
	margin: 0 !important;
}
.image-with-card .arrows figure img {
	margin: 0 !important;
}
.image-with-card .card-elements {
	width: 600px;
	position: absolute;
	right: 5%;
	bottom: -10%;
	padding: 50px;
	padding-right: 100px;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 15px;
	border-radius: 0px 40px 0px 40px;
}
@media only screen and (max-width: 780px) {
	.image-with-card .card-elements {
		width: 100%;
		right: 0;
		bottom: 0;
		border-bottom-left-radius: 0 !important;
	}
}
.image-with-card .card-elements p,
.image-with-card .card-elements h4 {
	margin: 0 !important;
}
.image-with-card .card-elements .larger {
	font-size: 38px;
}
@media only screen and (max-width: 780px) {
	.image-with-card .card-elements .larger {
		font-size: 25px;
	}
}
.image-with-card .card-elements .wp-block-buttons {
	margin: 0 !important;
}
.image-with-card .card-elements .wp-block-buttons .wp-block-button a {
	background-color: transparent;
	border-radius: 0;
	border: 1px solid #ffffff;
}
.facts {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.facts {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.facts {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.facts .grid-this {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 15px;
}
@media only screen and (max-width: 1100px) {
	.facts .grid-this {
		grid-template-columns: 1fr 1fr;
	}
}
@media only screen and (max-width: 780px) {
	.facts .grid-this {
		grid-template-columns: 1fr;
	}
}
.facts .grid-this .fact {
	border-radius: 0px 40px 0px 40px;
	margin: 0 !important;
	padding: 20px 40px 60px 40px;
}
@media only screen and (max-width: 780px) {
	.facts .grid-this .fact {
		padding: 20px 40px 20px 40px;
	}
}
.facts .grid-this .fact .larger {
	font-size: 100px;
	margin-bottom: 0px;
}
@media only screen and (max-width: 1100px) {
	.facts .grid-this .fact .larger {
		font-size: 75px;
	}
}
@media only screen and (max-width: 780px) {
	.facts .grid-this .fact .larger {
		font-size: 50px !important;
	}
}
.facts .grid-this .fact p:not(.larger) {
	padding-left: 5px;
}
.facts h3 {
	font-size: 42px;
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.facts h3 {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
.service-menu {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.service-menu {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.service-menu {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.service-menu .highlight {
	border-bottom: 10px solid #fbc311;
}
.service-menu .title {
	padding-bottom: 20px;
}
.service-menu .menu-item {
	border-bottom: 1px solid #ffffff;
	text-align: center;
	padding-bottom: 20px;
	/* background-image: url(./../images/White-Arrow.svg); */
	background-repeat: no-repeat;
	/* background-position: right center; */
	padding-right: 30px;
	background-position-y: calc(50% - 6px);
}
.case-study {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.case-study {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.case-study {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.case-study .wp-block-buttons .wp-block-button a {
	border-radius: 0;
	background-color: #00b9b9;
	color: #00323c;
}
.case-study .col1 {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-right: 5%;
}
.case-study .col1 h3 {
	font-size: 42px;
}
.case-study .col2 figure {
	margin: 0 !important;
	width: 100%;
	height: 100%;
}
.case-study .col2 figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0px 40px 0px 40px;
}
.quote-slider {
	padding-top: 60px;
	padding-bottom: 60px;
}
@media (max-width: 1350px) {
	.quote-slider {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}
@media (max-width: 1350px) {
	.quote-slider {
		padding-left: 20px;
		padding-right: 20px;
	}
}
.quote-slider .larger {
	font-size: 38px;
}
@media only screen and (max-width: 780px) {
	.quote-slider .larger {
		font-size: 25px;
	}
}
.quote-slider .flex-this {
	display: flex;
	justify-content: space-between;
	border-top: 2px solid #ebebeb;
	padding-top: 20px;
}
@media only screen and (max-width: 780px) {
	.quote-slider .flex-this {
		flex-direction: column;
	}
}
.quote-slider .contact-group {
	display: flex;
	gap: 20px;
	align-items: center;
	margin: 0 !important;
}
@media only screen and (max-width: 780px) {
	.quote-slider .contact-group {
		flex-direction: column;
	}
}
.quote-slider .contact-group figure {
	margin: 0 !important;
}
.quote-slider .contact-group figure img {
	border-radius: 50%;
	width: 110px;
	height: 110px;
	object-fit: cover;
}
.quote-slider .contact-group .contact-details {
	margin: 0 !important;
}
.quote-slider .contact-group .contact-details p {
	margin-bottom: 10px;
}
.quote-slider .arrows {
	margin: 0 !important;
	cursor: pointer;
	display: flex;
	gap: 10px;
	align-items: center;
}
@media only screen and (max-width: 780px) {
	.quote-slider .arrows {
		padding-top: 20px;
		justify-content: flex-end;
	}
}
.quote-slider .arrows figure {
	margin: 0 !important;
}

/* Custom styles */

.social-link {
	transition: all 0.3s;
}
.social-link:hover {
	filter: brightness(0.5);
}

.lang-links {
	font-family: "Poppins", sans-serif;
}

.modal-button figure:hover {
	filter: brightness(0.5);
	transition: all 0.3s;
}

.popup {
	height: 100vh;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
.popup:target {
	opacity: 1;
	visibility: visible;
}
.popup__content {
	font-family: inherit;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 85%;
	height: 90%;
	padding: 2rem;
	background-color: white;
	box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	overflow: hidden;
	overflow-y: auto;
}

.popup__content h2 {
	color: #00b9b9;
}
.popup__text {
	font-size: 1.4rem;
	margin-bottom: 4rem;
}
.popup__close {
	position: absolute;
	text-decoration: none;
	color: gray;
	font-size: 20px;
	padding: 5px 10px;
	top: 2rem;
	right: 2rem;
	border-radius: 50%;
}
.popup__close:hover {
	color: black;
	transition: all 0.3s;
	background-color: #ebebeb;
}

.popup li {
	font-family: "Poppins", sans-serif;
}
