.micromodal-float-trigger {
  position: fixed;
  left: 20px;
  bottom: 60px;
  width: 60px;
  height: 60px;
  line-height: 58px;
  border-radius: 50%;
  border: 2px solid #fff20088;
  background-color: #fff20088;
  text-align: center;
  transition: all 0.8s linear;
  opacity: 1;
  z-index: 1;
}

.micromodal-float-trigger::before,
.micromodal-float-trigger::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  animation-duration: 4s;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
}

.micromodal-float-trigger::before {
  top: -2px;
  left: -2px;
  border: 2px solid #fff20088;
  animation-name: scale_trigger_before;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0;
}

.micromodal-float-trigger::after {
  background-color: #fff20088;
  animation-name: scale_trigger_after;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0;
}

.micromodal-float-trigger button:focus {
  outline-color: transparent;
}

.micromodal-float-trigger button {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  font-size: 0;
  background-color: transparent;
  animation-name: ring_trigger;
  animation-delay: 2s;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.micromodal-float-trigger button svg {
  width: 30px;
  height: 30px;
  fill: #232323;
}

.micromodal-float-trigger:hover button {
  border-color: rgba(32, 152, 209, 0.5);
  background-color: #fff;
  animation-delay: 0s;
  animation-duration: 0.8s;
}

.micromodal-float-trigger:hover button svg {
  fill: #0f9e5e;
}

@keyframes scale_trigger_after {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  35% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes scale_trigger_before {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  35% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes ring_trigger {
  0%,
  100%,
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
  10%,
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20%,
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }
}

.dits-easy-callback-form {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 200px;
}

.dits-easy-callback-form__group {
  padding: 0;
  border: 0;
  margin: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.dits-easy-callback-form__group:not(:first-child) {
  /* margin-top: 10px; */
  margin-top: 30px;
}

.dits-easy-callback-form__group label {
  margin-bottom: 10px;
}

.dits-easy-callback-form button {
  margin: 0 auto;
  padding: 0.6180469716em 1.41575em;
  min-width: 140px;
  font-size: 13px;
  text-transform: uppercase;

  background-color: var(--dits-submit-bg);
  border: 1px solid var(--dits-submit-bg);
  color: var(--dits-submit-text);
  transition: 0.25s ease;
}

.dits-easy-callback-form button:hover,
.dits-easy-callback-form button:focus {
  background-color: var(--dits-submit-bg);
  border-color: var(--dits-submit-bg);
  color: var(--dits-submit-text);
}

.dits-easy-callback-form button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed;
}

.dits-easy-callback-form__group input[type="tel"],
.dits-easy-callback-form__group input[type="text"],
.dits-easy-callback-form__group input[type="email"] {
  width: 100%;
  padding: 0.6180469716em;
  background-color: #f2f2f2;
  color: #43454b;
  border: 1px solid #f2f2f2;
  font-weight: normal;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.125);
  text-align: center;
  font-size: 14px;
}

.dits-easy-callback-form__group input[type="tel"].error,
.dits-easy-callback-form__group input[type="text"].error,
.dits-easy-callback-form__group input[type="email"].error {
  border-color: #f74747;
}

.dits-easy-callback-form__message {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid transparent;
  display: none;
  text-align: center;
}

.dits-easy-callback-form__message.success {
  border-color: #1aaa3e;
}

.dits-easy-callback-form__message.error {
  border-color: #c3c4c7;
}

.dits-easy-callback__block_links {
  display: flex;
  flex-direction: column-reverse;
}

.dits-easy-callback__block_links > span {
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 13px;
  text-align: center;
  border-top: 1px solid aliceblue;
}
.dits-easy-callback__links {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.dits-easy-callback-links__messenger-block:not(:last-child) {
  margin-right: 4px;
}

.dits-easy-callback-links__messenger-block a {
  width: 50px;
  height: 50px;
  display: block;
}

@media (min-width: 768px) {
  .micromodal-float-trigger {
    left: 40px;
    bottom: 40px;
  }
}

/* CUSTOM COLORS */
.micromodal-float-trigger::after {
  background-color: var(--dits-button-bg);
}

.micromodal-float-trigger::before {
  border-color: var(--dits-button-bg);
}

.micromodal-float-trigger {
  background-color: var(--dits-button-bg);
  border-color: var(--dits-button-border);
}

.micromodal-float-trigger button svg {
  fill: var(--dits-icon-color);
}

/* Hover */
.micromodal-float-trigger:hover button {
  border-color: var(--dits-button-border-hover);
  background-color: var(--dits-button-bg-hover);
}

.micromodal-float-trigger:hover button svg {
  fill: var(--dits-icon-color-hover);
}
