/**
Theme Name: KMT
Author: Oliver Monschau
Author URI: https://omonschau.de
Description: WordPress theme for k-m-t.de
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kmt
Template: astra
*/


/**
 * General
 */
.entry-content p:last-child,
.fl-rich-text p:only-child {
	margin-bottom: 0 !important;
}

.om-readable-text {
	max-width: 900px;
	text-align: center;
	margin: 0 auto 20px !important;
	padding: 0 20px;
}

.om-max-content-wrap .fl-row-content-wrap {
	max-width: 2000px;
    margin: 0 auto;
}

.fl-button-group .fl-button,
.fl-button {
	transition: .2s all ease-in-out !important;
}

/**
 * Typography
 */

/**
 * Header
 */
#ast-desktop-header .ast-site-identity {
	padding: .5em 0;
}

/**
 * Navigation
 */

/**
 * Blog
 */
.om-blog-teaser .uabb-blog-posts-shadow {
	border-radius: 10px;
}

	.om-blog-teaser .uabb-blog-posts-shadow img {
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
	}

.om-blog-teaser .uabb-blogs-pagination .page-numbers {
	border-radius: 5px;
}

/**
 * Forms (Gravity Forms inside .om-form wrapper)
 */
.om-form .gform_heading {
	display: none;
}

.om-form .gform_wrapper {
	margin: 0;
}

.om-form .gform_wrapper.gform-theme--framework {
	--gf-ctrl-padding-block: 10px;
	--gf-ctrl-padding-inline: 12px;
	--gf-ctrl-border-color: var(--ast-global-color-3);
	--gf-ctrl-bg-color: var(--ast-global-color-4);
	--gf-ctrl-border-radius: 5px;
	--gf-ctrl-border-color-focus: var(--ast-global-color-0);
	--gf-button-bg-color: var(--ast-global-color-0);
	--gf-button-bg-color-hover: var(--ast-global-color-1);
	--gf-button-text-color: var(--ast-global-color-4);
	--gf-button-font-weight: 700;
}

.om-form .form-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.om-form .form-field {
	flex: 1;
}

.om-form .form-field.full-width {
	flex: 100%;
}

.om-form .form-field .gfield {
	margin: 0;
}

	/* Stack fields on smaller screens */
	@media (max-width: 768px) {
		.om-form .form-row {
			flex-direction: column;
		}
	}

.om-form label,
.om-form .gfield_label {
	color: rgba(0, 0, 0, .5);
}

.om-form .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.om-form .ginput_container textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 10px 12px !important;
	background: var(--ast-global-color-4);
	border: 1px solid var(--ast-global-color-3);
	border-radius: 5px;
	line-height: 1.5;
	resize: none;
	-webkit-appearance: none;
	appearance: none;
}

.om-form .ginput_container select {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 12px 36px 12px 12px !important;
	min-height: 46px;
	height: auto;
	background: var(--ast-global-color-4);
	border: 1px solid var(--ast-global-color-3);
	border-radius: 5px;
	line-height: 1.4;
}

.om-form .gform_wrapper.gform-theme--framework .ginput_container select {
	--gf-ctrl-select-padding-block: 12px;
	--gf-ctrl-select-padding-inline: 12px;
	min-height: 46px;
	height: auto;
}

.om-form .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"])::placeholder,
.om-form .ginput_container textarea::placeholder {
	color: rgba(0, 0, 0, .35);
	opacity: 1;
}

	.om-form .ginput_container input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
	.om-form .ginput_container select:focus,
	.om-form .ginput_container textarea:focus {
		border: 1px solid var(--ast-global-color-0);
		outline: none;
	}

.om-form .ginput_container textarea {
	max-width: 100%;
	height: 150px;
	line-height: 1.5;
}

.om-form .privacy-optin .gchoice label,
.om-form .privacy-optin .gfield_checkbox label {
	font-size: 12px;
}

.om-form .privacy-optin .ginput_container,
.om-form .privacy-optin .gchoice,
.om-form .privacy-optin .gfield_checkbox li,
.om-form .privacy-optin .ginput_container a,
.om-form .privacy-optin .gchoice a,
.om-form .privacy-optin .gfield_checkbox a {
	color: rgba(0, 0, 0, .5);
	line-height: 1.75;
}

	.om-form .privacy-optin .ginput_container a:hover,
	.om-form .privacy-optin .gchoice a:hover,
	.om-form .privacy-optin .gfield_checkbox a:hover {
		color: var(--ast-global-color-3);
		text-decoration: underline;
	}

.om-form .privacy-optin .gchoice,
.om-form .privacy-optin .gfield_checkbox li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
}

.om-form .privacy-optin {
	margin-bottom: 0;
}

.om-form .privacy-optin input[type="checkbox"],
.om-form .privacy-optin .gfield-choice-input {
	width: 12px;
	height: 12px;
	min-width: 12px;
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: var(--ast-global-color-0);
}

.om-form input[type="submit"],
.om-form .gform_button,
.om-form .gform_wrapper .gform_footer input[type="submit"] {
	background: var(--ast-global-color-0) !important;
	color: var(--ast-global-color-4) !important;
	border: none !important;
	font-weight: 700;
	width: 100%;
	padding: 12px 16px;
	border-radius: 5px;
	transition: all .2s ease-in-out;
	cursor: pointer;
}

	.om-form input[type="submit"]:hover,
	.om-form .gform_button:hover,
	.om-form .gform_wrapper .gform_footer input[type="submit"]:hover {
		background: var(--ast-global-color-1) !important;
		color: var(--ast-global-color-4) !important;
	}

.om-form .gform_footer {
	margin: 24px 0 0;
	padding: 0;
}

/**
 * Footer
 */
[data-section="sidebar-widgets-footer-widget-1"] .wp-block-image {
	text-align: center;
}

@media screen and (min-width: 922px) {
	[data-section="sidebar-widgets-footer-widget-1"] .wp-block-image {
		text-align: right;
	}
}

[data-section="sidebar-widgets-footer-widget-1"] .wp-block-image img {
	/*filter: brightness(0) invert(1);*/
	width: 75px;
	opacity: .15;
	transition: all .2s ease-in-out;
}

	[data-section="sidebar-widgets-footer-widget-1"] .wp-block-image img:hover {
		opacity: 1;
	}

/**
 * Misc
 */
.uabb-faq-questions:hover,
.uabb-faq-item-active > .uabb-faq-questions {
	outline: none;
}

.om-uabb-list-boxes .uabb-info-list-content-wrapper {
	background-color: var(--ast-global-color-5);
	padding: 15px 20px;
	border-radius: 10px;
}