/*   
Theme Name: Dittmar Law
Description: Handgefertigtes WordPress Theme
Author: plue
Author URI: https://plue.tech
Version: 1.1.0
*/

@font-face {
    font-family: 'Palanquin';
    src: url('assets/vendor/fonts/palanquin-light-webfont.woff2') format('woff2'),
         url('assets/vendor/fonts/palanquin-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Palanquin';
    src: url('assets/vendor/fonts/palanquin-semibold-webfont.woff2') format('woff2'),
         url('assets/vendor/fonts/palanquin-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Font Awesome 6 Free";
    src: url('assets/vendor/fonts/fa-solid-900.woff2') format('woff2'),
		 url('assets/vendor/fonts/fa-solid-900.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
	font-display: block;
}

.fa-solid {
  color: #541e55;
  transform: scale(1.2);
  margin-right: 0.5em;
}
.fa-solid + .fa-solid {
	margin-left: -0.5rem;
}

:root {
	--wp--preset--color--pale-pink: #e2e2dc;
}

h4 a {
	text-decoration: underline;
}
main h4 {
	font-weight: normal !important;
}
main h4 strong {
	font-weight: bold  !important;
}

.wp-block-cover .has-large-font-size {
  font-size: 50px !important;
}
@media (max-width: 767.98px) {
  .wp-block-cover .has-large-font-size {
    font-size: 25px !important;
  }
}

.wp-block-cover.wp-block-cover--slider {
	z-index: 0;
}
.wp-block-cover-image .wp-block-cover__inner-container, 
.wp-block-cover .wp-block-cover__inner-container {
	width: calc(100% - 70px) !important;
	z-index: 200 !important;
}
.wp-block-cover.wp-block-cover--slider a:only-child {
  margin-top: 3rem;
}
.wp-block-cover.wp-block-cover--slider a:only-child,
body.is-page-career main a[href$="#/kontakt"],
body.is-page-career main a[href$="bewerben/"],
body.is-page-career footer a[href$="#/kontakt"],
body.is-page-career a.button,
.is-style-button a {
  letter-spacing: 0.072em;
  padding: 0.5rem 1rem 0.64rem;
  font-size: 1.5625rem;
  border: 2px solid var(--primary);
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .wp-block-cover.wp-block-cover--slider a:only-child,
  body.is-page-career main a[href$="#/kontakt"],
  body.is-page-career main a[href$="bewerben/"],
  body.is-page-career footer a[href$="#/kontakt"],
  body.is-page-career a.button,
  .is-style-button a {
	  font-size: 1.2325rem;
  }
}
.wp-block-cover.wp-block-cover--slider a:only-child:hover,
body.is-page-career main a[href$="#/kontakt"]:hover,
body.is-page-career main a[href$="bewerben/"]:hover,
body.is-page-career footer a[href$="#/kontakt"]:hover,
body.is-page-career a.button:hover,
.is-style-button a:hover {
	background: var(--primary);
	color: white;
	text-decoration: none;
}
@media (max-width: 767.98px) {
	body.is-page-career .content > .wp-block-spacer {
		height: 5px !important;		
	}
	body.is-page-career :where(.wp-block-columns.is-layout-flex) {
  		gap: 0;
	}
}

body.is-page-career #main-nav li:first-child ul.sub-menu > li {
	width: 100%;
}
body.is-page-career #main-nav li:first-child ul.sub-menu > li::after {
  content: none;	  
}

ol.wp-block-list {
	padding-left: 0;
	font-weight: bold;
	list-style: none;
	counter-reset: list-counter;
	margin-top: -1.8rem;
}
ol.wp-block-list li {
	counter-increment: list-counter;
	position: relative;
	padding: 1.8rem 2rem 1.4rem 3.8rem;
	font-weight: bold;
	line-height: 1.3;
}
@media (max-width: 767.98px) {
	ol.wp-block-list li {
		top: 0.5rem;
	}
}
ol.wp-block-list li::before {
	content: counter(list-counter, decimal-leading-zero) " ";
	font-size: 2.6rem;
	color: var(--primary);
	position: absolute;
	left: 0;
	top: 1rem;
	line-height: 1;
	font-weight: normal;
}
ol.wp-block-list li a {
	color: inherit;
}
ol.wp-block-list li:not(:last-child) {
	border-bottom: 1px solid #7f7e80;
}

.cover-after + .wp-block-group .btn-back {
  top: -2.5rem;
  position: relative;
}

body .cky-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body .cky-consent-container .cky-title {
	display: none;
}

body .cky-btn {
	padding: 0.5rem 1rem 0.64rem;
	line-height: 1;
}

.wp-block-group.has-background {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.wp-block-group--slider {
  overflow: hidden;
}
.wp-block-group__slider {
  margin-bottom: 0 !important;
}
.wp-block-group__slider-item .inner {
	display: flex;
	gap: 2rem;
}
.wp-block-group__slider-item .inner > * {
	width: 50%;
}
.wp-block-group__slider img {
	max-width: 100%;
	aspect-ratio: 5/3;
	width: 100%;
	object-fit: cover;
}
@media (min-width: 768px) {
  .wp-block-group__slider p {
	font-size: 1.4325rem;
  }
}
@media (max-width: 767.98px) {
	.wp-block-group__slider-item .inner {
		flex-direction: column;
	}
	.wp-block-group__slider-item .inner > * {
		width: 100%;
	}
}

.wp-block-group__slider .slick-dots {
  text-align: left;
  bottom: -3rem;
}
.wp-block-group__slider .slick-dots li {
	margin: 0 2px;
}
.wp-block-group__slider .slick-dots li button {
	background: transparent;
	border: 1px solid var(--primary);
	border-radius: 100px;
	width: 1.1rem;
    height: 1.1rem;
	text-indent: -999px;
	overflow: hidden;
}
.wp-block-group__slider .slick-dots li.slick-active button {
	background: var(--primary);
}

body.is-page-career .block-accordion {
  border-top: 1px solid #7f7e80;
}
body.is-page-career .block-accordion .block-accordion-item {
  padding: 1.6rem 0 1.5rem 0;
  border-bottom: 1px solid #7f7e80;
}
body.is-page-career .block-accordion .block-accordion-item-title {
	position: relative;
}
body.is-page-career .block-accordion .block-accordion-item-title::before {
  content: "";
  pointer-events: none;
  background: url("/wp-content/uploads/sternchen.png") 0 0 no-repeat;
  background-size: contain;
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: 0;
  top: 0;
}
body.is-page-career .block-accordion .block-accordion-item-title a {
	color: var(--main-color);
	padding-left: 2.9rem;
	display: block;
    line-height: 1.25;
}
body.is-page-career .block-accordion .block-accordion-item-title a:hover,
body.is-page-career .block-accordion .block-accordion-item-title a[aria-expanded="true"] {
	color: #541e55;
	text-decoration: none;
}
body.is-page-career .block-accordion .block-accordion-item-content {
  padding: 1rem 0 1.2rem;
}
@media (min-width: 768px) {
  body.is-page-career .block-accordion .block-accordion-item-content * {
	font-size: 1.4325rem;
  }
}
@media (max-width: 767.98px) {
	body.is-page-career .block-accordion .block-accordion-item-title::before {
		width: 1.2rem;
        height: 1.2rem;
	}
	body.is-page-career .block-accordion .block-accordion-item-title a {
		padding-left: 1.9rem;
	}
}

body.is-page-career .career-footer-widgets {
	padding-top: 3rem;
	padding-bottom: 1.5rem;
}
body.is-page-career .career-footer-widgets p a:first-child {
	color: var(--main-color);
}
body.is-page-career:not(.page-child) .career-footer-widgets p a:first-child + a {
	display: none;
}
body.is-page-career.page-child .career-footer-widgets p a:first-child {
	display: none;
}
body.is-page-career.page-child .map {
	display: none !important;
}


@media (max-width:767.98px){
  #footer > :first-child + .map + .map + .map img{
    display:block
  }
}
@media (min-width:768px) and (max-width:991.98px){
  #footer > :first-child + .map + .map img {
    display:block
  }
}
@media (min-width:992px){
  #footer > :first-child + .map img {
    display:block
  }
}

main p em:only-child {
	color: #541e55;
	font-style: normal;
}

body .slick-arrow {
	display: none !important;
	z-index: 101;
	width: auto;
	height: auto;
}
body  .slick-arrow.slick-prev {
	left: 1.5rem;
}
body  .slick-arrow.slick-next {
	right: 1.5rem;
}
body .slick-arrow::before {
  content: '';
  font-family: inherit !important;
  border: solid #541e55;
  border-width: 0 5px 5px 0;
  display: inline-block;
  padding: clamp(15px, 5vw, 40px);
  transform: translate(25%,-25%) rotate(135deg);
  opacity: 1;
}
body .slick-arrow.slick-next::before {
	transform: translate(-25%,-25%) rotate(-45deg);
}
@media (max-width: 767.98px) {
	body .slick-arrow::before {
		border-width: 0 3px 3px 0;
	}
	body  .slick-arrow.slick-prev {
		left: 0.5rem;
	}
	body  .slick-arrow.slick-next {
		right: 0.5rem;
	}
}

body.is-page-career .slick-arrow {
	display: block !important;
}

.wp-block-media-text.alignwide.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0 !important;
}

.standard-button,
.wp-block-buttons .wp-block-button .wp-block-button__link {
	text-transform: uppercase;
	padding: .5rem 1rem;
	font-size: 1.25rem;
	line-height: 1.5;
	display: inline-block;
	font-weight: 300;
	color: #222;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	border: 2px solid transparent;
	border-radius: 0;
	transition: all .15s ease-in-out;
	appearance: button;
}
.standard-button,
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
	color: #541e55;
	border-color: #541e55;
	background-color: transparent;
}
.standard-button:hover,
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: #fff;
	background-color: #541e55;
	border-color: #541e55;
	text-decoration: none;
}
.standard-button.standard-button--secondary {
	border-color: #eceae6;
	color: #eceae6;
}
.standard-button.standard-button--secondary:hover {
    color: inherit;
	background-color: #eceae6;
	border-color: #eceae6;
}

.fluentform.ff-default .ff-el-input--label label {
	font-weight: bold;
	margin-bottom: 1rem;
}
.fluentform.ff-default .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	content: none;
}
.fluentform.ff-default .ff-el-form-control,
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check label > span {
	border: none;
	background: #eceae6;
	border-radius: 0;
	margin-bottom: 1rem;
	font-size: inherit;
	color: inherit;
	padding: 1rem;
}
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check label > span {
	font-weight: bold;
	transition: all .15s ease-in-out;
}
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check label > span > i {
    font-style: normal;
    font-weight: normal;
}
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check label > span:hover {
	background: #e2e2dc;
}
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check {
	margin: 0 1rem 0 0;
}
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected label > span {
	box-shadow: none;
	background: #541e55 !important;
	color: white !important;
}
.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected label > span .fa-solid {
  color: inherit;
}
/*.fluentform.ff-default .ff-el-group.ff_list_buttons.is-form-step .ff-el-input--content {
  width: 1000px;
  max-width: 100%;
}*/
.fluentform.ff-default .standard-button {
	margin-top: 0.5rem;
}
.fluentform.ff-default .ff_t_c {
	cursor: text;
}
.fluentform.ff-default .ff_t_c a {
	text-decoration: underline;
}
.fluentform.ff-default ff-message-success {
  border: none;
  box-shadow: none;
  margin-top: 0;
  padding: 0;
}
.fluentform.ff-default .ff-el-is-error .text-danger {
  font-size: 14px;
  line-height: 1;
  margin: 0;
  font-weight: bold;
  top: -0.5rem;
  position: relative;
}
.fluentform.ff-default big {
  color: #541e55;
  font-size: 2.5rem;
  margin-right: 0.8rem;
}
.fluentform.ff-default .ff-el-group {
  margin-bottom: 0.25rem;
}
.fluentform.ff-default h2 {
	margin-bottom: 1rem;
}
.fluentform.ff-default .standard-button + .standard-button {
	margin-bottom: 0;
	margin-left: 0.5rem;
}
@media (max-width: 767.98px) {
	.fluentform.ff-default h1 {
		margin-bottom: 2rem;
	}
	.fluentform.ff-default big {
		font-size: 1.8rem;
		margin-right: 0.5rem;
		vertical-align: top;
        line-height: 0.5;
	}
	.fluentform.ff-default big + div { 
		max-width: 80%;
	}
	.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check label > span {
		border: none !important;
		border-radius: 0 !important;
	}
	.fluentform.ff-default .ff-el-group.ff_list_buttons .ff-el-form-check {
		display: inline-block;
	}
}