.path-node.page-node-type--opportunity h6,
.path-node h6 {
  padding-right: 8px;
  color: var(--dark-gray);
}


/* ------------------------------ attachments field ------------------------------ */


.path-node.page-node-type--opportunity .attachments,
.path-node .attachments {
  margin: 40px 0;
}

.node--type-council-document .field--name-field-attachment .file,
.path-node.page-node-type--opportunity .field--name-field-attachments .file,
.path-node .field--name-field-attachments .file {
  padding: 0;
  overflow: hidden;
  margin: 8px 0;
}

.path-node.page-node-type--opportunity .field--name-field-attachments .card-title,
.path-node .field--name-field-attachments .card-title {
  display: flex;
  padding: 0 0 0 16px;
  flex-direction: row;
  align-items: center;
  margin: 0;
}

.path-node.page-node-type--opportunity .field--name-field-attachments .card-title:hover,
.path-node .field--name-field-attachments .card-title:hover {
  background-color: var(--light-gray);
}

.path-node.page-node-type--opportunity .field--name-field-attachments .card-title a,
.path-node .field--name-field-attachments .card-title a {
  display: block;
  width: 100%;
  padding: 16px 16px 16px 0;
}


/* ------------------------------ date fields ------------------------------ */

.path-node .dates-wrapper  {
  display: flex;
  flex-direction: row;
}

.path-node.page-node-type--opportunity .date,
.path-node .date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-right: 1rem;
}

.path-node.page-node-type--opportunity .date time,
.path-node .date time {
  color: var(--dark-gray);
  font-weight: 600;
}

.path-node.page-node-type--opportunity .date h6,
.path-node .date h6 {
  font-weight: 400;
  margin: 0;
}

@media (min-width:1024px){
  .path-node .dates-wrapper .date-container  {
    display: flex;
    flex-direction: row;
  }
}



/* ------------------------------ spoke and target fields ------------------------------ */

.path-node.page-node-type--event .targets,
.path-node.page-node-type--event .spokes,
.path-node.page-node-type--opportunity .targets,
.path-node.page-node-type--opportunity .spokes,
.path-node.page-node-type--article .targets,
.path-node.page-node-type--article .spokes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.path-node.page-node-type--event .targets .card-tag.target,
.path-node.page-node-type--event .spokes .card-tag.spoke,
.path-node.page-node-type--opportunity .targets .card-tag.target,
.path-node.page-node-type--opportunity .spokes .card-tag.spoke,
.path-node.page-node-type--article .targets .card-tag.target,
.path-node.page-node-type--article .spokes .card-tag.spoke {
  display: block;
  text-decoration: none;
  padding: 0 16px;
  margin: 2px 4px 2px 0;
  width: fit-content;
  border-radius: 16px;
  font-size: 16px;
}


.path-node.page-node-type--opportunity .spokes .card-tag.spoke,
.path-node .spokes .card-tag.spoke {
  color: #fff;
  background-color: var(--dark-gray);
  border: 1px solid var(--dark-gray);
}

.path-node.page-node-type--opportunity .spokes .card-tag.spoke:hover,
.path-node .spokes .card-tag.spoke:hover {
  color: var(--dark-gray);
  background-color: #fff;
}

.path-node.page-node-type--event .targets .card-tag.target,
.path-node.page-node-type--opportunity .targets .card-tag.target,
.path-node.page-node-type--article .targets .card-tag.target {
  color: var(--primary-light);
  background-color: transparent;
  border: 1px solid var(--primary-light);
  text-decoration: none;
  border-radius: 15px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
}

.path-node.page-node-type--event .targets .card-tag.target:hover,
.path-node.page-node-type--opportunity .targets .card-tag.target:hover,
.path-node.page-node-type--article .targets .card-tag.target:hover {
    color: #fff;
    background-color: var(--primary-light);
}


/* ------------------------------ body field ------------------------------ */

.path-node.page-node-type--opportunity .field--type-text-with-summary,
.path-node .field--type-text-with-summary {

}


/* ------------------------------ image field ------------------------------ */

/*

  non si può fare bug menu header dropdown

  .path-node.page-node-type--opportunity #page-default,
  .path-node #page-default {
      overflow: hidden;
  }

*/

.path-node.page-node-type--opportunity .cover,
.path-node .cover {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.path-node.page-node-type--opportunity .cover .field--type-image,
.path-node .cover .field--type-image {
  width: 100%;
}

.path-node.page-node-type--opportunity .cover img,
.path-node .cover img {
  position: relative;
  height: auto;
  width: 100%;
  object-fit: cover;
  object-fit: cover;
}

.path-node.page-node-type--opportunity .cover .img-desc,
.path-node .cover .img-desc {
  padding: 16px 0;
  margin-bottom: 16px;
  width: 100%;
  font-size: 16px;
  border-bottom: 1px solid var(--medium-gray);
}


@media (min-width:1200px){
  .path-node.page-node-type--opportunity .cover .img-desc,
  .path-node .cover .img-desc {
    margin-bottom: 3rem;
  }
}




/*------- EVENT TYPE CONGRESS DETTAGLIO-------- */

.background-congress>article .cover{
  display: none;
}

.background-congress>article .paragraph--type--person {
  padding: 0;
  margin: 0;
  box-shadow: 0px 0px 0px 0px;
  margin-bottom: 5px !important;
}

.background-congress .dates-wrapper{
  background-color: #E8F1F8;
  padding: 2rem 1rem;
}

.background-congress .dates-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.background-congress .dates-wrapper .button-subscribe-container {
  margin-top: 2rem;
  margin-bottom: 0;
}

.background-congress .dates-wrapper h6,
.background-congress .dates-wrapper {
  font-size: 1.25rem;
}

.background-congress .dates-wrapper .location {
  display: flex;
  margin-top: 10px;
  align-items: baseline;
}

.background-congress .dates-wrapper .location h6 {
  font-weight: 400;
  margin: 0;
} 

.background-congress .dates-wrapper .field--name-field-location{
  color: var(--dark-gray);
  font-weight: 600;
}

.button-subscribe-container {
  margin: 2rem 0rem;
}

.path-node .field--type-text-with-summary + .people-container {
  margin-top: 2rem !important;
}

.background-congress>article .people-container .paragraph--type--person,
.people-container {
  background-color: #e8f1f8;
}

.background-congress>article .people-container {
  padding: 1rem;
  margin: 10px 0 !important;
}


@media (min-width:1024px){

  .path-node.page-node-type--opportunity .date, .path-node .date {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: 1rem;
  }

  .background-congress .dates-wrapper {
    display: grid;
    padding:  1rem 2rem 0.71rem 2rem;
    grid-template-columns: 1fr 180px;
    grid-template-rows:40px 40px;
  }

  /*from date*/
  .background-congress .dates-wrapper .date-container {
    grid-area: 1 / 1 / span 1 / span 1;
    display: flex;
  }

  /*to date*/
  .background-congress .dates-wrapper .location {
    grid-area: 2 / 1 / span 1 / span 2;
  }

  /*button*/
  .background-congress .dates-wrapper .button-subscribe-container {
    grid-area: 1 / 2 / span 1 / span 1;
  }


  .background-congress .dates-wrapper .location {
    margin-top: 0px;
  }

  .background-congress .dates-wrapper h6,
  .background-congress .dates-wrapper {
    font-size: 1.125rem;
  }

  .background-congress .dates-wrapper .button-subscribe-container {
    margin-top: 1rem;
    margin-bottom: 0;
    width: 100%;
    display: block;
  }

}

@media (min-width:1200px){

  .background-congress .dates-wrapper .button-subscribe-container {
    margin-top: 0px;
  }

  .background-congress .dates-wrapper .date-to {
    margin-right: 2rem;
  }

}