#sidemenu_open{
  display:none;
}

/* first breakpoint on max width*/
@media only screen and (max-width: 990px) {
  form{
    overflow:auto;
  }
  html{
    font-size:108%;
  }

  input[type="text"], input[type="email"], input[type="password"]{
    min-width:95%;
    min-height:28px;
  }
  #sidemenu_open{
    display:block;
  }
  #header{
    height:130px;
    background-size:cover;
    background-position: top left;
  }
  #page_margins{
    width:100%;
  }

  #main img{
    max-width:100%;
    height:auto;
  }
  #col1, #col2{
    width:50%;
  }
  #col1_content{
    padding-left:0;
    padding-right:10px;
    margin-top:20px;
  }
  #col2_content{
    padding-left:10px;
    padding-right:0px;
    margin-top:20px;
  }
  #col3{
    width:100%;
    clear:both;
    float:none;
    margin-left:0;
    margin-right:0;
  }
  #col3_content{
    margin-bottom:20px;
  }
  #col3 >div{
    padding-left: 12px;
    padding-right: 12px;
  }
  #cart_quantity > div{
    font-size:11px;
  }
  .productListing1_quantity_row{
    height:auto;
  }
}

#closeMenu{
  display:block;
  width:100%;
  padding:10px;
  text-align: right;
  box-sizing: border-box;
  font-size:20px;
}
#closeMenu:hover{
  text-decoration: none;
}


@media only screen and (max-width:860px){

  #header{
    height:80px;
  }
  img#companyLogo{
    top:-20px;
  }
}
@media only screen and (max-width:730px){
  #header{
    height:100px;
    background-image:url(../img/mobile-header.jpg);
  }
}



/* smartphone */
@media only screen and (max-width:590px){


  #nav{
    padding-left:0;
  }
  #nav_main a span{
    font-size:13px;
  }
  #col1, #col2{
    width:100%;
  }
  #col1_content, #col2_content{
    padding-left:0;
    padding-right:0;
  }
}



/* sidr */
.sidr {
  display: block;
  position: fixed;
  top: 0;
  height: 100%;
  z-index: 999999;
  width: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 14px;
  background: #f8f8f8;
  color: #333;
  box-shadow: 0 0 5px 5px #ebebeb inset;
}
.sidr .sidr-inner {
  padding: 0 0 15px;
}
.sidr .sidr-inner > p {
  margin-left: 15px;
  margin-right: 15px;
}
.sidr.right {
  left: auto;
  right: -260px;
}
.sidr.left {
  left: -260px;
  right: auto;
}
.sidr h1,
.sidr h2,
.sidr h3,
.sidr h4,
.sidr h5,
.sidr h6 {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RmZGZkZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dfdfdf));
  background-image: -moz-linear-gradient(#ffffff, #dfdfdf);
  background-image: -webkit-linear-gradient(#ffffff, #dfdfdf);
  background-image: linear-gradient(#ffffff, #dfdfdf);
  font-size: 11px;
  font-weight: normal;
  padding: 0 15px;
  margin: 0 0 5px;
  color: #333;
  line-height: 24px;
  box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
}
.sidr p {
  font-size: 13px;
  margin: 0 0 12px;
}
.sidr p a {
  color: rgba(51, 51, 51, 0.9);
}
.sidr > p {
  margin-left: 15px;
  margin-right: 15px;
}
.sidr ul {
  display: block;
  margin: 0 0 15px;
  padding: 0;
  border-top: 1px solid #dfdfdf;
  border-bottom: 1px solid white;
}
.sidr ul li {
  display: block;
  margin: 0;
  line-height: 48px;
  border-top: 1px solid white;
  border-bottom: 1px solid #dfdfdf;
}


.sidr ul li a,
.sidr ul li span {
  padding: 0 15px;
  display: block;
  text-decoration: none;
  color: #333;
}
.sidr ul li ul {
  border-bottom: 0;
  margin: 0;
}
.sidr ul li ul li {
  line-height: 30px;
  font-size: 13px;
}
.sidr ul li ul li:last-child {
  border-bottom: 0;
}

.sidr ul li ul li a,
.sidr ul li ul li span {
  color: rgba(51, 51, 51, 0.8);
  padding-left: 30px;
}
.sidr form {
  margin: 0 15px;
}
.sidr label {
  font-size: 13px;
}
