@charset "utf-8";
.top-bar {
    background-color: #0583c1;
    color: white;
    font-size: 14px;
    padding: 6px 0;
}
.top-bar .contact-info i {
    margin-right: 6px;
}
.top-bar .contact-info span {
    margin-right: 20px;
}
.navbar-brand img {
    height: 50px;
}
.navbar-nav .nav-link {
    color: black;
    font-weight: 500;
    padding-right: 20px;
    text-transform: uppercase;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item:hover > .nav-link {
    color: #0583c1;
}
/* Custom dropdown menu */
.dropdown-menu {
    border: none;
    padding: 0;
    min-width: 220px;
}
.dropdown-menu a {
    background-color: #0583c1;
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    border-bottom: 1px solid #0273a6;
}
.dropdown-menu a:hover {
    background-color: #0273a6;
    color: white;
}
.search-box input {
    border-radius: 0;
}
.search-box button {
    border-radius: 0;
}
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .news-info{margin-left: 15px}
}

.carousel-item img {
    width: 100%;
    max-height: 350px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    width: 40px;
    height: 40px;
}
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background-color: rgba(189, 189, 189, 0.6);
    border-radius: 50%;
    border: 1px solid #fff;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicators .active {
    background-color: #237bff; /* Bootstrap primary màu xanh */
    transform: scale(1); /* to ra một chút */
    border-color: #fff;
}

.custom-control1,
.custom-control2 {
    width: 15%;
    top: 0;
    bottom: 0;
    z-index: 2;
    transition: background 0.3s ease;
}

.carousel-control-prev.custom-control {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0)
    );
}

.carousel-control-next.custom-control {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0)
    );
}

.custom-control1:hover {
    background: linear-gradient(
        to right,
        rgba(172, 172, 172, 0.9),
        rgba(255, 255, 255, 0)
    );
}
.custom-control2:hover {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0),
        rgba(172, 172, 172, 0.9)
    );
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}
h2 {
    color: #0881bd;
}
.btn-outline-primary {
    color: #31bef3 !important;
    border: 1px solid #eee;
}
.btn-outline-primary:hover {
    background-color: #ffffff;
    border: 1px solid #31bef3;
}
.swiper {
    padding-bottom: 40px;
}
.swiper-slide {
    height: auto !important;
}
/* .overlay-card {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 10;
} */
.medium-text {
    font-size: 1.0rem;
    text-align: justify;
}

.custom-img {
    width: 220px;
    min-width: 165px;
    height: 135px;
    object-fit: cover;
    flex-shrink: 0; /* Không cho ảnh co lại trong flex */
}

/* Trên màn hình nhỏ hơn md (mobile), ảnh sẽ nằm trên, canh giữa và cố định kích thước */
@media (max-width: 912px) {
    .custom-img {
        width: 100%;
        height: 135px;
        margin: 0 auto 10px auto; /* căn giữa và cách dưới */
        display: block;
    }
}

.pull-right .home-title, .pull-right .top-blog-r, .truy_cap .home-group-title  {
    background-color: #006fd7;
    padding: 7px 10px;
    margin: 0;
}
.pull-right .home-title a, .pull-right .top-blog-r a, .truy_cap .home-group-title h1 {
    color: #fff;
    font-size: 15px;
    /*font-family: 'Roboto', sans-serif;*/
    font-weight: 700;
    text-transform: uppercase;
    /*letter-spacing: 1px;*/
    text-decoration: none;
}
.pull-right .home-content {
    border: 1px solid #e5e5e5;
    border-top: none;
    padding: 10px;
}
.main-image{position: relative}
.icon-video {
    position: absolute;
    bottom: 0;
    left: 0;
}
.pull-right .home-title {
    background: #006fd7;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-top: none;
    margin: 0;
    border-bottom-color: #dddddd;
    padding: 9px 10px 0 40px;
    height: 35px;
    position: relative;
    text-transform: uppercase;
    line-height: 18px;
    /*font-family: 'Roboto', sans-serif;*/
}
.pull-right .home-title:after {
    position: absolute;
    top: 10px;
    left: 8px;
    content: "\f03a";
    font-family: FontAwesome;
    font-size: 19px;
}
.pull-right .home-content {
    border: 1px solid #e5e5e5;
    border-top: none;
    padding: 10px;
}
.pull-right .clNews .itemn {
    margin-bottom: 10px;
    margin-left: -10px;
    border-bottom: 1px dotted #e5e5e5;
    padding-bottom: 10px;
}
.clNews .itemn .khungAnh {
    max-width: 88px;
    height: 60px;
    position: relative;
    overflow: hidden;
    float: left;
    background: #fff;
}
.itemn .info {
    text-align: justify;
    line-height: 18px;
    padding-left: 0;
}
.itemn .info a {
    color: #333;
    text-decoration: none;
    /*font-weight: 500;*/
    /*font-family: Roboto;*/
}
.itemn .info a:hover {color: #e70507;}
.pull-right  .home-title a {color: #fff;}
.pull-right .portlet {margin-bottom: 15px;}
.news-title{text-decoration: none !important; line-height: 1.2 !important; display: block; text-align: justify}
#AdvAboutFooter .titleCate {text-decoration: none}
#AdvAboutFooter .titleCate div {
    font-size: 25px;
    color: #fff;
    margin-bottom: 15px;
    display: block;
}
#AdvAboutFooter .desc {
    font: 14px / 21px Arial;
    color: #fff;
    text-align: justify;
}
#SubContactSlideHome .title {
    font-size: 25px;
    color: #fff;
    margin-bottom: 15px;
}
.m0 {
    margin: 0;
}
#AdvAboutFooter .desc {
    font: 14px / 21px Arial;
    color: #fff;
    text-align: justify;
}
#SubContactSlideHome .child {
    font: 14px / 21px Arial;
    color: #b2e5ff;
    padding-left: 32px;
    margin-bottom: 13px;
}
footer {
    width: 100%;
    padding: 45px 0 20px 0;
    background: #0881bd url(/webs/layout10/images/eq.png) no-repeat left center content-box border-box;
    box-sizing: border-box;
}
#SubContactSlideHome .address {
    background: url(/webs/layout10/images/location.png) no-repeat left top;
}
#SubContactSlideHome .tel {
    background: url(/webs/layout10/images/tel.png) no-repeat left top;
}
#SubContactSlideHome .hotline {
    background: url(/webs/layout10/images/hotline.png) no-repeat left top;
}
#SubContactSlideHome .email {
    background: url(/webs/layout10/images/email.png) no-repeat left top;
}
#SubContactSlideHome .website {
    background: url(/webs/layout10/images/website.png) no-repeat left top;
}

.blog-news {
    border: 1px solid #ddd;
}
.top-blog {
    background: #f3f3f3;
    padding: 10px;
}
.top-blog .title_cate_home{
    color: #1d67c2;
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
.blog-news-content, .van_ban .home-group-content {
    padding: 10px;
}
.blog-news-content .caption {
    margin: 10px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.blog-news-content .caption a {font-weight: bold;}
.blog-news-content ul li {
    padding-bottom: 5px;
    background: url(images/icon.png) no-repeat left 12px;
    padding-left: 10px;
    border-top: 1px dashed #ddd;
    padding-top: 5px;
}
.blog-news-content ul li:first-child {border-top: none;}
.blog-news-content ul li a {color: #204b80;}
.blog-news-content a:hover {text-decoration: underline;}


.blog-news .thumbnail{
    margin-top: 10px;
}
 .thumbnail .thumb-heading{
    margin-top: 10px;
    height: 36px;
    overflow: hidden;
}
.thumbnail .thumb-heading a {
    color: #333;
}
.thumbnail p {
    color: #666;
    font-size: 14px;
}

.blog-news .list-news-media ul li {
    background: url(images/4.jpg) no-repeat left 12px;
    padding-left: 10px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dotted #ddd;
}
.blog-news .list-news-media ul li a {
    color: #333;
    font-size: 13px;
    font-weight: bold;
}
.blog-news .list-news-media ul li a:hover {
    color: #004f8b;;
}

.item-first h2 a {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4; /* Điều chỉnh khoảng cách giữa các dòng */
    font-family: 'Roboto Condensed', sans-serif;
    text-decoration: none;
    color: #0060a1; /* Màu chữ mặc định */
}

.item-first h2 a:hover {
    color: rgb(221, 28, 28);
}


.sapo {
    margin-top: 0;
    text-align: justify;
    color: #555; /* Màu chữ xám nhẹ */
    line-height: 1.6; /* Khoảng cách dòng */
    font-size: 15px;
}

.item-first .col-md-4 img {
    width: 100%; /* Chiều rộng đầy đủ */
    height: 100%; /* Tự điều chỉnh theo tỉ lệ */
    object-fit: cover; /* Đảm bảo ảnh phù hợp với khung */
    border-radius: 5px; /* Bo góc hình ảnh */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Đổ bóng cho hình ảnh */
}
.item-first {
    display: flex;
    gap: 15px; /* Khoảng cách giữa hình và chữ */
    align-items: stretch; /* Hình và chữ cùng chiều cao */
}
@media screen and (max-width: 767px) {
    .item-first {
        flex-direction: column;
        gap: 0;
    }
}

.item-first .col-md-4 {
    flex: 0 0 30%; /* Hình chiếm 30% chiều rộng */
}
.item-first .col-md-8 {
    flex: 1; /* Phần chữ chiếm không gian còn lại */
    display: flex;
    flex-direction: column; /* Nội dung xếp theo cột */
    justify-content: flex-start
}
.item-first h2 {
    margin: 0 0 10px; /* Khoảng cách giữa tiêu đề và sapo */
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 15px;
}
.p-3 {padding: 1rem 0 !important}
.list_sub_cate {
    border-bottom: 1px solid #e8d3c3;
    margin: 0 15px 15px;
    padding: 8px 0 5px;
}
.blog-news .list_sub_cate a.active {
    background: #fff;
    margin-bottom: -1px;
    color: #e26f2c;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}
