@charset "UTF-8";
/* CSS Document */

html, body { height: 100%;}

#home{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 600px;
	margin: auto;
}

ul.bxslider li {
	width: 600px;
	height: 600px;
	position: relative;
}

ul.bxslider li img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
}

#works_block{
	width:100%;
	height:100%;
}

#works_block table{
	width:100%;	
}

#works_block table tr{
	width:100%;
}

#works_block table th{
	width:20%;
	padding:5px;
}

#works_block table th img{
	width:100%;
}

#works_block table td{
	width:20%;
	padding:5px;
}

#works_block table td img{
	width:100%;
	cursor: pointer;
}

.modal_block{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	background-color:#23282B;
	z-index: 10001;
	display: none;
}

.modal_cont{
	width:800px;
	height:532px;
	top:0;
	left: 0;
	right: 0;
	bottom:0;
	margin: 80px auto auto auto;
	/*margin: auto;*/
	position: absolute;
}

.work_photo_mod{

}

.close_btn{
	width: 30px;
	height: 30px;
	position: absolute;
	top:0;
	right: 0;
	margin: 10px 10px 10px 10px;
	background-image: url(../../images/close_button-128.png);
	background-size: cover;
	z-index: 10002;
	cursor: pointer;
	opacity: 0.8;
}

.modal_cont .bx-wrapper .bx-viewport{
/*	background-color: #23282B;*/
}

.about_content{
		display: inline-block;
		vertical-align: middle;
		text-align: center;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		position: absolute;
		margin: auto;
		height: 400px;
}
.about_block{
	padding-left:25%;
	padding-right:25%;
	color: #fff;

}
.about_title{
	border-bottom: solid 1px #fff;
	text-align: left;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.about_word{
	padding:10px 0 10px 0;
	text-align: left;
}

.company_content{
		display: inline-block;
		vertical-align: middle;
		text-align: center;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		position: absolute;
		margin: auto;
		height: 700px;
}
.company_block{
	padding-left:30%;
	padding-right:30%;
}
.company_title{
/*	border-bottom: solid 1px #ccc;*/
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.company_word{
	text-align: left;
	border-bottom: dotted 2px #999;
	padding: 10px 0 10px 0;
	font-size: 0.8em;
}

.company_cel{
	display: table-cell;
}

.comtitle{
	width: 180px;
	padding-left: 20px;
}

@media screen and ( max-width:768px ) {
	.modal_cont{
		width:100%;
		height:532px;
		top:0;
		left: 0;
		right: 0;
		bottom:0;
		margin: 100px auto auto auto;
		/*margin: auto;*/
		position: absolute;
	}
	
	.about_block{
		padding-left:10%;
		padding-right:10%;
	}
	
	.company_block{
		padding-left:10%;
		padding-right:10%;
	}
}

@media screen and ( max-width:414px ) {
	#home{
		position: static;
		height: 60vh;
	}
	
	ul.bxslider li {
		height: 50vh;
	}
	
	.about_content{
		position: static;
		height: 80vh;
	}
	.about_block{
		padding-left:5%;
		padding-right:5%;
	}
	
	.company_content{
		position: static;
		height: auto;
	}
	.company_block{
		padding-left:5%;
		padding-right:5%;
	}
	
	.company_word{
		width:100%;
		display: -webkit-flex;
		display: flex;
	}
	.company_cel{
		width:68%;
	}
	.comtitle{
		width: 30%;
		padding-left: 2%;
	}
	
	.modal_fac_a_pager img,
	.modal_fac_b_pager img,
	.modal_fac_c_pager img,
	.modal_fac_d_pager img,
	
	.modal_com_a_pager img,
	.modal_com_b_pager img,
	.modal_com_c_pager img,
	.modal_com_d_pager img,
	
	.modal_hou_a_pager img,
	.modal_hou_b_pager img,
	.modal_hou_c_pager img,
	.modal_hou_d_pager img,
	.modal_hou_e_pager img,
	
	.modal_man_a_pager img,
	.modal_man_b_pager img,
	.modal_man_c_pager img,
	.modal_man_d_pager img,
	.modal_man_e_pager img,
	
	.modal_off_a_pager img,
	.modal_off_b_pager img,
	.modal_off_c_pager img,
	
	.modal_wel_a_pager img,
	.modal_wel_b_pager img,
	.modal_wel_c_pager img,
	.modal_wel_d_pager img,
	.modal_wel_e_pager img,
	.modal_wel_f_pager img {
		width:23%;
	}
}
