/* Обнуление */
*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
ul,
ol,
li {
	list-style: none;
}
img {
	vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}
html,
body {
	height: 100%;
	line-height: 1;
	background: url(../images/Wood-stud-Wall-background.jpg);
	font-size: 20px;
	color: #5e0808;
	font-weight: 500;
	font-family: 'Open Sans', sans-serif;
}

.project {
	min-height: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}


/* ------------------------------------------------------------------------------------------------------------------------------------*/

.hidden__sign {
	display: none;
}

.header_button {
	width: 30px;
	color: white;
}

.extra_menu {
	display: none;
	
}

._line {
	max-width: 1170px;
	padding: 0px 15px;
	margin: 0px auto;
	box-sizing: content-box;
	background-color: #e6e3d8;
	border-radius: 30px;
	min-width: 320px;  
    flex: 1 1 auto;
    
    
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/*--------- ШАПКА ----------------------------------------------------------------------------------------------------------------------*/



.header {
	background-color: #5e0808;
}
.header_line {
	display: flex;
	min-height: 140px;
	justify-content: space-between;
	align-items: center;
	
	background-color: #5e0808;	
}

@media (max-width: 872px) {
	.header_line {
		min-height: 90px;    /*-------last change------*/
	}
}

 

.header-logo-company {
	width: 100px;
    border-radius: 10px;
    border: 3px  solid white;
}

@media (max-width: 872px) {
	.header-logo-company {
		width: 70px;           /*-------last change------*/
	}
}



.header_list {
	display: flex;
}
@media (max-width: 872px) {
	.header_list {
		flex-wrap: wrap;
		padding-left: 20px;

	}
	
}

.menu-item:not(:last-child) {
	margin: 0px 21px 0px 0px;
}
@media (max-width: 1024px) {
	.menu-item:not(:last-child) {
		margin: 0px 10px 0px 0px;
	}
}

.menu-item {
	font-size: 20px;
	font-weight: 700;
}
@media (max-width: 1024px) {
	.menu-item {
		font-size: 20px;
	}
}

@media (max-width: 872px) {
	.header_list {
		display: none;	
	}
	.hidden__sign {
		display:block; 
	}
}
/* @media (max-width: 500px) {
	.menu-item {
		font-size: 24px;
		line-height: 2;	
	}
} */
.list-item {
	color: white;
}
._correction {
	display: flex;
	align-items: center;
}
/* @media (max-width: 856px) {
	._correction {
		flex-direction: column;
		align-items: center;
		
	}
} */

@media (max-width: 872px) {
	._correction {
		display: none;
		
	}
}

.header-logo-phone {
	width: 35px;
    border-radius: 10px;	
}

@media (max-width: 1024px) {
	.header-logo-phone {
		display: none;
	}
}
._num {
	color:white;
}

@media (max-width: 1024px) {
	._num {
		font-size: 16px;
		white-space: nowrap;
	}
}

.header_phones {
	margin-right: 20px;
}
.header_phones-container {
	display: flex;
	align-items: center;
}
.header_phones-holder {
	padding-left: 5px;
}

.number_1 {
	margin-bottom: 7px;
}

.number_2 {
	margin-top: 7px;
}

.header_nets {
	margin-left: 0px;
}
@media (max-width: 856px) {
	.header_nets {
		display: flex;
		margin-bottom: -30px;
		padding-top: 10px;
	}
}
.header-logo-facebook {
	width: 30px;
    border: 3px solid #ddd4d4;
}
.header-logo-youtube {
	width: 35px;
    border: 3px solid #dac8c8;
    border-radius: 4px;
}
@media (max-width: 856px) {
	.header-logo-youtube {
		position: relative;
		bottom: 3px;
	}
}
.header_facebook-block {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}
.header_youtube-block {
	display: flex;
	align-items: center;
	margin-top: 5px;
}
.header_link-facebook, .header_link_youtube {
	color: white;
	font-size: 16px;
}
.header_facebook-logo {
	padding-right: 12px;
}
.header_youtube-logo {
	padding-right: 10px;
}
@media (max-width: 1116px) {
	.sn {
		display: none;
	}
}


/*------EXTRA_MENU---------------------------------------------------------*/
.extra_wrapper {
	display: flex;
	justify-content: center;
	
}

.extra_container {
	/* display: flex;
	flex-direction: column; */
	max-width: 500px;
	padding: 15px 135px;
	background-color: #5e0808;
	border: 1px solid black;
}



.extra_list-item {
	text-decoration: none;
	color: white;
	font-size: 24px;
	line-height: 36px;
	white-space: nowrap;
}



/*------------------MAIN-------------------------------------------------------------*/

.main-contacts {
    flex: 1 1 auto;
	display: flex;
	margin: 10px;
	justify-content: center;
	align-items: center;
    
}


.wrapper {
    max-height: 400px;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

._border {
    max-width: 750px;
	padding: 0px 15px;
	
	box-sizing: content-box;
	background-color: #e6e3d8;
	border-radius: 30px;
	min-width: 320px;  
    flex: 1 1 auto;
    border: 1px solid #5e0808;
    
}

.container {
    font-size: 20px;
    font-weight: 700;
    line-height: 2;  
	
}

.email {
    text-decoration: none;
    color: #5e0808;
}

.email:hover {
    color: rgb(17, 175, 17);
}

/*----------YOUTUBE AND FACEBOOK----------------------------------------------------------------*/



.page_facebook-block {
	position: relative;
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	
}
.page_youtube-block {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 5px;
}

.page-logo-facebook {
	width: 30px;
    border: 3px solid #ddd4d4;
	position: absolute;
	top: 3px;

}
.page-logo-youtube {
	width: 35px;
    border: 3px solid #dac8c8;
    border-radius: 4px;
	position: absolute;
	top: 3px;
}
.page_link-facebook, .page_link_youtube {
	color: #5e0808;
	font-size: 16px;
}
.page_facebook-logo {
	padding-right: 12px;
}
.page_youtube-logo {
	padding-right: 10px;
}

.page_facebook-title {
	margin-left: 50px;
}

.page_youtube-title {
	margin-left: 50px;
}

/*-------------FOOTER--------------------------------------------------------------------------------------*/

.footer_wrapper {
	background-color: #5e0808;
	
}

.-footer_container {
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	background-color: #5e0808;
}