#sticky-contact {
  position: fixed;
  z-index: 9800;
  top: 45%;
  right: 0;
  transform: translateY(-50%);
}

#sticky-contact::before,
#sticky-contact::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

#sticky-contact .list {
  box-sizing: border-box;
  width: 80px;
  border-radius: 10px 0 0 10px;
  position: relative;
  z-index: 1;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 25px rgb(0 0 0 / 16%);
}

#sticky-contact .list ul {
  margin: 18px;
  padding: 0;
}

#sticky-contact .popup-container {
  visibility: visible;
  opacity: 0;
  padding-right: 20px;
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translate(20px, -50%);
  transition: all 0.2s ease-in-out;
}

#sticky-contact .list ul li a,
#sticky-contact .list ul li span {
  position: relative;
  overflow: hidden;
  display: block;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

#sticky-contact .list ul li a:hover {
  overflow: visible;
  opacity: 0.5;
}

#sticky-contact .list ul li:hover .tooltip-content {
  opacity: 1;
}

#sticky-contact .list li {
  list-style-type: none;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

#sticky-contact .list li:not(:last-child) {
  border-bottom: slategray solid 1px;
}

#sticky-contact .list ul li .tooltip-content {
  right: calc(100% + 1.5em);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

#sticky-contact .list ul li .tooltip-content::after {
  right: -5px;
  margin-top: -5px;
  top: 50%;
}

.tooltip-content {
  box-shadow: 0 5px 25px 5px rgba(205, 210, 214, 0.8);
  box-sizing: border-box;
  position: absolute;
  opacity: 0;
  transition: all 0.3s ease;

  padding: 20px 30px;
  border-radius: 10px;
  text-align: left;
  background: #fff;
  box-shadow: 0 0 30px rgb(0 0 0 / 16%);
}

.tooltip-content::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  right: -10px;
  top: 50%;
  margin-top: -15px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(-45deg);
  box-shadow: 5px 5px 10px rgb(0 0 0 / 5%);
}

#sticky-contact .list li img {
  height: 100% !important;
  width: 100% !important;
}

#sticky-contact .list li:last-child img {
  max-width: 80%;
}

#sticky-contact .tooltip-content .text-1 {
  font-size: 16px;
  line-height: 1.5em;
  color: #4c4c4c;

  width: 100%;
  min-width: 200px;
  max-width: 360px;
}

#sticky-contact .tooltip-content .text-1 a {
  color: #1e87f0;
  text-decoration: none;
  cursor: pointer;
  width: auto !important;
}

#sticky-contact .tooltip-content .text-1 h3 {
  font-family: "Oswald", sans-serif;
  color: #0c4da2;
  font-size: 20px;
  margin: 0;
  padding: 0 0 8px;
}

#sticky-contact .tooltip-content .text-1 p {
  margin: 0;
  line-height: 26px;
  font-family: "Oswald", sans-serif;
}

#sticky-contact .tooltip-content .text-1 p strong {
  font-weight: bolder;
  font-size: 17px;
  color: #1e87f0;
}

#sticky-contact .opener {
  display: none;
}

@media only screen and (max-width: 1380px) {
  #sticky-contact {
    position: static;
    transform: none;
  }

  #sticky-contact .opener {
    display: block;
    position: fixed;
    z-index: 6000;
    left: 19px;
    bottom: 21px;
    cursor: pointer;
    transition: all 0.3s ease-in-out 0.3s;
    width: 59px;
  }

  #sticky-contact .list {
    width: 420px;
    max-width: 100%;
    border-radius: 10px 10px 0 0;
    position: fixed;
    z-index: 9802;
    bottom: 0;
    left: 50%;
    box-shadow: none;
    transform: translate(-50%, 105%);
    transition: all 0.3s ease-in-out;
  }

  #sticky-contact .contact-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
    position: fixed !important;
    z-index: 9801 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#000000',GradientType=0) !important;
    transition: all 0.3s ease-in-out !important;
  }

  #sticky-contact .list ul {
    display: flex;
    justify-content: space-between;
  }

  #sticky-contact.open .opener {
    transition: all 0.3s ease-in-out;
    transform: translateY(200%);
  }

  #sticky-contact.open .contact-overlay {
    visibility: visible !important;
    opacity: 0.78 !important;
  }

  #sticky-contact.open .list {
    transform: translate(-50%, 0);
  }

  #sticky-contact .list ul {
    display: flex;
    justify-content: space-between;
  }

  #sticky-contact .list ul a,
  #sticky-contact .list ul span {
    display: block;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    padding: 0 2px 0 2px;
    width: 55%;
    overflow: visible !important;
  }

  #sticky-contact .list li {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #sticky-contact .list li:last-child img {
    max-width: 100%;
  }

  #sticky-contact .list li img {
    margin: 0;
    padding: 0;
  }

  #sticky-contact .list li:not(:last-child) {
    border: 0;
    border-right: slategray solid 1px;
  }

  #sticky-contact .list li:last-child {
    padding-left: 7px;
  }

  #sticky-contact .list li .tooltip-content {
    right: auto !important;
    top: auto !important;
    transform: translateY(-50%) translateX(5%);
    pointer-events: none;
    position: absolute;
    bottom: 80%;
  }

  .tooltip-content::before {
    right: 46% !important;
    bottom: -5% !important;
    transform: rotate(45deg);
    top: auto !important;
  }
}
