																											
*{
	margin: 0;
	padding: 0;
	border:0;
	font-family: 'Lobster';
}

@font-face {
  font-family: 'Alexander';
  src: local('Alexander'), url('font/alexander.woff2') format('woff2'), url('font/alexander.woff') format('woff'), url('font/alexander.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Lobster';
  src: local('Lobster'), url('font/lobster.woff2') format('woff2'), url('font/lobster.woff') format('woff'), url('font/lobster.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

#header{
	background: url("images/bg/bg0.jpg");
	background-size: 250px;
	border-bottom: 2px solid #5F2D2A;
} 

.container img{
	width: 376px;
	height: 119px;
	padding-top: 10px;
	float: left;
}

.container .fon{
	width: 376px;
	height: 150px;
	float: right;
	font-size: 30px;
	color: #60342B;
	display: inline-block;
	box-sizing: border-box;
	padding-top: 30px;
}

#section1{
	background: #60605E;
	min-height: 430px;
}

#section1{
	overflow-y: hidden;
	overflow-x:hidden; 
}

.roll{
	perspective: 500px;
	perspective-origin: center -5px;
}

.container1 {
	width: 500px;
	height: 200px;
}

.container1 {
	margin: 0 auto ;
	transform-style: preserve-3d;
	animation: rotate 40s infinite linear;
}

.side {
	position: absolute;
	width: 500px;
	height: 200px;
}

.back {
	transform: translateZ(-250px);
	background-image: url("images/slaider/plet4.gif");
}

.left {
	transform: -ms-translateX(-250px) rotateY(90deg);
	-ms-transform: -ms-translateX(-250px) rotateY(90deg);
	-sand-transform:translateX(-250px) rotateY(90deg);
	transform: translateX(-250px) rotateY(90deg);
	background-image: url("images/slaider/pr1.gif");
}

.right {
	-ms-transform: -ms-translateX(250px) rotateY(90deg);
	-sand-transform:translateX(250px) rotateY(90deg);
	transform: -ms-translateX(250px) rotateY(90deg);
	transform: translateX(250px) rotateY(90deg);
	background-image: url("images/slaider/kh9.gif");
}

.top {
	width: 500px;
	height: 500px;
	transform: translateY(-250px) rotateX(90deg);
	background: #60605E;
}

.bottom {
	transform: translateY(80px) rotateX(90deg);
	background: #C9EAE5;
}

.front {
	transform: translateZ(250px);
	background-image: url("images/slaider/dt8.gif");
}

@keyframes rotate {
	100% {
	transform: rotateY(360deg);
	}
}

.menubtn{
	width: 50px;
	height: 50px;
	background-image: url(images/logo/show.png);
}

#header .menubtn{
	cursor: pointer;//курсор в виде руки
	line-height: 10px;
	text-align: center;
	font-size: 20px;
	box-sizing: border-box;
	position: absolute;
	top:1px;
	left:7px;
	border-radius: 5px;
}

@media (min-width:960px){
	.container{
	margin: 0 auto;
	width: 960px;
	}
	
	#header .container{
	height: 150px;
	}

	#header .menubtn{
	display: none;/* скрываем кнопку меню*/
	}
}

@media (max-width:959px){
	.container .fon{
	width: auto;
	height: 50px;
	font-size: 20px;
	padding-top: 0px;
	padding-right: 10px;
	}

	#section1{
	display: none;
	}

	#header .container{
	height: 50px;
	overflow: hidden;
	}

	#header .logo{
	display: none; /* скрываем лого*/
	}
	
	#menu{
	display: none;/* скрываем меню*/
	}
}

#menu ul{
	display: block;
	background:#60605E;
	height: 60px;
	position: relative;
}

#menu ul li{
	display: inline-block;
	height: 60px;
	float: left;
	box-shadow: -5px 0 2px -5px #C9C6C5;

}
#menu ul li:last-child{
	box-shadow: 5px 0 2px -5px #C9C6C5,
	-5px 0 2px -5px #C9C6C5;
}

#menu ul li a{
	display: block;
	height: 60px;
	width: 192px;
	font-family: arial;
	text-decoration: none;
	text-align: center;
}

#menu ul li a .line{
	height: 6px;
	border:2px solid black;
	background: black;
}

#menu ul li a .text{
	height: 50px;
	line-height: 50px;
	color:white;
	text-decoration: none;
}

#menu ul li a:hover .line{
	 background:#5A2D25;
}

@media (min-width:960px){
  .container{
	margin: 0 auto;
	width: 960px;
	}
}

@media (max-width:959px){
	#menu ul{
	height: auto;
	}

	#menu ul li{
	display: block;
	float: none;	
	}

	#menu ul li a{
	width: auto; 
	}
}

.main{
	display: block;
	margin:0 auto;
	width: 960px;
}

.viewimg img{
	width: 100%;
}

@media(max-width: 959px){
	.main{
		width: 100%;
	}
}
	
.content h2{
	font-size: 40px;
	padding: 10px 10px 20px 0px;
	color:#333;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
}

.content{
	display: block;
	margin:0 auto;
	width: 960px;
}

.pr .text{
	text-align:justify ;
	padding-right: 500px;
}

.pl .text{
	text-align:justify ;
	padding-left: 500px;
}

.pr,.pl{
	min-height: 350px;
}

.pl img{
	width: 404px;
	height: 250px;
	float: left;
}

.pr img{
	width: 404px;
	height: 250px;
	float: right;
}

@media(max-width: 959px){
	.content{
	width: 100%;
	}

	.pr .text,.pl .text{
	text-align:justify ;
	width: 90%;
	padding: 0px;
	margin: auto;
	}

	.pr,.pl{
min-height: 350px;
	}

	.pr img,.pl img{
	width: 90%;
	height: auto;
	display: block;
	margin: auto;
	float: none;
	}

	.content h2{
	font-size: 40px;
	padding: 10px 0px 20px 0px;
	text-align: center;
	}
}

#footer{
	background: #242424;
	width: 100%;
	height: 100px;
}

.copy{
	color: white;
	padding-left: 100px;
	padding-top:  20px;
}

#backtop{
	position: fixed;
	width: 50px;
	height: 50px;
	background: #666;
	border-radius:25px;
	right: 25px;
	bottom: 25px;
	color: white;
	line-height: 65px;
	text-align: center;
	font-family: Helvetica ,arial; 
	font-size: 50px;
	opacity: 0.7;
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	-o-user-select:none;
	cursor: pointer;
	display: none;
}

#backtop:hover{
	opacity: 1;
}
