/* http://sampleweb.ru/articles/usloviya-css-dlya-ekrana/ */

/* iPad in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
}

/* iPad in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
}

/* iPad in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
}

/* Retina iPad in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) {}

/* Retina iPad in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {}

/* Retina iPad in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2) {}

/* iPad 1 & 2 in portrait & landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 1){}

/* iPad 1 & 2 in landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 1)  {}

/* iPad 1 & 2 in portrait */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1) {}

/*@media only screen and (max-width: 1100px) { */
@media only screen and (max-width: 768px) {
	/*header { display: none; }*/
	footer { display: none; }
	/*nav { display: none; }*/
	nav { text-align: center; }
	.leftmenu { display: none; }
	.div_header { width: 100%; max-width: 1090px; display: block; }
	td.text, #index td.text { padding: 10px; }
	td.text ul { padding-left: 20px; }
	.imgfright { max-width: 150px; border-radius: 16px; }
	.item { border-right: none; display: inline-flex; float: none; }
	.item a { padding: 7px; }
	.first_item { border-left: none; }
	td.logo, td.phone { width: auto; }
	td.top { display: none; }
	td.logo { display: none; }
	/*td.logo { padding-right: 10px; }
	td.logo img { width: 50px; height: auto; }*/
	header .div_header { padding: 10px; width: calc(100% - 20px); }
	table.header { height: auto; }
	td.phone { display: none; }
	td.phone-mob { display: table-cell; }
	td.top-mob { display: table-cell; vertical-align: middle; text-align: left; font-weight: 600; }
	td.top-mob:nth-child(2) { text-align: right; }
	td.phone-mob .addr, td.phone-mob .addr + br { display: none; }
	h1 { margin-top: 5px; font-size: 28px; }
	.div_header.menu_top_2019 { display: none; }
	.imglogo { margin-right: 10px; margin-bottom: 10px; }
	.footer-mob { display: block; }
	.footer-menu-mob { display: block; }
	.mob_link_phone:nth-child(7) { margin-top: 16px !important; padding-top: 18px !important; border-top: solid 1px rgba(108, 122, 137, 0.2) !important; }
	
	.phone-1, .phone-2, .phone-3 { padding: 0 10px; border-radius: 20px; background: rgba(29, 86, 133, 0.5); display: inline-block; margin: 5px 5px 0 0; }
	.phone-2, .phone-3 { margin-right: 0; }
	.phone-1 a, .phone-2 a, .phone-3 a { color: #fff; }
	
	
	
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-link img {
  display: block;
  width: 60px !important;
  height: auto !important;
}


  .logos_grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
.logos_grid img {
  max-width: 100%;
  height: auto;
  display: block;
}

}