.front-header {
	padding: 30px 0px;
}
.front-header .flex {
	align-items: center;
}
.contact-1 {
	background: url(img/adr-icon.png) left center no-repeat;
	padding-left: 43px;
}
.contact-1 .metro {
	font-size: 16px;
	color: #020202;
}
.contact-1 .adr {
	font-size: 20px;
	color: #925588;
}
.contact-2 a {
	color: #925588;
	font-size: 21px;
	text-decoration: none;
	padding-left: 42px;
	background: url(img/instagram-icon.png) left center no-repeat;
}
.contact-3 a {
	color: #925588;
	font-size: 33px;
	padding-left: 49px;
	text-decoration: none;
	background: url(img/phone-icon.png) left center no-repeat;
}
.header-wrapper {
	background: url(img/front-bg.jpg) center top no-repeat;
}
.header-text {
	width: 100%;
	padding: 30px 0px;
}
.header-logo {
	padding-top: 0px;
}
.header-logo > div {
	box-shadow: 0 -20px 15px -10px rgba(255, 255, 255, 0) inset, 0 190px 25px -10px rgba(255, 255, 255, 0.6) inset, 0 0 10px rgba(0, 0, 0, 0);
	padding: 150px 0px 10px;
}
.header-logo img {
	max-width: 385px;
}
.photo-2 {
	padding-top: 85px;
}
body .index-first-block {
  background: none;
  padding: 0px 0px 90px 0px;
}
body .services-block .item .name {
  position: relative;
  left: 0px;
  bottom: 0px;
  width: auto;
  display: flex;
  justify-content: center;
}
body .services-block .item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.term-pic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 150px;
}
.term-name {
	font-size: 20px;
	color: #382535;
	padding-top: 20px;
	text-transform: uppercase;
	text-align: center;
}
.header-2 {
	display: none;
}
.header-2 .wrap {
	align-items: center;
}


.page-image {
	width: 100%;
	background: url('img/page-image.jpg') center/cover;
}
table caption {
	background: #f7cef7;
	font-weight: 500;
	font-size: 24px;
	padding: 20px;
	font-style: normal;
	text-align: center;
	color:#621b53;
}
@media (max-width: 1100px) {
    table caption {
	    font-size: 20px;
    }
    .service-page .name {
	    font-size: 24px;
    }
    .service-page .table table tbody tr ul {
	    margin: 0;
	    padding: 0;
    }
    .service-page .table table tbody tr ul li:last-child {
	    margin: 0;
    }
}
.tabs .item,
.services-block .item {
	position: relative;
}
.services-block .item a.more,
.tabs .item a.more {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 0px;
	width: 100%;
	height: 100%
}
.services-block .item a.more:hover,
.tabs .item a.more:hover {
	background: none !important;
}
.masters-page .video,
.works-block .video article.media--type-remote-video {
	width: 100%;
	max-width: 626px;
}
.works-block .video.other article.media--type-remote-video {
	max-width: unset;
	min-width: unset;
}
.works-block .video img {
	height: auto;
}
.video-youtube {
	display: block !important;
    height: 0;
    position: relative;
    padding-bottom: 56.25% !important;
}
.video-youtube iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.service-page .banner p {
	margin: 0px;
}
.index-catalog .consult form input[type="tel"] {
    width: 100%;
    height: 46px;
    margin-bottom: 10px;
    padding: 0 20px;
    font-size: 18px;
    font-style: italic;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    background: #cad0d5;
}

form .form-item {
/*	margin: 0px;*/
}
.form form,
.form-2 form {
	width: 100% !important;
}
.form,
.form-2 {
	width: 35%;
}
.messages--error {
	display: none !important;
}
.button, .image-button {
    margin-right: 0px;
    margin-left: 0px;
}
.videos-block p {
	margin-top: 20px;
}
.image img {
	height: auto;
	position: relative;
	z-index: 10;
}
.index-catalog .tab-content .image {
    text-align: center;
    margin-bottom: 30px;
    max-width: 400px;
    height: auto;
    margin: 30px auto 30px auto;
    position: relative;
}
.index-catalog .tab-content .image:before {
	display: block;
	content: '';
	border: 10px solid #ededed;
	position: absolute;
	top: -30px;
	left: -30px;
	width: 100%;
	height: 100%;
}

@media all and (min-width: 1200px) {
.masters-page .video,
.works-block .video article.media--type-remote-video {
	min-width: 626px;
}
	
}

@media all and (max-width: 1489px) {
.photo-1,
.photo-2 {
	max-width: 300px;
}
.photo-1 img,
.photo-2 img {
	max-width: 100%;
	height: auto;
}

}

@media all and (max-width: 1200px) {
.masters-page .video,
.works-block .video article.media--type-remote-video {
	min-width: 387px;
}
.form {
	width: 39%;
}
.form-2 {
	width: 100%;
}
.photo-1,
.photo-2 {
	max-width: 250px;
}
.header-logo img {
	max-width: 250px;
	height: auto;
}

}

@media all and (max-width: 960px) {
.masters-page .video,
.works-block .video article.media--type-remote-video {
	min-width: 387px;
}
.form {
	width: 100%;
}
.header-2 {
	display: block;
}
.front-header {
	display: none;
}
.header-2 .menu-button {
	order: 2;
	margin: 0px;
}
.photo-1, .photo-2 {
	max-width: 200px;
}
.header-logo {
	padding-top: 30px;
}
.photo-2 {
	padding-top: 0px;
}

}

@media all and (max-width: 767px) {
.masters-page .video,
.works-block .video article.media--type-remote-video {
	width: 100%;
	min-width: unset;
}
.form button,
.form-2 button {
	text-align: center;
}
.contact-3 a {
	font-size: 26px;
	padding-left: 40px;
	background-size: 20px;
}
.header-logo {
	order: 1;
}
.photo-1 {
	order: 2;
}
.photo-2 {
	order: 3;
}
.header-text .wrap {
	justify-content: center;
	flex-direction: column;
	align-items: center;
}
.header-wrapper {
	background: url(img/mobile-bg.png) center top no-repeat;
	background-size: 440px !important;
}
.photo-1 {
	padding: 25px 0px;
}
.header-logo {
	padding-top: 0px;
}

}
