/**
 * Theme Name: Silke Eggert Coach Consult
 * Template:   			twentytwentyfive
 * Description:			Custom theme for Silke Eggert
 * Version:				1.0.0
 * Author:				Phillip Roth
 * 
 */


/* Body */

html {
  scroll-behavior: smooth;
}

:where(.wp-site-blocks *:focus) {
	outline-width:0px;
}

:focus-visible {
    outline: 2px solid #8D5F99;
	box-shadow: 0 0 0 4px #fff !important;
}

::selection {
	background: #8D5F99;
	color: #fff;
}

body {
	hyphens:auto;
	-webkit-hyphens:auto;
	text-rendering: optimizelegibility;
}

.brlbs-cmpnt-container a:focus, .brlbs-cmpnt-container input:focus, .brlbs-cmpnt-container button:focus {
	outline: 2px solid #006187 !important;
	box-shadow: 0 0 0 4px #fff !important;
}

a {
	transition: all 0.15s linear;
	display:inline-block;
}

mark.has-inline-color{
  padding: 3px 8px 3px 8px;
  border-radius: 5px;
  display: inline;
  margin-bottom: 0px;
  box-decoration-break: clone;
}

mark.has-inline-color.has-accent-1-color{
  padding: 0px;
  border-radius: 0px;
  display: inline;
  margin-bottom: auto;
}

.is-layout-flex {
	gap: 3rem;
}

main {
	margin-top: .5rem !important;
}

#logoeng {
	max-width: 260px;
}

footer .is-layout-flex {
	gap: 1.2rem;
}

/* Zitate Referenzen Testimonial */

#sp-testimonial-free-wrapper-452 .sp-testimonial-free-section .testimonial-pagination span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #8D5F99 !important;
}

.sp-testimonial-free-wrapper {
	hyphens: none;
}

.sp-testimonial-client-image {
	max-width:200px;
	margin: 0 auto !important;
}

#referenzen {
  border-radius: 15px;
  margin-top: 0px;
}

#referenzen:before {
  content: '💬';
  position: relative;
  inset: 0;
    bottom: 0px;
    left: 0px;
  left: -220px;
  margin-bottom: -60px;
  margin-top: 0;
  z-index: 1;
  opacity: 1;
  transform: rotate(-20deg);
  font-size: 150px;
  display: block;
}

/* Header */

#head-start {
	align-items: flex-end;
	
}

#header-buttons {
	margin: 0 !important;
	max-width: 470px;
}

/* Trenner Seperator */

.wp-block-separator.is-style-default {
  text-align: center;
  line-height: 20px;
  font-size: 1.5em;
  max-width: 1340px;
  background-color: var(--wp--preset--color--custom-se-gr-n) !important;
  margin: 0 auto !important;
	border: 0px;
}

.wp-block-separator.is-style-default:before {
position: absolute;
  content: "";
  background: transparent;
  border-spacing: 10px;
  margin-top: -24px;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
  margin-left: 1px;
  width: 49px;
  height: 49px;
  transition: 0.3s ease-out all;
  border-radius: 100px;
}

hr::after {
  content: "+";
  color: var(--wp--preset--color--custom-se-gr-n) !important;
  display: inline;
  background: #fff;
  padding: 0.2em 0.5em;
  border: 1px solid #fff;
  border-radius: 100px;
  transition: 0.3s ease all;
}

/* Animation */

@media all and (prefers-reduced-motion: no-preference) {
	
	
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.8s ease-out;
    position: relative;
}
	
.animate2 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    position: relative;
}
	
.animate.in-view, .animate2.in-view {
    opacity: 1;
    transform: translateY(0px);
    position: relative;
}

}

header {
	margin-block-start: 0rem;
}

/* Listen */

main ul.wp-block-list {
  list-style: none;
  border-bottom-right-radius: 15px;
  margin-block-start: .5rem !important;
}

main ul.wp-block-list li::before {
  content: '+' !important;
  color: #8D5F99 !important;
  margin: 0 10px 2px -20px;
  display: inline-block;
  height: 8px;
  width: 8px;
}

/* Bilder */



.noshadow picture img {
    box-shadow:none !important;
	border-radius: 0px;
  } */

/* Kreuze Crosses */

.crossmax {
	max-width:55px;
}

/* Buttons */



/* Link Pfeil */


.pfeil {
	margin-left:15px;
}

.pfeil:after {
	display: inline-block;
	position: relative;
	content: url(//www.silkeeggert.de/wp-content/themes/tt5se/assets/img/pfeil.svg);
	width: 25px;
	height: 25px;
	top:5px;
}

:root :where(.wp-block-button.is-style-outline--2 .wp-block-button__link) {
	border-width: 4px;
}



/* Language Switcher */

.languageswitch {
	text-align: right;
  /* display: flex; */
	/*display: none;*/
}

.languageswitcha {
	margin-top: 10px;
  margin-left: auto;
	margin-right: 12px;
	font-size: 1rem;
}




/* Logo */


.custom-logo {
  min-width: 260px;
}

@media all and (max-width: 500px) {
	.custom-logo {
  		min-width: 200px;
	}
}

/* Header Navigation */

header nav .current-menu-item a {
	font-weight: 700;
}

.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item {
  min-width: 220px !important;
}

.nopointer a:hover {
  cursor: default;
}

.nopointer ul li a:hover {
  cursor: pointer;
}


/* Search Suche Button Popover */

.rlv-has-spinner {
  border: 8px solid #8D5F99 !important;
}

.rlv-has-spinner::after {
  background: #8D5F99 !important;
}

.relevanssi-live-search-results-showing {
  left: 0 !important;
  top: 110px !important;
  width: 300px !important;
}


.relevanssi-live-ajax-search-spinner {
	color:#8D5F99;
		background-color: #8D5F99;
}

.searchbutton {
	background: none;
	border: none;
	padding: 0;
	top: 0px;
  	position: relative;
	width: 48px;
	height: 48px;
}

#navandsearch {
	gap: .7rem;
}


@media all and (max-width:600px) {
	.searchbutton {
		margin-left: -50px !important;
  		margin-top: 0px !important;
	}
	.wp-block-site-logo a img{
		max-width: 180px;
	}
	.custom-logo {
  		min-width: 180px;
	}
}

.searchbutton:hover {
  cursor: pointer;
}

.glass {
	display: block;
	width: 25px;
	height: 25px;
	margin: auto;
}

#searchpopover {
  position: relative;
  margin: 20px auto auto auto;
  overflow: visible;
  border: none;
  border-bottom-right-radius: 15px;
  padding: 40px 20px 20px;
  filter: drop-shadow(.5rem .5rem 0.75rem #444);
  width: 300px;
}

#searchpopover::backdrop {
  background: rgb(141 95 153 / 75%);
}

#searchpopover .close {
  background: none;
  border: none;
  padding: 5px;
  margin: 5px;
  z-index: 10;
  position: absolute;
  top: 5px;
  right: 25px;
}

#searchpopover .close:hover {
  cursor: pointer;
  text-decoration: underline;
}

.popclose {
  display: inline-block;
  position: fixed;
  width: 12px;
  top: 18.5px;
  right: 18px;
}

#searchpopover input {
	border-radius: 0px;
	border: 1px solid #444;
	height: 2.5rem;
	width: 69%;
	padding: 7px;
	background: #f7f7f7;
}

.popsearch_input_button {
	width: 29%;
	border-bottom-right-radius: 12px;
	border: none;
	background-color: #8D5F99;
	color: #fff;
	height: 2.5rem;
	font-weight: bold;
	padding-left: 15px;
	padding-right: 15px;
	float:right;
}

.popsearch_input_button:hover {
	cursor: pointer;
	background-color: #ad3655;
}

#searchpopover[open] {
  animation: slideIn 800ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.23,1,.32,1);
}

@media all and (prefers-reduced-motion) {

#searchpopover[open] {
  animation: none;

}
	
}

@keyframes slideIn {
  0% {
  translate: -100% -100% 0;
  opacity: .1;
  transform: rotate(25deg);
  }
  100% {
  translate: 0 0 0;
	opacity: 1;
	transform: none;
  }
}

.search-results figure, .search-results a, .search-results picture, .search-results img {
	height: auto !important;
}

.search-results .post h2 a::before {
   content: '';
   position: absolute;
   inset: 0;
   z-index: 1;
   opacity: 0;
   transition: opacity .3s ease-in-out;
}

.search-results .post {
	position: relative;
}

.search-results .post:focus-within {
	outline: 2px solid #fff;
	box-shadow: 0 0 0 4px #8D5F99 !important;
}

.search-results .post:focus-within :focus { 
   box-shadow: none; 
   outline: none;
   border: none;
}

.search-results .post h2 a:hover:before {
	opacity: .2;
	background-color: #fff;
}

/* Summary Detailsblock Accordion Akkordeon */

.wp-block-details {
	margin-block-start: 10px;
	background-color: #e4e3e3;
}

details {
	border: 1px solid #e4e3e3;
	max-height: 60px;
}

@media all and (max-width:1420px) {
	details {
		max-height: 1000px;
	}
}

details[open] {
	max-height: none;
}

details p {
  padding: 40px;
	font-size: 1.1rem
}

summary:focus-visible {
  border: 2px solid #e94e0f;
}

summary {
	color: #000;
	background-color: #e4e3e3;
	padding: 12px 8px 12px 20px;
}

summary::before {
  content: "+";
  color: #000;
  font-size: 1.8rem;
  float: left;
  top: -8px;
  left: 0px;
  position: relative;
  transition: all 0.3s ease-out;
  margin-right: 10px;
  margin-bottom: 10px;
}

details[open] summary::before {
  transform: rotate(180deg);
  content: "-";
}

summary::marker {
  float: right;
  margin-left: -10px;
  display: none;
  color: #eee;
	content: "";
	width:10px;
}

details ul {
	margin-block-start: 0.4em !important;
	padding-bottom: 20px;
	padding-left: 75px;
	padding-right: 20px;
}


/* Buttons Button Images Links Hover */

.wp-block-buttons {
	z-index: 2;
	position: relative;
}

.wp-block-button__link {
  transition: transform .2s cubic-bezier(.77,0,.18,1); /* Animation */
}

.wp-block-button__link:hover {
	transform: scale(1.05);
}


@media all and (max-width: 480px) {
	.wp-block-buttons {
		margin-bottom: 0 !important;
	}
}



/* .wp-block-button__link:hover {
	padding-bottom: 13.6px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 13.6px;
	margin-top: -6px;
	margin-bottom: -6px;
}

.wp-block-button__link:hover {
	font-size: 1.1rem !important;
} */

.wp-block-image a img {
	transition: all 0.2s cubic-bezier(.77,0,.18,1);
}

.wp-block-image a img:hover {
	opacity: .8;
	z-index: 0;
	position: relative;
	transform: scale(1.02);
}


/* View Transistion, Seitenwechsel-Animation */

/* Turn cross-document view-transitions on */
/* Note that this at-rule is all that is needed to create the default cross-fade animation  */



 @view-transition {
    navigation: auto;
}



::view-transition-group(root) {
    animation-duration: 0.3s;
}

.cookie-opt-out {view-transition-name: cookiwe}

@keyframes move-out {
    from {
        opacity: 100%;
    }

    to {
        opacity: 0%;
    }
}

@keyframes move-in {
    from {
        opacity: 0%;
    }

    to {
        opacity: 100%;
    }
}

::view-transition-old(root) {
    animation: .5s ease-in both move-out;
}

::view-transition-new(root) {
    animation: .5s ease-in both move-in;
}

::view-transition-old(cookiwe) {
    display: none;
}

::view-transition-new(cookiwe) {
    display:block;
}

@media (prefers-reduced-motion) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}


/* Farbige Color Background Hintergrund */

.bg-lila {
	background-color: #006187;
	color: #fff;
	padding: 40px;
}




.bg-orange {
 background-color: #E84D0E;
}



/* Spaltenreihenfolge umkehren Reverse Flex */

@media all and (max-width:781px) {
	.reverse {
		flex-direction: column-reverse;
		max-width: var(--wp--style--global--content-size);
  		margin-left: auto !important;
  		margin-right: auto !important;
		padding-bottom: 20px;
	}
	
	.reverse .wp-block-column.is-vertically-aligned-center {
		width: auto !important;
	}
	
	.reverse figure {
		overflow: hidden;
	}
	
	.reverse img{
		width:100%;
		
	}
}



/* Footer */

footer .wp-block-navigation-item {
	font-size: .95rem;
}

footer .wp-block-navigation-item:after {
	content: "|";

	font-size: .9rem;
	margin-left: 15px;
  margin-top: -1px;
}

footer .wp-block-navigation-item:last-of-type:after {
	content: "";
	margin-left: 0px;
}

@media all and (max-width: 781px) {

	footer nav ul {
		justify-content: flex-start !important;
	}
}

/* back top top nach oben */

.scrollToTopBtn {
  /* place it at the bottom-right corner */
  width: 48px;
  height: 48px;
  position: fixed;
  right: 10px;
  bottom: 10px;
}

.scrollToTopBtn img, .scrollToTopBtn a {
  display: block;
  width: 48px;
  height: 48px;
}

.scrollToTopBtn {
  /* same general styles as before */
  
  /* keep it at the top of everything else */
  z-index: 100;

  /* hide with opacity */
  opacity: 0;

  /* also add a translate effect */
  transform: translateY(100px);

  /* and a transition */
  transition: all .5s ease
}

.showBtn {
  opacity: 1;
  transform: translateY(0);
}


/* Cookie Opt-Out Cookies Einstellungen */

.cookie-opt-out {
  width: 180px;
  padding: 2px 10px 0px 8px;
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
  background-color: #ddd;
  border-top-right-radius: 8px;
}

.cookie-opt-out a {
  font-size: 16px;
  font-size: 1rem;
  float: right;
  color: #444;
}


/* Ninja Forms Formulare */

.nf-form-content {
  max-width: none;
}

.nf-form-content select.ninja-forms-field {
	color: #000;
}

.nf-fu-progress {
	background-color: #fff;
	box-shadow:none;
}

.nf-next-previous li:before  {
	display: none;
}

.nf-form-content .list-select-wrap .nf-field-element > div, .nf-form-content textarea {
	color: #000;
	border: 1px solid rgba(0,0,0,.125) !important;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.05) !important;
}


.nf-form-content .list-select-wrap .nf-field-element > div:focus, .nf-form-content input:not([type="button"]):focus, .nf-form-content textarea:focus {
	color: #000;
}

input[type="submit"]:hover {
	cursor:pointer;
}

input[aria-disabled="true"][type="submit"]:hover {
	cursor:not-allowed !important;
}

.field-wrap.checkbox-wrap .nf-field-label label {
	font-weight: 400;
}

.nf-field-label label {
	line-height: 1.6;
}

.checkbox-container.label-right label::before {
  top: -10px;
}

.nf-form-content select.ninja-forms-field:focus, .nf-form-content .list-select-wrap .nf-field-element > div:focus, .nf-form-content input:not([type="button"]):focus, .nf-form-content textarea:focus, .nf-form-content input[type="button"]:focus, .nf-form-content select.ninja-forms-field:focus-visible, .nf-form-content .list-select-wrap .nf-field-element > div:focus-visible, .nf-form-content input:not([type="button"]):focus-visible, .nf-form-content textarea:focus-visible, .nf-form-content input[type="button"]:focus-visible, .nf-form-content button:focus, .nf-form-content button:focus-within  {
    outline: 2px solid #fff;
	box-shadow: 0 0 0 4px #006187 !important;
}

.nf-form-content input[type="submit"] {
	color: #000;
	background-color: #ffed00;
	font-weight: 700;
}

.nf-form-content input[type="submit"] {
  transition: transform .2s cubic-bezier(.77,0,.18,1); /* Animation */
}

.nf-form-content input[type="submit"]:hover {

transform: scale(1.2);
	background-color: #ffed00;
	color: #000;
	
}


/* Borlabs Cookie Banner */

.brlbs-cmpnt-dialog-bar-header {
	display: block !important;
}

#BorlabsCookieEntranceA11YHeadline {
	display: block;
	margin-top: 15px;
}


#BorlabsCookieEntranceA11YHeadline:before {
	display: block;
	content: "";
	clear:both;
}


/* Forms */


/* Ninja Forms Formulare */

.nf-form-content {
  max-width: none;
}

/*.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field, #nf-field-butty, .nf-form-content button, .nf-form-content input[type="button"], .nf-form-content input[type="submit"], .nf-form-content input[type="submit"] {
  font-size: inherit;
	padding: calc(0.8em + 2px) calc(1.5em + 2px);
	height: auto;
}*/


.nf-form-content label {
  line-height: 24px;
}


.nf-progress-container:before{
	content:"Fortschrittanzeige";
	font-family: Inter;
	font-size: 1rem;
}

.nf-progress {
	height:calc(50px - 1rem);
}

.ninja-forms-field.nf-element {
	font-family: Inter;
}

.listradio-wrap .nf-field-element input {
	opacity: 1;
}

.listradio-wrap .nf-field-element label.nf-checked-label::before {
	display: none !important;
}

.listradio-wrap .nf-field-element label::after {
	display: none !important;
}

.checkbox-container.label-right label {
  margin: -7px 0 0 10px;
  display: block;
}

.checkbox-container.label-right label::before {
  top: -10px;
}

.listcheckbox-container .nf-field-element label::after, .listcheckbox-container .nf-field-element label::before {
	display: none !important;
}

.listcheckbox-container .nf-field-element input {
	opacity: 1;
}

.checkbox-container.label-right .nf-field-element {
	order:1 ;
  display: block;
  position: relative;
  opacity: 1;
}

.checkbox-container.label-right .nf-field-element {
	width:2% !important;
}

.checkbox-container .nf-field-element input {
	opacity: 1;
}

.checkbox-wrap .nf-field-label label::before, .checkbox-wrap .nf-field-label label::after, .listcheckbox-wrap .nf-field-element label::before {
	display:none !important;
}

.nf-form-content select.ninja-forms-field:focus, .nf-form-content .list-select-wrap .nf-field-element > div:focus, .nf-form-content input:not([type="button"]):focus, .nf-form-content textarea:focus, .nf-form-content input[type="button"]:focus, .nf-form-content select.ninja-forms-field:focus-visible, .nf-form-content .list-select-wrap .nf-field-element > div:focus-visible, .nf-form-content input:not([type="button"]):focus-visible, .nf-form-content textarea:focus-visible, .nf-form-content input[type="button"]:focus-visible, .nf-form-content button:focus, .nf-form-content button:focus-within  {
    outline: 2px solid #fff;
	box-shadow: 0 0 0 4px #8D5F99 !important;
}

.nf-form-content select.ninja-forms-field {
	color: #000;
	padding: 12px 12px 12px 12px;
}


.nf-fu-progress {
	background-color: #fff;
	box-shadow:none;
}

.nf-next-previous li:before  {
	display: none;
}

.nf-multi-cell .nf-cell:first-child {
	padding: 0px 20px 0px 0px;
}

.nf-form-content .list-select-wrap .nf-field-element > div, .nf-form-content input:not([type="button"]), .nf-form-content textarea {
	color: #000;
	border: 1px solid rgba(0,0,0,.125) !important;
	border-radius: 0.2rem 0.2rem 0.2rem 0.2rem !important;
	/*box-shadow: 0 .5rem 1rem rgba(0,0,0,.05) !important;*/
}

.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
  height: 50px;
}


.nf-form-content .list-select-wrap .nf-field-element > div:focus, .nf-form-content input:not([type="button"]):focus, .nf-form-content textarea:focus {
	color: #000;
}

.field-wrap.checkbox-wrap .nf-field-label label {
	font-weight: 400;
}

.nf-field-label label {
	line-height: 1.6;
}

.nf-form-content button, .nf-form-content input[type="button"], .nf-form-content input[type="submit"], .nf-form-content input[type=submit] {
	border-bottom-right-radius: 15px;
	color:#fff !important;
	background-color: #8D5F99;
	cursor: pointer;
	min-width: 100px;
	font-weight: 700;
}

.nf-form-content button:hover, .nf-form-content input[type="button"]:hover, .nf-form-content input[type="submit"]:hover, .nf-form-content button:focus, .nf-form-content input[type="button"]:focus, .nf-form-content input[type="submit"]:focus {
	color:#ededed;
	background-color: #8D5F99 !important;
}