﻿@import url(reset.css);
@import url('../../css.css');

body *{
	font-family: 'Roboto', sans-serif;
}

a{
	text-decoration: none;
}

#header_links li:nth-child(3) a{
	color: white;
}

.text span{
	font-weight: 400;
}

/*Yaks*/
#About_yak, #Price_yak, #Print_yak, #Lekala_yak, #Material_yak{
	position: absolute;
	top: -72px;
}

/*MAIN*/

#Main{
	min-height: 1000px;
}

#First{
	height: 600px;
	background: #ebebeb;
	padding-top: 72px;
}

#First img{
	float: right;
	width: 405px;
}

#First_text{
	width: 50%;
	height: 100%;
	position: relative;
	float: left;
}

h1{
	margin-top: 15%;
	font-size: 72px;
	font-weight: bold;
	line-height: 88px;
	position: relative;
}

#First h2{
	font-weight: 300;
	font-size: 26px;
	padding-top: 10px;
}

#First p{
	padding-top: 20px;
}

#First p a{
	text-decoration: underline;
	color: #878787;
	padding-right: 20px;
	font-weight: 300;
}

#First_button{
	position: absolute;
	bottom: 70px;
	font-weight: 300;
	font-size: 18px;
	border: 2px solid #ffce00;
	border-radius: 25px;
	line-height: 45px;
	padding: 0 30px;
	cursor: pointer;
	transition: 0.3s;
}

#First_button:hover{
	background: #ffce00;
}


/*About*/

#About{
	margin-top: 72px;
}

.Types{
	position: relative;
	display: flex;
	margin: 0 auto 50px;
	height: 375px;
}

.Types::after{
	content: '';
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: #dee2e6;
}

#Types_list{
	margin-top: 30px;
	border-bottom: 1px solid #dee2e6;
	overflow: hidden;
}

#Types_list li{
	float: left;
	margin-right: 40px;
	font-size: 18px;
	cursor: pointer;
	position: relative;
	line-height: 45px;
	font-weight: 300;
}

#Types_list li:nth-child(1){
	font-weight: 400;
	border-bottom: 2px solid black;
}

.type{
	text-align: center;
	flex: 1;
	width: 25%;
}

.type h2{
	font-size: 18px;
	margin-top: 15px;
	font-weight: 300;
}

/*primery-box*/

.primery-box{
	display: flex;
	flex-wrap: wrap;
	margin-top: 30px;
	justify-content: space-between;
}

.primery-box img{
	width: 22%;
	margin-bottom: 40px;
}

/*Price*/

#Price{
	margin-top: 72px;
}

table{
	width: 80%;
	margin: 40px auto 100px;
	text-align: center;
	position: relative;
}

table::after{
	content: '*Представленные в таблице цены — ориентировочные, точная стоимость изделия обсуждается после пошива образца или предоставления лекал.';
	font-size: 14px;
	color: #878787;
	font-weight: 300;
	position: absolute;
	left: 0;
	bottom: -25px;
}

.table_bold{
	font-weight: bold;
}

table td{
	border: 1px solid #dee2e6;
	padding: 20px 0;
}

table td:hover{
	background: #f7f7f7;
}

/*Calc*/

#Calc{
	position: relative;
	width: 600px;
	height: 190px;
	border: 2px solid #ffce00;
	margin: 0 auto;
}

#Calc h2{
	font-size: 22px;
	text-align: center;
	padding: 30px 0 20px;
}

#Calc p{
	font-weight: 300;
}

#Calc_val{
	position: absolute;
	left: 30px;
	top: 130px;
}

#Calc_price{
	position: absolute;
	right: 30px;
	top: 130px;
}

#range{
	-webkit-appearance: none;
	outline: none;
	background: #e0dfdd;
	width: 90%;
	height: 2px;
	position: relative;
	left: 50%;
	margin-top: 25px;
	transform: translateX(-50%);
}

#range::-webkit-slider-thumb{
-webkit-appearance: none;
background: #ffce00;
width: 15px;
height: 15px;
border-radius: 50%;
cursor: pointer;
}

#range::-moz-range-track{
  -moz-appearance: none;
  background: #ffce00;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  cursor: pointer;
}

#range::-moz-range-thumb{
-moz-appearance: none;
background: #ffce00;
width: 15px;
height: 15px;
border-radius: 50%;
cursor: pointer;
}

/*Print*/

#Print{
	margin-top: 72px;
	margin-bottom: 72px;
}

#Print_box{
	margin-top: 50px;
}

#Print_text{
	width: 45%;
	margin-right: 5%;
	float: left;
}

#Print_img{
	margin-top: 20px;
	width: 50%;
	float: left;
}

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

.Print{
	border-bottom: 1px solid #dee2e6;
}

.Print h2{
	font-size: 22px;
	padding: 20px 0;
	font-weight: 300;
	cursor: pointer;
}

.Print_button{
	font-size: 22px;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 18px;
	border-radius: 50%;
	border: 1px solid #878787;
	color: #878787;
	float: left;
	margin-right: 10px;
	transition: 0.3s;
}

/*Size*/

#Size{
	padding-top: 72px;
	padding-bottom: 72px;
	background: #f4f4f4;
}

#Size_tabs{
	margin: 30px 0;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	left: 50%;
	transform: translateX(-50%);
}

.size_tab{
	line-height: 60px;
	margin-right: 20px;
	padding: 0 20px 0 50px;
	background: white;
	cursor: pointer;
	font-weight: 600;
	position: relative;
}

.size_tab img{
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 35px
}

.Size_table{
	width: 100%;
	display: flex;
	justify-content: center;
}

.size_table_img{
	text-align: center;
	background: white;
	width: 304px;
	position: relative;
}

.size_table_img img{
	max-width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	position: absolute;
}

.size_table_column{
	flex: 1;
	padding: 48px 40px;
	font-size: 17px;
	text-align: center;
	background: white;
	font-weight: 300;
}

.size_table_cell{
	margin-bottom: 20px;
}

.cell_bold{
	font-weight: 600;
}

#Size_crumbs{
	margin-top: 30px;
	font-size: 14px;
	color: gray;
	display: flex;
	font-weight: 300;
	flex-wrap: wrap;
}

#Size_crumbs p{
	margin: 0 40px 10px 0;
}

#Size_crumbs span{
	font-weight: 600;
}

/*Lekala*/

#Lekala{
	margin-bottom: 72px;
}

#Lekala_text{
	margin-top: 50px;
	width: 50%;
	float: left;
}

#Lekala_img{
	width: 50%;
	float: left;
	text-align: center;
}

#Lekala_img img{
	margin-top: 70px;
	max-width: 100%;
}

/*Materials*/

#Materials{
	margin-bottom: 72px;
}

/*Colors_box*/

#Colors_tab{
	width: 79%;
	margin: 50px auto;
	overflow: hidden;
	border-bottom: 1px solid #e4e4e4;
}

.color_tab{
	float: left;
	margin-right: 50px;
	cursor: pointer;
	font-size: 12px;
	line-height: 50px;
	font-weight: 300;
	text-transform: uppercase;
}

.Colors_box{
	display: flex;
	width: 79%;
	margin: 40px auto;
	flex-wrap: wrap;
}

.color{
	width: 4.5em;
	height: 4.5em;
	border-radius: 50%;

	margin: 0 .928rem 2rem;
	position: relative;
	cursor: pointer;
	color: white;
}

.color__big{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: inherit;
	width: 6.5em;
	height: 6.5em;
	text-align: center;
	line-height: 6.5em;
	border-radius: 50%;
	display: none;
	font-weight: bold;
	font-size: 16px;
	transition: 0.3s;
}

.color:hover .color__big{
	display: block;
}

.color_text{
	width: 77%;
	font-size: 16px;
	font-weight: 300;
	margin: 0 auto;
	color: gray;
}

/*Materials_box*/

#Materials_box{
	display: flex;
	margin: 40px 0;
}

.Material{
	flex: 1;
	width: 25%;
	text-align: center;
}

.Material h2{
	font-weight: 300;
	color: #878787;
	padding: 10px 0;
}

/*FAQ*/

#FAQ{
	margin-bottom: 72px;
}

#FAQ_box{
	width: 70%;
	margin: 50px auto 0;
}

.FAQ{
	position: relative;
	border-bottom: 1px solid #dee2e6;
	transition: 0.4s;
}

.FAQ::after{
	content: '+';
	position: absolute;
	top: 35px;
	right: 0;
	font-size: 18px;
	font-weight: 300;
	color: #dee2e6;
}

.FAQ_quest{
	font-size: 22px;
	font-weight: 300;
	line-height: 70px;
	cursor: pointer;
}

.answ{
	font-size: 18px;
	font-weight: 300;
	line-height: 28px;
	color: #878787;
	padding-bottom: 20px;
	display: none;
}

/*More*/

#More{
	margin-bottom: 72px;
}

#More_box{
	display: flex;
	margin: 40px 0;
}

.More{
	flex: 1;
	width: 33%;
	text-align: center;
}

.More h2{
	font-weight: 300;
	padding: 15px 0;
	color: black;
}

/*img:hover*/

.lzy{
	transition: 1s;
}

.lzy:hover{
	transform: rotateY(-180deg);
}

.size_table_img .lzy:hover{
	transform: translate(-50%, -50%);
}

@media screen and (max-width: 1300px){
	#First p{
		line-height: 25px;
	}
	table::after{
		bottom: -35px;
	}
	.Print h2{
		line-height: 30px;
	}
	.Print_button{
		margin-top: 3px;
	}
	.Material img{
		width: 90%;
	}
	.More img{
		width: 80%;
	}
}

@media screen and (max-width: 1000px){
	.size_table_column{
		padding: 5px;
		font-size: 12px;
	}
	.size_table_cell{
		min-width: 43px;
	}
	.size_table_img{
		width: auto;
	}
	.size_tab{
		flex: 1;
		line-height: 20px;
		padding: 20px;
		text-align: center;
	}
	.size_tab img {
		width: 0;
	}
	#Colors_tab{
		display: flex;
	}
	.color_tab{
		line-height: 26px;
		padding-bottom: 10px;
		flex: 1;
		font-size: 14px;
	}

	.color_text{
		line-height: 28px;
	}
	.color{
		width: 50px;
		height: 50px;
		margin: 0 8px 2em;
	}
	.color__big{
		width: 70px;
		height: 70px;
		line-height: 70px;
	}
	#First{
		height: auto;
		text-align: center;
	}
	#First_text{
		width: 100%;
		height: auto;
	}
	h1{
		font-size: 45px;
		line-height: 55px;
	}
	#First_button{
		position: relative;
		margin: 30px auto;
		width: 100px;
		bottom: unset;
	}
	#First img{
		text-align: center;
		width: 250px;
		float: none;
	}
	#Types_list li{
		margin-right: 20px;
	}
	.Types{
		height: auto;
	}
	.type img{
		max-width: 100%;
	}
	.type:nth-child(3), .type:nth-child(4){
		display: none;
	}
	.primery-box img{
		width: 48%;
		height: 48vw;
		margin-bottom: 20px;
	}
	table{
		width: 100%;
	}
	table::after{
		display: none;
	}
	#Calc{
		width: 95%;
	}
	#Calc_val, #Calc_price{
		position: relative;
		top: unset;
		left: unset;
		right: unset;
		text-align: center;
		padding-top: 15px;
	}
	#Print_text{
		width: 100%;
		float: none;
	}
	#Print_img{
		width: 100%;
		float: none;
	}
	#Lekala_text{
		width: 100%;
		float: none;
	}
	#Lekala_img{
		width: 100%;
		float: none;
		text-align: center;
	}
	#Materials_box{
	  flex-wrap: wrap;
		width: 100%;
	}
	.Material{
		flex: none;
		width: 50%;
		margin: 10px 0;
	}
	#Lekala_text{
		margin-top: 0;
	}
	.FAQ_quest{
		line-height: 35px;
		padding: 20px 0;
	}
}
