
/* ================= BASE ================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* ================= HEADER ================= */
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: 40%;
   
    
}
.Title1
{
   color: red;
   font-weight:bold;
    font-size: 16px; 
    margin:6px;
    padding:8px;
    border-bottom: 2px solid red;
}

/* ================= MENU ================= */
nav {
    background: #1683d5;
     position: relative;
    z-index: 1000;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu li {
    position: relative;
}

.menu > li > a {
    display: flex;
    align-items: center;
    padding: 12px 12px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight:bold;
}

.menu > li > a:hover {
    background: #006699;
}

.has-submenu::after {
    content: "▾";
    font-size: 10px;
    margin-left: 6px;
}
.menu > li > a.inline-link{
    display:inline-block;
    padding-top: 12px;
    padding-left: 6px;
    padding-right: 6px;
     
}
.inline-link{
    display:inline;
}

/* ================= SUBMENU ================= */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1683d5;
    min-width: 250px;
    padding: 12px;
    margin: 0;
    z-index: 2000;
}
.menu li:hover .submenu {
    display: block;
}
.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: #006699;
}



/* ================= FOOTER ================= */
footer {
    background: #1683d5;
    color: white;
    text-align: left;
    padding: 15px;
}

/* ================= MOBILE MENU ================= */
.menu-toggle {
    display: none;
    background: #1683d5;
    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 ================= */

.container {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .containerHome {
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  
  
.two-column-row.one-col {
    justify-content: flex-start;
}

.two-column-row.one-col .col {
    flex: 0 0 100%;
    max-width: 100%;
}

.row{
    display:flex;
    flex-wrap:wrap; /* cho phép xuống dòng */
    padding-top:0px;
    padding-bottom:0px;
    margin:0px;
}

.col-left{
    flex:0 0 70%;
}

.col-right{
    flex:0 0 30%;
}

/* ================= TABLE BASE ================= */


.no-border,
.no-border tr,
.no-border td,
.no-border th {
    border: none !important;
}
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: 0px;
    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;
}


/* Khung slideshow */
.slideshow{
  position:relative;
  width:100%;
  max-width:1200px;
  height:400px;

  margin:40px auto;

  overflow:hidden;
  background:#ffffff;
}

/* Ảnh */
.slideshow img{
  position:absolute;

  top:50%;
  left:50%;

  transform:translate(-50%, -50%);

  width:auto;
  height:100%;

  opacity:0;

  transition:opacity 1s ease-in-out;
}

/* Ảnh active */
.slideshow img.active{
  opacity:1;
  z-index:1;
}
.item {
     flex:0 0 33.33%;
    padding: 0px;
    
  }


 
a:link{font-size:12px;text-decoration:none;color:#000000;}
a:hover{font-size:12px;text-decoration:underline;color:#333333;}
a:visited{font-size:12px;text-decoration:none;color:#000000;}

p {
  display: block;
}


/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
 
 
  .submenu {
        position: static;
    }

   

 .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;
    }
    
   .menu li:hover > .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


.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: #cc0000;
}


     header h2 {
        font-size: 14px;
    }
    /* 2 cột -> xuống dòng */
    .two-column-row:not(.one-col) {
        flex-direction: column;
    }

    .two-column-row:not(.one-col) .col {
        width: 100%;
    }

    /* 1 cột vẫn giữ 50% */
    .two-column-row.one-col .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
     .item{
         flex:0 0 100%;
    }
    .col-left,
    .col-right{
        flex:0 0 100%;
    }
}
