/*
Theme Name: Sydney Child
Theme URI: http://athemes.com/theme/sydney
Author: aThemes
Author URI: http://athemes.com
Template: sydney
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sydney
*/

a.floating-button {
  position: fixed;
  width: 50px;
  height: 50px;
  line-height: 50px;
  bottom: 240px;
  right: 30px;
  font-size: 20px;
  background-color: rgba(37, 211, 102, 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_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(37, 211, 102, 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);
  }
}
@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;
  }

  #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%;
  }
}
html,
body {
  scroll-behavior: smooth;
}

.preloader {
  display: none;
}


