/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
    .wraper {
        width: 1170px;
    }
    .section-nav {
        height: 45px;
}
}
.row{
	margin-left: 0px;
	margin-right: 0px; 
}
body {
    background-color: #fff;
}
.swiper-container {
    z-index: 0;
}
  #header{  
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}
#header .logo {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    text-align: center;
    margin: 0 30px;
}
#header .logo {
    padding: 9px 10px 9px 0;
}
#header .category-left {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
}
#header .search-right {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
}
.search-right .nav-right{
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.search-right .nav {
    width: 100%;
    position: relative;
    display: inline-block;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.section-nav{
	background-color: #7D3515;
}
.navbar-nav>li>a {
    line-height: 20px;
}
#menusite .navbar-default, .navbar-default, .second-nav .bg{
	background-color: transparent;
	border: none;
}
#menusite .navbar-default .navbar-nav > li > a:hover, #menusite .navbar-default .navbar-nav > li > a:focus, #menusite .navbar-default .navbar-nav > .active > a, #menusite .navbar-default .navbar-nav > .active > a:hover, #menusite .navbar-default .navbar-nav > .active > a:focus, #menusite .navbar-default .navbar-nav > .open > a, #menusite .navbar-default .navbar-nav > .open > a:hover, #menusite .navbar-default .navbar-nav > .open > a:focus{
	background: #6f2b0e !important;
}
.gioi-thieu{
	padding: 50px 0
}
/*block frecontent home*/
.featured-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, 1fr);  
    border-radius: 5px; 
    overflow: hidden; 
}

.featured-products .item {
    background-color:#e0b975; 
    color: white;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box; 
    border-left: 1px dashed #dddddd59;
    border-bottom: 1px dashed #dddddd59;
}
.featured-products .item:hover {
   background: #deb46a;
   cursor: pointer;
}
.featured-products .item:first-child, .featured-products .item:nth-child(3){
	    border-left: none;
}
.featured-products .item:last-child,  .featured-products .item:nth-child(3){
	    border-bottom: none;
}

.icon-img {
    margin: 15px auto;
    display: block;
    width: 80px;
    height: 80px;
    background: #7d3515;
    border-radius: 80px;
    line-height: 80px;
    padding: 15px;
}
.featured-products .title {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.featured-products .item .title a{
    color: #7d3515;
}
.featured-products .item:hover a{
    color: #fff;
}
/*block frecontent home*/
h1.title-about {
   color: #092f57;
}
.about-description{
    margin-bottom: 20px;
    font-size: 18px;
    text-align: justify;
}
.button-xem-them{
	background-color: #a30c03;
	padding: 10px 20px;
}
.button-xem-them:hover {
    background-color: #7f0a03;
}
.button-xem-them span{
	display: inline-block;
    line-height: 1.6;
    font-weight: normal;
    letter-spacing: 0px;
    color: #fff;
    padding-right: 4px 
}
.button-xem-them i{
	color: #fff;
}
#menusite .navbar-default .navbar-nav > li > a {
    font-weight: 600;
    text-transform: uppercase;
}
.giai-phap{
	background-color: #7D3515;
	padding: 30px 0;
}
.dnbs-owl {
    text-align: center;
    padding: 0 20px;
}
.title-light {
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 30px;
    position: relative;
    color: #fff
}
.description-q-a{
	color: #fff;
	text-align: center;
	padding: 25px 0
}
.title-light:after {
    content: "";
    width: 82px;
    height: 10px;
    background: url(../images/bg_bottom_head.png) repeat-x;
    background-size: 10px auto;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -41px;
    margin-top: 5px;
}
.col-inner {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}
.title-home {
    color: #E0B975;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 50px;
    position: relative;
}
.title-home:after {
    content: "";
    width: 82px;
    height: 10px;
    background: url(../images/bg_bottom_head_red.png) repeat-x;
    background-size: 10px auto;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -41px;
    margin-top: 5px;
}
.bac-si{
	padding: 30px 0;
}
.bac-si .title {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.bac-si img{
	border-radius: 50%
}
.bac-si .image {
    border: 3px solid #fff;
    margin-bottom: 20px;
}
.bac-si .image:after {
   content: "";
    margin: 15px auto;
    width: 258px;
    height: 332px;
    display: block;
    overflow: hidden;
    background: url(../images/bg_avar.png) no-repeat;
    padding: 18px;
    text-align: center;
    position: absolute;
    top: -12px;
    left: 0px;
    background-size: 258px;
}
@media(max-width:767px){
	.bac-si .image:after {
    content: "";
    margin: 15px auto;
    width: 175px;
    height: 332px;
    display: none;
    overflow: hidden;
    background: url(../images/bg_avar.png) no-repeat;
    padding: 18px;
    text-align: center;
    position: absolute;
    top: -12px;
    left: 0px;
    background-size: 113px;
}
.cam-ket .title{
	font-size: 12px!important;
}
}
.camket{
	padding: 30px 0
}
.cam-ket .title{
	font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}
.cam-ket .wrap{
	text-align: center;
}
.des{
	font-size: 16px
}

/*tin tức tab*/
.tab-content {position: relative; margin-bottom: 10px;display: inline-block;}
.tms-tabs li {
	margin-right: 5px;
    margin-left: 5px;
    float: none;
    margin-bottom: 15px;
    display: flex;
}
.tms-tabs > li a {font-weight: normal;
    background: #fff !important;
    color: #191817;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 5px;
    font-size: 16px;
    border: 1px solid #ad3b0a !important;}
.tms-tabs > li a span {white-space: nowrap}
.tms-tabs > li.active a {color: #ed0e0e}
.tmshome3_list_tin {display: flex;padding: 10px;margin: 0;position: relative}
.tmshome3_list_tin img {height: 60px;width: 90px; object-position: center; object-fit: cover;transition: all 1s;float: left; margin-right: 10px;}

.tmshome3_list_tin ul{margin:0; padding: 0 10px;}
.tmshome3_list_tin ul li {display: inline;float: left;width: 100%;border-bottom: 1px dashed #CCC;padding-bottom: 6px;margin-bottom: 6px;}
.tmshome3_list_tin ul li:last-child {border-bottom:none;}
.tmshome3_list_tin ul li a {font-size: 14px;font-weight: 500;color: #a94442;}

.mot, .hai{
    flex: 1;
}
.tab-header{
	background: #f8f8f8;
    padding: 15px 0;
}
@media(max-width: 767px){
.tms-tabs li{
	display: inline-block; 
	text-align: center;
}
.tmshome3_list_tin {
	display: block;
	border: none;
}
.tmshome3_list_tin ul li {
	border-bottom: none;
}
#header .logo {
    margin: 0!important;
}
#header .search-right {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}
.search-icon span{
	display: none;
}
.search-right .bl-search {
    top: 12px;
    right: 20px;
}
.search-right .bl-search:hover .headerSearch {
    right: 30px !important;
    z-index: 999;
    left: unset !important;
    width: 200px;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #333;
}
#menusite .navbar-toggle {
    border-color: #fff;
    background-color: #fff;
}
 #menusite .navbar-toggle:hover, #menusite .navbar-toggle:focus {
    background-color: #fff;
    border-color: #fff;
 }
 #menusite .navbar-toggle {
        top: 0;
    }
}


.blog{
	padding: 30px 0
}
.blog .content-inner{
	border: 1px solid #dedede59
}
.category-left .metismenu{
	position: absolute;
    top: 40px;
    margin-top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    width: 220px;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
}
.category-left .cate-hover{
	position: relative;
    padding: 5px 0;
    width: 150px;
    cursor: pointer;
}
.category-left .cate-hover:hover .metismenu{
    transform: translateY(-10px);
    opacity: 1;
    transition: ease .4s all;
    visibility: visible;
}
.category-left span{
	font-size: 15px;
}
#header .fa{
	font-size: 20px;
}
.search-icon span{
	font-size: 15px
}
.search-right .bl-search{
	position: relative;
    cursor: pointer;
    padding: 15px 0;
}
.headerSearch{
	display: none;
}
.search-right .bl-search:hover .headerSearch{
	position: absolute;
	display: block;
	top: 45px;
	left: 0;
	width: 250px
}
.bl-search .input-group-addon, .bl-search .input-group-btn, .bl-search .input-group .form-control {
    display: block;
    height: 45px;
    font-size: 14px;
}
.headerSearch .btn-info {
    background-color: #7d3515;
    border-color: #7d3515;
    color: #fff;
}
.navbar-default .nav>li>a {
    position: relative;
    display: block;
    padding: 12px 30px;
}
@media (max-width: 767.98px) {
    #menusite .navbar-default .navbar-nav > li > a {
        background-color: #f5f5f5;
        color: #7D3515;
    }
    #menusite .navbar-nav .dropdown-mobile {
        border-top-color: #ddd4d4 !important;
    }
    #menusite .navbar-default .navbar-nav > li > a:hover, #menusite .navbar-default .navbar-nav > li > a:focus, #menusite .navbar-default .navbar-nav > .active > a, #menusite .navbar-default .navbar-nav > .active > a:hover, #menusite .navbar-default .navbar-nav > .active > a:focus, #menusite .navbar-default .navbar-nav > .open > a, #menusite .navbar-default .navbar-nav > .open > a:hover, #menusite .navbar-default .navbar-nav > .open > a:focus{
    	background-color: #f5f5f5 !important;
        color: #7D3515!important;
    }
    #menusite .dropdown-submenu a {
	    background-color: #f5f5f5;
	    border-top-width: 1px !important;
	    border-top-style: solid !important;
	    border-top-color: #ddd4d4 !important;
	    padding-left: 37px !important;
    }
    #menusite .navbar-collapse {
        top: 66px;
    }
    .container{
    	text-align: left!important;
    }
    .featured-products{
        margin-top: 25px;
    }
    .sticky-menu {
        position: relative !important;
    }
    .tms-tabs > li a {
        padding: 5px 8px;
        font-size: 14px;
    }
}
ul.tms-tabs{
	padding-inline-start: 18px;
}
.sticky-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.75s ease;
    transform: translateY(-100%);
    opacity: 0;
}

.sticky-menu.active {
    transform: translateY(0);
    opacity: 1;
}

 @media (min-width: 768px) {
    .navbar-nav {
        float: none; 
        margin: 0;
        display: inline-block;
    }
}

#footer {
    position: relative;
    min-height: 250px;
    width: 100%;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #a94442;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #a94442;
    background-color: #7a3415;
}
.giai-phap .owl-item .title{
    display: none;
}
#footer .menu li a {
    display: block;
    white-space: nowrap;
    border-bottom-width: 1px;
    border-bottom-color: #a94442;
}


/* ============================
   BACK TO TOP BUTTON – FULL STYLE
   ============================ */

/* ============================
   BACK TO TOP BUTTON – FULL STYLE
   ============================ */

#backToTop{
  position: fixed;
  right: 20px;
  bottom: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  /* Gradient theo màu chủ đạo */
  background: linear-gradient(145deg, #7D3515, #9A431B);

  /* Ẩn ban đầu */
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .25s ease, box-shadow .25s ease;

  /* Đổ bóng mềm */
  box-shadow:
    0 3px 6px rgba(0,0,0,0.20),
    0 8px 20px rgba(0,0,0,0.25);
}

/* Hiện nút */
#backToTop.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hover – sáng hơn */
#backToTop:hover{
  background: linear-gradient(145deg, #9A431B, #B04F22);
  transform: scale(1.07);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.25),
    0 10px 24px rgba(0,0,0,0.30);
}

/* Icon mũi tên – tự scale theo nút */
#backToTop .arrow{
  width: 50%;      /* tự co theo nút */
  height: 50%;
  position: absolute;
  z-index: 2;
  fill: #fff;
}

/* Vòng progress – fit 100% nút */
 .progress-ring{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.progress-ring-circle{
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;

  r: 20;       /* 48px nút → radius 20 */
  cx: 24;
  cy: 24;

  stroke-dasharray: 126;   /* 2πr */
  stroke-dashoffset: 126;
  transition: stroke-dashoffset .2s linear;
  opacity: .95;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 480px){
  #backToTop{
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: 18px;
  }

  .progress-ring-circle{
    r: 18;       /* radius giảm theo nút */
    cx: 21;      /* center x */
    cy: 21;      /* center y */
    stroke-dasharray: calc(2 * 3.14 * 18); /* =113 */
  }
}

.home-slider .owl-prev, .home-slider .owl-next{
    top: 50%;
    position: absolute;
    background: #ffffff;
    padding: 10px;
}
.home-slider .owl-prev{
    left: 0;
}
.home-slider .owl-next{
   right: 0;
}
.home-slider .owl-nav .fa{
    font-size: 22px;
}
.home-slider.owl-carousel{
    z-index:0;
}
#menusite .dropdown-menu {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
.dropdown-menu {
    min-width: 176px;
    font-size: 16px;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus,#menusite .dropdown-menu > li > a:hover, #menusite .dropdown-menu > li > a:focus, #menusite .dropdown-menu > .active > a, #menusite .dropdown-menu > .active > a:hover, #menusite .dropdown-menu > .active > a:focus, #menusite .navbar .navbar-nav .open .dropdown-menu > li > a:hover, #menusite .navbar .navbar-nav .open .dropdown-menu > li > a:focus, #menusite .navbar .navbar-nav .open .dropdown-menu > .active > a, #menusite .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, #menusite .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
    background: #fff !important;
    color: #7d3515;
}
.headerSearch .btn-info {
    height: 45px;
}
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #7d3515;
    border-color: #a94442;
}
.panel-primary {
    border-color: #a94442;
}