

/*************************************************************************/
/*  Theme Custom  */

body {
	font-family: hind, sans-serif;
	font-weight: 300;
	font-size: 21px;
	line-height: 180%;
	color: #000;
	background-color: #fff;
}



@media only screen and (max-width: 1600px) {
	body {font-size: 18px; line-height: 160%;}
}
@media only screen and (max-width: 970px) {
	body {font-size: 17px; line-height: 160%;}
}


.brand-color {
	color: #b51e20;
}

/* Title */
h1, h2, h3, h4, h5, h6 {
	font-family: hind, sans-serif;
	font-weight: 300;
	line-height: 130%;
}
h1 {
	font-size: 300%;
	font-weight: 600;
}
h2 {
	font-size: 170%;
	font-weight: 600;
}
h3 {
	font-size: 145%;
}
h4 {
	font-size: 120%;
} 

@media only screen and (max-width: 1440px) {
	h1 {font-size: 200%;}
	h2 {font-size: 160%;}
	h3 {font-size: 140%;}
	h4 {font-size: 110%;}
}

@media only screen and (max-width: 970px) {
	h1 {font-size: 180%;}
	h2 {font-size: 155%;}
	h3 {font-size: 140%;}
	h4 {font-size: 110%;}
	h1, h2, h3, h4, h5 {word-break: break-word;}
}


/* Container */

.container {
    max-width: 1250px;
}
.container-fluid {
    max-width: 80%;
}

@media only screen and (max-width: 1400px) {
	.container{	max-width: 90%;	}
	.container-fluid {max-width: 90%;}
}


/* Logo */

.logo {
	padding-top: 70px;
	padding-bottom: 20px;
}
.logo img {
	width: 400px;
}
@media only screen and (max-width: 970px) {
.res-nav .logo-mobile img{
    width: 80%;
}
}
/* Logo fixnav */
.res-fixnav.show .logo {
	padding-top: 15px;
	padding-bottom: 20px;
}
.res-fixnav.show .logo img {
	max-width: 160px;
}




/* RES Nav */

.res-nav .nav-link {
	font-weight: 300;
	font-size: 100%;
}

/* Hover */
.res-nav-section li a:hover{
	color: #4a90e2;
}

/* active */
li.active > a.nav-link,
li.active .current-menu-item > a.dropdown-item {
	color: #4a90e2; 
}



/* Buttons */


.btn {
	padding: 0.6rem 1.5rem;
	border-radius: 40px;
	border-radius: 4px;
}
 
 .btn-primary{
    background-color: #000;
	border: 1px solid #b51e20;
    color: #eee;
}
.btn-secondary{
	border: 1px solid #b51e20;;
	background-color: #fff;
	color: #232323;
}

.btn-text-link {
	padding: 0 0 0 10px;
	border-radius: 0;
	border: 0;
}

/* VFB Forms only lines */

.vfbp-form .vfb-form-control {
    height: 55px;
    padding: 10px 30px;
    font-size: 90%;
    color: #000;
	font-weight: 300;	
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
	background-color: #fff;
	border-bottom: 1px solid #666;
}

/*  Mobile FORM  */
@media only screen and (max-width: 970px) {
	.vfbp-form .vfb-form-control {
		background-color: #fff;
		border: 1px solid #666;
	}
}

/* Counter-Captcha Form  */
.vfbp-form .vfb-form-control.form-count {
    border: 1px solid #dedede;
}



/* Footer */

.res-footer {
	border-top: 1px solid #eee;
	background-color: #fff;
}

.res-widget-footer.footer-social-icon i {
	background: #000;
	color: #fff;
}




/*************************************************************************/
/*   Custom CSS  */


.marker{
	display: inline-block;
	font-weight: 400;
	font-size: 16px;
	text-transform: uppercase;
	border-bottom: 1px solid #2b52b9;
	color: #2b52b9;
}

a {
	color: #b51e20;
}

.brandcolor-color {
	color: #b51e20;
}

.font-weight-500 {
	font-weight: 500;
}

i.fa-long-arrow-right {
	color: #b51e20;
	font-weight: 400;
    font-size: 120%;
}

.btn-primary{
    background-color: #b51e20;
    color: #eee;
}

.btn-primary:hover {
    color: #fff;
    background-color: #b51e20;
    border-color: #b51e20;
}

.btn {
	border-radius: 0;
}

.btn-sm {
	padding: 0.6rem 0.8rem;
}

@media only screen and (max-width: 400px) {
	.btn-sm {
		font-size: 60%;
}
}

/* Sticker */
.cta-circle {
    background: #b51e20;
}

.cta-circleTxt p {
    font-size: 100%;
}

.cta-circleTxt i {
    font-size: 125%;
    margin-bottom: 0;
	color: #fff;
	font-weight: 100;
}

.cta-sticker {
    bottom: 15%;
}

@media only screen and (max-width: 970px) {
	.cta-circle { width: 110px; height: 110px; }
	
	.cta-sticker {
    bottom: 12%;
	right: 3%;
}
.res-cta .jarallax {
    height: 75vh;
}
	
}

@media only screen and (min-width: 1920px) {
	.cta-circle { width: 160px; height: 160px; }
}
/* Sticker Ende*/

/* Nav & Topheader */
.res-nav-topheader ul li a {
	color: #b51e20;
}

.res-nav-topheader ul li a:hover {
	opacity: .7;
}

.res-nav-section li a:hover {
	color: #b51e20;
}

li.active > a.nav-link, li.active .current-menu-item > a.dropdown-item {
	color: #b51e20;
}

.res-block-navigation .dropdown-item {
    padding: 0 2rem;
    font-size: 100%;
}

.dropdown-item:hover, .dropdown-item:focus {
	color: #b51e20;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
}

.res-fixnav.show .logo img {
    max-width: 300px;
}
@media (min-width: 970px) and (max-width: 1300px)  {
#menu-cms-mainmenu .nav-link {
    padding-right:0;
    padding-left: 1rem;
	font-size: 80%;
}
}
/* Nav & Topheader Ende */

.home #res-boxes-block_60d44fece1570 div.box-col{
	padding-top: 1.3rem;
	border-bottom: 1px solid #b51e20;
}

.home #res-boxes-block_60d44fece1570 div.box-col:last-of-type {
	border-bottom: none;
}

@media only screen and (max-width: 1280px) {
/*
	section.res-boxes {
		padding-left: 1rem;
		padding-right: 1rem;
	}
*/
}

.home-boxen {
	margin-top: -11rem;
    background-color: #fff;
    position: relative;
    padding: 3rem 3rem 1rem 3rem;
}

.home-boxen h3{
color: #000
}

@media only screen and (max-width: 970px) {
	.home-boxen {
	   padding: 3rem 3rem 0 3rem;
}
}

@media only screen and (max-width: 600px) {
	.home-boxen {
	margin-top: -12rem;
}
}


@media only screen and (min-width: 600px) {
	.home-boxen .wp-block-column {
	border-right: 1px solid #b51e20;
}
	.home-boxen .wp-block-column:last-of-type {
	border-right: none;
}
}



@media only screen and (max-width: 599px) {
	.home-boxen .wp-block-column {
	border-bottom: 1px solid #b51e20;
	margin-top: 1rem;
}
	.home-boxen .wp-block-column:last-of-type {
	border-bottom: none;
}
	.home-boxen .wp-block-column:first-of-type {
	margin-top: 0;
}
}

.home-boxen .res-widget-footer {
	font-size: 100%;
}

/*.dropdown-menu.show {
   top:-1px!important
}*/

/* Header Image Slider*/
.carousel-indicators {
    position: relative;
    justify-content: flex-start;
    margin: 0;
}

.carousel-indicators .active {
    background-color: #b51e20;
}

.res-header-image .carousel-content {
	position: absolute;
    left: 15%;
    top: 68%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    max-width: 1249px;
	z-index: 100;
}

@media only screen and (max-width: 970px) {
	.res-header-image .carousel-content {
    left: 7%;
}
}


@media only screen and (min-width: 1500px) {
	#res-header-image-block_5f7aeb6e4d1ae.res-header-image .layout-2 h1 {
    font-size: 270%;
}
}

.res-header-image .carousel-item {
	position: relative;
}

.carousel-indicators {
    position: absolute;
	top: 80%;
    left: 15%;
}

@media only screen and (max-width: 970px) {
	.carousel-indicators {
    left: 7%;
}
}

@media only screen and (max-width: 600px) {
	.carousel-indicators {
	top: 95%;
}
}

.res-header-image .sloganbox-background {
	background: #fff;
	color: #000;
}

@media only screen and (max-width: 1100px) {
	.res-header-image .sloganbox-background {
    padding: 1.5rem 2rem;
}
}

.res-header-image .layout-2 .sloganBox {
	color: #000;
}

.res-header-image .sloganBox h1, .res-header-image .sloganBox h2, .res-header-image .sloganBox h3 {
	color: #000;	
}

.res-header-image .sloganBox .btn-secondary, .res-header-image .sloganBox .btn-outline {
	border: 1px solid #b51e20;
    color: #b51e20;
}

#res-header-image-block_60d44f2ae156e .res-header-image-vertical-center,
#res-header-image-block_60fe57100dca6 .res-header-image-vertical-center {
	transform: initial;
	bottom: 0;
	top: auto;
}

.sticker-bild {
	position: absolute; 
	top: 0; 
	right: 2%; 
	z-index: 1;
	max-width: 100px;
}

.hoehe-100 {
	height: 100%;
}

@media only screen and (max-width: 970px) {
	.sticker-bild {
    top: 18%;
    max-width: 50px;
}
	
	.hoehe-100 {
	height: auto;
}
}

@media only screen and (max-width: 520px) {
	.res-header-image .sloganbox-background {
	padding: 1.7rem 2rem;
	}
}
/* Header Image Slider Ende*/

/* Footer */
.res-footer-copyright {
	color: #b51e20;
	font-size: 85%;
}

.res-footer-copyright a {
	color: #b51e20;
}

.res-footer {
    border-top: none;
}

.res-footer-sprechzeiten-footer a{
    font-size: 80%;
	margin-top: 1.5rem!important
}

.firma-footer {
	font-weight: 600;
}
.res-widget-footer {
    line-height: 170%;
}
@media only screen and (min-width: 971px) {
	.res-footer-copyright .copyright-col1 span.copyright,
	.res-footer-copyright .copyright-col2 span.impress{
	border-right: 1px solid rgba(181, 30, 32, 0.8);
}
	.res-footer .container{
	padding-left: 3rem;
	padding-right: 3rem;
	}
.res-footer .container {
	max-width: 1500px;
}

}

.footer-sprechzeiten-footer-border {
	border-top: 1px solid #b51e20;
	border-bottom: 1px solid #b51e20;
}

.footer-sprechzeiten-footer .footer-sprechzeiten-footer-width {
	max-width: 210px;
}

#footer-fade {
	position: relative;
}
@media only screen and (min-width: 971px) and (max-width: 1550px) {
.copyright-col2 {
	margin-right: 5rem;
}
}

/*#footer-fade::before {
	content: url(https://musterpage.ch/derma-bonn/dev/wp-content/uploads/2021/07/schweif-footer.svg);
	position: absolute;
    z-index: 1;
    width: 53%;
    top: -17%;
}*/

/*
div#page::after {
	content: url(https://musterpage.ch/derma-bonn/dev/wp-content/uploads/2021/07/schweif-footer.svg);
	position: absolute;
    z-index: 1;
	bottom: -0.5%;
    width: 53%;
}
*/

div#page {
	position: relative;
}

/*
@media only screen and (max-width: 970px) {
	#footer-fade::before {
		width: 90%;
    	top: -2%;
	}
	
	div#page::after {
		width: 90%;
		bottom: -0.27%;
	}
	
	.res-footer-copyright {
		padding-top: 0 !important;
	}
}
*/

/*@media only screen and (min-width: 971px) and (max-width: 1129px) {
	#footer-fade::before {
    	top: -6%;
	}
}

@media only screen and (min-width: 1130px) {
	#footer-fade::before {
    	top: -11%;
	}
}

@media only screen and (min-width: 1800px) {
	#footer-fade::before {
    	top: -10%;
	}
}

@media only screen and (min-width: 2000px) {
	#footer-fade::before {
    	top: -18%;
	}
}*/

@media only screen and (max-width: 600px) {
	.res-footer .container .wp-block-columns {
	gap: 2rem;
}
}
/* Footer Ende */

/* Formular */
.vfbp-form .btn-primary {
    border-color: #b51e20;
    background-color: #b51e20;
}/* Formular Ende */

/* Nav Tab */
.nav-absolute {
    position: relative;
    z-index: 1;
    margin-bottom: -53px;
    min-height: 53px;
    display: flex;
    flex-direction: row;
    align-items: center;
	z-index: 2;
}

.nav-absolute .inner-container.container-off {
	max-width: 100%;
}

.nav-absolute .inner-container.container-off .nav-pills {
	flex-wrap: nowrap;
}

@media only screen and (max-width: 970px) {
	.mobilenav-container {
    background: #fdf8f8;
    border-radius: 0;
}
	.res-navtab .dropdown-item {
    padding: 15px 15px 0px 15px;
}
	.res-navtab .nav-link {
    padding: 15px 0 15px 8px;
}
	.nav-absolute {
	position: absolute;
    z-index: 1;
}
}

.res-block-navigation .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 15px;
    letter-spacing: 0.02em;
	line-height: 120%;
}

@media only screen and (max-width: 1400px) {
.res-block-navigation .dropdown-item {
	font-size: 85%;
}
}
/*@media only screen and (min-width: 971px) and (max-width: 1600px) {
	.res-block-navigation .nav-link {
	padding: 0.5rem 0.3rem;
	font-size: 70%;
}	
}*/


.mobilenav-container .dropdown-menu.show {
    display: block;
    width: 100%;
	padding: 8px 0 8px 8px;
}

@media only screen and (max-width: 970px) {
	.nav-absolute {
    width: 95%;
	}
	
	.res-header-image .sloganBox{
	color: #fff;
	font-size: 105%;
	}
}

.mobilenav-container {
    border: none;
}

li.active a.nav-link, li.active .current-menu-item a.dropdown-item {
    color: #000;
}

li.active > a.nav-link, li.active .current-menu-item > a.dropdown-item {
    color: #b51e20;
}

@media only screen and (min-width: 970px) {
	.dropdown-menu {
    	background-color: #fdf8f8;
		box-shadow: none;
		border: none;
	}
}
@media only screen and (min-width: 970px) {
	.dropdown-item {
    	color: #000;
	}
}

@media only screen and (min-width: 970px) {
	.res-navtab.alignfull .inner-container.container-wide {
    max-width: 90%;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}
}

@media only screen and (max-width: 970px) {
	.res-navtab.alignfull .inner-container.container-off, .res-navtab.alignfull .inner-container.container-wide {
    max-width: 100%;
}
	
	.mobilenav-container .nav-pills .menu-item .menu-item .dropdown-menu .menu-item .dropdown-item {
		padding: 0.5rem 0 !important;
	}
	
	.navbar-nav .menu-item .dropdown-menu {
		padding: 0 0 0 2rem;
	}
}


/* Nav Tab Ende */

/* Team Boxes */
.boxlayout03 .postContent h4 {
	font-size: 120%;
	font-weight: 500
}

.page-team .postContent {
	color: #000;
}
/* Team Boxes Ende */



.dropdown-menu {
	margin-top: 0;
}

@media only screen and (max-width: 520px) {
/*
	#res-txt-block_60d44a8c08ba9 {
		padding-top: 0 !important;
	}
*/
	
	#res-txt-block_60d450e180cd7 {
		padding: 0 !important;
	}
}


/* Arzt Single */
.card {
    background-color: transparent;
}

/*.single-team .card .card-header h2 {
    font-size: 170%;
}*/

@media only screen and (min-width: 782px) {
	.video-text .wp-block-column:not(:first-child) {
    margin-left: 7em;
}
}

@media only screen and (max-width: 1150px) {
	.video-text .wp-block-column iframe {
    width: 300px;
    height: 150px;
}
}
/* Arzt Single Ende */


/* Focus Gesundheit */
@media only screen and (max-width: 970px) {
	#res-text-bild-block_60e804d67412a.focus-gesundheit .txt-imagebox .txt-img {
	max-width: 35%;
}
}
/* Focus Gesundheit Ende */

.res-boxes .row .boxlayout01 {
    padding: 2rem 0;
}

.res-content .postContent ul li:before {
    color: #b51e20;
}

.btn-text-link {
	color: #b51e20;
}

.page-aktuelles .res-block .txt-textfield p {
	margin-bottom: 0;
}

.res-content .postContent ul {
	font-size: 100%;
}

.res-header-image .scale-txt {
	transform: scale(1.05);
}

.kompetenzzentrum .sloganbox-background p {
	font-size: 80%;
	line-height: 180%;
}

@media only screen and (max-width: 970px) {
	.bild-klein .txt-imagebox img {
		max-width: 20%;
}
	
	.kompetenzzentrum .sloganbox-background h2 {
	font-size: 120%;
}
	
	.kompetenzzentrum {
		display: none;
}
	
	.kompetenzzentrum-mobile {
		display: relative;
	}
}

/*.btn-text-link::before {
	font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    position: absolute;
    content: '\f177';
    left: 0;
    top: 1px;
    color: #b51e20;
}*/


@media only screen and (min-width: 970px)
 {.p-md-1 {
    padding: 1rem !important;
}
.kompetenzzentrum-mobile {
		display: none;
	}
}

/*
.res-cta .sloganbox-background {
	line-height: 1.4;
}
*/

.res-collapse.alignfull {
	padding-left: 3rem;
    padding-right: 3rem;
}
ol {
	    padding-inline-start: 0px;
}

@media only screen and (max-width: 970px) {
	.res-text-bild.alignfull .inner-container.container-off {
    max-width: 80%;
    margin: 0 auto;
}
}

.beitraege-home .postImg,
.res-search-page .postImg {
	display: none;
}

.schweif-cta {
	width: 50%;
	bottom: -1px;
}

@media only screen and (max-width: 520px) {
 img.schweif-cta {
	width: 70%;
	bottom: -5px;
}
}

@media only screen and (min-width: 970px) and (max-width: 1300px) {
	#res-header-image-block_60d44c7308bb3.res-header-image .layout-1.header-img-height {
		height: 100vh;
	}
	
	#res-header-image-block_60d44c7308bb3.res-header-image .layout-1 h2 {
		font-size: 120%;
	}
}

@media only screen and (max-width: 1290px) {
	.res-block-navigation .nav-link {
    padding: 0.5rem 0.3rem;
    font-size: 13px;
    letter-spacing: 0.01em;
    line-height: 120%;
}
	.nav-absolute {
    margin-right: -14px;
		margin-left: -22px;
}
}

@media only screen and (max-width: 970px) {
.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}
	.nav-absolute {
    display: block;
}
.res-navtab .nav-link {
    padding: 10px 0 10px 8px;
}
	.res-header .dropdown-menu .dropdown-item {
    padding: 5px;
    padding-left: 0px;
    font-size: 95%;
}
	.navbar-nav .menu-item .dropdown-menu {
    padding: 0 0 0 1rem;
}
	.res-navtab .nav-link {
    font-size: 90%;
}
	.res-boxes .row .boxlayout01 {
    padding: 1rem 0;
}
} 



.res-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #ffffff;
}


/* Skip-Link sichtbar machen, wenn fokussiert */
.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden-focusable:focus {
  position: static;
  width: auto; height: auto;
  padding: .5rem .75rem;
  background: #fff;
  outline: 2px solid;
  z-index: 10000;
}

/* Sekundärer Navigationsbanner (Hautkrebsbereich) */
.secondary-nav-banner,
.secondary-nav-banner .navbar-nav {
  display: flex;
  flex-wrap: wrap;       /* erlaubt Umbrechen statt Überlaufen */
  gap: .25rem .5rem;
  min-width: 0;          /* wichtig bei flex layouts */
}

.secondary-nav-banner .nav-item {
  min-width: 0;
}

.secondary-nav-banner .nav-link {
  white-space: normal;     /* statt nowrap */
  overflow-wrap: anywhere; /* bricht lange Wörter/Begriffe */
  text-wrap: balance;      /* modernere Browser: ausgewogener Zeilenumbruch */
  line-height: 1.2;
}

/* Verhindert, dass pseudo-badges/unterstriche überlaufen */
.secondary-nav-banner .nav-link > span,
.secondary-nav-banner .nav-link > strong {
  display: inline;
  overflow: visible;
}

/* Bessere sichtbare Tastaturfokusse (auch für Hauptnav) */
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Falls Dropdown-Listen im Sekundärbanner breiter sind, Begrenzung + Umbruch */
.secondary-nav-banner .dropdown-menu {
  max-width: min(90vw, 36rem);
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Optik wie vorher: Button „entknöpfen“ */
.accordion-toggle{
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Fokus klar sichtbar */
.accordion-toggle:focus,
.accordion-toggle:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Optional: wenn du lieber einen leichten Hintergrundwechsel willst */
.accordion-toggle:focus-visible{
  background-color: rgba(0,0,0,0.04);
}
/* Standard: Pfeil zeigt nach unten */
.accordion-toggle .rotate-icon{
  transition: transform .2s ease;
}

/* Offen: anhand von aria-expanded drehen */
.accordion-toggle[aria-expanded="true"] .rotate-icon{
  transform: rotate(180deg);
}

.res-footer-copyright {
    font-size: 13px;
    opacity: 1;
}

.res-nav-topheader i.fal.fa-search {
    color: #b51e20;
    font-size: 85%;
    margin-top: 14px;
}

