/*
 * Copyright 2015
 * Released under the MIT license
 * https://github.com/jeffersonrpn/jquery-fab/blob/master/LICENSE.md
 *
 * @author: Jefferson Neves <jefferson.rpn@gmail.com>
 * @version: 0.1.0
 */
.jfab_wrapper{
  z-index: 9999;
  width:100%;
  height:240px;
  position:fixed;
  right:0px;
  bottom:0px;
  pointer-events:none;
}
.jfab_btns_wrapper{
  right:0;
  bottom:75px;
  position:absolute;
  display:none;
  -webkit-transition: opacity 0.3s ease-in;
       -moz-transition: opacity 0.3s ease-in;
        -ms-transition: opacity 0.3s ease-in;
         -o-transition: opacity 0.3s ease-in;
            transition: opacity 0.3s ease-in;
  pointer-events:all;
}
.jfab_btns_wrapper.show {
  display:block;
  opacity: 1;
}
.jfab_btns_wrapper .sub_fab_btn {
  width:40px;
  height:40px;
  line-height:40px;
  border-radius:100%;
  background:#e74c3c;
  margin-bottom:12px;
  margin-right:26px;
  padding:0;
  border:none;
  outline:none;
  color:#ffffff;
  font-size: 19px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  transition:.3s;  
  pointer-events:all;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
}
.jfab_btns_wrapper .sub_fab_btn:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.32), 0 3px 6px rgba(0,0,0,0.46);
}
.jfab_btns_wrapper .sub_fab_txt {
  font-size: 13px;
  text-decoration: none;
  background-color: rgba(0,0,0,.66);
  display: inline-block;
  padding: 6px 16px;
  line-height: 1.2;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateY(-50%);
  z-index: -1;
  padding-right: 34px;
  text-align: right;
  overflow: hidden;
  transition: all .6s ease-in-out;
  opacity: 1;
  white-space: nowrap;
  transition-delay: .16s;
}
.jfab_wrapper:not(.opened) .sub_fab_txt {
  width: 0;
  opacity: 0;
}
.jfab_main_btn {
  width:60px;
  height:60px;
  border-radius:100%;
  background:#e74c3c;
  right:16px;
  bottom:16px;
  position:absolute;
  margin-right:0;
  margin-bottom:0;
  padding:0;
  border:none;
  outline:none;
  color:#ffffff;
  font-size:24px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  transition:.3s;  
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  cursor: pointer;
  pointer-events:all;
}
.jfab_main_btn:hover{
  box-shadow: 0 3px 6px rgba(0,0,0,0.32), 0 3px 6px rgba(0,0,0,0.46);
}
.jfab_main_btn span{
  transition:.5s;
}
.jfab_main_btn.rotate {
  transform:rotate(45deg);
  -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.jfab_btns_wrapper .sub_fab_btn > span:not(.sub_fab_txt) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

@media screen and (min-width: 768px){

  .jfab_main_btn {
    right:26px;
    bottom:26px;
  }
  .jfab_btns_wrapper {
    bottom: 85px;
  }
  .jfab_btns_wrapper .sub_fab_btn {
    margin-right:36px;
  }

}

@media screen and (min-width: 1200px){

  .jfab_main_btn {
    right:36px;
    bottom:36px;
  }
  .jfab_btns_wrapper {
    bottom: 95px;
  }
  .jfab_btns_wrapper .sub_fab_btn {
    margin-right:46px;
  }

}

@media screen and (min-width: 1600px){

  .jfab_main_btn {
    right:46px;
    bottom:46px;
  }
  .jfab_btns_wrapper {
    bottom: 105px;
  }
  .jfab_btns_wrapper .sub_fab_btn {
    margin-right:56px;
  }

}