body.single-ipi_project #main {
  padding-left: 0px;
  margin-left: 200px;
}

body.single-ipi_project #main article {
  max-width: 1140px;
}

body.single-ipi_project #main article .entry-content .ipi-bp-row {
  display: flex;
}

body.single-ipi_project #main article .entry-content .ipi-bp-col1 {
  width: 60%;
  padding-right: 10px;
}

body.single-ipi_project #main article .entry-content .ipi-bp-col2 {
  width: 40%;
  padding-left: 10px;
}

#ipi-bp-main-img {
  position: relative;
}

#ipi-bp-main-img-credits {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 12px;
  background-color: rgba(0,154,178,0.4);
  padding: 0px 4px;
  color: white;
}

#ipi-bp-main-img img {
  width: 100%;
  vertical-align: middle;
}

#ipi-bp-ol p {
  color: white;
  padding: 20px;
  background-color: #009ab2;
}

#ipi-bp-quote {
  display: flex;
  padding-top: 20px;
}

#ipi-bp-text h2 {
  margin-bottom: 20px;
}

#ipi-bp-quote-content {
  width: 100%;
  padding-top: 10px;
}

#ipi-bp-quote-text {
  position: relative;
  margin-bottom: 15px;
}

#ipi-bp-quote-text p {
  font-style: italic;
}

#ipi-bp-quote-text p:first-child::before,
#ipi-bp-quote-text p:last-child::after {
  font-size: 80px;
  color: #009ab2;
  font-family: "Overpass-Reg";
  font-style: normal;
  height: 14px;
  line-height: 14px;
  opacity: 0.5;
}

#ipi-bp-quote-text p:first-child::before {
  content: "\201e";
  position: relative;
  top: -10px;
  left: -3px;
}

#ipi-bp-quote-text p:last-child::after {
  content: "\201c";
  float: right;
  position: absolute;
  bottom: -20px;
  margin-left: 3px;
}

#ipi-bp-quote-text p {
  margin-bottom: 0px;
}

#ipi-bp-quote-caption {
  font-weight: 500;
}

.ipi-bp-person {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 10%;
  position: relative;
}

.ipi-bp-person::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -14px;
  left: calc(50% - 10px);
  height: 2px;
  width: 20px;
  background-color: #009ab2;
}

.ipi-bp-person-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  margin: 0 auto 20px;
}

.ipi-bp-person-img img {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.ipi-bp-person-role {
  text-transform: uppercase;
  color: #999999;
  opacity: 0.8;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1;
  font-size: 14px;
}

.ipi-bp-person-name {
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.ipi-bp-person-jobtitle {
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
}

#ipi-bp-contacts {
  margin-bottom: 20px;
}

body.single-ipi_project #main article .entry-content #ipi-bp-contacts:not(h2):not(h3) > a#ipi-bp-contact-email,
body.single-ipi_project #main article .entry-content #ipi-bp-contacts:not(h2):not(h3) > a#ipi-bp-website-link,
body.single-ipi_project #main article .entry-content #ipi-bp-contacts:not(h2):not(h3) > a.ipi-bp-read-more-link,
body.single-ipi_project #main article .entry-content #ipi-bp-contacts:not(h2):not(h3) a.ipi-bp-read-more-link {
  color: black;
  font-weight: 500;
  box-shadow: none!important;
  background-color: transparent!important;
  text-align: center;
  display: block;
  font-size: 22px;
}

#ipi-bp-contact-email::before {
  content: "\f0e0";
  font-family: 'FontAwesome';
  margin-right: 4px;
}

#ipi-bp-website-link::before {
  content: "\f0ac";
  font-family: 'FontAwesome';
  margin-right: 4px;
}

.ipi-bp-read-more-link::before {
  content: "\f08e";
  font-family: 'FontAwesome';
  margin-right: 4px;
}

.ipi-project-custom-link {
  margin: 10px 10%;
  position: relative;
}

.ipi-project-custom-link .ipi-bp-read-more-link {
    color: black;
    font-weight: 500;
    box-shadow: none!important;
    background-color: transparent!important;
    text-align: center;
    display: block;
    font-size: 22px;
}

.ipi-project-custom-link.image-pos-behind .ipi-bp-read-more-link {
  display: block;
  color: white;
  position: absolute;
  padding: 10px;
  text-shadow: 0 0 5px black;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.ipi-project-custom-link > div > a {
  background-color: transparent!important;
  display: block;
}

.project-video {
  margin-bottom: 20px;
}

.project-video video {
  width: 100%;
}

.project-video.embed {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.project-video.embed iframe {
  width: 100%!important;
  height: 100%!important;
  position: absolute;
  top: 0px;
  left: 0px;
}

.project-video.embed iframe body {
  overflow: hidden;
}

.single.single-ipi_project .entry-image--landscape .entry-header,
.single.single-ipi_project .entry-image--wide .entry-header {
  margin-right: 0px;
  margin-left: 0px;
}

body.single-ipi_project #gallery,
#gallery {
  list-style: none;
  padding-left: 0px;
  display: flex;
  flex-wrap: wrap;
}

body.single-ipi_project #main article .entry-content #gallery li a:not([class]),
#main article .entry-content #gallery li a:not([class]) {
  padding-left: 0px;
  padding-right: 0px;
  box-shadow: none!important;
  background-color: transparent!important;
  display: block;
}

body.single-ipi_project #gallery li,
#gallery li {
  max-width: calc((100% - 10px) / 3);
  padding-bottom: 0px;
  cursor: pointer;
}

body.single-ipi_project #gallery li a:hover,
#gallery li a:hover {
  padding-left: 0px;
  padding-right: 0px;
  box-shadow: none!important;
  background-color: transparent!important;
}

body.single-ipi_project #gallery li img,
#gallery li img {
  vertical-align: middle;
}

#project-img-slider {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0px;
  left: 0px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 10000;
}

body.admin-bar #project-img-slider {
  height: calc(100vh - 32px);
  top: 32px;
}

#project-img-slider .img-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: fit-content;
  width: -moz-fit-content;
}

#project-img-slider .img-wrap img {
  vertical-align: middle;
}

#project-img-slider .img-wrap .img-credits {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 12px;
  background-color: rgba(0,154,178,0.4);
  padding: 0px 4px;
  color: white;
}

#project-img-slider .slider-close {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 25vw;
  height: 100px;
  opacity: 0.8;
  transition: opacity 0.4s;
  z-index: 100;
  cursor: pointer;
}

#project-img-slider .slider-close::before {
  content: '\f00d';
  font-family: 'FontAwesome';
  font-size: 50px;
  color: white;
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
}

#project-img-slider .slider-prev,
#project-img-slider .slider-next {
  position: absolute;
  height: 100vh;
  width: 25vw;
  top: 0px;
  opacity: 0.5;
  transition: opacity 0.4s;
  z-index: 10;
  cursor: pointer;
}

#project-img-slider .slider-prev {
  left: 0px;
}

#project-img-slider .slider-next {
  right: 0px;
}

#project-img-slider .slider-prev::before {
  content: "\f053";
  font-family: 'FontAwesome';
  font-size: 50px;
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

#project-img-slider .slider-next::before {
  content: "\f054";
  display: block;
  font-family: 'FontAwesome';
  font-size: 50px;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

#project-img-slider .slider-next:hover,
#project-img-slider .slider-prev:hover,
#project-img-slider .slider-close:hover {
  opacity: 1;
}

@media only screen and (max-width: 899px) {
  body.admin-bar #project-img-slider {
    height: 100vh;
    top: 0px;
  }

  #project-img-slider .slider-prev,
  #project-img-slider .slider-next {
    width: 50vw;
  }

  #project-img-slider .slider-prev::before {
    left: 10px;
  }

  #project-img-slider .slider-next::before {
    right: 10px;
  }

  #project-img-slider .slider-close {
    width: 50vw;
  }

  #project-img-slider .slider-close::before {
    right: 10px;
    transform: translateY(-50%);
  }
}

#project-meta {
  display: flex;
  flex-wrap: wrap;
}

#project-meta > div,
#project-meta > a {
  display: block;
  padding: 1px 6px;
  border-radius: 10px;
  background-color: #c4c4c4;
  font-weight: 500;
  margin-right: 10px;
  color: white;
  margin-top: 5px;
  font-size: 14px;
  opacity: 0.8;
}

#project-meta > .ipa-prog,
#project-meta > .ipa-cat {
  background-color: #009ab2;
  opacity: 0.6;
}

#project-meta > a {
  transition: opacity 0.4s;
}

#project-meta > a:hover {
  opacity: 1;
}

#project-meta > div:last-child,
#project-meta > a:last-child {
  margin-right: 0px;
}

#related-projects {
  margin-top: 60px;
  padding: 20px;
  background-color: #F7F7F7
}

#related-projects > h2 {
  margin-top: 0px;
  color: black;
}

#related-projects > h2 a {
  padding-left: 0px;
  padding-right: 0px;
  font-weight: 400;
}

#related-projects .project-list {
  display: flex;
  justify-content: space-between;
}

#related-projects .related-project {
  width: 30%;
}

body.single-ipi_project #main article .entry-content #related-projects a:not([class]) {
  padding-left: 0px;
  padding-right: 0px;
  box-shadow: none!important;
  background-color: transparent!important;
}

body.single-ipi_project #related-projects a:hover {
  padding-left: 0px;
  padding-right: 0px;
  box-shadow: none!important;
  background-color: transparent!important;
}

.related-project-image {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.related-project-image img {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: scale(1.01) translate(-50%, 0%);
}

.related-project h2 {
  font-size: 18px;
  margin: 10px 0px;
}

.project-media-dl video {
  width: 100%;
  display: block;
}

#social-media-check {
  position: relative;
}

#ipi_bp_winner_video {
  position: relative;
  padding-bottom: 56.25%;
  margin-bottom: 0px;
}

#ipi_bp_winner_video iframe {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

#ipi-finalist-address {
  color: black;
  margin-bottom: 15px;
}

#ipi-finalist-address-form input[type="submit"] {
  box-shadow: none!important;
  background-color: #009ab2!important;
  width: 100%;
  border: 2px solid white;
  transition: background-color 0.4s, color 0.4s;
  display: block;
  text-align: center;
  color: white;
  padding: 6px 12px;
  margin-bottom: 20px;
  max-width: 500px;
  float: left;
}

#ipi-finalist-address-form input[type="submit"]:hover {
  box-shadow: none!important;
  background-color: white!important;
  color: #009ab2;
}

.ipi_finalist_address_saved {
  display: block;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  padding: 6px 12px;
  color: #009ab2;
  background-color: white;
  max-width: 500px;
}

#bp-edit-button {
  border: 1px solid #009ab2;
  background-color: white;
  color: #009ab2;
  padding: 6px 12px;
  transition: background-color 0.4s, color 0.4s;
  margin: 10px 0;
}

#bp-edit-button:hover {
  background-color: #009ab2;
  color: white;
}

@media only screen and (max-width: 899px) {
  body.single-ipi_project #main {
    padding-left: 0px;
    margin-left: 0px;
  }

  body.single-ipi_project #main article {
    max-width: 100%;
  }

  body.single-ipi_project #main article .entry-content .ipi-bp-row {
    display: block;
  }

  body.single-ipi_project #main article .entry-content .ipi-bp-col1 {
    width: 100%;
    padding-right: 0px;
  }

  body.single-ipi_project #main article .entry-content .ipi-bp-col2 {
    width: 100%;
    padding-left: 0px;
  }

  #ipi-bp-quote {
    display: block;
    margin-bottom: 30px;
  }

  #ipi-bp-quote-img {
    margin-right: auto;
    margin-left: auto;
  }

  #ipi-bp-quote-content {
    width: calc(100%);
    padding-top: 10px;
  }

  #related-projects .project-list {
    display: block;
  }

  #related-projects .related-project {
    width: 100%;
  }
}
