/*
Theme Name: entsog TYNDP 2026
Description: This is a custom child theme for entsog TYNDP 2024 based on Salient
Theme URI:   https://tyndp2026.entsog.eu
Author: zork media
Author URI:  https://www.zork-media.de
Template: salient
Version: 1.1
*/

/* Colors */

/*
Basic dark blue: #1f4484
Middle Blue for table headers: #0094d6
Lightblue for backgrounds: #eaf6fd
Darker lightblue for backgrounds: #d4eafa
Color accent green: #80C342
Text standard & Trenner: #333333

*/

/* Margins and paddings */
body[data-bg-header="true"] .container-wrap, html.fp-enabled .container-wrap {
  padding-bottom: 0 !important;
}

.wpb_text_column.wpb_content_element.no-marge {
  margin-bottom: 0;
}
/* Header */
/* Transparency for overlay color in Header */
#page-header-wrap .page-header-overlay-color::after {
  opacity: 0.35;
}
/* Navigation */
body .page-submenu li a {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Footer */
#tyndp-footer p a { 
  font-weight: 700;
}

/* change width of headline for TYNDP 2024 so that text on background picture stays visible */
#fullscreen-header h1 {
  font-size: 2.5em;
  line-height: 1.2em;
}
#fullscreen-header h2 {
  font-size: 2em;
  line-height: 1.2em;
  border-top: 0 none !important;
  text-transform: none;
}
@media only screen and (min-width: 1100px) {
  #fullscreen-header h1 { 
    font-size: 4em;
  }
  #fullscreen-header h2 { 
    font-size: 3em;
  }
}
@media only screen and (max-width: 999px) {
  #fullscreen-header .row-bg, .wpb_row .row-bg {
    background-size: contain;
  }
}
@media only screen and (max-width: 999px){
  #fullscreen-header h1, #fullscreen-header h2 {
    display: inline-block;
    padding:0.2em;
    background-color: rgba(236, 243, 252, 0.75);
  }
}



/* Text formats */

/* Picture courtesy on header */
.courtesy {
    position: absolute;
    top: -30px;
    width: 100%;
}
.main-content .courtesy .wpb_text_column p {
  font-size: 12px;
  line-height: 16px;
  text-align: right;
  color: #fff;
}

/* Headlines */
/* Headline colors */
body h1, body h2, body h3, body h4, body h5, body h6 {
  color: #1f4484 !important;
}
body .light h1, body .light h2, body .light h3, body .light h4, body .light h5, body .light h6 {
  color: #ffffff !important;
}
/* Negative indent for chapter numbers */
h1 span.chapter, h2 span.chapter, h3 span.chapter, h4 span.chapter, h5 span.chapter {
  display: inline-block;
  position: absolute;
  left: -1.25em;
  font-family: 'LatoBold', sans-serif;
  font-weight: 700;
  color: #1f4484;
}
h1 span.chapter-long, h2 span.chapter-long, h3 span.chapter-long, h4 span.chapter-long, h5 span.chapter-long {
  display: inline-block;
  position: absolute;
  left: -1.7em;
  font-family: 'LatoBold', sans-serif;
  font-weight: 700;
  color: #1f4484;
}
h2 span.chapter {
  left: -2em;
}
h2 span.chapter-long {
  left: -3em;
}
h3 span.chapter {
  left: -3em;
}
h3 span.chapter-long {
  left: -4em;
}
h4 span.chapter {
  left: -3em;
}
h4 span.chapter-long {
  left: -4em;
}
.sub-h4 h4 { text-transform: uppercase !important; }
h5 span.chapter {
  left: -4em;
}
h5 span.chapter-long {
  left: -5em;
}
@media only screen and (max-width: 690px) {
  h1 span.chapter, h2 span.chapter, h3 span.chapter, h4 span.chapter, h5 span.chapter {
    position: relative !important;
    left: 0 !important;
    padding-right: 1em;
  }
  h1 span.chapter-long, h2 span.chapter-long, h3 span.chapter-long, h4 span.chapter-long, h5 span.chapter-long {
    position: relative !important;
    left: 0 !important;
    padding-right: 1em;
  }
}
.uppercase h4 {
  text-transform: uppercase !important;
}
body .overline h3 {
  display: inline-block;
  letter-spacing: 1px;
  padding-top: 0.125em;
  border-top: 2px solid #80C342;
}
body .overline-double h3 {
  display: inline-block;
  letter-spacing: 1px;
  padding-top: 0.15em;
  border-top: 4px solid #80C342;
}

h1 strong, h2 strong {
  font-family: 'LatoBold', sans-serif;
  font-weight: 700;
} 

.main-content h2 {
  display: inline-block;
  padding-top: 0.25em;
  border-top: 4px solid #80C342;
}
.main-content h1 .norm, .main-content h2 .norm, .main-content h3 .norm {
  font-family: 'LatoRegular', sans-serif !important;
  font-weight: 400 !important;
}
.txt-white h4 {
  color: #fff !important;
}
/* Paragraphs and spans */
/* Basic text is justified */
.main-content .wpb_text_column p {
  text-align: justify;
}
.main-content h6, .row .col h6 {
  text-align: justify;
}
/* em is also marked bold in Salient typography settings */
.main-content em {
  font-style: normal;
  color: #000;
}
.main-content strong em {
  font-style: normal;
  color: #000 !important;
}
/* strong text is blue */
.main-content p strong, .main-content ul li strong {
  color: #1f4484;
}
/* Footnotes and fig-captions */
.main-content .footnote {
  font-size: 0.85em;
  padding-top: 0.5em;
  border-top: 1px solid #666666;
}
.main-content .fig-caption {
  padding-top: 0.5em;
  border-top: 2px solid #81d742;
}
.main-content .footnote p, .main-content .fig-caption p {
  text-align: left !important;
}
/* Format that applied to introduction in TYNDP 2022, might be helpful again */
.main-content .director p {
  text-align: left !important;
}
@media only screen and (max-width: 1040px){
  .main-content .director p {  
    font-size: 0.85em;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1100px){
  .main-content .director p {  
    font-size: 0.75em !important;
  }
}
@media only screen and (min-width: 1101px) and (max-width: 1280px){
  .main-content .director p {  
    font-size: 0.85em !important;
  }
}
/* Miscellanious */
sup, sub {
  line-height: 14px !important;
}
sup {
  font-size: 10px !important;
}
h1 sup, h2 sup, h3 sup {
  font-size: 15px !important;
}
.fakelist p { text-indent: -1.15em; }
.fakelist-inside p { text-indent: -1.15em; padding-left: 1.15em; }
span.blau { color: #1f4484 !important; }

/* TYNDP 2024 Infrastructure Report Chapter 9 – Figure 67 */
.incremental-head h4 {
  color: #fff !important;
  line-height: 1em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  font-family: 'LatoBold', sans-serif;
  font-weight: 700;
}
.incremental-text p {
  color: #1f4484 !important;
  text-align: center !important;
}
/* Lists */
.nectar-fancy-ul[data-list-icon="dot"] ul li {
  padding-left: 24px;
}
.nectar-fancy-ul[data-list-icon="dot"] ul li::before {
  content: url("_img/lp-green.png");
  top: 2px;
}
.nectar-fancy-ul[data-list-icon="dot"] ul li ul li::before, .nectar-fancy-ul[data-list-icon="dot"] ul li ul li ul li::before {
  content: "–";
  top: -1px;
}
.nectar-fancy-ul[data-list-icon="dot"] ul li.no-list-style::before {
  content: none !important;
}
.nectar-fancy-ul[data-list-icon="dot"] ul li ul li, .nectar-fancy-ul[data-list-icon="dot"] ul li ul li ul li {
  margin-top: 10px;
}
.nectar-fancy-ul[data-list-icon="dot"] ul li ul li, .nectar-fancy-ul[data-list-icon="dot"] ul li ul li ul li {
  padding-left: 20px;
}

/* Alphabetical lists */
.liste-alphabetisch ol li {
  list-style-image:  none;
  list-style-type: lower-alpha;
}

/* Backgrounds */
.hellblau .inner-wrap .row-bg {
  background-color: #eaf6fd;
}
.bg-weiss {
  background-color: #ffffff;
}
.bg-mittelblau, .bg-mittelblau .inner-wrap .row-bg {
  background-color: #d4eafa;
}

/* Images */
img.with-frame {
  border: 1px solid #666666;
}

/* Chapter navigation at the bottom */
#button-chapter-previous.nectar-button.has-icon i {
  right: auto;
  left: 8px;
}
#button-chapter-previous.nectar-button.has-icon span {
  -ms-transform: translateX(8px);
-webkit-transform: translateX(8px);
transform: translateX(8px);
}
.chapter-nav-next {
  text-align: right;
}

/* Tables */

/* Formatting Font Awesome Icons in tables */
body .tablepress [class^="icon-"].icon-default-style {
  font-size: 16px;
  line-height: 16px;
  width: 16px;
  height: 16px;
}

@media only screen and (max-width: 999px){
.main-content table.tablepress td, .main-content table.tablepress th {
  padding: 3px;
  font-size: 0.85em;
}
}
/* KTable headers */
.main-content .tablepress tr th:first-child { border-color: #fff; }
.main-content .tablepress tr th {
  font-weight: 700;
  vertical-align: top;
}
body:not(.woocommerce-cart) .main-content .tablepress tr td:first-child { border-color: #fff; }
body:not(.woocommerce-cart) .main-content .tablepress td { border-color: #fff; vertical-align: top; }



/* Vertikcal Tabs – used for maps with lists */
.tabbed[data-color-scheme="extra-color-1"] > ul li a {
  background-color: #d4eafa !important;
}
.tabbed[data-color-scheme="extra-color-1"] > ul li .active-tab {
  background-color: #1f4484 !important;
  border-color: #1f4484 !important;
}

/* Visualisation Platform */
iframe.vplatform {
  height: 300px;
}
@media only screen and (min-width: 699px){
  iframe.vplatform {
    height: 373.5px;
  }
}
@media only screen and (min-width: 1000px){
  iframe.vplatform {
    height: 748px;
  }
}
iframe.vplatform-high {
  height: 1680px;
}

/* Site notice and Privacy Policy */
.main-content .legal h1 {
  display: inline-block;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  border-bottom: 5px solid #80C342;
  margin-bottom: 1em;
}


.main-content .legal h2 {
  display: block;
  padding-top: 1.25em;
  border-top: 0 none;
  font-size: 2em;
  line-height: 1.25em;
  text-transform: none;
}
.main-content .legal h3 {
  display: block;
  padding-top: 1.25em;
  border-top: 0 none;
  font-size: 1.5em;
  line-height: 1.25em;
}
.main-content .legal h4 {
  display: block;
  padding-top: 0.5em;
  border-top: 0 none;
  font-size: 1.25em;
  line-height: 1.25em;
}
