/* This file holds generic functionalitis that are more of a functional than a stylistic nature. */

/* AAA - 100% with of embedded content */
.field--name-field-media-oembed-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.media-oembed-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
/* end of AAA */

/* BBB Video privacy */
.antifra-overlay {
    background: #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.antifra-overlay img {
    height: 100%;
    width: auto;
    margin: auto;
}
.antifra-overlay .privacy-hint {
    color: #fff;
    background-color: #000;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

@media (max-width: 700px) {
	.antifra-overlay .privacy-hint {
		width: 100%;
	}
}
/* end of BBB */

/* CCC social media icons */
li.www_facebook_com a {
    width: 1em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.www_facebook_com a:before {
    content: '\f39e';
    width: 1em;
    font-family: fa_brands;
    display: inline-block;
}
li.www_flickr_com a {
    width: 1.2em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.www_flickr_com a:before {
    content: '\f16e';
    width: 1.1em;
    font-family: fa_brands;
    display: inline-block;
}
li.instagram_com a {
    width: 1em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.instagram_com a:before {
    content: '\f16d';
    width: 1em;
    font-family: fa_brands;
    display: inline-block;
}
li.twitter_com a {
    width: 1em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.twitter_com a:before {
    content: '\e61b';
    width: 1em;
    font-family: fa_brands;
    display: inline-block;
}
li.www_youtube_com a {
    width: 1.1em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.www_youtube_com a:before {
    content: '\f167';
    width: 1.1em;
    font-family: fa_brands;
    display: inline-block;
}
li.www_youtube_com a {
	width: 1.1em;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}
li.www_youtube_com a:before {
	content: '\f167';
	width: 1.1em;
	font-family: fa_brands;
	display: inline-block;
}
li.www_tiktok_com a {
	width: 1.1em;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}
li.www_tiktok_com a:before {
	content: '\e07b';
	width: 1.1em;
	font-family: fa_brands;
	display: inline-block;
}
li.www_linkedin_com a {
	width: 1.1em;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}
li.www_linkedin_com a:before {
	content: '\f08c';
	width: 1.1em;
	font-family: fa_brands;
	display: inline-block;
}
li.berlin_social a {
	width: 1.1em;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}
li.berlin_social a:before {
	content: '\f4f6';
	width: 1.1em;
	font-family: fa_brands;
	display: inline-block;
}
li.bsky_app a {
    width: 1.1em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.bsky_app a:before {
    content: 'B';
    width: 1.1em;
    font-family: fa_brands;
    display: inline-block;
}
li.www_threads_net a {
    width: 1.1em;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
li.www_threads_net a:before {
    content: '\e618';
    width: 1.1em;
    font-family: fa_brands;
    display: inline-block;
}


/* end of CCC*/

/* DDD language switcher */
html[lang=de] #block-languageswitcher li[hreflang=de],
html[lang=en] #block-languageswitcher li[hreflang=en] {
    display: none;
}
/* end of DDD*/

/* EEE toolbar on top */
#toolbar-administration {
    position: relative;
    z-index: 1000;
}
/* end of EEE */

/* FFF privacy overlay manual */
.manual-antifra-wrapper {
    position: relative;
		min-height: 160px;
}
html[lang=de] .privacy-hint .lang-en,
html[lang=en] .privacy-hint .lang-de {
    display: none;
}
/*  end of FFF */

/* quickfix nachhaltigkeit */
@media (max-width: 43.75rem) {
  .path-nachhaltigkeit #block-rp22-content {
      grid-column: 1 / span 7;
  }
}
.path-nachhaltigkeit .node__content {
    padding-bottom: 0;
}

/* #rp22 TXT-Stoerer */
div#block-stoerer {
    width: 66px;
    position: absolute;
    top: 43px;
    left: 256px;
}
@media (max-width: 1200px) {
  div#block-stoerer {
    top: 14px;
    left: 178px;
  }
}
@media (max-width: 1024px) {
  div#block-stoerer {
    left: 20px;
    top: 43px;
    width: 56px;
  }
}

/* About Block: Teaser verstecken */
div#rp-Über-die-republica-38 p {
    display: none;
}


/*CFP 23 FORMATE*/
.cfp-formate {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  grid-gap: calc(var(--hMargin-title) / 3);
}
.cfp-formate-inner {
    margin: 10px;
}
.format-text1 {
    margin-bottom: 15px;
}
h2.formate-type {
    margin-bottom: 0px;
}

/*rp23 Track Teams */

.trackteam_name {
    min-height: 4rem;
    margin-top: 25px;
    font-weight:bold;
    /* text-align:center; */
}
.trackteam_name a {
    /* box-shadow: none!important; */
    font-size: 1.1em;
}
.path-news-die-rp-track-teams .bs_grid .row, .path-news-track-teams-rp .bs_grid .row {
    margin-bottom: 2rem;
}
h2.walmer {
    font-family:walmer, sans-serif !important;
}

/*rp23 lost and found*/
.lost figure {
    max-width: 326px;
    min-width: 250px;
}
.lost {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/*reeeperbahn*/
.rp-type-highlight_box.rp-info-rbf {
  background: #99eaff;
}
.rp-type-highlight_box.rp-info-rbf .block__title {
    color: #000000 !important;
}

@media (max-width: 720px) {
  .motto-buttons {
      flex-direction: column;
      gap: 1rem;
  }
}
@media (max-width: 700px) {

    .path-tickets #block-rp22-content {
        grid-column: 1 / 7;
    }
}

/*partner block front page anchor*/

#rp-partner-19 {
    padding-top: 100px;
    margin-top: -100px;
}
