﻿.product-sample {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 100px;
}
.product-sample .section {
  flex-basis: calc((100% - 30px) / 4);
  margin: 0 10px 10px 0;
  height: 220px;
}
.product-sample .section:nth-child(4n) {
  margin-right: 0;
}
.product-sample .section .hdg03 {
    display: none;
}
.product-sample > hr {
    margin: 0 10px 0 0!important;
    width: 0;
    height:0;
}
.product-sample > hr +.section.fixedWrap {
    margin-right: 0;
}
.product-sample .section .col2Table {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
}
.product-sample .section .col2Table *:first-child:last-child .img-block {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.product-sample .col2Table.imgL .img-block {
  text-align: center;
  background-color: black;
}
.product-sample .col2Table.imgL .img-block, .product-sample .col2Table.imgL .img-block a,.product-sample .col2Table.imgL .img-block figure {
  
display: block;
  
height: 100%;
  
width: 100%;
}
.product-sample .section .col2Table .img-block img {
  margin-top: 0;
  height: 100%;
  width: auto;
  max-width: none;
}
.product-sample .section .col2Table .img-block .product-hover-content {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.45);
  color: white;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: 0.25s all;
  padding: 10px 10px 0;
  transform: translateY(100%);
  text-align: center;
}
.product-sample .section .col2Table .img-block .product-hover-content .model-name {
  margin-bottom: 5px!important;
}
.product-sample .section .col2Table .img-block .product-hover-content .exif-txt {
  font-size: 12px;
  color: #e0e0e0;
  margin-bottom: 5px!important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.product-sample .section .col2Table .img-block .product-hover-content .exif-txt span {
    margin: 0 4px 0;
}
.product-sample .section .col2Table .img-block .product-hover-content .photographer-name {
  font-size: 12px;
  color: #e0e0e0;
  margin-bottom: 10px!important;
}
.product-sample .section .col2Table .img-block .product-hover-content .photographer-name .instagram {
	padding-left: 20px;
	margin: 0;
	display: inline-block !important;
	background: url("../img/usr/logo_Instagram.png") left center no-repeat;
	-webkit-background-size: 14px 14px;
	background-size: 14px 14px;
}
.product-sample .section .col2Table .img-block .product-hover-content .exif-txt:last-child {
  margin-bottom: 10px!important;
}
.product-sample .section .col2Table .img-block:hover .product-hover-content {
  transform: translateY(0);
}
.product-sample .section .col2Table .img-block a:hover {
  opacity: 1;
}
.product-sample .section .col2Table > *:not(.img-block) {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}
.product-sample .section .col2Table .btnSpBlank {
  display: none;
}

.modalView {
  opacity: 0;
  visibility: hidden;
  transition: 0.2s all;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}
.modalView.is-active {
  opacity: 1;
  visibility: visible;
}

.modalWindow {
  opacity: 0;
  visibility: hidden;
  transition: 0.2s all;
}
.modalWindow.is-active {
  opacity: 1;
  visibility: visible;
  height: auto;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  max-width: none;
}
.modalWindow .modal-wrap {
  position: relative;
  z-index: 1301;
}
.modalWindow .col2Table {
  position: relative;
  display: block;
  text-align: center;
  max-height: 100vh;
}
.modalWindow .col2Table > *:not(.img-block) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s all;
}
.modalWindow .col2Table .btnSpBlank {
  display: none;
}
.modalWindow .col2Table .product-hover-content {
  position: static;
  color: white;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transition: 0.5s all;
  padding: 10px 10px 0;
  text-align: center;
}
.modalWindow .col2Table .product-hover-content .model-name {
    font-size: 16px;
    font-weight: bold;
}
.modalWindow .col2Table .product-hover-content .exif-txt {
  margin: 5px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.modalWindow .col2Table .product-hover-content .exif-txt span {
  margin: 0 5px;
}
.modalWindow .btnClose {
  position: absolute;
  width: 30px;
  height: 30px;
  top: -40px;
  right: 0;
  cursor: pointer;
}
.modalWindow .col2Table .product-hover-content .photographer-name .instagram {
	padding-left: 20px;
	margin: 0;
	display: inline-block !important;
	background: url("../img/usr/logo_Instagram.png") left center no-repeat;
	-webkit-background-size: 14px 14px;
	background-size: 14px 14px;
}
.modalWindow .btnClose::before, .modalWindow .btnClose::after {
  content: "";
  width: 3px;
  height: 100%;
  background-color: white;
  display: inline-block;
  position: absolute;
}
.modalWindow .btnClose::before {transform: rotate(45deg);}
.modalWindow .btnClose::after {transform: rotate(-45deg);}

.col2Table.imgL > div:first-child {
  padding: 0;
}
.modal-content {
  background: transparent;
}
.modal-content .img-block img {
  max-height: calc(100vh - 180px);
}