-* {
  box-sizing: border-box;
}

.container {
  padding: 4em 4% 5em;
  background-color: rgba(210, 232, 105, 0.92);
}
.container:nth-child(odd) {
  background-color: rgba(47, 47, 47, 0.96);
  color: #F1F1F1;
}

.flex {
  margin: auto;
  max-width: 1200px;
}

img {
  border-style: none;
}

.flex img,
.flex div {
  margin: .2em;
  cursor: pointer;
  border-radius: 2px;
  max-width: calc(50% - 12px);
  box-shadow: 0px .1em .7em rgba(0, 0, 0, 0.2);
}

.flex div {
  display: inline-block;
  margin: 5px;
  /*max-width: calc(50% - 12px);*/
}

#local_image_container img {
  max-height: 200px;
}

.background-image {
  height: 200px;
  width: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.credit {
  padding: 25px 4%;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.9);
  color: #6D6D6D;
  font-size: .95em;
}
.credit p {
  margin: 0;
}

.vid {
  height: 200px;
  width: 323px;
  position: relative;
  background-position: center center;
  background-size: cover;
}

.vid:before, .vid:after{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transition: opacity .2s;
}

.vid:after {
  background-repeat: no-repeat;
  background-position: .7em .7em;
  opacity: .5;
  background-size: 2em;
}

.vid:before {
  background: linear-gradient(150deg, #000, transparent 70%);
  opacity: .9;
}

.vid:hover:after {
  opacity: .8;
}

.vid:hover:before {
  opacity: .85;
}

.vimeo:after {
  background-image: url('../images/d017f0c55da94af5af52d24467184b84.gif');
}

.htmlvid:after {
  background-image: url('../images/9d87bb8650c44bff9d8d97edfad8de8b.gif');
}

.youtube:after {
  background-image: url('../images/e6839c43330f4987ab7f020d733930d1.gif');
  background-size: 2.5em;
}

.text-trigger {
  color: #D4EF6A;
  text-decoration: none;
  cursor: pointer;
}
.text-trigger:hover {
  text-decoration: underline;
}

#bp_loader {
  box-shadow: none;
}

@media all and (max-width: 1076px) {
  #broken_vid {
    height: auto;
    padding-bottom: 20.2%;
  }
}

@media all and (max-width: 450px) {
.vid {
  width: 350px;
}
  .container {
    padding: 3rem 4% 4rem;
  }
  .flex div, .flex img {
    max-width: 98%;
  }
  #broken_vid {
    padding-bottom: 42%;
  }
}

@media (min-width: 1700px) {
}

@media (min-width: 1550px) {
  .main {
    margin: 0 auto;
  }
}
