/* Media Queries
-------------------------------------------------------------- */
/* custom css */
@media only screen and (min-width: 767px) {
    .block-number .item.item3,
    .block-number .item.item4 {
        text-align: left;
    }
  .block-number .item.item4 img,
    .block-number .item.item4 p {
        float: left;
    }
}
@media only screen and (max-width: 767px) {
    .block-about-us h3 {
        padding-left: 0 !important;
    }
  .block-number .item.item4 img {
    float: left;
  }
  .block-number .item4 p {
    float: left ;
  }
  .tp-caption h3 {
    font-size: 16px;
   }
  .tp-caption p {
     font-size: 14px;
    line-height: 20px !important;
   }
  .list-top .post.v2 .img-icon {
    margin-left: -30px;
   }
  .block-number .item.item4 {
    margin-left: 27%;
  }
}
@media only screen and (max-width: 320px) {
  .block-number .item.item4 {
    margin-left: 20%;
  }
}
@media only screen and (max-width: 479px) {
    .flat-toggle .title-top p {
        line-height: 26px;
    }
}
/* end custom css */
@media only screen and (min-width: 1500px) and (max-width: 1920px) {
	.grid-sp .post {
		height: 600px;
	    max-height: 600px;
	}

	.grid-sp .img-sp img {
	    width: 100%;
	    height: 600px;
	    max-height: 600px;
	}
}

@media only screen and (max-width: 1341px) {
    .lh-tab{
        margin-top: 0;
    }
    .lh-tab .nav.nav-tabs li a{
        color: #333;
    }
    .lh-tab .nav.nav-tabs li{
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }
    .lh-tab .nav.nav-tabs{
        border-bottom: none;
    }

}

/* Smaller than standard 1200 */
@media only screen and (max-width: 1199px) {
    #mainnav > ul > li > a {
        padding: 5px 10px;
        margin: 0 ;
    }

    .header #mainnav > ul:before {
        width: 75%;
    }

    .header .header-wrap .flat-socials {
        display: none;
    }

    .lh-tab{
        margin-top: 0;
    }
    .lh-tab .nav.nav-tabs li a{
        color: #333;
    }
    .lh-tab .nav.nav-tabs li{
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }
    .lh-tab .nav.nav-tabs{
        border-bottom: none;
    }
    .lh-tab .nav > li > a {
        padding: 0 61px;
    }
    .lh-container{
        padding: 0px 90px
    }

    .module-mysite .tab-content{
        padding:  15px;
    }

}

@media only screen and (max-width: 1050px) {
    .hidden-xs {
      display: none !important;
  }
  
  .header .header-wrap .logo {
    top:0;
  }
  
  .nav-wrap {
    padding: 0 15px;
  }
  
  .header .header-wrap .logo {
      width: 105px;
    left: calc(50% - 85px);
  }
  
  .vi-tri .img-map {
        padding: 40px 150px 0 150px;
  }
  
  .grid-sp .content-sp .top-sp {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
}
  
  .grid-sp .content-sp .title {
    font-size: 16px;
  }
  
}

/* Smaller than standard 992 */
@media only screen and (max-width: 991px) {
    .header .header-wrap .show-search,
    .header .header-wrap .cart,
    .mainnav,
    .header-wrap .bottom-header,
    .header-wrap .flat-socials {
        display: none;
    }

    .btn-menu {
        display: block ;
    }
  
    .mainnav.v1 {
      display: block;
    }

    .header .logo, 
    .header .show-search, 
    .header .cart, .header .block {
        line-height: 67px;
    }
  
    .hidden-xs {
      display: none !important;
  }
  

    .nav-wrap {
        padding: 0 30px;
    }

    .header .wrap-icon-nav {
        display: block;
    }

    .btn-menu {
        line-height: 60px;
        margin: 20px 0;
    }

    .header .logo {
        line-height: 60px;
        width: 77px;		
    }

    .header .header-wrap .logo {
        margin: 0 0 0 15px;
        position: absolute;
        left: 50%;
        top: 0;
        margin-left: -50px;
        z-index: 99999;
    }

    .go-top {
        width: 38px;
        height: 38px;
        line-height: 38px;
        bottom: 75px;
    }

    .team-row,
    .team-row.v1 {
        padding: 40px 0;
    }

    .block-testimonial .button .prev-slider{
        left: 0;
    }
    .block-testimonial .button .next-slider{
        right: 0;
    }
    .slider-cmt2,
    .slider-cmt1{
        width: auto;
    }
    .slider-cmt1{
        margin-bottom: 40px;
    }
    .block-gallery .main-iso .item{
        width: 33.3%;
    }
    .block-number .item{
        width: 50%;
    }
    .lh-container{
        padding: 0px 60px
    }
    .lh-tab .nav > li > a {
        padding: 0 41px;
    }
  
  .grid-sp .content-sp .product .post-product .san-pham img {
        max-height: 150px;
  }
  
  .grid-sp .content-sp .product .post-product {
    height: 70%;
  }
  
  .grid-sp .content-sp .top-sp {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
  }
  
  .grid-sp .content-sp .box-post {
    padding: 30px 15px;
    height: 100%;
}
  
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-prev:before, 
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-next:before {
    color: #333;
  }
  
  .owl-carousel.owl-loaded {
    padding: 0 15px;
  }
  
  .footer .widget.widget-tiwtter {
    padding: 0 15px;
  }
  
  .footer .widget.mang-xh {
    padding: 0 15px;
  }
  
  
  .vi-tri .img-map {
    padding: 40px 150px 0 150px;
  }

  .footer .widget-categories {
    padding: 25px 15px;
  }
  
  .nhap-email .mail-form {
        width: 420px;
  }


}

/* Tablet Landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}



/* Tablet Portrait Size */
@media only screen and (min-width: 768px) and (max-width: 991px) {

}
/* All Mobile Sizes */
@media only screen and (max-width: 767px) {
    .header .header-wrap .show-search,
    .header .header-wrap .cart,
    .mainnav,
    .header-wrap .bottom-header,
    .header-wrap .flat-socials {
        display: none;
    }

    .btn-menu {
        display: block ;
    }

    .wrap-slider .header {
        position: relative;
    }

    .header .logo, 
    .header .show-search, 
    .header .cart, .header .block {
        line-height: 67px;
    }

    .header .wrap-icon-nav {
        display: block;
    }

    .btn-menu {
        line-height: 60px;
        margin: 20px 0;
    }

    .header .logo {
        line-height: 60px;
        width: 77px;		
    }

    .header .header-wrap .logo {
        z-index: 99999;
    }

    .header .header-wrap .logo {
        margin: 0 0 0 15px;
        position: absolute;
        left: 50%;
        margin-left: -55px;
    }

    .go-top {
        width: 38px;
        height: 38px;
        line-height: 38px;
        bottom: 45px;
    }

    .team-row,
    .team-row.v1 {
        padding: 40px 0;
    }

    .lh-ul li{
        margin-bottom: 5px;
    }
    .block-gallery .main-iso .item{
        width: 50%;
    }
    .block-partner .lh-title{
        margin-top: 40px;
    }
    .lh-tab .nav > li > a {
        padding: 0 22px;
    }

    .lh-tab .nav.nav-tabs{
        top: 0;
        background-color: #e1e1e1;
    }
    .block-about-us img{
        display: none;
    }

    .wrap-slider .header {
        background-color: #4c4c4c;
    }


    .top-menu ul li:nth-child(2) {
        display: none;
    }

    .top-menu .mainnav.v1 {
        display: none;
    }

    .top-menu .mainnav.v2 {
        display: block;
        position: absolute;
        top: 20px;
        right: 10px;
    }

    .top-menu .mainnav.v2 ul li i:hover {
        color: #d13078;
    }

    .top {
        display: none;
    }

    .footer {
        padding: 15px;
    }

    .form-kh .nice-select {
        width: 170px;
    }

    .vi-tri .top-map p {
        padding-top: 15px;
        line-height: 15px;
        padding-right: 30px;
    }

    .vi-tri .img-map {
        text-align: center;
        padding: 20px 15px;
    }

    .vi-tri .top-map .flat-button {
        float: none;
    }

    .vi-tri .top-map {
        margin-bottom: 10px;
    }

    .vi-tri .bottom-map p {
        line-height: 27px;
    }

    /*.grid-sp .content-sp .title, 
    .grid-sp .content-sp select {
        display: block;
    }*/

    .grid-sp .content-sp .title {
        margin-bottom: 10px;
      font-size: 16px;
    }

    /*.grid-sp .nice-select {
        float: none;
    }*/

    .grid-sp .content-sp .product .overlay ul {
        padding-top: 15px;
    }

    .tp-caption.button-slider {
        height: 25px;
        line-height: 25px !important;
    }

    .grid-sp .img-sp img {
        width: 100%;
        height: 430px;
        max-height: 430px;
    }

    .grid-sp .post {
        width: 100%;
        height: 430px;
        max-height: 430px;
        display: inline-block;
    }

    .content-sp.v1 .post .item {
        width: 50%;
    }

    .content-sp.v1 .post .item:nth-child(n+4) {
        margin-bottom: 90px;
    }

    .chitiet-sanpham .slider-wo {
        margin-bottom: 20px;
    }
  
  .grid-sp .content-sp .product .post-product .san-pham img {
        max-height: 160px;
  }
  
  .grid-sp .content-sp .product .post-product {
    height: 70%;
  }
  
  .grid-sp .content-sp .top-sp {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
  }
  
  .grid-sp .content-sp .box-post {
    padding: 30px 15px;
    height: 100%;
}
  
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-prev:before, 
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-next:before {
    color: #333;
  }
  
  .owl-carousel.owl-loaded {
    padding: 0 15px;
  }


  .grid-sp .content-sp .product .post-product:last-child {
    display: none;
  } 

  .grid-sp .content-sp .product .post-product {
    width: 100%;
  }

  .top-menu .mainnav ul li {
    border: 0px;
}

.top-menu .mainnav ul li:last-child {
    border-left: 1px solid #e1e1e1;
}


}

/* Mobile Landscape Size */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .top .flat-information {
    display: none;
  }
  
  .top .top-menu {
    float: none;
    display: flex;
    justify-content: center;
  }
  
  .nhap-email {
    padding: 30px 25px;
  }
  
  .nhap-email .mail-form {
    float: none;
  }
  
  .header .header-wrap .logo {
      margin: 0 0 0 15px;
      position: absolute;
      left: 50%;
      top: 0;
    	margin-left: -65px;
    }
  
  
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-prev:before, 
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-next:before {
    color: #333;
  }
  
  .owl-carousel.owl-loaded {
    padding: 0 15px;
  }
    
}

@media only screen and (max-width: 700px) {
    .header .header-wrap .show-search,
    .header .header-wrap .cart,
    .mainnav,
    .header-wrap .bottom-header,
    .header-wrap .flat-socials {
        display: none;
    }

    .btn-menu {
        display: block ;
    }

    .wrap-slider .header {
        position: relative;
    }

    .header .logo, 
    .header .show-search, 
    .header .cart, .header .block {
        line-height: 67px;
    }

    .header .wrap-icon-nav {
        display: block;
    }

    .btn-menu {
        line-height: 60px;
        margin: 20px 0;
    }

    .header .logo {
        line-height: 60px;
        width: 77px;		
    }


    .go-top {
        width: 38px;
        height: 38px;
        line-height: 38px;
        bottom: 45px;
    }

    .team-row,
    .team-row.v1 {
        padding: 40px 0;
    }

  	.grid-sp .top-title .xem-them,
    .grid-sp .top-title .xem-them .img-them {
        height: 50px;
        max-height: 50px;
    }

    .grid-sp .top-title .xem-them .img-them a {
        line-height: 50px;
        font-size: 15px;
    }

    .top {
        display: none;
    }

    .top-menu .mainnav ul li {
        border: 0px;
    }

    .top-menu .mainnav ul li:last-child {
        border-left: 1px solid #e1e1e1;
    }

    .grid-sp .post .img-sp {
        display: none;
    }

    .grid-sp .content-sp {
        width: 100%;
    }

    .grid-sp .content-sp .product .post-product {
        width: 50%;
    }

    .grid-sp .content-sp .product .post-product:last-child {
        display: block;
    }

    .grid-sp .content-sp .title {
        font-size: 22px;
    }

}

@media (max-width: 415px){
    .block-testimonial .button .next-slider,
    .block-testimonial .button .prev-slider{
        top: calc(50% - 70px);

    }

    .block-number .item {
        width: 100%;
        text-align: center;
    }

    .block-number .item3 {
        padding-left: 0;
    }

    .block-number .item.item4 {
        text-align: center;
    }



    }

    /* Mobile Portrait Size */
    @media only screen and (max-width: 479px) {

    .wpcf7-form p .wpcf7-submit{
    width:100%;
    }
    .form-hd .wpcf7-form fieldset i{
    position: absolute;
    top: 36px;
    left: 0;
    padding-left: 20px;
    color: #45b653;
    z-index: 99999;
    }
    .lh-form .form-left span{
    display: block;
    line-height: 30px;
    }
    .top-menu .mainnav ul li:last-child{
    border-left: 1px solid #e1e1e1; 
    }
    .dangkytaikhoan{
    width: 93%;
    }
    .mainnav,
    .header-wrap .bottom-header,
    .header-wrap .flat-socials {
    display: none;
    }

    .btn-menu {
    display: block ;
    }

    .wrap-slider .header {
    position: relative;
    }

    .header .logo, 
    .header .show-search, 
    .header .cart, .header .block {
    line-height: 67px;
    }

    .header .wrap-icon-nav {
    display: block;
    }

    .btn-menu {
    line-height: 70px;
    margin: 20px 0;
    }

    .header .logo {
    line-height: 60px;
    width: 77px;		
    }

    .header .header-wrap .logo {
    margin: 0 0 0 15px;
    position: absolute;
    left: 50%;
    width: 80px;
    top: 0;
    z-index: 9999;
    margin-left: -40px;
    }

    .go-top {
    width: 38px;
    height: 38px;
    line-height: 38px;
    bottom: 50px;
    }

    .team-row,
    .team-row.v1 {
    padding: 40px 0;
    }

    .block-testimonial p.caption{
    font-size: 20px;
    }
    .slider-cmt1 .cmt{
    background: none;
    padding: 0;
    }
    .slider-cmt1 .cmt:before{
    background: none;
    }
    .block-number{
    padding: 20px 0 ;
    }
    .block-gallery .main-iso{
    margin-top: 30px;
    }
    .block-gallery .main-iso .item{
    width: 100%;
    }
    .block-about-us h3,
    .block-partner .lh-title{
    font-size: 18px;
    }
    .block-partner .item {
    width: 100%;
    }
    .lh-container{
    padding: 0px 15px
    }

    .block-module-img .module-img-info h2.lh-title{
    display: none;
    }
    .block-testimonial{
    padding: 30px 0;
    }

    .top .flat-information {
    display: none;
    }

    .top-menu .mainnav ul li {
        padding: 0 25px 0 25px;
    border: 0px;
    }

    .wrap-slider .header {
    background-color: #4c4c4c;
    }

    .tp-caption.button-slider {
    height: 20px;
    line-height: 20px !important;
    }

    .list-top .post {
    width: 100%;
    }

    .vi-tri .top-map p {
    padding-top: 15px;
    line-height: 15px;
    }

    .vi-tri .img-map {
    text-align: center;
    padding: 0 15px;
    height: 180px;
    }

    .vi-tri .top-map .flat-button {
    float: none;
    }

    .vi-tri .top-map {
    margin-bottom: 10px;
    }

    .vi-tri .bottom-map p {
    line-height: 27px;
    }

    .grid-sp .img-sp,
    .grid-sp .content-sp {
    width: 100%;
    display: block;
    }

    .grid-sp .img-sp img,
    .grid-sp .post {
    height: auto;
    max-height: none;
    }

    .grid-sp .post {
    margin-bottom: 15px;
    }

    .grid-sp .content-sp .box-post {
    padding: 15px;
    height: 70%;
    }

    .grid-sp .content-sp .product .overlay ul {
    padding-top: 25px;
    }

    /*.grid-sp .content-sp .title, 
    .grid-sp .content-sp select {
        display: block;
    }*/

    .grid-sp .content-sp .title {
    margin-bottom: 10px;
    }

    /*.grid-sp .nice-select {
        float: none;
    }*/

    .grid-sp .nice-select {
    width: 160px;
    max-width: 160px;
    }

    .nhap-email {
    text-align: center;
    padding: 20px 25px;
    }

    .nhap-email .mail-form {
    width: 100%;
    }

    .footer {
    padding: 15px;
    }

    .footer .widget-text {
    border: none;
    }

    .footer .widget.mang-xh {
    margin-bottom: 20px;
    }

    .mang-xh ul {
    padding-top: 5px;
    display: inline-block;
    }

    .footer .widget .widget-title {
    margin-bottom: 0;
    }

    .bottom {
    padding: 20px 15px;
    }

    .go-top i {
    line-height: 35px;
    }

    .block-about-us {
    padding-top: 40px;
    }

    p.caption {
    line-height: 35px;
    }

    .block-life {
    padding: 35px 0;
    }

    .module-contact {
    padding: 40px 0;
    }

    .module-contact .left .item .map-icon {
    float: none;
    padding-top: 10px;
    }

    .map-cuahang .dinhvi-cuahang {
    left: 44px;
      position: absolute;
    top: 39px;
    }

    .map-cuahang .form-control,
    .dinhvi-cuahang .post-cuahang {
    width: 300px;
    }

    .page-title .page-title-heading h2 {
    line-height: 45px;
    }

    .blog-chitiet .content-post .chia-se {
    text-align: left; 
    margin-bottom: 40px;
    }

    .breadcrumbs {
    padding: 70px 0 0;
    }

    .page-title .page-title-heading.v2 h2 {
    padding-bottom: 50px;
    }

    .ct-sp .flat-accordion {
    margin-bottom: 30px;
    }

    .ct-sp .list-shop .post {
    width: 100%;
    margin-bottom: 5px;
    }

    .ct-sp .list-shop {
    padding-top: 20px;
    margin-bottom: 35px;
    }

    .ct-sp .hoidap-ct-sp {
    height: auto;
    }

    .grid-sp.v1 .box-grid-sp .content-sp .product {
    width: 100%;
    margin-bottom: 20px;
    }

    .grid-sp.v1 .content-sp {
    margin-bottom: 0;
    }

    .footer .widget-text {
    padding: 25px 20px 40px;
    }

    .content-sp.v1 .post .item {
    width: 100%;
    }

    .content-sp.v1 .post .item:nth-child(n+4) {
    margin-bottom: 90px;
    }

    .content-sp.v1 .post .item:last-child {
    margin-bottom: 20px;
    }

    .ht-kh .block-about-us {
    display: block;
    }

    .khuyen-mai .post {
    width: 100%;
    margin-bottom: 30px;
    }

    .form-kh {
    width: 100%;
    margin-bottom: 5px;
    text-align: center;
    justify-content: center;
    }

    .all-form {
    display: inline-block;
    margin-bottom: 20px;
    }

    .effect-sadie h4 {
    bottom: 25%;
    }

    .list-news .img-list-news {
    float: none;
    }

    .list-news .img-list-news img {
    width: 100%;
    margin-bottom: 10px;
    }

    .form-kh .nice-select {
    width: 100%;
    }

    .chitiet-sanpham .slider-wo {
    margin-bottom: 20px;
    }

    .vi-tri .top-map p {
    padding-right: 0;
    }

    .grid-sp .content-sp .title img {
    width: 25px;
    height: 25px;
    }

    .grid-sp .content-sp .title {
    font-size: 16px;
    }

    .grid-sp .content-sp .title img {
    padding-right: 5px;
    }

    #wowslider-container1 .ws_images, 
    #wowslider-container1 .ws_shadow {
    margin-bottom: 0;
    }

    .grid-sp.v1 .box-grid-sp.v2 .content-sp .product {
    width: 100%;
    }

    .module-mysite {
    padding: 45px 0;
    }

    .woocommerce table.shop_table td {
    padding: 6px 5px;
    }

    #customer_details {
    width: 100%;
    margin-bottom: 40px;
    }

    #order_review {
    width: 100%;
    }

    .grid-sp .content-sp .top-sp {
    display: inline-block;
    margin-bottom: 30px;
    width: 100%;
    }

    .grid-sp .content-sp .product .post-product .san-pham img {
    max-height: 150px;
    }

    .grid-sp .content-sp .product .post-product {
    height: 70%;
    }

    .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-prev:before, 
    .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-next:before {
    color: #333;
    }

    .owl-carousel.owl-loaded {
    padding: 0 15px;
    }

    .news-video .tin-tuc .owl-theme .owl-controls .owl-nav div {
    top: 95%;
    }

    .grid-sp .content-sp .product .overlay {
    top: -8px;
    }

    .grid-sp .content-sp .product .post-product .title-sanpham h4 {
    font-size: 12px;
    }

    .grid-sp .top-title .xem-them,
    .grid-sp .top-title .xem-them .img-them {
    height: 50px;
    max-height: 50px;
    }

    .grid-sp .top-title .xem-them .img-them a {
    line-height: 50px;
    font-size: 15px;
    }

    .footer .widget.widget-tiwtter iframe {
    width: 320px;
    }

    .footer .widget.widget-tiwtter {
    padding: 0;
    }

    .top-menu .mainnav.v1 {
    display: none;
    }

    .top-menu .mainnav.v2 {
    display: block;
    }

    .top-menu .mainnav ul li {
    padding: 0 15px;
    }

    .top-menu .mainnav ul li i {
    padding-right: 0;
    }

    .top {
    border: none;
        height: 0;
    }

    .grid-sp .content-sp .product .post-product {
        width: 50%;
    }

    .grid-sp .content-sp .product .post-product:last-child {
        display: block;
    }
  
  
  

}

@media (max-width: 320px) {	
    .header .header-wrap .cart,
    .mainnav,
    .header-wrap .bottom-header,
    .header-wrap .flat-socials {
        display: none;
    }

    .btn-menu {
        display: block ;
    }

    .wrap-slider .header {
        position: relative;
    }

    .header .logo, 
    .header .show-search, 
    .header .cart, .header .block {
        line-height: 67px;
    }

    .header .wrap-icon-nav {
        display: block;
    }

    .btn-menu {
        line-height: 60px;
        margin: 20px 0;
    }

    .header .logo {
        line-height: 60px;
        width: 77px;		
    }

    .header .header-wrap .logo {
        margin: 0 0 0 15px;
        position: absolute;
        left: 50%;
        width: 70px;
        margin-left: -35px;
    }

    .go-top {
        width: 38px;
        height: 38px;
        line-height: 38px;
        bottom: 5px;
    }

    .team-row,
    .team-row.v1 {
        padding: 40px 0;
    }

    .slider-cmt1{
        margin-bottom: 0;
    }

    .lh-form .form-left button{
        width: 100%;
    }
  
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-prev:before, 
  .content-sp .post.owl-theme .owl-controls .owl-nav div.owl-next:before {
    color: #333;
  }

}
@media only screen and (max-width: 320px){
  .top-menu .mainnav ul li{
    padding: 0 23px;
    border: 0px;
  }
}
