html {
	overflow-x: hidden;
}

body {
	position: relative;
	overflow: hidden;
}

.shadow::after {
	content: "";
	background: #333333;
	opacity: 0.8;
	width: 100%;
    height: 100vh;
	z-index: 50;
	position: absolute;
	top: 0;
	left: 0;
	position: fixed;
}

.search-container {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 70;
	width: 100%;
}

.none {
	display: none;
}

.search-container__form {

}

#search-error {
	font-family: "Exo2-Medium", Arial, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 16px;
	color: #EB5757;
}

.main-search__form input.error {
	border-color: #EB5757;
}

.main-search__form input.error:hover, .main-search__form input.error:focus, .main-search__form input.error:active {
    border-color: #EB5757;
}



.search-container__form input {
	padding: 16px 40px 13px 16px;
	border: none;
	outline: none;
	background-color: white;
	font-family: "Exo2-Medium", Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 16px;
	line-height: 21px;
	color: #4D4D4D;
	width: 100%; 
	box-sizing: border-box; 
}

.search-container__form-close {
	position: absolute;
	width: 17px;
	height: 17px;
	z-index: 70;
	display: block;
	
	right: 20px;
	top: 25px;
	transform: translateY(-50%);
}

.search-container__form-close::after {
	content: "";
	position: absolute;
	height: 3px;
	width: 17px;
	background-color: #007BA7;
	transform: rotate(45deg);
	top: 7px;
	
}

.search-container__form-close::before {
	content: "";
	position: absolute;
	height: 3px;
	width: 17px;
	background-color: #007BA7;
	transform: rotate(-45deg);
	top: 7px;

}


.page-header {
	width: 100%;
}

.page-header__top {
	border-bottom: 1px solid rgba(153, 149, 140, 0.3);
}

.page-header__wrapper {
	padding: 13px 15px;
}

.page-header__social-link {
	display: block;
	margin-right: 20px;
}

.page-header__social-link:last-of-type {
	margin-right: 0;
} 

.page-header__social {
	display: flex;
	justify-content: flex-start;

	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
}

.page-header__social-link > svg,
.page-header__social-link > svg > path {
	fill: #99958C;
	transition: all 0.2s ease-in;
}

.page-header__social-link:hover > svg,
.page-header__social-link:hover > svg > path {
	fill: #66635D;
}

.page-header__wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.page-header__logo {
	width: 200px;
}

.page-header__logo img {
	display: block;
	width: 100%;
}

.mobile-menu__order-link {
	transition: all 0.2s ease-in;
}

.mobile-menu__order-link:hover {
	
}

.page-header__search-link {
	display: block;
}


.page-header__search-link > svg,
.page-header__search-link > svg > path {
	fill: #007BA7;
	transition: all 0.2s ease-in;
}

.page-header__search-link:hover > svg,
.page-header__search-link:hover > svg > path {
	fill: #005573;
}

.main-nav__mobile-toggle {
	position: relative;
	border: none;
	outline: none;
	width: 25px;
	height: 19px;
	padding: 0;
	background-color: transparent;
}

.main-nav__mobile-toggle::before {
	position: absolute;
    content: '';
    left: 0;
    right: 0;
    height: 3px;
    background-color: #007BA7;
    /*-webkit-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;*/
    bottom: 0;
}

.main-nav__mobile-toggle::after {
	position: absolute;
    content: '';
    left: 0;
    right: 0;
    height: 3px;
    background-color: #007BA7;
    /*-webkit-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;*/
    top: 0;
}

.main-nav__mobile-toggle > span {
	position: absolute;
    text-indent: -9999px;
    overflow: hidden;
    top: 8px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #007BA7;
}

.main-nav__mobile-wrapper {
	align-self: flex-start;
    margin-top: 9px;
}

/*стилизация моб меню*/

.mobile-menu {
	display: block;
	position: absolute;
	z-index: 50;
	top: 0;
	left: 100%;
	background-color: #007BA7;
	width: 100%;
	transition: all 0.4s ease-in;
	height: 100%; 
	max-height: 100vh;
}

.mobile-menu.opened {
	left: 0;
}

.mobile-menu__top {
	border-bottom: 1px solid rgba(153, 149, 140, 0.3);
}

.mobile-menu__top-container {
	padding: 13px 15px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; 
}

.mobile-menu__bottom {
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 25px;
}


.mobile-menu__social {
	display: flex;
	justify-content: flex-start;

	align-items: center;
	flex-wrap: wrap;
	flex-direction: row;
}

.mobile-menu__search-link > svg,
.mobile-menu__search-link > svg > path {
	fill: white;
	
}

.mobile-menu__social-link > svg,
.mobile-menu__social-link > svg > path {
	fill: white;
}

.mobile-menu__social-link {
	display: block;
	margin-right: 20px;
}

.mobile-menu__social-link:last-of-type {
	margin-right: 0;
}

.mobile-menu__close {
	display: block;
	width: 29px;
	height: 29px;
	margin-left: auto;
	border: none;
	outline: none;
	margin-top: 25px;
	background-color: #007BA7;
	position: relative;
	margin-bottom: 20px;
}

.mobile-menu__close::after {
	position: absolute;
    content: '';
    left: 0;
    right: 0;
    height: 3px;
    background-color: white;
    transform: rotate(45deg);
}

.mobile-menu__close::before {
	position: absolute;
    content: '';
    left: 0;
    right: 0;
    height: 3px;
    background-color: white;
    transform: rotate(-45deg); 
}

.mobile-menu__nav-item > a {
	font-family: "Exo2-Medium", Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 24px;
	line-height: 32px;
	text-decoration: none;
	color: #FFFFFF;
}

.mobile-menu__nav-list > li {
	margin-bottom: 15px;
	
	margin-top: 10px;
}

.mobile-menu__nav-item > a {
	border-bottom: 1px solid transparent;
	padding-left: 15px;
	padding-bottom: 5px;
	transition: all 0.2s ease-in;
}

.mobile-menu__nav-item > a:hover,
.mobile-menu__nav-item > a:active {
	border-bottom: 1px solid #E1E0DD;
}



.mobile-menu__order-link {
	font-family: "Exo2-Medium", Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 17px;
	line-height: 23px;
	
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
	border-radius: 30px;
	padding: 11px 40px;
	width: 259px;
	margin-right: auto;
	margin-left: auto;
	text-decoration: none;
	margin-top: 30px;
	margin-bottom: 35px;

}

.mobile-menu__phone-link {
	position: relative;
	display: block;
	font-family: "Exo2-Medium", Arial, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 19px;
	line-height: 25px;
	text-decoration: none;
	text-align: center;
	color: #FFFFFF;
	padding-left: 30px;
	margin-right: auto;
	margin-left: auto;
	max-width: 185px;
	box-sizing: border-box;

}

.mobile-menu__phone-link::before {
	content: "";
	position: absolute;
	width: 21px;
    height: 25px;
	background-image: url(../../img/phone.svg);
	background-repeat: no-repeat;
	top: 1px;
	left: 5px;

}

.page-header__social-text {
	display: none;
}

.main-nav__wrapper {
	display: none;
}

.main-nav__link-order {
	display: none;
}

.main-search {
	display: none;
	max-width: 1600px;
	margin-right: auto;
	margin-left: auto;
}

.main-nav__link-order {
	transition: all 0.2s ease-in;
}

.main-nav__link-order:hover {
    background-color: #007BA7;
    color: #ffffff;
}

#mobsearch-error {
	font-family: "Exo2-Regular", Arial, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 12px;
	line-height: 16px;
	color: #EB5757;
	z-index: 20;
}

.search-container__form input.error {
	border: 1px solid #EB5757;
}

@media (min-width: 1024px) {
	.page-header__wrapper {
		justify-content: flex-end;
	}

	.page-header__wrapper.page-header__wrapper-second {
		justify-content: space-between;
	}

	.page-header__search {
		display: none;
	}

	.page-header__social-text {
		display: inline;
		font-family: "Exo2-Regular", Arial, sans-serif;
		font-style: normal;
		font-weight: normal;
		font-size: 19px;
		line-height: 25px;

		color: #333333;
		margin-right: 30px;

	}

	.page-header__social-link {
		margin-right: 30px;
	}

	.page-header__social-link:first-of-type {
		margin-right: 9px;
	}

	.main-nav__mobile-wrapper {
		display: none;
	}

	.mobile-menu {
		display: none;
	}

	.main-nav__wrapper {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;

	} 

	.main-nav__list {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		flex-wrap: wrap;
	}

	.main-nav__list-item > a {
		font-family: "Exo2-Regular", Arial, sans-serif;
		font-style: normal;
		font-weight: normal;
		font-size: 14px;
		line-height: 29px;
		color: #333333;
		padding-right: 8px;
		padding-left: 8px;
		border-right:  1px solid rgba(153, 149, 140, 0.3);
		transition: all 0.2s ease-in;
		cursor: pointer;
		text-decoration: none;
	}

	.main-nav__list-item > a:hover {
		color:  #007BA7;
	}

	.main-nav__list-item:last-of-type {
		border-right:  none;
	}

	.main-nav__list-item:first-of-type {
		padding-left: 0;
		border-left: 0;
	} 

	.main-nav__list-item:hover {
		color: #007BA7;
	}

	.main-nav__list-item > a {
		text-decoration: none;
	}

	.main-nav__link-order {
		display: inline;
		font-family: "Exo2-Regular", Arial, sans-serif;
		font-style: normal;
		font-weight: normal;
		font-size: 14px;
		line-height: 27px;

		color: #007BA7;
		text-decoration: none;
		padding: 11px 25px;
		border: 2px solid #007BA7;
		border-radius: 30px;
		margin-left: 25px;
	}

	.page-header__logo {
		margin-right: 20px;
	}

	.main-search {
		display: flex;
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
		flex-wrap: wrap; 
		padding-right: 15px;
		padding-left: 15px;
		margin-top: 30px;
	}

	.main-search__form {
		position: relative;
	    display: flex;
    	flex-direction: column;
	}

	.main-search__form-submit {
		position: absolute;
		width: 30px;
		height: 30px;
		cursor: pointer;
		top: -7px;
    	right: 0px;
	}

	.main-search__form-submit > input {
		display: none;
	}

	.main-search__form-submit > svg,
	.main-search__form-submit > svg > path {
		fill: #007BA7;
		transition: all 0.2s ease-in;
	}

	.main-search__form-submit:hover > svg,
	.main-search__form-submit:hover > svg > path {
		fill: #005573;
	}

	
	.main-search__form input {
		border: none;
		border-bottom: 1px solid rgba(153, 149, 140, 0.3);
		width: 597px;
		font-family: "Exo2-Regular", Arial, sans-serif;
		font-style: normal;
		font-weight: normal;
		font-size: 18px;
		line-height: 24px;
		color: #808080;
		padding-bottom: 7px;
	}

	.main-search__form input:hover,
	.main-search__form input:focus,
	.main-search__form input:active {
		border: none;
		outline: none;
		border-bottom: 1px solid rgba(153, 149, 140, 0.3);
	}

	.main-search__form input::placeholder {
		font-family: "Exo2-Regular", Arial, sans-serif;
		font-style: normal;
		font-weight: normal;
		font-size: 18px;
		line-height: 24px;
		color: #808080;
	}



}

@media (min-width: 1200px) {
	.main-nav__list-item > a   {
		font-size: 16px;
		padding-right: 14px;
		padding-left: 14px;
	}

	.main-nav__link-order {
		font-size: 18px;
	}
}

@media (min-width: 1400px) {
	.main-nav__list-item > a   {
		font-size: 18px;
	}
}

@media (min-width: 1500px) {
	.main-nav__list-item > a  {
		padding-right: 15px;
		padding-left: 15px;
	}

	.page-header__logo {
		margin-right: 80px;
	}

	.main-nav__link-order {
		font-size: 20px;
	}

	.page-header__logo {
		width: 315px;
	}
}

@media (min-width: 1600px) {
	.page-header__wrapper {
		padding-right: 70px;
		padding-left: 70px;
		max-width: 1600px;
		margin-right: auto;
		margin-left: auto;
	}

	.page-header__wrapper.page-header__wrapper-second {
		padding-right: 70px;
		padding-left: 70px;
		max-width: 1600px;
		margin-right: auto;
		margin-left: auto;
	}

	.main-search {
		padding-right: 70px;
		padding-left: 70px;
	}

	.main-search {
		margin-top: 55px;
	}


}