/*!
 * Footer Components - Knowledge AGMA Theme
 * Version: 2.4.3
 * Footer styles and layout
 */

.main_footer {
	grid-template-columns: 2.3fr 3fr 3fr 3fr;
	display: grid;
	grid-gap: 3rem;
	margin: 1rem 0;
	padding-top: 2rem;
	width: 100%;
}

.main_footer .footer_logo {
	position: fixed;
	bottom: 0;
	max-width: 255px;
}

.footer_menu ul {
	padding: 0;
	flex-direction: column;
	grid-gap: 1rem;
	margin: 0;
	columns: 2;
}

.footer_menu li {
	list-style: none;
	margin-bottom: 1rem;
}

.footer_menu li a {
	font-family: var(--font-a);
	text-decoration: unset;
	font-size: 1rem;
}

.footer_menu li a:hover {
	font-weight: 700;
}

.footer_form .gform_title {
	font-family: var(--font-a);
	font-size: 1.2rem;
	font-weight: 100;
	margin-bottom: 1rem;
}

.footer_form input[type=submit] {
	padding: 6px 15px !important;
	height: unset;
	width: unset;
	opacity: .5;
}

.footer_form input[type=submit]:hover {
	opacity: 1;
}

.footer_form .gform_footer.top_label {
	text-align: left;
}

.footer_form .gform_wrapper.gravity-theme #field_submit,
.footer_form .gform_wrapper.gravity-theme .gform_footer {
	display: flex;
	justify-content: flex-end;
}

.footer_info {
	display: flex;
	grid-gap: 2rem;
	flex-direction: column;
}

.footer_info_text {
	font-family: var(--font-a);
	font-size: 1.2rem;
}

.footer_info_icons {
	display: block;
}

.footer_info_icons a {
	text-decoration: unset;
}

.footer_info_icons svg {
	width: 1rem;
	height: 1rem;
	margin-left: 5px;
}

.footer_info_icons svg path {
	fill: var(--font-color) !important;
}

.footer_info_icons svg:hover path {
	fill: var(--s-font-color) !important;
}

.footer_info_logo path {
	fill: var(--s-font-color);
}

.footer_credits {
	padding: 10px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: start;
}

.footer_credits .full-width {
	flex: 0 0 100%;
	margin-bottom: 10px;
}

.footer_credits .half-width {
	margin-inline-end: 10px;
}

.footer_credits span {
	font-size: 1em;
	color: var(--font-color);
	font-family: var(--font-b);
}

.footer_credits span a {
	text-decoration: unset;
	font-family: var(--font-b);
	color: var(--font-color);
}

.footer_details {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	align-content: flex-start;
	gap: 6px;
}

.footer_wrap_mob {
	display: none;
}

.single footer {
	flex-direction: column;
}

.single footer .recent_posts {
	width: fit-content;
}

.single footer .recent_posts h3 {
	border-top: 0;
}

/* Mobile Footer */
@media screen and (max-width: 765px) {
	.main_footer {
		grid-template-columns: 1fr;
		grid-gap: 2rem;
		width: 100%;
	}

	.footer_credits {
		padding: 0;
	}

	.footer_form input[type=submit] {
		float: unset;
		position: unset;
	}

	.footer_form {
		order: 1;
	}

	.footer_menu {
		order: 4;
	}

	.footer_menu .menu {
		border-bottom: var(--border-width) var(--border-style);
		padding-bottom: 30px;
	}

	.footer_details {
		order: 3;
		border-bottom: var(--border-width) var(--border-style);
		padding-bottom: 30px;
	}

	.footer_map {
		order: 2;
	}

	.footer_credits .full-width {
		margin-bottom: 0;
	}

	.footer_wrap_mob {
		display: block;
		width: 100%;
		margin: 30px 0px;
	}

	.footer_wrap_mob a {
		width: 100%;
		display: block;
	}

	.footer_wrap_mob a img {
		width: 100%;
	}
}

