/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.nav-spacing-xlarge>li {
    margin: 0 20px;
}

/* Call To Action zalo Rung*/
.zalo-ring-wrap {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999999;
}
.zalo-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}
.zalo-ring-circle {
    width: 72px;
    height: 72px;
    top: 16px;
    left: 16px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #1182FC;
    -webkit-animation: zalo-circle-anim 1.2s infinite ease-in-out;
    animation: zalo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}
.zalo-ring-circle-fill {
    width: 60px;
    height: 60px;
    top: 22px;
    left: 22px;
    position: absolute;
    background-color: rgba(17,130,252,.7);
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: zalo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: zalo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
.zalo-ring-img-circle {
    background-color: #1182FC;
    width: 50px;
    height: 50px;
    top: 27px;
    left: 27px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: zalo-circle-img-anim 1s infinite ease-in-out;
    animation: zalo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zalo-ring-img-circle .pps-btn-img img {
    width: 40px;
    height: 40px;
}
.zalo-bar {
    position: absolute;
    background: rgba(192,66,66,.85);
    height: 40px;
    width: 188px;
    line-height: 40px;
    border-radius: 3px;
    padding: 0 10px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px !important;
    left: 33px;
    bottom: 37px;
}
.zalo-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    text-indent: 50px;
    display: block;
    letter-spacing: 0;
    line-height: 40px;
    text-transform: uppercase;
    font-family: Arial;
}
.zalo-bar > a:hover,
.zalo-bar > a:active {
    color: #fff;
}
@-webkit-keyframes zalo-circle-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }
  30% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}
@-webkit-keyframes zalo-circle-fill-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.6;
  }
  100% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
}
/* Call To Action facebook Rung*/
.facebook-ring-wrap {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 999999;
}
.facebook-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}
.facebook-ring-circle {
    width: 72px;
    height: 72px;
    top: 16px;
    left: 16px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #1182FC;
    -webkit-animation: facebook-circle-anim 1.2s infinite ease-in-out;
    animation: facebook-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}
.facebook-ring-circle-fill {
    width: 60px;
    height: 60px;
    top: 22px;
    left: 22px;
    position: absolute;
    background-color: rgba(17,130,252,.7);
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: facebook-circle-fill-anim 2.3s infinite ease-in-out;
    animation: facebook-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
.facebook-ring-img-circle {
    background-color: #1182FC;
    width: 50px;
    height: 50px;
    top: 27px;
    left: 27px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: facebook-circle-img-anim 1s infinite ease-in-out;
    animation: facebook-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}
.facebook-ring-img-circle .pps-btn-img img {
    width: 40px;
    height: 40px;
}
.facebook-bar {
    position: absolute;
    background: rgba(192,66,66,.85);
    height: 40px;
    width: 188px;
    line-height: 40px;
    border-radius: 3px;
    padding: 0 10px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px !important;
    left: 33px;
    bottom: 37px;
}
.facebook-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    text-indent: 50px;
    display: block;
    letter-spacing: 0;
    line-height: 40px;
    text-transform: uppercase;
    font-family: Arial;
}
.facebook-bar > a:hover,
.facebook-bar > a:active {
    color: #fff;
}
@-webkit-keyframes facebook-circle-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }
  30% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}
@-webkit-keyframes facebook-circle-fill-anim {
  0% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    opacity: 0.6;
  }
  100% {
    -webkit-transform: rotate(0) scale(0.7) skew(1deg);
    opacity: 0.6;
  }
}

/* Action abcd */
.fixed-footer-fb {
    position: fixed;
    bottom: 20px;
	right:10px;
    z-index: 999999;
}
.fixed-footer-zl {
    position: fixed;
    bottom: 120px;
	right:10px;
    z-index: 999999;
}

/* CSS chung cho note bong bóng */
.chat-note {
  position: absolute;
  right: 80px; /* cách icon */
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-size: 14px;
  white-space: nowrap;
  z-index: 9999;
  min-width: 150px;
}

/* Mũi tên bong bóng */
.chat-note::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 10px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

/* Nút đóng trong hình tròn */
.chat-note .close-btn {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #555;
  cursor: pointer;
}

/* Đặt vị trí riêng cho Zalo & Facebook */
.fixed-footer-zl { 
  position: fixed; 
  bottom: 120px; 
  right: 20px; 
  z-index: 9998;
}
.fixed-footer-fb { 
  position: fixed; 
  bottom: 50px; 
  right: 20px; 
  z-index: 9998;
}
