/* GENERAL */
body.dark-mode {
	color: #fff;
	background: #0E0E0E;
}
.container {
	padding: 0 7px;
	max-width: 1140px;
	margin: 0 auto;
}

.d-flex {
	display: flex;
}

.flex-row {
	flex-direction: row;
}

.flex-row-reverse {
	flex-direction: row-reverse;
}

.flex-column {
	flex-direction: column;
}

.flex-column-reverse {
	flex-direction: column-reverse;
}

.justify-content-center {
	justify-content: center;
}

.justify-content-end {
	justify-content: flex-end;
}

.justify-content-around {
	justify-content: space-around;
}

.justify-content-between {
	justify-content: space-between;
}

.align-items-center {
	align-items: center;
}

.align-items-end {
	align-items: flex-end;
}

.align-items-around {
	align-items: space-around;
}

.align-items-between {
	align-items: space-between;
}

/* HEADER */
#masterhead {
	padding: 1rem 0;
	position: fixed;
	background: white;
	top: 0;
	left: 0;
	z-index: 99;
	width: 100%;
}

body.dark-mode #masterhead {
	background: #222;
	box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.08);
}

.admin-bar #masterhead {
	top: 46px;
}

#masterhead .logo {
	height: 37px;
	width: auto;
}

@media all and (min-width: 992px) {
	#masterhead {
		padding: 2rem 0;
	}
	#masterhead .logo {
		height: 57px;
	}
	.admin-bar #masterhead {
		top: 32px;
	}
}

.prime-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px; 
}

.prime-menu__list > li {
    position: relative;
    font-size: 18px;
    line-height: 21px;
    color: #000000;
}

.prime-menu__list > li > a {
    text-decoration: none;
    color: #000000;
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 21px;
}

body.dark-mode .prime-menu__list > li > a {
	color: #FFF;
}

.prime-menu__list > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 9px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTQgOSIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTEuMTA5MzggMC44OTA2MjVMMC4zOTA2MjUgMS42MDkzOEw2LjY0MDYyIDcuODU5MzhMNyA4LjIwMzEyTDcuMzU5MzggNy44NTkzOEwxMy42MDkzOCAxLjYwOTM4TDEyLjg5MDYyIDAuODkwNjI1TDcgNi43ODEyNUwxLjEwOTM4IDAuODkwNjI1WiIgZmlsbD0iIzExMTExMSIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
}

body.dark-mode .prime-menu__list > li.menu-item-has-children > a::after {
	filter: invert(1);
}

.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.sub-menu li {
    padding: 10px 20px;
    white-space: nowrap;
}

.sub-menu li a {
    color: #000000;
    font-size: 18px;
    line-height: 21px;
}

.prime-menu__list > li:hover > .sub-menu {
    display: block;
}


/* CONTENT */
body:not(.no-header) #content {
	padding: 69px 0 0;
}

@media all and (min-width: 992px) {
	body:not(.no-header) #content {
		padding: 121px 0 0;
	}
}

.elementor-button span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* FOOTER */
.footer a {
	color: #000;
}

body.dark-mode .footer a {
	color: #fff;
}

.footer-content {
	padding: 40px 0 20px;
}
.footer-title {
	font-size: 18px;
	line-height: 21px;
	margin-bottom: 24px;
}
.footer-menu .prime-menu__list {
	flex-direction: column;
	gap: 10px;
}
.footer-menu .prime-menu__list > li > a {
	font-size: 16px;
}

.footer-copyright {
	border-top: 1px solid #E6E8EB;
	padding: 20px 0;
	text-align: center;
}

.footer .parent-column {
	gap: 20px;
}

.footer .socials {
	gap: 16px;
}
.footer .social-link {
	width: 32px;
	height: 32px;
}

body.dark-mode .footer .social-link img {
	filter: invert(1);
}


@media all and (min-width: 992px) {
	.footer-content {
		padding: 80px 0 40px;
	}
	.footer-copyright {
		padding: 40px 0;
	}
	
	.footer .parent-column {
		gap: 40px;
	}
}

@media all and (min-width: 1199px) {
	.footer .parent-column {
		gap: 80px;
	}
}

.footer .copyright {
	color: #111111;
	font-size: 14px;
	line-height: 16px;
}

body.dark-mode .footer .copyright {
	color: #fff;
}

.card-grid .double {
	grid-column-start: 1;
	grid-column-end: 3;
}

.card-grid .double.right {
	grid-column-start: 2;
	grid-column-end: 4;
}

@media all and (min-width: 992px) {
	.founder-message .e-con-inner {
		position: relative;
	}
	.founder-message .message {
		max-width: 600px;
		align-self: flex-end;
		position: relative;
		z-index: 1;
	}
	.founder-message .founder {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 0;
	}
	.founder-message .founder img {
		object-fit: cover;
	}
}