/* Responsive additions for the custom ab-audit.ru theme. Load after legacy styles. */
.ab-contact-bar {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:#eef4fb;color:#163a69;font:16px/1.5 Arial,sans-serif;clear:both}
.ab-contact-bar a {color:#163a69;text-decoration:none;font-weight:700}
.ab-contact-bar .ab-button,.ab-hero .ab-button {display:inline-block;width:auto;min-height:44px;box-sizing:border-box;padding:11px 18px;border-radius:6px;background:#174a8b;color:#fff;font:700 16px/1.4 Arial,sans-serif;text-decoration:none}
.ab-contact-bar a:focus-visible,.ab-hero a:focus-visible {outline:3px solid #b26900;outline-offset:3px}
.ab-hero {box-sizing:border-box;padding:28px 22px;background:#f1f6fc;color:#20324a;clear:both;font:16px/1.65 Arial,sans-serif}
.ab-hero h1 {font:700 30px/1.25 Arial,sans-serif;color:#174a8b;margin:0 0 16px}
.ab-hero p {font:16px/1.65 Arial,sans-serif;margin-bottom:16px}
.ab-hero .ab-services {display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.ab-hero .ab-services a {display:inline-block;width:auto;box-sizing:border-box;margin:0;padding:10px 12px;border:1px solid #b7cbe2;border-radius:5px;background:white;font:700 14px/1.4 Arial,sans-serif;color:#174a8b}
.ab-service-copy h2 {font:700 21px/1.35 Arial,sans-serif;margin:24px 0 12px;color:#174a8b}
.ab-service-copy p,.ab-service-copy li {font:16px/1.65 Arial,sans-serif}
.b-content .ab-service-copy ul {float:none;display:block;width:auto;margin:0 0 16px 22px}
.b-content .ab-service-copy ol {margin:0 0 16px 22px}
.b-content .ab-service-copy li {float:none;display:list-item;width:auto;padding:0;border:0}
.b-content .ab-service-copy a {display:inline;width:auto;margin:0;font:inherit;text-decoration:underline}
.b-content .ab-service-copy li::after {display:none}
.ab-service-copy .ab-button {display:inline-block!important;box-sizing:border-box;padding:11px 18px;background:#174a8b;color:white;border-radius:6px;min-height:44px;text-decoration:none!important}

@media (max-width:979px) {
  .container,.b-menu,.b-content,.footer {width:100%;max-width:980px;min-width:0;box-sizing:border-box}
  .b-content {display:flex;flex-direction:column;min-height:0;overflow:visible}
  .center_block,div#primary {order:1;float:none;width:100%;box-sizing:border-box;margin:0;padding:20px;min-width:0}
  .center_block {padding:0}
  .b-content .sidebar {order:2;position:static;float:none;box-sizing:border-box;width:100%;height:auto;border:0;margin:20px 0 0;padding:0 16px;overflow:visible}
  .b-content .title_sidebar,.b-content .sidebar ul,.b-content .sidebar li {float:none;box-sizing:border-box;width:100%;height:auto}
  .b-content .sidebar li {padding:12px 16px}
  .b-content .sidebar a {width:auto;display:block;font-size:14px;line-height:1.5}
  .b-content .title_cat {float:none;box-sizing:border-box;width:100%;padding:8px 16px}
  .b-content .sidebar li::after {display:none}
  .b-content .b-help,.b-content .b-vakansy {position:static;float:none;width:auto;margin:14px 0;height:auto}
  .b-content .b-help::after,.b-content .b-vakansy::after {content:'';display:block;clear:both}
  .left_center_block,.right_content {float:none;box-sizing:border-box;width:100%;height:auto;margin:0;padding:20px}
  .left_center_block .b-post,.right_content .b-news {float:none;width:100%;height:auto;overflow:auto}
  .left_center_block .b-post .title_post {float:none;font-size:16px;line-height:1.4}
  .left_center_block .b-post .text_post {font-size:14px;line-height:1.65}
  .right_content {display:none}
  .b-menu {height:auto;padding:5px}
  .b-menu li {margin:0!important}
  .b-menu li a {float:none;margin:0;padding:10px 12px;font-size:16px;line-height:1.4}
  .slider {display:none}
  .slider ul {width:100%!important;height:110px;position:static!important;left:0!important}
  .slider ul li {display:none;float:none;width:100%;height:110px}
  .slider ul li:first-child {display:block}
  .sliderimg,.text_slide_1,.slider .nav,.text_logo {display:none}
  .b-logo {position:relative;width:100%;height:110px;background:#f8fbff;box-sizing:border-box;padding:24px 16px}
  .b-logo br {display:none}
  .logo {float:none;margin:0;max-width:100%;width:280px}
  .logo img {display:block;max-width:100%;height:auto}
  .footer {height:auto;background:#304898;padding:20px 16px}
  .footer .footer_logo,.footer .b_footer_menu,.footer .b_footer_menu ul {float:none;width:100%;height:auto;margin:0;overflow:auto}
  .footer .footer_logo .logo_foot {display:none}
  .footer .footer_logo .copy {float:none;margin:0 0 18px;width:auto;height:auto}
  .footer .b_footer_menu li {float:none;display:inline-block;border:0}
  .footer .b_footer_menu a {display:inline-block;padding:10px!important;font-size:15px}
  .entry-content {overflow-wrap:anywhere}
  .entry-content img {max-width:100%;height:auto}
  .entry-content table {display:block;max-width:100%;overflow-x:auto}
  .ab-contact-bar {padding:12px 16px;font-size:15px}
  .ab-contact-bar .ab-button {font-size:15px}
  .ab-hero {padding:24px 20px}
  .ab-hero h1 {font-size:27px}
}
