/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

a.floating-button {
  position: fixed;
  width: 50px;
  height: 50px;
  line-height: 50px;
  bottom: 240px;
  right: 30px;
  font-size: 20px;
  background-color: rgba(19,138,241,1);
  color: #fff !important;
  border-radius: 50px;
  text-align: center;
  z-index: 1000;
  animation: pulsess 3s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.floating-button_wa {
  bottom: 160px;
  background-color: rgba(37, 211, 102, 1);
}

/*a.floating-button_phone {
  bottom: 160px;
  background-color: rgba(220, 16, 16, 1);
}*/

a.floating-button_mail {
  bottom: 80px;
  background-color: rgba(0, 114, 198, 1);
}

a.floating-button_fb {
  bottom: 320px;
  background-color: rgba(53, 120, 229, 1);
}

a.floating-button:hover {
  color: #fff;
  background-color: rgba(19,138,241,0.45);
  animation-play-state: paused;
}

a.floating-button_phone:hover {
  background-color: rgba(220, 16, 16, 0.45);
}

a.floating-button_mail:hover {
  background-color: rgba(0, 114, 198, 0.45);
}

a.floating-button_fb:hover {
  background-color: rgba(53, 120, 229, 0.45);
}

@keyframes pulsess {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
  }
  30% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  80% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.float-btn a .tooltip {
    width: max-content;
    position: absolute;
    background: #d3d3d3;
    color: #000000;
    font-size: 13px;
    padding: 7px 15px;
    line-height: 1;
    border-radius: 2rem;
    left: -100%;
    transform: translate(-60%, -50%);
    top: 50%;
    transition: 300ms ease;
    opacity: 0;
}

.float-btn a:hover .tooltip {
	opacity: 1;
}

@media only screen and (max-width: 767px) {
  #side-contact {
    padding: 15px;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999999999;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }

  html.pum-open #side-contact {
    transform: translateY(100%);
  }

  #side-contact a.floating-button {
    position: initial;
    display: block;
    margin: 0 15px;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  /*this use with javascript */
  #side-contact.initial {
    /*position:unset;*/
    bottom: -100%;
  }
  .float-btn a .tooltip  {
    display: none;
    }
}

html,
body {
  scroll-behavior: smooth;
}

.preloader {
  display: none;
}