/*TYPO*/
.modal-partecipants p {
  font-size: 1rem;
  line-height: 1.5rem;
}

/*LAYOUT*/
.modal-partecipants>.content {
  height: 100%;
}

.modal-partecipants .card {
  background-color: #fff;
}

.modal-partecipants .card .main-info .metadata {
  padding: 0rem 2rem 0rem 0rem;
}

.metadata {
  margin: 0px 1rem 0px 0rem;
}

.modal-partecipants:before {
  content: "";
  background-color: #0000006e;
  width: 100%;
  position: fixed;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  left: 800px;
}

.modal-partecipants:empty:before {
  display: none;
}

.modal-partecipants:empty {
  display: none !important;
}

.modal-partecipants .views-field-nothing .title {
  margin-left: 0;
}

.modal-partecipants.show {
  opacity: 1;
}

.modal-partecipants.show {
  width: 100%;
}

.modal-partecipants .category {
  margin-bottom: 0;
}

.modal-partecipants .city {
  margin-top: 1rem;
}

.card .bio-info {
  background-color: #fff;
  padding: 2rem;
}

.view-id-agent {
  margin-top: 1.5rem;
}


/*EXHIBITORS */
.modal-partecipants .e-card.notes-container {
  position: relative;
  right: auto;
  top: auto;
  display: none;
}

.user-logged-in .modal-partecipants .e-card.notes-container {
  display: block;
}


.modal-partecipants .e-card {
  bottom: unset;
  left: unset !important;
  transform: none !important;
  position: absolute !important;
  right: 1rem !important;
  top: 1rem !important;
}

.modal-partecipants .e-card .btn.favorite {
  width: auto;
  font-weight: 400;
}

.modal-partecipants .e-card .btn.no-favorite {
  font-size: 14px;
  border-radius: 0;
}

@media (min-width: 1600px) {
  .modal-partecipants .e-card .btn.favorite {
    bottom: unset;
  }
}


.modal-partecipants .card {
  position: relative;
  padding: 1rem 0rem 3rem 0rem;
  display: block !important;
  margin: 0;
}

.modal-partecipants.my-agenda .card {
  margin-left: 0;
}

.modal-partecipants .top {
  padding: 0rem 2rem;
}


.modal-partecipants .looking-for .field--name-field-stand-looking-for:after {
  display: none;
}



/*
BOOK MEETING SPALLA
*/
.page-node-type-stand .spalla-actions {
  display: none !important;
}

.modal-partecipants .spalla-actions {
  background: #B7E5F4;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 640px;
  height: 100%;
  left: 800px;
  padding: 2rem 4rem;
  margin: 0;
}

.spalla-actions .bio {
  display: flex;
}

.spalla-actions .iniziali {
  width: 54px;
  height: 54px;
  border-radius: 54px;
  background: #9ccfe0;
  display: flex;
  align-items: center;
  position: relative;
  justify-self: center;
  text-align: center;
  margin-right: 1rem;
  display: none;
}

.spalla-actions .message {
  text-align: center;
  margin: 1rem;
}

.spalla-actions .bio .inline {
  display: flex;
}

.spalla-actions .iniziali span {
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.spalla-actions .field--name-field-common-name {
  margin-right: 9px;
}


.views-element-container .buttons {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.buttons.flex-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.buttons .btn {
  padding: 1rem 2rem;
  margin: 0px 0.5rem;
}

.buttons .cancel {
  background: transparent;
  color: #333;
}

.buttons .confirm,
.buttons .send {
  background: #3EB712;
}


.buttons .okrequest {
  background: transparent;
  border: 2px solid #0eb8e4;
  color: var(--blue);
}

.buttons .cancel,
.buttons .rejectrequest,
.buttons .cancelrequest,
.buttons .reject {
  color: #fff;
  background: #D35353;
}

.view-send-request .hours {
  display: flex;
  align-items: center;
  margin: 2rem 0px;
  padding: 0rem 0px 2rem 0px;
  position: relative;
  border-bottom: 1px solid #a2c6d2;
}

.view-send-request .hours p:nth-child(2):after {
  background: url(../../src/images/sprites-e-con.png);
  background-size: 500px;
  background-position: -82px 0px;
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: -26px;
  display: block;
  top: 3px;
}

.view-send-request .hours p {
  margin: 12px 2.5rem 0 1.5rem;
  position: relative;
}

.view-send-request .hours p:nth-child(1):before {
  font-family: "Montserrat";
  font-weight: 400;
  color: #333333;
  font-size: 0.75rem;
  content: "Date";
  position: absolute;
  top: -25px;
}

.view-send-request .hours p:nth-child(1):after {
  background: url(../../src/images/sprites-e-con.png);
  background-size: 500px;
  background-position: -141px -231px;
  content: "";
  width: 18px;
  height: 17px;
  left: -31px;
  top: 4px;
  position: absolute;
}


.view-send-request .hours p:nth-child(3):after {
  background: url("../../src/images/sprites-e-con.png");
  background-size: 500px;
  background-position: -43px -16px;
  content: "";
  width: 32px;
  height: 14px;
  left: -50px;
  top: 6px;
  position: absolute;
}

.view-send-request .hours p:nth-child(2):before {
  font-family: "Montserrat";
  font-weight: 400;
  color: #333333;
  font-size: 0.75rem;
  content: "From";
  position: absolute;
  top: -25px;
}

.view-send-request .hours p:nth-child(3):before {
  font-family: "Montserrat";
  font-weight: 400;
  color: #333333;
  font-size: 0.75rem;
  content: "to";
  position: absolute;
  top: -25px;
}



@media (max-width:1500px) {
  .card {
    width: 580px;
  }

  .modal-partecipants .spalla-actions {
    width: 570px;
    left: 580px;
    padding: 2rem 2rem;
  }

}

@media (max-width:1500px) {

  .modal-partecipants:before {
    width: 100%;
    left: 0;
  }

  .modal-partecipants .card,
  .modal-partecipants .spalla-actions {
    width: 50%;
  }

  .modal-partecipants .spalla-actions {
    left: calc(50% - 8px);
  }
}

@media (max-width:1024px) {
  .spalla-actions:before {
    font-family: "Montserrat";
    font-weight: 400;
    color: #333333;
    font-size: 0.75rem;
    content: "Close";
    background-color: var(--darkblue);
    position: absolute;
    color: #fff;
    width: 100%;
    padding: 17px 10px;
    top: -51px;
    left: 0;
    pointer-events: none;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
  }

  .modal-partecipants .card {
    display: none !important;
  }

  .page-node-type-stand .modal-partecipants .card {
    display: block !important;
    width: 100%;
  }

  .modal-partecipants .spalla-actions {
    left: 0;
    width: 100%;
    margin-top: 50px;
  }
}

@media (max-width:992px) {
  .modal-partecipants {
    width: 100%;
  }

  .modal-partecipants:before {
    display: none;
  }
}

@media (max-width:768px) {


  .view-send-request .hours {
    flex-wrap: wrap;
  }

  .view-send-request .hours p:first-child {
    flex-basis: 100%;
    margin: 2px 2.5rem 26px 1.5rem;
  }

  .view-send-request .hours p {
    flex-basis: 25%;
    margin: 12px 2.5rem 26px 1.5rem;
  }
}

@media (max-width:576px) {

  .view-send-request .hours p:first-child,
  .view-send-request .hours p {
    flex-basis: 100%;
    margin: 12px 2.5rem 26px 0rem;

  }


  .modal-partecipants {
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: scroll;
  }

  .spalla-actions .iniziali {
    display: none;
  }

  .modal-partecipants .spalla-actions {
    padding: 2rem 1rem;
    position: relative;
  }

  .views-element-container .buttons {
    margin-top: 0rem;
    flex-direction: column-reverse;
  }

  .buttons .btn {
    padding: 1rem 2rem;
    margin: 9px 0.5rem;
  }


  .view-send-request .hours {
    padding: 0rem;
  }

  .view-send-request .hours p:nth-child(3):after,
  .view-send-request .hours p:nth-child(2):after {
    display: none;
  }

  .card .top {
    display: block;
    /* justify-content: space-between; */
  }

  .card {
    width: 580px;
  }

  .modal-partecipants .e-card {
    position: relative;
    right: auto;
    top: auto;
    margin: 10px 0px;
  }

  .modal-partecipants .top {
    padding: 0rem 1rem;
  }

  .card .bio-info {
    background-color: #fff;
    padding: 1rem;
  }

  .card .section {
    padding: 2rem 1rem;
  }
}