.horizontal-gallery_wrapper {
  background: #fff;
  padding: 40px 0 10px; }

.horizontal-gallery_wrapper.inverse {
  background: #212121;
  }

.horizontal-gallery_wrapper.inverse .horizontal-gallery_inner .title {
  color: #fff; }

.horizontal-gallery_wrapper.inverse .horizontal-gallery_inner .horizontal-gallery .picture .view {
  background-color: rgba(0, 0, 0, 0.7); }

.horizontal-gallery_wrapper.inverse .horizontal-gallery_inner .horizontal-gallery .picture .view svg path {
  fill: #fff; }

.horizontal-gallery_wrapper .horizontal-gallery_inner {
  max-width: 1138px;
  margin: 0 auto;
  padding: 0 15px; }

@media screen and (max-width: 1200px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner {
    max-width: 940px; } }

@media screen and (max-width: 980px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner {
    max-width: 702px; } }

.horizontal-gallery_wrapper .horizontal-gallery_inner .title {
  text-align: center;
  margin-bottom: 40px; }

@media screen and (max-width: 800px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .title {
    font-size: 24px;
    margin-bottom: 30px; } }

@media screen and (max-width: 750px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .title {
    font-size: 32px; } }

@media screen and (max-width: 400px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .title {
    font-size: 24px;
    margin-bottom: 20px; } }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery {
  display: -moz-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center; }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture {
  position: relative;
  -webkit-box-flex: none;
  -webkit-flex: none;
  -moz-box-flex: none;
  -moz-flex: none;
  -ms-flex: none;
  flex: none;
  text-decoration: none;
  width: 260px;
  height: 186px;
  box-sizing: border-box;
  margin: 0 30px 30px 0;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear; }

@media screen and (max-width: 1200px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture {
    width: 220px;
    height: 157px;
    margin: 0 20px 20px 0; } }

@media screen and (max-width: 980px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture {
    width: 160px;
    height: 114px; } }

@media screen and (max-width: 730px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture {
    width: 210px;
    height: 150px; } }

@media screen and (max-width: 700px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture {
    width: 47%;
    height: auto; } }

@media screen and (max-width: 400px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture {
    margin: 0 10px 10px 0; } }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:nth-child(4n) {
  margin: 0 0 30px 0; }

@media screen and (max-width: 1200px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:nth-child(4n) {
    margin: 0 0 20px 0; } }

@media screen and (max-width: 730px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:nth-child(4n) {
    margin: 0 20px 20px 0; } }

@media screen and (max-width: 730px) and (min-width: 700px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:nth-child(3n) {
    margin: 0 0 20px 0; } }

@media screen and (max-width: 699px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:nth-child(even) {
    margin: 0 0 20px 0; } }

@media screen and (max-width: 400px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:nth-child(even) {
    margin: 0 0 10px 0; } }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:last-child {
  margin: 0 0 30px 0; }

@media screen and (max-width: 1200px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:last-child {
    margin: 0 0 20px 0; } }

@media screen and (max-width: 400px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:last-child {
    margin: 0 0 10px 0; } }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture:hover .view {
  opacity: 1;
  -webkit-transition: opacity 0.5s linear;
  -moz-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  -ms-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear; }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: 6px; }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture .view {
  display: inline-block;
  opacity: 0;
  -webkit-transition: opacity 0.5s linear;
  -moz-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  -ms-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px; }

@media screen and (max-width: 980px) {
  .horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture .view {
    display: none; } }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture .view:after {
  content: "";
  display: inline-block;
  width: 0;
  opacity: 0;
  height: 100%;
  vertical-align: middle; }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture .view svg {
  display: inline-block;
  vertical-align: middle; }

.horizontal-gallery_wrapper .horizontal-gallery_inner .horizontal-gallery .picture .view svg path {
  fill: #fff; }
