@media
only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 1000px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 1000px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 1000px),
only screen and (        min-device-pixel-ratio: 2)      and (max-width: 1000px),
only screen and (                min-resolution: 192dpi) and (max-width: 1000px),
only screen and (                min-resolution: 2dppx)  and (max-width: 1000px),
only screen and (max-width: 1000px) { 
    body {
        overflow-x: hidden;
    }

    .wrapper {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }

    .homecontainer .homeblocks {
        float:none;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .woocommerce .products .product img {
        max-width: 100%;
    }
}


@media
only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 768px),
only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 768px),
only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 768px),
only screen and (        min-device-pixel-ratio: 2)      and (max-width: 768px),
only screen and (                min-resolution: 192dpi) and (max-width: 768px),
only screen and (                min-resolution: 2dppx)  and (max-width: 768px),
only screen and (max-width: 768px) {
    #logo {
        background-size: contain;
        width: 260px;
        height: 65px;
    }

    .top .account {
        display: block;
    }

    .top .account + span {
        display: none;
    }

    #flogos .col-xs-4, #footer .col-xs-4 {
        width: 100% !important;
        text-align: center;
    }

    #copy {
        float: none;
    }

    .homeblocks .item.wid2 {
        width: 100%;
        height: auto;
        position: relative;
    }

    .featurebox .fOverlay {
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: auto;
    }

    .row.title h1 {
        margin-bottom: 20px;
    }

    #galleryList {
        max-width: 410px;
        margin-left: auto;
        margin-right: auto;
    }

    #galleryList:after {
        content: '';
        display: block;
        clear: both;
    }

        #galleryList li {
            float: none;
            display: inline-block;
            text-align: center;
            width: 40%;
        }
            #galleryList li h3 {
                font-size: 18px;
            }


            #galleryList li img {
                display: inline-block;
                max-width: 100px;
            }

            .woocommerce .description > *, .woocommerce .currency {
                margin-bottom: 15px;
                display: block;
            }

    .woocommerce .products .product {
        margin-bottom: 20px;
    }

    .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
        width: 100%;
    }

    .rsOverflow, .royalSlider {
        max-height: 300px !important;
    }
}
