/* Custom style for Social Share modal */

*,
*:before,
*:after {
  box-sizing: border-box;
}
.share-modal {
  position: relative;
}
.share-modal button.view-modal.quvent-button {
  /* top: 10%;
  left: 90%;
  color: #e8e4ee;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 25px; */
  color: var(--quvent-dark-60);
  height: 28px;
  width: 28px;
}
.share-modal button.view-modal.quvent-button:hover,
.share-modal button.view-modal.quvent-button:focus {
  color: var(--quvent-dark-80);
}

.share-modal span.text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0);
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: var(--global-button-border-radius, 5px);
  color: #fff;
  width: auto;
  height: auto;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.2;
  padding: 4px 7px;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  z-index: 2;
  letter-spacing: 0;
  text-transform: none;
}
.share-modal button.view-modal.quvent-button:hover .text {
  opacity: 1;
  visibility: visible;
}
.share-modal .popup {
  display: flex;
  opacity: 0;
  align-items: center;
  justify-content: center;
  position: fixed;
  padding: 0 10px;
  pointer-events: none;
  z-index: 100000;
  left: 0;
  top: 0;
  width: calc(100vw - (100vw - 100%));
  height: 100vh;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0 0 0 / 0.6);
  transition: opacity 200ms ease;
}
.share-modal .popup-content {
  background: rgb(255, 254, 254);
  padding: 25px;
  border-radius: 15px;
  /* top: 10%; */
  width: auto;
  max-width: 95%;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  transition: top 0s 0.2s ease-in-out, opacity 0.2s 0s ease-in-out,
    transform 0.2s 0s ease-in-out;
}
.share-modal .popup.show {
  opacity: 1;
  pointer-events: auto;
  transition: top 0s 0s ease-in-out, opacity 0.2s 0s ease-in-out,
    transform 0.2s 0s ease-in-out;
}
.share-modal .popup :is(header, .icons, .field) {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.share-modal .popup .icons {
  justify-content: center;
  gap: 1rem;
}
.share-modal .popup header {
  padding-bottom: 15px;
  border-bottom: 1px solid #ebedf9;
}
.share-modal header span {
  font-size: 21px;
  font-weight: 500;
}
.share-modal header .close,
.share-modal .icons a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}
.share-modal header .close {
  color: #878787;
  font-size: 17px;
  background: #f3f3f3;
  height: 33px;
  width: 33px;
  cursor: pointer;
}
.share-modal header .close:hover {
  background: #e6e6e6;
}
.share-modal .popup .content {
  margin: 20px 0;
}
.share-modal .popup .content p {
  margin-bottom: 0;
  line-height: 1.5;
}
.share-modal .popup .icons {
  margin: 15px 0 20px 0;
}
.share-modal .content p {
  font-size: 16px;
}
.share-modal .content .icons a {
  height: 50px;
  width: 50px;
  font-size: 20px;
  text-decoration: none;
  border: 1px solid transparent;
}
/* .share-modal .icons a:nth-child(1) {
  color: #1877f2;
  border-color: #b7d4fb;
}
.share-modal .icons a:nth-child(1):hover {
  background: #1877f2;
}
.share-modal .icons a:nth-child(2) {
  color: #46c1f6;
  border-color: #b6e7fc;
}
.share-modal .icons a:nth-child(2):hover {
  background: #46c1f6;
}
.share-modal .icons a:nth-child(3) {
  color: #0077b5;
  border-color: #8dc6e6;
}
.share-modal .icons a:nth-child(3):hover {
  background: #0077b5;
}
.share-modal .icons a:nth-child(4) {
  color: #25d366;
  border-color: #bef4d2;
}
.share-modal .icons a:nth-child(4):hover {
  background: #25d366;
}
.share-modal .icons a:nth-child(5) {
  color: #7b7b7b;
  border-color: #d1d1d1;
}
.share-modal .icons a:nth-child(5):hover {
  background: #7b7b7b;
} */

.share-modal .icons a.facebook {
  color: #1877f2;
  border-color: #b7d4fb;
}
.share-modal .icons a.facebook:hover {
  background: #1877f2;
}
.share-modal .icons a.twitter {
  color: #46c1f6;
  border-color: #b6e7fc;
}
.share-modal .icons a.twitter:hover {
  background: #46c1f6;
}
.share-modal .icons a.x {
  color: #000000;
  border-color: #797979;
}
.share-modal .icons a.x svg {
  width: 20px;
  height: 20px;
  transition: fill 0.3s ease-in-out;
}
.share-modal .icons a.x:hover {
  background: #000000;
}
.share-modal .icons a.x:hover svg {
  fill: #fff;
}
.share-modal .icons a.linked-in {
  color: #0077b5;
  border-color: #8dc6e6;
}
.share-modal .icons a.linked-in:hover {
  background: #0077b5;
}
.share-modal .icons a.whatsapp {
  color: #25d366;
  border-color: #bef4d2;
}
.share-modal .icons a.whatsapp:hover {
  background: #25d366;
}
.share-modal .icons a.email-link {
  color: #7b7b7b;
  border-color: #d1d1d1;
}
.share-modal .icons a.email-link:hover {
  background: #7b7b7b;
}

.share-modal .icons a:hover {
  color: #fff;
  border-color: transparent;
}
.share-modal .icons a:focus {
  outline: thin dotted;
  box-shadow: none;
}

.share-modal .content .field {
  margin: 12px 0 -5px 0;
  height: 45px;
  border-radius: 4px;
  padding: 0 5px;
  border: 1px solid #757171;
}
.share-modal .field.active {
  border-color: var(--main-button-color);
}
.share-modal .field i {
  width: 50px;
  font-size: 18px;
  text-align: center;
}
.share-modal .field.active i {
  color: var(--main-button-color);
}
.share-modal .field input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  background-color: var(--quvent-light-100);
}
.quvent .share-modal .field input:focus {
  border: none;
  box-shadow: none;
}
.quvent .share-modal .field button.copy {
  color: var(--quvent-dark-60);
  font-size: 0.9rem;
  letter-spacing: normal;
  /* padding: 5px 18px; */
}
.quvent .share-modal .field button.copy:hover {
  color: var(--quvent-dark-90);
}

@media screen and (max-width: 768px) {
  .share-modal .popup .icons {
    gap: 0.5rem;
  }
  .share-modal .content .icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media screen and (min-width: 769px) {
  .share-modal .popup-content {
    width: 460px;
  }
}
