.btn-fixed-order {
  position: fixed;
  right: 0;
  bottom: 16px;
  z-index: 1030;
  border-radius: 4px 0 0 4px;
  overflow: hidden;
}

.btn-fixed-order img,
.btn-fixed-order svg {
  max-width: 100%;
}

@media screen and (max-height: 710px) and (max-width: 767px) {
  .btn-fixed-order {
    border-radius: 0 4px 4px 0;
    right: auto;
    bottom: auto;
    top: 90px;
  }
}

@media screen and (max-height: 1100px) and (min-width: 768px) {
  .btn-fixed-order {
    border-radius: 0 4px 4px 0;
    right: auto;
    bottom: auto;
    top: 160px;
  }
}


.whatsappBtn {
  width: 60px;
  height: 60px;
  overflow: hidden;
  opacity: 0.7;
  transition: 0.2s;
  position: relative;
  animation-name: fadeInOutBtnFixed;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.whatsappBtn:hover,
.whatsappBtn:hover > a,
.whatsappBtn:active {
  transition: 0.2s;
  opacity: 1;
  color: #fff !important;
}

.whatsappBtn svg {
  width: 32px;
  height: 32px;
}

.whatsappBtn .qr-code-whatsapp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  animation-name: fadeInOutQrCode;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.custom-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 60px;
  height: 60px;
  position: relative;
  color: #ffff;
  cursor: pointer;
  overflow: hidden;
  background: #00bd24;
  -webkit-transition: ease 0.3s;
  transition: ease 0.3s;
}

.whatsappBtn.btn-telegram svg {
  width: 68px;
  height: 68px;
}

.btn-telegram .custom-btn {
  border: 2px solid #29b6f6 !important;
  background: #29b6f6 !important;
}

@media screen and (max-width: 767px) {
  .custom-btn,
  .whatsappBtn {
    width: 40px;
    height: 40px;
  }

  .whatsappBtn svg {
    width: 20px;
  }

  .whatsappBtn.btn-telegram svg {
    width: 36px;
  }
}


.custom-btn:after {
  content: "";
  display: block;
  width: 30px;
  height: 300px;
  margin-left: 60px;
  background: #fff;
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.7) 100%);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.7) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.7) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3ffffff', endColorstr='#b3ffffff', GradientType=0);
  position: absolute;
  left: -40px;
  top: -150px;
  z-index: 1;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  -webkit-animation-name: slideme;
  animation-name: slideme;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-delay: 0.05s;
  animation-delay: 0.05s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes slideme {
  0% {
    left: -30px;
    margin-left: 0px;
  }

  30% {
    left: 110%;
    margin-left: 80px;
  }

  100% {
    left: 110%;
    margin-left: 80px;
  }
}


@keyframes fadeInOutBtnFixed {
  0% {
    opacity: 1;
  }
  33% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInOutQrCode {
  0% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}