@media (min-width: 1200px) {
    header .valign-container {
        height: 148px; 
    }
   #mobile-switch {
      display: none; 
    }
    header .logo {
        width: 18.64407%;
        float: left;
        margin-right: 1.69492%; 
    }
    header .logo h1 {
        height: 67px; 
    }
    footer div.footlogo {
        float: left; margin-right: 1.7%; width: 18.6441%;
    }
    footer div.contact {
        float: left; width: 79.6559%;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    
    .content.container {
        overflow: auto;
    }
    #nav2, #sidebar #nav2.fixed {
        width: 175px;
    }
    #mobile-menu nav {
        width: 175px;
    }
    #products li > a {
        font-size: 12px;
    }
    header .valign-container {
        height: 148px; 
    }
    header .logo {
        width: 18.64407%;
        float: left;
        margin-right: 1.69492%; 
    }
    header .logo h1 {
        height: 67px; 
    }
    #mobile-switch {
      display: none; 
    }
    footer div.footlogo {
        float: left; margin-right: 1.7%; width: 18.6441%;
    }
    footer div.contact {
        float: left; width: 79.6559%;
    }
   /*#mobile-switch {
      padding: 0;
      width: 76.59574%;
      float: right;
      margin-left: -2.85714%; }*/
}
@media (min-width: 768px) and (max-width: 992px) {
    /*.content.container {
        overflow: auto;
    }
    #nav2, #sidebar #nav2.fixed {
        width: 172px;
    }
    #mobile-menu nav {
        width: 172px;
    }
    #products li > a {
        font-size: 12px;
    }
    #mobile-switch {
      display: none; 
    }
    
    
    header .logo {
        width: 31.42857%;
        float: left;
        margin-right: 2.85714%; 
    }
    
    #med {
        position: relative;
        left: 0; top: 0;
    }
    #mobile-menu.open {
        left: 10px;
        height: 20px;
    }*/
    .content.container {
        overflow: auto;
    }
    #nav2, #sidebar #nav2.fixed {
        width: 172px;
    }
    #mobile-menu nav {
        width: 172px;
    }
    #products li > a {
        font-size: 12px;
    }
    #topnav, #menuhead {
        display: none;
    }
    #mobile-switch {
        width: 100%;
        margin: 0 auto;
    }
    header .logo {
        width: 31.42857%;
        float: left;
        margin-right: 2.85714%; 
    }
    .quick-contact a {
        font-size: 15px;
        line-height: 15px;
        margin-right: 10px;
        padding-right: 18px;
    }
    header .valign-container {
        height: 40px;
    }
    .quick-contact {
        width: 75%;
        text-align: left;
    }
    .quick-contact span.sub {
        display: none;
    }
    .quick-contact .vertical-align {
        height: 30px; 
    }
    div#med {
        padding: 0;
    }
    
    
    #mobile-switch .icons {
        display: block; } 
    #mobile-switch .icons i {
      margin-right: 10px;
      font-size: 18px;
      color: #999999;
      display: inline-block;
      width: 32px;
      height: 32px;
      line-height: 32px;
      border-radius: 32px;
      text-align: center; }
      #mobile-switch .icons i.active {
        background: #1078fe;
        color: #fff; }
  #mobile-switch .account, #mobile-switch .cart_block {
    display: none; }
  #mobile-switch .account.open, #mobile-switch .cart_block.open, #mobile-switch .search-form.open {
    display: block;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 10;
    background: #fff;
    width: 430px;
    height: auto;
    border: 1px solid #bcbcbc;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 1, 0.6);
    -moz-box-shadow: 0 0 30px rgba(0, 0, 1, 0.6);
    box-shadow: 0 0 30px rgba(0, 0, 1, 0.6); }
    #mobile-switch .account.open strong, #mobile-switch .cart_block.open strong, #mobile-switch .search-form.open strong {
      display: block;
      width: 100%;
      font-size: 25px;
      font-weight: 300;
      height: 40px;
      line-height: 40px;
      color: #808080;
      padding: 0 20px;
      background: #ededed;
      margin-bottom: 20px; }
    #mobile-switch .account.open p, #mobile-switch .cart_block.open p, #mobile-switch .search-form.open p {
      margin-left: 20px;
      margin-right: 20px; }
    #mobile-switch .account.open .btn-group, #mobile-switch .cart_block.open .btn-group, #mobile-switch .search-form.open .btn-group {
      float: right;
      margin-top: 20px; }
  #mobile-switch .search-form.open {
    padding-bottom: 20px; }
    #mobile-switch .search-form.open input {
      border: 1px solid #ccc;
      margin: 0 0 0 20px;
      float: none;
      clear: both;
      display: block;
      width: 380px; }
    #mobile-switch .search-form.open button {
      margin: 15px 20px;
      width: auto; }
      #mobile-switch .search-form.open button span {
        display: inline; }
  #mobile-switch .cart_block.open {
    padding-bottom: 20px; }
    /* line 475,*/
    #mobile-switch .cart_block.open strong {
      margin-bottom: 0; }
    #mobile-switch .cart_block.open li {
      line-height: 38px;
      padding: 0 20px;
      border-bottom: 1px solid #e0e0e0; }
    div#nav2 {
        display: none;
    }
}
@media (max-width: 768px) {
    .content.container {
        overflow: auto;
    }
    #nav2, #sidebar #nav2.fixed {
        width: 172px;
    }
    #mobile-menu nav {
        width: 172px;
    }
    #products li > a {
        font-size: 12px;
    }
    #topnav, #menuhead {
        display: none;
    }
    #mobile-switch {
        width: 100%;
        margin: 0 auto;
    }
    header .logo {
        width: 31.42857%;
        float: left;
        margin-right: 2.85714%; 
    }
    .quick-contact a {
        font-size: 15px;
        line-height: 15px;
        margin-right: 10px;
        padding-right: 18px;
    }
    header .valign-container {
        height: 40px;
    }
    .quick-contact {
        width: 75%;
        text-align: left;
    }
    .quick-contact span.sub {
        display: none;
    }
    .quick-contact .vertical-align {
        height: 30px; 
    }
    div#med {
        padding: 0;
    }
    
    
    #mobile-switch .icons {
        display: block; } 
    #mobile-switch .icons i {
      margin-right: 10px;
      font-size: 18px;
      color: #999999;
      display: inline-block;
      width: 32px;
      height: 32px;
      line-height: 32px;
      border-radius: 32px;
      text-align: center; }
      #mobile-switch .icons i.active {
        background: #1078fe;
        color: #fff; }
  #mobile-switch .account, #mobile-switch .cart_block {
    display: none; }
  #mobile-switch .account.open, #mobile-switch .cart_block.open, #mobile-switch .search-form.open {
    display: block;
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 10;
    background: #fff;
    width: 430px;
    height: auto;
    border: 1px solid #bcbcbc;
    -webkit-box-shadow: 0 0 30px rgba(0, 0, 1, 0.6);
    -moz-box-shadow: 0 0 30px rgba(0, 0, 1, 0.6);
    box-shadow: 0 0 30px rgba(0, 0, 1, 0.6); }
    #mobile-switch .account.open strong, #mobile-switch .cart_block.open strong, #mobile-switch .search-form.open strong {
      display: block;
      width: 100%;
      font-size: 25px;
      font-weight: 300;
      height: 40px;
      line-height: 40px;
      color: #808080;
      padding: 0 20px;
      background: #ededed;
      margin-bottom: 20px; }
    #mobile-switch .account.open p, #mobile-switch .cart_block.open p, #mobile-switch .search-form.open p {
      margin-left: 20px;
      margin-right: 20px; }
    #mobile-switch .account.open .btn-group, #mobile-switch .cart_block.open .btn-group, #mobile-switch .search-form.open .btn-group {
      float: right;
      margin-top: 20px; }
  #mobile-switch .search-form.open {
    padding-bottom: 20px; }
    #mobile-switch .search-form.open input {
      border: 1px solid #ccc;
      margin: 0 0 0 20px;
      float: none;
      clear: both;
      display: block;
      width: 380px; }
    #mobile-switch .search-form.open button {
      margin: 15px 20px;
      width: auto; }
      #mobile-switch .search-form.open button span {
        display: inline; }
  #mobile-switch .cart_block.open {
    padding-bottom: 20px; }
    /* line 475,*/
    #mobile-switch .cart_block.open strong {
      margin-bottom: 0; }
    #mobile-switch .cart_block.open li {
      line-height: 38px;
      padding: 0 20px;
      border-bottom: 1px solid #e0e0e0; }
    div#nav2 {
        margin: 0 auto;
    }
    #main {
        padding: 15px 5%;
    }
}