div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.gallerydesc {
  padding: 15px;
  text-align: center;
}
/*  Note that the following entry will deine box-sizing for ALL elements on the page !!  */
* {
  box-sizing: border-box;
}

.responsivegallery {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsivegallery {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsivegallery {
    width: 100%;
  }
}	 

div.sidebyside {
  border: 0px solid #ccc;
}

div.sidebyside:hover {
  border: 1px solid #777;
}

div.sidebyside img {
  width: 100%;
  height: auto;
}

div.sidebysidedesc {
  padding: 15px;
  text-align: left;
}
.responsivesidebyside {
  padding: 0 6px;
  float: left;
  width: 49.99999%;
}

@media only screen and (max-width: 500px) {
  .responsivesidebyside {
    width: 100%;
  }
}