body {
	background: none;
}

.xabs #header-placeholder {
	margin-top: 140px;
}


.container {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
	display: block;
}


footer .footer-nav {
	color: #D7D7D7;
	display: flex;
	float: none !important;
	justify-content: space-between;
	max-width: 100% !important;
}

footer .footer-nav ul {
	float: right;
	padding: 0;
}

ol,
ul {
	margin-top: 0;
	margin-bottom: 10px;
}

footer .footer-nav li {
	display: inline;
	float: left;
	list-style-type: none;
	margin-left: 10px;
	padding: 0 4px;
}

.row {
	margin-right: -15px;
	margin-left: -15px;
}

@media (min-width: 768px) {
	.footer_partners .container {
		height: 70px;
	}


	body {
		font-family: Arial, sans-serif;
		margin: 0;
		padding: 0;
		position: relative;
	}

	.language-switch {
		position: relative;
		right: 10px;
		float: right;


	}

	.language-switch input {
		display: none;
	}

	.language-switch label {
		cursor: pointer;
	}

	.language-switch label img {
		width: 24px;
		height: 14px;
	}

	.content {
		text-align: center;
		margin-top: 50px;
	}

	.logo {
		width: 800px;
		height: auto;
		margin-bottom: 20px;
	}

	.menu {
		margin-top: 20px;
	}

	.menu ul {
		list-style-type: none;
		padding: 0;
		margin: 0;
		display: flex;
		justify-content: center;
		gap: 20px;
	}

	.menu ul li {
		display: inline;
	}

	.menu ul li a {
		text-decoration: none;
		color: #000;
		font-weight: bold;
	}

	.text-block {
		margin-top: 30px;
		padding: 20px;
		background-color: #f9f9f9;
		border: 1px solid #ddd;
		max-width: 800px;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
	}

	.container2 {
		position: relative;
		top: 3px;
		overflow: hidden
	}

	.content2 {
		font-family: Arial, sans-serif;
		line-height: 1.6;
		max-width: 800px;
		margin: 0 auto;
		padding: 15px;
		background-color: #f9f9f9;
		border-radius: 8px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		padding-top: 10px;
		overflow: hidden;
	}
	
	.contentBuchstabben {
		font-family: Arial, sans-serif;
		line-height: 1.6;
		max-width: 1000px;
		margin: 0 auto;
		padding: 20px;
		background-color: #f9f9f9;
		border-radius: 8px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		padding-top: 10px;
	}


	.Content {
		font-size: 16px;
	}

	p {
		font-size: 16px;
	}

	/*.Content img {
		transition: transform 0.35s ease;
		position: relative;
		left: 150px;
	}

	.Content img:hover {
		webkit-transform: scale(2.5);
		transform: scale(2.5);
		position: relative;
		left:150px;
		z-index: 9999;
	}

	.content3 img {
		transition: transform 0.35s ease;
		position: relative;
		//left:150px;
	}

	.content3 img:hover {
		webkit-transform: scale(1.5);
		transform: scale(1.5);
		position: relative;
		//left: 150px;
		z-index: 9999;
	}
	
	.content4 img {
		transition: transform 0.35s ease;
		position: relative;
		//left:150px;
	}

	.content4 img:hover {
		webkit-transform: scale(1.5);
		transform: scale(1.5);
		position: relative;
		//left: 150px;
		z-index: 9999;
	}*/


	h2 {
		color: #b41815;
	}
	
	h3 {
		/*color: #b41815;*/
	}

	#myBtn {
		display: none;
		position: fixed;
		bottom: 20px;
		right: 30px;
		z-index: 99;
		font-size: 18px;
		border: none;
		outline: none;
		background-color: #b41815;
		color: white;
		cursor: pointer;
		padding: 15px;
		border-radius: 4px;
	}

	#myBtn:hover {
		background-color: #555;
	}

	.small {
		font-size: 10px;
	}

	@media only screen and (max-width: 600px) {
		.gefoerdet_durch {
			position: relative;
			left: 0px;
		}

		.bundesregirung_logo {
			position: relative;
			right: 20px;
			top: 0px;
		}
	}

	@media only screen and (min-width: 600px) {
		.gefoerdet_durch {
			position: relative;
			left: 150px;
		}

		.bundesregirung_logo {
			position: relative;
			right: 20px;
			top: 35px;
		}
	}


	p {
		font-size: 12px;
	}

	li a {
		font-size: 16px;
	}

	li {
		font-size: 13px;
	}

	.Headline p {
		font-size: 1.5em;
		font-weight: bold;
		color: #333;
		margin-bottom: 10px;
	}

	.TextBlocks {
		margin-bottom: 20px;
	}

	.TextBlock p {
		margin-bottom: 0.8em;
		color: #555;
	}

	.TextBlock p strong {
		color: #000;
	}

	.TextBlockFinal {
		text-align: center;
		margin-top: 40px;
	}

	a.ContentLink {
		color: #b41815;
		text-decoration: none;
	}

	a.ContentLink:hover {
		text-decoration: underline;
	}

	.small {
		font-size: 10px;
	}

	#myBtn {
		display: none;
		position: fixed;
		bottom: 20px;
		right: 30px;
		z-index: 99;
		font-size: 18px;
		border: none;
		outline: none;
		background-color: #b41815;
		color: white;
		cursor: pointer;
		padding: 15px;
		border-radius: 4px;
	}

	#myBtn:hover {
		background-color: #555;
	}

	p,
	li {
		font-size: 15px;
	}


	.Table {
		margin: 0px 0px 20px 0px;
		padding: 0px 0px 0px 0px;
		width: 100%;
	}

	.TableHeader {
		background-color: grey;
		color: #ffffff;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-weight: bold;
		padding: 0px 0px 0px 0px;
		text-align: left;
	}

	.TableHeaderLeftFix {
		width: 20%;
	}

	.TableHeaderMidFix {
		width: 40%;
	}

	.TableHeaderRightFix {
		width: 40%;
	}

	.TableHeaderLeftFix {
		width: 189px;
	}

	.TableRowLeft,
	.TableRowMid,
	.TableRowRight,
	.TableRowLeftFix,
	.TableRowMidFix,
	.TableRowRightFix {
		border: solid 1px grey;
		padding: 2px 2px 2px 2px;
		vertical-align: top;
	}

	.TableRowMidFix,
	.TableRowRightFix {
		width: 375px;
	}

	.TableRow {
		font-size: 12px;
	}

	#myBtn {
		display: none;
		position: fixed;
		bottom: 20px;
		right: 30px;
		z-index: 99;
		font-size: 18px;
		border: none;
		outline: none;
		background-color: #b41815;
		color: white;
		cursor: pointer;
		padding: 15px;
		border-radius: 4px;
	}

	/*.Content img {
		transition: transform 0.35s ease;
		z-index:10;
	}

	.Content img:hover {
		-webkit-transform: scale(2.5);
		transform: scale(2.5);
		z-index:10;
	}*/

	#myBtn:hover {
		background-color: #555;
	}


	.TableFirms {
		margin: 0px 0px 20px 0px;
		padding: 0px 0px 0px 0px;
		text-align: left;
		width: 100%;
	}

	.TableHeader {
		background-color: grey;
		color: #ffffff;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-weight: bold;
		padding: 0px 0px 0px 0px;
		text-align: left;
	}

	.TableHeaderFirms {
		color: #ffffff;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
		font-weight: bold;
		padding: 0px 0px 0px 0px;
		text-align: left;
	}

	.TableHeaderFirmsItem1,
	.TableHeaderFirmsItem2,
	.TableHeaderFirmsItem3,
	.TableHeaderFirmsItem4,
	.TableHeaderFirmsItem5 {
		background-color: grey;
		padding: 2px 2px 2px 2px;
		vertical-align: bottom;
	}

	.TableHeaderFirmsItem1 {
		width: 274px;
	}

	.TableHeaderFirms2 {
		width: 100%;
	}

	.TableHeaderFirmsItem2 {
		width: 106px;
	}

	.TableHeaderFirmsItem3 {
		width: 84px;
	}

	.TableHeaderFirmsItem4 {
		width: 220px;
	}

	.TableHeaderFirmsItem5 {
		width: 156px;
	}

	.TableHeaderLeftFix {
		width: 20%;
	}

	.TableHeaderMidFix {
		width: 40%;
	}

	.TableHeaderRightFix {
		width: 40%;
	}

	.TableHeaderLeftFix {
		width: 189px;
	}

	.TableRowLeft,
	.TableRowMid,
	.TableRowRight,
	.TableRowLeftFix,
	.TableRowMidFix,
	.TableRowRightFix {
		border: solid 1px #14645c;
		padding: 2px 2px 2px 2px;
		vertical-align: top;
	}

	.TableRowFirmsItem1,
	.TableRowFirmsItem2,
	.TableRowFirmsItem3,
	.TableRowFirmsItem4,
	.TableRowFirmsItem5 {
		border: solid 1px #14645c;
		padding: 2px 2px 2px 2px;
		text-align: left;
		vertical-align: top;
	}

	.TableRowFirms {
		color: #000;
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 12px;
		padding: 0px 0px 0px 0px;
	}

	.TableRowMidFix,
	.TableRowRightFix {
		width: 375px;
	}

	.TableRow {
		font-size: 12px;
	}

	.capital {

		font-size: 18px;

	}

	#myBtn {
		display: none;
		position: fixed;
		bottom: 20px;
		right: 30px;
		z-index: 99;
		font-size: 18px;
		border: none;
		outline: none;
		background-color: #b41815;
		color: white;
		cursor: pointer;
		padding: 15px;
		border-radius: 4px;
	}

	#myBtn:hover {
		background-color: #555;

		.very_small {
			font-size: 10px;
		}
		
	}
	
	#heading a {
    text-decoration: none;
    color: inherit; /* Keeps original heading color */
}

#heading a:hover {
    text-decoration: underline; /* Optional hover effect */
}
		
		
.container {
      display: flex;
      align-items: center;
      font-family: Arial, sans-serif;
    }

    .main-letter {
      font-size: 40px;
      color: #b41815;
      margin-right: 10px;
	  margin-left: 10px;
    }

    .alphabet {
      display: flex;
      gap: 8px;
    }

    .alphabet a {
      font-size: 20px;
      text-decoration: none;
      color: black;
      transition: all 0.3s ease;
    }

    .alphabet a:hover {
      font-size: 40px;
      color: #b41815;
    }

.xabs .footer_partners {
	padding-bottom: 40px;
}

 .xabs .container .col-md-3 {
		padding-top: 50px;
		width: 50%
	}

#LogoSBB {
	
	position: relative;
    bottom: 30px;
}	

.bigText {
	font-size:18px;
}

#title {
	text-align: center;
}

a {
  text-transform: none;
}


.Content{
         font-size:13px;
         }
         p {
         font-size:13px;
         }
         .Content ul li {
         float: left;
         list-style: none;
         margin-right: 15px;
         }
         .Content li:not(:last-child) {
         margin-right: 10px;
         padding-right: 10px;
         border-right: 1px solid;
         }  
		 .person {
    background-color: white;
    padding: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.person h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #333;
}

.person > p {
    margin: 8px 0;
}

.biography-content {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 20px;
    margin-top: 10px;
    align-items: start;
}

.text-content {
    grid-column: 1;
}

.image-column {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.image-block {
    break-inside: avoid;
}

.image-block img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    margin-bottom: 8px;
}

.image-block p {
    font-size: 0.85em;
    line-height: 1.4;
    margin: 0;
    color: #555;
    font-style: italic;
	padding-right: 10px;
}

.PortraitText {
    text-align: justify;
}

.ContentLink {
    color: #0066cc;
    text-decoration: none;
}

.ContentLink:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .biography-content {
        grid-template-columns: 1fr;
    }

    .text-content {
        grid-column: 1;
    }

    .image-column {
        grid-column: 1;
    }
}
		 
.xabs hr {
    margin-top: 10px;
    margin-bottom: 10px;

}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;              /* ✅ allow vertical scrolling */
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 70vh;              /* ✅ leave room for long text */
}

.modal p {
  color: white;
  text-align: center;
  margin: 20px auto 40px;
  font-size: 16px;
  max-width: 900px;              /* ✅ readable line length */
  line-height: 1.5;
  padding: 0 20px;
  white-space: normal;           /* ✅ wrap text */
  word-break: break-word;        /* ✅ long words/URLs */
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal {
  overflow-y: auto;
}

.modal-content {
  max-width: 90%;
}	 


span[lang] {
  display: none;
}

/* show only the active language */
html[lang="de"] span[lang="de"],
html[lang="en"] span[lang="en"],
html[lang="jp"] span[lang="jp"] {
  display: inline;
}

.content2 {
         font-family: Arial, sans-serif;
         line-height: 1.6;
         max-width: 800px;
         margin: 0 auto;
         padding: 20px;
         background-color: #f9f9f9;
         border-radius: 8px;
         box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
         padding-top:10px;
         }
		 
         .text-block {
         margin-top: 0px;
         padding: 0px;
         background-color: #f9f9f9;
         border:0px solid #fff;
         max-width: 800px;
         margin-left: auto;
         margin-right: auto;
         text-align: left;
         }
		 
		 .person span[lang] {
  display: none;
}

html[lang="de"] .person span[lang="de"],
html[lang="en"] .person span[lang="en"],
html[lang="jp"] .person span[lang="jp"] {
  display: inline;
}

p > strong {
  display: none;
}