/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/


.additionalModal {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	height: 100vh;
	width: 100vw;
    overflow-y: scroll;
	background: rgba(0, 0, 0, 0.25);
	z-index: 999;
	top: 0;
	backdrop-filter: blur(4px);
}

.additionalModal.active {
	display: flex;
}

.additionalModal__inner__header {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 1px solid black;
	margin-bottom: 14px;
}

@keyframes animateIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes animateIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.additionalModal.active .additionalModal__inner {
	animation-name: animateIn;
	animation-duration: 0.5s;
}

.additionalModal__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 95%;
	max-width: 500px;
	background: #f4eddc;
	margin: auto;
	padding: 2rem;
	border-radius: 2px;
	animation-name: animateOut;
	animation-duration: 0.5s;
	height: fit-content;
	max-height: 90%;
}


.additionalModal__inner__body {
	width: 100%;
	height: 100%;
    overflow-y: auto;
	overflow-x:hidden;
}

.additionalModal input[type="text"] {
	background-color: #f4eddc;
	color: #4b4b4b;
	border-radius: 50px;
	border: 2px solid rgb(224, 215, 195);
	padding: 10px 18px;
	width: 100%;
}

.additionalModal .btn[type="submit"] {
	background-color: #8bc25a;
	color: #FFFFFF;
}

.additionalModal form {
	display: flex;
	gap: 8px;
}

form#forminator-module-71237 {
	display: flex;
	flex-direction: column;
}

.additionalModal .forminator-input,
.additionalModal .select2-selection--single {
	border-color: #e0d7c3 !important;
	border-radius: 30px !important;
	border-width: 2px !important;
	background-color: transparent !important;
}

.additionalModal .forminator-button.forminator-button-submit {
	padding: 10px !important;
	background: #8BC25A !important;
	border-radius: 50px !important;
}

.searchResults article a {
	text-decoration: none;
}

.searchResults article .overlay {
	display: none;
	background: rgba(0, 0, 0, 0.25);
	height: 100%;
	width: 100%;
}

.searchResults article:hover .overlay {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	justify-content: center;
	align-items: center;
}

.searchResults article:hover .image {
	position: relative;
}

.onpageSearch .input-group {
	width: 66%;
}

.onpageSearch input[type="text"] {
	background: transparent;
	border-radius: 50px !important;
	border: 3px solid black;
	position: relative;
}

.onpageSearch button {
	position: absolute;
	right: 0.6875rem;
	top: 8px;
	background: transparent;
	border: none;
}

@media screen and (max-width:750px) {
	.onpageSearch .input-group {
		width: 100%;
	}
}

@media screen and (max-width: 500px) {
	header .navbar .navbar-nav#top-right li.searchModalToggle {
		display: none;
	}
}