/*
Theme Name:   Flatsome Child
Description:  Child theme cho Flatsome
Author:       Your Name
Template:     flatsome
Version:      1.0.0
Text Domain:  flatsome-child
*/

/*************** CSS CHUNG (mọi kích thước màn hình) ***************/


/*************** NÚT LIÊN HỆ NỔI (mts) ***************/
.mts-wrapper {
    position: fixed;
    bottom: 80px;
    right: -8px;
    z-index: 9999999;
}
  
.mts-checkbox {
    display: none !important;
}
  
.mts {
    width: 60px;
    max-width: unset;
    height: 60px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0;
    border-radius: 50%;
    background: #ea3a3c;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    position: absolute;
    right: 17px;
    bottom: 10px;
    z-index: 1000;
    overflow: hidden;
    transform: rotate( 0deg );
    -webkit-transition: all .15s cubic-bezier(.15,.87,.45,1.23);
    transition: all .15s cubic-bezier(.15,.87,.45,1.23);
}
  
.mts-checkbox:checked~.mts {
    -webkit-transition: all .15s cubic-bezier(.15,.87,.45,1.23);
    transition: all .15s cubic-bezier(.15,.87,.45,1.23);
    width: 30px;
    height: 30px;
    right: 26px;
    bottom: 35px;
}
  
[class*=icon-cps-] {
    display: inline-block;
    vertical-align: middle;
    background-image: url(https://thegioioptuong.com/wp-content/uploads/2025/06/icon-lienhe-tgot.png)!important;
    background-repeat: no-repeat;
    background-size: 148px;
}
  
.icon-cps-mts-menu {
    width: 50px;
    height: 50px;
    margin: 0 !important;
    background-size: 200px;
    background-position: -155px 0;
}
.mts-checkbox:checked~.mts .icon-cps-mts-menu {
    width: 20px;
    height: 20px;
    margin: 0;
    background-size: 100px;
    background-position: -79px -29px;
}
  
.mts-wheel {
    position: absolute;
    bottom: 15px;
    right: 18px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: all .3s ease;
    z-index: 12;
}
  
.mts-checkbox:checked~.mts-wheel {
    transform: scale(1);
}
  
.mts-wheel .mts-action {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    text-decoration: none;
}
  
.mts-wheel .mts-action:hover {
    transform: scale(1.1);
}
  
.mts-wheel .mts-action-1 {
    bottom: 225px;
    right: 0;
}
  
.mts-button {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    padding: 4px;
    border-radius: 50%;
    background: #ea3a3c;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    font-size: 24px;
    color: White;
    transition: all 1s ease;
    overflow: hidden;
}
  
.icon-cps-local {
    width: 30px;
    height: 30px;
    background-position: -5px -43px;
}
 
.icon-cps-mail {
    width: 30px;
    height: 30px;
    background-position: -8px -5px;
}
  
.icon-cps-facebook {
    width: 30px;
    height: 30px;
    background-position: -80px -43px;
}
  
.mts-wheel .mts-button-1 {
    background: #ea3a3c;
}
  
.mts-wheel .mts-action-2 {
    bottom: 170px;
    right: 0;
}
  
.mts-wheel .mts-button-2 {
    background: #ea3a3c;
}
  
.icon-cps-phone {
    width: 30px;
    height: 30px;
    background-position: -42px -45px;
}
  
.mts-wheel .mts-action-3 {
    right: 0;
    bottom: 115px;
    cursor: pointer;
}
  
.mts-wheel .mts-button-3 {
    background: #ea3a3c;
}
  
.mts-wheel .mts-action-4 {
    right: 0;
    bottom: 60px;
}
  
.mts-wheel .mts-button-4 {
    background: #ea3a3c;
}
  
.icon-cps-chat-zalo {
    width: 30px;
    height: 30px;
    background-position: -47px -5px;
    background-size: 155px;
}
  
.hidden {
    display: none!important;
}
  
.align-items-center {
    -ms-flex-align: center!important;
    align-items: center!important;
    -ms-flex-pack: distribute!important;
    justify-content: space-around!important;
    display: -ms-flexbox!important;
    display: flex!important;
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}
  
  
.mts-checkbox:not(:checked)~.mts {
    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 #ea3a3c;
}
  
  
@-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
    }
}


/*************** CHỈ DESKTOP ***************/
@media only screen and (min-width: 850px) {

}

/*************** CHỈ TABLET ***************/
@media only screen and (min-width: 550px) and (max-width: 849px) {

}

/*************** CHỈ MOBILE ***************/
@media only screen and (max-width: 549px) {

}
