.page-node-type--spoke {
  overflow-x: hidden;
}

.page-node-type--spoke .coordinator-section .col-12.col-lg-4 {
  padding: 0;
  padding-right: 30px;
}


/*
MAIN IMAGE
*/

.page-node-type--spoke .node--type-spoke {
  margin-top: 0px;
}

/* .page-node-type--spoke main {
  padding-top: 110px;
} */

/* .page-node-type--spoke .node__content>.field--name-field-image {
  position: absolute;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
} */

/* .page-node-type--spoke .node__content>.field--name-field-image {
  top: 80px;
  max-height: 94px;
} */
.page-node-type--spoke .before-content-full-width__wrapper .view-spokes.view-display-id-block_2 { height: 94px; }

.page-node-type--spoke .before-content-full-width__wrapper .view-spokes.view-display-id-block_2 div,
.page-node-type--spoke .before-content-full-width__wrapper .view-spokes.view-display-id-block_2 img
/* .page-node-type--spoke .node__content>.field--name-field-image img */ {
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: cover;
  object-position: center center;
}


@media (min-width:992px) {
  /* .page-node-type--spoke main { padding-top: 250px; } */
  /* .page-node-type--spoke .node__content>.field--name-field-image {
    top: 182px;
    max-height: 250px;
  } */
  .page-node-type--spoke .before-content-full-width__wrapper .view-spokes.view-display-id-block_2 { height: 250px; }
}

@media (min-width:1024px) {
  /* .page-node-type--spoke .node__content>.field--name-field-image {
    top: 182px;
    max-height: 320px;
  } */
  .page-node-type--spoke .before-content-full-width__wrapper .view-spokes.view-display-id-block_2 { height: 320px; }
}


/* .user-logged-in.page-node-type--spoke .node__content>.field--name-field-image { display: none !important; } */

@media (min-width:1200px) {
  /* .page-node-type--spoke main { padding-top: 330px; } */
  /* .page-node-type--spoke .node__content>.field--name-field-image {
    top: 237px;
    max-height: 330px;
  } */
  .page-node-type--spoke .before-content-full-width__wrapper .view-spokes.view-display-id-block_2 { height: 330px; }
}


/* TITLE */
.block-page-title-block H1 span { color: #000; }


/* SHORT TITLE */
.page-node-type--spoke .block-page-title-block .field--name-field-short-title {
  color: #404040;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
  position: relative;
  padding-left: 24px;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.page-node-type--spoke .block-page-title-block .field--name-field-short-title::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 20px;
  top: 0px;
  left: 0;
}


.short-title-container.information-processing-and-communication > div:before{
  background-color: var(--wb-1);
}
.short-title-container.simulation-sensing-and-metrology > div:before{
  background-color: var(--wb-2);
}
.short-title-container.atom-based > div:before{
  background-color: var(--wb-3);
}
.short-title-container.photon-based > div:before{
  background-color: var(--wb-4);
}
.short-title-container.electron-based > div:before{
  background-color: var(--wb-5);
}
.short-title-container.integration > div:before{
  background-color: var(--wb-6);
}
.short-title-container.complete-system > div:before{
  background-color: var(--wb-7);
}
.short-title-container.technology-transfer > div:before{
  background-color: var(--wb-8);
}
.short-title-container.education-and-outreach > div:before{
  background-color: var(--wb-9);
}



.page-node-type--spoke.information-processing-and-communication .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.information-processing-and-communication .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-1);
}
.page-node-type--spoke.simulation-sensing-and-metrology .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.simulation-sensing-and-metrology .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-2);
}
.page-node-type--spoke.atom-based .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.atom-based .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-3);
}
.page-node-type--spoke.photon-based .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.photon-based .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-4);
}
.page-node-type--spoke.electron-based .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.electron-based .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-5);
}
.page-node-type--spoke.integration .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.integration .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-6);
}
.page-node-type--spoke.complete-system .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.complete-system .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-7);
}
.page-node-type--spoke.technology-transfer .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.technology-transfer .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-8);
}
.page-node-type--spoke.education-and-outreach .before-content-full-width__wrapper .view-spokes.view-display-id-block_2,
.page-node-type--spoke article.education-and-outreach .node__content > .field--name-field-image {
  border-bottom: 6px solid var(--wb-9);
}







/*
METADATI PERSONA
*/


.coordinator-section {
  margin-bottom: 3rem;
}

.node--type-spoke .avatar-upload-wrapper.size-sm .avatar {
  width: 66PX;
  height: 66PX;
}

.node--type-spoke .field--name-field-coordinator-photo {
  position: relative;
  height: 100%;
  width: 100%;
}

.avatar-upload-wrapper {
  margin-right: 20px;
}

.node--type-spoke .field--name-field-coordinator-photo img {
  position: absolute;
  top: 0;
  left: 0;
}

.container-dati {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container-dati svg {
  fill: #003366;
  width: 24px;
  margin-right: 10px;
}

.container-dati .item {
  display: flex;
  align-items: center;
}

.container-dati .item a {
  color: #003366;
  text-decoration: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px;
  transition: 0.2s ease;
}

.container-dati .item a:hover {
  opacity: 0.8;
}

.field--name-field-coordinator-name {
  color: #1A1A1A;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.label-coordinator {
  color: #004D99;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 7px;
  margin-top: 6px;
}


@media (min-width:1200px) {

  body .coordinator-section .node--type-partner {
    display: block;
  }

  .node--type-spoke .avatar-upload-wrapper.size-sm .avatar {
    width: 120px;
    height: 120px;
  }

  .field--name-field-coordinator-name {
    font-size: 28px;
  }

  .person-conatiner {
    border-right: 1px solid #d7d7d7;
  }

}


/*
SPOKE LEADER OVERWRITE PARTNER CSS
*/

.coordinator-section .node--type-partner {
  display: none;
}

.field--name-field-ref-partner-leader .node--type-partner .card.card-bg {
  padding: 0;
  box-shadow: none;
  flex-direction: row;
}

.field--name-field-ref-partner-leader .card .img-responsive-wrapper {
  width: 250px;
  margin-right: 2rem;
}

.field--name-field-ref-partner-leader .card .card-body {
  padding: 0;
}

.field--name-field-ref-partner-leader .card .card-title a {
  color: var(--secondary-color);
  font-family: Titillium Web;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
}

.field--name-field-ref-partner-leader .field--name-field-acronym {
  color: #004D99;
  font-size: 0px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 7px;
  margin-top: 6px;
}

.field--name-field-ref-partner-leader .field--name-field-acronym:before {
  content: "SPOKE LEADER";
  font-size: 16px;
}


/* Header news + bottoni */
.section-news header .read-more-container {
  margin-bottom: 2rem;
}

.section-news header .read-more-container a {
  margin-right: 20px;
}

@media (min-width:1024px) {
  .section-news header {
    display: flex;
    justify-content: space-between;
  }
}

/*
typography sezioni
*/
.node--type-spoke .field--type-text-long,
.node--type-spoke .field--name-body {
  margin-bottom: 3rem;
}

.node--type-spoke h2 {
  color: var(--primary-color);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 48px;
}

.collaboration-third-mission a{
  color: #fff;
}

.collaboration-third-mission h3 a,
.node--type-spoke h3 a,
.collaboration-third-mission h3,
.node--type-spoke h3 {
  color: #262626;
  font-family: Titillium Web;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 1rem;
}

.collaboration-third-mission h3 a, .node--type-spoke h3 a{
  color: #fff;
  text-transform: none;
}

.collaboration-third-mission {
  /* background: #0C2246; */
  background: var(--secondary-color);
}

.education-tiles {
  background: #E3EDF5;
}

.collaboration-third-mission:after {
  /* background-color: #0C2246; */
  background: var(--secondary-color);
}

.education-tiles:after {
  background-color: #E3EDF5;
}

.partner-section,
.collaboration-third-mission {
  position: relative;
  padding: 4rem 0rem;

}

.collaboration-third-mission:after,
.education-tiles:after {
  content: "";
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.collaboration-third-mission h3,
.collaboration-third-mission h2,
.collaboration-third-mission * {
  color: #fff;
}

.collaboration-third-mission svg {
  fill: #fff;
  width: 24px;
  position: relative;
  top: -2px;
  left: 8px;
}

.education-tiles h3,
.collaboration-third-mission h2 {
  font-family: Titillium Web;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}

.collaboration-third-mission a {
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
  font-weight: 700;
  line-height: 16px;
  transition: 0.2s ease;
  text-transform: uppercase;
}

.collaboration-third-mission a:hover {
  opacity: 0.8;
  color: #fff;
}

.education-tiles h3 {
  color: var(--primary-color);
}

.education-tiles {
  position: relative;
  padding: 4rem 0rem 0rem 0rem;
  margin-bottom: -1rem;
}


.education-tiles .section-tiles {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.education-tiles .section-tiles:after {
  content: "";
  background-color: white;
  width: 100vw;
  height: 100px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;

}

.education-tiles .section-tiles>div {
  padding: 24px;
  border-radius: 6px;
  margin: 0;
  box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, .15);
  background-color: #fff;
  margin-bottom: 2rem;

}

.education-tiles .section-tiles h4 {
  color: #196AB2;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.education-tiles .section-tiles a {
  color: var(--primary-color);
  font-size: 14px;
  font-style: normal;
  text-decoration: none;
  font-weight: 700;
  line-height: 16px;
  transition: 0.2s ease;
}

.education-tiles .section-tiles a:hover {
  opacity: 0.8;
}

.education-tiles .section-tiles a svg {
  position: relative;
  width: 22px;
  fill: var(--primary-color);
}


@media (min-width:1024px) {
  .education-tiles .section-tiles {
    flex-direction: row;
  }

  .education-tiles .section-tiles>div {
    margin-right: 20px;
    max-width: 440px;
  }
}


/*PARTNERS*/
.page-node-type--spoke .node--type-partner>h2 {
  display: none;
}

.page-node-type--spoke .node--type-partner .card.card-bg:after {
  display: none;
}

.page-node-type--spoke .partner-section h3 {
  color: var(--secondary-color);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 48px;
}


/*
NEWS
*/

.section-news {
  position: relative;
  background-color: #EBECED;
  padding: 2rem 0rem;
}

.section-news:after {
  content: '';
  position: absolute;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  top: 0;
  z-index: -1;
  left: 50%;
  background-color: #EBECED;
}

@media (min-width:1200px) {
  .section-news {
    padding: 4rem 0rem;
  }
}

