@media only screen and ( max-width: 992px ) {
	
	h1,
	.h1 {
	  font-size: 36px;
	}
	h2,
	.h2 {
	  font-size: 30px;
	}
	h3,
	.h3 {
	  font-size: 24px;
	}
	h4,
	.h4 {
	  font-size: 18px;
	}
	h5,
	.h5 {
	  font-size: 14px;
	}
	h6,
	.h6 {
	  font-size: 12px;
	}
	p {
	  margin: 0 0 10px;
	}
	
	html, body{
		width:100%;
	}
	
	body{
		font-family:Arial, Helvetica, sans-serif;
		font-size: var( --body-font-size );
		color:#fff;
		background: url( ../img/main/992-res.jpg?w=777 ) no-repeat center center;
		background-attachment:fixed
	}
	
	a{
		color:#fff;
	}
	
	#menu_ico{
		display: flex
	}
	
	#logo-m{
		display: block
	}
	
	#menu_top {
		display: none;
		width:100%;
		/*max-width:500px;*/
		height:100vh;
		padding:20px;
		margin:0;
		overflow:auto;
		position:fixed;
		left:0;
		top:0;
		background:var( --dark-color );
		z-index:7000; 
	}
	
	body.menu-open{
		overflow:hidden
	}
	
	body.menu-open #menu_top {
		display: block
	}
	
	.show-front .ngg-gallery-thumbnail a span.magnifier{
		display:none
	}
	
	#demoGall .ngg-galleryoverview{
		padding:0 5px
	}
	
	#demoGall .ngg-galleryoverview .ngg-gallery-thumbnail-box{ 
		padding:5px
	}
	
	#demoGall .ngg-gallery-thumbnail-box .ngg-gallery-thumbnail,
	#demoGall .ngg-gallery-thumbnail-box .ngg-gallery-thumbnail a,
	#demoGall .ngg-gallery-thumbnail-box .ngg-gallery-thumbnail a img{
		width:100%;
		display:block 
	} 
	
	#demoGall .ngg-gallery-thumbnail-box .ngg-gallery-thumbnail a img{
		height:auto 
	}
	
	/* -------------------------- pane1 ---------------------------- */
	
	#navigation,
	#container #anime_from_top #close{
		display:none
	} 
	#container{
		display:block;
		position:relative;
	 
		width:100%;
		max-width:100%;
		min-height:100vh;
		
		padding:30px 15px;
 		margin:0; 
		
	}
	
	#container #anime_from_top{
		display: block;
		position: inherit !important;
		width:100%;
		max-width:100vw;
		min-height:100vh; 
		overflow:auto 
	}
	
	#container #anime_from_top #pane1,
	#container #anime_from_top #pane1 #page{
		display: block;
		width:100%;
		max-width:100vw;
		min-height:100vh; 
		overflow:auto 
	}
	
	body#bd.home #container #page{
		display:block;
		max-width:100%; 
	}
	
	body#bd.home #container #page table{
		color:#fff;
		display:block;
		width:100%;
		min-width:100%  
	}
	
	body#bd.home #container #page table:before,
	body#bd.home #container #page table:after {
	  display: table;
	  content: " ";
	  clear:both
	}
 	
	body#bd.home #page table tr td{ 
		float:left;
		width:100% 
	}
	
	body#bd.home #page table tr td, .cnt{
		line-height:1.4
	}
	
	#page table.klk tbody tr:nth-child(2) td{
		max-width:33.333% 
	}
	
 	#conForm {
		padding: 10px;
		margin: auto;
		width: 100%;
		/*background: fixed url(../img/ask.png) no-repeat right 60%;*/
	}
			 
	input,
	textarea{
		width:100%
	}
	
	input:focus,
	textarea:focus{
		background:#fff;
		color:var( --dark-color )
	}
	
	input[type=text],
	input[type=email]{ 
	   padding:10px 6px
	}
	
	input[type=submit]{
		padding:0 30px;
		height: 50px;
		line-height:50px;
		background: url(../img/imp_bg.gif);
	}
 
	#contdemoGall .ngg-navigation {
		margin-top:30px
	}
	
	#changebg #lipo_fb { 
		margin:0 0 10px -10px;
	}
	
	#menu_top #changebg #lipo_fb svg{
		display:block
	}
	
	h2.tel > a{
		display:block;
		line-height:1.5
	}
	
	/* ------------------------------------------ */
	#menu_top ul li a{
		font-size: 30px;
		line-height: 37px;
  		height: 37px;
	}
	
	#menu_top ul li ul li a {
		font-size:14px
	}
	
	#menu_top ul li:not(.lang-item) a:before{ 
		height:28px
	}
	
	#lang-menu.lng-menu li.lang-item a{
		font-size: 20px;
		line-height: 25px;
		height: 25px;
	}
	
}