/*Адаптивность*/
.material-menu-button {
    display:none;
}
#eventscalendar {margin-top: -15px;}

/*
	.title-page {background: initial; height: inherit;}
	.die-top {
		background: initial;
		width: 100%;
	}
	#menu_cont
	{
		position: static;
	}
	#tmnav li.top
	{
		float: none;
	}

#tmnav li a.top_link, li a.top_link span
{
	float: none;

}
*/
@media screen and (max-width: 949px) 
{
}
/*
@media screen and (max-width: 949px) and (min-width: 768px) {
	.header {width: auto;}
	.wrap-die {background-position: -220px 0;}
	.page{
		width: 100%;
	}
	.left {
		width: auto;
		float: left;
		margin-right: 235px;
	}
	.right {
		width: 220px;
		float: right;
		margin: 0 0 0 -100%;
		display: block;
	}
	.slide, .slider, .sliderContent, .item, .slider img {width: 540px;height: 193px;}
	.slide {margin-bottom: 15px; display:block;}
	.sliderBullets {bottom: -15px;}
	.menu-top {
		margin-left: 20px;
	}
	.menu-top ul li {
		margin: 0;
		display: block;
	}
	.footer {width: 100%;}
	.soc-l {
		margin: 0 0 0 15px;
		width: 160px;
	}
	
	table[style="width: 670px;"] {width: 100%}

	table.newstable {width: auto;}
	.newstable tr {width: 33%;}
	.newstable img {max-width: 150px !important; height: inherit !important;}
	.newstable p {line-height: 15px;font-size: 11px;width: 100%;word-wrap: break-word;}
}
*/
@media screen and (max-width: 767px) 
{
	.header {position: relative;}
/*
	.cont-top {background: initial; top: unset;}
	.cont-top li.phone {position:fixed; left: 10px; bottom: 0px; height: 27px; width:140px; z-index: 999995; background: #ee1707; margin:0; border-radius: 5px 5px 0px 0px; padding-top:3px; text-align:center;}
	.cont-top li.phone a {font-size:17px;}
	.flyphone {position:fixed; left: 10px; bottom: 0px; height: 27px; width:140px; z-index: 999995; background: #ee1707; margin:0; border-radius: 5px 5px 0px 0px; padding-top:3px; text-align:center;}
	.flyphone a {font-size:17px;}
*/
	.material-menu-button {
		display:block;
		width:35px;
		height:35px;
		padding:10px 10px 0px 10px;
		background-color: #808080;
		position: relative;
		top: -50px;
		left: 470px;
		border-radius: 5px;
/*
		position: absolute;
		right: 60px;
*/
	}
	
	.material-menu-button span {
		display:block;
		width:100%;
		height:5px;
		margin-bottom:4px;
		background-color:#fff;
	}

	.material-menu-wrapper {
		padding:20px;
		box-sizing: border-box;
	}
	
	.material-menu-wrapper .menu-top {display: block !important;}
	
	.material-menu-view-mobile {
		background-color:#FFFFFF;
		-webkit-box-shadow:40px 0px 30px 0px rgba(0, 0, 0, 0.2);
		-moz-box-shadow:40px 0px 30px 0px rgba(0, 0, 0, 0.2);
		box-shadow:40px 0px 30px 0px rgba(0, 0, 0, 0.2);
	}
	.material-menu-titlebar {
		-webkit-box-shadow:0px 2px 3px 0px rgba(0, 0, 0, 0.2);
		-moz-box-shadow:0px 2px 3px 0px rgba(0, 0, 0, 0.2);
		box-shadow:0px 2px 3px 0px rgba(0, 0, 0, 0.2);
	}
	.menu-top {
		display: none;
		float: none;
		margin: 0;
		height: inherit;
	}
	.menu-top ul {margin-bottom: 80px;}
	
	.menu-top ul li {
		float: none;
		margin: 0;
		display: block;
	}
	.menu-top ul li a {
		padding: 0;
		line-height: 30px;
		font-size: 16px;
		border-bottom: 1px solid #e6e6e6;
	}
	.menu-top ul li ul {
		position: static;
		border: none;
		padding: 0;
		margin: 0;
		border-radius: 5px;
		list-style:none; padding-left:0px; margin-left:0px;
	}
	.menu-top ul li ul li{
		padding-left:13px; background: url(/bitrix/templates/main_template/bullet.jpg) 0 2px no-repeat;
		font-size: 13px;
	}
	.menu-top li.activestat a {
		color: inherit;
	}
	.menu-top ul li.active a {
		color: inherit;
	}
	.menu>li>a.emptop {pointer-events: none;}
	.menu ul{display: none;}
	.menu .openedsub ul{display: block;}
	.menu>li>a>span {display: block;}
	
	.links,.links1,#phone,.menuline {display: none;}
	/*body .right .comments p img {width:inherit !important;height:inherit;}*/
}

/*
		margin: 0px;

*/
@media screen and (max-width: 767px) and (min-width: 568px) {
	#page {
		width: 568px;
	}
	#header {
		width: 540px;
	}
	#cent_cont_td{
		width: 540px;
		float:left;
	}
	table#layout
	{
		width: 540px;
		left: 14px;
	}
	#footer {
		width: 540px;
		margin: 0px 0px 0px 14px;
	}
	#footer ul.links {
		width: 540px;
		margin-left: 0px;
	}
	#footer ul.links li {
		margin-left: 3px;
	}
	#copyright
	{
		width: 540px;
		background-image:unset;
	}
	#cent_cont im2g {width: 500px;height: 225px;}
/*
	.wrap-die {background-position: -220px 0;}
	
	.reslink {position:fixed; left: 10px; bottom: 40px; z-index: 999995;}
	
	.footer {width: 540px;}
	.logo {float: left; margin: 0 auto;}
	.material-menu-button {
	}
	.contentpaneopen td > * {
		max-width: 540px;
	}
	ul.pagination {overflow: hidden;}
	.sliderBullets {bottom: -15px;}
	.slide {margin-bottom: 15px;}
	#eventscalendar {float: right; margin-top: 30px;}
	.right .moduletable:nth-of-type(5) {float:left;}
	.right .moduletable:nth-of-type(6) {float:right;margin-top: -80px;}
	.right .moduletable:nth-of-type(6) img, .right .moduletable:nth-of-type(7) img {width: 240px;}
	.help {display: none;}
	.right .moduletable:nth-of-type(7) {float:right;}
	.right .moduletable:nth-of-type(8) {clear:both;}
	table#layout td {float:right;}
*/
	table#layout td#right_column {float:left; padding: 30px 30px 0px 30px; width:460px;}
	.banner_2 {float:right; margin-top: 0px;}
	.banner_3 {float:right; margin-top: -125px;}
	.banner_4 {float:right; margin-top: 0px;}
	#right_nav {display: none;}
/*
	.right .moduletable:nth-of-type(4) {float:left;}
	.right .moduletable:nth-of-type(5) {float:right;margin-top: 170px;}
	.right .moduletable:nth-of-type(5) img, .right .moduletable:nth-of-type(6) img {width: 240px;}
	.help {display: none;}
	.right .moduletable:nth-of-type(6) {float:right;}
	.right .moduletable:nth-of-type(7) {clear:both;}
	
	.projectsl3 {float: right;}

	table[style="width: 670px;"] {width: 540px !important;}
	table[style="width: 670px;"] tr * {max-width: 150px !important;}
	table[style="width: 670px;"] img {width: 150px !important ;height: inherit !important;}
	table[style="width: 670px;"] p {line-height: 15px;font-size: 11px;width: 150px;word-wrap: break-word;}

	.newstable {width: 540px !important;}
	.newstable tr * {max-width: 150px !important;}
	.newstable img {width: 150px !important ;height: inherit !important;}
	.newstable p {line-height: 15px;font-size: 11px;width: 150px;word-wrap: break-word;}

	ul.actionsul li {line-height: inherit;text-align: left;display: table;}
	.tableWrapper table tr:nth-child(4) *, .tableWrapper table tr:nth-child(5) * {max-width: inherit !important;}
	.contentpaneopen .newstable ul li a {
		vertical-align: middle;
		display: table-cell;
		padding-left: 30px;
	}
	.mapinc{
		width: 90%;
		margin-left: 5%;
	}
*/
}
@media screen and (max-width: 567px) {
	body {background-color: #FFFFFF;}
	#page {
		width: 290px;
	}
	.material-menu-button {
		left: 230px;
	}
	#header {
		width: 290px;
		margin-left:0px;
	}
	#cent_cont_td{
		width: 290px;
		float:left;
	}
/*
	#cent_cont_td a, #cent_cont_td a:hover{
		text-decoration:none;
		text-align:justify;
	}
*/
	table#layout
	{
		width: 290px;
		left: 0px;
	}
	#footer {
		width: 290px;
		margin: 0px;
	}
	#footer ul.links {
		width: 290px;
		margin-left: 0px;
	}
	#footer ul.links li {
		margin-left: 1px;
		font-size: 0.9em;
	}
	#copyright
	{
		width: 290px;
		background-image:unset;
	}
	
	iframe{width: 290px;}
	[src^="/bitrix/templates/_files/pics/en/"] {width: 290px;}
	[src^="/bitrix/templates/_files/pics/2/"] {width: 290px;}
	[src^="/bitrix/templates/_files/pics/main/"] {width: 290px;}
	[src^="/bitrix/templates/_files/pics/tasks/"] {width: 290px;}
	.main_img {width: 290px;}

	.clients_carousel {width: 230px !important;}
	.slick-slide{width: 77px !important;}
	.slick-slide img {width: 77px !important;}
	.slick-prev:before, .slick-next:before{font-size: 15px;}
	.tanycli a {font-size: 10px;}
	.slick-slide img {width: 77px !important;}


	table#layout td#right_column {float:left; padding-top:20px; padding-left:35px; width:290px !important;}
	#right_nav {display: none;}

	hr{width: 290px;}
	hr[style="width: 530px;"] {width: 290px !important;}
	div[style="width: 530px;"] {width: 290px !important;}
	td#list_body img {max-width: 90px !important;}
	#list_body img {max-width: 90px !important;}
	tbody {max-width: 290px !important;}
	.list_box .lb_left img {max-width: 100px !important;}
	.list_box .lb_left {min-width: 105px !important;}

	input[type="text" i] {width: 180px;};
	.header {position: relative; height: 85px; width: 290px; padding: 0;}
	/*.wr {display: none;}*/
	.wr {background: initial; height: 35px;}
	.wrap-die {
		background: url(../images/jpbar_mob.jpg) no-repeat 50% 0; 
		background-position: 0px 0;
	}

	.reslink {position:fixed; left: 10px; bottom: 40px; text-align:center; z-index: 999995;}
	.reslink img {width:140px;}

	.footer {width: 290px;}
	.logo {float: none; margin-left: 0;}
	.right .moduletable {
		float: left;
		margin-left: 20px;
	}
	body .b-share__handle .b-share-form-button {font-weight: normal !important;}
	body .b-share__handle {padding: 5px 0px 5px 2px!important;}
	body .soc + .tit-com {margin-left: 40px;}
	#eventscalendar {float: left;}
	.contentpaneopen td > * {max-width: 290px;}
	.left p img {max-width: 100%;height: inherit;}
	.right .moduletable, .projectsl3 {margin-left: 40px;}
	#eventscalendar {margin-bottom: 10px;margin-left: 40px;}
	body .menu-footer li {display: block;  margin: 0 auto !important; float: none;padding: 0;background: none;}
	.menu-footer ul {
		width: 290px;
		text-align: center;
		display: block;
	}
	.copy {text-align: center;}
	.cont-f {
		float: none;
		margin: 0 auto;
		margin-top: 130px;
	}
	.soc {text-align: center;}
	.soc li {
		margin: 0 7px 0 20px;
		float: left;
	}
	select, textarea, input[type="button"] {width: 225px !important;}
	#nested1 h6, #nested2 h6, #nested3 h6, #nested4 h6, #nested5 h6 {width: 240px;}
	.acc-section {overflow: hidden; margin-left: -35px;}
	.block-mode {margin-top: 35px;}
	ul.pagination li {float: left; margin: 5px 4px;}
	.tableWrapper {width: 290px; overflow-x: scroll; box-shadow: inset -15px 0px 25px -10px #d2d2d2;}
/*
	table[style="width: 670px;"] {width: 290px !important;}
	table[style="width: 670px;"] tr * {max-width: 95px !important;}
	table[style="width: 670px;"] img {width: 95px !important ;height: inherit !important;}
	table[style="width: 670px;"] p {line-height: 15px; font-size: 11px; width: 95px; word-wrap: break-word;}
*/

	td.waimg {
		display: block;
		width: 100%;
		padding-bottom:15px;
	}
	td.watext {
		width: 100%;
		display: block;
	}

	.mapinc{
		width: 90%;
		margin-left: 5%;
	}
}