@charset "utf-8";

* {
    margin: 0;
    padding: 0
}

body {
    font-family: Arial, sans-serif;
    font-size: 15px
}

a {
    text-decoration: none !important
}

p {
    margin: 0.5rem;
}

h3,
h4 {
    color: #1e73be !important
}

img {
    max-width: 100%;
}

table {
    max-width: 99%
}

td {
    font-size: 15px;
}

p img {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

ol {
    margin-left: 1.5rem;
}

.nav-link {
    font-size: 14px;
    color: white !important
}

.lmhwrap {
    background-color: #d6dada;
}

.container {
    background-color: white;
    max-width: 1200px;
}
.containerwraphome {
	background-color:none;
	max-width:100%;
}

.lmhlogo {
    max-width: 1200px;
    text-align: center;
}

.nav {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    color: white !important;
}

.lmhmenu {
    background-color: #004ba9;
}

a.nav-link {
    color: white;
}

.navbar-toggler {
    padding: 0;
    font-size: 0.7rem;

}

.dropdown-divider {
    border-top: 1px solid #a9e2f9;
}

/* -------Nút slide---------- */
i.fa.fa-angle-left {
    font-size: 50px;
    background-color: #808080ab;
    color: #00a9ec;
}

button.owl-prev {
    position: absolute;
    bottom: 50%;
    display: none;
}

button.owl-next {
    position: absolute;
    bottom: 50%;
    right: 0;
    display: none;
}

i.fa.fa-angle-right {
    font-size: 50px;
    color: #00a9ec;
    background-color: #808080ab;
}

#slidemh1:hover .owl-prev {
    display: block
}

#slidemh1:hover .owl-next {
    display: block
}

/* ----------Finish nút slide------- */
/* ------Kết thúc định dạng chung------- */
#container-mh {
    background-color: white;
}

marquee a {
    color: #00a9ec !important;
}

/* Modern Slider Styles */
#slidemh {
    /* max-height: 375px; Removed to let content dictate, handled by inner items */
    padding-right: 5px;
    /* Minimal spacing */
}

#slidemh1 {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.noidungmh {
    height: 375px;
    /* Fixed height for consistency */
    position: relative;
    overflow: hidden;
    /* For zoom effect */
}

.noidungmh img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* Ensure image covers area without distortion */
    transition: transform 0.5s ease;
}

.noidungmh:hover img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.titlemh {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 15px 20px;
    /* Increased top padding for gradient fade */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.titlemh a {
    color: white !important;
    text-decoration: none;
    display: block;
}

.tieudebv {
    color: black;
    margin-top: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
}

.tdtin {
    margin-top: 0.5rem;
    text-align: justify;
    line-height: 1.4;
}

div.c1 {
    text-align: center;
    font-size: 13px;
    /* Slightly smaller font for better fit */
    background: #fff;
    /* Card background */
    padding: 8px 5px;
    /* Reduced padding */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    /* Ensure equal height if in flex container */
    margin-bottom: 5px;
    /* Reduced margin */
}

.c1:hover {
    transform: translateY(-3px);
    /* Subtle lift */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #00a9ec;
}

.c1:hover .iconmh {
    /* transform: scale(1.2); Removed scaling to focus on lift effect */
    color: #00a9ec;
}

.c1 b {
    color: #0566f7;
    margin-top: 5px;
    /* Reduced margin */
    display: block;
    font-weight: 600;
}

.iconmh {
    font-size: 32px;
    /* Reduced icon size */
    color: #004ba9;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

/* Hide the old separator line */
.linemh {
    display: none;
}

/* Modern Vertical Ticker */
.modern-ticker-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Soft, modern shadow */
    overflow: hidden;
    margin-top: 5px;
    /* Reduced space between icons and ticker */
    border: 1px solid #eaeaea;
    /* Very subtle border */
}

/* Header removed style block was here */

.modern-ticker-content {
    height: 180px;
    /* adjusted to 180px for best alignment */
    overflow: hidden;
    position: relative;
    background: #fff;
    /* Clean white background */
}

.modern-ticker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: tickerScroll 20s linear infinite;
    /* Speed adjusted for shorter height */
}

/* Pause on hover */
.modern-ticker-content:hover .modern-ticker-list {
    animation-play-state: paused;
}

.ticker-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 15px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.ticker-item:last-child {
    border-bottom: none;
}

.ticker-item:hover {
    background: #f8fbff;
    /* Light blue tint on hover */
    padding-left: 20px;
}

.ticker-item a {
    color: #444 !important;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    width: 100%;
    font-weight: 500;
}

.ticker-item a:hover {
    color: #004ba9 !important;
}

.ticker-item i {
    width: 25px;
    text-align: center;
    color: #d9534f;
    /* Bootstrap Danger color approx */
}

@keyframes tickerScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}



#tuyensinh {
    animation: colorBackground 3s infinite;
}

@keyframes colorBackground {
    0% {
        color: #004ba9;
    }

    100% {
        color: #00a9ec;
    }
}

.menuphai a {
    color: #072458;
}

.menu-duoi {
    display: none;
    position: absolute;
    background-color: grey;
}

/* ------Finish section 1-------- */
/*  ---------Start section 2----------- */
/* Modern Section Titles */
h3.titlect {
    font-weight: 700;
    font-size: 20px;
    color: #004ba9 !important;
    position: relative;
    padding-left: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 5px solid #d9534f;
    /* Accent border */
}

.titlect a {
    color: #004ba9 !important;
    text-decoration: none;
}

/* Hide old divider lines as we use margin/padding now */
.duongke,
.duongke1 {
    display: none;
}

/* Modern News Cards */
.tintuc {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Ensure equal height */
    border: 1px solid #f0f0f0;
    display: flex;
    /* Flex layout for easier alignment */
    flex-direction: column;
}

/* Specific fix for height issues in bootstrap rows */
.cotanh {
    margin-bottom: 20px;
}

.tintuc img {
    width: 100%;
    height: 180px;
    /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tintuc:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tintuc:hover img {
    transform: scale(1.05);
}

.tdtin {
    padding: 15px;
    margin-top: 0;
    /* Reset margin */
    flex-grow: 1;
    /* Push content to fill space */
}

.tieudebv {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    display: block;
    /* Ensure it behaves like a block for clicking */
    transition: color 0.2s;
}

.tintuc:hover .tieudebv {
    color: #004ba9;
}

/* Announcement Lists (Right Column) */
.list-item-modern {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: padding-left 0.2s ease;
}

.list-item-modern:hover {
    padding-left: 5px;
}

.list-item-modern a {
    color: #444;
    font-size: 14px;
    font-weight: 500;
}

.list-item-modern a:hover {
    color: #004ba9;
    text-decoration: none;
}

.list-icon {
    color: #d9534f;
    margin-right: 8px;
    font-size: 12px;
}

.imgdoitac .item img {

    max-width: 70%;
}

.bangchon td {
    padding: 8px;
    text-align: left;
}

canvas#the-canvas {
    max-width: 90%;
}

/* --------------responsive-------- */
@media screen and (max-width:576px) {
    .titlemh {
        font-size: 14px;
        padding: 15px 10px 10px 10px;
        /* Adjust padding for mobile */
    }

    .col-md-5.cotphaimh {
        margin-top: 1rem;
    }

    /* Fix for slider on mobile */
    .noidungmh {
        height: auto !important;
        /* Allow height to adjust to image */
        max-height: none;
    }

    .noidungmh img {
        height: auto !important;
        /* specific height for mobile */
        position: static;
        transform: none !important;
        /* Disable zoom on mobile */
    }
}

@media screen and (min-width:576px) {
    .dropdown-mega {
        width: 1200px;
        left: -528%;
    }
}

@media (min-width: 768px) {
    /* Removed old .tintuc and .cotanh:hover .tintuc from here */
}

/* --------Thêm mới----------- */
.v1 {
    position: relative;
}

.drop-down02 .sub-menu02 {
    position: absolute !important;
    left: 100%;
    top: 70%;
}

.drop-down02 .dropdown-toggle {
    padding: .25rem 1.5rem !important;
}

@media screen and (max-width :767px) {
    .drop-down02 .sub-menu02 {
        position: static !important;

    }

    ul.dropdown-menu.sub-menu02 {
        padding-left: 1rem;
    }
}

.v2::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

@media screen and (min-width :767px) {
    .v2::after {
        transform: rotate(270deg);
    }
}