/*
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.   ***************/
/*@font-face {
  font-family: "CA Saygon Text";
  src: url("fonts/CASaygonText-Light.eot");
  src: url("fonts/CASaygonText-Light.eot?#iefix") format("embedded-opentype"), url("fonts/CASaygonText-Light.woff2") format("woff2"), url("fonts/CASaygonText-Light.woff") format("woff"), url("fonts/CASaygonText-Light.ttf") format("truetype"), url("fonts/CASaygonText-Light.svg#CASaygonText-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CA Saygon Text";
  src: url("fonts/CASaygonText-Bold.eot");
  src: url("fonts/CASaygonText-Bold.eot?#iefix") format("embedded-opentype"), url("fonts/CASaygonText-Bold.woff2") format("woff2"), url("fonts/CASaygonText-Bold.woff") format("woff"), url("fonts/CASaygonText-Bold.ttf") format("truetype"), url("fonts/CASaygonText-Bold.svg#CASaygonText-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CA Saygon Text";
  src: url("fonts/CASaygonText-SemiBold.eot");
  src: url("fonts/CASaygonText-SemiBold.eot?#iefix") format("embedded-opentype"), url("fonts/CASaygonText-SemiBold.woff2") format("woff2"), url("fonts/CASaygonText-SemiBold.woff") format("woff"), url("fonts/CASaygonText-SemiBold.ttf") format("truetype"), url("fonts/CASaygonText-SemiBold.svg#CASaygonText-SemiBold") format("svg");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CA Saygon Text";
  src: url("fonts/CASaygonText-Regular.eot");
  src: url("fonts/CASaygonText-Regular.eot?#iefix") format("embedded-opentype"), url("fonts/CASaygonText-Regular.woff2") format("woff2"), url("fonts/CASaygonText-Regular.woff") format("woff"), url("fonts/CASaygonText-Regular.ttf") format("truetype"), url("fonts/ASaygonText-Regular.svg#CASaygonText-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CA Saygon Text";
  src: url("fonts/CASaygonText-Medium.eot");
  src: url("fonts/CASaygonText-Medium.eot?#iefix") format("embedded-opentype"), url("fonts/CASaygonText-Medium.woff2") format("woff2"), url("fonts/CASaygonText-Medium.woff") format("woff"), url("fonts/CASaygonText-Medium.ttf") format("truetype"), url("fonts/CASaygonText-Medium.svg#CASaygonText-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}*/
@font-face {
  font-family: 'Optima';
  src: url('fonts/SVN-Optima-Regular.woff2') format('woff2'), url('fonts/SVN-Optima-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Optima';
  src: url('fonts/SVN-Optima-Medium.woff2') format('woff2'), url('fonts/SVN-Optima-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Optima';
  src: url('fonts/SVN-Optima-DemiBold.woff2') format('woff2'), url('fonts/SVN-Optima-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Optima';
  src: url('fonts/SVN-Optima-Bold.woff2') format('woff2'), url('fonts/SVN-Optima-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Optima';
  src: url('fonts/SVN-Optima-Black.woff2') format('woff2'), url('fonts/SVN-Optima-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SVN-Kalista Serif";
  src: url('fonts/SVN-KalistaSerif-Regular.woff2') format('woff2'), url('fonts/SVN-KalistaSerif-Regular.woff') format('woff');
}
h1,h2,h3,h4,h5,h6,.widget-title{
    font-family: "SVN-Kalista Serif" !important;
}
body,html{
	font-family: 'Optima', sans-serif;
}
h1,h2,h3{
		text-align: center
}
.aligncenter {
        clear: both;
        display: block;
        margin: 0 auto;
    }
.bkst{
		background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(248, 234, 213, 1) 50%, rgba(255, 255, 255, 1) 100%);
}
.table-container {
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Hỗ trợ cuộn mượt trên iOS */
}

/* Định dạng bảng */
.responsive-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    /* Đặt chiều rộng tối thiểu lớn hơn để chứa toàn bộ nội dung */
}

.responsive-table th,
.responsive-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    white-space: nowrap;
    font-size: 18px;
    color: #000;
    /* Không cho phép chữ xuống dòng */
    text-align: left;
    /* Căn trái nội dung */
}

/* Xen kẽ màu nền cho các dòng */
.responsive-table tr:nth-child(even) {
    background-color: #fffdf7;
    /* Màu cho dòng chẵn */
}

/* Định dạng cuộn ngang và không giới hạn chữ */
@media (max-width: 768px) {
    .table-container {
        overflow-x: auto;
    }

    .responsive-table {
        width: auto;
        /* Đảm bảo bảng đủ rộng để cuộn ngang */
    }

    .responsive-table th,
    .responsive-table td {
        white-space: nowrap;
        /* Chữ nằm trên một dòng */
    }
}

.button.btn1{
	min-width: 250px;
}
.img .caption{
    position: relative;
    background: none;
    color: #000;
    text-align: center;
    transform: none;
    font-size: 0.9em;
}
.footer-1{
    color: #fff;
}
.footer-1 a{
    color: #fff;
}
.footer-1 .is-divider{
    background: #fff;
    height: 2px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 25px;
}
.footer-1 span.widget-title {
    text-align: center;
    display: block;
    font-size: 1.25em;
    padding-bottom: 16px;
}
.absolute-footer.dark{
    color: #fff;
}
body.home .header{
    position: fixed !important;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 999;
}
.header-wrapper.stuck{
    background: #aa3a0a;
}
body:not(.home) .header:not(.transparent) .header-nav-main.nav > li > a{
    color: #fff;
}
body:not(.home) .header-wrapper{
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}
.colform .wpcf7-form{
    text-align: center;
}
@media(min-width: 768px){
	.st-form .wpcf7-form-control:not([type="submit"]){
		width: calc(33% - 20px);
		margin: 10px;
	}

}
@media(max-width: 767px){
    .footer-1 span.widget-title{
        font-size: 15px;
    }
}

.st-form {
	padding-bottom: 0 !important;
}
.wpcf7-form{
	margin-bottom: 0;
	text-align: center;
}
#popup-form{
    background: #fff;
    padding: 17px;
    border-radius: 20px;
    border: 1px none #000;
    box-shadow: 1px 1px 3px 0px rgba(2, 2, 2, .23);
    width: 380px;
    max-width: 95%;
    text-align: center;
    margin: auto;
}
#popup-form img{
	margin-bottom: 15px;
}
.wpcf7-spinner{
	position: absolute;
}
#popup-form input[type=submit]{
 	margin-right: 0;
}
.header  .header-wrapper.stuck .header-nav-main.nav > li.active > a,
.header  .header-wrapper.stuck .header-nav-main.nav > li > a{
	color: #fff;
}

#gom-all-in-one{
    position: fixed;
    bottom: 20px;
    z-index: 999;
}
#gom-all-in-one .button-contact {
    position: relative;
    margin-top: -5px
}
#gom-all-in-one .button-contact .phone-vr {
    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
}
.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230,8,8,0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite
}
.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out
}
.phone-vr-img-circle a {
    display: block;
    line-height: 37px
}
.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%)
}
@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg)
    }
}

@-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
    }
}
#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33,150,243,0.7)
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3
}
#gom-all-in-one .button-contact {
    transition: 1.6s all;
    -moz-transition: 1.6s all;
    -webkit-transition: 1.6s all
}

.fixed-right{
    position: fixed;
    right: 20px;
    bottom: 60px;
    z-index: 200;
}
.fixed-right a{
    background: #c36128;
    background: -webkit-linear-gradient(39deg, #9d4022 0%, #c36128 100%);
    background: linear-gradient(39deg, #9d4022 0%, #c36128 100%)
    border-radius: 10px;
    color: #fff;
    width: 195px;
    padding: 0px 10px;
    font-size: 14px;
}
.fixed-right a.fr-modal {
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    padding: 6px 10px;
    margin-bottom: 10px;
}
.fr-modal h3{
    margin: 0;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
}
#popup-form h3{
    font-size: 17px;
}
.pulse{
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes pulse{
    0%{-webkit-transform:scale(1);transform:scale(1)}
    50%{-webkit-transform:scale(1.1);transform:scale(1.1)}
    100%{-webkit-transform:scale(1);transform:scale(1)}
}
@keyframes pulse{
    0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}
    50%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}
    100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}
}
@media(max-width: 767px){
    .fixed-right{
        right: 0;
        bottom: 68px;
    }
    .fixed-right a.fr-modal{
        scale: 0.8;
    }
    #popup-form h3{
        font-size: 13px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.button-contact2 span{
    border-radius: 83px;
    background-image: linear-gradient(rgb(234, 205, 163), rgb(190, 166, 118));
    width: 172px;
    height: 41px;
    color: #000;
    font-size: 20px;
    text-align: center;
    display: block;
    line-height: 41px;
    font-weight: bold;
    position: absolute;
    left: 35px;
    top: 8.5px;
}
.button-contact2 div svg{
    width: 31px;
    height: 31px;
}
.button-contact2 div{
    height: 58px;
    width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(190, 166, 118);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0;
}
.button-contact2 div:before{
    animation-name: pulse;
    animation-delay: 1s;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    width: 69px;
    height: 69px;
    border-width: 1px;
    border-radius: 999px;
    border-style: solid;
    border-color: rgb(190, 166, 118);
    background-color: rgba(253, 251, 251, 0);
    position: absolute;
    content: "";
}
.button-contact2{
    width: 69px;
    height: 69px;
    left: 17px;
    top: 10px;
}