/*
Theme Name:	Theme Martin Kupiek
Description:	
Author:	FOMACO
Author URI:	https://martinkupiek.com/
Template:	twentytwentyfive
Version:	1.0
*/


/* Fonts */
/* /////////////////////////////////////////////////// */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/playfair-display-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/playfair-display-v37-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  src: url('./fonts/playfair-display-v37-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/montserrat-v29-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/montserrat-v29-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Schrift */
/* /////////////////////////////////////////////////// */
body {
	font-family: 'Montserrat';
	color: #002854;
}
	
strong, b { font-weight: 700;}

h1, h2, h3 {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 700;
}

h2 { padding: 40px 0 ; }

h4, h5, h6 {
  font-family: 'Montserrat';
  font-weight: 700;
}

h4 { text-transform: uppercase; font-size:18px; }
@media screen and (max-width:960px) {
  h4 { font-size:22px; }
}

/* Slider */
/* /////////////////////////////////////////////////// */
.slick-track {
    display: flex !important;
}

@media screen and (min-width:768px) {
  .slick-track {
    gap:30px;
}
}

.slick-slider {
  padding-bottom: 80px;
  margin-top: 0;
}

.slick-slide {
    height: inherit !important;
}
.slick-slide > div {
    height: 100%;
}

.slick-next {
    right: -40px;
	width: 50px;
    height: 50px;
}
.slick-prev {
	left: -45px;
	width: 50px;
    height: 50px;
}
.slick-prev:before {
    
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="35" height="60.01" viewBox="0 0 35 60.01"><path d="M65.39,90.4a5.007,5.007,0,0,0,0,7.077l24.994,24.994a5,5,0,1,0,7.077-7.077L76,93.93,97.445,72.466a5,5,0,0,0-7.077-7.077L65.374,90.384Z" transform="translate(-63.925 -63.925)" fill="%23cfcfcf"/></svg>');
    background-size: 50px 50px;
    display: inline-block;
    width: 50px; 
    height: 50px;
    content:"";
}
.slick-next:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="35" height="60.01" viewBox="0 0 35 60.01"><path d="M97.46,90.4a5.006,5.006,0,0,1,0,7.077L72.466,122.471a5,5,0,0,1-7.077-7.077L86.853,93.93,65.405,72.466a5,5,0,0,1,7.077-7.077L97.476,90.384Z" transform="translate(-63.925 -63.925)" fill="%23cfcfcf"/></svg>');
    background-size: 50px 50px;
    display: inline-block;
    width: 50px; 
    height: 50px;
    content:"";
}
@media screen and (min-width:900px) {
  .slick-slider { padding-bottom: 10px;}
  .logoslider { margin-bottom: 50px;}
}
@media screen and (max-width:900px) {
  
	.slick-dotted.slick-slider {
		padding-bottom: 100px;
	}
	.slick-next,
	.slick-prev {
		bottom: -30px;
        position: absolute;
        top: inherit;
        margin: auto;
		left: 0;
		right: 0;
	}
	.slick-prev {
		right: 50px;
	}
	.slick-next {
		left: 50px;
	}
	.slick-dots {
		display: none !important;
	}
}

@media screen and (min-width:1520px) {
	.slick-next {
    right: -65px;
	width: 50px;
    height: 50px;
}
.slick-prev {
	left: -65px;
	width: 50px;
    height: 50px;
}

/* Polylang */
/* /////////////////////////////////////////////////// */

}
.widget_polylang ul,
.wp-block-polylang-language-switcher  {
	background: #EEEEEE;
	display: inline-block;
	width: 80px;
	list-style-type: none;
	padding:0;
	margin: 0;
}
.widget_polylang ul li,
.wp-block-polylang-language-switcher li {
    display: inline-block;
    position: relative;
    text-align: left;
    padding: 5px 0;
    width: 45%;
    text-align: center;
	margin: 0;
}
.widget_polylang {
	text-align:right;
}

/* Blockanpassungen */
/* /////////////////////////////////////////////////// */

.wp-block-columns.kupnogap {
  gap: 0;
}

@media screen and (max-width:781px) {
    .noimageonmobile {
    min-height: auto !important;
  }
  .noimageonmobile .wp-block-cover {
    display: none;
  }
}

.wp-block-columns .wp-block-column .wp-block-group {
  height: 100%;
}

.wp-container-core-columns-is-layout-2   { margin-top: 0; }

.wp-container-core-group-is-layout-7, .wp-container-core-columns-is-layout-1 .is-style-text-subtitle, .wp-container-core-columns-is-layout-3, .wp-container-core-columns-is-layout-6 p { font-size:16px; }
@media screen and (min-width:960px) {
  .wp-container-core-group-is-layout-7, .wp-container-core-columns-is-layout-1 .is-style-text-subtitle, .wp-container-core-columns-is-layout-3, .wp-container-core-columns-is-layout-6 p { font-size:20px; }
}
@media screen and (max-width:600px) {
.wp-block-media-text>.wp-block-media-text__content { padding:0; }
}

/* Footer */
/* /////////////////////////////////////////////////// */

footer { margin-top: 60px;}

footer a {
  text-decoration: none;
}

/* Forms */
/* /////////////////////////////////////////////////// */

.gform-theme .gform-footer input[type="submit"] {
  border-radius:40px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  
}
.gform-theme .gform-footer {
  justify-content: center;
}

.gform-theme .gform-body input {
  border-color: red;
}
.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),.gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  --gf-local-border-color: #CFCFCF !important;
}

.gfield--type-consent .gfield_consent_description {
  border: none !important;
}

#gform_submit_button_2, #gform_submit_button_6 { border:none; }
#gform_submit_button_2:hover, #gform_submit_button_6:hover  {
  background-color: rgb(255, 186, 155) !important;
  color: rgb(0, 40, 84) !important;
}

.gfield_consent_description { padding:0; }

.gform-theme--foundation .gform_footer {
  flex-direction: column;
  align-items: center;
}

/* NAV */
/* /////////////////////////////////////////////////// */

body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}
body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

@media (min-width: 950px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;;
	}
	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}

  header :where(.is-layout-flex) {
    gap: 2rem !important;
}
}

.widget_nav_menu ul li a {
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
}

a { transition:all .3s; }
.wp-block-navigation a:hover { text-decoration: none; color: #EC672A !important; }

.current-menu-item {
  color: #EC672A;
}

/* Logo */
/* /////////////////////////////////////////////////// */
p.wp-block-site-title a { border:none !important; display: inline-block; width:180px; height:35px; background: url(images/dr-martin-kupiek_logo.svg) no-repeat; background-size: contain; text-indent: -9999px; }

@media (min-width: 1120px) {
  p.wp-block-site-title a { width:250px; height:47px; }
}
/* BUTTON HOVER */
/* /////////////////////////////////////////////////// */

.wp-block-button__link {
  transition: 0.3s;
}
.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: #FFBA9B !important;
    color: #002854 !important;
}

/* FOOTER */
/* /////////////////////////////////////////////////// */

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
  text-transform: uppercase;
  font-weight: bold;
}


/* Popup */
/* /////////////////////////////////////////////////// */

#popmake-1533, #popmake-1832 { background: #002854; color:#fff; padding: 2rem;}
#popmake-1533 #pum_popup_title_1533, #popmake-1832 #pum_popup_title_1832 { color: #fff; font-family: 'Playfair Display'; font-weight: 700; }
#popmake-1533 .popmake-content, 
#popmake-1533 .ginput_container_consent, 
#popmake-1533 .gfield_consent_description, 
#popmake-1533 label.gfield_consent_label,
#popmake-1832 .popmake-content, 
#popmake-1832 .ginput_container_consent, 
#popmake-1832 .gfield_consent_description, 
#popmake-1832 label.gfield_consent_label  { color: #fff; }
#popmake-1533 .gfield_consent_description, #popmake-1832 .gfield_consent_description { padding:0; font-size: 0.85rem;}
.pum-theme-1531 .pum-content + .pum-close, .pum-theme-floating-bar .pum-content + .pum-close { border: 1px solid #fff !important; color:#fff !important; height: 25px !important;  width: 25px !important; top:30px !important; right:10px !important; }