.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_header {
    width: 100%;
}

.menu .main-menu .nav {
    text-align: center;
}

/* .sanphamhome h3 {
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    margin-left: 15px;
} */

#content {
    background-color:#ccc;
}

.category-body ul li:hover >a {
    color: white;
    background: #2d62c2;
}

.category-body ul li:hover {
    background: #2d62c2;
}

.product-page .main .box-product {
    width: calc(100% / 4 - 10px);
    margin: 5px;
}

.slider {
    width: 95%;
   
}

.slider3 {
    width: 100%;
   /*height:500px;*/
   position:relative;
}



.slider3 img {
    width:100%;
    height:100%;
}

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
   height: auto;
}

.autoplay .slick-prev,.autoplay1 .slick-prev,
.autoplay .slick-next ,.autoplay1 .slick-next{
  color: black;
  display: none;
}

.slick-initialized .slick-slide {
    height:auto;
}
.slick-slide {
  transition: all ease-in-out .3s;
  opacity: 1;
}

.autoplay1 {
    margin-top:20px;
}


.disabled {
  pointer-events: none;
  cursor: default;
}
.autoplay {
    margin:20px 0px;
}

.img_newmpd img {
    height:150px;
    width:100%;
}

.autoplay3 .slick-slide {
    width:100%;
    margin:auto;
}

.autoplay3 .slick-prev {
    left:25px;
    z-index:1000;

}

.autoplay3 .slick-prev:before, .autoplay3 .slick-next:before {
    font-size:32px;
}

.autoplay3 .slick-next {
    right:25px;
        
    z-index:1000;
}

.hotro1 {
    border:1px solid #ccc;
}

.box-seller-img img {
    width:100%;
    height:100%;
}

.hotroleft img {
    padding:0px;
    margin:0px;
}

.box-seller-detail h6 a {
   
    font-size: 17px;
    color: black;
}

#mpd td {
    padding:5px 0px;
}

#mpd th {
    background-color:#2d62c2;
}

#mpd tr:hover td {
     background-color:#2d62c2!important;
}

.menu {
    background-color:#2d62c2!important;
}

.menuleft h4 {
    background-color:#2d62c2!important;
}

.rcontent h4 {
  
        text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    background: #2d62c2;
    padding: 10px;
    color: #fff;
    border-radius: 20px;
 
}

.bread-crumb .breadcrumb .breadcrumb-item:before {
    content: '';
    padding:0px;
}

.breadcrumb .breadcrumb-item {
    padding-left: .5rem;
    background: #2d62c2;
    border-radius: 5px;
    padding: 0px 5px;
    margin: 0px 5px;
    color: white!important;
}

.header_top {
    background-color:#e3f9e4;
}
/*.btn-primary {*/
/*     background-color:#2d62c2;*/
/*}*/

/* .slick-current {
    op
} */

.left {
    width: 56%;
}

.slick-active {
  opacity: 1;
}

.slick-current {
  opacity: 1;
}

.sanphamhome {
    margin-bottom: 20px;
    margin-top: 20px;
}

/* .box-product-img {
    position: unset!important;
} */

.box-product-img {
    height: 150px;
}

.doitac {
  margin: 0px;
} 

.btn-buy {
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    background: #2d62c2;
    color: white;
    font-size: 19px;
}

.product-relate td{
    padding:10px 0px!important;
}

.product-relate .sedetheo{
    color: #fff!important;
    background-color: #007bff!important;
    border-color: #007bff!important;
}

.product-relate-title {
        text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    background:#2d62c2;
    padding: 10px;
    color: #fff;
    border-radius: 20px;
    display: inline-block;
    margin: 20px 0px;
    padding: 10px 34px;
}
.content_newmpd {
     padding: 15px 5px;
}
/*.content_newmpd a div {*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*    line-height: 25px;*/
/*    -webkit-line-clamp: 3;*/
/*    height: 28px;*/
/*    display: -webkit-box;*/
/*    word-break: break-all;*/
/*    margin-bottom: 0px;*/
/*    -webkit-box-orient: vertical;*/
/*     position:relative;*/
/*}*/

/*.content_newmpd a div:after {*/
/*    position:absolute;*/
/*    content:"...";*/
/*    top:0px;*/
/*    font-size:18px;*/
/*    right:-10px;*/
/*}*/

.rcontent h4 {
    margin-bottom:20px;
}


.modify-hotro img {
    margin:15px;
}

.modify-hotro p {
    font-size: 18px;
    margin: 15px 0px 0px 15px;
    padding:0px;
}
.title_main {
        background:#2d62c2;
}
.nav-close {
    z-index:100;
}

.autoplay3 .slick-slide img {
    height:400px;
}

.slick-dotted.slick-slider {
    margin-bottom: 0px;
}

@media (max-width:1100px) {
    .autoplay3 .slick-slide img {
    height:350px;
}
    
}

@media (max-width:992px) {
  .content_header > .container{
    display: none;
    }

    .logohead {
      margin-top: 60px;
    }
    .modify-left > .row {
      
    }
    
    
    .img_newmpd img {
        height:auto;
        width:100%;
    }
    
/*    .autoplay3 .slick-slide img {*/
/*    height:400px;*/
/*}*/

   
}

@media (max-width:768px) {
  .product-page .main .product-zone {
      margin: 0 -15px;
      width: 95%;
      margin: auto;
  }
  .product-page .main .box-product {
      width: calc(100% / 3 - 10px);
      margin: 5px;
 }
 
  .autoplay3 .slick-slide img {
    height:300px;
}
}

@media (max-width:600px) {
  .container {
    width: 95%;
    margin: auto;
  }
   .autoplay3 .slick-slide img {
    height:150px;
}
  .product-zone {
     overflow-x: auto;
  }
  #mpd {
      width: 544px;
  }
  
  .breadcrumb-item {
      margin-bottom:10px!important;
  }
  
}

@media (max-width:480px) {
  .product-page .main .box-product {
      width: calc(100% / 2 - 10px);
      margin: 5px;
 }
 
  
}