﻿@media(max-width:1150px) {
    * {
        box-sizing: border-box
    }

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

    .header-inner,
    .navigation-inside,
    .text-inner,
    .sub-head-inner,
    .categories-inner,
    .home-logos-inner,
    .footer-inner,
    .category-pages-inner,
    .pages-inner,
    .product-pages-inner {
        width: 96%;
    }

    .header-inner,
    .footer-inner,
    .category-pages-inner,
    .product-pages-inner {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .header-left {
        width: 38%;
        padding: 0;
    }

    .header-centre {
        width: 38%;
        padding: 0;
        top: 0;
    }

    .header-right {
        width: 10%;
    }

    .navigation,
    .navigation-inside {
        height: auto;
    }
    .navigation-inside{
        padding: 0;
    }
    #primary_nav_wrap ul ul{
        position: static;
        display: block;
        background: transparent;
        
    }
    #primary_nav_wrap ul ul li{
        width: auto;
        padding-left: 20px;
    }
    .mobile-menu {
        display: block;
        padding: 10px 0;
    }

    #primary_nav_wrap {
        display: none;
    }

    #primary_nav_wrap ul,
    #primary_nav_wrap ul li {
        float: none;
    }

    #primary_nav_wrap ul li {
        margin-bottom: 5px;
    }

    #primary_nav_wrap ul li a {
        border: 0;
        border-bottom: solid 1px #fff;
        padding: 10px 0;
    }

    .categories-inner {
        display: flex;
        flex-wrap: wrap;
    }

    .cat,
    .cat-end {
        width: 32.3%;
        margin: 1% 1% 1% 0;
        background: #fff;
    }

    .cat-image a {
        display: block;
        text-align: center;
    }

    .footer {
        display: flex;
    }

    .footer-box {
        width: 25%;
        margin: 0;
    }

    .footer-box-end {
        width: 20%;
    }

    .category-products,
    .category-products-end {
        width: 24%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .category-products-image {
        height: auto;
    }

    .category-pages {
        padding-bottom: 30px;
    }
    .text{
        margin: 0;
    }
    .sub-header{
        margin: 0;
    }
    .product-left,.product-right,.contact-left,.contact-right{
        width: 48%;
        margin: 0;
    }
    .product-picture{
        text-align: center;
    }

}

@media(max-width:900px) {
    .footer-box {
        width: 100%;
        margin: 0 0 20px 0;
        border: 0;
        border-bottom: solid 1px #fff;
        padding-bottom: 10px;
    }

    .footer-box-end,
    .header-left,
    .header-centre,
    .header-right,
    .cat,
    .cat-end,
    .product-left,
    .product-right,.contact-left,.contact-right {
        width: 100%;
    }

    .header-centre,
    .header-right {
        text-align: center;
        margin-top: 20px;
    }

    .category-products,
    .category-products-end {
        width: 48%;
        margin: 1%;
    }
    #frm td input,  #frm td textarea {
        width: 100% !important;
    }
}

@media(max-width:600px) {
    h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: bold;
}

    
    
    .category-products, .category-products-end{
        margin: 0 0 10px;
        width: 100%;
    }
    #frm td{
        width: 100%!important;
        display: block !important;
        height: auto !important;
    }
}