.square-photo-blocks_wrapper {
  background: #fff;
  padding: 40px 0; }

@media screen and (max-width: 450px) {
  .square-photo-blocks_wrapper {
    padding: 40px 0 30px 0; } }

.square-photo-blocks_wrapper.inverse {
  background: #212121;
  }

.square-photo-blocks_wrapper.inverse .square-photo-blocks_inner .title {
  color: #fff; }

@media screen and (min-width: 950px) {
  .square-photo-blocks_wrapper.inverse .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap:hover .square-photo-blocks_picture {
    -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }

  .square-photo-blocks_wrapper.inverse .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap:hover .shadow {
    background: rgba(0, 0, 0, 0.7); } }

.square-photo-blocks_wrapper.inverse .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow {
  background: rgba(0, 0, 0, 0.4); }

.square-photo-blocks_wrapper.inverse .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .square-photo-blocks_text {
  color: #fff; }

.square-photo-blocks_wrapper .square-photo-blocks_inner {
  max-width: 1138px;
  margin: 0 auto;
  padding: 0 15px; }

@media screen and (max-width: 1200px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner {
    max-width: 940px; } }

@media screen and (max-width: 750px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner {
    padding: 0; } }

.square-photo-blocks_wrapper .square-photo-blocks_inner .title {
  text-align: center;
  margin-bottom: 40px; }

@media screen and (max-width: 1200px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .title {
    margin-bottom: 30px; } }

@media screen and (max-width: 950px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .title {
    font-size: 24px !important; } }

@media screen and (max-width: 750px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .title {
    font-size: 32px !important;
    padding: 0 20px; } }

@media screen and (max-width: 450px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .title {
    font-size: 24px !important;
    padding: 0 10px;
    margin-bottom: 20px; } }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks {
  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; }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap {
  -webkit-box-flex: none;
  -webkit-flex: none;
  -moz-box-flex: none;
  -moz-flex: none;
  -ms-flex: none;
  flex: none;
  text-decoration: none;
  width: 375px;
  height: 281px;
  box-sizing: border-box; }

@media screen and (max-width: 1200px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap {
    width: 300px;
    height: 220px; } }

@media screen and (max-width: 950px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap {
    width: 350px;
    height: 250px; } }

@media screen and (max-width: 750px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap {
    width: 480px;
    height: 360px; } }

@media screen and (max-width: 500px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap {
    width: 100%;
    height: 240px; } }

@media screen and (max-width: 370px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap {
    height: 200px; } }

@media screen and (min-width: 950px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap:hover .square-photo-blocks_picture {
    z-index: 99;
    -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }

  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap:hover .shadow {
    background: rgba(0, 0, 0, 0.7); } }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .square-photo-blocks_picture {
  display: inline-block;
  font-size: 0;
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out; }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap img {
  width: 100%;
  height: 100%;
  box-sizing: border-box; }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  padding: 14px 20px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  transition: all 0.2s linear; }

@media screen and (max-width: 750px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow {
    padding: 20px; } }

@media screen and (max-width: 400px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow {
    padding: 10px; } }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  vertical-align: bottom; }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .square-photo-blocks_text {
  display: inline-block;
  vertical-align: bottom;
  color: #fff;
  -moz-text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  -webkit-text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }

.square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .text .ui-text-shadow-copy-1 {
  visibility: visible;
  color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40) progid:DXImageTransform.Microsoft.Blur(makeShadow=false,pixelRadius=6);
  left: -6;
  top: -5px; }

.ie-8 .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .text .ui-text-shadow-copy-1 {
  top: -4px; }

@media screen and (max-width: 1200px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .text {
    font-size: 20px; } }

@media screen and (max-width: 950px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .text {
    font-size: 22px; } }

@media screen and (max-width: 750px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .text {
    font-size: 28px; } }

@media screen and (max-width: 450px) {
  .square-photo-blocks_wrapper .square-photo-blocks_inner .square-photo-blocks .square-photo-blocks_picture-wrap .shadow .text {
    font-size: 22px; } }
