/* SDO Theme - Share Button Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Share Icon (inside share button) */
.share-icon {
  padding: 0px 9px 2px 0px;
  vertical-align: middle;
  color: #58a82e !important;
  fill: #58a82e !important;
  width: 10px;
  height: 10px;
  font-size: 12px;
  transition: color 0.15s ease-in-out, fill 0.15s ease-in-out;
}
.share-icon svg {
  fill: #58a82e !important;
}
.share-icon svg * {
  fill: #58a82e !important;
  stroke: #58a82e !important;
}
.sharebutton:hover .share-icon,
sharebutton:hover .share-icon {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}
.sharebutton:hover .share-icon svg,
sharebutton:hover .share-icon svg {
  fill: #FFFFFF !important;
}
.sharebutton:hover .share-icon svg *,
sharebutton:hover .share-icon svg * {
  fill: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

/* Share Button Container */
.sharediv {
  position: relative;
  top: 30px;
  right: 30px;
  padding-bottom: 40px;
}

/* Toast Notification */
.toastdiv {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.toastbox {
  width: 280px;
  padding: 10px;
  background-color: rgba(88, 168, 46, 0.9);
  color: white;
  border-radius: 8px;
  position: fixed;
  top: 105%;
  -webkit-transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  z-index: 2;
  text-align: center;
  font-family: 'poppins', sans-serif;
}
.toastbox.toast-tox--active {
  -webkit-transform: translateY(-150px);
  transform: translateY(-150px);
}

/* Share Button */
.sharebutton,
sharebutton {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  color: #58a82e;
  background-color: transparent;
  border: 2px solid #58a82e;
  position: relative;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  outline: none;
  font-family: 'poppins', sans-serif;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

sharebutton:hover,
.sharebutton:hover,
.sharebutton:focus {
  color: #FFFFFF;
  background-color: #58a82e;
  border-color: #58a82e;
  outline: none;
}

.sharebutton:active,
sharebutton:active {
  transition: all 0.1s ease;
}

.sharebutton.sharebutton-primary {
  color: #58a82e;
  background-color: transparent;
  border: 2px solid #58a82e;
}
.sharebutton.sharebutton-primary:hover,
.sharebutton.sharebutton-primary:focus {
  color: #FFFFFF;
  background-color: #58a82e;
  border-color: #58a82e;
  outline: none;
}
.sharebutton.sharebutton-primary:active {
  transition: all 0.1s ease;
  outline: none;
}

/* Mobile Share Button */
.sharebutton-mb {
  display: none;
}
.sharebutton-img {
  position: relative;
  left: 5px;
  margin-left: auto;
  margin-right: auto;
}
