@media only screen and (min-width: 1020px) and (max-width: 1050px) {

    .flex-direction-nav a.flex-prev {
        left: 0;
    }

    .flex-direction-nav a.flex-next {
        right: 0;
    }

    .customNavigation a.next {
        background-color: #FAF8F2;
        right: 16px;
        top: -41px;
    }

    .customNavigation a.prev {
        left: auto;
        background-color: #FAF8F2;
        top: -41px;
        right: 45px;
    }
}

@media only screen and (min-width: 980px) and (max-width: 1024px) {
    /*	.content-inner,*/
    #content-wrapper, .home #content, .flexslider,
    #header,
    .nav-inner,
    .footer-inner,
    .top_header_inner {
        width: 940px;
    }

    #column-left, #column-right {
        width: 180px;
    }

    #column-left + #column-right + #content, #column-left + #content {
        margin-left: 217px;
    }

    #column-right + #content {
        margin-right: 190px;
    }

    #footer .column {
        width: 224px;
    }

    .nav-responsive, .toggle .mobile_togglemenu {
        display: none
    }

    #powered {
        width: 100%;
    }

    .product-list .right {
        width: 465px;
    }

    .category-info img {
        width: 100%;
    }

    /*.customNavigation a.next{right:-15px;}
    .customNavigation a.prev{left:-15px;}*/
    .flex-direction-nav a.flex-next {
        right: 0;
        top: 45%;
    }

    .flex-direction-nav a.flex-prev {
        left: 0;
        top: 45%;
    }

    .banners-slider-carousel .customNavigation a.next {
        right: 0;
    }

    .banners-slider-carousel .customNavigation a.prev {
        left: 0;
    }

    /*	.language_div{left:22px;}
        .currency_div{  left: 154px;}*/

}

@media only screen and (max-width: 979px) {

    /*.content-inner,*/
    #content-wrapper, .home #content, .flexslider,
    #header,
    .nav-inner,
    .footer-inner,
    .top_header_inner {
        width: 724px;
    }

    #column-left {
        width: 165px;
    }

    #column-right {
        display: none;
    }

    #column-left + #column-right + #content,
    #column-left + #content {
        margin-left: 202px;
    }

    #column-right + #content {
        margin-right: 0;
    }

    #column-left .banner img,
    #column-right .banner img {
        max-width: 100%
    }

    #header .header-right {
        width: 455px;
        margin-top: 0px;
    }

    #header #search {
        margin-left: 20px;
        margin-top: 25px;
    }

    #footer .column {
        width: 100%;
        background: url("../../image/3d-line.png") repeat-x scroll 0 0 transparent;
        margin-bottom: 0;
    }

    .paiement_logo_block {
        background: url("../../image/3d-line.png") repeat-x scroll 0 0 transparent
    }

    #footer .column ul {
        display: none;
    }

    .nav-responsive {
        display: block
    }

    .product-info .cart span {
        display: none;
    }

    .product-info .cart .links {
        margin-top: 8px;
        display: block;
    }

    .product-info .cart .links .product_wishlist {
        display: inline;
        background: url("../../image/megnor/pipe.gif") no-repeat scroll right center;
        margin-right: 5px;
        padding-right: 7px;
    }

    .contact-info .right iframe {
        width: 100% !important;
    }

    .checkout-content .left, .checkout-content .right {
        width: 100%;
    }

    .product-info .review a.review-write {
        display: block;
    }

    select[name="category_id"] {
        clear: both;
        display: block;
        width: 175px;
        margin: 10px 0;
    }

    .product-list .left {
        /*width:370px;*/
    }

    #powered {
        width: 100%;
    }

    .paiement_logo_block h3 {
        display: block;
    }

    .paiement_logo_block {
        margin-top: 0;
    }

    .category-info img {
        width: 100%;
    }

    .product-list .right {
        width: 264px;
    }

    .page_product #content #option-225 .date.hasDatepicker {
        width: 168px;
    }

    .flex-direction-nav a.flex-next {
        top: 45%;
        right: 0;
    }

    .flex-direction-nav a.flex-prev {
        top: 45%;
        left: 0;
    }

    .customNavigation a.next {
        background-color: #FAF8F2;
        right: 16px;
        top: -41px;
    }

    .customNavigation a.prev {
        left: auto;
        background-color: #FAF8F2;
        top: -41px;
        right: 45px;
    }

    /*	.language_div{ left: 127px;}
        .currency_div{  left:70px;}*/
}

/* Landscape phone to portrait tablet */
@media only screen and (max-width: 767px) {

    #content-wrapper, .home #content, .flexslider,
    #header,
    .nav-inner,
    .footer-inner,
    .top_header_inner {
        width: auto;
        margin: 0 15px;
    }

    #column-left, #column-right {
        display: none;
    }

    #column-left + #column-right + #content,
    #column-left + #content {
        margin-left: 0;
    }

    #column-right + #content {
        margin-right: 0;
    }

    #content {
        clear: both;
        width: 100%;
    }

    #header .header-left, #header .header-right {
        width: 100%;
    }

    .header-left {
        margin-top: 10px;
    }

    #header #logo {
        padding-top: 0;
    }

    #header #logo img {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    #header #welcome {
        float: none;
        margin: 39px auto 0;
        text-align: center;
        width: 100%;
    }

    #header #search {
        width: 100%;
        margin: 30px auto;
        z-index: 5;
        top: 5px;
        left: 7px;
    }

    #header #search input {
        width: 94%;
    }

    #header #cart {
        width: 100%;
        top: 190px;
        text-align: center;
    }

    #header #cart .heading h4 {
        display: none;
    }

    #currency, #language, #currency .show:hover, #language .show:hover {
        color: #FFFFFF;
    }

    .nav-container {
        width: auto
    }

    #currency, #language, .tm_headerlinkmenu {
        width: 45% !important;
        background-color: #2e2e2e;
        border-right: 1px solid #FFFFFF;
        margin: -1px 0 0 0;
        padding: 8px 0;
        text-align: left;
        position: relative;
        z-index: 999;
        cursor: pointer;
    }

    .headertoggle_img {
        margin: 0 0;
    }

    #currency {
        left: 0;
    }

    #currency, #language {
        border-radius: 0;
        top: 69px;
        border-top: none;
        border-bottom: none;
    }

    #header #cart .heading {
        float: none;
        background-image: none;
        padding: 15px 10px;
    }

    #header #cart .content {
        margin: 0 auto;
        float: none;
    }

    .language_div, .currency_div {
        top: 40px;
        left: 0;
        width: 90%;
    }

    #header .links, .header_links {
        display: none;
    }

    #header .header_links {
        background: #FAF8F2;
        border: 1px solid #DDD8C2;
        border-radius: 8px;
        display: none;
        position: absolute;
        margin: 0;
        padding: 0;
        width: 100%;
        z-index: 95;
        top: 40px;
        right: 0;
    }

    #header .header_links li {
        border-bottom: 1px solid #DDDDDD;
        list-style: none outside none;
        text-align: left;
    }

    #header {
        /*height: 250px;*/
    }

    #header #cart .heading a {
        background: url("../../image/megnor/cart_icon.png") no-repeat scroll left center;
        padding: 10px 10px 10px 45px;
    }

    #header .header_links li a {
        display: block;
        padding: 5px 10px;
    }

    #header .header_links li a:hover {
        background: none repeat scroll 0 0 #DDDDDD;
        text-decoration: none;
    }

    #currency .show a, #currency .show a:hover, #language .show a, #language .show a:hover {
        color: #fff;
    }

    .tm_headerlinkmenu {
        border-right: none !important;
        color: #FFFFFF;
        display: block;
        float: left;
        position: absolute;
        z-index: 999;
        width: 45% !important;
        margin-right: -2px;
    }

    #currency .top_downarrow, #language .top_downarrow {
        background: url("../../image/megnor/arrow-down-resp.png") no-repeat scroll right 7px;
    }

    #currency.active .top_downarrow, #language.active .top_downarrow {
        background: url("../../image/megnor/arrow-up-resp.png") no-repeat scroll right 7px;
    }

    .copyright-container {
        margin: 10px auto;
    }

    .product-info > .left {
        width: 285px;
        margin: 0 auto 10px;
        float: none;
    }

    .product-info > .left + .right {
        margin-left: 0;
    }

    .product-filter .limit {
        float: none;
        margin-left: 0;
    }

    .product-filter .display {
        padding-top: 0;
    }

    .zoomContainer .zoomLens {
        cursor: default !important;
    }

    .zoomWindowContainer, .zoomWindow, .zoomContainer {
        display: none;
    }

    .cart-left-area, .cart-right-area, .login-content .left, .login-content .right, .contact-info .left, .contact-info .right {
        width: 100%;
    }

    .login-content .left .content, .login-content .right .content {
        min-height: inherit;
    }

    .captch_input, .cart-module input[type="text"] {
        margin-bottom: 6px !important;
    }

    .compare-info {
        display: block;
        overflow: auto;
        width: 100%;
    }

    #colorbox, #cboxOverlay {
        display: none !important;
    }

    #header-container {
        background-image: none;
    }

    /*.top_header{background:url("../../image/top-header-pttrn.png") repeat-x scroll bottom #fff;}*/
    .top_header .welcome-links {
        margin-top: 0;
        width: 100%;
        position: relative;
    }

    .top_header .links {
        float: right;
    }

    .top_header .links a {
    }

    .top_header .links #wishlist-total {
        padding: 0 0 0 10px;
    }

    .banners-slider-carousel .customNavigation a.next {
        right: 0;
    }

    .banners-slider-carousel .customNavigation a.prev {
        left: 0;
    }

    .product-info .image img {
        max-width: 97%;
    }

    #powered {
        width: 100%;
    }

    .product-grid-list .image img, #content .box-product .image img, #column-left .box-product .image img, #column-right .box-product .image img {
        max-width: 97%;
        padding: 0;
    }

    .top_header #welcome a + a {
        background: none;
        padding-right: 0;
    }

    .links {
        display: none;
    }

    #welcome {
        display: none;
    }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {

}

/* Landscape phones and down */
@media only screen and (max-width: 479px) {
    .tm_responsive_row label {
        width: 100%;
        margin-bottom: 5px;
    }

    .tm_responsive_row span {
        width: 100%;
    }

    .language_label, .currency_label {
        display: none;
    }

    .product-filter .sort {
        margin-top: 5px;
        float: left;
    }

    .product-compare {
        clear: both;
    }

    .pagination .links {
        float: none;
    }

    .htabs {
        width: 100%;
        height: auto;
    }

    .htabs a {
        display: block !important;
        float: none;
        width: auto;
        margin: 0;
    }

    table.form td {
        width: 100%;
        display: block;
    }

    .form input.large-field, .form select.large-field, textarea, select, input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="time"], input[type="url"], input[type="week"] {
        width: 98%;
    }

    .sitemap-info .right, .sitemap-info .left, .manufacturer-list ul {
        width: 100%;
    }

    .order-list .order-content div {
        width: 100%;
        margin-bottom: 15px;
        text-align: left;
    }

    table#order-detail .left {
        display: block;
    }

    .product-info .image-additional a {
        float: none;
        text-align: center;
    }

    .top_header {
        height: 35px;
    }

    #currency, #language {
        top: 104px;
    }

    .top_header #welcome {
        float: left;
        text-align: center;
        width: 100%;
    }

    .top_header .links {
        clear: both;
        width: 100%;
        text-align: center;
    }

    .top_header #welcome a {
        padding: 0 5px 0 0;
    }

    .top_header .links #wishlist-total {
        padding: 0 0 0 7px;
    }

    .top_header .links a {
        padding: 0 2px 0 8px;
    }

    .links {
        display: none;
    }

    #welcome {
        display: none;
    }

}

/* Mobile Landscape Size to Mobile Portrait (devices and browsers) */
@media only screen and (min-width: 320px) and (max-width: 479px) {
    .links {
        display: none;
    }

    #welcome {
        display: none;
    }

    .welcome-links {
        top: 0;
    }
}

@media only screen and (max-width: 319px) {
    .mini-cart-info .name {
        display: none;
    }

    .product-info > .left, .product-info > .left .image img {
        width: 100%;
    }

    .product-info .cart .links .product_wishlist {
        background: none;
        display: block;
    }

    .product-info .image-additional {
        width: 169px;
        margin: 0 auto;
    }

    .product-info .product-image .customNavigation {
        width: 196px;
        margin: 0 auto;
        position: relative;
    }

    .contact-info {
        padding: 15px 10px;
    }

    #content .aboutus .image1, #content .aboutus .image2, #content .aboutus .image3, #content .aboutus .image4 {
        float: none;
    }

    #content .aboutus .content {
        padding: 10px 0 0 0;
    }

    #order-detail3 table.list .left {
        padding: 5px;
    }

    #header #cart .content {
        width: 190px;
    }

    #header #cart .heading {
        padding: 15px 0;
    }

    #header #cart .heading a {
        padding: 10px 0 10px 45px;
    }

    .top_header {
        font-size: 12px;
    }

}

@media only screen and (max-width: 240px) {
    #header #logo img {
        width: 100%;
    }
}
