/** custom styles, durch das ZBFS Webteam hinzugefügt: */

/** module-link-tiles **/
.theme-default .module-link-tiles .link-tile {
	background-color: #f7ebe8;
	}
.theme-default .module-link-tiles .link-tile:hover {
	background-color: #D2BCB7;
}

/** formulare **/
form label.headline {
	font-size: 1.325rem !important;
    font-weight: bold !important;
    margin: 0.75rem 0 !important;
}
#frmFamilienferienstaetten .submit-btn {
	min-width: 220px;
}
.quiz-continue {
	margin-bottom: 1.25em!important;
}

/** margin top **/
.mt-1 {
	margin-top: .25rem !important
}

.mt-2 {
	margin-top: .5rem !important
}

.mt-3 {
	margin-top: 1rem !important
}

.mt-4 {
	margin-top: 1.5rem !important
}

.mt-5 {
	margin-top: 3rem !important
}

/** margin bottom **/
.mb-0 {
	margin-bottom: 0 !important
}

.mb-1 {
	margin-bottom: .25rem !important
}

.mb-2 {
	margin-bottom: .5rem !important
}

.mb-3 {
	margin-bottom: 1rem !important
}

.mb-4 {
	margin-bottom: 1.5rem !important
}

.mb-5 {
	margin-bottom: 3rem !important
}

/** padding top **/
.pt-1 {
	padding-top: .25rem !important
}

.pt-2 {
	padding-top: .5rem !important
}

.pt-3 {
	padding-top: 1rem !important
}

.pt-4 {
	padding-top: 1.5rem !important
}

.pt-5 {
	padding-top: 3rem !important
}

/** padding bottom **/
.pb-1 {
	padding-bottom: .25rem !important
}

.pb-2 {
	padding-bottom: .5rem !important
}

.pb-3 {
	padding-bottom: 1rem !important
}

.pb-4 {
	padding-bottom: 1.5rem !important
}

.pb-5 {
	padding-bottom: 3rem !important
}

/*** Tabellen ***/
table.bt tbody td::before {
    width: initial;
}
table {
	background: white;
	border-collapse: collapse;
	margin: 1.25em 0 0;
	width: 100%;
}

table tr,
table th,
table td {
	border: none;
	border-bottom: 1px solid #e4ebeb;
	font-size: .875rem;
}

table th,
table td {
	padding: 10px 12px;
	text-align: left;
}

table th {
	background: #107a9c;
	color: #ffffff;
	text-transform: uppercase;
}
  
table tr td {
	background: #eaf3f5;
}

table tr:nth-of-type(2n+2) td {
	background: #ffffff;
}
  
table.bt tbody td {
	font-size: .8125rem;
	padding: 0;
}

table.bt tbody td:before {
	background: #107a9c;
	color: white;
	margin-right: 10px;
	padding: 2px 10px;
}
  
table.bt tbody td .bt-content {
	display: inline-block;
	padding: 2px 5px;
}

table.bt tbody td:first-of-type:before,
table.bt tbody td:first-of-type .bt-content {
	padding-top: 10px;
}
  
table.bt tbody td:last-of-type:before,
table.bt tbody td:last-of-type .bt-content {
	padding-bottom: 10px;
}

/** module-quicklinks **/
.module-quicklinks a figure svg text {
    font-size: 1.25rem;
	font-weight: 100;
}

/** module-image-fullsize **/
.module-image-fullsize figure figcaption {
	display: inline-block;
}

/** module-teaser-textpic */
.module-teaser-textpic figcaption div.caption--overlay {
    position: inherit;
}

/** Rechner Lebensmonat */
.theme-default .lm-rechner .inner-wrap {
    background: #f0f0f0;
    padding: 1em;
}
.theme-default .lm-rechner button
, .theme-default .lm-rechner .button {
    border-bottom: 2px solid rgb(0, 0, 0);
}

.theme-default .lm-rechner button:focus
, .theme-default .lm-rechner .button:focus {
    border-bottom: 2px solid rgba(0, 0, 0);
}

/** media queries */

@media (max-width: 48em) {
    #header > .inner-wrap #logo-stmas {
        margin: 0;
    }
}

@media (min-width: 48em) {
	.rte h1, .rte .h1, [class^=module-] h1, [class^=module-] .h1 {
		text-align: center;
		font-size: 3.125rem;
		line-height: normal;
		margin: 4.75rem 0 3.25rem;
	}	
	.theme-default .form-default #frmFamilienferienstaetten label {
		font-size: 1.25rem;
		line-height: 2rem;
		font-weight: 400;
	}
	#service-navigation .col-left ul {
        gap: 1.625rem;
    }	
}
@media (min-width: 62em) {
	.theme-default #service-navigation li a.language:hover {
        color: #262626;
    }
}

/* module-keyvisual -- module-keyvisual-slider */
.theme-default .module-keyvisual figure
, .module-keyvisual-slider .slide figure {
    align-items: unset;
}
.theme-default .module-keyvisual figure.image_2025 {
  margin: 0 auto!important;
}
.theme-default .module-keyvisual figure.image_2025 figcaption
, .theme-default .module-keyvisual-slider figure.image_2025 figcaption {
  display: contents!important;
}
.theme-default .module-keyvisual figure.image_2025 figcaption .caption--overlay
, .theme-default .module-keyvisual-slider figure.image_2025 figcaption .caption--overlay {
  bottom: unset;
	top: 90px;
}
@media (max-width: 1199.98px) {
.theme-default .module-keyvisual figure.image_2025 figcaption .caption--overlay
, .theme-default .module-keyvisual-slider figure.image_2025 figcaption .caption--overlay {
	top: 0;
	}
}

@media (max-width: 399.98px) {
	#header > .inner-wrap #logo-stmas img {
		max-width: 20rem;
	}
	#header > .inner-wrap #logo-stmas {
        margin: .25rem 0 .625rem 0;
    }
	#header #logo img {
		height: 3.75rem;
	}
    .module-teaser-slider div.overlay h3 {
        font-size: 0.938rem!important;
    }
}
@media (min-width: 400px) and (max-width: 575.98px) {
	#header #logo img {
		height: 3.75rem;
		max-height: unset;
	}
	#header > .inner-wrap #logo-stmas img {
		max-width: 24rem;
		margin: 0 auto;
	}
	#header > .inner-wrap #logo-stmas {
        margin: .25rem 0 .625rem 0;
    }
    .module-teaser-slider div.overlay h3 {
        font-size: 1.125rem!important;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
	#header > .inner-wrap #logo-stmas img {
		max-width: 26rem;
		margin: 0 auto;
	}
	#header > .inner-wrap #logo-stmas {
        margin: .25rem 0 .625rem 0;
    }
}
@media (min-width: 768px) {
    .module-link-tiles .link-tile {
        justify-content: space-between;
    }
    .module-teaser-slider div.overlay h3 {
        font-size: 1.425rem!important;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	#header > .inner-wrap #logo-stmas img {
		max-width: 24rem;
		margin-bottom: -10px;
	}
	#logo-stmas img {
		max-height: none;
	}
	#header > .inner-wrap {
        padding: 15px 20px 15px 20px !important;
    }
	#header #logo img {
        height: 4.25rem;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
	#header > .inner-wrap #logo-stmas img {
		max-width: 26rem;
		margin-bottom: -10px;
	}
	#logo-stmas img {
		max-height: none;
	}
	#header > .inner-wrap {
        padding: 15px 20px 15px 20px !important;
    }
	#header #logo img {
        height: 4rem;
    }	
}

@media screen and (min-width: 1200px) {
	.module-keyvisual-slider .picture-credits {
		top: 100px!important;
	}
  }


@media (min-width: 1200px) and (max-width: 1399.98px) {
	#header > .inner-wrap #logo-stmas img {
		max-width: 30rem;
		margin-bottom: -10px;
	}
	#header > .inner-wrap {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
	#header #logo img {
        height: 5rem;
    }	
}
@media (min-width: 1400px) {
	#header > .inner-wrap #logo-stmas img {
		max-width: 34rem;
		margin-bottom: -10px;
	}
	#header > .inner-wrap {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
	#header #logo img {
        height: 5.625rem;
    }	
}

/** chatbot */
iframe.chatbot {
	position: static;  
	bottom:38px; 
	right:10px;
	width: 100%;
	height: 400px;
	z-index:1;
}

@media (min-width: 48em) {
	iframe.chatbot {
		position: fixed;  
		width: 500px;
	}
}


@media screen and (min-width: 630px) {
    .module-teaser-kacheln .slide {
      padding: 10px;
      width: 49.95%;
    }
    .module-teaser-kacheln .slide .overlay {
      min-height: 35% !important;
    }
  }

.module-teaser-kacheln .slide {
    padding: 10px;
    overflow: hidden;
} 
  
@media screen and (min-width: 1200px) {
    .module-teaser-kacheln .slide {
        padding: 10px;
        width: 33.31%;
    }
}
  
.module-teaser-kacheln {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.module-keyvisual figure, .module-keyvisual-slider .slide figure {
	display: table;
  }


@media screen and (min-width: 768px) {
	.module-keyvisual-slider .slider-control {
		display: block;
		z-index: 810;
    }
}


  
.theme-default #header a:focus, 
.theme-default #header button:focus{
	-webkit-box-shadow: 0 0 0 2px #fff, 0 0 0 4px #262626!important;;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #262626!important;
}

.theme-default .rte .module-infobox ul.link-list li a:hover,
.theme-default .rte .module-infobox ul.link-list li a:focus,
.theme-default .rte .module-infobox a:hover,
.theme-default .rte .module-infobox a:focus,
.theme-default .rte .module-infobox p > a:hover,
.theme-default .rte .module-infobox p > a:focus,
.theme-default .rte .module-infobox a .link:hover,
.theme-default .rte .module-infobox a .link:focus {
	outline: 2px solid rgba(0, 0, 0, 0) !important
}

.theme-default .rte a:focus .label {
	-webkit-box-shadow: 0 0 0 2px #262626 !important;
	box-shadow: 0 0 0 2px #262626 !important;
}

.theme-default .module-quicklinks a:focus .label,
.theme-default .module-quicklinks a:focus-visible .label {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}