@media screen and (max-width: 800px) {
  #content_con img {
    width: 97% !important;
    height: auto !important;
    padding-left: 1.5% !important;
    padding-right: 1.5% !important;
  }
  #content_con .text_block {
    width: 97% !important;
    height: auto !important;
    padding-left: 1.5% !important;
    padding-right: 1.5% !important;
    font-size: 22px !important;
  }
  #content_con .text_block div {
    font-size: 22px !important;
  }
  #content_con .text_block p {
    font-size: 22px !important;
  }
  .this_content_block {
    width: 97% !important;
    height: auto !important;
    padding-left: 1.5% !important;
    padding-right: 1.5% !important;
  }
  .cont_link_title {
    height: auto !important;
    font-size: 22px !important;
    padding-bottom: 2vw !important;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    font-size: 7vw !important;
    padding-top: 1vw !important;
    padding-bottom: 1vw !important;
  }
}
.text_block {
  line-height: 0.9;
}
.content_body {
  width: 100%;
  float: left;
  position: relative;
}
#content_con .text_block div {
  font-size: 100%;
  font-family: inherit;
  color: inherit;
}
#content_con .text_block span {
  font-size: 100%;
  font-family: inherit;
  color: inherit;
}
.gallery_type_1 {
  width: 100%;
  height: auto;
  float: left;
  min-height: 30vw;
  position: relative;
  padding-bottom: 12vw;
}
#foto_catalog_body {
  width: 100%;
  float: left;
  margin-top: 1vw;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* align-items:baseline; */
}
.galery_foto {
  max-width: 100%;
  min-height: 15vw;
  position: relative;
}
.foto_cover_block {
  width: 100%;
  float: left;
  margin-left: 0.5vw;
  margin-top: 1vw;
  position: relative;
  cursor: pointer;
  height: auto;
  overflow: hidden;
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}
@media screen and (max-width: 800px) {
  .foto_cover_block {
    width: 99%;
  }
}
.galery_list_foto_cover {
  width: 100%;
  height: auto;
  overflow: hidden;
  float: left;
}
@media screen and (max-width: 800px) {
  .galery_list_foto_cover {
    height: auto;
  }
}
#foto_view_window_cover {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 100%;
  display: flex;
  background: rgba(0, 0, 0, 0.7);
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#foto_view_window {
  width: auto;
  height: auto;
  float: left;
  max-height: 100vh;
  overflow: hidden;
  min-height: 30vw;
  position: relative;
  outline: 1px solid #ffffff;
  display: flex;
  background: rgba(0, 0, 0, 0.7);
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-left: 4vw;
  padding-right: 4vw;
}
.g_w_close {
  position: absolute;
  right: 0.0vw;
  top: 0.0vw;
  width: 2vw;
  height: 2vw;
  opacity: 1;
  background: #ffffff;
  cursor: pointer;
  padding: 0.5vw;
  z-index: 1004;
}
@media screen and (max-width: 800px) {
  .g_w_close {
    width: 12vw;
    height: 12vw;
  }
}
.g_w_close:hover {
  opacity: 1;
  background: #ebebeb;
}
.g_w_close:before,
.g_w_close:after {
  position: absolute;
  left: 1.5vw;
  content: ' ';
  height: 2vw;
  width: 4px;
  background-color: #fff;
}
@media screen and (max-width: 800px) {
  .g_w_close:before,
  .g_w_close:after {
    position: absolute;
    left: 6.5vw;
    content: ' ';
    height: 11vw;
    width: 6px;
    background-color: #fff;
  }
}
.g_w_close:before {
  transform: rotate(45deg);
}
.g_w_close:after {
  transform: rotate(-45deg);
}
#foto_view_loader {
  width: auto;
  float: left;
  height: auto;
}
#left_button {
  width: 4vw;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../img/left.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 3vw 3vw;
  z-index: 1002;
  cursor: pointer;
}
#right_button {
  width: 4vw;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background: url(../img/right.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 3vw 3vw;
  z-index: 1002;
  cursor: pointer;
}
.foto_block_active {
  height: 70vh;
}
@media screen and (max-width: 800px) {
  .foto_block_active {
    height: auto;
  }
}
