﻿/*=====================================================
    
    TABLETS PORTRAIT & SMARTPHONES LANDSCAPE

=====================================================*/

@media all and (min-width: 481px) {
	
/* GLOBAL STYLES */
/* HEADER */
   
.search-box input.search-box-text {
	width: 300px;
}
.ui-autocomplete.ui-menu.ui-widget.ui-widget-content {
	width: 336px !important; /*txtfield + button*/
}
.eu-cookie-bar-notification {
    width: 450px;
    max-width: 95%;
    margin-left: -225px;
}
/* HEADER MENU */
/* FOOTER */


/* LEFT/RIGHT COLUMN */
/* CATEGORY PAGE & GRIDS */

.item-grid {
    width:100%;
    max-width:520px;
    margin:auto;
}
.home-page-category-grid .item-grid {
    max-width:100%;
}
.home-page-category-grid .item-box,
.sub-category-grid .item-box,
.manufacturer-grid .item-box {
    float:left;
    margin:0;
    width:33%;
}
.home-page-category-grid .item-box:nth-child(2n+1){
    clear:both;
}
    .home-page-category-grid.categories-1 .item-box:nth-child(2n+1) {
        clear:none;
    }
    .home-page-category-grid.categories-2 .item-box,
    .sub-category-grid.categories-2 .item-box{
        float:none;
        width:auto;
        max-width:none;
    }
    /*.home-page-category-grid.categories-2 .item-box .title{
        width:auto;
    }*/
    .home-page-category-grid.categories-2 .item-box .title, .sub-category-grid.categories-2 .item-box .title {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
    margin: -27px auto 0;
    min-width: 200px;
    padding: 5px;
    right: 0;
    top: 50%;
    width: auto;
}
    .home-page-category-grid.categories-2 .item-box .title a, 
    .sub-category-grid.categories-2 .item-box .title a {
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #000000;
    padding: 10px 15px;
}
    .home-page-category-grid.categories-2 .item-box .picture a,
    .sub-category-grid.categories-2 .item-box .picture a{
        height:127px;
    }

.product-grid .item-box {
    float: left;
    width: 50%;
    text-align: center;
    padding: 0;
    margin: 0;
}

/* PRODUCT PAGE */
/* QUICK TABS */
/* ATTRIBUTES */
/* GIFT CARD */
/* REVIEW PAGE */

.product-review-list {
	width: 90%;
	max-width: 600px;
	margin: 0 auto 50px;
}
.product-review-item .review-text {
	border: 1px solid #ddd;
}

/* WISHLIST PAGE */

.wishlist-content .buttons input {
	width: auto;
	min-width: 124px;
}

/* PASSWORD PROTECTION */
.enter-password-form input[type="password"] {
	width: 300px !important;
}

/* CONTACT PAGE & EMAILaFRIEND */
/* REGISTRATION, LOGIN, MY ACCOUNT */
/* SHOPPING CART & CHECKOUT */

.shopping-cart-page .common-buttons input {
	width: 50%;
}
.cart-collaterals .coupon-code {
    margin: auto;
    max-width: 350px;
}

/* SEARCH PAGE & SITEMAP */
/* BLOG & NEWS */

/* FORUM & PROFILE */

.forum-search-box-text,
.forum-search-text {
	width: 300px !important;
}

}





/*Added by hungvv*/
@media all and (max-width: 480px) {

    .blog-page .post, .news-items .news-item {
    
       width: 90%;
    height: 220px;
    float: none;
    margin: 10px auto;
    }
    .blog-posts .news-info{
        position: relative;
        display: block;
        background: #fff;
        color: #000;
        margin: 0 auto;
        padding: 0;
        opacity: 1;
    }
    .blog-posts .post-body .post-title{
        color: #000;
    }
    .gallery-title{
        position: relative;
        display: block;
        margin-bottom: 20px;
    }
    .related-blog-items .blog-post{
           width: 48%;
    height: 150px;
    margin: 1%;
}
    .picture-thumbs{
    /*overflow: hidden;*/
    margin-left: 20px;
    margin-right: 20px;
}


    .attributes {
display: table;
}
    .newslist-homepage .news-items .news-item {
        width: 100%;
        clear: both;
        float: none;
        height: auto !important;
    }

        .newslist-homepage .news-items .news-item .news-body {
            margin: 0 auto;
            height: auto !important;
        }

    .newslist-homepage .news-info {
        opacity: 0.9;
        position: relative;
        height: 100px;
        padding-top: 10px;
        margin-top: -100px;
    }

    .home-page-bottom-banners {
        margin-bottom: 20px;
    }

    .footer .social-sharing-block, .footer .newsletter-block {
        clear: both;
        float: none;
        width: 100%;
        margin: 5px 0;
    }

        .footer .social-sharing-block strong, .footer .newsletter-block strong {
            float: none;
            clear: both;
            width: 90%;
            border-bottom: 1px solid #eee;
            margin: 5px auto;
            display: none;
        }

    .social-sharing, .newsletter {
        width: 90% !important;
        margin: 0 auto !important;
        text-align: center !important;
        float: none !important;
        clear: none !important;
    }

    .footer-middle .footer-block {
        text-align: left !important;
        margin: 10px;
        padding: 10px 20px;
        clear: both;
    }

    .footer-middle .title {
        margin-left: -10px;
    }

    .home-page-bottom-banners .left, .home-page-bottom-banners .right {
        margin: 5px auto;
    }

    img {
        max-width: 100% !important;
        height: auto;
    }

    .product-selectors {
        margin: 0;
        text-align: center;
    }

    .product-grid .item-box {
        max-width: 480px;
        height: auto;
        text-align: center;
        width: 46%;
       
        float: left;
       
    }

    .page-title h1 {
        text-align: center;
    }

    .product-grid .item-box .product-item {
        max-width: 230px;
        border: 1px solid #eee;
        padding: 2px;
        margin: 2px auto;
         overflow: hidden;
        height:282px;
    }

    .product-details-page .overview {
        text-align: center;
    }

    .attributes dt {
        float: none;
        text-align: center;
        clear: both;
    }

    .attributes dd {
        float: none;
        text-align: center;
        clear: both;
    }

    .inputs label {
        text-align: left;
    }
    .footer-middle .title{
          cursor: pointer;
    background: #eee;
    color: #000;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    border-radius: 5px;
    margin: 0;
    line-height: 20px;
    }
    .footer-middle .footer-block{
        padding: 0;
    }
    .footer-block.contacts ul, .footer-block.about-us ul, #hethongcuahangdiv{
            clear: both;
    float: none;
    display: none;
    text-align: center;
    margin-top: 5px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
    }
    .footer-block.contacts ul li, .footer-block.about-us ul li{
        /*float: left;
        margin: 0 10px;*/
    }
    .newsletter-email {
	width: 100%;
}
.newsletter-email input[type="text"]{
    width: 70%;
    float: left;
}
.newsletter-email input[type="button"]{
    width: 30%;
    float: left;
}
.footer-upper .center{
    border-top: none;
}

.c_left p img, .c_right p img, .c_item p img{
width: 100%;
}
/*End of max 480*/
.product-grid .title strong, .home-page-category-grid .title strong {
    font-weight: bold;
padding: 0 5px;
font-size: 14px;
}
}

.item-box .product-title, .item-box .title{
    font-size: 11px;

}


.also-purchased-products-grid .item-grid, .related-products-grid .item-grid {
width: 100%;

}

.product-essential .product-name h1 {

    font-size: 14px;
    padding-bottom: 0px;
}
.attributes li {
float: none;
}
.attributes ul.option-list li label{
    border: 1px solid #eee;
    padding: 2px;
    margin: 0 2px;
    line-height: 20px;

}

/*.gallery .picture {
    max-width: 250px;
    margin: 0 auto 10px auto;
    
}
.picture-thumbs {
width: 100%;

}
.picture-thumbs .thumb-popup-link{
       float: left;
    width: 25%;
    min-width: 60px;
}

    .picture-thumbs .thumb-popup-link img{
    height: 100px;
        margin: 2px;
    }*/
    .product-details-page .overview{
        
            padding-top: 20px;
    }
.image-thumb{
    height: 90px;
    width: auto;
    margin: 3px;
    border: 1px solid #eee;
}
.jcarousel-clip-horizontal{
    overflow: hidden;
}

.jcarousel-prev-horizontal {
    background:url("../img/carousel-arrow-left.png") no-repeat center center;
       width: 25px;
    height: 90px;
    background-color: #C0C0C0;
    position: absolute;
    left: -25px;
    top: 3px;
    cursor: pointer;
}
.jcarousel-next-horizontal {
    background:url("../img/carousel-arrow-right.png") no-repeat center center;
       width: 25px;
    height: 90px;
    background-color: #C0C0C0;
    position: absolute;
    right: -25px;
    top: 3px;
    cursor: pointer;
}