﻿body {
    font-family: Arial;
    font-size: 14px;
    margin: 0 auto;
    min-width: 300px;
}

.clear {
    clear: both;
}

.menutop {
    width: 100%;
    float: left;
    background-color: #505050;
    color: #FFF;
    overflow: auto;
}

a {
    text-decoration: none;
}

.logo {
    width: 100px;
    float: left;
}

.top1 {
    text-transform: uppercase;
    color: rgb(245, 30, 30);
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    margin-top: 7px;
    margin-bottom: 7px;
}

.top2 {
    text-transform: uppercase;
    color: #00b0f0;
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    margin-top: 7px;
    margin-bottom: 7px;
}

.top3 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    margin-top: 7px;
    margin-bottom: 7px;
}

.logophai {
    width: 50px;
    float: right;
}

.top {
    width: 100%;
}

.topmenu {
    width: 100%;
    float: left;
    background-color: #00b0f0;
}

    .topmenu ul {
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .topmenu ul li {
            display: inline;
            text-transform: uppercase;
            text-align: center;
            font-size: 17px;
            margin-left: 13px;
            margin-right: 13px;
            position: relative;
        }

            .topmenu ul li a {
                color: #FFF;
                font-weight: bold;
            }

            .topmenu ul li .mdi {
                font-size: 27px;
                position: absolute;
                top: -6px;
                left: -10px;
            }

.mdidiv-home {
    position: relative;
    width: 100px;
    text-align: center;
    display: inline;
}

.topslide {
    width: 100%;
}

.home-news-e {
    width: 22%;
    float: left;
    overflow: hidden;
    margin-left: 1%;
    margin-right: 1%;
}

    .home-news-e img {
        width: 100%;
    }

    .home-news-e .thumb {
        width: 100%;
        height: 200px;
        overflow: hidden;
        background-color: #000;
    }

        .home-news-e .thumb img {
            height: 100%;
            width: auto;
        }

.home-news {
    width: 100%;
    float: left;
    position: relative;
    overflow: hidden;
}

.home-news-title a {
    color: #fff;
    font-size: 20px;
}

.home-news-title {
    font-size: 20px;
    clear: both;
    background-color: #00b0f0;
    color: #FFF;
    text-transform: uppercase;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    margin-left: 10px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.home-news-gachngang {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00b0f0, #e0f7fa);
    position: absolute;
    top: 30px;
    left: 10px;
    z-index: 1;
}

.container {
    display: flex;
    width: 100%;
    min-height: 400px; /* Chiều cao mẫu để dễ nhìn */
}

.left-pane {
    flex: 1; /* Tự động mở rộng chiếm toàn bộ không gian còn lại */
    background-color: #f0f2f5;
    padding: 20px;
}

.right-pane {
    width: 300px; /* Cố định chiều rộng đúng 300px */
    flex-shrink: 0; /* Ngăn không cho cột này bị bóp méo khi màn hình hẹp */
    background-color: #e4e6eb;
    padding: 20px;
}




.container-con {
    display: flex;
    width: 100%;
    min-height: 400px; /* Chiều cao mẫu để dễ nhìn */
}

.left-pane-con {
    flex: 1; /* Tự động mở rộng chiếm toàn bộ không gian còn lại */
    background-color: #f0f2f5;
    padding: 20px;
    font-size: 17px;
}

    .left-pane-con img {
        width: 100%;
    }

    .left-pane-con .tieude *, .left-pane-con .tieude {
        color: #000;
        font-weight: bold;
        font-size: 17px;
    }


.right-pane-con {
    width: 300px; /* Cố định chiều rộng đúng 300px */
    flex-shrink: 0; /* Ngăn không cho cột này bị bóp méo khi màn hình hẹp */
    padding: 20px;
    text-align: justify;
    font-size: 15px;
}


    .right-pane-con .tieude * {
        color: #000;
        font-weight: bold;
        margin-top: 0;
        font-size: 15px;
    }

    .right-pane-con .tieude a:hover {
        color: red;
    }

.ngay {
    font-size: 11px;
}

.tieude2, .tieude2 * {
    font-size: 15px;
    font-weight: bold;
    color: #000;
}

.rphoto {
    width: 100%;
    text-align:center;
}

    .rphoto img {
        width: 90%;
    }




/* Thiết lập chung cho Footer */
.site-footer {
    background-color: #1d2a44; /* Màu nền xanh đậm lấy từ mẫu */
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px 40px 20px;
}

.footer-col {
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
    padding-right: 20px;
}

/* Tiêu đề các cột */
.footer-title {
    color: #00d2c4; /* Màu xanh ngọc đặc trưng cho tiêu đề */
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Danh sách thông tin liên hệ */
.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-info li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 1.5;
        color: #e0e0e0;
    }

        .footer-info li i {
            color: #ffffff;
            margin-right: 10px;
            margin-top: 3px;
            min-width: 15px;
        }

/* Khu vực mạng xã hội / ứng dụng */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

    .social-icon.facebook {
        background-color: #3b5998;
    }

    .social-icon.youtube {
        background-color: #ff0000;
    }

    .social-icon.zalo {
        background-color: #0068ff;
        font-size: 11px;
    }

/* Lịch làm việc */
.footer-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-schedule li {
        font-size: 14px;
        margin-bottom: 12px;
        color: #e0e0e0;
        line-height: 1.4;
    }

/* Phần bản quyền màu vàng ở đáy */
.footer-bottom {
    background-color: #ffcc00; /* Màu vàng cam đặc trưng */
    color: #1a1a1a;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
}

.noidungtin {
    max-width: 800px;
    float: right;
}

.tinphai a {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

    .tinphai a:hover {
        color: red;
    }

.newse {
    width: 100%;
    clear: both;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bentrai {
    width: 200px;
    float: left;
    flex-shrink: 0; /* Ngăn không cho cột này bị bóp méo khi màn hình hẹp */
    padding: 10px;
}

    .bentrai a {
        color: #000;
    }

.benphai {
    flex: 1; /* Tự động mở rộng chiếm toàn bộ không gian còn lại */
    float: right;
}

.newse-thumb {
    width: 150px;
    float: left;
    flex-shrink: 0; /* Ngăn không cho cột này bị bóp méo khi màn hình hẹp */
    padding: 10px;
    overflow: hidden;
    height: 100px;
}

    .newse-thumb img {
        width: 100%;
    }

.newse-right {
    flex: 1; /* Tự động mở rộng chiếm toàn bộ không gian còn lại */
    font-size: 14px;
    text-align: justify;
}

.newse-right-title a {
    color: #000;
}

.newse-right-title {
    margin-top: 0;
    font-weight: bold;
}

.khungchinh {
    display: flex;
    width: 100%;
}


.phantrang {
    text-align: center;
}

    .phantrang a {
        text-decoration: none;
        color: #fff;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 10px;
        background: #000000;
        margin-left: 2px;
        margin-right: 2px;
        font-size: 14px;
    }

        .phantrang a:hover {
            color: #ff0000;
        }

    .phantrang .selectedpage {
        color: yellow;
        background-color: #ff0000;
    }

@media (max-width: 700px) {
    .topmenu {
        display: none;
    }

    .top * {
        font-size: 13px;
    }

    .right-pane {
        width: 100%;
    }

    .left-pane {
        width: 100%;
    }

    .container {
        display: block;
    }

    .container-con {
        display: block;
        width: unset;
    }

    .left-pane-con {
    }

    .right-pane-con {
        width: unset;
        padding-left: 0;
        padding-right: 0;
    }

    .home-news-e {
        width: 100%;
        margin: 0;
        text-align: center;
    }

        .home-news-e .thumb {
            width: 100%;
            height: auto;
        }

            .home-news-e .thumb img {
                width: 100%;
                height: auto;
            }

    .tieude2 {
        text-align: center;
    }
}

.navbar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Thanh Menu chính */
.navbar {
    background-color: #0099ff; /* Màu xanh chuẩn theo ảnh */
    width: 100%;
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Danh sách menu cho PC */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 12px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.3s;
}

    .nav-link:hover {
        background-color: #007acc;
    }

/* Nút Hamburger cho điện thoại */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
}

/* Responsive cho Mobile (Màn hình dưới 992px) */
@media screen and (max-width: 992px) {
    .navbar {
        width: 100%;
        max-width: unset;
        text-align: center;
    }

    .khungchinh {
        display: block;
    }

    .bentrai {
        display: none;
        width:unset;
        padding:0;
        margin:0;
        float:none;
        clear:both;
        padding-left:10px;
        padding-right:10px;
    }
    .newse-right{
        padding-right:10px;
        padding-left:10px;
    }
    .noidungtin{
        float:none;
        padding-left:10px;
        padding-right:10px;

    }
    .right-pane {
        margin: 0;
        padding: 0;
    }
    .left-pane{
          margin: 0;
        padding: 0;
    }
    .newse{
        margin-left:0;
        margin-right:0;
    }
    .benphai {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-container {
        justify-content: space-between;
        max-width: unset;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0099ff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

        /* Khi menu mở trên mobile */
        .nav-menu.active {
            max-height: 500px;
            z-index: 9;
        }

    .nav-item {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        padding: 15px 20px;
        width: 100%;
    }
}
