/* Fixes */
body.mce-content-body{
	margin: 15px;
}
.wp-block-image .components-resizable-box__container{
	display: inline-block !important;
}
.wp-block-nk-awb,
:where(.wp-block-group.has-background){
	padding: 0;
}
.wp-block-cover,
.wp-block-cover-image{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-x: clip;
	overflow-y: visible;
	background-position: 50%;
}
:is( .wp-block-cover, .wp-block-cover-image ).is-position-top-left{
	align-items: flex-start;
	justify-content: flex-start;
}
.has-background-dim{
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: .5;
}
.has-background-dim-0{
	opacity: 0;
}
.has-background-dim-100{
	opacity: 1;
}
.wp-block-cover__image-background{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wp-block-cover__inner-container{
	width: 100%;
	z-index: 1;
}
.wp-block-group{
	position: relative;
}
:is( .wp-block-embed, .wp-block-image ) + :is( h1, h2, h3, h4, h5, h6, p ){
	margin-top: 35px;
}
:is( h1, h2, h3, h4, h5, h6, p ) + :is( .wp-block-embed, .wp-block-image ){
	margin-top: 35px;
}
figure,
.wp-block-embed,
.wp-block-image{
	margin-bottom: 0;
	font-size: 0;
}
figcaption,
.wp-block-image figcaption{
	margin: 4px 0 0;
	font-size: 16px;
	line-height: 1.75;
}
:where(body .is-layout-flow) > *,
:where(.wp-site-blocks) > *{
	margin-block-start: 0;
}

.edit-post-visual-editor__post-title-wrapper{
	margin: 0 !important;
	padding: 15px;
	background: #fbfbfb;
	border-bottom: 1px solid #e0e0e0;
}
h1.editor-post-title{
	margin: 0;
	font-size: 30px;
	text-align: center;
}

/* Layout styles */
.has-text-align-center{
	text-align: center;
}

/* Styling */
:root{
	--filter-akzent: brightness(0) invert(70%) sepia(24%) saturate(626%) hue-rotate(119deg) brightness(98%) contrast(94%);
}
body{
	--bs-body-bg: #fff;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: var(--wp--preset--font-size--regular);
	color: var(--wp--preset--color--black);
	font-weight: 300;
	line-height: 1.4;
	letter-spacing: 0.002em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6{
	font-family: Roboto Condensed;
	font-weight: 700;
	letter-spacing: normal;
	color: var(--wp--preset--color--nikim-blue);
}

h1, .h1, .is-style-h1{
	margin: 0 auto 60px;
	font-size: 72px;
	line-height: 1.1111;
}
h2, .h2, .is-style-h2{
	margin: 0 auto 0.9em;
	font-size: 55px;
	line-height: 0.8727;
}
h3, .h3, .is-style-h3{
	margin: 0 auto 35px;
	font-size: 40px;
	line-height: 1.2;
}
h4, .h4, .is-style-h4{
	margin: 0 auto 10px;
	font-size: 30px;
	line-height: 1.6;
}
h5, .h5, .is-style-h5{
	margin: 0 auto;
	font-family: Roboto;
	font-size: 20px;
	line-height: 1.4;
	letter-spacing: 0.002em;
}

.has-lead-font-size{
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.2667;
}
.has-bigger-font-size{
	font-size: var(--wp--preset--font-size--bigger);
	line-height: 1.3333;
}
.has-small-font-size{
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.75;
}

hr{
	opacity: 1;
}
.wp-block-separator{
	border-bottom: 0;
}

a, a:hover{
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}
.has-link-color a{
	color: inherit;
}

p a[href^="tel:"]{
	text-decoration: none;
}

ol, ul{
	padding-left: 1.2em;
}

b, strong{
	font-weight: bold;
}

:is( p, ul ):not(:last-child){
	margin-bottom: 1.5em;
}
:is( p, ul ):last-child{
	margin-bottom: 0;
}

.btn,
.wp-block-button__link{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 8px 15px;
	background: var(--wp--preset--color--nikim-akzent);
	border: 0;
	border-radius: 0;
	font-family: "Roboto Condensed";
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	color: var(--wp--preset--color--white);
	transition: background-color .3s ease;
}
a:hover :is(.btn,.wp-block-button__link),
:is(.btn,.wp-block-button__link):hover{
	color: #fff;
	background-color: var(--wp--preset--color--nikim-blue);
}

.has-nikim-blue-background-color :is(.btn,.wp-block-button__link):hover{
	background-color: #fff;
	color: var(--wp--preset--color--nikim-akzent);
}

.swiper-container-wrapper :is(.swiper-button-next, .swiper-button-prev){
	top: -70px;
	left: auto;
	right: var(--bs-offset);
	width: 21px;
	height: 35px;
	margin: 0;
	background: none;
	border-radius: 50%;
	transition: background-color .3s ease;
}
.swiper-container-wrapper .swiper-button-prev{
	margin-right: 66px;
}
.swiper-container-wrapper :is(.swiper-button-next, .swiper-button-prev).swiper-button-disabled{
	opacity: 0.15;
}
.swiper-container-wrapper :is(.swiper-button-next, .swiper-button-prev):after{
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="21" height="35" fill="none" viewBox="0 0 21 35"><path stroke="%23002544" stroke-width="3" d="M1.99995 33.2961 18.2 17.4327 1.99995 1.56923"/></svg>');
	font-size: 0;
	line-height: 1;
}
.swiper-container-wrapper .swiper-button-prev:after{
	transform: rotate(180deg);
}

.swiper-container-wrapper .swiper-horizontal > .swiper-pagination-bullets{
	display: flex;
	gap: 6px;
	justify-content: center;
	bottom: 0;
}
.swiper-container-wrapper .swiper-pagination-bullet{
	--swiper-pagination-bullet-inactive-opacity: .2;
	width: 6px;
	height: 6px;
	background: #000;
	margin: 0 !important;
}

:is( .is-style-image-on-top, .is-style-background-only-shrinking ) .wp-block-cover__image-background{
	z-index: 1;
}

:is( .form-control, .form-select ),
:is( .form-control, .form-select ):focus{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	margin: 0 0 24px;
	padding: 12px 10px;
	background-color: #fff;
	border: 0;
	border-radius: 0;
	font-size: 28px;
	font-weight: 300;
	line-height: 1.25;
	color: #000;
}
:is( .form-control, .form-select ):focus-visible{
	outline: none;
}
:is( .form-control, .form-select ):focus{
	box-shadow: inset 0px 0px 0px 3px var(--wp--preset--color--nikim-akzent);
	border-color: #a0bcf8;
}
.form-control::-moz-placeholder{
	color: var(--wp--preset--color--grey);
}
.form-control::placeholder{
	color: var(--wp--preset--color--grey);
}
:is( .form-control, .form-select ).wpcf7-not-valid{
	border-color: #f00;
}
textarea.form-control,
textarea.form-control:focus{
	height: 270px;
}

/* .wpcf7-acceptance{
	display: block;
	margin: 25px 0;
}
.wpcf7-acceptance .wpcf7-list-item{
	display: block;
	margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item label{
	display: flex;
	align-items: start;
	cursor: pointer;
}
.wpcf7-acceptance .wpcf7-list-item [type=checkbox]{
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin: 3px 10px 0 0;
	background: none;
	border: solid 1px #000;
	border-radius: 0;
}
.wpcf7-acceptance.wpcf7-not-valid{
	color: #f00;
}
.wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item [type=checkbox]{
	border-color: #f00;
}
.wpcf7-acceptance .wpcf7-list-item [type=checkbox]:checked{
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M6 10l3 3l6-6"/></svg>');
} */

:is(p, figure) + .wp-block-buttons{
	margin-top: 40px;
}

#top{
	display: flex;
	position: fixed;
	z-index: 999;
	right: 90px;
	bottom: 90px;
	opacity: 0;
	transform: translateY(40px);
	transition: all .3s ease;
	transition-property: transform, opacity;
	pointer-events: none;
}
#top:after{
	content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="21" fill="none" viewBox="0 0 36 21"><path stroke="%23002544" stroke-width="3" d="M34.4 19.2 18.2 3 2.00002 19.2"/></svg>');
	font-size: 0;
}
.scrolled.scrolling-up:not(.compensate-for-scrollbar) #top{
	transform: translateY(0px);
	opacity: 1;
	pointer-events: all;
}

.socials .nav-link{
	padding: 0;
	font-size: 0;
}

.team-item .image{
	position: relative;
}
.team-item .image .hover{
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity .3s ease;
}
.team-item .image:hover .hover{
	opacity: 1;
}
.team-item a[href^="mailto:"]{
	font-weight: 700;
	color: var(--wp--preset--color--nikim-akzent);
}

#floating-phone{
	position: fixed;
	z-index: 999;
	top: 140px;
	left: 100%;
	transform: translateX(-64px);
	padding: 12px 20px 12px 64px;
	white-space: nowrap;
	background: var(--wp--preset--color--nikim-akzent) url(assets/phone.svg) left 15px center no-repeat;
	color: #fff;
	transition: transform 300ms ease;
}
#floating-phone:hover{
	transform: translateX(-100%);
}
#floating-phone .has-small-font-size{
	line-height: 1.4;
}
#floating-phone a[href^="tel:"]{
	text-decoration: underline;
}
#floating-phone a:after{
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

@media( max-width: 1199px ){
	body{
		--wp--preset--font-size--bigger: 20px;
		--wp--preset--font-size--lead: 24px;
	}
	h1, .h1, .is-style-h1{
		font-size: 50px;
	}
	h2, .h2, .is-style-h2{
		font-size: 42px;
	}
	h3, .h3, .is-style-h3{
		font-size: 32px;
	}
	h4, .h4, .is-style-h4{
		font-size: 24px;
	}
	#top{
		right: 60px;
		bottom: 60px;
	}
}

@media( max-width: 991px ){
	body{
		--wp--preset--font-size--small: 14px;
		--wp--preset--font-size--bigger: 18px;
		--wp--preset--font-size--lead: 22px;
		font-size: 16px;
		line-height: 1.5;
	}
	h1, .h1, .is-style-h1{
		margin-bottom: 48px;
		font-size: 28px;
		line-height: 1.1429;
	}
	h2, .h2, .is-style-h2{
		font-size: 24px;
	}
	h3, .h3, .is-style-h3{
		font-size: 22px;
	}
	h4, .h4, .is-style-h4{
		font-size: 18px;
	}
	:is(p, figure) + .wp-block-buttons{
		margin-top: 24px;
	}
	figcaption, .wp-block-image figcaption{
		font-size: 14px;
	}
	#floating-phone{
		display: none;
	}
	:is( .form-control, .form-select ), :is( .form-control, .form-select ):focus{
		margin: 0 0 12px;
		padding: 6px 12px;
		font-size: 18px;
	}
	textarea.form-control, textarea.form-control:focus{
		height: 120px;
	}
	#top{
		right: 40px;
		bottom: 40px;
	}
}

@media (max-width: 767px){
	.btn, .wp-block-button__link{
		width: 100%;
		font-size: 18px;
	}
}

@media( max-width: 575px ){
	:root{
		--bs-offset: 20px;
		--snap: -20px;
	}
	.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl{
		padding-left: 20px;
		padding-right: 20px;
	}
	#top{
		right: 20px;
		bottom: 20px;
	}
}