/*********** CSS Contact button trừ landingpage + dự án ************/
/*** adjusted back-to-top position ***/
.back-to-top {
    right: 88px;
}
.wpcf7-form-control.sdt-pt{
    width:150px;
}
.flex-custom{
    display:flex;
}
.wpcf7-response-output {
    background: white;
    color:#333;
}
.zalo-pt{
    background: url(/wp-content/uploads/2020/08/zalo.svg) center center no-repeat;
}
 
#main-div {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 1000;
}
 
#main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 60px;
  width: 60px;
  border:1px solid;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  background: radial-gradient(circle, #0f7a9a, #072c4f);
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
#main-button ~ .btn-call {
    display: flex;
    padding: 4px;
  visibility: hidden;
  font-weight: 500;
  height: 51px;
  color: #fff;
  background: linear-gradient(90deg, #003d52, #004f62);
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border: 1px solid;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  opacity: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s all linear;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
@media only screen and (max-width:549px){
#main-button ~ .btn-call {max-width: 272px;
}}
.btn-call .fas{
    font-size: 22px;
    margin: auto 10px;
}
#main-div .hotline-bar {
  position: absolute;
  background: #ddab6e;
  border: 1px solid white;
  height: 55px;
  width: 55px;
  padding: 0 10px 0 10px;
  background-size: 100%;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  z-index: -1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  right: 0;
  bottom: 0;
  overflow:hidden;
}
#main-div .hotline-bar.open {width:178px;}
[class*=icon-cps-] {
    background-image: url(https://batdongsanbien.com.vn/wp-content/uploads/2021/12/support-icons.png)!important;
    background-repeat: no-repeat;
    background-size: 56px;
}
.icon-cps-icons-support {
    width: 56px;
    height: 56px;
}
.wave-button.open .icon-cps-icons-support{display:none}
#main-div .hotline-bar > span {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 20px;
  font-family: Arial;
  text-align: center;
  padding-top: 6px;
  padding-left: 3px;
}
#main-div .hotline-bar-chat {
  position: absolute;
  background: #0f7a9a;
  border: 1px solid white;
  height: 55px;
  width: 55px;
  padding: 0 10px 0 10px;
  background-size: 100%;
  cursor: pointer;
  transition: all 0.8s;
  -webkit-transition: all 0.8s;
  z-index: -1;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  right: 0;
  bottom: 0;
  overflow:hidden;
  -webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */
  transition: width 0.6s;
}
#main-div .hotline-bar-chat > span {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 20px;
  font-family: Arial;
  text-align: center;
  padding-top: 6px;
  padding-left: 3px;
}
#main-button.open ~ .btn-call {
  visibility: visible;
  right: 85px;
  opacity: 1;
  transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -webkit-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -moz-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -ms-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -o-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
}
 
#main-button ~ a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: -1;
  height: 55px;
  width: 55px;
  font-size: 30px;
  opacity: 0;
  text-decoration: none;
  color: #fff;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: .2s all linear;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
}
 
.zalo-custom .zalo-pt {
padding: 27px;
border-radius: 99%;
border: 1px solid;
}
#main-div .zalo-pt:hover + .hotline-bar-chat{width:168px}
#main-div .fas.fa-phone {
padding: 11px;
border-radius: 99%;
background: linear-gradient(0deg, #00B100, #09db09);
border: 1px solid;
width:55px;
height:55px;
}
 
#main-div .fab.fa-viber {
padding: 12px;
border-radius: 99%;
  background: linear-gradient(0deg, #665CAC, #766acc);
border: 1px solid;
width:55px;
height:55px;
}
#main-div .fab.fa-viber:hover + .hotline-bar-chat{width:168px;
    background:#665CAC;
}
#main-div .fab.fa-skype {
padding: 12px;
border-radius: 99%;
  background: linear-gradient(0deg, #008cc0 , #00aff0);
border: 1px solid;
width:55px;
height:55px;
}
#main-div .fab.fa-skype:hover + .hotline-bar-chat{width:168px}
#main-div .fab.fa-whatsapp {
padding: 12px;
border-radius: 99%;
  background: linear-gradient(0deg, #2a8c35, #4FCE5D);
border: 1px solid;
width:55px;
height:55px;
}
#main-div .fab.fa-whatsapp:hover + .hotline-bar-chat{width:168px;
    background:#2a8c35;
}
#main-button.open ~ a {
  opacity: 1;
  transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -webkit-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -moz-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -ms-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -o-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
}
#main-button.open ~ a:nth-of-type(1) {
  bottom: 80px;
}
#main-button.open ~ a:nth-of-type(2) {
  bottom: 260px;
  display: none;
}
#main-button.open ~ a:nth-of-type(3) {
  bottom: 320px;
  display: none;
}
#main-button.open ~ a:nth-of-type(4) {
  bottom: 200px;
  display: none;
}
#main-button.open ~ a:nth-of-type(5) {
  bottom: 140px;
}
 
.wave-button {
  animation-name: wave;
  animation-duration: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
#main-div .wave-button:not(.open){
    animation-name: zoom;
    -webkit-animation-name: zoom;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1.5s;
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    cursor: pointer;
    box-shadow: 0 0 0 0 #007cba;
}
@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }
   
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
   
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}
@keyframes zoom {
    0% {
        transform: scale(.9)
    }
   
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
   
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
} 
@keyframes wave {
  0% {box-shadow: 0 0 0px 0px rgba(15, 122, 154, 0.5);}
  100% {box-shadow: 0 0 0px 15px rgba(15, 122, 154, 0);}
}
 
.open {
  animation-iteration-count: 1;
}
.wpcf7-response-output{
    position: absolute;
    top: -150px;
    right: 0;
}
/*CSS Fake Mess*/
.before-img{
        border: 1px solid #fff;
        border-radius: 50px;
        content: '';
        display: block;
        z-index: 99;
        position: absolute;
        width: 20px;
        height: 20px;
        right: 3px;
        bottom: 135px;
        background: url(https://batdongsanbien.com.vn/wp-content/uploads/2022/01/close.png) center center no-repeat;
        background-size: 20px 20px;
        opacity: 1;
        cursor: pointer;
        -webkit-transition: -webkit-transform 0.5s, background-size 0.5s, opacity ease-in-out .25s;
        -moz-transition: -moz-transform 0.5s, background-size 0.5s, opacity ease-in-out .25s;
        -o-transition: -o-transform 0.5s, background-size 0.5s, opacity ease-in-out .25s;
        transition: transform 0.5s, background-size 0.5s, opacity ease-in-out .25s;
    }
.cau-chao{
    margin: auto;
    text-align: center;
    font-style: italic;
    /*font-family: 'Be Vietnam';
    text-transform: capitalize;*/
    width: 179px;
    position: absolute;
    right: 10px;
    bottom: 80px;
    padding: 5px 10px;
    height: 66px;
    border-radius: 9px;
    color: #0c345b;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 50%);
    }
.cau-chao:before{bottom: -7px;
    right: 16px;
    left: auto;
    border-right: 8px solid transparent;
    border-top: 8px solid #FFFFFF;
    border-left: 8px solid transparent;
    border-bottom: 0 none;
    display:block;
    width: 0;
    position:absolute;
    content: '';}
    .pop-up-mess{
        display:none;
    }
/*********** END CSS Contact button trừ landingpage + dự án ************/