/*
    sharing links
*/
a.climatelink, a.download-list, a.download_a, a.metadata_a,
a.metadata_b, a.share, a.share-white {
  width: 32px;
  height: 32px;
  display: table-cell;
  border: none;
  cursor: pointer;
}

a.climatelink {
  background: url(/icons/globe.svg) no-repeat 50% 50%;
  background-size: 28px 28px;
}

a.csvlink,
a.jsonlink {
  width: 20px;
  height: 20px;
  display: initial;
  padding-left: 24px;
  font-size: 16px;
  text-decoration: none;
  border: none;
}

a.gcis_view {
  text-decoration: none;
  border: none;
}

a.csvlink {
  background: url(/icons/file.svg) no-repeat 0 0;
  background-size: 20px 20px;
}

a.jsonlink {
  background: url(/icons/file_json.svg) no-repeat 0 0;
  background-size: 20px 20px;
}

a.download-list {
  background: url(/icons/more_vert.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

a.download_a {
  background: url(/icons/download.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

a.download_a:active {
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom: none;
}

/*
a.metadata_a,
a.metadata_b {
  background: url(/icons/eye.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}
*/

a.metadata_a:active,
a.metadata_b:active {
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom: none;
}

a.share {
  background: url(/icons/share.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

a.share-white {
  background: url(/icons/share-white.svg) no-repeat 50% 50% !important;
  background-size: 32px 32px !important;
}

.box a.share {
  background: url(/icons/white-share.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.figure a.share {
  background: url(/icons/share.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.box a.climatelink {
  background: url(/icons/globe-white.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.case-study a.climatelink {
  background: url(/icons/globe-white.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

a.lightbox, a.lightbox:active {
  border-bottom: none;
}

.figure-social-icons {
  position: relative;
  margin-left: 10px;
  margin-right: 1rem;
  z-index: 2;
}

.figure-social-icons a.climatelink,
.figure-social-icons a.download_a,
.figure-social-icons a.metadata_a,
.figure-social-icons a.metadata_b {
  margin-right: 3px;
}

.figure-social-icons a.climatelink,
.figure-social-icons a.download_a,
.figure-social-icons a.metadata_a,
.figure-social-icons a.metadata_b {
  margin-right: 3px;
}

/*
    Social media icons
*/
.key-message-msg .figure-social-icons,
.section-box .figure-social-icons,
.node-narrative .figure-social-icons,
.small-figure .figure-social-icons,
.big-figure .figure-social-icons {
  position: relative;
  float: right;
  display: table;
}

.key-message-msg .figure-social-icons,
.section-box .figure-social-icons,
.node-narrative .figure-social-icons,
.small-figure .figure-social-icons,
.big-figure .figure-social-icons {
  position: relative;
  float: right;
  display: table;
}

.node-narrative > .figure-social-icons,
.small-figure > .figure-social-icons,
.big-figure > .figure-social-icons {
  margin-top: .25em;
}

.section-box > .figure-social-icons {
  margin-top: 24px;
  margin-right: 10px;
}

#section-header .figure-social-icons {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

@media (min-width: 992px) {
  .small-figure .figure-social-icons {
    margin-top: 8px;
  }
  .small-figure .figure-social-icons a.climatelink {
    background: url(/icons/globe.svg) no-repeat 50% 50%;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    border: none;
  }
  .small-figure .figure-social-icons a.download_a {
    background: url(/icons/download.svg) no-repeat 50% 50%;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    border: none;
  }
  .small-figure .figure-social-icons a.metadata_a {
    background: url(/icons/eye.svg) no-repeat 50% 50%;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    border: none;
  }
  .small-figure .figure-social-icons a.share {
    background: url(/icons/share.svg) no-repeat 50% 50%;
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    border: none;
  }
}

@media (min-width: 992px) and (max-width: 991px) {
  .small-figure .figure-social-icons a.share {
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 992px) {
  .small-figure .figure-social-icons img:last-of-type {
    margin: 0 !important;
  }
}

.big-figure .figure-social-icons img:last-of-type {
  margin: 0 !important;
}

.download-list-icons,
.social-icons, .social-icons-figure {
  min-width: 236px;
  z-index: 1002;
  z-index: 998;
  line-height: 1.4;
  background-color: #ddd;
  opacity: 0.9;
  padding: 1rem;
}

.download-list-icons,
.social-icons {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 0px;
}

/*
.download-list-icons {
  min-width: 100px;
  position: relative;
}
*/

.social-icons-figure {
  display: block;
  position: relative;
}

.download-list-icons-div {
  min-width: 100px;
  background: #fff;
  display: block;
  position: relative;
}

.download-list-icon,
.download-list-icon img,
.social-icon,
.social-icon img {
  display: inline-block;
  text-align: center;
}

a.social-icon {
  text-decoration: none;
}

a.social-icon:hover {
  background-color: #60a6dd;
}

/*
    Individual sharing icons
*/
.email-icon, .link-icon, .facebook-icon, .twitter-icon {
  width: 32px;
  height: 32px;
  padding: 28px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.email-icon {
  background: url(/icons/email.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.link-icon {
  background: url(/icons/link.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.facebook-icon {
  background: url(/icons/facebook.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.twitter-icon {
  background: url(/icons/twitter.svg) no-repeat 50% 50%;
  background-size: 32px 32px;
}

.link-content,
.email-content {
  position: absolute;
  top: 40px;
  display: none;
  z-index: 2;
  right: 260px;
  width: 100%;
}

.link-content input,
.link-content-fig input,
.email-content input {
  width: 320px;
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.link-content-fig {
  position: absolute;
  background-color: var(--tsu-green);
  font-family: var(--tsu-sans-serif);
  color: var(--tsu-dark-blue);
  font-weight: 500;
  padding: 0.5em;
  top: 40px;
  right: 1.5em;
  display: none;
  z-index: 2;
}

.link-content-chapter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 2;
}

.link-content-chapter input {
  width: 320px;
  padding: 20px;
  text-align: left;
  vertical-align: middle;
  cursor: pointer;
}

.clipboard-input-field {
  font-family: var(--tsu-sans-serif);
  padding-left: 44px !important;
  color: var(--tsu-blue);
  border: 3px solid var(--tsu-green);
  background-image: url("/icons/clipboard.svg");
  background-color: var(--tsu-opacity-blue-hex);
  background-repeat: no-repeat;
  background-size: 28px;
  background-position: 5%;
  z-index: 10;
}