/*
 * Footnotes custom CSS
 */

@keyframes blinkColor {
  0% {
    color: #666;
  }
  100% {
    color: #147c3f;
  }
}

#footnote_references_container {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  overflow: hidden;
  padding-top: 15px;
  padding-bottom: 30px;
}

#footnote_references_container:before {
  content: "";
  display: block;
  position:absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,0.7+25,0.9+50,1+100 */
  background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 25%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.7) 25%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.7) 25%,rgba(255,255,255,0.9) 50%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.footnote_container_prepare {
  margin-top: 30px;
  padding-left:15px;
}

.footnote_container_prepare > p {
    font-family: Acumin;
    font-weight: 700;
    font-stretch: condensed;
    font-size: 24px;
}

/* Adjusting width of footnotes on one page */
@media all and (min-width: 650px) {
    .page-id-119511 .footnote_container_prepare  {
        width: 60%;
        margin: 30px auto 0 auto;
    }
    .page-id-119511 #footnote_references_container, .page-id-119511 .footnote_plugin_show_more {
        width: 60%;
        margin: 0 auto;
    }
}

@media all and (max-width: 650px) {
    .page-id-119511 .footnote_container_prepare  {
        width: 80%;
        margin: 30px auto 0 auto;
    }
    .page-id-119511 #footnote_references_container, .page-id-119511 .footnote_plugin_show_more {
        width: 80%;
        margin: 0 auto;
    }
}



.footnote_plugin_tooltip_text {
  vertical-align: top;
  cursor: pointer;
}

.sources-list,
.sources-list p,
.footnote_plugin_text,
.footnote_plugin_index {
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 15px;
  line-height: 1.5;
  font-family: Acumin, sans-serif;
  font-weight: 300;
}

.footnote_plugin_index {
  white-space: nowrap;
  font-weight: 400;
  padding-right: 6px;
}

.footnote_plugin_index.blink,
.footnote_plugin_index.blink ~ .footnote_plugin_text {
  -webkit-animation: blinkColor .5s ease-out infinite alternate;
          animation: blinkColor .5s ease-out infinite alternate;
}

.footnote_plugin_link {
  cursor: pointer;
}

.footnote_plugin_show_more {
  margin-bottom: 30px;
  white-space: nowrap;
  background-color: #fff;
  font-family: Acumin;
  font-weight: 700;
  font-stretch: condensed;
  font-size: 16px;
  text-transform: uppercase;
  color: #147c3f;
  opacity: 1;
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
}

.footnote_plugin_show_more span {
  display: inline-block;
  padding: 10px;
  cursor: pointer;
}

.footnote-sources-animate + .footnote_plugin_show_more {
  opacity: 0;
}

.footnote-sources-expand + .footnote_plugin_show_more .label-show,
.footnote_plugin_show_more .label-hide {
  display: none;
}

.footnote-sources-expand + .footnote_plugin_show_more .label-hide {
  display: block;
}

.footnote_plugin_show_more i {
  color: #999;
  margin-right: 6px;
}


/*
 * Custom tooltips
 */

div.ui-tooltip {
  display: block; /* must be block here*/
  position: absolute;
  z-index: 9999;
  max-width: 300px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.4;
  font-family: Acumin, sans-serif;
  font-weight: 300;
  color: #222222;
  background-color: #fff7a7;
  border: 1px solid #cccc99;
  border-radius: 3px;
  -webkit-box-shadow: 2px 2px 11px #666666;
  -moz-box-shadow: 2px 2px 11px #666666;
  box-shadow: 2px 2px 11px #666666;
  opacity: 1;
}

div.ui-tooltip-content {
  padding: 0;
  border: 0 none;
  overflow: hidden;
}

div.ui-tooltip-content a {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}


/*<div role="tooltip" id="ui-id-4" class="ui-tooltip ui-corner-all ui-widget-shadow ui-widget ui-widget-content" style="top: 1323.82px; left: 651.016px;"><div class="ui-tooltip-content">Königsteiner Gruppe (2020) Jobfaktor Klima: Umweltbewusstsein bei deutschen Arbeitgebern. Online unter: http://studien.koenigsteiner.com/koenigsteiner-studie-jobfaktor-klima/ [08.07.2020]</div></div>*/
