/**publications carousel*/
.node--type-project .publications {
  background-color: #212330;
  padding: 0px 0px 50px 0px;
}

.node--type-project .resources .view-display-id-resources_publications .view-content>div,
.node--type-project .publications .slick-slide {
  background: #404253 url(../assets/pattern-lines-white.png) repeat-y;
  min-height: 350px;
  border-radius: 8px;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  padding: 0px 40px 0px 40px;
}


.node--type-project .resources .view-display-id-resources_publications .view-content>div .row,
.node--type-project .publications .slick-slide .row {
  width: 100%;
}

.node--type-project #resources .view-display-id-resources_publications .view-content>div .col-md-8,
.node--type-project .publications .slick-slide .row .col-md-8 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 60px 30px 80px;
}



.node--type-project .publications .slick-slide .publication-cover:before {
  content: "";
  width: 6px;
  height: 50%;
  display: inline-block;
  position: absolute;
  right: -6px;
  top: 2px;
  background: linear-gradient(to right, #b6b6b6, #e6e6e6);
  transform: skew(0deg, 40deg);
}

.node--type-project .slick-track {
  padding: 48px 0px 16px 0px;
}

.node--type-project #resources .view-display-id-resources_publications .view-content>div:after,
.node--type-project .publications .slick-slide:after {
  content: "";
  background: var(--publicationsBg);
  width: 97%;
  height: 9px;
  position: absolute;
  bottom: -8px;
  left: 50%;
  border-radius: 0px 0px 8px 8px;
  transform: translate(-50%);
  z-index: 100;
  box-shadow: inset 0px 2px 3px rgba(0,0,0,0.13);
}

.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-8 a,
.node--type-project .publications .slick-slide a {
  line-height: 2.5rem;
  font-size: 1.9375rem;
  color: var(--darkGrey);
  font-weight: 600;
  color: #fff;
  font-family: merriweather;
  display: block;
}


.node--type-project .publications .date-box span,
.node--type-project .resources .date-box span,
.node--type-project .resources .date-box time,
.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-8 time,
.node--type-project .publications .slick-slide time,
.node--type-project .publications .slick-slide>span {
  color: #d8d8d8;
  display: block;
  font-size: var(--small-font-size);
  font-family: ubuntu;
}


.node--type-project .topic {
  top: 43px;
  right: 30px;
}

.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4,
.node--type-project .publications .col-md-4 {
  position: relative;
  top: -50px;

}



.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 .image:before,
.node--type-project .publications .col-md-4 .image::before {
  width: 456px;
  height: 367px;
  position: absolute;
  left: 47px;
  top: 0;
  content: "";
  background: url(../assets/bg-publication-medium.png);
  background-position: bottom center;
  background-size: contain;
  background-repeat: no-repeat;
}

.node--type-project .resources .view-display-id-resources_publications .view-content .image,
.node--type-project .publications .image {
  margin-left: 77px;
  display: block;
}

.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 a,
.node--type-project .publications .col-md-4 a {
  background: linear-gradient(-15deg, #e4e4e4, #f6f6f6);
  display: block;
  width: 242px;
  height: 344px;
  position: relative;
  overflow: hidden;
}

.node--type-project .publications .col-md-4 a {
  width: 242px;
  height: 341px;
  left: 1px;
  top: 2px;
}



.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 img,
.node--type-project .publications .col-md-4 img {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

.node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 a:empty:after,
.node--type-project .publications .col-md-4 a:empty:after {
  content: "no image";
  color: #4e6070;
  position: absolute;
  font-family: "playfair display";
  font-size: 1.5rem;
  top: 50%;
  font-weight: 400;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 9;
}

.node--type-project .publications .node--type-organization {
  margin: 0;
}

.node--type-project .resources .node--type-organization .container,
.node--type-project .publications .node--type-organization .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 0;

}

.node--type-project .resources .node--type-organization img,
.node--type-project .publications .node--type-organization img {
  max-height: 60px;
  width: auto;
}


.node--type-project .publications .node--type-organization a {
  margin: 0;
}

.node--type-project .publications .label-institution {
  color: #d8d8d8;
}

.node--type-project .resources .view-display-id-resources_publications .view-content .publication-vertical,
.node--type-project .publications .publication-vertical {
  font-size: var(--small-font-size);
  color: #c4c4c4;
  font-weight: 200;
  font-style: italic;
  font-family: merriweather;
  position: absolute;
  transform: rotate(-90deg);
  transform-origin: top right;
  top: 136px;
  left:94px;
  text-align: right;
  display: block;
  width: 90px;
}

.node--type-project .publications .field--name-title {
  max-width: 290px;
  color: #dddddf;
  font-weight: 100;
  line-height: 1.2rem;
  font-size: 11px;
}

.node--type-project .resources .publication-external:after,
.node--type-project .publications .publication-external:after {
  content: "external";
  color: #fff;
  background: var(--publicationsBg);
  position: absolute;
  right: -56px;
  padding: 10px 27px 10px 15px;
  border-radius: 5px 0px 0px 5px;
  font-family: "playfair display";
  font-size: var(--xsmall-font-size);

}



/*pubblication in resources del singolo project*/

.node--type-project #resources .view-display-id-resources_publications .view-content>div {
  background: #fff url(../pattern-lines.png) top left repeat-y;
  margin: 70px 0px 130px 0px;
  box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.11);
}
.node--type-project #resources .view-display-id-resources_publications .view-content>div:last-child{
  margin-bottom: 0;
}

.node--type-project #resources .view-display-id-resources_publications .view-content>div .col-md-8 article {
  margin: 0;
}

.node--type-project #overview .node--type-organization .node__content.container .node--type-project #resources .node--type-organization .node__content.container {
  padding-left: 0;
  display: flex;
  align-items: center;
}



.node--type-project .date-box {
  display: flex;
  color: #d8d8d8;
}

.node--type-project .date-box {
  margin-bottom: 9px;
}

.node--type-project .date-box span,
.node--type-project .date-box time {
  margin: 0;
  display: inline-block;
}

.node--type-project .date-box span {
  margin-right: 8px;
}

.node--type-project #resources .date-box .pub-release-date-light,
.node--type-project .publications .slick-slide span {
  margin-right: 7px;
}

.node--type-project #resources .view-display-id-resources_publications .label-institution,
.node--type-project .publications .slick-slide .label-institution {
  margin-top: 40px;
}


.node--type-project #resources .view-display-id-resources_publications .view-content>div .col-md-8 a {
  color: var(--darkGrey);
}

.node--type-project #resources .date-box span,
.node--type-project #resources .date-box .pub-release-date-light,
.node--type-project #resources time {
  color: var(--darkGrey);
}




@media (max-width:1200px) {

  .node--type-project .resources .view-display-id-resources_publications .view-content .publication-vertical,
  .node--type-project .publications .publication-vertical {
    top: 82px;
    left: -77px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content .image,
  .node--type-project .publications .image {
    margin-left: 38px;
    display: block;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 .image:before,
  .node--type-project .publications .col-md-4 .image::before {
    left: 9px;
  }

  .node--type-project .resources .publication-external:after,
  .node--type-project .publications .publication-external:after {
    bottom: 24px;
  }

}


@media (max-width:1100px) {
  .node--type-project #main .publications .col-auto.views-element-container {
    margin: 0 auto;
    width: 90%;
  }

  .node--type-project .resources .publication-external:after,
  .node--type-project .publications .publication-external:after {
    bottom: 30px;
  }


  .node--type-project .resources .view-display-id-resources_publications .view-content .image,
  .node--type-project .publications .image {
    transform-origin: left;
  }

}

@media (max-width:992px) {

  .node--type-project #resources .view-display-id-resources_publications .view-content>div .col-md-8,
  .node--type-project .publications .slick-slide .row .col-md-8 {
    padding-left: 30px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content .image,
  .node--type-project .publications .image {
    transform: scale(0.8);
    position: relative;
    top: -40px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 .image:before,
  .node--type-project .publications .col-md-4 .image::before {
    left: -44px;

  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4,
  .node--type-project .publications .col-md-4 {
    top: -10px;
    left: -8px;
  }

  .node--type-project .carousel-single .slick-next.slick-arrow {
    top: -60px;
    right: 0px;
    left: auto;
    margin: 0;
  }

  .node--type-project .carousel-single .slick-prev.slick-arrow {
    top: -60px;
    left: auto;
    position: absolute;
    right: 70px;
  }

  .node--type-project #main .col-auto.views-element-container {
    width: 100%;
  }
}

@media (max-width:768px) {

  .node--type-project .resources .view-display-id-resources_publications .view-content .image,
  .node--type-project .publications .image {
    transform: scale(0.8);
    position: relative;
    top: -40px;
  }


  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4 .image:before,
  .node--type-project .publications .col-md-4 .image::before {
    left: -28px;
    width: 278px;
    top: -150px;
    height: 372px;
  }



  .node--type-project .resources .view-display-id-resources_publications .view-content .image a,
  .node--type-project .publications .image a {
    transform: scale(1.3);
    top: 0px;
    width: 146px;
    height: 207px;
    position: relative;
    transform-origin: left top;
  }


  .node--type-project #resources .view-display-id-resources_publications .view-content>div .col-md-8,
  .node--type-project .publications .slick-slide .row .col-md-8 {
    position: relative;
    top: 0;
    padding: 0 18px 22px 13px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4,
  .node--type-project .publications .col-md-4 {
    top: -30px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-8 a,
  .node--type-project .publications .slick-slide a {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  .node--type-project .date-box {
    font-size: 1.2rem;

  }

  .node--type-project .carousel-single .slick-prev.slick-arrow,
  .node--type-project .carousel-single .slick-next.slick-arrow {
    transform: scale(0.75);
    transform-origin: center;
  }

  .node--type-project .carousel-single .slick-next.slick-arrow {
    top: -87px;
  }

  .node--type-project .carousel-single .slick-prev.slick-arrow {
    top: -87px;
    right: 53px;
  }
}

@media (max-width:576px) {

  .node--type-project .resources .view-display-id-resources_publications .view-content>div,
  .node--type-project .publications .slick-slide {
    padding: 0px 20px;
  }

  .node--type-project .slick-track {
    padding: 16px 0px 16px 0px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .row,
  .node--type-project .publications .slick-slide .row {
    margin: 0;
  }

  .node--type-project .topic {
    top: 22px;
    right: 5px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div,
  .node--type-project .publications .slick-slide {
    background-position: -10px;
  }

  .node--type-project .resources .view-display-id-resources_publications .view-content>div .col-md-4,
  .node--type-project .publications .col-md-4 {
    top: 0;
    padding: 0;
  }

  .node--type-project #resources .view-display-id-resources_publications .view-content>div .col-md-8,
  .node--type-project .publications .slick-slide .row .col-md-8 {
    padding: 0;
  }
}


@media (max-width:480px) {
  .node--type-project .publications .image a {
    top: 140px;
    width: 146px;
    height: 207px;
  }
}
