/* AlfaLaw. Desktop (1240px+) repeats the geometry of the original alfalaw.ru (style.css 2013).
   Below 1240px the same markup switches to a fluid layout, below 768px to the phone layout. */

/* ---------- base, shared by all widths ---------- */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ede8e4 url(/template/images/body_fon.png) repeat-x left bottom; color: #000; font-family: "Times New Roman", Times, serif; }
img { border: 0; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #1490cd; outline-offset: 2px; }

.site { max-width: 1230px; margin: 0 auto; }
.zz-top { height: 18px; background: url(/template/images/zz_1.png) repeat-x left bottom; }
.paper { background: #fff url(/template/images/fon.png) repeat-y left top; }
.logofon { background: url(/template/images/fon-logo.png) no-repeat right bottom; }
.spacer { height: 40px; }
.zz-line { height: 4px; background: #fff url(/template/images/zz_1.png) repeat-x left bottom; }
.zz-line2 { height: 4px; background: url(/template/images/zz_2.png) repeat-x left bottom; }

.item_1 .text { color: #999; font-size: 13px; font-family: Georgia, serif; }
.item_1 .text a { color: #1a6ba2; text-decoration: underline; }
.item_1 .text a:hover { text-decoration: none; }
.searchbox { position: relative; width: 167px; height: 25px; background: url(/template/images/search_fon.png) no-repeat left top; }
.searchbox input { position: absolute; top: 2px; left: 10px; width: 130px; height: 20px; padding: 0; border: 0; background: #f2f2f2; color: #666; font: 13px Georgia, serif; outline-offset: 0; }
.searchbox input::placeholder { color: #a0a0a0; }
.searchbox input::-webkit-search-cancel-button { display: none; }
.searchbox button { position: absolute; top: 5px; left: 143px; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.menu-toggle { display: none; }

.topmenu .item { font-family: Georgia, serif; font-size: 15px; }
.topmenu .item > a { color: #196ba1; text-decoration: underline; }
.topmenu .item > a:hover { text-decoration: none; }
.topmenu ul { margin: 0; padding: 10px; list-style: none; background: #1490cd; }
.topmenu ul li { padding: 5px 0; font-size: 13px; }
.topmenu ul li a { color: #fff; text-decoration: underline; }
.topmenu ul li a:hover { text-decoration: none; }

.cube_navi .item { position: relative; background: url(/template/images/cube_item_fon.png) repeat; cursor: pointer; }
.cube_navi .tile { display: block; color: #134081; text-decoration: none; }
.cube_navi .icon { display: block; position: relative; text-align: center; }
.cube_navi .text { display: block; position: relative; color: #134081; font: bold 15px Georgia, serif; text-align: center; text-decoration: underline; }
.cube_navi .tile:hover .text { text-decoration: none; }
.cube_navi .navi_2 { display: none; position: absolute; top: 0; left: 0; z-index: 1000; box-sizing: border-box; width: 100%; min-height: 100%; padding: 15px 0 10px; background: #1490cd; cursor: default; }
.cube_navi .navi_2 div { margin: 0 15px 10px; padding-left: 20px; color: #fff; font: 15px Georgia, serif; }
.cube_navi .navi_2 div:hover, .cube_navi .navi_2 div:focus-within { background: url(/template/images/arrow_4.png) no-repeat left center; }
.cube_navi .navi_2 a { color: #fff; text-decoration: underline; }
.cube_navi .navi_2 a:hover { text-decoration: none; }
.cube_navi .item.menu-open .navi_2 { display: block; }
@media (hover: hover) {
  .cube_navi .item:not(.menu-dismissed):hover .navi_2, .cube_navi .item:not(.menu-dismissed):focus-within .navi_2 { display: block; }
}

.information h2 { margin: 0; }
.info_caption { color: #1a6ba2; font: bold 15px Georgia, serif; padding: 0 0 20px; }
.info_caption a { color: #1a6ba2; text-decoration: underline; }
.info_caption a:hover { text-decoration: none; }
.info_date { color: #999; font: 10px Georgia, serif; padding: 0 0 12px; }
.info_anonce { color: #947c5c; font: 14px/150% Georgia, serif; padding: 0 0 25px; max-width: 290px; }
.info_anonce a { color: #947c5c; text-decoration: underline; }
.info_anonce a:hover { text-decoration: none; }
.info_anonce img { vertical-align: middle; }

/* ---------- inner pages ---------- */
.content { min-width: 0; color: #000; font: 16px/150% Georgia, serif; overflow-wrap: break-word; }
.content a { color: #196ba0; text-decoration: underline; }
.content a:hover { text-decoration: none; }
.content .outmenu { color: #999; font-size: 13px; line-height: 100%; padding-bottom: 15px; }
.content .outmenu a { color: #999; }
.content .outmenu .sep { display: inline-block; margin: 0 .55em; }
.content .outmenu img { vertical-align: middle; }
.content h1 { color: #133f7f; font-size: 35px; line-height: 100%; font-weight: 100; padding: 0 0 20px; margin: 0; }
.content h2 { color: #333; font-size: 28px; line-height: 100%; font-weight: 100; padding: 0 0 15px; margin: 0; }
.content h3, .content .form-heading { color: #133f80; font-size: 22px; line-height: 100%; font-weight: 100; padding: 0 0 15px; margin: 0; }
.content h4 { margin: 0 0 10px; }
.content img { height: auto !important; }
.content .back { text-align: right; font-size: 15px; padding-top: 20px; }
.content .ask-link { text-align: right; margin: 0; padding-bottom: 20px; }
.form-status { padding: 10px 14px; margin: 0 0 20px; border-radius: 7px; background: #d7ecf6; color: #0b70b7; font-size: 15px; line-height: 1.4; }
.form-error { background: #fbe3e3; color: #a12020; }

.leftmenu { box-sizing: border-box; border: 1px solid #74c9f2; padding: 10px 0; }
.leftmenu .lv2 { padding-left: 15px; }
.leftmenu .item { padding: 5px 0 5px 10px; margin: 0 20px; color: #196ba1; font: 14px Georgia, serif; }
.leftmenu .item a { color: #196ba1; text-decoration: underline; }
.leftmenu .active { background: url(/template/images/arrow_6.png) no-repeat 0 10px; }
.leftmenu2 > div { padding-top: 45px; text-align: center; }
.leftmenu2 > div > div { font: 14px Georgia, serif; padding-top: 2px; }
.leftmenu2 a { color: #134081; text-decoration: underline; }
.leftmenu2 a:hover { text-decoration: none; }

.press_box, .faq_box, .rs_box { background: url(/template/images/dot.png) repeat-x bottom left; padding-bottom: 20px; margin-bottom: 30px; }
.press_box .data, .rs_box .data, .rs_box_full .data, .faq_box .date { font: 11px Arial, sans-serif; color: #999; padding-bottom: 5px; }
.press_box .data img, .rs_box .data img, .rs_box_full .data img, .faq_box .date img { vertical-align: middle; }
.content .press_box .caption { padding: 0; }
.content .press_box .caption a { color: #333; text-decoration: none; }
.content .press_box .caption a:hover { color: #133f7f; text-decoration: underline; }
.press_box .anons { color: #333; }
.faq_box .faq_vopros { padding-bottom: 10px; }
.content .faq_box .caption { color: #133f7f; font: bold 18px/1.3 Georgia, serif; text-decoration: underline; padding: 0 0 10px; }
.content .faq_box .caption a { color: #133f7f; }
.faq_box .faq_vopros .text { color: #666; font-size: 15px; }
.faq_box .faq_otvet { border: 1px solid #75c9f2; padding: 20px; }
.faq_box .faq_otvet .name { color: #133f7f; font-size: 16px; text-transform: uppercase; padding-bottom: 10px; }
.faq_box .faq_otvet .text { color: #333; font-size: 15px; }
.faq_box .more { font-size: 15px; }
.content .rs_box .caption { font-size: 16px; padding: 0 0 5px; line-height: 1.5; }
.content .rs_box .caption a { color: #133f7f; }
.rs_box .row_1, .rs_box .row_2 { font-size: 15px; color: #999; }
.rs_box .row_1 span { display: inline-block; width: 270px; max-width: 100%; }
.content .rs_box_full .caption { font-size: 21px; padding: 0 0 15px; color: #134081; line-height: 1.3; }
.rs_box_full .row_1 { font-size: 15px; color: #999; }
.rs_box_full .row_1 p { margin: 0 0 8px; }
.rs_box_full .row_2 { font-size: 21px; background: #d7ecf6 url(/template/images/arrow_7.png) no-repeat calc(100% - 22px) center; border-radius: 10px; padding: 27px 60px 27px 22px; max-width: 458px; margin-top: 20px; }
.rs_box_full .row_2 img { vertical-align: middle; margin-right: 12px; }
.content .rs_box_full .row_2 a { color: #134081; }

.rs_filter { position: relative; box-sizing: border-box; width: 540px; max-width: 100%; margin-bottom: 30px; padding: 17px 25px 49px; background: url(/template/images/rs_box_mid.png) repeat-y left top; }
.rs_filter::before, .rs_filter::after { content: ''; position: absolute; left: 0; width: 540px; max-width: 100%; }
.rs_filter::before { top: 0; height: 17px; background: url(/template/images/rs_box_top.png) no-repeat left top; }
.rs_filter::after { bottom: 0; height: 49px; background: url(/template/images/rs_box_bot.png) no-repeat left top; }
.rs_filter label { display: block; padding: 0 0 10px 10px; color: #939393; }
.rs_filter select { display: block; box-sizing: border-box; width: 488px; max-width: 100%; height: 28px; padding: 0 30px 0 10px; border: 0; border-radius: 0; background: url(/template/images/rs_select.png) no-repeat left top; color: #133f7f; font: 16px Georgia, serif; appearance: none; cursor: pointer; }
.rs_filter button { position: absolute; z-index: 1; bottom: 14px; left: 25px; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }

.pages_box { font: bold 14px Arial, sans-serif; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 10px 0 30px; }
.pages_box div { text-align: center; width: 21px; height: 21px; line-height: 21px; }
.pages_box div.item a { color: #1f87c4; }
.pages_box div.active { color: #fff; background: url(/template/images/ellipse.png) no-repeat left top; }

.callback_form_2 { position: relative; box-sizing: border-box; width: 540px; height: 396px; background: url(/template/images/cons_fon.png) no-repeat left top; margin-bottom: 20px; }
.callback_form_2 .input, .callback_form_2 .textarea { position: relative; top: 26px; left: 20px; width: 488px; padding: 0 0 13px; }
.callback_form_2 .input { height: 28px; background: url(/template/images/cons_input_fon.png) no-repeat left top; }
.callback_form_2 .textarea { height: 180px; background: url(/template/images/cons_textarea_fon.png) no-repeat left top; }
.callback_form_2 input, .callback_form_2 textarea { position: relative; left: 7px; box-sizing: border-box; width: 474px; padding: 0 0 0 0; margin: 0; border: 0; background: #f0f0f0; color: #333; font: 12px Georgia, serif; }
.callback_form_2 input { top: 2px; height: 24px; }
.callback_form_2 textarea { top: 5px; height: 165px; resize: none; }
.callback_form_2 input::placeholder, .callback_form_2 textarea::placeholder { color: #999; opacity: 1; }
.callback_form_2 .submit_btn { position: relative; top: 45px; left: 20px; }
.callback_form_2 button { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }

.team-member { display: grid; grid-template-columns: 260px minmax(0, 1fr); margin-bottom: 44px; }
.team-photo img { display: block; width: 235px; height: 305px !important; margin-left: 4px; object-fit: cover; }
.team-info { padding-top: 70px; color: #999; }
@media (max-width: 767px) {
  .team-member { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 32px; }
  .team-photo img { margin-left: 0; }
  .team-info { padding-top: 0; }
}

.zigzag { background: url(/template/images/zz_1.png) repeat-x left top; height: 5px; margin: 20px 0; }
.dop_public { padding: 0 0 20px 30px; background: url(/template/images/li.png) no-repeat left 10px; }
.map iframe { display: block; width: 100%; max-width: 640px; height: 400px; border: 0; margin-top: 10px; }

.print_page_box .pp { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }

/* share + footer */
.share { box-sizing: border-box; min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 20px 12px 102px; background: #fff; color: #909090; font: 13px Arial, sans-serif; }
.share a, .share button { color: #1a6ba2; font: inherit; }
.share button { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.share output { color: #909090; }
.podval { box-sizing: border-box; min-height: 150px; display: grid; grid-template-columns: 350px 390px 300px; padding: 16px 0 19px 100px; background: #efece7; color: #1a6ba2; font: 13px Georgia, serif; }
.podval .box_2 { color: #aa8e73; }
.podval a { color: #1a6ba2; text-decoration: underline; }
.podval a:hover { text-decoration: none; }
.podval img { vertical-align: middle; }
.podval .foot-addr { padding-bottom: 10px; }
.podval .foot-mail { padding-left: 2px; }
.podval .foot-phone { display: none; }

/* lightbox for prices, certificates and the insurance document */
.lightbox { box-sizing: border-box; max-width: min(820px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 44px 20px 20px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 6px 30px #0006; }
.lightbox::backdrop { background: #000a; }
.lightbox-body img { display: block; max-height: calc(100dvh - 100px); margin: 0 auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 6px; right: 10px; border: 0; background: none; color: #333; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-content table { max-width: 100%; }
body.lightbox-open { overflow: hidden; }

/* ---------- desktop: original geometry ---------- */
@media (min-width: 1240px) {
  .item_1 { display: flex; height: 219px; overflow: hidden; padding-left: 90px; font-size: 16px; line-height: 100%; }
  .item_1 .col { height: 219px; }
  .col-ins, .col-logo, .col-phone { background: url(/template/images/topline.png) no-repeat left 74px; }
  .col-ins { width: 272px; }
  .col-logo { width: 291px; }
  .col-phone { width: 320px; }
  .col-addr { width: 257px; }
  .insurance, .brand, .phone, .zapis, .addr-label, .addr-line, .searchbox { display: block; position: relative; }
  .insurance { top: 71px; left: 11px; width: max-content; }
  .brand { top: 31px; left: 26px; width: max-content; }
  .phone { top: 73px; left: 40px; width: max-content; }
  .zapis { top: 95px; left: 25px; width: max-content; }
  .addr-label { top: 68px; left: 3px; }
  .addr-line { top: 76px; left: 3px; }
  .searchbox { top: 107px; }

  .topmenu { position: relative; left: 91px; height: 40px; }
  .item_2 .topmenu { top: 35px; z-index: 5; }
  .item_2_1 .topmenu { top: 11px; z-index: 5; }
  .topmenu .item { position: relative; float: left; padding: 9px 15px 11px; }
  .topmenu .item-home { display: none; }
  .topmenu .active { border: 1px solid #c9e4f2; border-top-color: #d7ecf6; border-bottom-color: #60a6d1; padding: 9px 14px 11px; background: #d7ecf6; border-radius: 7px; }
  .topmenu .item ul { display: none; position: absolute; top: 35px; left: 5px; z-index: 1000; white-space: nowrap; }
  .topmenu .item:hover ul, .topmenu .item:focus-within ul { display: block; }

  .item_2 { display: block; position: relative; top: -23px; width: 1230px; height: 453px; overflow: hidden; background: url(/template/images/photo_index_ori.png) no-repeat 865px 0; }
  .cube_navi { position: relative; top: 60px; left: 79px; display: grid; grid-template-columns: repeat(3, 250px); gap: 5px; line-height: 100%; font-size: 16px; }
  .cube_navi .item, .cube_navi .tile { height: 157px; }
  .cube_navi .navi_2 { min-height: 157px; }
  .tile-1 .icon { top: 34px; } .tile-1 .text { top: 60px; }
  .tile-2 .icon { top: 25px; } .tile-2 .text { top: 44px; }
  .tile-3 .icon { top: 46px; } .tile-3 .text { top: 68px; }
  .tile-4 .icon { top: 16px; } .tile-4 .text { top: 30px; }
  .tile-5 .icon { top: 22px; } .tile-5 .text { top: 43px; }
  .tile-6 .icon { top: 19px; } .tile-6 .text { top: 39px; }

  .information { display: grid; grid-template-columns: 350px 350px 290px; padding: 20px 0 0 100px; }
  .home-text { padding: 0 100px; }

  .item_2_1 { height: 80px; }
  .print_page_box { position: relative; top: -30px; left: 947px; width: 206px; }
  .content_table { display: grid; grid-template-columns: 240px 835px; margin: 0 78px 0 77px; }
  .sidebar { grid-column: 1; grid-row: 1; }
  .content { grid-column: 2; grid-row: 1; padding: 0 50px; background: url(/template/images/content_gb.png) no-repeat 27px 0; }
  .leftmenu { width: 240px; margin-top: 60px; }
}

/* ---------- fluid: tablets and small laptops ---------- */
@media (max-width: 1239px) {
  .item_1 { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 16px 3%; padding: 28px 4% 18px; }
  .col-logo { text-align: center; }
  .col-logo img { width: 200px; }
  .col-phone { display: grid; justify-items: center; gap: 14px; }
  .col-addr .text { margin-bottom: 8px; line-height: 1.4; }
  .searchbox { margin-top: 10px; }
  .item_1 img { vertical-align: middle; }

  .topmenu { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 4% 14px; }
  .topmenu .item { position: relative; padding: 9px 14px 11px; border: 1px solid transparent; border-radius: 7px; }
  .topmenu .item-home { display: none; }
  .topmenu .active { background: #d7ecf6; border-color: #c9e4f2 #c9e4f2 #60a6d1; }
  .topmenu .item ul { display: none; position: absolute; top: 38px; left: 5px; z-index: 1000; min-width: 200px; }
  .topmenu .item:hover ul, .topmenu .item:focus-within ul { display: block; }

  .item_2 { display: block; position: relative; padding: 0 0 20px; background: url(/template/images/photo_index_ori.png) no-repeat right 4% bottom 0 / auto 100%; }
  .cube_navi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; width: calc(92% - 330px); margin-left: 4%; }
  .cube_navi .tile { min-height: 150px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 14px 8px; }
  .cube_navi .icon img { display: block; }
  .cube_navi .text { line-height: 1.15; }
  .information { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 30px 4% 0; }
  .home-text { padding: 0 4%; }

  .item_2_1 { position: relative; }
  .print_page_box { position: absolute; top: 4px; right: 4%; }
  .content_table { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 3%; margin: 20px 4% 0; }
  .sidebar { grid-column: 1; grid-row: 1; }
  .content { grid-column: 2; grid-row: 1; padding: 0 0 0 30px; background: url(/template/images/content_gb.png) no-repeat 8px 0; }
  .content table { max-width: 100%; }
  .content [style*="width"] { max-width: 100%; }
  .content iframe { max-width: 100%; }
  .podval { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px 4%; }
  .share { padding-left: 4%; }
}

/* ---------- tablet portrait: one wide column for long texts ---------- */
@media (max-width: 960px) {
  .item_1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .col-logo { grid-column: 1 / -1; grid-row: 1; }
  .col-ins { justify-self: start; }
  .item_2 { background-size: auto 260px; background-position: right 4% top; padding-top: 270px; }
  .cube_navi { width: auto; margin: 0 4%; }
  .content_table { grid-template-columns: minmax(0, 1fr); }
  .content { grid-row: 1; grid-column: 1; padding: 0; background: none; }
  .sidebar { grid-row: 2; grid-column: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; margin-top: 30px; }
  .leftmenu2 { display: flex; flex-wrap: wrap; gap: 0 24px; }
  .leftmenu2 > div { padding-top: 10px; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .site { overflow-x: hidden; }
  .item_1 { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 16px 12px; }
  .col-logo { grid-column: 1 / -1; }
  .col-logo img { width: 170px; }
  .col-phone { grid-column: 1 / -1; gap: 10px; }
  .col-phone .phone img { width: 212px; }
  .col-addr { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 10px; }
  .col-addr .text { margin: 0; }
  .addr-label { grid-column: 1; }
  .addr-line { grid-column: 2; }
  .searchbox { grid-column: 1 / -1; width: 100%; height: 34px; margin-top: 6px; background: #f2f2f2; border: 1px solid #c9d3da; border-radius: 17px; box-sizing: border-box; }
  .searchbox input { top: 0; left: 14px; width: calc(100% - 60px); height: 32px; font-size: 16px; }
  .searchbox button { top: 8px; left: auto; right: 14px; }
  .col-ins { grid-column: 1; grid-row: 4; }
  .col-ins img { width: 190px; }
  .menu-toggle { display: inline-flex; grid-column: 2; grid-row: 4; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid #c9e4f2; border-bottom-color: #60a6d1; border-radius: 7px; background: #d7ecf6; color: #196ba1; font: 16px Georgia, serif; cursor: pointer; }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: #196ba1; position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

  .topmenu { display: none; flex-direction: column; gap: 0; margin: 0 16px 16px; padding: 6px 0; border: 1px solid #74c9f2; border-radius: 7px; background: #fff; }
  .topmenu.open { display: flex; }
  .topmenu .item, .topmenu .active { padding: 0; border: 0; border-radius: 0; background: none; }
  .topmenu .item-home { display: block; }
  .topmenu .item > a { display: block; padding: 11px 16px; font-size: 17px; }
  .topmenu .item > .arr { display: none; }
  .topmenu .active > a { background: #d7ecf6; }
  .topmenu .item ul, .topmenu .item:hover ul { display: block; position: static; min-width: 0; padding: 0 0 6px 28px; background: none; }
  .topmenu ul li { padding: 0; font-size: 15px; }
  .topmenu ul li a { display: block; padding: 7px 16px 7px 0; color: #196ba1; }

  .item_2 { padding-top: 250px; background-size: auto 250px; background-position: center top; }
  .cube_navi { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 16px; }
  .cube_navi .tile { min-height: 132px; gap: 10px; }
  .cube_navi .icon img { max-height: 48px; width: auto; }
  .cube_navi .text { font-size: 14px; }
  .cube_navi .navi_2 { position: absolute; min-height: 100%; padding: 12px 0 6px; }
  .cube_navi .navi_2 div { margin: 0 10px 8px; padding-left: 0; font-size: 14px; line-height: 1.25; }
  .cube_navi .item:nth-child(even) .navi_2 { left: auto; right: 0; }
  .cube_navi .item.menu-open .navi_2 { width: calc(200% + 5px); box-shadow: 0 6px 16px #0003; }
  .cube_navi .item:nth-child(odd).menu-open .navi_2 { left: 0; }
  .information { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 26px 16px 0; }
  .info_anonce { max-width: none; font-size: 15px; }
  .info_date { font-size: 12px; }
  .info_caption { font-size: 18px; padding-bottom: 14px; }
  .info-col { padding-bottom: 6px; }
  .home-text { padding: 0 16px; }

  .print_page_box { display: none; }
  .content_table { margin: 4px 16px 0; }
  .content { font-size: 16px; }
  .content h1 { font-size: 28px; line-height: 1.1; padding-bottom: 16px; }
  .content h2 { font-size: 23px; line-height: 1.15; }
  .content h3, .content .form-heading { font-size: 20px; line-height: 1.2; }
  .content .outmenu { line-height: 1.6; }
  .content table:has(td[width]), .content table:has(td[width]) > tbody, .content table:has(td[width]) > tbody > tr, .content table:has(td[width]) > tbody > tr > td { display: block; width: auto !important; }
  .content table:not(:has(td[width])) { display: block; overflow-x: auto; }
  .content td { padding: 4px; }
  .content [style*="margin-left"], .content [style*="padding-left"] { margin-left: 0 !important; padding-left: 0 !important; }
  .content p[align], .content [style*="text-align: justify"] { text-align: left !important; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .leftmenu { padding: 8px 0; }
  .leftmenu .item { margin: 0 14px; padding: 8px 0 8px 12px; font-size: 15px; }
  .leftmenu .active { background-position: 0 14px; }
  .rs_box .row_1 span { display: block; width: auto; }
  .rs_box_full .row_2 { font-size: 18px; padding: 20px 56px 20px 16px; }
  .faq_box .faq_otvet { padding: 14px; }

  .callback_form_2 { width: auto; height: auto; padding: 18px 16px 20px; background: #d7ebf6; border: 1px solid #c9e4f2; border-bottom-color: #60a6d1; border-radius: 10px; }
  .callback_form_2 .input, .callback_form_2 .textarea { position: static; width: auto; height: auto; padding: 0 0 12px; background: none; }
  .callback_form_2 input, .callback_form_2 textarea { position: static; width: 100%; height: 44px; padding: 0 12px; border: 1px solid #b6d3e2; border-radius: 6px; background: #fff; font-size: 16px; }
  .callback_form_2 textarea { height: 150px; padding: 10px 12px; resize: vertical; }
  .callback_form_2 .submit_btn { position: static; }
  .callback_form_2 .submit_btn img { width: 160px; }

  .share { padding: 14px 16px; }
  .podval { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px 16px 28px; font-size: 14px; }
  .podval .box_1 { order: 3; }
  .podval .box_3 { order: 4; }
  .podval .foot-phone { display: block; padding: 10px 0 0 2px; }
}

@media print {
  .item_1, .topmenu, .sidebar, .print_page_box, .share, .zz-line, .zz-line2, .podval, .callback_form_2, .form-heading { display: none !important; }
  .content_table { display: block; margin: 0; }
  body, .paper, .logofon, .content { background: none; }
  .content { padding: 0; }
}
