/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-v57-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-v57-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-v57-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-v57-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/oswald-v57-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.mainbg::before {
  content: '';
  background: url(../images/banner.jpg);
  background-size: cover;
  position: absolute;
  z-index: -20;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 219px);
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: #00357b;
}

.otherbg::before {
  content: '';
  background: url(../images/banner.jpg);
  background-size: cover;
  position: absolute;
  z-index: -20;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 219px);
}

.otherbg {
  min-height: 400px;
  position: relative;
  padding-top: 30px;
}

.gallery-items:not(.mobile) {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  margin-bottom: 50px;
}

.gallery-item img {
  max-height: 500px;
  margin: auto;
  display: block;
}

.lg-outer {
  z-index: 999999 !important;
}

.lg-backdrop {
  z-index: 999998 !important;
}

@media (min-width: 992px) {
  body .lg-actions .lg-next {
    right: 25vh;
    background: orangered;
  }

  body .lg-actions .lg-prev {
    left: 25vh;
    background: orangered;
  }
}

@media screen and (max-width: 992px) {
  .otherbg::before {
    height: calc(100% + 350px);
  }

  .otherbg {
    position: static;
  }

  */ .gallery-items:not(.mobile) {
    grid-template-columns: 1fr 1fr;
  }
}

h1,
.h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 800;
  font-size: 60px;
  line-height: 89px;
  z-index: 20;
  position: relative;
}

.h1:before {
  content: '';
  background-image: url(../images/rectangle-2.png);
  background-repeat: no-repeat;
  min-width: 175px;
  min-height: 175px;
  display: block;
  position: absolute;
  margin-top: -50px;
  z-index: -1;
  margin-left: -60px;
}

.slogan {
  position: relative;
  z-index: 2;
}

h2,
.h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  padding-left: 10px;
  font-size: 40px;
  text-transform: uppercase;
  line-height: 59px;
  background-image: url(../images/rectangle-h2.png);
  background-repeat: no-repeat;
}

img {
  max-width: 100%;
}

.h3,
h3 {
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 36px;
  text-transform: uppercase;
  color: #333333;
  padding: 20px 0 10px 0;
}

.section5 .nav-link.active,
.section5 .show > .nav-link {
  color: orangered;
  background: none;
  text-decoration: underline;
}

.section5 .nav-link {
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 36px;
  text-transform: uppercase;
  color: black;
}

.btn {
  box-shadow: 5px 4px 5px rgba(6, 32, 61, 0.15);
  font-family: 'Oswald', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  color: #ffffff;
}

.vector {
  background: url(../images/vector.png) no-repeat top left;
  background-size: 6%;
}

label {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  color: #1f2041;
}

.big {
  font-size: 40px;
}

.topkontakt {
  font-size: 18px;
}

.orange {
  color: orangered;
}

.bg-warning {
  background-color: orangered !important;
}

.btn-warning {
  background-color: orangered;
}

.text-warning {
  color: orangered !important;
}

.btn-rob {
  font-family: 'Roboto', sans-serif;
}

.border-2 {
  border: 2px solid #ffffff !important;
}

.ml-6 {
  margin-left: 6rem !important;
}

.kont {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 27px;
  color: #333333;
}

.kon1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 28px;
  color: #4f4f4f;
}

.podval {
  background-color: #0c3777;
}

.breadcrumb {
  background: none;
}

ol.breadcrumb {
  padding: 0;
}

a {
  color: #0c3777;
}

.bg-primary,
.btn-primary {
  background-color: #0c3777 !important;
}

.list-group-item {
  background-color: transparent;
  border: none;
  padding: 0.25rem 0rem;
  font-size: 1.1rem;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent;
}

.dropdown-menu {
  width: 1000px;
  margin-left: -310px;
}
.dropdown-submenu.auto-more.last > .dropdown-menu{
  bottom: 0;
  top: auto;
}
/* .navbar > .nav > .nav-item > .dropdown-menu {
    max-height: 715px;
    overflow-y: auto;
} */

.dropdown-item {
  white-space: normal;
}

.nav-link {
  font-size: 18px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

.topcontakt {
  font-size: 18px;
}

.z-index-1 {
  z-index: 2;
}

.cooltext {
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 21px;
  color: #212529;
}

.btn-warning:hover {
  color: #ffffff;
  background-color: orangered;
  border-color: orangered;
}

.btn-warning.focus,
.btn-warning:focus {
  color: #ffffff;
  background-color: orangered;
  border-color: orangered;
  box-shadow: none;
}

.btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active,
.show > .btn-warning.dropdown-toggle {
  color: #ffffff;
  background-color: orangered;
  border-color: orangered;
}

.btn-warning:not(:disabled):not(.disabled).active:focus,
.btn-warning:not(:disabled):not(.disabled):active:focus,
.show > .btn-warning.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0);
}

.navbar-toggler {
  border: 2px solid transparent;
}

.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
}

.ikonki {
  top: 50%;
  left: 0;
  width: 30px;
  display: block;
  z-index: 20;
}

.row.h1-with-form {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.row.h1-with-form > div {
  width: calc(100% - 520px);
  min-width: 350px;
}

.row.h1-with-form form {
  width: 520px;
}

.row.h1-with-form form label {
  color: #fff;
}

.row.h1-with-form form p.h2 {
  color: #fff;
}

.row.h1-with-form .h1:before {
  margin-top: -11px;
  margin-left: -40px;
}

.row.h1-with-form .price_header {
  line-height: 58px !important;
  display: block;
}

.row.h1-with-form .price_header,
.row.h1-with-form .srok_header {
  font-size: 49px;
  line-height: 49px !important;
}

.row.h1-with-form .h1 {
  padding-top: initial !important;
  margin-top: initial !important;
  margin-left: initial !important;
}

.row.h1-with-form .h1,
.row.h1-with-form .h1 h1 {
  line-height: 70px;
}

.row.h1-with-form .h1 h1 {
  min-height: 140px;
}

.contact_form form > * {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  margin: initial !important;
}

.contact_form form > * * {
  max-width: initial;
}

.contact_images img {
  width: calc(100% / 3 - 20px);
  display: block;
}

.contact_form form {
  display: flex;
  flex-direction: column;
  width: 100% !important;
}

.contact_form > * {
  width: 50%;
}

.contact_form {
  display: flex;
  gap: 70px;
}

.contact_images {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin-bottom: 30px;
}

.facts_items div.fact_item span {
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #495057;
  margin-bottom: 10px;
  display: block;
}

.facts_items div.fact_item p {
  font-weight: 400;
  font-size: 16px;
  color: #000;
  line-height: 18px;
}

.facts_items div.fact_item {
  box-shadow: 7px 7px 20px 0 rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facts_items {
  display: grid;
  grid-template-areas: 'a a b c';
  gap: 5px;
  margin-bottom: 5px;
}

.facts_items img.fact_item {
  width: 373px;
  height: 255px;
  border-radius: 10px;
  object-fit: cover;
}

.about_main,
.top_about_main,
.slider_years_main {
  background: #e9ecef;
}

.slider_years {
  padding-bottom: 20px;
  margin-bottom: 60px;
}

.year_item {
  border-radius: 10px;
  width: 260px;
  height: 250px;
  display: inline-block;
  vertical-align: top;
  box-shadow: 7px 7px 20px 0 rgba(0, 0, 0, 0.08);
  padding: 15px 23px;
}

.slider_years_main {
  margin-bottom: 50px;
  padding-bottom: 30px;
}

.year_item span {
  font-weight: 700;
  font-size: 40px;
  line-height: 147%;
  text-transform: uppercase;
  color: #ff4500;
  letter-spacing: -2.4px;
  display: block;
  margin-bottom: 10px;
  background: url(/manager/templates/sovarpk/images/about_arrow.png);
  background-repeat: no-repeat;
  background-position: center right;
}

.year_item:last-child span {
  background: initial;
}

.year_item p {
  width: 180px;
  line-height: 20px;
}

.slider_years .slider_help_years {
  display: flex;
  gap: 27px;
  padding-bottom: 20px;
}

.slider_years {
  width: 1408px;
  margin: 0 auto;
  max-width: 100%;
  padding-top: 30px;
}

ul.faq_main li.faq_item span.faq_title {
  display: block;
  background: #ff5e0038;
  color: #212529;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 14px;
  box-shadow: 2px 2px 5px #8080805c;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  padding-right: 60px;
}

ul.faq_main li.faq_item span.faq_title:before {
  position: absolute;
  content: '\279C';
  right: 30px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 30px;
  height: 30px;
  border: 3px solid #212529;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212529;
  transition: 0.3s;
}

ul.faq_main li.faq_item span.faq_title:hover:before {
  transform: translateY(-50%) rotate(65deg);
  color: #fff;
  border-color: #fff;
}

.faq_main li.faq_item span.faq_title.active:before {
  transform: translateY(-50%) rotate(-90deg);
  color: #fff;
  border-color: #fff;
  padding-bottom: 2px;
}

.faq_main li.faq_item span.faq_title.active:hover:before {
  transform: translateY(-50%) rotate(-90deg);
  color: #fff;
  border-color: #fff;
  padding-bottom: 2px;
}

ul.faq_main li.faq_item span.faq_title + .faq_text {
  max-height: 0;
  display: block;
  overflow: hidden;
  transition: 0.3s;
  padding-left: 40px;
  margin-top: 0;
}

ul.faq_main li.faq_item span.faq_title.active + .faq_text {
  max-height: 300px;
  padding-top: 16px;
}

ul.faq_main li.faq_item span.faq_title:hover,
ul.faq_main li.faq_item span.faq_title.active {
  transform: scale(1.01);
  background: #ff5e00;
  color: #fff;
}

ul.faq_main li.faq_item {
  list-style: none;
  margin-bottom: 20px;
}

ul.faq_main {
  padding: initial;
  margin-top: 30px;
}

.form_service textarea {
  height: 100%;
}

span.srok_header.text-white {
  margin-top: 10px;
  display: block;
}

.example_work {
  height: auto !important;
}

.section5 #aniimated-thumbnials,
.section5 #aniimated-thumbnials1,
.section5 #aniimated-thumbnials2,
.section5 #aniimated-thumbnials3,
.section5 #aniimated-thumbnials4,
.section5 #aniimated-thumbnials-new {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#aniimated-thumbnials a,
#aniimated-thumbnials-new a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#aniimated-thumbnials img,
#aniimated-thumbnials-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sert-slider .lslide > a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.sert-slider .lslide > a > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.our_works_main_page .tab-content > div > div > div {
  width: calc((100% - 4%) / 5);
  height: 280px;
}

.our_works_main_page .tab-content > div > div > div img {
  height: 100%;
  object-fit: cover;
  width: 100%;aspect-ratio:1.44;
}

.row.captcha_btn p {
  line-height: 130%;
  font-size: 12px;
  width: 120%;
  color: #fff;
  margin: 0;
  width: 100%;
}

.row.captcha_btn p a {
  color: #fff;
  text-decoration: underline;
}

.row p.policy {
  line-height: 130%;
  font-size: 12px;
  width: 100%;
  color: #212529;
  margin: 5px 0 0 0;
}

.row p.policy a {
  color: #212529;
  text-decoration: underline;
}

.news-list {
  gap: 30px 0;
}

.news-list .news-thumb {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.offers-wr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  background: #fff;
  border-radius: 10px;
  box-shadow: 7px 7px 20px 0px #00000014;
  position: relative;
  align-items: center;
}

.offer__media {
  height: 100%;
  position: relative;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
}

.offer__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.offer__content {
  position: relative;
  padding: 34px;
  height: 100%;
  padding-top: 50px;
}

.offer__title {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  color: #495057;
}

.offer__p {
  font-weight: 400;
  font-size: 16px;
}

.ribbon {
  position: absolute;
  top: 16px;
  right: -11px;
  background: #ff4b21;
  color: #fff;
  font-weight: 800;
  padding: 7px 16px;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
}

.ribbon::after {
  content: '';
  position: absolute;
  right: 0px;
  bottom: -20px;
  transform: translateY(-50%);
  border-left: 11px solid #c13611;
  border-top: 0px solid transparent;
  border-bottom: 14px solid transparent;
}

.contact-info {
  background: #0c3777;
  border-radius: 10px;
  padding: 35px 60px;
}

.contact-details {
  display: flex;
  align-items: center;
  grid-gap: 50px;
  height: 100%;
}

.contact-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 46px;
  color: #fff;
}

.contact-btn__call,
.contact-btn__write {
  background: linear-gradient(96.26deg, #19ffc6 0%, #196dff 100%);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  text-decoration: none;
  color: #ffffff;
}

.contact-btn__call:hover,
.contact-btn__write:hover {
  text-decoration: none;
}

.contact-btn__call svg,
.contact-btn__write svg {
  margin-right: 10px;
}

.contact-btn:not(:last-child) {
  margin-bottom: 20px;
}

.about-image-card {
  margin-bottom: 15px;
}
.about-image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
  .about-image-card img {
    height: 200px; /* Уменьшаем высоту на телефонах */
  }
  .about-description {
    text-align: left;
  }
  .btn-more {
    width: 100%; /* Кнопка на весь экран на мобилках */
    text-align: center;
  }
}

@media (max-width: 1200px) {
  .contact-details {
    flex-direction: column;
    justify-content: center;
  }

  .contact-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .offer-item {
    grid-template-columns: 1fr;
  }

  .offer__content {
    position: initial;
  }

  .offer__media {
    min-height: 200px;
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .contact-title,
  .offer__title {
    font-size: 24px;
  }

  .offer__p {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .offers-wr {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 40px;
  }
}

@media (max-width: 400px) {
  .contact-title {
    font-size: 20px;
  }
}

@media (max-width: 1200px) {
  span.srok_header.text-white {
    font-size: 30px;
  }

  .row.h1-with-form .price_header {
    font-size: 30px;
  }
}

@media (min-width: 920px) and (max-width: 992px) {
  span.srok_header.text-white {
    font-size: 25px;
    margin-top: 0px;
  }

  .row.h1-with-form .price_header {
    font-size: 25px;
    line-height: 48px !important;
  }
}

.uslugi_block img.card-img-top {
  height: 270px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 1300px) {
  .topkontakt {
    font-size: 22px;
  }

  .nav-link {
    font-size: 20px;
  }

  .dropdown-menu {
    font-size: 1.1rem;
  }
}

@media (max-width: 1499px) {
  .navbar-dark .navbar-nav .nav-link {
    font-size: 16px;
  }

  .row.captcha_btn .col-lg-6.text-right button {
    width: 100%;
  }

  .row.captcha_btn .col-lg-6.text-right {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .row.captcha_btn {
    display: flex;
    flex-direction: column;
  }

  .time_head {
    display: none;
  }

  .slider_years {
    width: 100%;
    overflow-x: auto;
  }

  .slider_years .slider_help_years {
    width: 1408px;
  }

  .slider_years .year_item {
    box-shadow: initial;
  }

  .year_item:first-child {
    margin-left: 15px;
  }

  .year_item:last-child {
    margin-right: 15px;
  }

  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 31px;
    line-height: 31px !important;
  }

  .row.h1-with-form .price_header {
    margin-top: 50px !important;
  }
}

@media (max-width: 1200px) {
  .navbar-dark .navbar-nav .nav-link {
    font-size: 13.5px;
  }

  .dropdown-menu {
    width: 1000px;
    margin-left: -378px;
  }

  .topkontakt {
    font-size: 18px;
  }

  .nav-link {
    font-size: 18px;
  }

  .row.h1-with-form .h1 h1 {
    min-height: initial;
  }

  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 20px;
    line-height: 20px !important;
  }
}

@media (max-width: 1100px) {
  .dropdown-menu {
    width: 900px;
    margin-left: -370px;
  }
}

@media (max-width: 991px) {
  .dropdown-menu {
    width: auto;
    margin-left: auto;
  }

  form.form_service div#captcha_contaktforma {
    position: absolute;
    bottom: -224px;
  }

  form.form_service .col-lg-6.mb-3:first-of-type {
    margin-bottom: 0 !important;
  }

  form.form_service button {
    margin-top: 82px;
  }

  .our_works_main_page .tab-content > div > div > div {
    width: calc(100% / 3);
  }

  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 16px;
    line-height: 16px !important;
  }

  .card-columns {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }

  .facts_items {
    display: flex;
    flex-direction: column;
  }

  .facts_items img.fact_item {
    order: 2;
    width: 100%;
  }

  .facts_items div.fact_item {
    padding: 15px 25px;
  }

  .sticky {
    background: transparent;
    position: static;
  }

  .navbar-dark .navbar-nav .nav-link {
    font-size: 18px;
  }

  .gallery-items:not(.mobile) {
    display: none !important;
  }

  .gallery-items.mobile .gallery-item {
    display: flex;
    height: 100%;
  }

  .gallery-items.mobile {
    margin-bottom: 50px;
  }
}

@media (max-width: 920px) {
  .row.h1-with-form .h1,
  .row.h1-with-form .h1 h1 {
    font-size: 40px !important;
    line-height: 50px;
  }

  .row.h1-with-form .price_header {
    display: block;
  }
}

@media (max-width: 850px) {
  .row.h1-with-form {
    display: flex;
    flex-direction: column;
  }

  .row.h1-with-form > div {
    width: calc(100% - 80px);
    margin-bottom: 0 !important;
  }

  .row.h1-with-form > form {
    width: 100% !important;
    margin-top: 90px;
    padding: 15px;
    background: #00357b;
    box-sizing: content-box;
    margin: 0 -15px;
  }

  .row.h1-with-form .h1 {
    width: 100%;
    margin-bottom: 40px !important;
  }

  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 28px;
    line-height: 28px !important;
  }
}

@media (max-width: 768px) {
  h1,
  .h1 {
    font-size: 38px;
    line-height: 48px;
  }

  .contact_form {
    display: flex;
    gap: 0;
    flex-direction: column;
  }

  .contact_form > * {
    width: 100%;
  }

  div#cookie-banner {
    padding-right: 40px !important;
  }

  button#close-cookie-banner {
    position: absolute;
    right: 10px;
    top: 6px;
  }

  .h1:before {
    min-width: 120px;
    min-height: 120px;
    background: none;
    border: 8px solid #ff5e00;
    border-radius: 3px;
    margin-left: -20px !important;
  }

  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 26px;
    line-height: 26px !important;
  }
}

@media (max-width: 530px) {
  .mobil_buttom {
    position: relative;
  }

  .container-fluid.otherbg.pb-3 .pb-4.row {
    position: relative;
  }

  .h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    padding-left: 10px;
    font-size: 34px;
    text-transform: uppercase;
  }

  h2 {
    font-size: 35px;
  }

  .h1.glav {
    border: 5px solid #ff5e00;
  }

  .h1.glav:before {
    display: none;
  }

  .col-lg-auto.ml-auto.text-center.text-xl-right {
    position: absolute;
    top: 0px;
  }

  .sticky .col-lg-auto.ml-auto.text-center.text-xl-right {
    width: 90%;
  }

  .btn.btn-warning.text-white.my-2.text-uppercase.ml-auto {
    position: absolute;
    left: 30%;
  }
  #aniimated-thumbnials-new
    .btn.btn-warning.text-white.my-2.text-uppercase.ml-auto {
    left: 0;
  }

  .card-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }

  h1.slogan {
    font-size: 28px;
    line-height: 38px;
  }

  .row.h1-with-form .h1 {
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 40px !important;
    padding-left: 21px !important;
  }

  .row.h1-with-form .h1:before {
    margin-left: -20px;
  }

  .our_works_main_page .tab-content > div > div > div {
    height: 210px;
  }

  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 21px;
    line-height: 21px !important;
  }
}

@media (min-width: 992px) {
  .article_wrap .gallery-items + .lSSlideOuter,
  .gallery-items.mobile {
    display: none !important;
  }

  .card-columns {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
  }
}

@media (min-width: 1500px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1440px;
  }
}

@media (min-width: 300px) and (max-width: 389px) {
  body {
    overflow-x: hidden;
  }

  html {
    overflow-x: hidden;
  }

  h2 {
    font-size: 30px !important;
  }

  h1 {
    font-size: 30px !important;
  }
}

@media (max-width: 450px) {
  #pills-tabContent .h2 {
    font-size: 32px;
  }

  .our_works_main_page .tab-content > div > div > div {
    width: calc(100% / 2);
  }
}

@media (max-width: 370px) {
  .row.h1-with-form .price_header,
  .row.h1-with-form .srok_header {
    font-size: 15px;
    line-height: 15px !important;
  }
}

@media (max-width: 980px) {
  .nav.mb-3.justify-content-center {
    justify-content: left !important;
  }

  form .row .col-lg-6.text-right {
    text-align: center !important;
  }

  .row.align-items-center
    .btn.btn-warning.float-right.py-2.px-5.text-uppercase {
    margin: 0 auto;
    float: none !important;
    align-self: center !important;
    align-items: center;
  }

  .card.h-100 .card-footer.bg-white.border-top-0 {
    display: flex;
  }

  .card.h-100
    .card-footer.bg-white.border-top-0
    .btn.btn-warning.float-right.py-2.px-5.text-uppercase.align-self-end {
    margin: 0 auto;
    float: none !important;
    align-self: center !important;
    align-items: center;
  }
}

header.mobile,
#menu_mobile {
  display: none;
}

.form_faq_wr {
  background: #0c3777;
  padding: 30px 80px;
}

.form_faq_wr .h2 {
  color: #ffffff;
}

.form_faq_wr .row p.policy a,
.form_faq_wr .row p.policy,
.form_faq_wr .policy a,
.form_faq_wr .policy {
  color: #ffffff;
}

.process-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.process-number {
  color: #ff4500;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 59px;
  vertical-align: middle;
  text-transform: uppercase;
}

.process-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.process-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
}

.work-process .gy-18 {
  margin-top: -18px;
  margin-bottom: -18px;
}

.work-process .gy-18 > [class^='col-'] {
  padding-top: 18px;
  padding-bottom: 18px;
}

div#aniimated-thumbnials a {
  display: block;
}

.review_company_block {
  background: #ff45000d;
  border-radius: 15px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 3px 3px 6px #00000014;
  display: flex;
  align-items: center;
  user-select: none;
}

.review_company_block .review_total_block {
  display: inline-block;
  margin-right: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 4px 15px;
  font-weight: bold;
}

span.star_review_icon {
  border-right: 1px solid #000;
  height: 16px;
  display: inline-flex;
  align-items: center;
  padding-right: 7px;
  box-shadow: 1px 0px 0 #00000042;
  margin-right: 7px;
  margin-left: 4px;
  padding-bottom: 1px;
  color: #ff4500;
  font-size: 18px;
}

span.text_review_total {
  color: #000000b8;
  font-size: 15px;
  font-weight: 400;
}

.review_companies_items {
  display: flex;
  font-weight: 600;
}

.review_company_item {
  cursor: pointer;
  user-select: none;
  background: transparent;
  border-radius: 10px;
  padding: 4px 15px;
  transition: 0.3s;
}

.review_company_item.active {
  background: #fff;
}

.review_block .reviews .review {
  display: inline-block;
  background: #ff45000d;
  border-radius: 15px;
  padding: 15px 20px;
  margin-bottom: 20px;
  width: 337px;
  vertical-align: top;
}

.review__header {
  background: #fff;
  border-radius: 15px;
  padding: 15px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.review__header img {
  width: 40px;
  height: 40px;
  object-fit: scale-down;
}

.username_review {
  font-weight: 600;
  font-size: 15px;
}

.from_review {
  font-size: 14px;
}

.review__stars {
  margin: 10px 0;
  color: #ff4500;
  font-size: 25px;
}

.review_block .reviews .review p {
  background: #fff;
  border-radius: 15px;
  padding: 15px 17px;
  margin-bottom: 0;
  height: 200px;
  overflow: auto;
  font-size: 15px;
  line-height: 20px;
  display: block;
}

.reviews {
  padding-bottom: 20px !important;
  box-sizing: content-box;
}

.review_without_comp .review_company_block {
  display: none;
}

@media (max-width: 980px) {
  header.mobile {
    flex-wrap: wrap;
    width: 100%;
    height: 60px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    background: #00357b;
    z-index: 999;
  }

  header.mobile.active {
    display: flex;
  }

  header.mobile .content_in {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  header.mobile .content_in .menu {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
  }

  header.mobile .content_in .logo {
    height: 36px;
  }

  header.mobile .content_in .logo img {
    width: 100%;
    height: 100%;
  }

  header.mobile .content_in .block_btn {
    width: auto;
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin: 0 0 0 auto;
  }

  header.mobile .content_in .block_btn i {
    color: #fff;
    font-size: 30px;
  }

  #menu_mobile {
    position: fixed;
    width: calc(100vw - 40px);
    height: calc(100vh - 60px);
    top: 60px;
    left: -100vw;
    z-index: 500;
    display: flex;
    background: #00357b;
    padding: 40px;
    overflow-y: auto;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
  }

  #menu_mobile.active {
    left: 0;
  }

  #menu_mobile nav {
    width: 100%;
    align-items: flex-start;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .review_block ul.lSPager.lSpg {
    display: none;
  }
}

@media (max-width: 680px) {
  .form_faq_wr {
    padding: 30px 20px;
  }

  .position-fixed.ikonki.bg-white.rounded-right {
    display: none;
  }
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-link .h3,
.stretched-link .h3 {
  color: #212529;
}

.stretched-link {
  text-decoration: none;
}

.stretched-link:hover {
  text-decoration: none;
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: '';
}

.card-link .card {
  transition: all 0.3s ease-in-out;
}

.card-link:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card.position-relative {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.card.position-relative:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-buttons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.info-btn {
  background-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 5px;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.info-btn:hover {
  background-color: rgba(108, 117, 125, 0.8);
  color: #fff;
}

.banner-modal .modal-content {
  border-radius: 6px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.banner-modal .modal-header {
  border-bottom: none;
  justify-content: center;
  padding: 0px 15px 15px 15px;
}

.banner-modal .modal-title {
  border: 6px solid #ff4d00;
  border-radius: 0px 0px 6px 6px;
  color: #ff4d00;
  font-weight: bold;
  padding: 30px 40px;
  display: inline-block;
  text-align: center;
  font-size: 40px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  border-top: none;
}

.banner-modal .modal-dialog {
  max-width: 820px;
}

.banner-modal .modal-header .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #aaa;
  opacity: 0.8;
}

.banner-modal .modal-header .close:hover {
  opacity: 1;
}

.banner-modal .modal-body {
  padding: 15px 30px 30px 30px;
}

iframe.fixed-bottom {
  border: none;
}

img.custom_image {
  display: block;
  margin: 30px auto;
  max-width: 620px;
}

.left_block_vizual .h2 {
  width: 506px;
  letter-spacing: 1px;
}

.left_block_vizual .h2 span {
  text-decoration: underline;
  text-decoration-color: #ff4500;
}

.new_form_vizual {
  display: flex;
  background: #00357b;
  padding: 100px 80px;
  gap: 85px;
}

.left_block_vizual {
  color: #fff;
}

.left_block_vizual_items {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 50px;
  margin-top: 32px;
}

.left_block_vizual_items div {
  min-width: 305px;
  height: 72px;
  display: flex;
  gap: 15px;
  text-transform: uppercase;
  align-items: center;
  max-width: 305px;
  font-size: 24px;
  line-height: 28px;
  font-family: 'Oswald';
}

.custom-file-upload {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.custom-file-upload label {
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.custom-file-upload label i {
  margin-right: 8px;
}

.custom-file-upload input[type='file'] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-upload span.input-group-text {
  height: 38px;
  width: 41px;
  border-radius: 5px 0 0 5px;
}

.custom-file-upload label div + span {
  text-transform: none;
  margin-left: 15px;
  font-size: 15px;
}

.custom-file-upload label {
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  text-decoration: none;
  height: 38px;
  display: flex;
  align-items: center;
}

.new_form_vizual p.policy {
  text-align: left;
  margin-left: 40px !important;
  display: block;
  width: initial !important;
  color: #fff !important;
  font-size: 14px;
  line-height: 19px;
}

.new_form_vizual p.policy a {
  color: #fff !important;
}

.new_form_vizual form {
  max-width: 503px;
  min-width: 503px;
}

.new_form_vizual button {
  width: 246px;
}

.modal-open .modal {
  z-index: 99999;
}

.image_portfolio_block {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.image_portfolio_block img {
  width: 50%;
}

.news-title {
  padding: 0;
  margin: 0;
  font-weight: 700;
  font-size: 23px;
  line-height: 128%;
  text-transform: none;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 30px;
}

.news-date {
  font-weight: 400;
  font-size: 16px;
  line-height: 128%;
  color: #9b9b9b !important;
  margin-top: 19px;
  margin-bottom: 14px;
}

.news-card {
  padding: 20px;
  border: 1px solid #cdd4db;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-btn {
  border: 1px solid #ffbd00;
  border-radius: 5px;
  background: #ff2700;
}

.pagination-wrapper {
  margin-top: 30px;
}

.pagination-wrapper .pagination {
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pagination-wrapper .pagination li:nth-child(-n + 2),
.pagination-wrapper .pagination li:nth-last-child(-n + 2) {
  display: none;
}

.pagination-wrapper .pagination li a {
  font-size: 0;
  padding: 12.5px;
  border: 0;
  background: #efefef;
  border-radius: 50%;
  transition: 0.3s;
}

.pagination-wrapper .pagination li a:hover {
  transition: 0.3s;
}

@media (max-width: 1500px) {
  .new_form_vizual {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
  }

  .left_block_vizual .h2 {
    width: 100%;
  }

  .new_form_vizual form {
    width: 503px;
    min-width: 100%;
    display: block;
  }
}

@media (max-width: 576px) {
  .image_portfolio_block {
    flex-wrap: wrap;
  }

  .image_portfolio_block img {
    width: 100%;
  }

  img.custom_image {
    max-width: 360px;
  }
  .new_form_vizual form {
    width: 100%;
  }
}

#anex_office .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2300357B' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

#anex_office .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2300357B' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

#anex_office .carousel-item.vert img {
  max-height: 690px !important;
  width: 100%;
  object-fit: scale-down;
}

.ikonki a img {
  width: 80%;
}

img.max_icon {
  width: 36px;
  vertical-align: middle;
  margin-top: -9px;
}

div#aniimated-thumbnials-new .pb-4 button {
  margin: 0 auto;
  display: block;
  width: 100%;
  z-index: 10;
  position: relative;
}
a > .card.h-100 > .card-img-top {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Блок МЕТА (Дата, Время, Просмотры) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  padding-top: 10px;
}

.article-meta__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6c6c6c; /* Серый цвет как на скрине */
  font-weight: 600;
  font-size: 16px;
}

.meta-icon {
  width: 24px;
  height: 24px;
  stroke: #6c6c6c;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Контейнер оглавления */
.toc {
  background-color: #003380; /* Темно-синий фон */
  padding: 30px;
  border-radius: 4px;
  color: #ffffff;
  position: sticky;
  top: 65px;
}
.toc__title {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  text-transform: uppercase;
}

/* Шапка оглавления (кликабельная область) */
.toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* Иконка стрелочки */
.toc__icon {
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
}

/* Состояние, когда свернуто (поворачиваем стрелку) */
.toc.is-collapsed .toc__icon {
  transform: rotate(180deg);
}

/* Контейнер списка */
.toc__body {
  transition:
    max-height 0.3s ease-out,
    opacity 0.3s ease;
  overflow: hidden;
  max-height: 2000px; /* Достаточно большая высота */
  opacity: 1;
  margin-top: 25px;
}

/* Скрытое состояние */
.toc.is-collapsed .toc__body {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

/* На мобильных (до 768px) можно сделать акцент на том, что это кнопка */
@media (max-width: 768px) {
  .toc__header:active {
    opacity: 0.7;
  }
}

.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter; /* Включаем счетчик */
}

.toc__item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

/* Стилизация цифр в кружочках */
.toc__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  transition: opacity 0.2s;
}

.toc__link::before {
  counter-increment: toc-counter;
  content: counter(toc-counter);
  background-color: #ff3300; /* Оранжево-красный круг */
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toc__link:hover {
  color: #ffc107;
}

.toc__link:hover {
  text-decoration: none;
}

.article_wrap h1 {
  font-weight: 500;
  font-style: Medium;
  font-size: 40px;
  line-height: 100%;
}
.article_wrap .breadcrumb {
  margin-bottom: 0;
}

.article_wrap h2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 128%;
  text-transform: uppercase;
  padding-left: 0;
  background-image: none;
}

.article_wrap .gallery-item {
  height: 266px;
}
.article_wrap .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-grid-nashi-raboty {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.nashi-raboty-item {
  padding: 15px 15px 20px;
  border: 1px solid #cdd4db;
  border-radius: 5px;
  width: 100% !important;
  height: auto !important;
}
.nashi-raboty-item > .lightgallery-custom {
  display: block;
  margin-bottom: 20px;
}
.nashi-raboty-item > .lightgallery-custom > img {
  aspect-ratio: 1.44;
  width: 100%;
  display: block;
  object-fit: cover;
}
.nashi-raboty-top,
.nashi-raboty-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2px 10px;
  min-height: 20px;
}
.nashi-raboty-top {
  margin-bottom: 10px;
}
.nashi-raboty-name {
  font-weight: 700;
  font-size: 22px;
  line-height: 128%;
}
.nashi-raboty-cat {
  background: #003680;
  border-radius: 20px;
  line-height: 16px;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  text-align: center;
}
.nashi-raboty-item .nashi-raboty-btn {
  margin-top: 25px;
  width: 100%;
  max-width: 145px;
}
.nashi-raboty-srok,
.nashi-raboty-price {
  font-size: 16px;
  line-height: 128%;
  color: #6c757d;
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
}
.nashi-raboty-tv {
  font-weight: 600;
  font-size: 16px;
  line-height: 128%;
  color: #000000;
}



.spk-q-wrap {
  width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.spk-q-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 24px;
}

.spk-q-title span {
  color: #ff3d00;
  margin-right: 10px;
  font-weight: 700;
  font-size: 32px;

}

/* Сетка для десктопа */
.spk-q-grid {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-gap: 20px 2%;
}

.spk-q-item-li {
  width: 23%;
  box-sizing: border-box;
}

.spk-q-item {
  cursor: pointer;
  display: block;
  margin: 0;
}

.spk-q-item input {
  display: none;
}

.spk-q-card img {
  width: 100%;
  display: block;
}

.spk-q-card p {
  padding: 12px 0;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  text-transform: none;
}

/* Эффект выбора */
.spk-q-item input:checked + .spk-q-card {
  outline: 1px solid orangered;
  outline-offset: 3px;
  position: relative;
  z-index: 5;
}

/* Кнопки и формы */
.spk-q-footer {
  margin-top: 25px;
  display: flex;
}

.spk-q-footer.right {
  justify-content: flex-end;
}

.spk-q-footer.between {
  justify-content: space-between;
}


.spk-q-link {
  background: none;
  border: none;
  color: #888;
  text-decoration: underline;
  cursor: pointer;
}

.spk-q-flex-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.spk-q-col-6 {
  width: 50%;
  padding: 0 10px;
}

.spk-q-col-3 {
  width: 25%;
  padding: 0 10px;
}
.spk-q-col-4,
.spk-q-col-2 {
    padding: 0 10px;
}
.spk-q-input {
  width: 100%;
  border: none;
  background: #f5f5f5;
  padding: 8px 17px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #CDD4DC;
}

.spk-q-area {
  height: 130px;
  resize: none;
  border: 1px solid #CDD4DC;
  border-radius: 5px;
}

.spk-q-file {
  background: #f5f5f5;
  height: 130px;
  border: 1px solid #CDD4DC;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FF2700;
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  grid-gap: 10px;
}
#q-file-text {
text-decoration: underline;

}

.spk-q-file input {
  display: none;
}

/* Кастомизация точек lightSlider, чтобы они были оранжевыми */
.spk-q-wrap .lSSlideOuter .lSPager.lSpg > li.active a,
.spk-q-wrap .lSSlideOuter .lSPager.lSpg > li:hover a {
  background-color: #ff3d00 !important;
}

/* Контейнер для выравнивания в линию */
.spk-q-install-box {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* Текст "Требуется монтаж" */
.spk-q-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Обертка для инпута и текста */
.spk-q-check-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  user-select: none;
}

/* Скрываем родной радио-кружок */
.spk-q-check-label input {
  display: none;
}

/* Рисуем кастомный квадрат */
.spk-q-checkbox {
  width: 32px;
  height: 32px;
  background: #f4f6f8;
  /* Светло-серый фон как на скрине */
  border: 1px solid #dce1e6;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
}

.spk-q-text {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  text-transform: none;
}

/* Стили для выбранного состояния */
.spk-q-check-label input:checked + .spk-q-checkbox {
  background: #f4f6f8;
  border-color: #dce1e6;
}

/* Рисуем оранжевую галочку (появляется только при :checked) */
.spk-q-check-label input:checked + .spk-q-checkbox::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 4px;
  width: 8px;
  height: 16px;
  border: solid #ff3d00;
  /* Ваш оранжевый цвет */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Немного увеличим область клика */
.spk-q-check-label:hover .spk-q-checkbox {
  border-color: #ff3d00;
}


@media (max-width: 991px) {
  .new-grid-nashi-raboty {
    grid-template-columns: repeat(2, 1fr);
  }
  .spk-q-file {
    font-size: 14px;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .spk-q-grid {
    display: block;
    border: none;
  }

  .spk-q-item-li {
    width: 100%;
    border: none;
  }

  .spk-q-col-6,
  .spk-q-col-3 {
    width: 100%;
  }
  .spk-q-item input:checked + .spk-q-card {
    outline-offset: -1px;
  }
  #spk-lightSlider {
    padding: 10px 0;
    margin: 0;
    padding-bottom: 10px !important;
  }
     #spk-lightSlider li {
        width: auto;
        padding-bottom: 10px;
    }
}
@media (max-width: 576px) {
  .new-grid-nashi-raboty {
    grid-template-columns: 1fr;
  }
}
#modalzvonok .modal-dialog {
  margin-top: 50vh;
  transform: translateY(-50%);
}




/* Базовые настройки шапки */
.main-header { background-color: #003380; z-index: 1050; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; }
.main-header .logo-pc { height: 45px; }
.main-header .logo-mob { height: 40px; }
.main-header .opacity-75 { opacity: 0.75; }

/* Кнопка */
.main-header .btn-orange-call {
    background-color: #ff3d00;
    color: #fff !important;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Соцсети в шапке (кружки) */
.main-header .soc-item {
    background: #fff;
    color: #003380 !important;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 14px;
}

/* ПК МЕНЮ: Услуги */
.main-header .nav-services > .nav-item  > .nav-link {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 20px 0;
}
.nav-top .nav-item  > .nav-link {
  font-weight: 400;
  font-size: 14px;
  line-height: 128%;

}
.main-header .nav-services > .nav-item > .nav-link {
  color: #fff;
}
.main-header .nav-services > .nav-item > .nav-link:hover { color: #ff3d00 !important; }

/* ПК МЕНЮ: Выпадающие списки (2 и 3 уровни) */
.main-header  .dropdown-menu { background-color: #fff; border-radius: 5px; min-width: 260px; padding: 0; margin: 0; width: auto; margin-left: 0; border: 1px solid #CCD7E6 }
.main-header .dropdown-item { padding: 12px 20px; color: #003380; font-weight: 500; border-bottom: 1px solid #dae2eb; font-size: 14px; text-decoration: none; }
.main-header .dropdown-item:hover { background-color: #0036801A; color: #ff3d00; text-decoration: none; }
.main-header .dropdown-toggle::after { display: none; }
.main-header .mob-arrow i {
    transition: transform 0.3s ease-in-out;
    display: inline-block; /* Важно для корректного вращения */
}
.main-header .mob-nav,
.main-header .mob-submenu ul{padding-left: 0;}
.main-header .mob-nav {
  padding-left: 20px;
  padding-right: 20px;
}
.main-header .mob-submenu{border-radius: 5px;}
.main-header .menu-toggle-btn { background: transparent; border: 1px solid #fff; width: 40px; height: 35px; border-radius: 4px; display: inline-flex; flex-direction: column; justify-content: space-around; padding: 7px; vertical-align: middle; }
.main-header .menu-toggle-btn span { width: 100%; height: 2px; background: #fff; }

.main-header .mob-link-wrap { display: flex; align-items: center; justify-content: space-between; }
.main-header .mob-nav>.mob-nav-item> .mob-link-wrap  a { color: #fff; padding: 0 15px; font-weight: 700; text-transform: uppercase; flex-grow: 1; text-decoration: none;   font-family: 'Oswald';font-weight: 500;font-style: Medium;font-size: 16px;
}
.main-header .mob-arrow { color: #fff; padding: 15px; cursor: pointer; }
.main-header .mob-submenu .mob-arrow { color: #003380; }
/* Белое подменю на мобильном */
.main-header .mob-submenu { background: #fff; }
.main-header .mob-submenu .mob-link-wrap > a,
.main-header .mob-sub-link { display: flex; justify-content: space-between; padding: 12px 20px; color: #003380 !important; border-bottom: 1px solid #eee; font-size: 15px; font-weight: 500; text-decoration: none; }
.main-header .mob-sub-link i { opacity: 0.4; font-size: 12px; }

/* Стили для 3-го уровня в мобилке (отступ) */
.main-header .mob-submenu .mob-submenu .mob-sub-link { padding-left: 40px; background: #f9f9f9; }
.carousel-control-prev .carousel-control-prev-icon{position: relative;}
.carousel-control-prev .carousel-control-prev-icon::before{content:"";width: 150%;height: 150%;left: -25%;top: -25%;border-radius: 20px;display: block;background: grey;z-index: -1;position: relative;}
.carousel-control-next .carousel-control-next-icon{position: relative;}
.carousel-control-next .carousel-control-next-icon::before{content:"";width: 150%;height: 150%;left: -25%;top: -25%;border-radius: 20px;display: block;background: grey;z-index: -1;position: relative;}
#mobileMenu {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 992px) {
    /* Открытие уровней по Hover */
    .main-header .nav-item.dropdown:hover > .dropdown-menu,
    .main-header .dropdown-item-wrap:hover > .dropdown-menu {
        display: block !important;

    }

    /* Позиционирование 3-го уровня вправо */
    .main-header .dropdown-item-wrap { position: relative; }
    .main-header .dropdown-item-wrap .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%; 
        border-radius: 0 4px 4px 4px;
    }
    .main-header .dropdown-menu .dropdown .dropdown-menu {
      background: #E5EBF2;
      left: 100%;
      top: 0;
      border-radius: 5px;
    }
    .main-header .dropdown-menu .dropdown .nav-link{
      padding: 12px 20px;
      color: #003380;
      font-weight: 500;
      border-bottom: 1px solid #dae2eb;
      font-size: 14px;
      text-decoration: none;
    }
    /* Мостик для курсора */
    .main-header .nav-item.dropdown .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 10px;
    }
    
}


/* Test required-form validation */
.js-required-form .form-control.is-error,
.js-required-form .form-field-error .form-control {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.18);
}
.js-required-form .form-check-input.is-error {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}
.js-required-form .form-check.form-field-error .form-check-label {
    color: #dc3545;
}

/* Checkbox policy text: keep old .row p.policy visual style for new markup */
.row .form-check.policy {
  line-height: 130%;
  font-size: 12px;
  width: 100%;
  color: #212529;
  margin: 5px 0 0 0;
  padding-left: 1.25rem;
}

.row .form-check.policy a {
  color: #212529;
  text-decoration: underline;
}

.new_form_vizual .form-check.policy {
  text-align: left;
  margin-left: 40px !important;
  display: block;
  width: initial !important;
  color: #fff !important;
  font-size: 14px;
  line-height: 19px;
}

.new_form_vizual .form-check.policy a {
  color: #fff !important;
}

.row .form-check.policy .form-check-label {
  line-height: 130%;
  font-size: 12px;
  /* width: 100%; */
  margin: 5px 0 0 0;
  font-weight: normal;
  text-transform: none;
}

.form_faq_wr .form-check.policy a,
.new_form_vizual .form-check.policy a {
  color: #fff !important;
}

.row .form-check.policy .form-check-label a {
  color: #fff;
  text-decoration: underline;
  font-weight: normal;
  text-transform: none;
}
.contact_form .form-check.policy .form-check-label a,
.form_service .form-check.policy .form-check-label a {
    color: #212529;
}
.form_faq_v3 .form-check.policy .form-check-label {
  color: #fff;
}

.yandex-rating-fx {
  display: none;
}
@media (max-width: 991.98px) {
    body .main-header { display: none !important; }
    body { padding-top: 0; }
    body .test-mobile-header {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 1050;
        background: #003380;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
        font-family: 'Oswald', Arial, sans-serif;
    }
    body .test-mobile-header .tmh-topline {
        min-height: 60px;
        padding: 10px 12px;
        display: grid;
        grid-template-columns: 42px minmax(92px, 1fr) auto;
        align-items: center;
        gap: 8px;
        background: #003380;
    }
    body .test-mobile-header .tmh-menu-btn,
    body .test-mobile-header .tmh-menu-close {
        border: 0;
        background: transparent;
        color: #fff;
        padding: 0;
    }
    body .test-mobile-header .tmh-menu-btn {
        width: 32px;
        height: 32px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }
    body .test-mobile-header .tmh-menu-btn span {
        width: 30px;
        height: 3px;
        border-radius: 3px;
        background: #809ABD;
        display: block;
    }
    body .test-mobile-header .tmh-logo {
        display: flex;
        align-items: center;
        min-width: 0;
    }
    body .test-mobile-header .tmh-logo img {
        display: block;
        max-width: 118px;
        width: 100%;
        height: auto;
    }
    body .test-mobile-header .tmh-icons {
        display: grid;
        grid-template-columns: repeat(4, 34px);
        gap: 25px;
        justify-content: flex-end;
        align-items: center;
    }
    body .test-mobile-header .tmh-icons a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
    body .test-mobile-header .tmh-icons img {
        display: block;
        width: 23px;
        height: 23px;
        object-fit: contain;
    }
    body .test-mobile-header .tmh-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 1049;
    }
    body .test-mobile-header .tmh-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(88vw, 360px);
        background: #003380;
        color: #fff;
        transform: translateX(-105%);
        transition: transform .25s ease;
        z-index: 1051;
        box-shadow: 14px 0 30px rgba(0,0,0,.25);
        display: flex;
        flex-direction: column;
    }
    body .test-mobile-header.is-open .tmh-menu-panel { transform: translateX(0); }
    body .test-mobile-header.is-open .tmh-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
    body .test-mobile-header .tmh-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 78px;
        padding: 0 16px;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }
    body .test-mobile-header .tmh-menu-logo img {
        display: block;
        max-width: 130px;
        height: auto;
    }
    body .test-mobile-header .tmh-menu-close {
        font-size: 36px;
        line-height: 1;
        width: 42px;
        height: 42px;
    }
    body .test-mobile-header .tmh-menu-scroll {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0 24px;
    }
    body .test-mobile-header .tmh-menu-scroll ul,
    body .test-mobile-header .tmh-menu-scroll li {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    body .test-mobile-header .mob-nav,
    body .test-mobile-header .mob-submenu {
        padding-left: 0;
        margin: 0;
    }
    body .test-mobile-header .mob-link-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }
    body .test-mobile-header .mob-link-wrap > a,
    body .test-mobile-header .tmh-menu-scroll .nav-link {
        color: #fff !important;
        display: block;
        padding: 13px 20px;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 600;
        flex: 1 1 auto;
    }
    body .test-mobile-header .mob-arrow {
        color: #fff;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        min-height: 48px;
        flex: 0 0 48px;
    }
    body .test-mobile-header .mob-arrow i {
        transition: transform .2s ease;
    }
    body .test-mobile-header .mob-submenu {
        background: #fff;
        border-radius: 0;
        overflow: hidden;
    }
    body .test-mobile-header .mob-submenu .mob-link-wrap {
        border-bottom: 1px solid #e8edf4;
    }
    body .test-mobile-header .mob-submenu .mob-link-wrap > a {
        color: #003380 !important;
        text-transform: none;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        padding: 12px 18px 12px 28px;
    }
    body .test-mobile-header .mob-submenu .mob-arrow {
        color: #003380;
    }
    body .test-mobile-header .mob-submenu .mob-submenu .mob-link-wrap > a {
        padding-left: 42px;
        background: #f7f9fc;
    }
    body .test-mobile-header .tmh-menu-contacts {
        padding: 18px 20px 0;
        font-family: Arial, sans-serif;
    }
    body .test-mobile-header .tmh-contacts-title {
        color: #fff;
        font-family: 'Oswald', Arial, sans-serif;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.25;
        text-transform: uppercase;
        margin: 0 0 12px;
    }
    body .test-mobile-header .tmh-contact-line {
        border: 0;
        color: #fff !important;
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 10px;
        align-items: start;
        padding: 6px 0;
        text-transform: none;
        font-family: Arial, sans-serif;
        font-size: 14px;
        line-height: 1.35;
        text-decoration: none;
    }
    body .test-mobile-header .tmh-contact-line i {
        color: #ff3d00;
        font-size: 15px;
        line-height: 19px;
        text-align: center;
    }
    body .test-mobile-header .tmh-call-btn {
        width: 100%;
        margin: 14px 0 0;
        border: 0;
        border-radius: 4px;
        background: #ff3d00;
        color: #fff;
        min-height: 46px;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0;
    }
    .yandex-rating-fx{
      display:inline-flex;
      align-items:center;
      padding:9px 11px;
      background:#F6F6F6;
      text-decoration:none !important;
      position: fixed;
      bottom: 0;
      left: 0;
    }

    .fixed-bottom {
      display: none !important;
    }
    .yandexLogo{
      display:flex;
      align-items:center;
      justify-content:center;
    }

    .yandexRating{
      font-weight:600;
      font-size:16px;
      color:#000;
    }
}
@media (max-width: 374.98px) {
    body .test-mobile-header .tmh-topline {
        grid-template-columns: 38px minmax(78px, 1fr) auto;
        gap: 5px;
        padding-left: 10px;
        padding-right: 10px;
    }
    body .test-mobile-header .tmh-logo img { max-width: 98px; }
    body .test-mobile-header .tmh-icons {
        grid-template-columns: repeat(4, 31px);
        gap: 12px;
    }
    body .test-mobile-header .tmh-icons a {
        width: 31px;
        height: 31px;
    }
    body .test-mobile-header .tmh-icons img {
        width: 21px;
        height: 21px;
    }
}
@media (min-width: 992px) {
    body .test-mobile-header { display: none !important; }
}

/* Hero advantages - TZ 2026-08 */
.row.h1-with-form>.hero-main-copy{width:calc(100% - 520px)}.hero-advantages{width:500px;align-self:center;color:#fff;background:rgba(0,51,128,.88);border-left:5px solid #ff4d00;border-radius:8px;padding:28px 30px;box-shadow:0 12px 30px rgba(0,0,0,.22)}.hero-advantages__title{margin:0 0 18px;font-size:28px;line-height:1.2;font-weight:700}.hero-advantages ul{margin:0;padding:0;list-style:none}.hero-advantages li{display:flex;gap:12px;align-items:flex-start;margin:0 0 13px;font-size:18px;line-height:1.35}.hero-advantages li:last-child{margin-bottom:0}.hero-advantages li i{flex:0 0 auto;color:#ffb000;margin-top:3px}.hero-order-form{max-width:980px}.hero-order-form form p.h2,.hero-order-form form label{color:#003380}@media(max-width:991px){.row.h1-with-form{flex-wrap:wrap}.row.h1-with-form>.hero-main-copy,.hero-advantages{width:100%}.hero-advantages{margin:0 15px 30px}}@media(max-width:575px){.hero-advantages{padding:22px 20px}.hero-advantages__title{font-size:23px}.hero-advantages li{font-size:16px}}


/* Hero advantages below banner - TZ revision 2026-08-27 */
.row.h1-with-form > .h1 { width: calc(100% - 520px); }
.hero-advantages-strip .hero-advantages {
  width: 100%;
  color: #24364b;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 18px 0 10px;
}
.hero-advantages-strip .hero-advantages__title {
  color: #003380;
  margin: 0 0 24px;
  font-size: 30px;
  text-align: center;
}
.hero-advantages-strip .hero-advantages ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 34px;
}
.hero-advantages-strip .hero-advantages li {
  margin: 0;
  color: #24364b;
  font-size: 17px;
}
.hero-advantages-strip .hero-advantages li i {
  color: #ff4d00;
}
@media (max-width: 991px) {
  .row.h1-with-form > .h1 { width: 100%; }
  .hero-advantages-strip .hero-advantages { margin: 0; }
  .hero-advantages-strip .hero-advantages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .hero-advantages-strip .hero-advantages { padding: 10px 0 4px; }
  .hero-advantages-strip .hero-advantages__title { font-size: 24px; text-align: left; }
  .hero-advantages-strip .hero-advantages ul { grid-template-columns: 1fr; gap: 14px; }
}


/* Footer layout revision 2026-09-07 */
.site-footer { padding: 46px 0 38px; }
.site-footer > .container { max-width: 1340px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px,1.45fr) minmax(165px,1fr) minmax(170px,1fr) minmax(190px,1.15fr) minmax(165px,1fr) minmax(125px,.75fr);
  gap: 42px;
  align-items: stretch;
}
.footer-brand, .footer-column { min-width: 0; }
.footer-logo-link { display: inline-block; margin-bottom: 10px; }
.footer-logo { display: block; width: 205px; max-width: 100%; height: auto; }
.footer-about { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.footer-contacts { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.45; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; opacity: .82; text-decoration: none; }
.footer-title {
  display: block;
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}
.footer-column { display: flex; flex-direction: column; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }
.footer-column li { margin: 0 0 12px; font-size: 16px; line-height: 1.35; }
.footer-copyright { margin-top: 45px; font-size: 16px; line-height: 1.4; }
.footer-agreement { margin-top: auto; padding-top: 34px; font-size: 16px; line-height: 1.4; white-space: nowrap; }
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px 48px; }
  .footer-brand { grid-row: span 2; }
  .footer-copyright { margin-top: 28px; }
  .footer-agreement { white-space: normal; }
}
@media (max-width: 767px) {
  .site-footer { padding: 34px 0 24px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-logo { width: 185px; }
  .footer-copyright { margin-top: 24px; }
  .footer-agreement { margin-top: 16px; padding-top: 0; }
}
@media (max-width: 479px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-title { margin-bottom: 10px; }
  .footer-column li { margin-bottom: 9px; }
}


@media (min-width: 992px) {
  .main-header .top-bar .container {
    /*width: calc(100% - 30px);*/
    /*max-width: 1400px;*/
  }
  .main-header .logo-pc {
    height: 40px;
    width: auto;
  }
  .main-header .nav-top {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .main-header .nav-top .nav-item > .nav-link {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
    font-size: 13px;
  }
  .main-header .top-bar .col.px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}
.slider_home_category .card > img {
  display: block;
  width: 100%;
  height: 260px !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .slider_home_category .card > img {
    height: 220px !important;
  }
}
.card > img.card-img-top {
  display: block;
  width: 100%;
  height: 260px !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .card > img.card-img-top {
    height: 220px !important;
  }
}
.container-fluid.py-5 .row.my-4 .card.h-100.bg-white.border-0 > img {
  display: block;
  width: 100%;
  height: 260px !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .container-fluid.py-5 .row.my-4 .card.h-100.bg-white.border-0 > img {
    height: 220px !important;
  }
}
.slider_home_portfolio .lightgallery-custom {
  display: block;
  width: 100%;
}
.slider_home_portfolio .lightgallery-custom > img {
  display: block;
  width: 100%;
  height: 260px !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .slider_home_portfolio .lightgallery-custom > img {
    height: 220px !important;
  }
}
@media (min-width: 768px) {
    .container-fluid.mainbg > .container > .row.h1-with-form {
        padding-left: 7px;
        padding-right: 15px;
    }
}
/* CODEX_TRUST_LOGOS_AUTO_HEIGHT_V1 */
#lightSlider.content-slider img {
  display: inline-block;
  max-width: 100%;
  height: auto !important;
}
