.node--type-person #main-wrapper {
  padding-bottom: 0;
}

.node--type-person article.node--type-person {
  background: transparent;
  display: block;
  border-radius: 0;
  padding: 0;
  min-height: 0;
}

.node--type-person article.node--type-person header div>div.row {
  display: flex;
}

.subheading {
  position: relative;
}

.node--type-person header h2 {
  margin-top: 22px;
  font-size: 60px;
  color: var(--darkGrey);
  font-family: "Playfair Display";
  text-transform: none;
  padding-right: 0px;
}

.node--type-person header h3 {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--green);
  font-family: "Merriweather";
}

.node--type-person .box-right {
  display: flex;
  flex-direction: column;
  justify-content: right;
  align-items: flex-end;
}

.node--type-person .contacts-box {
  display: flex;
  margin-top: 40px;
  border-radius: 8px;
}

.node--type-person .contacts-box>div {
  margin-right: 50px;
}

.node--type-person .contacts-box .field--name-field-person-email .field__item {
  font-size: var(--normal-font-size);
  color: var(--green);
  font-family: "Ubuntu";
  font-weight: 500;
  margin-bottom: 5px;
}

.node--type-person .contacts-box .field__label {
  font-size: var(--normal-font-size);
  color: var(--darkGrey);
  font-family: "Playfair Display";
  margin-bottom: 20px;
}

.field--name-field-social-youtube.field--type-link,
.field--name-field-social-facebook.field--type-link,
.field--name-field-social-instagram.field--type-link,
.field--name-field-social-twitter.field--type-link,
.field--name-field-social-linkedin.field--type-link,
.field--name-field-social-rss.field--type-link,
.field--name-field-person-website.field--type-link,
.field--name-field-social-itunesu.field--type-link {
  display: block;
  margin: 0px;
  min-height: 0;
  position: relative;
  top: -22px;
  display: inline-block;
}

.field--name-field-social-youtube.field--type-link a,
.field--name-field-social-facebook.field--type-link a,
.field--name-field-social-instagram.field--type-link a,
.field--name-field-social-twitter.field--type-link a,
.field--name-field-social-linkedin.field--type-link a,
.field--name-field-social-rss.field--type-link a,
.field--name-field-person-website.field--type-link a,
.field--name-field-social-itunesu.field--type-link a {
  font-size: 0;
  padding: 0;
  margin: 0 2px 0 0;
  width: 50px;
  height: 50px;
  position: relative;
}

.field--name-field-social-youtube.field--type-link::before,
.field--name-field-social-facebook.field--type-link::before,
.field--name-field-social-instagram.field--type-link::before,
.field--name-field-social-twitter.field--type-link::before,
.field--name-field-social-linkedin.field--type-link::before,
.field--name-field-social-rss.field--type-link::before,
.field--name-field-person-website.field--type-link::before,
.field--name-field-social-itunesu.field--type-link::before {

  display: none;
}

.field--name-field-social-youtube.field--type-link a::after,
.field--name-field-social-facebook.field--type-link a::after,
.field--name-field-social-instagram.field--type-link a::after,
.field--name-field-social-twitter.field--type-link a::after,
.field--name-field-social-linkedin.field--type-link a::after,
.field--name-field-social-itunesu.field--type-link a::after,
.field--name-field-social-rss.field--type-link a::after,
.field--name-field-person-website.field--type-link a::after {
  content: "";
  background: url(../spritesheet.png);
  background-position: -222px -255px;
  width: 88px;
  height: 86px;
  display: block;
  transform-origin: top;
  position: absolute;
  left: -13px;
  top: 0px;
  transform: scale(0.5);
}

.field--name-field-social-facebook.field--type-link a::after {
  background-position: -322px -254px;
}

.field--name-field-social-facebook.field--type-link:hover a::after {
  background-position: -322px -351px;
}

.field--name-field-social-instagram.field--type-link a::after {
  background-position: -420px -254px;
}

.field--name-field-social-instagram.field--type-link:hover a::after {
  background-position: -420px -351px;
}

.field--name-field-social-twitter.field--type-link a::after {
  background-position: -222px -258px;
}

.field--name-field-social-twitter.field--type-link:hover a::after {
  background-position: -222px -350px;
}

.field--name-field-social-linkedin.field--type-link a::after {
  background-position: -524px -254px;
}

.field--name-field-social-linkedin.field--type-link:hover a::after {
  background-position: -524px -351px;
}

.field--name-field-social-youtube.field--type-link a::after {
  background-position: -524px -43px;
}

.field--name-field-social-youtube.field--type-link:hover a::after {
  background-position: -524px -142px;
}


.field--name-field-social-rss.field--type-link a::after {
  background-position: -106px -548px;
}

.field--name-field-social-rss.field--type-link:hover a::after {
  background-position: -106px -648px;
}

.field--name-field-person-website.field--type-link a::after {
  background-position: 0px -548px;
}

.field--name-field-person-website.field--type-link:hover a::after {
  background-position: -1px -644px;
}

.field--name-field-social-itunesu.field--type-link a::after {
  background-position: -870px -548px;
}

.field--name-field-social-itunesu.field--type-link:hover a::after {
  background-position: -870px -647px;
}







body.node--type-person .main body.node--type-person .aside {
  display: block;
}

body.node--type-person .main {
  padding-left: 0;
}

body.node--type-person .aside img {
  margin-bottom: 15px;
}

body.node--type-person .aside .view-organization-by-person .views-row {
  margin-bottom: 3rem;
}

body.node--type-person .field--name-field-person-photo img {
  width: 100%;
  height: auto;
}

body.node--type-person .aside .views-field-field-par-role-pers-role {
  font-size: var(--large-font-size);
  color: var(--green);
  font-family: "Merriweather";
  margin-bottom: 5px;
  line-height: 1.4rem;
  font-weight: 500;
}

.node--type-person .field--name-field-person-biography .field__label,
.node--type-person .field--name-body .field__label,
.node--type-person .aside h3 {
  font-size: var(--large-font-size);
  color: var(--darkGrey);
  font-family: "Playfair Display";
  margin-bottom: 20px;
}

.node--type-person .view-header {
  padding-bottom: 0px;
}

.node--type-person .field--type-link::before {
  display: none;
}

.node--type-person article.node--type-person .node__content {
  display: block;
}

.node--type-person header .field--name-field-person-photo {
  position: relative;
  right: 40px;
  top: 0;
  width: 230px;
  height: 230px;
  float: none;
  margin: 0;
  border-radius: 270px;
}

.occupation-box .views-field-field-par-role-pers-role {
  font-size: var(--large-font-size);
  font-weight: 400;
  color: var(--green);
  font-family: "Merriweather";
}

.occupation-box img {
  width: auto;
  max-height: 60px;
}

.node--type-person .activities {
  padding: 20px 0px 40px;
  background: url(../pattern-bg.png);
}

.node--type-person .activities h3 {
  margin: 30px 10px -15px;
}

.node--type-person .activities .container {
  padding: 0;
}

.node--type-person .activities .views-row {
  padding: 24px 88px 38px 48px;
  position: relative;
  margin: 40px 0;
  background: #fff url(../pattern-resources-lines.png) repeat-y;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.19);
}

.node--type-person .activities .view-display-id-person_reference_projects .views-row {
  background: #f3f0ed url(../assets/bg-related-project-tiles-waves.png) bottom center no-repeat;
}

.node--type-person .view-display-id-person_reference_publications .views-row:after {
  background: var(--publicationsBg);
}

.node--type-person .view-display-id-person_reference_events .views-row:after {
  background: var(--eventsBg);
}

.node--type-person .view-display-id-person_reference_projects .views-row:after {
  background: var(--green);
}

.node--type-person .view-news-related-to-ypl-person .views-row:after {
  background: var(--news_news);
}

.node--type-person .activities .views-row:after {
  content: "";
  width: 98%;
  height: 9px;
  position: absolute;
  bottom: -9px;
  left: 50%;
  border-radius: 0px 0px 8px 8px;
  transform: translate(-50%);
  box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.071) inset;
}


.node--type-person .activities .views-row .field-content a {
  color: #2E2E2E;
  font-family: Merriweather;
  margin: 9px 0px 0px 0px;
  display: block;
  font-size: var(--large-font-size);
}

.node--type-person .views-field-field-event-start-date,
.node--type-person .views-field-field-event-end-date {
  display: inline-block;
  margin-right: 15px;
  position: relative;
}

.node--type-person .views-field-field-event-start-date:after {
  content: "-";
  display: inline-block;
  position: absolute;
  right: -10px;
  top: 0;
  font-family: Ubuntu;
  font-size: var(--normal-font-size);
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
}


.node--type-person .views-field-field-publication-copyright-date div,
.node--type-person .views-field-field-publication-copyright-date span {
  display: inline-block;
  margin-right: 5px;
  font-size: var(--small-font-size);

}


.node--type-person .view-display-id-person_reference_events time {
  font-family: Ubuntu;
  font-size: var(--normal-font-size);
  color: var(--green);
  font-weight: 800;
  display: block;
  text-transform: uppercase;
}

.node--type-person .view-display-id-person_reference_projects time {
  display: inline;
  background-color: var(--green);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: Ubuntu;
  font-size: var(--xsmall-font-size);
}

.node--type-person .main .file::before {
  left: 0;
}

.field--name-field-person-cv {
  margin: 4rem 0 3rem 0;
  position: relative;
}

.field--name-field-person-cv>div {
  background-image: none;
  height: 100px;
  display: flex;
  align-items: center;
}

.node--type-person .main .file::before {
  background: url(../resources-pdf.png);
  top: 50%;
  transform: translateY(-50%) scale(0.5);
  position: absolute;
  transform-origin: left center;
}

.node--type-person .main .file a::before {
  content: "Curriculum Vitae";
  visibility: visible;
}


.node--type-person .file a {
  margin-left: 103px;
  visibility: hidden;
  font-style: normal;
  font-size: var(--medium-font-size);
  color: var(--darkGrey);
  font-family: "merriweather";
  line-height: 1.5;
}

@media (max-width:992px) {
  .node--type-person .activities {
    padding: 20px 15px 40px;
  }

  .node--type-person article.node--type-person {
    margin: 0 15px;
  }

  .node--type-person article.node--type-person .row {
    margin: 0;
  }
}

@media (max-width:768px) {
  .node--type-person .activities .views-row {
    padding: 24px 28px 38px 31px;
  }

  .node--type-person article.node--type-person header div>.row {
    display: flex;
    flex-direction: column-reverse;
  }

  .node--type-person header h2 {
    padding-right: 0px;
  }

  .node--type-person .box-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  body:not(.node--type-person) article.node--type-person img,
  .field--name-field-person-photo img {
    margin-right: 0;
  }

  .node--type-person header h2 {
    font-size: 3rem;
  }

  .node--type-person header h3 {
    font-size: 1.55rem;
  }

  .node--type-person .contacts-box .field--name-field-person-email .field__item {
    font-size: var(--large-font-size);
  }

  .node--type-person .contacts-box .field__label,
  .node--type-person .field--name-field-person-biography .field__label,
  .node--type-person .field--name-body .field__label,
  .node--type-person .aside h3 {
    font-size: 1.5rem;
  }
}





/* ---------------- NOMINEE PAGE ---------------- */
.node--type-nominee .video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 100px auto 0 auto;
}

.node--type-nominee .video-container .play-pause-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--green);
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: none;
  color: "#fff";
  font-size: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 33.33%;
  cursor: pointer;
}

.node--type-nominee .video-container .play-pause-btn.play {
  background-image: url(../assets/iap-play.png);
  opacity: 1;
}

.node--type-nominee .video-container .play-pause-btn.pause {
  background-image: url(../assets/iap-pause.png);
  opacity: 0;
}

.node--type-nominee .video-container:hover .play-pause-btn.pause {
  opacity: 1;
}