﻿/*=====================================================
    
    BIG SCREENS - license M2hweb.com all right reserved.

=====================================================*/
@media all and (max-width: 1338px) and (min-width: 1280px) {
    .hCatPage .item-box, .html-category-page .item-box, .html-search-page .item-box {
        width: 23.5%;
    }

    .twocolumns .item-box:nth-child(4n+1) {
        clear: both !important;
    }
    .twocolumns .item-box:nth-child(4n) {
        margin-left: 0 !important;
    }
}

@media all and (max-width: 1579px) and (min-width: 1339px) {

    .hCatPage .item-box, .html-category-page .item-box, .html-search-page .item-box {
        width: 19%;
    }

    .twocolumns .item-box:nth-child(5n+1) {
        clear: both !important;
    }
    .twocolumns .item-box:nth-child(5n) {
        margin-left: 0 !important;
    }
}

@media all and (min-width: 1580px) {
    #searchBox {
        padding-left: 250px;
    }

    .home_page_main_slider .pWrapper, .home_page_main_slider .nWrapper {
        top: 40% !important;
    }

    .hCatPage .item-box, .html-category-page .item-box, .html-search-page .item-box {
        width: 15.8%;
        margin: 0px 0px 0.8% 0.8%;
    }

        .hCatPage .item-box:nth-child(6n+1), .html-category-page .item-box:nth-child(6n+1), .html-search-page .item-box:nth-child(6n+1) {
            margin-right: 0px;
            clear: both !important;
        }
}

@media all and (min-width: 1280px) {


    .master-wrapper-page .header.normal .mega-menu > li {
        padding: 0 8px 0 8px;
    }

    .home_page_main_slider .pWrapper, .home_page_main_slider .nWrapper {
        top: 30%;
    }

    .AboutHilandFa .AboutHilandWrapper {
        display: inline-block;
    }

        .AboutHilandFa .AboutHilandWrapper img {
            float: left;
        }

    .AboutHilandFa .AboutHilandText {
        display: inline-block;
        text-align: right;
        /*width: 510px;*/
        margin: 0 0px 0 5px;
        color: #424242;
    }


    /* GLOBAL STYLES */
    .master-wrapper-content {
        width: 100%;
    }

    /*.html-manufacturer-page .center-2 {
    width: 78%;
    max-width: 1270px;

    }*/
    .html-manufacturer-page .side-2 {
        width: 20%;
    }

    .master-wrapper-content .page-title {
        margin: 0px auto;
    }

    .center-side-wrapper {
        overflow: hidden;
        max-width: 1170px;
        margin: 0 auto 60px;
    }

    .home-page .topic-html-content-body {
        max-width: none;
    }

    /* HEADER-MENU */


    .header.normal .header-menu .top-menu {
        width: auto;
        max-width: none;
    }

    /* FOOTER */

    .footer-lower > div {
        margin: 0;
    }

    .footer-tax-shipping {
        float: left;
    }

    .footer-disclaimer {
        float: none;
        display: inline-block;
    }

    /* CATEGORY PAGE & GRIDS */
    .center-2 {
        width: 75%;
        max-width: 870px;
    }

    .side-2 {
        width: 23%;
    }

    home-page-category-tabs .item-box {
        width: 197px;
        margin: 0 0 50px 30px;
    }



    .manufacturer-list-page .item-box {
        width: 184px;
        margin: 0 0 10px 10px;
        border: 1px solid #eaeaea;
    }


    .item-box {
        width: 200px;
        margin: 0 30px 50px 0;
    }

    .manufacturer-list-page .twocolumns .item-box:nth-child(4n+1) {
        clear: none;
        margin: 0 0 10px 10px;
    }

    .home-page-category-grid .item-grid {
        max-width: 1380px;
    }

    .home-page .item-grid {
        /*width: 1170px;*/
        margin: 0 auto;
        height: auto;
    }

    .center-side-wrapper.onecolumn {
        max-width: none;
    }

    .home-page-category-grid .item-box .title a {
        padding: 97px 10px 0;
    }

    .home-page-category-grid .item-box .title.small-title a {
        padding: 74px 103px 0;
        width: 100%;
    }

    .home-page-category-tabs {
        min-height: 480px; /*when load/reload*/
    }

    .home-page .home-page-product-grid,
    .home-page .bestsellers, .brands-jcarousel .nop-jcarousel {
        margin: 20px auto 30px;
        max-width: 1680px;
        overflow: hidden;
    }

      

        /*home page left side title grid*/

        .home-page .home-page-product-grid .title,
        .home-page .bestsellers .title {
            width: 20%;
        }

     
    /* PRODUCT PAGE */
    .gallery {
        width: 35.5%;
    }

        .gallery .picture::before {
            content: " ";
            display: block;
            padding-top: 119%;
        }

        .gallery .picture-thumbs a {
            /*width:160px;
            border: 1px solid rgb(176, 176, 176);*/
            display: -webkit-box;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            -webkit-flex-direction: column;
            flex-direction: column;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            align-items: center;
            float: left;
            cursor: pointer;
            height: 68px;
            position: relative;
            text-align: center;
            border: 1px solid #e5e5e5;
            background: #fff !important;
            max-height: 68px;
            padding: 0;
            width: 75px;
        }

            .gallery .picture-thumbs a:nth-child(4n) {
                margin: 0 6px 9px 0;
            }

    .product-details-page .overview {
        width: 60%;
    }

    .product-details-page .discontinued-product {
        position: absolute;
        width: 673px;
        right: -702px;
        text-align: center;
        z-index: 2;
    }

        .product-details-page .discontinued-product h4 {
            border: none;
        }

    .ui-tabs .inputs label {
        width: 290px;
    }

    .sub-category-grid .item-box {
        width: 24.25%;
        margin: 0 1% 1% 0;
    }

        .sub-category-grid .item-box:nth-child(4n+1) {
            margin: 0 0 1% 0;
        }

        .sub-category-grid .item-box:nth-child(2n) .picture {
            margin: 10px 0 0;
        }


    /* REGISTRATION, LOGIN, MY ACCOUNT */

    .page.login-page .page-body {
        border: none;
        padding: 0;
    }

    .return-request-page label {
        width: 440px;
    }

    /* SHOPPING CART & CHECKOUT */

    .shopping-cart-page .totals {
        width: 30%;
    }

    .cart-collaterals {
        width: 70%;
    }

        .cart-collaterals .deals {
            width: 48%;
        }

        .cart-collaterals .shipping {
            width: 50%;
        }

    .checkout-page .edit-address label {
        width: 240px;
    }

    .checkout-page .opc .edit-address label {
        width: 240px;
    }

    /* FORUM & PROFILE */

    .forum-search-page .advanced-search .inputs label {
        width: 240px;
    }

    .forum-edit-page label,
    .private-message-send-page label {
        width: 365px;
    }

    .product-selectors select option {
        padding: 8px 0 !important;
        font-family:yekan;
        color: #323232;
    }
}

.gallery .picture-wrapper .picture img {
    max-width: 85%;
    max-height: 85%;
}

.gallery .picture-thumbs img {
    max-width: 77%;
    padding: 2px;
}

.popuphandler {
    float: right !important;
}

    .popuphandler i {
        background: url("../img/icon-all.png") no-repeat -568px -6px;
        height: 48px;
        width: 26px;
        top: 4px;
        display: inline-block;
        position: relative;
    }

.home-page-category-grid .item-box .title a p {
    display: block;
    position: relative;
    letter-spacing: 1px;
    font-size: 14px;
    color: #fff;
    font-family: m2hweb;
}
