.gallery_thumbs_content {
  background-color: #fff;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}

.gallery_image_thumbs {
  flex: 0 1 calc(25%);
  background-color: #fff;
}
.gallery_image_thumbs img {
    width: 100%;
    vertical-align: middle;
}
.gallery_image_link {
    border: none;
}
.gallery_image_im {
    position: relative;
    border: #cfcfcf 1px solid;
    overflow: hidden;
    background-color: #fff;
    margin: 10px;
}
.gallery_image_im:hover {
  cursor: pointer;
  transform: scale(1.04);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 0 0 3px #777;
  margin: 10px;
}
.gallery_image_title {
    position: absolute;
    bottom: 0px;
    height: 40px;
    width: 100%;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.75);
    color: #000;
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery_content_title {
    background-color: #ccc;
    margin-bottom: 20px;
    margin-top: 20px;
}

.gallery_content_title h1 {
    font-size: 60px;
    font-weight: normal;
    font-family: bebasneue;
    text-transform: uppercase;
    padding: 0px;
    margin: 0px;
    padding-left: 10px;
}

.gallery_content {
    text-align: center;
}
.gallery_content_image {
    position: relative;
    margin: 0px;
    border: #000 1px solid;
}

.gallery_content_image img {
    height: 100%;
    width: 100%;
    border: 0px;
    vertical-align: middle;
}

.gallery_content_image_title {
    color: #000;
}

.gallery_content_image_title h2 {
    padding: 0px;
    margin: 0px;
    font-size: 29px;
    font-weight: normal;
    padding-bottom: 6px;
    text-align: center;
    padding-bottom: 30px;
    padding-top: 15px;
}

.gallery_content_image_next {
    position: absolute;
    top: 0px;
    left: 50%;
    width: 50%;
    height: 100%;
    background-image: url(../images/im_next2.png);
    background-position: right center;
    background-repeat: no-repeat;
    display: block;
    opacity: 0;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.gallery_content_image_next:hover {
    opacity: 1;
}

.gallery_content_image_prev {
    position: absolute;
    top: 0px;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url(../images/im_prev2.png);
    background-position: left center;
    background-repeat: no-repeat;
    display: block;
    opacity: 0;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.gallery_content_image_prev:hover {
    opacity: 1;
}

.gallery_image_t_box {
    overflow: auto;
    max-width: 290px;;
    margin-top: -22px;
    padding-top: 10px;
    padding-bottom: 6px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-decoration: none;
    margin-top: 17px;
    margin-bottom: 17px;
}

.gallery_image_t_prev {
    float: left;
    text-decoration: none;
}

.gallery_image_t_next {
    float: right;
    text-decoration: none;
}

.gallery_image_t_link img {
    width: 70px;
    border: solid 2px #fff;
    border-radius: 1px;
    text-decoration: none;
}

.gallery_image_t_curr {
    width: 70px;
    border: solid 2px #ff5400;
    border-radius: 1px;
    text-decoration: none;
}

.gallery_linked_box {
    font-size: 19px;
    margin-top: 30px;
}

.gallery_linked_box p {
    font-size: 24px;
    font-family: Oswald-Regular;
}

.gallery_linked_box a {
    text-decoration: none;
    line-height: 40px;
}

.gallery_linked_box a:hover {
    color: #f00;
}

.gallery_image_title_txt {
  font-family: sub_font;
}

@media screen and (min-width: 1500px) {
  .gallery_thumbs_content .gallery_image_thumbs {
    width: 20%;
  }
}

@media screen and (max-width: 1100px) {
  .gallery_image_thumbs {
    flex: 0 1 calc(33.333333%);
  }
}

@media screen and (max-width: 799px) {
.gallery_image_thumbs {
    flex: 0 1 calc(100%);
  }
  .gallery_image_thumbs {
    float: none;
    width: 100%;
  }
}
