@media (min-width:30em) {
  .gm_list{
    left:-50%;
    transform:translateX(50%)
  }
}

@media (min-width:40em) {
  .gm_list {
    left: -33.33333%;
    transform:translateX(33.33333%)
  }
}

@media only screen and (min-width:768px) {
  .gm_item{
    flex-basis:50%;
  }
}

@media only screen and (min-width:1120px) {
  .gm_item{
    flex-basis:33.333333%;
  }
}

@media only screen and (min-width:1439px) {
  .gm_item{
    flex-basis:25%;
  }
}

@media only screen and (min-width:1900px) {
  .gm_item{
    flex-basis:20%;
  }	
}

@media only screen and (min-width:1920px) {
 .bl_sr input[type='text']:focus{
	width:300px
	}
	
	.bl_sr input[type='text']:focus ~ .btn_search{
		display: block
	}
}

@media (min-width:30em) {
  /*.list_stat{
    left:-50%;
    transform:translateX(50%)
  }*/
}

@media (min-width:40em) {
  /*.list_stat {
    left: -33.33333%;
    transform:translateX(33.33333%)
  }*/
}

@media only screen and (min-width:1024px) {
  .stat_item{
    flex-basis:50%;
  }
}

@media only screen and (min-width:1600px) {
  .stat_item{
    flex-basis:33.33333%;
  }
}


@media only screen and (min-width : 1200px){
/*баг с рамкой.tm_r_more:hover{background-color:#3e4044}
 .tm_r_more:hover .tm_r_body{left:0;width:100%;background:#1a1c21;border:1px solid #474C50;border-top:none;padding:16px 20px;border-radius:0 0 8px 8px;-webkit-border-radius:0 0 8px 8px;-moz-border-radius:0 0 8px 8px;
cursor:default;display:flex;justify-content:flex-end;align-items:center;}
*/
}


@media only screen and (min-width : 1250px) and (max-width: 1599px){
.bl_sr input[type='text']:focus{width:300px}
	.bl_sr input[type='text']:focus ~ .btn_search{
		display: block
	}
/*.tm_r_body{z-index:9999;position:absolute;left:-9999px;top:51px}

.tm_r_more{display:block;width:50px;height:50px;cursor:pointer;background-color:#32353a;background-image:url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M5.11513%206.00073L12%2012.7992L18.8851%206.00073L21%208.09402L12%2017.0007L3%208.09402L5.11513%206.00073Z%22%2F%3E%0A%3C%2Fsvg%3E');background-size:20px 20px;background-position:50% 50%;background-repeat:no-repeat}
*/
}

@media only screen and (min-width : 1366px) and (max-width: 1599px){
.tm_link_c{width:42%}
.tm_link_l{width:16%}
.tm_link_c:hover .sub_zn{padding-left:20px;padding-right:20px}
.lt_body{display:block}
.lt_body>*:first-child{width:100%;padding:0}
.lt_body>*:last-child{width:100%;padding:0;margin:20px 0 0}
/*.tm_r_body{z-index:9999;position:absolute;left:-9999px;top:51px}

.tm_r_more:hover{background-color:#3e4044}
.tm_r_more:hover .tm_r_body{left:0;width:100%;background:#1a1c21;border:1px solid #474C50;border-top:none;padding:16px 20px;border-radius:0 0 8px 8px;-webkit-border-radius:0 0 8px 8px;-moz-border-radius:0 0 8px 8px;cursor:default;display:flex;justify-content:flex-end;align-items:center}
*/
.bl_footer{padding-top:32px}
/*.f_logo{width:14%;order:1;padding:0 16px 0 0}*/
.f_logo>*>*:first-child{width:44%;padding:0 8px 0 0}
.f_logo>*>* img{max-height:90px}
.f_logo>*>*:last-child{width:56%;padding:0 0 0 8px;margin:0}
.f_info_n{width:auto}
.f_info_a{width:auto}
/*.f_info{width:86%;order:2}
.f_menu{width:100%;order:3;padding:0;border-top:1px solid #474C50;margin:32px 0 0}*/
.f_menu ul li{width:33.3333%;padding:14px 10px 14px 0;font-size:16px;line-height:20px;text-align:center}
.bt_footer{margin:26px 0 0;text-align:center}
}

@media only screen and (min-width : 1442px) and (max-width: 1599px){
.tt_table{padding:0 22px}
}

@media only screen and (min-width : 1200px) and (max-width: 1441px){
.top_news{width:60%}
.tt_table{width:40%}
.list_news{width:100%;padding:0;margin:50px 0 0}
.list_news::before{display:none}
.ln_block{margin:0}
.ln_block ul{text-align:center;width:100%;font-size:0}
.ln_block ul li{display:inline-block; display:inline;*display:inline;vertical-align:top;width:30%;text-align:left;margin:32px 0 0 5%}
.ln_block ul li:first-child{margin:32px 0 0}
.ln_block ul li:nth-child(3n+1){margin-left:0}
}

@media only screen and (min-width : 1200px) and (max-width: 1480px){
.tm_link_c{width:42%}
.tm_link_l{width:16%}
.tm_link_c:hover .sub_zn{padding-left:20px;padding-right:20px}
.lt_body{display:block}
.lt_body>*:first-child{width:100%;padding:0}
.lt_body>*:last-child{width:100%;padding:0;margin:20px 0 0}
.tm_r_body{z-index:9999;position:absolute;left:-9999px;top:51px}
.tm_r_more{display:block;width:50px;height:50px;cursor:pointer;background-color:#32353a;background-image:url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M5.11513%206.00073L12%2012.7992L18.8851%206.00073L21%208.09402L12%2017.0007L3%208.09402L5.11513%206.00073Z%22%2F%3E%0A%3C%2Fsvg%3E');background-size:20px 20px;background-position:50% 50%;background-repeat:no-repeat}
.tm_r_more:hover{background-color:#3e4044}
.tm_r_more:hover .tm_r_body{left:0;width:100%;background:#1a1c21;border:1px solid #474C50;border-top:none;padding:16px 20px;border-radius:0 0 8px 8px;-webkit-border-radius:0 0 8px 8px;-moz-border-radius:0 0 8px 8px;cursor:default;display:flex;justify-content:flex-end;align-items:center}
.bl_footer{padding-top:32px}
.f_logo{width:40%;order:1;padding:0 16px 0 0}
.f_logo>*>*:first-child{width:44%;padding:0 8px 0 0}
.f_logo>*>* img{max-height:90px}
.f_logo>*>*:last-child{width:56%;padding:0 0 0 8px;margin:0}
.f_info{width:60%;order:2}
.f_info_n{width:auto}
.f_info_a{width:auto}
.f_menu{width:100%;order:3;padding:0;border-top:1px solid #474C50;margin:32px 0 0}
.f_menu ul li{width:33.3333%;padding:14px 10px 14px 0;font-size:16px;line-height:20px;text-align:center}
.bt_footer{margin:26px 0 0;text-align:center}
.tm_o li:last-child:hover .sub_tm{left:auto;right:0}
}

@media only screen and (min-width: 1240px){
	.tm_r_more{
		display:block
	}
}

@media only screen and (min-width : 1023px) and (max-width: 1199px){
.tm_link_c{width:42%}
.tm_link_l{width:16%}
.tm_link_c:hover .sub_zn{padding-left:20px;padding-right:20px}
.lt_body{display:block}
.lt_body>*:first-child{width:100%;padding:0}
.lt_body>*:last-child{width:100%;padding:0;margin:20px 0 0}
.tm_r_body{z-index:9999;position:absolute;left:-9999px;top:51px}
.tm_r_more{display:block;width:50px;height:50px;cursor:pointer;background-color:#32353a;background-image:url('data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M5.11513%206.00073L12%2012.7992L18.8851%206.00073L21%208.09402L12%2017.0007L3%208.09402L5.11513%206.00073Z%22%2F%3E%0A%3C%2Fsvg%3E');background-size:20px 20px;background-position:50% 50%;background-repeat:no-repeat}
.tm_r_more:hover{background-color:#3e4044}
.tm_r_more:hover .tm_r_body{left:0;width:100%;background:#1a1c21;border:1px solid #474C50;border-top:none;padding:16px 20px;border-radius:0 0 8px 8px;-webkit-border-radius:0 0 8px 8px;-moz-border-radius:0 0 8px 8px;cursor:default;display:flex;justify-content:flex-end;align-items:center}
.top_news{width:100%}
.tn_block>*{width:48%;margin:32px 0 0 4%}
.tn_block>*:nth-child(1){width:48%;margin:0}
.tn_block>*:nth-child(2){margin-left:4%;margin-top:0}
.tn_block>*:nth-child(2n+1){margin-left:0}
.tn_block>*:nth-child(1) .tn_title{font-size:16px;line-height:20px}
.tn_img{height:220px}
.tn_block>*:nth-child(1) .tn_img{height:220px}
.top_news .link_more{display:block;margin:32px 0 0}
.tt_table{width:50%;padding:0 32px 0 0;margin:64px 0 0}
.list_news{width:50%;margin:64px 0 0}
.bl_video .link_more{padding:0 30%}
.list_partners>* a img{max-width:150px}
.bl_footer{padding-top:32px}
.f_logo{width:40%;order:1;padding:0 16px 0 0}
.f_logo>*>*:first-child{width:44%;padding:0 8px 0 0}
.f_logo>*>*:last-child{width:56%;padding:0 0 0 8px;margin:0}
.f_logo>*>* img{max-height:80px}
.f_info{width:60%;order:2}
.f_info_n{width:auto}
.f_info_a{width:auto}
.f_menu{width:100%;order:3;padding:0;border-top:1px solid #474C50;margin:32px 0 0}
.f_menu ul li{width:33.3333%;padding:14px 10px 14px 0;font-size:16px;line-height:20px;text-align:center}
.bt_footer{margin:26px 0 0;text-align:center}	
.tm_o li:last-child:hover .sub_tm{left:auto;right:0}
}

@media only screen and (min-width:1024px){
	.tm_link_m.active{display:none}
	.bl_sn ul{
		display:block;
	}
}
@media only screen and (min-width : 768px) and (max-width:1238px){
	.bl_sn ul:nth-child(even){
		display:block !important;
	}
}

@media only screen and (min-width : 1024px) and (max-width:1238px){
	.tm_d{
		display:none;
	}
	
	.bl_sn li a img.olb{
		display:block;
	}
}

@media only screen and (min-width : 768px) and (max-width:1023px){
.tm_link_c{display:none}
.tm_link_m{display:block}
.tm_link_s{display:block}
.tm_link_l{width:calc(100% - 120px)}
.tm_link_l img{max-height:38px}
.tm_block{display:none}
.gm_item{padding:12px 10px 16px}
.top_news{width:100%}
.tn_block>*{width:48%;margin:32px 0 0 4%}
.tn_block>*:nth-child(1){width:48%;margin:0}
.tn_block>*:nth-child(2){margin-left:4%;margin-top:0}
.tn_block>*:nth-child(2n+1){margin-left:0}
.tn_block>*:nth-child(1) .tn_title{font-size:16px;line-height:20px}
.tn_img{height:164px}
.tn_block>*:nth-child(1) .tn_img{height:164px}
.top_news .link_more{display:block;margin:32px 0 0}
.tt_table{width:100%;padding:0;margin:64px 0 0}
.list_news{width:100%;order:1;padding:0;margin:32px 0 0}
.list_news::before{display:none}
.hm_video>*{width:48%;margin:24px 0 0 4%}
.hm_video>*:nth-child(4n+1){margin:24px 0 0 4%}
.hm_video>*:nth-child(2n+1){margin-left:0}
.bl_video .link_more{padding:0}
.list_partners>* a img{max-width:100px;max-height:80px}
.bl_footer{padding-top:32px}
.f_logo{width:40%;order:1;padding:0 16px 0 0}
.f_logo>*>*:first-child{width:44%;padding:0 8px 0 0}
.f_logo>*>*:last-child{width:56%;padding:0 0 0 8px;margin:0}
.f_logo>*>* img{max-height:80px}
.f_info{width:60%;order:2}
.f_info_n{width:auto}
.f_info_a{width:auto}
.f_menu{width:100%;order:3;padding:0;border-top:1px solid #474C50;margin:32px 0 0}
.f_menu ul li{width:33.3333%;padding:14px 10px 14px 0;font-size:16px;line-height:20px;text-align:center}
.bt_footer{margin:26px 0 0;text-align:center}	
}

@media only screen and (min-width : 480px) and (max-width : 600px){
.bl_stat .wd_page{width:100%}
.stat_item{padding:0}
.si_title{width:90%;margin:0 auto}
.si_photo{width:80px;padding:0 8px;margin:0 0 0 5%}
.si_photo a img{width:64px;height:64px}
.si_top>*:first-child .si_photo a img{width:80px;height:80px}
.si_photo::after{width:30px;height:30px;line-height:24px;font-size:14px}
.si_info{width:calc(100% - 80px - 10%);padding:0 0 0 12px}
.si_info_team>*:last-child span{display:block}
.si_pt{width:100%;margin:8px 0 0;background:#F2F4F9;padding:6px 10px;text-align:center}
.si_pt b {display: inline}
.si_pt_sm{top:50%;margin:-10px 0 0;right:28%}
.navi_stat{width:90%;margin:24px auto 0}
.bl_stat .link_more{width:90%;margin:24px auto 0}
}

@media only screen and (min-width : 650px) and (max-width : 767px){
.top_news{width:100%}
.tn_block>*{width:48%;margin:32px 0 0 4%}
.tn_block>*:nth-child(1){width:48%;margin:0}
.tn_block>*:nth-child(2){margin-left:4%;margin-top:0}
.tn_block>*:nth-child(2n+1){margin-left:0}
.tn_block>*:nth-child(1) .tn_title{font-size:16px;line-height:20px}
.tn_img{height:164px}
.tn_block>*:nth-child(1) .tn_img{height:164px}
.top_news .link_more{display:block;margin:32px 0 0}	
}

@media only screen and (min-width : 480px) and (max-width : 649px){
.wd_page{width:90%}
.top_news{width:100%}
.tn_block>*{width:100%;margin:32px 0 0}
.tn_block>*:nth-child(1) .tn_title{font-size:16px;line-height:20px}
.tn_img{height:164px}
.tn_block>*:nth-child(1) .tn_img{height:164px}
.top_news .link_more{display:block;margin:32px 0 0}
}

@media only screen and (min-width : 480px) and (max-width : 767px){
.wd_page{width:90%}
.tm_link_c{display:none}
.tm_link_m{display:block}
.tm_link_s{display:block}
.tm_link_l{width:calc(100% - 120px)}
.tm_link_l img{max-height:38px}
.tm_block{display:none}
.gm_nv_l{width:20px}
.gm_nv a{background-size:12px 12px}
.gm_nv_r{width:20px}
.gm_body{width:calc(100% - 40px)}
.gm_item{padding:12px 10px 16px}
.tt_table{width:100%;padding:0;margin:64px 0 0}
.hm_video>*{width:100%;margin:24px 0 0}
.hm_video>*:nth-child(4){display:none}
.bl_video .link_more{margin:32px 0 0;padding:0}
.list_news{width:100%;order:1;padding:0;margin:32px 0 0}
.list_news::before{display:none}
.list_partners>*{width:33.3333%;margin:0;padding:15px}
.bl_footer{padding-top:32px}
.f_logo{width:70%;order:1;padding:0 16px 0 0}
.f_logo>*>*:first-child{width:44%;padding:0 8px 0 0}
.f_logo>*>* img{max-height:90px}
.f_logo>*>*:last-child{width:56%;padding:0 0 0 8px;margin:0}
.f_info{width:30%;order:2;padding:0 0 0 16px}
.f_info_n{width:auto;padding:0}
.f_info_a{display:none}
.f_menu{width:100%;order:3;padding:0;border-top:1px solid #474C50;margin:32px 0 0}
.f_menu ul li{width:50%;padding:14px 10px 14px 0;font-size:16px;line-height:20px}
.bt_footer{margin:26px 0 0;flex-direction: column;text-align:center}
.tm_body_s{width:100%}	
}

@media only screen and (min-width : 320px) and (max-width : 479px){
.wd_page{width:90%}
.tm_link_c{display:none}
.tm_link_m{display:block}
.tm_link_s{display:block}
.tm_link_l{width:calc(100% - 120px)}
.tm_link_l img{max-height:38px}
.tm_block{display:none}
.gm_nv_l{width:20px}
.gm_nv a{background-size:12px 12px}
.gm_nv_r{width:20px}
.gm_body{width:calc(100% - 40px)}
.gm_item{padding:12px 10px 16px}
.top_news{width:100%}
.tn_block>*{width:100%;margin:32px 0 0}
.tn_block>*:nth-child(1) .tn_title{font-size:16px;line-height:20px}
.tn_img{height:164px}
.tn_block>*:nth-child(1) .tn_img{height:164px}
.top_news .link_more{display:block;margin:32px 0 0}
.tt_navi ul{width:100%}
.tt_navi ul li{width:50%}
.tt_table{width:100%;padding:0;margin:64px 0 0}
.hm_video>*{width:100%;margin:24px 0 0}
.hm_video>*:nth-child(4){display:none}
.bl_video .link_more{margin:32px 0 0;padding:0}
.list_news{width:100%;order:1;padding:0;margin:32px 0 0}
.list_news::before{display:none}
.bl_stat .wd_page{width:100%}
.stat_item{padding:0}
.si_title{width:90%;margin:0 auto}
.si_photo{width:80px;padding:0 8px;margin:0 0 0 5%}
.si_photo a img{width:64px;height:64px}
.si_top>*:first-child .si_photo a img{width:80px;height:80px}
.si_photo::after{width:30px;height:30px;line-height:24px;font-size:14px}
.si_info{width:calc(100% - 80px - 10%);padding:0 0 0 12px}
.si_info_team>*:last-child span{display:block}
.si_pt{width:100%;margin:8px 0 0;background:#F2F4F9;padding:6px 10px;text-align:center}
.si_pt b {display: inline}
.si_pt_sm{top:50%;margin:-10px 0 0;right:28%}
.list_partners>*{margin:20px}
.list_partners>* a img{max-width:100px;max-height:60px}
.navi_stat{width:90%;margin:24px auto 0}
.bl_stat .link_more{width:90%;margin:24px auto 0}
.bl_footer{padding-top:32px}
.f_logo{width:100%;order:1;padding:0;}
.f_logo>*.olb {padding: 0;align-items: center;justify-content: center;}
.f_logo>*>*:first-child{width:50%;padding:0 8px 0 0}
.f_logo>*>* img{max-height:60px}
.f_logo>*>*:last-child{width:50%;padding:0 0 0 8px;margin:0}
.f_info{width:100%;order:3;padding: 10px 0;justify-content: space-between;}
.f_info_n{width:auto;padding:0}
.f_menu{width:100%;order:2;padding:0;border-top:1px solid #474C50;margin:32px 0 0}
.f_menu ul li{width:50%;padding:14px 10px 14px 0;font-size:16px;line-height:20px}
.bt_footer{margin:26px 0 0;text-align:center}
.lt_list>*{width:100%;padding:0}
.lt_list>*:nth-child(2n){padding:0}
.tm_body_s{width:100%}
}

@media only screen and (min-width: 480px) and (max-width: 1480px) {
	.f_menu {
		width: 100%;
		order: 4;
		padding: 0;
		border-top: 1px solid #474C50;
		margin: 32px 0 0;
	}
	.ct_footer {
		order: 3;
	}
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
	.logo {
		order: 1;
	}
	.ct_footer {
		order: 2;
	}
	.f_menu {
		order: 3;
	}
}

@media only screen and (max-width : 319px){
body,html{height:100%;min-width:1036px}
}

@media only screen and (min-width : 1350px) and (max-width: 1500px){
	body .tt_navi ul li{
		font-size:15px;
	}
}
