/*
Theme Name: haiduongdev
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  ***************/
}

/* ——————————————————————————————
   Google Sans Regular 400
—————————————————————————————— */
@font-face {
  font-family: "Google Sans";
  src: url("/wp-content/themes/congnghevietnam-vn/assets/font/GoogleSans-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ——————————————————————————————
   Google Sans Italic 400
—————————————————————————————— */
@font-face {
  font-family: "Google Sans";
  src: url("/wp-content/themes/congnghevietnam-vn/assets/font/GoogleSans-Italic.ttf")
    format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ——————————————————————————————
   Google Sans Medium 500
—————————————————————————————— */
@font-face {
  font-family: "Google Sans";
  src: url("/wp-content/themes/congnghevietnam-vn/assets/font/GoogleSans-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ——————————————————————————————
   Google Sans Medium Italic 500
—————————————————————————————— */
@font-face {
  font-family: "Google Sans";
  src: url("/wp-content/themes/congnghevietnam-vn/assets/font/GoogleSans-MediumItalic.ttf")
    format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ——————————————————————————————
   Google Sans Bold 700
—————————————————————————————— */
@font-face {
  font-family: "Google Sans";
  src: url("/wp-content/themes/congnghevietnam-vn/assets/font/GoogleSans-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ——————————————————————————————
   Google Sans Bold Italic 700
—————————————————————————————— */
@font-face {
  font-family: "Google Sans";
  src: url("/wp-content/themes/congnghevietnam-vn/assets/font/GoogleSans-BoldItalic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

body,
p {
  font-family: "Google Sans", sans-serif !important;
  font-weight: 300;
}

.nav > li > a,
.nav-sidebar.nav-vertical > li > a,
th,
td {
  font-family: "Google Sans", sans-serif !important;
  font-weight: 500;
}

.heading-font,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Google Sans", sans-serif !important;
}

/* contact.css */

/* === Phần floating chat buttons === */
/*.haiduong-contact {*/
/*  position: fixed;*/
/*  bottom: 20px;*/
/*  left: 20px;*/
/*  z-index: 99999;*/
/*}*/
/*.chat-zalo,*/
/*.chat-face,*/
/*.haiduong-contact .hotline {*/
/*  border-radius: 20px;*/
/*  padding: 0 18px;*/
/*  color: #fff;*/
/*  display: block;*/
/*  margin-bottom: 6px;*/
/*  text-transform: none;*/
/*  font-weight: 400;*/
/*}*/
/*.chat-zalo { background: #f58620; }*/
/*.chat-face { background: #125c9e; }*/
/*.haiduong-contact .hotline { background: #e82829 !important; }*/

/*.chat-zalo a,*/
/*.chat-face a,*/
/*.hotline a {*/
/*  font-size: 15px;*/
/*  color: #fff;*/
/*  line-height: 0;*/
/*}*/

/* Ẩn floating buttons trên mobile nhỏ */
/*@media (max-width: 549px) {*/
/*  .haiduong-contact {*/
/*    display: none;*/
/*  }*/
/*}*/

/* === Phần footer contact bar === */
#haiduong-contact-footer-outer {
  position: fixed;
  width: 100%;
  z-index: 100 !important;
  bottom: 0;
  display: none;
}
#haiduong-contact-footer {
  position: relative;
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding-top: 5px;
  border-bottom: 12px solid #fff;
}
#haiduong-contact-footer > a {
  position: relative;
  display: block;
  width: 25%;
  text-align: center;
  padding: 11px 0 0;
  color: #313131;
}
#haiduong-contact-footer > a img {
  width: 30px;
  height: 30px;
}
.haiduong-contact-footer-btn-label {
  display: block;
  padding: 4px 2px 0px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
}

/* background SVG & shadow */
#haiduong-contact-footer:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  pointer-events: none;
  z-index: -1;
  background-image: url(https://intruonggiang.vn/wp-content/uploads/2025/08/mb-footer-bg.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100%;
}

/* nút giữa đặc biệt */
#haiduong-contact-footer-btn-center {
  position: relative;
  background: transparent !important;
}
#haiduong-contact-footer-btn-center .haiduong-contact-footer-btn-label {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
}
#haiduong-contact-footer-btn-center .haiduong-contact-footer-btn-label > span {
  display: inline-block;
  padding: 0 8px;
  background: var(--fs-color-primary);
  border-radius: 30px;
  color: #fff;
}
.haiduong-contact-footer-btn-center-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-image: linear-gradient(92.83deg, #1550a9 0, #00929c 100%);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  text-align: center;
}

.haiduong-contact-footer-btn-center-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 25px;
  height: auto !important;
}
.phone-vr-circle-fill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 0 #0e68c8;
    animation: zoom 1.3s infinite;
    background-color: unset;
    -webkit-transform-origin: unset !important;
    -ms-transform-origin: unset !important;
    transform-origin: unset !important;
}

@keyframes zoom {
  0% {
    box-shadow: 0 0 0 0 var(--fs-color-primary);
  }
  70% {
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* Hiển thị footer bar trên màn <=850px */
@media only screen and (max-width: 850px) {
  #haiduong-contact-footer-outer {
    display: block;
  }
}

@media (min-width: 850px) and (max-width: 1100px) {
  .header-nav-main.nav > li > a,
  .header-button a {
    font-size: 70% !important;
  }
  .header-block-block-1 {
    display: none;
  }
  .social-icons img {
    margin-right: 7px !important;
    border-radius: 50%;
    -webkit-box-shadow: 6px 4px 20px rgba(200, 32, 46, 0.2);
    box-shadow: 6px 4px 20px rgba(200, 32, 46, 0.2);
    width: 30px !important;
    height: 30px !important;
    border: unset;
  }
  .logo a {
    padding-left: 0px !important;
  }
  .flex-col.hide-for-medium.flex-right {
    width: 140% !important;
    flex-grow: 1;
  }
  input#s {
    height: 40px !important;
  }
  .nav-spacing-xlarge > li {
    margin: 0px 4px !important;
    font-size: 78% !important;
  }
  .header-bottom .nav > li > a {
    padding: 6px 6px !important;
  }
  .header-bottom {
    min-height: 42px !important;
  }
}
@media (min-width: 1100px) and (max-width: 1360px) {
  .flex-col.hide-for-medium.flex-left.flex-grow {
    display: none;
  }
  .header-bottom .nav > li > a {
    padding: 6px 6px !important;
    font-size: 85% !important;
  }
  .header-bottom .nav-spacing-xlarge > li {
    margin: 0 6px !important;
  }
}

@media (min-width: 1330px) and (max-width: 1510px) {
  .logo a {
    padding-left: 0px !important;
  }
  #logo {
    width: 138px !important;
  }
  .headertxt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 85% !important;
  }
  .headertxt1 {
    font-size: 18px !important;
    color: #c8202e;
    font-weight: 500 !important;
    line-height: 32px;
  }
  .headertxt2,
  .headertxt3 {
    font-size: 13px !important;
    font-weight: 300 !important;
    letter-spacing: 0.2px !important;
  }
  .header-bottom .nav > li > a {
    padding: 6px 6px !important;
    font-size: 85%;
  }
  .header-bottom .nav-spacing-xlarge > li {
    margin: 0 8px !important;
  }
  input#s {
    height: 40px !important;
  }
  .social-icons img {
    margin-right: 8px !important;
    border-radius: 50%;
    -webkit-box-shadow: 6px 4px 20px rgba(200, 32, 46, 0.2);
    box-shadow: 6px 4px 20px rgba(200, 32, 46, 0.2);
    width: 32px !important;
    height: 32px !important;
    border: unset;
  }
  .header-main li.html.header-button-1,
  .header-main li.html.header-button-2 {
    font-size: 78% !important;
  }
}
