body{
    width: 100%;
    background-color: #ff6816;
}
@font-face {
    font-family:'font1';
    src: url('font/Roboto-Medium.eot');
    src: url('font/Roboto-Medium.eot') format('embedded-opentype'),
         url('font/Roboto-Medium.woff2') format('woff2'),
         url('font/Roboto-Medium.woff') format('woff'),
         url('../font/UVN Hong Ha Hep.ttf') format('truetype'),
         url('font/Roboto-Medium.svg#RobotoBold') format('svg');
}
a{
    text-decoration: none;
}
p.vien1{
    border-bottom: 5px solid #f5d706;
    width: 100px;
}
p.vien{
    border-bottom: 5px solid #ff6816;
    width: 100px;
}
.counter_text{
    font-size: 15px;
}
h3>a{
    color: #2196F3;
}
h5>a{
    color: black;
    font-weight: bold;
    font-family: 'font1';
}
h3>a:hover{
    color: green;
    text-decoration: none;
}
h3>a:hover i{
    color: green;
}
h5>a:hover{
    color: green;
    text-decoration: none;
}
div#menu
{
    width: 100%;
    background: rgba(255, 255, 255, 0.41);
}
.menu-lage>ul{
       height: 60px;
    border-bottom: 5px solid #ff6816;
    margin: 0 auto;
    line-height: 55px;
    text-align: center;
    width: 100%;
}

.menu-lage ul li
{
    padding: 0 15px;
    z-index:50;
}

div#menu ul li a
{
    font-family: 'Open Sans', sans-serif;
    color: black;
    font-size: 15px;
    padding: 0px 15px;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}

div#menu ul li a.active,div#menu ul li a.active2
{
    border-bottom: 5px solid white;
   
}

div#menu ul li ul,div#menu ul li:hover ul li ul
{
    z-index: 10;
    position:absolute;
    margin-left:0px;
    display:none;   
}
div#menu ul li:hover ul
{
    display:block;
}
div#menu ul li ul li
{
    line-height: 3;
    background: #00996f;
}
div#menu ul li ul li a
{
    padding:6px 10px;
    text-transform:none;
}
div#menu ul li ul li ul
{   
    left: 120px;
    top: 0px;
    width: 200px;
}

#toptop {width: 37px; height: 37px;position: fixed;bottom: 51px; right: 0px;text-indent: -99999px;cursor: pointer;background: url(images/back_to_top.png) top center no-repeat;transition:0.5s;z-index:200;}
#toptop:hover{background: url(images/back_to_top.png) bottom center no-repeat;transition:0.5s;}
.clear{clear:both;}
.tieude_giua h2{
        font-family: verdana;
    font-size: 17px;
    padding-top: 20px;
    text-align: center;
    
}
ul.slick-dots{
    z-index: 1000;
    display: block;
    height: 100px;
}
/* Banner slider: hình chữ nhật nằm ngang, cắt đều, nổi bật */
.slider-main-img{
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.slider-main-img-mobi{
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.counter_number{
    padding-right: 0!important;
    padding-left: 0!important;
   text-align: -webkit-center;
}
.img_thanhvien{
    padding-top: 50px;
    height: 180px;
}
.item-thanhvien p{
    font-size: 15px;
    padding-top: 10px;
    height: 40px;
}
.item-thanhvien:hover p{
    color: white;
    background: #ff6816;
}
.item-thanhvien:hover .img_thanhvien{
    background: white;
}
.ten_thanhvien{
    z-index: 999999;
    height: 40px;
    text-align: center;margin: 0
}
.logo{
    padding-top: 10px 0;
    text-align: center;
}
.footer-logo{
    max-height: 140px;
    width: auto;
}
.ten_cty{
    padding: 40px 0;
    text-align: center;
}
.item_nb{
    position: relative;
    width: 100%;
}
/* Ô ảnh dự án: hình chữ nhật nằm ngang, ảnh thu nhỏ luôn đủ ô (fill 100%) */
.sp_img{
    opacity: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    line-height: 0;
    font-size: 0;
}
@supports not (aspect-ratio: 16 / 9) {
    .sp_img::before {
        content: '';
        display: block;
        padding-bottom: 56.25%; /* 9/16 */
    }
}
.sp_img a{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.sp_img img{
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: top;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.02) saturate(1.01);
    backface-visibility: hidden;
    transform: translateZ(0);
}
.tenduan h4{
    font-weight: bold;
}
.item_nb:hover a{
    color: white;
}
.tenduan a{
    text-decoration: none;
}
.tenduan a:hover{
    text-decoration: none;
    color: white;
}
.tenduan{
    border: 1px solid silver;
    top: 43%;
    left: 10%;
    color: white;
    width: 80%;
    position:absolute;
    opacity: 0;
}
.tenduan-home{
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    opacity: 1;
    border: 0;
    color: #111;
    margin-top: 8px;
}
.tenduan-home h4{
    color: #111;
    margin: 0;
}
.item_nb:hover .tenduan-home{
    opacity: 1;
}
.item_nb:hover img{
    opacity: 0.3;
    transform:scale(1.5);
    transition: 1s;
     -webkit-filter: blur(3px); 
      -moz-filter: blur(3px);
      -o-filter: blur(3px); 
      -ms-filter: blur(3px); 
      filter: url(#blur); 
      filter: blur(3px);  
      filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
}
.item_nb:hover .sp_img{
    background: black;
    transition: 0.01s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 4px 12px rgba(255,102,22,0.25);
    border-color: rgba(255,102,22,0.4);
}
.sp_img, .sp_img img{
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.item_nb:hover .tenduan{
    opacity: 2;
}
/* Ô ảnh: cột và khung đồng bộ, ảnh thu nhỏ luôn đủ ô */
.row .col-md-4 .item_nb,
.row .col-sm-6 .item_nb,
.row .col-xs-12 .item_nb{
    width: 100%;
}
.row .col-md-4 .sp_img,
.row .col-sm-6 .sp_img,
.row .col-xs-12 .sp_img{
    width: 100%;
    box-sizing: border-box;
}

.xemthem{
        text-align: -webkit-center;
    padding: 3px 0px 2px 0px;
    background: #ff6816;
    color: white;
    font-size: 18px;
    width: 102px;
    margin-top: 10px;
}
h2.congdong{
    font-weight: bold;
    color: #ff6816;
    text-align: center;
    font-size: 28px;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 5px;
    white-space: nowrap;
}
h3.congdong{
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 18px;
    text-align: center;
    color: #333333;
}
.doitac-text{
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    margin: 0 auto 25px;
    max-width: 900px;
}
.counter_number{
    padding: 60px 0;
}
#counter{
    color: #050558;   
    font-size: 30px;
    text-align: center;
}
#counter i{
      font-size: 20px;
}
.tieude_gioithieu{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    background-image: url('upload/hinhanh/gioithieu.jpg') ;
    background-repeat: no-repeat;
    background-position: center; 
    height: 300px;
}
.tieude_project{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    background-image: url('upload/hinhanh/a.jpg') ;
    background-repeat: no-repeat;
    background-position: center; 
    height: 300px;
}
.tt_lh p{
   color: #515151;
    font-size: 19px;
    font-family: 'Open Sans', sans-serif;
}
h3.sp_name{
        font-size: 16px;
    margin-bottom: 2px;
    background: #6c6c6c;
   margin-top: -10px;
    padding: 10px;
    width: 100%;
}
h3.sp_name a{
    color: white;
}
h3.sp_name a:hover{
    text-decoration: none;
}
ul.pages{
    margin-right: 50px;
    display: flex;
    list-style: none;
}
/* Cân đối lưới dự án: hàng cuối (2 hoặc 1 ô) căn giữa */
.row-projects-balanced {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -15px;
    margin-right: -15px;
}
.row-projects-balanced .item_product {
    flex: 0 0 auto;
}
@media (min-width: 992px) {
    .row-projects-balanced .col-md-4 { width: 33.33333333%; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .row-projects-balanced .col-sm-6 { width: 50%; }
}
.wap_item i.project{
   opacity: 1;
    position: absolute;
    bottom: 40%;
    font-size: 40px;
    left: 39%;
    border: 3px solid #ff9800;
    padding: 20px;
    color: #ff9800;
    border-radius: 100%;
    display: none;
  
}
.item_product:hover p.sp_img{
    opacity: 0.5;
    filter: grayscale(80%);
}
.item_product:hover h3.sp_name{
    transition: 0.7s;
       background: #FF5722;
}
.item_product:hover i.project{
    display: block;
}
.xemthem a{
    color: white;
}
.xemthem a:hover{
    text-decoration: none;
    color: white;
}
.xemthem:hover{
    box-shadow: 0px 1px 1px 2px saddlebrown;
    transition: 0.5s;
}
.chitietduan{
    text-align: left;
    background: #f0f0f0;
    font-size: 15px;
    color: black;
}

.chitietduan ul{
    margin:0px!important;
}
iframe{
    max-width: 100%;
}
.caption img{
    height: 100%;
    width: 100%;
}
.chitietduan img{
  max-width: 100%!important;
    height: auto!important;
}