/*!
Theme Name: Boscia African Farm
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Lithowerk
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: boscia
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.cmplz-placeholder-1 {
	height: 100% !important;
}

.header-navigation .menu li {
    margin:0 0.75em;
}
body.page .entry-header {
    margin-bottom: 3em;
}
.wp-block-kadence-advancedheading.line-heading {
	display:flex;
	width:100%;
	white-space:nowrap;
	align-items: center;
}
.kt-has-2-columns .wp-block-kadence-column:first-child .wp-block-kadence-advancedheading.line-heading:before {
	content:'';
	width:100%;
	height:1px;
	background-color:var(--global-palette1);
	margin:0 0.5em 0 0
}
.kt-has-2-columns .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading.line-heading:after {
	content:'';
	width:100%;
	height:1px;
	background-color:var(--global-palette1);
	margin:0 0 0 0.5em;
}

.FeedGridLayout__cell {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0px 0px 0 rgb(0 0 0 / 15%);
}
body .MediaTile__type-icon {
    top: 10px;
    right: 10px;
}
body .MediaTile__overlay {
    bottom: 10px;
    right: 10px;
}
body .popup-drawer .drawer-content.content-valign-middle {
    justify-content: space-evenly;
}

.wp-block-kadence-advancedbtn .kb-button.kt-btn-size-large {
    font-size: 1.25rem;
}
.DesignedButton__button {
    font-size: 1.25rem !important;
    padding: 0.75em 2em 0.75em 2em !important; 
	margin-top:1rem !important;
}

/*Video Embed*/
.wp-block-embed__wrapper {
  position: relative;
  padding: 56.25% 0 0 0;
}
.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*Modal*/
.kt-modal-overlay .kt-modal-close {
    right: 20px;
    top: 20px;
}


/* Form */
.form-row {
    display: flex;
    flex-direction: row;
	column-gap:20px;
    width: 100%;
	margin:0.5em 0;
	container: kadence-column / inline-size;
}



body.single-objekt .hide-on-object {
	display:none;
}
.form-row .wpcf7-form-control-wrap {
    display:block;
}
.form-column {
    flex: 1;
}
.form-row label {
	font-size:1rem;
	font-weight:700;
}
.form-row input[type=text],
.form-row input[type=number],
.form-row input[type=email],
.form-row input[type=date],
.form-row input[type=submit] {
    width: 100%;
}
form input[type=text], 
form input[type=email], 
form input[type=url], 
form input[type=password], 
form input[type=search], 
form input[type=number], 
form input[type=tel], 
form input[type=range], 
form input[type=date], 
form input[type=month], 
form input[type=week], 
form input[type=time], 
form input[type=datetime], 
form input[type=datetime-local], 
form input[type=color], 
form textarea {
	border-radius:4px;
	font-size:1.125rem;
}
select.wpcf7-select {
	font-size:1.125rem;
	padding:0.4em 2em 0.4em 0.5em;
	width:calc(50% - 10px);
	border-radius:4px;
}
form input[type=text]:focus, 
form input[type=email]:focus, 
form input[type=url]:focus, 
form input[type=password]:focus, 
form input[type=search]:focus, 
form input[type=number]:focus, 
form input[type=tel]:focus, 
form input[type=range]:focus, 
form input[type=date]:focus, 
form input[type=month]:focus, 
form input[type=week]:focus, 
form input[type=time]:focus, 
form input[type=datetime]:focus, 
form input[type=datetime-local]:focus, 
form input[type=color]:focus, 
form textarea:focus,
select.wpcf7-select:focus {
    box-shadow: none;
}
/*
.number-input {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
 -webkit-appearance: none;
 -moz-appearance: none;
 margin: 0; }

.number-input input[type=number] {
  width: 70px;
  text-align: center;
  font-size: 16px;
  padding: 6px;
}

.number-input button {
  background: #f1f1f1;
  border: 1px solid #ccc;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 18px;
  line-height: 1;
}

.number-input button:hover {
  background: #e1e1e1;
}
*/
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}
.wpcf7-form-control-wrap[data-name="date-arrival"]:after,
.wpcf7-form-control-wrap[data-name="date-departure"]:after {
	content:'';
	position:absolute;
	top: 8px;
    right: 4px;
	width:32px;
	height:32px;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><defs><style> .cls-1 { fill: %23786964; } </style></defs><path class="cls-1" d="M22,6.25h-1.25v-1.25c0-.41-.34-.75-.75-.75s-.75.34-.75.75v1.25h-6.5v-1.25c0-.41-.34-.75-.75-.75s-.75.34-.75.75v1.25h-1.25c-2.62,0-4.75,2.13-4.75,4.75v12c0,2.62,2.13,4.75,4.75,4.75h12c2.62,0,4.75-2.13,4.75-4.75v-12c0-2.62-2.13-4.75-4.75-4.75ZM10,7.75h1.25v1.25c0,.41.34.75.75.75s.75-.34.75-.75v-1.25h6.5v1.25c0,.41.34.75.75.75s.75-.34.75-.75v-1.25h1.25c1.79,0,3.25,1.46,3.25,3.25v.25H6.75v-.25c0-1.79,1.46-3.25,3.25-3.25ZM22,26.25h-12c-1.79,0-3.25-1.46-3.25-3.25v-10.25h18.5v10.25c0,1.79-1.46,3.25-3.25,3.25Z"/><circle class="cls-1" cx="11" cy="17" r="1.5"/><circle class="cls-1" cx="16" cy="17" r="1.5"/><circle class="cls-1" cx="21" cy="17" r="1.5"/><circle class="cls-1" cx="11" cy="22" r="1.5"/><circle class="cls-1" cx="16" cy="22" r="1.5"/><circle class="cls-1" cx="21" cy="22" r="1.5"/></svg>');
	background-repeat: no-repeat;
}

/*General*/

.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1em 0em;
	padding: 0.5em;
	font-size:1.125rem;
	line-height: 1.25;
	color:#FFF;
	border-radius:4px;
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	background-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output{
	background-color: #dc3232; /* Red */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1rem;
	line-height: 1.25;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}
input[type="text"].wpcf7-not-valid,
input[type="date"].wpcf7-not-valid,
input[type="email"].wpcf7-not-valid {
	border-color: #dc3232;
}
.wpcf7-list-item {
	display: inline-block;
	margin: 0;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: none;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: hidden;
	display:none;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
.form-row .wpcf7-acceptance label {
	font-weight:normal;
}
.wpcf7-submit {
	margin:1em 0 0.5em 0;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}
.success-message {
	text-align:center;
	padding:30px 0;
}
span.modal-form-header {
	color: var(--global-palette1);
    font-size: 1.5rem;
    font-weight: 700;
}
.success-message .success-icon {
	width:80px;
	margin:0 auto;
}
.success-message .success-icon svg {
	fill:var(--global-palette1);
}
.wpcf7 span.small {
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    margin-top: 1rem;
} 

@media screen and (max-width: 1400px) {
  
	/*
	.form-row.collapse {
    flex-direction: column;
  }
	*/
	.form-row select.wpcf7-select{
		width:100%;
	}
}

@media screen and (max-width: 1024px) {
	.kt-has-2-columns.kt-tab-layout-row .wp-block-kadence-column:first-child .wp-block-kadence-advancedheading.line-heading:after {
		content:'';
		width:100%;
		height:1px;
		background-color:var(--global-palette1);
		margin:0 -2rem 0 0.5em;
	}
	.kt-has-2-columns.kt-tab-layout-row .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading.line-heading:after {
		margin:0 -2rem 0 0.5em;
	}
	.kt-has-2-columns .wp-block-kadence-column:first-child .wp-block-kadence-advancedheading.line-heading:before {
		display:none;
	}
	.FeedGridLayout__cell {
		border-radius: 20px;
	}
	/*
	button, .button, .wp-block-button__link, input[type="button"], input[type="reset"], input[type="submit"], .fl-button {
		line-height: 40px !important;
	}
	*/
	#primary .wp-block-kadence-advancedbtn .kb-button.kt-btn-size-large {
		font-size: 1.25rem;
	}
}

@media screen and (max-width: 768px) {
	#primary .wp-block-kadence-advancedbtn .kb-button.kt-btn-size-large {
		font-size: 1.125rem;
	}
	.wp-block-kadence-advancedheading.line-heading {
		display: block;
		white-space: wrap;
		position:relative;
	}
	.kt-has-2-columns .wp-block-kadence-column:first-child .wp-block-kadence-advancedheading.line-heading:after,
	.kt-has-2-columns .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading.line-heading:after {
		position: absolute;
		bottom: -0.5rem;
		width: calc(100% + 1em)!important;
		height: 1px;
		margin: 0 !important;
		left: 0;
	}
	.kt-has-2-columns.kt-tab-layout-row .wp-block-kadence-column:last-child .wp-block-kadence-advancedheading.line-heading:after {
		margin:0;
	}
}