* {
  box-sizing: border-box;
}

body {
  margin: 0 14%;
}

* {
  font-family: Balsamiq Sans;
}

.row {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create six equal columns that sits next to each other */
.column {
  -ms-flex: 16.66%;
  /* IE10 */
  flex: 16.66%;
  max-width: 16.66%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  border-color: #DCDCDC;
  border-style: solid;
  border-width: 3px;
  border-radius: 3px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 700px) {
  .column {
    -ms-flex: 33.33%;
    flex: 33.33%;
    max-width: 33.33%;
  }

  body {
    margin: 0 5px;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 500px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }

  body {
    margin: 0 5px;
  }
}

.pagination {
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  margin: 0 4px;
}

.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

#myInput {
  background-image: url('/static/image/searchicon.png');
  background-position: 10px 12px;
  background-color: rgb(255, 255, 255);
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 12px;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 25px;
}

.lightbox__inner {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-height: auto;
  background: white;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.lightbox__close {
  background: none;
  border: none;
  outline: none;
  position: absolute;
  top: -35px;
  right: -35px;
  padding: 0 10px;
  font-size: 40px;
  cursor: pointer;
  color: white;
}

.lightbox__close:hover {
  color: rgba(0, 0, 0, 0.8);
}

.container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}