@media (max-width: 1199px) {
    #search_block_top {
        width: 52%
    }
    #contact-link {
        width: 30%
    }
    .blockcart_top {
        width: 18%
    }
    .quicklink h5 {
        margin-right: 20px;
        padding: 12px 5px 12px 10px
    }
    .links li a {
        padding: 0px 6px 0px 8px
    }
    .homedeal_heading {
        padding: 5px 5px 15px
    }
    .product-block .functional-buttons>div {
        width: 50%
    }
    #products_sider_block2 .block_content {
        padding: 20px 5px
    }
    #products_sider_block3 .block_content {
        padding: 20px 5px
    }
    #apollo-top-menu .navbar-nav {
        float: none;
        display: inline-block;
        vertical-align: middle
    }
    .slide-caption {
        width: 380px
    }
    .slide-caption h3 {
        font-size: 40px;
        line-height: 40px
    }
    .slide-caption p {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 15px
    }
}
@media (min-width: 1024px) {
	.quicklink ul{
		display: inline-block !important;
	}
}
@media (max-width: 991px) {
    #paneltool {
        display: none
    }
    #back-top {
        display: block
    }
    #block_currencies {
        margin: 0px;
        padding: 4px 10px;
        border: 1px solid #aaa
    }
    #block_currencies .fa {
        line-height: 20px;
        display: block
    }
    #block_currencies .popup-title {
        color: #333;
        padding-left: 5px
    }
    #block_currencies .popup-title:hover {
        color: #70ba28
    }
    #block_currencies .popup-title img {
        display: inline-block
    }
    #block_currencies .popup-title:before {
        top: 4px
    }
    .quicklink h5 {
        float: left
    }
    .quicklink ul {
        display: none
    }
    #search_block_top {
        width: 100%;
        margin-bottom: 10px
    }
    #contact-link {
        width: 50%
    }
    .blockcart_top {
        width: 40%
    }
    .headerright_bottom {
        padding-top: 5px
    }
    .header_user_info {
        border: 1px solid #aaa;
        font-size: 14px;
        color: #333;
        margin: 0px 0px 0px 15px;
        float: right
    }
    .header_user_info .links {
        visibility: hidden;
        position: absolute;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0)
    }
    .header_user_info .links li a {
        padding: 6px 10px;
        text-transform: uppercase
    }
    .header_user_info .links li a:before {
        display: none
    }
    .rtl .header_user_info {
        margin: 0px 15px 0px 0px
    }
    .rtl .header_user_info {
        float: left
    }
    .header_user_info .popup-title {
        position: relative;
        display: block;
        padding: 5px 15px;
        line-height: 18px
    }
    .header_user_info .popup-title span {
        padding: 0px 10px 0px 5px
    }
    .header_user_info .popup-title:before {
        top: 5px;
        right: 10px
    }
    .header_user_info .dropdown-menu {
        padding: 10px;
        left: auto;
        right: 0px
    }
    #topbar .header_user_info .dropdown-menu li a {
        border: 0px;
        color: #333;
        display: block;
        padding: 0px 10px;
        line-height: 30px
    }
    #topbar .header_user_info .dropdown-menu li a:hover {
        color: #333;
        font-weight: 600
    }
    #topbar .header_user_info .dropdown-menu li a:before {
        display: block
    }
    .heading-right {
        padding-top: 20px
    }
    .block_prohometwo .block_heading h3 {
        font-size: 24px;
        line-height: 24px;
        padding: 12px 0px
    }
    .footer_blogs {
        border: 0px
    }
    .footer-logo {
        margin-top: 0px;
        min-height: auto
    }
    .page-404 h1 {
        font-size: 100px
    }
    .page-404 h2 {
        font-size: 40px
    }
    .page-404 .des_cription_404 {
        font-size: 16px
    }
    .page-404 .btn_404 {
        margin-top: 15px
    }
    #apollo-menu .btn-menu-canvas {
        z-index: 1
    }
    #toplinks {
        margin-top: -44px
    }
    #toplinks .quicklink {
        position: relative;
        background: transparent;
        padding-bottom: 8px
    }
    #toplinks .quicklink h5 {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        float: none;
        cursor: pointer;
        color: #333;
        border: 1px solid #e1e1e1;
        font-size: 13px;
        text-transform: none;
        background: transparent;
        padding-right: 25px
    }
    #toplinks .quicklink h5:before {
        display: none
    }
    #toplinks .quicklink h5:after {
        content: "\f107";
        font-family: "FontAwesome";
        position: absolute;
        top: 10px;
        right: 8px;
        border: 0px;
        width: auto;
        height: auto
    }
    #toplinks .quicklink ul {
        position: absolute;
        z-index: 99;
        top: 100%;
		left: 0%;
        background: #fff;
        visibility: hidden;
        opacity: 0;
        filter: alpha(opacity=0);
        padding: 10px 0px;
        border: 1px solid #e1e1e1
    }
    #toplinks .quicklink ul li {
        float: left;
        width: 100%
    }
    #toplinks .quicklink ul li a {
        display: block;
        font-size: 13px;
        padding: 5px 10px
    }
    #toplinks .quicklink ul li a:before {
        display: none
    }
    #toplinks .quicklink ul.show {
        visibility: visible;
        opacity: 1;
        filter: alpha(opacity=100)
    }
    #toplinks .quicklink:hover ul {
        visibility: visible;
        opacity: 1;
        filter: alpha(opacity=100)
    }
	.collapse.navbar-collapse {
		display: none !important;
	}
	#mobile-boostrap {
		display: block;
	}
}
@media (max-width: 768px) {
	.product-block .functional-buttons>div.view_detail{
		width:100%;main
	}
}

@media (max-width: 767px) {
    .slide-caption {
        width: 100%
    }
    #login-page .register-box {
        margin-top: 20px
    }
    #cart-page .cart_header_labels,
    .ajaxcart .cart_header_labels {
        display: none
    }
    #cart-page .list_product_cart,
    .ajaxcart .list_product_cart {
        text-align: center
    }
    #cart-page .list_product_cart .cpro_item,
    .ajaxcart .list_product_cart .cpro_item {
        border-bottom: 1px solid #e1e1e1;
        min-height: auto !important;
        padding: 10px 0px
    }
    #cart-page .list_product_cart .cpro_item:first-child,
    .ajaxcart .list_product_cart .cpro_item:first-child {
        border-top: 1px solid #e1e1e1
    }
    #cart-page .product_name,
    #cart-page small,
    .ajaxcart .product_name,
    .ajaxcart small {
        text-align: center !important
    }
    #cart-page small,
    .ajaxcart small {
        float: none
    }
    .products_deal {
        margin-top: 20px
    }
    .products_deal .block_content {
        position: relative;
        display: block !important;
        top: 0px;
        visibility: visible;
        opacity: 1;
        filter: alpha(opacity=100)
    }
    .products_deal .product-block {
        border-right: 1px solid #e1e1e1
    }
    .products_deal .product-block .product-image-container {
        padding: 10px 20px
    }
    .products_deal .product-block .product-meta {
        position: relative;
        top: 0px;
        opacity: 1;
        filter: alpha(opacity=100)
    }
    .products_deal .product-block:hover .product-meta {
        top: 0px
    }
    #products_sider_block2 .title_block {
        cursor: pointer
    }
    #products_sider_block3 .title_block {
        cursor: pointer
    }
    .product-block .functional-buttons {
        position: relative;
        bottom: -2px;
        visibility: visible;
        opacity: 1;
        filter: alpha(opacity=100)
    }
    .product-block:hover .functional-buttons {
        bottom: -2px
    }
    .product-block:hover .cart {
        margin-top: 20px
    }
    .customer-service {
        padding: 30px 0px 15px
    }
    .customer-service .media {
        margin: 0px 0px 15px
    }
    .customer-service .media-body:after {
        display: none
    }
    .footer-top {
        padding-bottom: 20px
    }
    .footer_quicklink .footer-block {
        margin-bottom: 20px
    }
    .footer_quicklink .footer-block .title_block {
        cursor: pointer;
        padding: 10px 15px;
        background: #333;
        color: #fff
    }
    .footer_quicklink .footer-block .title_block:after {
        content: "\f107";
        position: absolute;
        top: 10px;
        right: 18px;
        font-family: "FontAwesome";
        font-size: 18px
    }
    .footer_quicklink .footer-block .title_block.active:after {
        content: "\f106"
    }
    .footer_quicklink .footer-block .block_content {
        padding: 0px 20px
    }
    #powered {
        text-align: center
    }
    .block_various_links {
        text-align: center
    }
    .block_various_links ul {
        display: inline-block;
        vertical-align: middle
    }
    .quicklink ul {
        padding: 10px 20px
    }
    .quicklink ul a {
        display: inline-block;
        vertical-align: middle;
        padding: 5px 12px 5px 10px
    }
    .quicklink h5 {
        display: none
    }
    .product-right-column .add_to_cart_detail {
        float: none;
        display: inline-block;
        vertical-align: middle
    }
    .product-right-column .quantity_wanted_p {
        margin-bottom: 15px
    }
    .product-right-column .wishlist {
        margin-top: 15px
    }
    .page-404 h1 {
        line-height: 100px
    }
    .page-404 h2 {
        letter-spacing: 10px
    }
    .products_sider_block .block_content {
        display: none
    }
    .footer_quicklink .block_content {
        display: none
    }
    #categories_block .block_content {
        display: none
    }
    #catalog_block .block_content {
        display: none
    }
    #products_sider_block .block_content {
        display: none
    }
    .content_scene_cat {
        margin-top: 15px
    }
	#cart-page .btn-outline {
		margin: 5px 0px;
	}
	div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer{
		width:250px;
		text-align:center;
	}
	#popup-newletter{
		min-width: 98%;
    	background: #D3D3D1 !important;
	}
	#popup-newletter h3{
		font-size: 24px;
		width: 100%
	}
	#popup-newletter .pnewle-message, #popup-newletter .pnewle-form,#popup-newletter .social-icons{
		width: 100%;
	}
}
@media (max-width: 480px) {
    #header_logo {
        text-align: center
			/* DGD-022B - Buoc 3 */
.header-right-bottom {
    min-height: 0 !important;
    height: auto !important;
}

#contact-link,
.blockcart_top {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
    }
    .heading-right {
        padding: 0px 0px 10px
    }
    .slide-caption {
        top: 10%;
        left: 0px;
        right: 0px;
        width: 100%;
        padding: 0px 20px
    }
    .slide-caption h3 {
        font-size: 20px;
        line-height: 20px
    }
    .slide-caption p {
        font-size: 14px;
        line-height: normal
    }
    .slide-caption .btn-slide {
        padding: 6px 20px;
        border-radius: 15px
    }
    .block-testimonial {
        padding: 0px
    }
    .block-testimonial .testimonial-item {
        margin: 35px 30px
    }
    #block_currencies {
        float: left
    }
    #block_currencies .dropdown-menu {
        left: 0px;
        right: auto
    }
    .page-404 h1 {
        font-size: 80px;
        line-height: 100px
    }
    .page-404 h2 {
        font-size: 30px;
        letter-spacing: 5px
    }
    .page-404 .des_cription_404 {
        font-size: 14px
    }
	.page-product-box .rte img {
		width: 100% !important;
		height: auto !important;
	}
	.block-testimonial .owl-next,.block-testimonial .owl-prev{
		opacity:0;
	}
	#testimonials:hover .owl-next,#testimonials:hover .owl-prev{
		opacity:1;
	}
	.block-testimonial .owl-next {
		right: 0px;
	}
	.block-testimonial .owl-prev {
		left: 0px;
	}
}
@media (max-width: 355px) {
    #contact-link {
        display: none
    }
    .blockcart_top {
        width: 100%
    }
}
@media (min-width: 992px) {
	#mobile-boostrap {
		display: none !important;
	}
}
/* DGD-022B - Thu gon logo tren mobile */
@media (max-width: 480px) {
    #header_logo {
        text-align: center;
        padding: 6px 0 !important;
    }

    #header_logo img {
        width: auto !important;
        max-width: 160px !important;
        height: auto !important;
    }
}
/* DGD-022B - Thu gon khoang cach header mobile */
@media (max-width: 480px) {
    .header-main {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header-left,
    .header-right,
    .header-right-top,
    .header-right-bottom {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .header_user_info {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}
@media (max-width: 480px) {
#search_block_top {
    margin-top: 4px !important;
    margin-bottom: 5px !important;
}
    }
}
#header_logo {
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0;
}

#header_logo img {
    width: auto !important;
    max-width: 160px !important;
    height: auto !important;
    display: block;
    margin: 0 auto !important;
}
}
/* DGD-022B - Buoc 4: thu gon khu vuc menu mobile */
@media (max-width: 480px) {
#apollo-menu .navbar-header {
    margin: 0 !important;
    padding: 4px 0 !important;
    min-height: 0 !important;
}

#apollo-menu .navbar-toggle {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#apollo-menu .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;	
}
}
/* DGD-024 - Responsive noi dung chi tiet san pham tren mobile */
@media (max-width: 767px) {

  /* Khong cho noi dung mo ta tran khoi man hinh */
  .more_info_block,
  .more_info_block .tab-content,
  .more_info_block .tab-content section,
  .more_info_block .rte {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  /* Anh trong mo ta tu co theo man hinh */
  .more_info_block img,
  .more_info_block .tab-content img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Bang thong so: hien thi trong khung mobile va cho phep cuon ngang */
  .more_info_block table,
  .more_info_block .tab-content table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  /* Bo chieu rong co dinh cua cac o trong bang */
  .more_info_block table td,
  .more_info_block table th {
    .more_info_block table td,
    .more_info_block table th {
    width: auto !important;
    max-width: none !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    box-sizing: border-box;
}
  }

  /* Chu trong noi dung chi tiet vua man hinh mobile */
  .more_info_block p,
  .more_info_block li,
  .more_info_block td,
  .more_info_block th {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  /* DGD-024B - Typography noi dung san pham tren mobile */

/* Noi dung van ban */
.more_info_block .tab-content p,
.more_info_block .tab-content li,
.more_info_block .tab-content span,
.more_info_block .tab-content div {
    font-size: 15px !important;
    line-height: 1.55 !important;
}

/* Tieu de lon trong noi dung */
.more_info_block .tab-content h1,
.more_info_block .tab-content h2 {
    font-size: 21px !important;
    line-height: 1.4 !important;
}

/* Tieu de nho */
.more_info_block .tab-content h3,
.more_info_block .tab-content h4,
.more_info_block .tab-content h5,
.more_info_block .tab-content h6 {
    font-size: 18px !important;
    line-height: 1.45 !important;
}

/* Bang thong so gon hon */
.more_info_block .tab-content table td,
.more_info_block .tab-content table th,
.more_info_block .tab-content table td span,
.more_info_block .tab-content table th span {
    font-size: 14px !important;
    line-height: 1.5 !important;
}
  /* Video / iframe khong tran man hinh */
  .more_info_block iframe,
  .more_info_block video {
    max-width: 100% !important;
  }
	/* DGD-025 - San pham da xem gon tren mobile */
@media (max-width: 767px) {

  /* Danh sach 2 cot */
  #products_viewed_block .products-block {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -5px !important;
    padding: 0 !important;
  }

  #products_viewed_block .products-block > li {
    float: none !important;
    width: 50% !important;
    padding: 5px !important;
    margin: 0 0 12px !important;
    box-sizing: border-box !important;
  }

  /* Moi card hien thi theo chieu doc */
  #products_viewed_block .product-content-inner {
    display: block !important;
    text-align: center !important;
  }

  /* Anh san pham */
  #products_viewed_block .products-block-image {
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto 8px !important;
    text-align: center !important;
  }

  #products_viewed_block .products-block-image img {
    display: block !important;
    width: auto !important;
    max-width: 160px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Noi dung */
  #products_viewed_block .product-content {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Ten san pham toi da 2 dong */
  #products_viewed_block .name {
    margin: 5px 0 !important;
    min-height: 42px;
  }

  #products_viewed_block .name a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  /* Gia */
  #products_viewed_block .content_price {
    margin-top: 4px !important;
  }

  #products_viewed_block .product-price {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  #products_viewed_block .old-price {
    font-size: 13px !important;
  }
	/* DGD-026B - CTA mua hang mobile */
@media (max-width: 767px) {

  #add-to-cart-form .line-product-top {
    margin-top: 14px !important;
  }

  #add-to-cart-form .quantity_wanted_p {
    margin-bottom: 12px !important;
  }

  #AddToCart {
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 6px !important;
    background: #58b821 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  #AddToCart:hover,
  #AddToCart:focus {
    background: #4ca51b !important;
    color: #fff !important;
  }

  #AddToCart .fa {
    margin-right: 8px !important;
    color: #fff !important;
  }

  #AddToCartText {
    color: #fff !important;
  }
	/* DGD-026C - Thu gon khoi chua co danh gia tren mobile */
@media (max-width: 767px) {

  #sapo-product-reviews-noitem {
    margin: 14px 0 20px !important;
    padding: 14px 12px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  #sapo-product-reviews-noitem .content {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  #sapo-product-reviews-noitem p {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  #sapo-product-reviews-noitem .sapo-product-reviews-summary-actions {
    margin: 0 !important;
    padding: 0 !important;
  }

  #sapo-product-reviews-noitem .btn-new-review {
    display: inline-block !important;
    width: auto !important;
    min-height: 40px !important;
    padding: 8px 16px !important;
    margin: 0 auto !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
	/* DGD-026D - An chuc nang In tren mobile */
@media (max-width: 767px) {
  #usefull_link_block .print {
    display: none !important;
  }
	/* DGD-027 - Khoi cam ket mua hang mobile */
@media (max-width: 767px) {

  .dgd-buy-trust {
    margin: 12px 0 16px !important;
    padding: 10px 14px !important;
    background: #f8f8f8 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
  }

  .dgd-buy-trust-item {
    display: flex !important;
    align-items: center !important;
    padding: 7px 0 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #333 !important;
  }

  .dgd-buy-trust-item + .dgd-buy-trust-item {
    border-top: 1px solid #e8e8e8 !important;
  }

  .dgd-buy-trust-item i {
    width: 26px !important;
    min-width: 26px !important;
    margin-right: 8px !important;
    text-align: center !important;
    font-size: 17px !important;
    color: #58b821 !important;
  }

  .dgd-buy-trust-item span {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
	/* DGD-028A - Card san pham chuyen nghiep tren mobile */
@media (max-width: 767px) {

  /* Card san pham */
  .product-block {
    margin-bottom: 10px !important;
    padding: 6px !important;
    background: #fff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  /* Anh san pham gon, dong deu */
  .product-block .product-image {
    text-align: center !important;
    margin-bottom: 4px !important;
  }

  .product-block .product-image img {
    width: 100% !important;
    max-width: 150px !important;
    height: 130px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* An mo ta ngan tren card mobile */
  .product-block .product-desc {
    display: none !important;
  }

  /* Ten san pham toi da 2 dong */
  .product-block .name {
    min-height: 38px !important;
    margin: 4px 0 !important;
  }

  .product-block .name .product-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
  }

  /* Gia cu */
  .product-block .old-price {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  /* Gia ban */
  .product-block .product-price {
    font-size: 17px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
  }

  .product-block .content_price {
    min-height: 34px !important;
    margin: 4px 0 8px !important;
  }

  /* Nut mua */
  .product-block .cart {
    width: 100% !important;
    margin-top: 4px !important;
  }

  .product-block .cart .button,
  .product-block .cart .ajax_addtocart {
    display: block !important;
    width: 100% !important;
    min-height: 36px !important;
    padding: 7px 6px !important;
    border: none !important;
    border-radius: 5px !important;
    background: #58b821 !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
  }

  .product-block .cart .button span,
  .product-block .cart .ajax_addtocart span {
    color: #fff !important;
  }
	/* DGD-028B - Thu gon thanh dieu khien danh muc tren mobile */
@media (max-width: 767px) {

  .category-heading .SortPagiBar {
    margin: 10px 0 !important;
    padding: 8px 10px !important;
    min-height: 0 !important;
  }

  .category-heading .collection-view {
    margin: 0 !important;
  }

  .category-heading .collection-sorting {
    margin: 0 !important;
  }
	/* DGD-028B2 - An khoi CATALOG tren mobile */
@media (max-width: 767px) {
  #catalog_block {
    display: none !important;
  }
	/* DGD-030A - Mobile dung banner tinh, an Nivo Slider */
@media (max-width: 767px) {
  .dgd-mobile-hero {
    display: block !important;
  }

  .dgd-mobile-hero img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  #sliderlayer {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .dgd-mobile-hero {
    display: none !important;
  }
}