:root {
    --main-color: #0c4da2;
  }
  /*03.09*/
  .intro_block {
    max-width: 1310px;
    background: #f3f6fa;
    padding: 5px 20px;
  }

  /* .with-search .h-phone--number{
  flex-direction: column;
  } */

  .with-search .h-adress {
    max-width: 236px;
  }

  .with-search .main-menu--item:not(:last-child) {
    margin-right: 15px;
  }

  .with-search .search-block--inner input {
    border: 1px solid transparent !important;
  }

  .dropdown-menu > li {
    white-space: nowrap;
  }

.pt50>.container>ul>li {
  padding: 12px 0 12px 25px;
  position: relative;
}

.pt50>.container>ul>li:before {
  background: #0c4da2;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 20px;
  width: 7px;
  border-radius: 20px;
}

.mb-15 {
  margin-bottom: 15px;
}

  .people {
    padding-top: 5px;
  }
  .fancybox-gallery {
    text-align: center;
  }
  .fancybox-gallery img {
    height: 130px;
  }
  .main-menu-wrapper .container {
    padding: 0;
  }
  .main-menu-wrapper_black {
    background-color: #222;
  }
  .main-menu--link {
    padding: 0 10px;
    font-size: 0.93em;
  }
  ul > .main-menu--item_drop > .main-menu--link:first-of-type {
    padding-left: 0;
  }
  ul > .main-menu--item_drop > .main-menu--link {
    padding-right: 25px;
  }
  ul > .main-menu--item_drop > .main-menu--link:after {
    right: 7px;
    font-size: 14px;
  }
  .with-search .nav-main--wrapper {
    padding-right: 45px;
  }
  .main_form {
    background-color: var(--main-color);
  }
  .main_form .form--data {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .form--data_main .form-group {
    margin-bottom: 10px;
  }
  .form--data_main .form-group .fluid-label label {
    font-size: 0.7em;
    line-height: 1;
  }

  .form--data_main .form-group i,
  .main_form,
  .form--data_main input[type="text"],
  .form--data_main input[type="search"],
  .form--data_main input[type="password"],
  .form--data_main input[type="email"],
  .form--data_main textarea,
  .form--data_main input[type="text"]::placeholder,
  .form--data_main input[type="search"]::placeholder,
  .form--data_main input[type="password"]::placeholder,
  .form--data_main input[type="email"]::placeholder,
  .form--data_main textarea::placeholder {
    color: #fff;
  }
  .form--data_main input[type="text"],
  .form--data_main input[type="search"],
  .form--data_main input[type="password"],
  .form--data_main input[type="email"],
  .form--data_main textarea {
    border-color: rgba(255, 255, 255, 0.2);
    padding: 18px 0 4px 0;
  }
  .form--data_main h2 {
    padding-bottom: 15px;
  }
  .form--data_main h2,
  .form--data_main .subtitle {
    text-align: center;
  }
  .form--data_main.form label {
    color: #fff;
  }
  .form--data_main .field_container {
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .form--data_main #licenses_agreement + label a {
    color: #ed1c24;
  }
  .form--data_main [type="checkbox"]:not(:checked) + label:hover:before {
    background-color: #fff;
  }
  .form--data_main.form .custom-file-input label {
    background-color: #ed1c24;
  }

  /*inline form*/
  .main_form_inline {
    background-color: var(--main-color);
    color: #fff;
  }
  .main_form_inline h2 {
    font-size: 27px;
    font-weight: normal;
    line-height: 29px;
    margin: 0px;
    position: relative;
    padding: 0px 100px 0px 0px;
  }

  .main_form_inline h2:after {
    position: absolute;
    content: " ";
    width: 58px;
    height: 58px;
    top: calc(50% - 29px);
    opacity: 1;
    background: url("/web/20240515112214im_/https://spektrdm.ru/upload/img/right-arrow.svg") 0px 0px no-repeat;
    z-index: 3;
    right: 19px;
    background-position: center;
    background-size: contain;
  }

  /*catalog*/
  .cat-category--links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .cat-category a {
    display: inline-block;
    flex-basis: 45%;
  }
  /*address head*/
  .h-adress {
    display: inline-block;
    max-width: 238px;
    vertical-align: middle;
    margin-right: 10%;
    text-align: left;
  }
  .top-tagline {
    padding-left: unset;
  }

  /*--tooltip--*/
  .tooltip_block {
    position: relative;
  }
  .tooltip-link {
    text-decoration: underline dotted red;
    cursor: pointer;
  }
  .tooltip {
    position: absolute;
    background-color: #eaeaea;
    color: #1f1f1f;
    padding: 5px;
    text-align: center;
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
    font-size: 13px;
    border: 1px solid #ed1c25;
    z-index: 1;
    /* bottom: calc(1% + 60px); */
    top: 25%;
  }
  /*--end tooltip--*/
  #form_estimate_in,
  #price_block_in {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  #form_estimate_inside .form-group_last {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
  }
  @media (max-width: 1492px) {
    .h-adress {
      margin-right: 15px;
    }
  }
  @media (max-width: 1200px) and (min-width: 992px) {
    .h-adress {
      margin-right: 10px;
      font-size: 13px;
      line-height: 1.5;
      max-width: 160px;
    }
    .h-phone {
      font-size: 13px;
      line-height: 1.5;
    }
    .h-button {
      margin-left: 10px;
    }
    .main_form_inline h2:after {
      right: -20px;
    }
  }
  @media (max-width: 991px) {
    .h-adress {
      max-width: unset;
      margin-right: unset;
      text-align: right;
    }
  }
  @media (max-width: 991px) and (min-width: 767px) {
    .main_form_inline h2 {
      padding-right: 70px;
      margin-top: 25px;
    }
    .main_form_inline h2:after {
      width: 60px;
    }
    .main_form_inline .row div:last-of-type {
      margin-top: 20px;
    }
  }
  @media (max-width: 767px) {
    .service--img_icon {
      float: left;
      margin: 0;
    }
  }
  @media (max-width: 766px) {
    .main_form_inline h2 {
      display: inline-block;
      padding-bottom: 15px;
    }
    .main_form_inline h2:after {
      width: 40px;
      height: 40px;
      top: calc(50% - 25px);
    }
    .main_form_inline .row div:last-of-type {
      margin-top: 20px;
    }
  }
  @media (min-width: 992px) {
    .col-md-3 {
      width: 20%;
    }
    .teaser--text {
      margin-top: 15px;
    }
    .teaser--title {
      min-height: 55px;
    }
    .teaser--title i {
      line-height: 55px;
    }
    .teaser {
      padding: 0;
    }
    .captcha_container {
      margin-top: -40px;
    }
  }
  .title__h2 {
    font-size: 1.8em;
    font-weight: 400;
    line-height: 1.2em;
    font-family: "Raleway", sans-serif;
  }

  .top-block--custom {
    background-color: #f8f8f8;
  }
  .top-block--custom .container,
  .second_header--custom .container {
    width: 1640px;
    max-width: 100%;
  }
  .top-block--custom .top-block--info,
  .top-block--custom .h-phone,
  .top-block--custom .social {
    padding: unset;
  }
  .top-block--custom .h-adress--text {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1em;
    line-height: 18px;
  }
  .top-block--custom .h-adress--text i {
    font-size: 1.5em;
  }
  .h-phone--number {
    font-size: 1.2em;
    width: fit-content;
    margin: auto;
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  .top-block--custom .h-phone--hide {
    position: absolute;
    width: calc(100% + 15px);
    left: -10px;
    right: 0;
    top: 100%;
    padding: 5px;
    background-color: #fff;
    box-shadow: 1px 4px 10px #333;
    opacity: 0;
    visibility: hidden;
    transition: all ease-out 0.3s;
    z-index: 1;
  }
  .h-phone--number a {
    transition: color 0.3s;
  }
  .h-phone--number a:hover {
    color: #ed1c24;
  }
  .h-social--links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    font-size: 0.8em;
    gap: 3px;
  }
  .h-social--links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    gap: 3px;
    color: #fff;
    padding: 5px;
    transition: color 0.3s;
    white-space: nowrap;
  }
  .h-social--links a[data-type="whatsapp"] {
    background-color: rgba(0, 170, 16, 1);
  }
  .h-social--links a[data-type="viber"] {
    background-color: rgba(114, 61, 149, 1);
  }
  .h-social--links a[data-type="whatsapp"]:hover {
    background-color: rgba(0, 170, 16, 0.7);
  }
  .h-social--links a[data-type="viber"]:hover {
    background-color: rgba(114, 61, 149, 0.7);
  }

  .h-social--links a[data-type="telegram"] {
    background-color: rgb(19%, 65%, 87%, 1);
  }
  .h-social--links a[data-type="telegram"]:hover {
    background-color: rgb(19%, 65%, 87%, 0.7);
  }

  .second_header--custom .container > .row::before,
  .second_header--custom .container > .row::after {
    display: none;
  }
  .header_compact span.logo {
    height: 85px;
    line-height: 70px;
    padding: 5px 0;
    text-decoration: none;
  }
  span.logo img {
    display: inline-block;
    margin-left: 0;
    max-height: 100%;
    max-width: 226px;
    vertical-align: middle;
  }
  .second_header--custom .logo {
    display: flex !important;
    align-items: center !important;
  }
  .second_header--custom .logo .descriptor {
    line-height: 20px;
    font-size: 0.8em;
    color: #666666;
  }
  .second_header--custom .main-menu_v2 .main-menu {
    float: unset;
  }
  .second_header--custom .main-menu-custom .dropdown-menu {
    width: auto;
    min-width: 100%;
  }
  .second_header--custom .main-menu_v2 .main-menu--link {
    padding: 0 15px 0px 0;
  }
  .second_header--custom
    .main-menu_v2
    ul
    > .main-menu--item_drop
    > .main-menu--link {
    padding-right: 15px;
  }
  .second_header--custom .nav-main--wrapper {
    padding-right: 30px;
  }
  .second_header--custom .search-block--wrapper {
    position: unset;
    display: inline-block;
  }
  .second_header--custom .main-menu-custom .main-menu--item > span {
    line-height: 35px;
  }
  .second_header--custom .main-menu-custom .main-menu--item .main-menu--link {
    height: auto;
  }
  .header-grid-block__top {
    padding: 0;
    width: 100%;
    display: grid !important;
    grid-template-columns: 350px 330px 331px;
    justify-content: center;
    /* grid-template-columns: 200px auto auto; */
    column-gap: 10px;
    align-items: center;
  }
  .header-grid-block {
    width: 100%;
    display: grid !important;
    grid-template-columns: 270px auto 30px 180px;
    column-gap: 10px;
    align-items: center;
  }
  .bock--button {
    display: flex;
    justify-content: end;
  }
  .header.header_compact {
    position: relative;
  }
  .second_header--custom .search-block {
    top: -100px;
    left: 0;
    right: 0;
    width: 100%;
    height: 90px;
    padding: 10px 0;
    min-width: unset;
    max-width: unset;
    background-color: #f8f8f8;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .second_header--custom .search-block.search-block_opened {
    display: flex;
    align-items: center;
    top: 0;
  }
  .second_header--custom .search-block--inner {
    position: relative;
  }
  .second_header--custom .search-block input {
    text-align: start;
  }
  @media screen and (max-width: 1300px) {
    .header-grid-block__top {
      grid-template-columns: 200px auto 155px;
    }
  }

  @media (min-width: 768px) and (max-width: 1000px) {
    .second_header--custom .logo .descriptor {
      display: none;
    }
  }

  @media screen and (max-width: 1000px) {
    .top-block--custom .top-block--info {
      display: none;
    }
    .header-grid-block__top {
      grid-template-columns: auto 160px;
    }
    .second_header--custom .main-menu-custom .main-menu--item {
      font-size: 0.9em;
    }
    .second_header--custom .main-menu_v2 .main-menu--link {
      padding: 0 10px 0px 0;
    }
    .second_header--custom
      .main-menu_v2
      ul
      > .main-menu--item_drop
      > .main-menu--link {
      padding-right: 10px;
    }
    .second_header--custom .nav-main--wrapper {
      padding-right: 10px;
    }
    .second_header--custom .logo {
      height: auto;
      justify-content: center;
    }
    .second_header--custom .logo img {
      max-height: 90px;
    }
    .header-grid-block {
      grid-template-columns: 145px auto 40px 155px;
    }
  }
  @media (min-width: 768px) {
    .second_header--custom .mobile-block {
      display: none;
    }
    .second_header--custom .bock--button [data-name="callback"] {
      display: none;
    }
  }
  @media screen and (max-width: 767px) {
    .block--search {
      display: none;
    }
    .header-grid-block {
      grid-template-columns: auto;
      justify-content: center;
      row-gap: 10px;
      padding: 0 10px;
    }
    .bock--button {
      justify-content: center;
      gap: 5px;
      flex-wrap: wrap;
    }
    .h-adress--text {
      text-align: center;
      /*font-size: 1.1em;*/
    }
    /*.h-phone--number {
          font-size: 1.5em;
      }
      .h-social--links {
          font-size: 1em;
      }
      .h-social--links a {
          min-width: 201px;
      }
      .h-social--links a svg {
          width: 30px;
          height: 30px;
      }*/
    .second_header--custom {
      padding-bottom: 20px;
    }
  }
  .cop_doweb .cop {
    width: fit-content;
  }
  .cop_doweb a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
  }
  .cop_doweb a:hover {
    color: white;
  }
  .cop_doweb svg path {
    transition: all 0.3s;
  }
  .cop_doweb a:hover svg path.do {
    fill: #e3e3e2;
  }
  .cop_doweb a:hover svg path.web {
    fill: #3bd5c7;
  }
  .main-page.section-link {
    width: fit-content;
    float: right;
    position: relative;
  }
  .main-page.section-link a {
    color: #ed1c24;
    transition: color 0.3s;
  }
  .main-page.section-link a:hover {
    color: black;
  }
  .main-page.section-link a::after {
    content: "\203A";
    position: absolute;
    right: -10px;
    font-size: 25px;
    line-height: 20px;
  }
  .main-page.section-title {
    margin: 30px 0;
  }
  @media screen and (max-width: 767px) {
    .header_fix{
      display: none;
      height: 0;
    }
    .mobile-menu-contacts--phone{
      display: flex;
      flex-direction: column;
    }
    .top-block--info, .h-phone ,.h-phone ,.h-phone , .block--search,.bock--button, .social, .logo .descriptor{
      display: none;
    }
    .main-page.section-link {
      margin-right: 20px;
    }
    .second_header--custom{
      padding-bottom: 0;
    }
    .second_header--custom .logo img {
      max-height: 60px;
      width: 100%;
  }
  .wrapper_top {
    display: flex;
}
.mobile-menu--btn {
  position: relative;
  top: auto;
  left: auto;
  width: 50px;
  height: 40px;
}
.block_top_top_top {
    display: flex;
    justify-content: space-between;
}
  }
  .page-head--buttons {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
  }
  .section-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .second_header--custom .main-menu_v2 .main-menu--link span {
    line-height: 58px;
    display: inline-block;
  }
  .adw_header{
    text-align: left;
  }
  .advantages{
    display: flex;
    justify-content: space-between;
  }
  @media(max-width:1100px){
    .advantages{
      display: flex;
      justify-content: center;
    }
    .adw_header{
      text-align: center;
    }
  }
  .advantages-item__name{
    color: #DA3832;
    font-size: 18px;
  }
  .advantages-item__diskription{
    max-width: 367px;
    color: #2A2A2A;
    font-size: 16px;
  }
  .slick-slide{
    display: flex!important;
    justify-content: center!important;
  }

/* Dilshod MOD */

.header-grid-block {
  width: 100%;
  grid-template-columns: 18% 68% 4% 10% !important;
  column-gap: 0px !important;
}
.second_header--custom .main-menu_v2 .main-menu--link {
  padding: 0 10px 0px 0px !important;
}
a.main-menu--link {
  font-size: 14px !important;
}
.with-search .main-menu--item:not(:last-child) {
  margin-right: 0px !important;
}
ul.main-menu-custom.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*float: right;*/
}
.soc_top {
  display: none;
}
@media screen and (max-width: 767px)  {
  img.mailing {
    width: 100%;
  }
}
.mailing-img-block {
  margin: 0 auto;
  text-align: center;

}
.mailing-text {
  font-size: 20px;
  line-height: 30px;
}
.posts-wrap {
  margin: 20px 0;
  padding: 20px 0;
}
.posts-wrap .row-1 {
  display: flex;
  /*flex-direction: column;*/
  align-items: center; /* Центровка всех строк */
  gap: 20px; /* Расстояние между строками */
  margin: 10px 0;
}
.posts-wrap .row-2 {
  display: flex;
  /*flex-direction: column;*/
  align-items: center; /* Центровка всех строк */
  gap: 20px; /* Расстояние между строками */
  margin: 10px 0;
}

.row {
  /*display: grid;*/
  gap: 20px; /* Расстояние между элементами внутри строки */
}

.row-1 {
  grid-template-columns: repeat(4, 1fr); /* 4 элемента в первой строке */
}

.row-2 {
  grid-template-columns: repeat(3, 1fr); /* 3 элемента во второй строке */
  justify-content: center; /* Центровка второй строки */
}

.posts-item {
  /*border: 1px solid #ddd;*/
  /*border-radius: 10px;*/
  /*overflow: hidden;*/
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
  /*transition: transform 0.3s, box-shadow 0.3s;*/
}

.posts-item img {
  width: 100%;
  height: auto;
  display: block;
}

/*.posts-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}*/


@media (max-width: 500px) {
  .pt50 .container {
    padding-right: 15px!important;
    padding-left: 15px!important;
  }
}
.ct_hdr {
  text-align: center;
}
.ct_hdr span {
  color: red;
}
.fixed-header {
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.top_ssil {
    display: flex;
    align-items: center;
}
.top_ssil img {
    width: 60px;
    margin-right: 15px;
}
.top_ssil a {
    font-weight: 600;
    color: #000;
}

.g-news--link .button-detail {
	color: #fff;
	background-color: #0c4da2;
	padding: 5px 10px;
}

.g-news--link .button-detail:hover {
	color: #0c4da2;
	background-color: #fff;
	border: 1px solid #0c4da2;
}

.footer{
	position: relative;
}

.logo-white {
	position: absolute;
	bottom: 8.5rem;
	max-width: 225px;
	width: 100%;
}

.table-row--height {
	height: 55px;
}

.date--table {
	text-align: left!important;
}

@media (max-width: 1200px) {
	.logo-white {
		bottom: 11.6rem;
    		width: 180px;
	}
}

@media (max-width: 991px) {
	.logo-white {
		bottom: 13rem;
        	width: 164px;
		position: static;
	}
	
}

@media (max-width: 767px) {
    .logo-white {
        bottom: 18rem;
        width: 148px;
        right: 1rem;
    }
}

@media (max-width: 400px) {
    .logo-white {
        bottom: 22rem;
        width: 116px;
    }
}


.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 29px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  transition: opacity 0.3s;
}
.scroll-to-top img {
  width: 100%;
  height: 100%;
}
.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  opacity: 0.8;
}

.footer--contacts
{
  display: flex;
  flex-direction: row;
  gap: 165px;
  line-height: 28px;
  margin-left: 35px;

  text-align: left !important;
}
.footer--contacts .f-phone-number  {
  display: flex;
  flex-direction: column;
  font-size: 15px !important;
}
.footer--contacts .f-phone-number  i {
  margin-right: 5px;
}
@media (max-width: 767px) {
  .footer--contacts
  {
    flex-direction: column;
    gap: 10px;
    margin-left: 15px;
  }
}