/* About ***************************/


.about-page {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	margin-top: 50px;
	-ms-align-items: center;
	align-items: center;
	transition: all 0.2s linear;
}

.about-page__title {
	margin-left: 20px;
	font-size: 18px;
	padding: 15px;
}

.about-page__title p {
	font-family: 'Montserrat', sans-serif;
	text-indent: 60px;
}

.about-page__title p span {
	font-weight: bold;
	color: #456483;
}

.documents-page,
.reviews-page {
	position: relative;
	background: url(../img/about-bg-page.jpg) no-repeat center fixed;
	background-size: cover;
	width: 100%;
	z-index: 0;

}

.documents-page:before,
.reviews-page:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;
	opacity: 0.8;
	box-shadow: inset 70em -10px 20em 0px;
}

.block-page-item {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

.documents-page__img,
.reviews-page__img {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: center;
	overflow: hidden;
}

.documents-page__img img,
.reviews-page__img img {
	z-index: 999;
    display: block;
	width: 25%;
	height: auto;
	padding: 10px;
	transition: 0.5s; /* Время эффекта */
}

.documents-page__img img:hover,
.reviews-page__img img:hover {
	transform: scale(1.05);
	cursor: pointer;
	z-index: 999;
}

.block-page-item h4 {
	font-family: 'Montserrat', sans-serif;
	position: relative;
	font-size: 36px;
	color: #fff;
}

.block-page-item h4:before {
	position: absolute;
	content: "";
	left: 30%;
	bottom: -10px;
	width: 40%;
	height: 4px;
	background: #e7ef23;
}

/* Work ***************************/

.work-page {
	width: 100%;

}

.work-header {
	position: relative;
	background: url(../img/work-header.jpg) no-repeat center bottom;
	background-size: cover;
	height: 50vh;
	width: 100%;
}

.work-header.raboty {
	background: url(../img/nachi-paboty.jpg) no-repeat center;
	background-size: cover;
}

.work-header.contacts {
	background: url(../img/Kontakty.jpg) no-repeat center bottom;
}

.work-header:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 20%;
	left: 0;
	bottom: 0;
	background-color: #6e6e6e;
	opacity: 0.7;
}

.item-text.work-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4%;
	width: 100%;
	color: #fff;
}

.item-text.work-text h3 {
	font-family: 'Montserrat', sans-serif;
	padding-top: 20px;
	font-size: 36px;
	font-weight: 500;
	z-index: 3;
}

.work-content {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 50px;
	background-color: #404040;
}

.work-block {
	position: relative;
	text-align: center;
	width: 33%;
	border: 10px solid #404040;
	transition: all 0.2s linear;
}

.work-block:hover {
	border: 10px solid #303030;
}

.work-block img{
	position: relative;
	display: block;
	width: 100%;
}

.work-block:before {
	position: absolute;
	transform: rotate(-45deg);
     -webkit-text-stroke-width: 2px;
     -webkit-text-stroke-color: #f0f0f0;
	content: "OOO ВертикальПромСтрой";
	display: inline-block;
	left: 14%;
	top: 45%;
	font-size: 30px;
	font-weight: bold;
	color: #fff;
	-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	opacity: 0.5;
	z-index: 9999;
}

#magnify {
	position: relative;
}

#magnify:before {
	position: absolute;
	transform: rotate(-45deg);
     -webkit-text-stroke-width: 2px;
     -webkit-text-stroke-color: #f0f0f0;
	content: "OOO ВертикальПромСтрой";
	display: inline-block;
	left: 28%;
	top: 45%;
	font-size: 30px;
	font-weight: bold;
	color: #fff;
	-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	opacity: 0.5;
	z-index: 9999;
}

.work-block__text h4 {
	line-height: 1;
	text-shadow: #000 0 2px 4px;
}

.work-block__text p {
	line-height: 1;
	text-shadow: #000 0 2px 4px;
}

.work-block__text {
	position: absolute;
	display: none;
	animation: fade 1s linear forwards;
	top: 40%;
	left: 0;
	right: 0;
	z-index: 999;
	color: #fff;
}

.work-block span:before {
	display: block;
	animation: pulser 0.7s linear forwards;
	content: "";
	position: absolute;
	margin-top: -5px;
	left: 50%;
	width: 0;
	height: 1px;
	background: #fff;
}

@keyframes pulser {
  0% {
    width: 0;
  }
  100% {
    width: 20%;
  }
}

.work-block span:after {
	display: block;
	animation: pulsel 0.7s linear forwards;
	content: "";
	position: absolute;
	margin-top: -5px;
	right: 50%;
	width: 0;
	height: 1px;
	background: #fff;
}

@keyframes pulsel {
  0% {
    width: 0;
  }
  100% {
    width: 20%;
  }
}
 
.work-block:hover .work-block__text{
	cursor: pointer;
	display: block;
}

.work-block:hover:before {
	display: block;
}



@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* work-header services ******************/

.work-header.services {
	background: url(../img/Nashi_uslugi.jpg) no-repeat center;
	background-size: cover;
}

.services-block {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
}

.services-block__item {
	position: relative;
	width: 50%;
	padding: 20px;
}

.services-block__page {
	position: absolute;
	top: -100px;
	left: 0;
}

.services-block__item a {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 26px;
	color: #456483;
	transition: all 0.2s linear;
}

.services-block__item a:hover {
	font-size: 26px;
	color: #d92b2b;
	text-decoration: none;
}

.services-block__item p {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-style: italic;
}

.services-block__item p span {
	font-weight: bold;
	color: #456483;
}

.services-block__item ul {

}

.services-block__item ul li {
	position: relative;
	list-style: none;
	margin-top: 10px;
	font-family: 'Montserrat', sans-serif;
}

.services-block__item ul li:before {
	position: absolute;
	content: "✔";
	color: #e7ef23;
	font-size: 30px;
	left: -25px;
	top: -15px;
}

.services-block__img {
	width: 50%;
}

.services-block__img img {
	width: 100%;
	height: 100%;
}










.image__wrapper {
	width: 33.33%;
	padding: 20px;
}


/* картинка на странице */
.minimized {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
 
.minimized:hover {
	display: block;
  background: rgba(0, 0, 0, 0.4);
}
 
/* увеличенная картинка */
#magnify {
  display: none;
 
  /* position: absolute; upd: 24.10.2016 */
  position: fixed;
  width: 1000px;
  max-width: 1000px;
  height: auto;
  z-index: 9999;
}
 
#magnify img {
  width: 100%;
}
 
/* затемняющий фон */
#overlay {
  display: none;
 
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 9990;
}
 
/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
 
  background: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}
 
#close-popup i {
  width: 30px;
  height: 30px;
  background: url(https://codernote.ru/files/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}
 
@keyframes rota {
 25% { transform: rotate(360deg); }
}
 
#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.contacts-title h2 {
    font-size: 22px;
}