﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 60px;
}


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
/*---------------------------------------*/
#autocompleteList {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-top: none;
}

.card-img-top {
    border: none !important;
    box-shadow: none !important;
}
/*------------------------------------*/
.breadcrumb-item + .breadcrumb-item::before {
    content: " » ";
    color: #6c757d; /* Màu xám giống Bootstrap */
}

.breadcrumb-item a.custom-link {
    color: blue;
    font-weight: bold;
    font-size: 1.05rem;
}

.textDecoration {
    color: white;
    text-decoration: none;
}

.address-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    .address-link:hover {
        text-decoration: underline;
        color: yellow;
    }
/*---------------------------------------------*/
.carousel-caption h5 {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1rem;
}

.banner-carousel {
    height: 450px;
    background-color: #f5f5f5; /* nền chờ khi ảnh chưa load, hoặc ảnh có tỷ lệ hẹp hơn khung */
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 450px;
    object-fit: cover; /* banner full-width thường CHẤP NHẬN cắt bớt 2 bên để lấp đầy - đây là hành vi chuẩn cho banner */
    object-position: center;
}

.carousel-caption h5 {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 1rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 0-.708 0L4.5 8l6.146 6.354a.5.5 0 0 0 .708-.708L5.707 8l5.647-5.646a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0L11.5 8l-6.146 6.354a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}

.bg-darkgreen {
    background-color: #183544;
}
/*--------------------------------------------*/
footer ul li {
    padding: 4px 0;
    color: #f1f1f1;
    font-size: 0.95rem;
}

.footer {
    background-color: #183544;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1 1 220px;
    margin: 10px;
}

    .footer-col h4 {
        color: #f6d65b;
        margin-bottom: 10px;
        border-bottom: 1px solid #f6d65b;
        padding-bottom: 5px;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

        .footer-col ul li {
            margin-bottom: 8px;
            font-size: 14px;
            color: #fff;
        }

    .footer-col p {
        font-size: 14px;
        line-height: 1.6;
    }

.footer-logo {
    max-width: 120px;
    margin-bottom: 10px;
}

.footer-social a {
    color: #f6d65b;
    font-size: 20px;
    margin-right: 10px;
}

.footer i {
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-carousel {
        height: 200px;
    }

    .banner-img {
        height: 200px;
    }


    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-col {
        width: 100%;
    }

    .footer-logo {
        max-width: 100px;
    }
}

.HeaderGridView {
    background-image: url(/IMAGES/ADMIN/Title.png);
    background-repeat: repeat-x;
    margin-top: 1px;
    padding: 0px;
    height: 40px;
    border: 1px solid whitesmoke;
    text-align: center;
    top: 0;
    z-index: 10;
    /*position: sticky;*/
    /*font-family: "UTM_Gill_Sans_Con";
        font-size: 18px;*/
}

.FooterGridView {
    background-color: lightyellow;
    margin-top: 2px;
    padding: 0px;
    height: 40px;
    border: 1px solid whitesmoke;
    font-size: 15px;
    color: blue;
}

.Note {
    background-color: #183544;
    /*background-image: url('/images/goods_grain1.jpg');*/
    height: auto;
    width: 100%;
    color: yellow;
    text-align: left;
    font-size: 14px;
    padding: 5px;
    margin-bottom: 2px;
}

.OrderCode {
    background-color: #183544;
    /*background-image: url('/images/goods_grain1.jpg');*/
    height: auto;
    width: 100%;
    color: yellow;
    text-align: left;
    font-size: 14px;
    padding: 5px;
    margin-bottom: -1px;
}

.scroll-box {
    max-width: 100%; /* Giới hạn theo chiều rộng màn hình */
    white-space: nowrap; /* Giữ tất cả nội dung trên 1 dòng */
    overflow-x: auto; /* Thêm thanh cuộn ngang khi quá dài */
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    display: block; /* Đảm bảo chiếm toàn bộ chiều ngang */
    color: blue;
    font-size: 15px;
    font-style: italic;
    font-weight: bold;
}

