@media only screen and (min-height: 730px) {
	.address > div p,
	.address > div a,
	.address_mob > div p,
	.address_mob > div a,
	.menu a span,
	.menu .yclients span {
		font-size: 14px;
	}

	.menu a {
		padding: 10px 0px;
	}
}

@media only screen and (min-height: 820px) {
	.address > div p,
	.address > div a,
	.address_mob > div p,
	.address_mob > div a,
	.menu a span,
	.menu .yclients span {
		font-size: 16px;
	}

	.menu a,
	.menu .yclients {
		padding: 15px 0px;
	}
}

@media only screen and (min-height: 820px) {
	.address > div {
		padding-bottom: 20px;
	}

	.services .item h3 {
		font-size: 23px;
	}

	.services .item > div p {
		font-size: 20px;
	}

	.masters .item .desc_masters h3 {
		font-size: 33px;
	}

	.masters .item .desc_masters h3 span {
		font-size: 23px;
	}

	.masters .item .desc_masters p {
		font-size: 18px;
	}

	.news .item .desc_news h3 {
		font-size: 23px;
	}

	.news .item .desc_news p {
		font-size: 18px;
	}
}

@media only screen and (min-height: 990px) {
	.address > div p,
	.address > div a,
	.address_mob > div p,
	.address_mob > div a,
	.menu a span,
	.menu .yclients span {
		font-size: 18px;
	}

	.address > div {
		padding-bottom: 25px;
	}
}

@media only screen and (max-width: 1200px) {
	.services .item {
		width: 100%;
	}

	.services .item:nth-of-type(2) {
		padding-top: 15px;
	}

	.masters .item {
		-webkit-flex-direction: column;

		-moz-flex-direction: column;

		-ms-flex-direction: column;

		-o-flex-direction: column;

		flex-direction: column;

		-ms-align-items: center;

		align-items: center;
	}

	.masters .item .desc_masters {
		-ms-align-items: center;

		align-items: center;
	}

	.masters .item .desc_masters h3 {
		margin-top: 16px;

		text-align: center;
	}

	.masters .item .desc_masters p {
		margin-bottom: 16px;

		text-align: center;
	}

	.masters .item .foto_masters {
		padding: 0;
	}

	#foto iframe {
		padding-left: 0;
	}

	section.wrap_news {
		padding: 50px 30px;
	}

	.news {
		padding: 0px 10px;
	}

	.news .item {
		-webkit-flex-direction: column;

		-moz-flex-direction: column;

		-ms-flex-direction: column;

		-o-flex-direction: column;

		flex-direction: column;

		-ms-align-items: center;

		align-items: center;

		padding-left: 0px;

		padding-bottom: 70px;
	}

	.news .item .foto_news {
		padding: 0;
	}

	.news .item .foto_news img {
		height: auto;
	}

	.news .item .desc_news h3 {
		padding-bottom: 20px;
	}
}

/* Medium Devices, Desktops */

@media only screen and (max-width: 992px) {
	body {
		-webkit-flex-direction: column;

		-moz-flex-direction: column;

		-ms-flex-direction: column;

		-o-flex-direction: column;

		flex-direction: column;

		overflow: auto;
	}

	header {
		position: fixed;

		top: 0px;

		left: 0px;

		width: 100%;

		height: 70px;

		min-height: auto;

		-webkit-flex-direction: row;

		-moz-flex-direction: row;

		-ms-flex-direction: row;

		-o-flex-direction: row;

		flex-direction: row;

		justify-content: space-between;

		padding: 0px 40px;

		border-right: none;

		border-bottom: 6px solid #384c70;
	}

	header::after {
		content: "";

		background: #fff;

		z-index: 100;

		position: absolute;

		top: 0px;

		left: 0px;

		width: 98%;

		height: 100%;
	}

	section {
		margin: 0;

		top: 0px;

		/*            overflow: hidden;*/

		width: 100%;

		padding: 50px 30px;
	}

	section h2 {
		text-align: center;
	}

	.wrap_logo {
		z-index: 101;

		max-height: 100%;

		padding: 5px 0px;

		margin: 0;

		order: 1;

		display: flex;

		justify-content: center;
	}

	.wrap_logo img {
		max-height: 100%;
	}

	.logo_mob {
		display: block;
	}

	.address,
	.logo_desc {
		display: none;
	}

	.wrap_scroll {
		position: fixed;

		top: 0px;

		left: 0px;

		width: 100%;

		height: 100%;

		overflow: auto;

		display: none;
	}

	.head_menu_mob span {
		display: flex;
	}

	.wrap_menu_contacts {
		position: relative;

		width: 100%;

		height: 100%;

		display: -webkit-flex;

		display: -moz-flex;

		display: -ms-flex;

		display: -o-flex;

		display: flex;

		-webkit-flex-direction: column;

		-moz-flex-direction: column;

		-ms-flex-direction: column;

		-o-flex-direction: column;

		flex-direction: column;

		/*justify-content: flex-end;*/

		-ms-align-items: center;

		align-items: center;

		z-index: 11;

		min-height: 600px;
		max-height: 100%;

		padding-top: 85px;
	}

	.wrap_logo img {
		max-width: 90%;
	}

	.wrap_home_phone img {
		display: none;
	}

	.wrap_phone a {
		line-height: 20px;
	}

	.wrap_menu_contacts a {
		font-size: 20px;
	}

	.head_menu_mob,
	.address_mob {
		display: flex;
	}

	.menu a span,
	.menu .yclients span,
	.menu a span:hover,
	.menu .yclients span:hover,
	.menu a.active:hover span {
		color: #fff;
	}

	.wrap_menu_contacts .hr hr {
		width: 15%;
	}

	.wrap_soc svg path {
		fill: white;
	}

	.main {
		height: 90vh;
	}

	.main .item .main-text {
		font-size: 26px;
	}

	section.wrap_masters {
		padding: 50px 20px;
	}
}

/* Small Devices, Tablets */

@media only screen and (max-width: 768px) {
	.head_menu_mob {
		width: auto;
	}

	.head_menu_mob span,
	#masters .arrows {
		display: none;
	}

	.contacts {
		-webkit-flex-direction: column;

		-moz-flex-direction: column;

		-ms-flex-direction: column;

		-o-flex-direction: column;

		flex-direction: column;

		justify-content: center;

		justify-content: center;

		align-items: center;
	}

	.contacts > div {
		width: 100%;

		height: 400px;
	}
}

/* Extra Small Devices, Phones */

@media only screen and (max-width: 580px) {
	body .yButton {
		width: 80px !important;

		height: 80px !important;
	}

	body .yButton.bottom {
		bottom: 25px !important;
	}

	body .yButton.right {
		right: 25px !important;
	}

	body .yButton .yButtonBackground {
		width: 80px !important;

		height: 80px !important;
	}

	body .yButton .yButtonText {
		font-size: 12px !important;
	}

	.main .item .main-text {
		font-size: 18px;
	}
}

@media only screen and (max-width: 480px) {
	.main h1 {
		font-size: 26px;
	}

	.wrap_menu_contacts a {
		font-size: 18px;
	}

	.wrap_logo img {
		max-width: 100%;
	}

	section.wrap_services {
		padding: 50px 10px;
	}

	.services .item > div p {
		font-size: 14px;
	}

	.services .item > div p.head {
		padding-right: 5px;
	}

	.masters .item .desc_masters .button {
		width: 250px;

		height: 50px;
	}

	.masters .item .desc_masters .button button {
		font-size: 16px;
	}

	.masters .item .desc_masters p,
	.masters .item .desc_masters li {
		font-size: 14px;
	}

	.masters .item .foto_masters img {
		height: 320px;
	}

	.feedback_btn {
		height: 45px;
	}

	.feedback_btn span {
		font-size: 14px;
	}

	svg.animate_svg {
		width: 160px;

		height: 45px;
	}

	@keyframes size {
		from {
			width: 160px;

			height: 45px;
		}

		to {
			width: 320px;

			height: 100px;

			opacity: 0;
		}
	}

	section h2 {
		font-size: 30px;
	}

	section#foto .arrows {
		display: none;
	}

	.smail_foto {
		max-width: 200px;
	}
}

@media only screen and (max-width: 375px) {
	section {
		padding: 50px 10px;
	}
}

/* Custom, iPhone Retina */

@media only screen and (max-width: 320px) {
	section.wrap_services {
		padding: 50px 1px;
	}

	section {
		padding: 40px 5px;
	}

	.services .item div.desc_list {
		right: 0px;
	}

	.masters .item .foto_masters img {
		height: auto;
	}
}
