body {
  flex-direction: row;
}




@media (max-width: 420px)
{
	figure img {
width: 280px;
  margin: auto;
  margin-top: 6vh;
}

.slider {
  font-family: sans-serif;
  /*background-image: url("../images/phone.png");*/
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  z-index: 200;
  display: block;
  overflow: hidden;
  height: 500px;
  width: 300px;
}
}

@media (min-width: 420px)
{
	figure img {
  max-width: 400px;
  min-width: 280px;
  margin: auto;
  margin-top: 6vh;
}

.slider {
  font-family: sans-serif;
  /*background-image: url("../images/phone.png");*/
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: relative;
  display: block;
  overflow: hidden;
  max-height: 760px;
  height: 100vh;
  min-width: 340px;
}
}
.slider figure {
  display: flex !important;
  position: absolute;
  opacity: 0;
  height: 100%;
  padding: 0;
}
.slider figure img {
  max-height: 630px;
  height: 100vh;
}
.slider figure.show {
  opacity: 1;
  position: static;
  transition: 0.5s opacity;
}
.slider figure.prevphoto, .slider figure.nextphoto {
  display: flex;
  position: absolute;
  bottom: 0;
  opacity: 0.5;
  height: 100px;
  width: 100px;
  border: 1px solid black;
  background-color: grey;
}
.slider figure.prevphoto img, .slider figure.nextphoto img {
  max-height: 100%;
}
.slider figure.prevphoto {
  left: 10%;
}
.slider figure.nextphoto {
  right: 10%;
}
.slider .next, .slider .prev {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  background: rgba(0, 0, 0, 1);
  height: 50px;
  width: 50px;
  top: 50%;
  z-index: 1;
  font-size: 2em;
  margin-top: -.75em;
  opacity: 1;
  user-select: none;
  font-family: Georgia;
  font-weight: 100;
}
.slider .next:hover, .slider .prev:hover {
  cursor: pointer;
  opacity: 0.5;
}
.slider .next {
  right: 0;
  padding: 10px 5px 15px 10px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}
.slider .prev {
  left: 0;
  padding: 10px 10px 15px 5px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.thumbnails {
  margin: 20px auto;
    width: 50vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}
.thumbnails img {
  margin: 10px 20px;
}
.thumbnails .activethumb {
  border: 2px solid red !important;
}

@media screen and (max-width: 750px) {
  .nextphoto, .prevphoto {
    z-index: -1;
  }
}



.container-fluid{padding-right:30px;padding-left:30px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}
.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
