/*!
 * Start Bootstrap - Stylish Portfolio v5.0.3 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2022 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

/* For headers */
/* Body font */
/* Main color */
/* h2, h4 header color */
/* h3, h5 header color */
/* Size of big figures in a box */
/* Size of photos in a box */
/*
    Figures
*/
/*
    Div that wrapps a figure
*/
.big-figure .figure-inner {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 480px) {
  .big-figure .figure-inner {
    width: 80% !important;
  }
}

.big-figure.photo .figure-inner {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.interactive .figure-inner {
  width: 100%;
}

.md-3 {
  padding-left: 15px;
  padding-right: 15px;
  margin: 20px 0;
}
@media (min-width: 992px) {
  .md-3 {
    position: relative;
    margin: 20px 0 20px 10px;
    float: right !important;
    padding-left: 15px;
    width: 40%;
  }
  .box .md-3 {
    margin-right: 0;
  }
}

.caption-outer {
  width: 75%;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .caption-outer {
    width: 98%;
  }
}

.caption {
  width: 90%;
  margin: 30px auto;
  font-size: 90%;
  line-height: 1.6;
  padding: 20px;
  /*background-color: #dadee5;*/
  background-color: #f0efed;
  border-radius: 8px;
}
.caption p {
  width: 100% !important;
  margin-bottom: 10px;
}
.caption p:last-child {
  margin-bottom: 0;
}
.small-figure .caption {
  display: none;
}
@media (max-width: 991px) {
  .small-figure .caption {
    display: block;
  }
}
@media (max-width: 600px) {
  .caption {
    width: 90% !important;
    font-size: 100%;
  }
}
@media (max-width: 480px) {
  .caption {
    width: 98% !important;
    font-size: 100%;
  }
}

/*
    Small figures
*/
.small-figure {
  margin-bottom: 30px;
}
@media (min-width: 992px) {
  .small-figure {
    text-align: center;
    clear: both;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
  }
}
@media (min-width: 992px) {
  .box .small-figure h2, .small-figure h2 {
    font-size: 14px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 400;
    line-height: 1.4;
  }
}
@media (max-width: 991px) {
  .small-figure h2 {
    margin-top: 20px;
    margin-bottom: 30px !important;
    font-size: 24px;
  }
}
.small-figure p {
  margin-bottom: 0;
  width: 100% !important;
}
.small-figure a {
  text-decoration: none;
}
.small-figure img {
  width: 100%;
}
@media (max-width: 991px) {
  .small-figure img {
    padding-top: 30px;
    border-top: 1px solid #aaa;
  }
}
@media (max-width: 991px) {
  .small-figure .caption {
    display: block;
    /*font-size: 80%;*/
  }
}
.small-figure .figure-social-icons {
  position: relative;
  float: right;
  display: table;
}
@media (min-width: 992px) {
  .small-figure .figure-social-icons img {
    width: 32px;
    height: 32px;
  }
}
.small-figure.filler_photo .caption, .small-figure.photo .caption {
  width: 100%;
  margin: 10px auto;
  padding: 10px;
  display: block;
  text-align: left;
}
.small-figure.filler_photo .caption a, .small-figure.photo .caption a {
  -ms-word-break: break-all;
  word-break: break-all;
}
.box .small-figure.photo .caption {
  font-size: 10px;
}
@media (max-width: 991px) {
  .box .small-figure.photo .caption {
    font-size: 80%;
  }
}

@media (max-width: 991px) {
  .figure {
    width: 100%;
  }
}
/*
    Big figures
*/
.big-figure {
  position: relative;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 20px 15px 30px 15px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.big-figure .figure-social-icons {
  position: relative;
  float: right;
  display: table;
  margin-left: 5px;
}
.big-figure .figure-social-icons a.climatelink,
.big-figure .figure-social-icons a.download_a,
.big-figure .figure-social-icons a.metadata_a,
.big-figure .figure-social-icons a.metadata_b {
  margin-right: 3px;
}
.big-figure h2, .big-figure .tsu-table h2 {
  color: #164468;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 5px;
  padding-bottom: 20px;
  text-align: center;
  font-weight: 100;
}
.big-figure img {
  width: 100%;
}
.big-figure img.big-img {
  width: 100%;
  padding-top: 10px;
  /*border-top: 1px solid #ccc;*/
}
.big-figure.photo img.big-img {
  border-top: none;
  padding-top: 20px;
}
.big-figure + .big-figure {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.tsu-table h2 {
  padding-top: 0;
}

/*
    Figure captions
*/
@media (max-width: 600px) {
  .big-figure h2 {
    font-size: 24px;
  }

  .small-figure h2,
.big-figure h2 {
    line-height: 1.2;
  }
}
.filler_photo .caption {
  display: block;
}

/*
    Tables
*/
.tsu_table {
  position: relative;
  width: 100%;
  padding: 30px 0;
  border-top: 1px solid #ccc;
  border-top: none;
  border-bottom: 1px solid #ccc;
}
.tsu_table + .tsu_table {
  border-top: none;
}
.tsu_table .caption {
  margin-bottom: 0;
}
.tsu_table .figure-social-icons {
  right: 10px;
  margin-left: 10px;
  padding-top: 5px;
  padding-left: 10px;
}

td ul {
  padding-left: 20px;
}

/*
    TSU boxes
*/
aside.box {
  padding: 0;
  background-color: #f3f3f3;
  color: #333;
  margin: 40px 0;
  border: 1px solid #e3e3e3;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}
aside.box .big-figure {
  background-color: #f3f3f3;
  margin: 40px 0;
}
aside.box .big-figure .caption {
  margin-bottom: 10px;
  background: #fff;
}
@media (max-width: 480px) {
  aside.box .big-figure {
    padding: 20px 0 30px 0;
  }
}
aside.box .small-photo .photo-caption {
  background: #f3f3f3;
}
aside.box h2 {
  color: #164468;
  margin-top: 0;
  margin-bottom: 20px;
}
aside.box > h2 {
  color: #fff;
  background-color: #555;
  padding: 20px 30px;
  text-align: center;
}
aside.box .big-figure h2 {
  margin-bottom: 0;
}
aside.box .icon-share {
  margin-top: 0;
}
aside.box section.offset-lg-1.big-figure {
  margin-left: 0;
}
aside.box section.col-lg-7.big-figure {
  max-width: 100%;
}
@media (max-width: 991px) {
  aside.box {
    width: 100%;
  }
}
@media (max-width: 480px) {
  aside.box h2 {
    font-size: 24px;
  }
}
aside.box p:last-of-type {
  margin-bottom: 0;
}

aside.case-study {
  background-color: #f3f3f3;
}
aside.case-study .big-figure {
  background-color: #f3f3f3;
}
aside.case-study .small-photo .photo-caption {
  background-color: #f3f3f3;
}
aside.case-study > h2 {
  background-color: #2d5677;
}

.box-inner {
  padding: 0 30px 30px 30px;
}
@media (max-width: 480px) {
  .box-inner {
    padding: 0 10px 10px 10px;
  }
}

.float-left .big-figure, .float-right .big-figure {
  border: none;
}
.float-left .big-figure img.big-img, .float-right .big-figure img.big-img {
  border-top: none;
}
.float-left div.caption, .float-right div.caption {
  padding: 10px;
}

.float-right .big-figure {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/*
    Ugly green boxes (not in NCA4)
*/
.ugly-green {
  width: 100%;
  background-color: rgba(47, 86, 117, 0.7);
  border: 1px solid #2d5677;
  color: #fff;
  border-radius: 6px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  padding: 20px;
  vertical-align: middle;
  text-align: center;
}
.ugly-green h2 {
  color: #fff;
}
.ugly-green p {
  margin: 0;
}
.ugly-green a, .ugly-green a:hover {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
}

.group {
  border: none;
  margin: 10px 0;
}

.row-group {
  border: none;
}
.row-group h2 {
  color: #0058a6;
  font-size: 18px;
  padding-bottom: 0;
}

.row-group {
  border-top: 1px solid #aaa;
}

.row-group + .row-group {
  border-top: none;
}

.group-box {
  margin-top: 30px;
  border-bottom: 1px solid #aaa;
  border-radius: 8px;
}

/*
    Photos (not in NCA4)
*/
.small-photo {
  margin-bottom: 30px;
}
.small-photo p {
  width: 100%;
}
.small-photo img {
  width: 100%;
}
.small-photo .photo-caption {
  display: inline-block;
  background: #dadee5;
  font-size: 10px;
  line-height: 1.4;
  padding: 10px;
  width: 100%;
}

.photo-copyright-owner {
  margin-top: 10px;
  text-align: center;
  display: block;
}

.standalone-photo {
  width: 400px;
  margin: 100px 35%;
  /* needs work */
}

/*
    Interactive graphics
*/
p.interactive-graphic {
  width: 100% !important;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  padding: 20px 0;
  border-top: 1px solid #7daae4;
  border-bottom: 1px solid #7daae4;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
}

/*
    Zoom/shrink an image
*/
.view-figure {
  margin-top: 10px;
  display: inline-block;
  border: 1px solid #aaa;
  padding: 8px 10px;
}
.view-figure a {
  text-decoration: none;
}
.view-figure img {
  margin: 0;
  width: 16px;
}
.small-figure .view-figure {
  padding: 4px;
}
.small-figure .view-figure a {
  font-size: 14px;
}

a.shrink, a.expand {
  width: 16px;
  height: 16px;
  padding-left: 20px;
  color: #345b7b;
  border-bottom: none;
  font-family: Roboto, Helvetica, Arial, sans-serif;
}

a.expand {
  background: url(/icons/maximize.svg) no-repeat 0% 50%;
  background-size: 16px 16px;
  cursor: zoom-in;
}

a.shrink {
  background: url(/icons/minimize.svg) no-repeat 0% 50%;
  background-size: 16px 16px;
  cursor: zoom-out;
}

@media (max-width: 991px) {
  span.view-figure,
a.shrink,
a.expand {
    display: none;
  }

  aside.box a.shrink,
aside.box a.expand {
    display: inline;
  }
}
.big-figure .figure-social-icons img:last-of-type {
  margin: 0 !important;
}

.social-icons-figure, .download-list-icons,
.social-icons {
  min-width: 176px;
  z-index: 1002;
  line-height: 0;
  background-color: #0058a6;
  opacity: 0.9;
}

.download-list-icons,
.social-icons {
  display: none;
  position: absolute;
  top: -13px;
  left: -245px;
}

.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
*/
.twitter-icon, .facebook-icon, .link-icon, .email-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 {
  width: 100%;
  display: none;
  padding: 10px;
  border-top: 1px solid #fff;
}

.link-content input,
.email-content input {
  color: #333;
  width: 100%;
  padding: 5px;
}

/*
    Zoom the image
*/
.view-figure {
  margin-top: 10px;
  display: inline-block;
  border: 1px solid #2f5675;
  border: 1px solid #aaa;
  padding: 8px 10px;
}
.view-figure a {
  text-decoration: none;
}
.view-figure img {
  margin: 0;
  width: 16px;
}
.small-figure .view-figure {
  padding: 4px;
}
.small-figure .view-figure a {
  font-size: 14px;
}

@media (min-width: 992px) {
  .small-figure .figure-social-icons {
    xmargin-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;
  }
}