/* Обнуление */
*,
*::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 {     /*-------last change------*/
	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;
}

/*--------------------------------------------------------------------------------------------------------------------------------------*/

/*--------- ШАПКА ----------------------------------------------------------------------------------------------------------------------*/

.header {
	background-color: #5e0808; /* меняем  872 на 980 */
}
.header_line {
	display: flex;
	min-height: 140px;
	justify-content: space-between;
	align-items: center;
	
	background-color: #5e0808;	
}

@media (max-width: 1020px) {   /* 980 НА 1020 */
	.header_line {
		min-height: 90px;    /*-------last change------*/
	}
}

 

.header-logo-company {
	width: 100px;
    border-radius: 10px;
    border: 3px  solid white;
}

@media (max-width: 1020px) {
	.header-logo-company {
		width: 70px;           /*-------last change------*/
	}
}



.header_list {
	display: flex;
	align-items: center;
}
@media (max-width: 1020px) {
	.header_list {
		flex-wrap: wrap;
		padding-left: 20px;

	}
	
}

.menu-item:not(:last-child) {
	margin: 0px 21px 0px 0px;
}
@media (max-width: 1120px) {   /*  1024 НА 1120  */
	.menu-item:not(:last-child) {
		margin: 0px 10px 0px 0px;
	}
}

.menu-item {
	font-size: 20px;  /*  18.10 предыдущее значение 20px */
	font-weight: 700;
}

.position {
	display: flex;
	flex-direction: column;
	align-items: center;

}



@media (max-width: 1150px) {   /*   1120 на 1150  */
	.menu-item {
		font-size: 20px;
	}
}

@media (max-width: 1020px) {
	.header_list {
		display: none;	
	}
	.hidden__sign {
		display:block; 
	}
	.input-size {
		zoom: 1.5;
	}
}

.list-item {
	color: white;
}
._correction {
	display: flex;
	align-items: center;
}


@media (max-width: 1020px) {
	._correction {
		display: none;
		
	}
}

.header-logo-phone {
	width: 35px;
    border-radius: 10px;	
}

@media (max-width: 1150px) {
	.header-logo-phone {
		display: none;
	}
}
._num {
	color:white;
}

@media (max-width: 1150px) {
	._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 {
	
	max-width: 700px;
	padding: 0px 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 {	
	margin: 30px 0px;	
}  

._hight-text {
	line-height: 24px;
}
/*----------DESCRIPTION------------------------------------------------------------------------------------*/
.main_the_title {
	min-height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	font-weight: 700;
	text-align: center;
}


.description-holder {
	display: flex;
	min-height: 370px;
	align-items: center;
}
@media (max-width: 926px) {
	.description-holder {
		min-height: 294px;
	}
}

@media (max-width: 822px) {   
	.description-holder {
		flex-direction: column-reverse;
	}
}
.description-title-holder {
	margin-top: 50px;
	min-width: 700px;
}
@media (max-width: 1116px) {
	.description-title-holder {
		min-width: 300px;
	}
}
@media (max-width: 822px) {   
	.description-title-holder {
		margin-top: 0px;
	}
}
.description-title {
	font-size: 20px;
	font-style: italic;
	padding: 30px 20px 30px 20px;
	
}

.description-title i span{
	display: inline-block;
	font-weight: 900;
	margin: 10px 0;
}

.warning {
	font-weight: 700;
}

.img-house {
	display: block;
	border-radius: 10px;
	max-width: 400px;
}
@media (max-width: 926px) {
	.img-house {
		max-width: 300px;
	}
}


/*---------TEMP ZONE---------------------------------------------------------------------------*/
.temp-zone {
	display: flex;
	padding-top: 20px;
	
}
@media (max-width: 822px) {
	.temp-zone {
		flex-direction: column;
		align-items: center;
		
	}
}


/* .temp-zone, .temp-zone-container .temp-zone-title, .temp-zone-descr-holder,.choice-zone, .temp-map {
	border: 1px solid black;
} */

.temp-map {
	margin-top: 10px;
}
.map-img {
	max-width: 400px;
	border-radius: 10px;
	display: block;
}
@media (max-width: 926px) {
	.map-img {
		max-width: 300px;
		position: relative;
		
		top: 70px;
	}
}
@media (max-width: 822px) {
	.map-img {
		top: 0px;	
	}
}
.temp-zone-title {
	min-height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	min-width: 0px;	
}



.temp-zone-descr-holder {
	font-size: 20px;
	font-style: italic;
	padding: 30px 20px 30px 20px;
}

@media (max-width: 1116px) {
	.temp-zone-descr-holder {
		padding: 20px 0;
	}
}
.needed {
	padding-left: 50px;
	color: red;
}
.change_alttext {
	display: none;
}
@media (max-width: 1116px) {
	
	._label_text {
		display: none;
	}
	.change_alttext {
		display: block;
		margin-bottom: 20px;
	}
	.temp-text {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

/* --------CONSTRUCTION-----------------------------------------------------------------------------   */

.tech_wrapper {
	
	padding-left: 150px;
}
@media (max-width: 1116px) {
	.tech_wrapper {
		padding-left: 100px;
	}
}
@media (max-width: 926px) {
	.tech_wrapper {
		padding-left: 50px;
	}
}
@media (max-width: 837px) {
	.tech_wrapper {
		padding-left: 0px;
	}
}
.checkbox-size {
	zoom: 2;
	position: relative;
    top: 3px;
}

.min-height {
	display: block;
	font-size: 20px;
	font-weight: 700;
	font-style: normal;
	margin-bottom: 50px;
	margin-top: 30px;
	padding-left: 13%;
}

.text-rec {
	font-size: 16px;
	font-weight: 700;
	font-style: italic;
}


/*----------WALL---------------------------------------------------------------------------------------*/
#walls {
	display: none;
}

#resultWall {
	display: none;
}

.text-recommendation-holder {
	font-size: 20px;
	font-style: italic;
	padding: 30px 20px 30px 20px;
	margin-bottom: 10px;
}
.wall_choice-amount-insulation {
	margin-top: 0px;
	padding-left: 50px;
}
@media (max-width: 1116px) {
	.wall_choice-amount-insulation {
		padding-left: 30px;
	}
}


.distance {
	margin-bottom: 40px;
}
/*----------------------------------------------------------------------------*/
.wall-insulation-title {
	min-height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	padding-right: 150px;
}
.wall-insulation-text-holder {
	margin-bottom: 30px;
	
}
.wall-title-indent {
	padding-left: 50px;
}
@media (max-width: 1116px) {
	.wall-title-indent {
		padding-left: 30px;
	}
}
@media (max-width: 1050px) {
	.wall-title-indent {
		padding-left: 0px;
	}
}
.choice-warning {
	font-size: 16px;
	font-style: italic;
	margin-top: 10px;
	color: red;
}
/*-----------ROOF-------------------------------------------------------------------------*/

#roof {
	display: none;
}

#resultRoof {
	display: none;
}

.roof-insulation-title {
	min-height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	padding-right: 150px;
}
.roof-title-indent {
	padding-left: 50px;
}
@media (max-width: 1116px) {
	.roof-title-indent {
		padding-left: 30px;
	}
}
@media (max-width: 1050px) {
	.roof-title-indent {
		padding-left: 0px;
	}
}
/*-----------ATTIC--------------------------------------------------------------------------*/
#attic {
	display: none;
}

#resultAttic {
	display: none;
}

.attic-insulation-title {
	min-height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	padding-right: 150px;
}
.attic-title-indent {
	padding-left: 50px;
}
@media (max-width: 1116px) {
	.attic-title-indent {
		padding-left: 30px;
	}
}
@media (max-width: 1050px) {
	.attic-title-indent {
		padding-left: 0px;
	}
}
/*------------EXECUTE------------------------------------------------------------------------*/
#resultTotal {
	display: none;
}

.execution {
	display: flex;
	flex-wrap: wrap;
	padding-left: 180px;
	padding-bottom: 30px;
	
	align-items: center;
	
}
@media (max-width: 1116px) {
	.execution {
		padding-left: 130px;
	}
}
@media (max-width: 1050px) {
	.execution {
		padding-left: 100px;
	}
}
@media (max-width: 926px) {
	.execution {
		padding-left: 50px;
	}
}
@media (max-width: 837px) {
	.execution {
		padding: 0;
		
		justify-content: center;
		align-items: center;
	}
}
.buttons {
	border-radius: 37px;
	display: flex;
	min-height: 48px;
	justify-content: center;
	align-items: center;
	letter-spacing: 0.2px;
	font-weight: 700;
	text-align: center;
	line-height: 150%;
	padding: 5px 36px;
	margin: 10px 0;
	transition: all 0.3s ease 0s;
}
.execute:not(:last-child) {
	margin: 0px 150px 0px 80px;
}
@media (max-width: 837px) {
	.execute:not(:last-child) {
		margin: 0;
	}
}
.main-block__button_orange {
	background: #ff7b47;
	color: #fff;
}
.main-block__button_orange:hover {
	background-color: #fff;
	color: #ff7b47;
}
.main-block__button_border {
	color: #0d5c63;
	border: 1px solid #0d5c63;
}
.main-block__button_border:hover {
	background-color: #0d5c63;
	color: #fff;
}
/*---------------ASIDE--------------------------------------------------------------------------------------*/
.aside {
	
	display: inline-block;
	margin-left: 150px;
	margin-bottom: 50px;
		
}
@media (max-width: 1050px) {
	.aside {
		margin-left: 0;
	}
}
.distance-result {
	margin-bottom: 25px;
}

/*-------------FOOTER--------------------------------------------------------------------------------------*/

.footer_wrapper {
	background-color: #5e0808;
	
}

.-footer_container {
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	background-color: #5e0808;
}

.footer_text {
	line-height: 22px;
}

/*---------------DECORATION----------------------------------------------------------------------------------*/
.add-focus:focus {
    box-shadow: 4px 4px 4px 2px #5e0808;
}
.choice {
    cursor: pointer;
}

/* увеличенная картинка */
#magnify {
	display: none;
	/* position: absolute; upd: 24.10.2016 */
	position: fixed;
	max-width: 600px;
	height: auto;
	z-index: 9999;
  }
  #magnify img {
	width: 100%;
  }
  /* затемняющий фон */
  #overlay {
	display: none;
	background: #000;
	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('../images/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;
  }