
/* ================= BASE ================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}
.containerHome {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
.container {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .table-container {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  p {
     width: 100%;
     margin:6px;
}
/* ================= HEADER ================= */

HeaderTitle {
    color: red;
    padding-top: 25px;
    padding-bottom: 18px;
    padding-left: 8px;
    display: flex;
    align-items: center;
    
    
}


HeaderTitle h2 {
    margin: 0;
    line-height: 1;
    position: absolute;
    margin-left: 0px;
    text-decoration: underline;
   
    
}

header {
    background: #990000;
    color: white;
    padding: 8px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid white;
}

header img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

header h2 {
    margin: 0;
    line-height: 1;
    position: absolute;
    align-items: center;      /* căn giữa theo chiều dọc */
    justify-content: center;  /* căn giữa theo chiều ngang */
    margin-left: 140px;
   
    
}

/* ================= MENU ================= */
nav {
    background: #990000;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    position: relative;
}

.menu > li > a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.menu > li > a:hover {
    background: #ff0000;
}

.has-submenu::after {
    content: "▾";
    font-size: 10px;
    margin-left: 6px;
}

/* ================= SUBMENU ================= */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #990000;
    min-width: 250px;
    padding: 12px;
    margin: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.submenu li a {
    display: block;
    padding: 4px 4px 10px 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.submenu li a::before {
    content: "➤";
    font-size: 9px;
    margin-right: 6px;
}

.submenu li a:hover {
    background: #ff0000;
}

/* ================= FOOTER ================= */
footer {
    background: #990000;
    color: white;
    text-align: left;
    padding: 15px;
}

/* ================= MOBILE MENU ================= */
.menu-toggle {
    display: none;
    background: #990000;
    color: white;
    padding: 10px;
    cursor: pointer;
}


/* ================= CONTENT ================= */
.content {
    padding: 10px;
}

/* ================= FLEX 2 CỘT ================= */
.two-column-row {
    display: flex;
    gap: 0px;
}

.two-column-row .col {
    flex: 1;
    min-width: 0;
    padding: 0px;
}

/* ================= 1 CỘT = 50% TRÁI ================= */
.two-column-row.one-col {
    justify-content: flex-start;
}

.two-column-row.one-col .col {
    flex: 0 0 100%;
    max-width: 100%;
}


/* ================= TABLE BASE ================= */

table.no-border {
    border: none;
}
table.no-border-50 {
    width: 50%;
    border: none;
    
}
table.no-border-50 th,
table.no-border-50 td {
    border: none;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border: 1px solid #000000;
}

th, td {
    border: 1px solid #999;
    padding: 5px;
    text-align: center;
}

th {
    background: #003399;
    color: white;
}

/* ================= TABLE VARIANTS ================= */
table.only-outer
{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
}

table.only-outer-50 {
    width: 50%;
    border-collapse: collapse;
    border: 1px solid #000;
}
table.only-outer td,
table.only-outer th,
table.only-outer-50 td,
table.only-outer-50 th {
    border: none;
}




/* ================= HELPERS ================= */
table-50-no-border 
{ width: 50%; 
    border: none;
    }
table-50-no-border td,
table-50-no-border th {
    border: none;
}
    
.table-50 { width: 50%; }
.table-30 { width: 30%; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ================= EFFECTS ================= */
.table-highlight-last tr:last-child {
    background: #f2f2f2;
}

.table-hover tr:hover {
    background: #eef3ff;
}

/* ================= VIDEO ================= */
.video-container {
    max-width: 800px;
    margin: 0 auto;
}

video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #000;
}

/* ================= WRAPPER ================= */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
/*
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}
*/


/* FLOAT */
.float1{position:fixed;right:15px}
.call{bottom:3px}
.float2{position:fixed;right:160px;}
.zalo{bottom:3px}

.float1 a{
  display:block;
  background:#28a745;
  color:#fff;
  padding:12px 16px;
  border-radius:50px;
  text-decoration:none;
  margin-top:10px;
  height:20px;
}
.float2 a{
  display:block;
  background:#28a745;
  color:#fff;
  padding:12px 16px;
  border-radius:50px;
  text-decoration:none;
  margin-top:10px;
  height:20px;
}

.zalo a{background:#007bff}

.zalo a:link{text-decoration:none;font-weight:bold;color:#ffffff;}
.zalo a:hover{text-decoration:underline;font-weight:bold;color:#ffffff;}
.zalo a:visited{text-decoration:none;font-weight:bold;color:#ffffff;}

.call a:link{text-decoration:none;font-weight:bold;color:#ffffff;}
.call a:hover{text-decoration:underline;font-weight:bold;color:#ffffff;}
.call a:visited{text-decoration:none;font-weight:bold;color:#ffffff;}




/* ===== FORM FIXED BÊN PHẢI ===== */

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-btn {
    background: #fff;
    color: #000;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

/* trạng thái thu nhỏ */
.form-box.collapsed .form-content {
    display: none;
}

.form-box.collapsed {
    height: auto;
    padding: 10px;
}

.form-box {
    width: 300px;
    padding: 20px;
    background: rgba(0,33,88,0.85);
    color: #fff;
    border-radius: 10px;

    position: fixed;
    right: 10px;
    bottom: 50px;   /* 👈 nằm dưới cùng */

    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* TITLE */
.form-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 18px;
}

/* LABEL */
label {
    display: block;
    margin-bottom: 5px;
}

/* INPUT */
input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    
}

/* BUTTON */
button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

button:hover {
    background: #0056b3;
}

img {
  max-width: 100%;
  height: auto;
}


.itemBottom {
    width: 40%;
    padding: 5px;
    box-sizing: border-box;
  }
  
.item {
    width: 33.33%;
    padding: 0px;
    
  }

  .item img {
    width: 100%;
    height: auto;
    display: block;
  }


/* ===== RESPONSIVE MOBILE ===== */
@media(max-width:768px)
{
    
     .menu {
        flex-direction: column;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .submenu.active {
        display: block;
    }

    .menu-toggle {
        display: block;
    }
      header h2 {
        font-size: 14px;
    }
      .menu li:hover > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .form-box{
        position: static;
        width: 90%;
        margin: 20px auto;
    }
     .item {
    width: 100%;
  }
}



/* MAP */
/*
.map iframe{
  width:100%;
  height:450px;
  border-radius:10px;
  border:0;
}
*/


a:link{text-decoration:none;color:#0000ff;}
a:hover{text-decoration:underline;color:#0000ff;}
a:visited{text-decoration:none;color:#0000ff;}
