  img {
    max-width: 100%;
    height: auto;
  }
  
  #menu1 li.lBasket span {
    color: #999;
  }
  
      /*#skiplinks:before {content: 'max';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
  
  @media (max-width: 966px) {
      /*#skiplinks:before {content: '966px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
    
    .print {
      display: none !important;
    }
    
    #header, #body .container, .listHome {
      max-width: 950px !important;
      width: 100% !important;
    }
    
    
    #header #head1, #header #head2, #header #head3, #head3_m, #header #head4, #logo #title {
      overflow: hidden;
    }
    
    #menu1 ul {
      margin-top: 10px !important;
    }
    
    #head2 .container {
      height: auto;
    }
    
    #logo {
      padding-top: 0 !important;
    }
    
    #head3 .container, #head3_m .container {
      height: auto;
      background-repeat: repeat;
    }
    
    #menu2 ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      float: none;
    }
    
    #menu2 li {
      float: none;
    }
    
    #menu2 li a {
      height: 36px;
    }
    
    
    #head4 {
      width: 100% !important;
      max-width: 950px !important;
		  background-size: cover !important;
      padding-top: 38.3158%;
      height: auto !important;
      position: relative;
    }
    
    #slogan {
      position: absolute;
      top: 0;
      left: 0;
      padding-top: 10.52%;
      padding-left: 9.47%;
      font-size: 300%;
    }
    
    
    .listHome .subpagesList li {
      max-width: 283px !important;
      width: 29.7895%;
      padding-left: 1.5789%;
      padding-right: 1.5789%;
      margin-right: 0.5263%;
    }
    
    
    #column {
      max-width: 309px !important;
      width: 32.5263%;
      margin: 0.5263%;
    }
    
    #content {
      max-width: 626px !important;
      width: 65.8947%;
    }
    
    #page {
      width: 100% !important;
      overflow: hidden !important;
    }
    
    #products {
      margin-left: 1.6234%;
      overflow: hidden !important;
    }
    
    #products .list > li {
      max-width: 190px !important;
      width: 31.3531% !important;
      margin-left: 2.8052% !important;
    }
    
    #products li.column1 {
      margin-left: 0 !important;
    }

    #page .subpagesList li {
      width: 93.5065% !important;
      padding: 2.435% !important;
      margin-left: 1.6234% !important;
    }
    
    #content {
      background: none !important;
    }
    
    #product {
      max-width: 605px !important;
      width: 96.6453% !important;
      padding-left: 1.5974% !important;
      padding-right: 1.5974% !important;
    }
    
    #product > h1, #page > h1 {
      background: #3A3A3A url("http://www.kominki-elektryczne.pl/templates/webstyle002/img/img_25.jpg") repeat-x left top;
    }
    
    .order #content {
      max-width: 940px !important;
      width: 98.95% !important;
      margin-left: 0.5263% !important;
      margin-right: 0.5263% !important;
    }
    
    .order #page, #order table {
      max-width: 920px !important;
      width: 97.8723% !important;
      padding-left: 1.0638% !important;
      padding-right: 1.0638% !important;
    }
    
    #foot {
      height: auto !important;
    }
  }
  
    @media (max-width: 860px) {
      /*#skiplinks:before {content: '860px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
      
      #products .list > li {
        max-width: 268px !important;
        width: 48.5974% !important;
        clear: none !important;
      }
      
      #products .list > li.i1 {
        clear: both !important;
        margin-left: 0 !important;
      }
    }
  
    @media (max-width: 689px) {
      /*#skiplinks:before {content: '689px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
      
      .listHome .subpagesList {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        
      }
      .listHome .subpagesList li {
        min-width: 195px;
        max-width: 100%;
        flex-grow: 1;
      }
    }

    @media (max-width: 672px) {
      /*#skiplinks:before {content: '672px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
      
      #head4 {
        display: none !important;
      }
      
      .listHome {
        background: #dedddd url("img/bg.jpg") repeat-x scroll center top;
      }
      
      .listHome .subpagesList li.lL {
        display: none !important;
      }
      
      #products .list li {
		padding: 0;
      }
      
      #column, #content {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
      }
      
      #menu3 + p {
        display: none !important;
      }
      
      #menu3 .sub1 {
        margin-top: 5px !important;
      }
      
      #menu3 .sub1 li {
        padding: 4px 0 4px 24px !important;
      }
    }
  
    @media (max-width: 538px) {
      /*#skiplinks:before {content: '538px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
      
      .listHome, #searchForm, #menu3 .type {
        display: none !important;
      }
      
      #product #box, #imagesList1, #imagesList2 {
        float: none !important;
        clear: both !important;
      }
      
      #page h1, div.sort, #products #pagesBefore.pages {
        display: none !important;
      }
      
      #header {
        
      }
      
      #head1 {
        height: 100%;
        float: right !important;
        padding: 5.5% 0;
      }
      
      #head2 {
        
      }

      #logo #title p {
        display: none !important;
      }
      
      #head1 .container {
        float: none !important;
      }
      
      #head1 #kontakt {
        float: left;
        display: block;
        height: 30px;
      }
      
      #head2 .container {
        background: none !important;
      }
      
      #menu1 {
        float: right !important;
        margin: 0 15px;
      }
      
      #menu1 ul, #menu1 li {
        margin: 0 !important;
        padding: 0 !important;
      }
      
      #menu1 li.lBasket {
        background: none !important;
        min-height: 30px;
      }
      
      #menu1 li.lBasket a {
        background: url('img/koszyk.png') no-repeat center;
        display: block;
        height: 30px;
        width: 30px;
        text-indent: -9999px;
        padding: 0 !important;
      }
      
      #menu1 li.lBasket span {
        display: none !important;
      }
    }
  
    @media (max-width: 507px) {
      /*#skiplinks:before {content: '507px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/

    }
  
    @media (max-width: 433px) {
      /*#skiplinks:before {content: '433px';color: yellow;font-size: 30px;position: absolute;top: 0;left: 0;z-index:9999;}*/
      
      #products {
        margin-left: 0 !important;
      }
      
      #products .list > li {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
      }
      
      #orderedProducts td, #orderedProducts th {
        padding: 7px 4px !important;
      }
      
      #orderedProducts tfoot tr.buttons td.nextStep {
        text-align: center !important;
      }
      
      #foot #copy {
        line-height: 20px;
        float: none;
      }
      
      #foot #powered {
        overflow: hidden !important;
        float: none !important;
        text-align: center !important;
        margin-top: 5px !important;
      }
      
      #head1 {
        float: right !important;
        margin-left: 15px;
      }
      
      #head2 {
        /*float: left !important;*/
      }
      
      #logo {
        padding: 0 !important;
      }
      
      #logo #title a {
        float: none !important;
        width: auto !important;
      }
      
      #logo #title a span {
        max-width: 250px;
        font-size: 11px;
      }
      
      #logo #title p {
        display: none !important;
      }
    }