body, input, textarea, select {
  font-family: Verdana, Geneva, sans-serif;
}
.center {
  text-align: center;
}
.bigmg {
  padding: 30px 0px;
}
.table-striped tr:hover {
  background: #d9eded;
}
th {
  border: 1px solid gray;
    border-bottom-width: 1px;
}
.zabor img {
  max-height: 175px;
  margin-bottom: 10px;
}
.cardds a:hover {
  color: blue;
}
.cardds img:hover {
  opacity: 0.7;
}
/* ===== БАЗОВЫЕ ЦВЕТА ===== */

.main-nav .nav-link,
.main-nav .dropdown-toggle {
  color: #000;
  font-weight: 500;
}

/* ===== DESKTOP HOVER (ТОЛЬКО МЫШЬ) ===== */
@media (hover: hover) and (pointer: fine) {
  .main-nav .nav-link:hover,
  .main-nav .dropdown:hover > .dropdown-toggle {
    color: #0d6efd;
  }

  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:focus {
    color: #0d6efd;
  }
}

/* ===== УБИРАЕМ ЗАЛИПАНИЕ ФОКУСА ===== */
.main-nav .dropdown-toggle:focus {
  color: #000;
  outline: none;
}

/* ===== ВИД РОДИТЕЛЯ-КНОПКИ ===== */
.main-nav .dropdown-toggle {
  background: transparent;
  border: 0;
}

/* ===== ПОДМЕНЮ ===== */
.dropdown-menu {
  border-radius: 0.75rem;
  padding: 0.5rem 0;
}

/* ===== TOGGLER (МОБИЛКИ) ===== */

.menu-toggler {
  border: 0;
  padding: 0.6rem 0;
}
.menu-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-text {
  font-weight: 600;
}

/* Иконки */
.menu-toggler-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.menu-toggler-icon .icon-close {
  display: none;
}

/* Открытое меню → крестик */
.menu-toggler.is-open .menu-toggler-icon .icon-hamburger {
  display: none;
}
.menu-toggler.is-open .menu-toggler-icon .icon-close {
  display: inline-block;
}

/* ===== ДЕСКТОП: ПОЛНОСТЬЮ УБИРАЕМ КНОПКУ ===== */
@media (min-width: 992px) {
  .menu-toggler,
  .navbar-toggler-text,
  .menu-toggler-icon {
    display: none !important;
  }
}
.dropdown-menu[data-bs-popper] {
  margin-top: 0 !important;
}
.border-bottom {
  border-bottom: none !important;
}

/*BANNER PAGE*/
.bannerpage {
  width: 100%;
  min-height: 65vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.titleh1 {
width: 70%;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-family: bold;
  border-radius: 10px;
  padding: 15px 10px;
  margin: auto;
}

 .header-block {
            padding: 10px;
            height: 100%;
        }

        .logo-wrapper {
            text-align: center;
        }

        .logo-wrapper img {
            max-width: 80%;
            height: auto;
            max-height: 60px;
        }

        .company-name {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.company-target {
  font-size: 11px;
  color: gray;
}
.logo-link {
            display: inline-block;
            text-align: center;
            text-decoration: none;
            color: inherit;
        }

        .logo-link:hover {
            text-decoration: none;
            color: inherit;
        }
        
      /* Блок 2: "Ваш город" */
.city-label{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#9aa0a6;
}

.city-dropdown .dropdown-toggle{
  border:0;
  padding:0;
  background:transparent;
  box-shadow:none !important;
  color:#111;
  font-size:15px;
  line-height:1;
  display:inline-flex;
  align-items:center;
}

.city-dropdown .dropdown-toggle::after{
  transform: translateY(2px);
}

.city-dropdown-menu{
  padding: 12px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
}

/* 3 колонки при открытии */
.city-dropdown-menu.show{
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  grid-auto-flow: row !important; /* чтобы не превращалось в одну строку */
  gap: 4px 12px;
  align-content: start;
}

/* чтобы названия не ломали сетку и не вылазили */
.city-dropdown-menu .dropdown-item{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 8px 10px;
}

/* Планшеты */
@media (max-width: 991px){
  .city-dropdown-menu.show{
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Мобилки */
@media (max-width: 575px){
  .city-dropdown-menu{
    max-height: 50vh; /* на мобилке лучше от экрана */
  }
  .city-dropdown-menu.show{
    grid-template-columns: 1fr !important;
  }
}
.phone {
  text-align: center;
  text-decoration: none;
  font-family: "OpenSans";
  line-height: 1.2;
}
.big a {
  text-decoration: none;
  color: inherit;
}
@media (min-width: 993px){
.phone {
  text-align: right;
  }
}
@media (max-width: 768px){
.cities {
  display: none  !important;
}
}
.city-dropdown.dropdown.text-center ul {
  font-size: 14px;
}
/* Блок 3: контакты */
.contact-block{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-btn{
font-size: 13px;
  border-radius: 15px;
  padding: 4px 10px;
}

.contact-text{
  font-size: 10px;
  color: #666;
}

.contact-icons{
  display: flex;
  gap: 14px;
}

.contact-icons a{
  display: inline-flex;
  width: 32px;
  height: 32px;
}

.contact-icons img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.headmenu {
  border-bottom: 1px solid #c5c3c3;
}
.cities {
  background: #f4faff;
}
.company-time {
  font-size: 13px;
  color: gray;
}

/* ===== header-plusy ===== */

.one_quarter, .heading2 h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
}
#introblocks {
  display: block;
  position: relative;
  margin-top: -25px;
  z-index: 1;
}
.btmspace-80 {
  margin-bottom: 80px;
}
.group::after {
  clear: both;
}
.group {
  display: block;
}
.nospace {
  margin: 0;
    margin-bottom: 0px;
  padding: 0;
  list-style: none;
}
.group::before, .group::after {
  display: table;
  content: "";
}
.elements-three li:nth-child(3n+1), .elements-four li:nth-child(4n+1) {
  margin-left: 0;
  clear: left;
}
.elements-three li:nth-last-child(-n+3), .elements-four li:nth-last-child(-n+4) {
  margin-bottom: 0;
}
.one_quarter {
  width: 21.8421%;
}
.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter {
  display: inline-block;
  float: left;
  margin: 0 0 0 4.21052%;
    margin-bottom: 0px;
    margin-left: 4.21052%;
  list-style: none;
}
#introblocks .elements li article {
  color: #FFFFFF;
  background-color: #97A9BD;
}
.elements article {
  color: #474747;
  background-color: #FFFFFF;
  box-shadow: 0px 0px 15px rgba(0,0,0,.3);
}
.elements article {
  display: block;
  padding: 30px 15px;
  border-radius: 50px 0;
  text-align: center;
}
.elements article * {
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1;
}
#introblocks .elements li article a i {
  color: #97A9BD;
  background-color: #FFFFFF;
}
.fa-clock::before {
  content: "\f017";
}
.fa-handshake::before {
  content: "\f2b5";
}
.fa-lock::before {
  content: "\f023";
}
.fa-cogs::before {
  content: "\f085";
}
.elements article .heading {
  font-size: 1.2rem;
  font-weight: 700;
}
.elements article * {
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1;
}
.elements article p {
  margin: 0;
  line-height: normal;
}
.elements article i {
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin-bottom: 30px;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 50%;
}
#introblocks .elements li article{color:#FFFFFF; background-color:#97A9BD;}/* Blue */
#introblocks .elements li article a i{color:#97A9BD; background-color:#FFFFFF;}/* Blue */
#introblocks .elements li article:hover{color:#474747; background-color:#FFFFFF !important;}
#introblocks .elements li article:hover a i{color:#FFFFFF !important; background-color:#97A9BD;}
#introblocks .elements li:nth-child(2) article, #introblocks .elements li:nth-child(2) article:hover a i{background-color:#A197BD;}/* Purple */
#introblocks .elements li:nth-child(2) article a i{color:#A197BD;}/* Purple */
#introblocks .elements li:nth-child(3) article, #introblocks .elements li:nth-child(3) article:hover a i{background-color:#BDA697;}/* Brown */
#introblocks .elements li:nth-child(3) article a i{color:#BDA697;}/* Brown */
#introblocks .elements li:nth-child(4) article, #introblocks .elements li:nth-child(4) article:hover a i{background-color:#97BDAB;}/* Green */
#introblocks .elements li:nth-child(4) article a i{color:#97BDAB;}/* Green */

@media screen and (max-width: 750px) {
  .one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 30px 0;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 750px) {
  .elements-three li:nth-last-child(-n+3), .elements-four li:nth-last-child(-n+4) {
    margin-bottom: 50px;
  }
  .elements article .heading {
  font-size: 1em;
}
article p {
  font-size: 0.9em;
}
}

/*=========== price =============*/
.heading2 {
  font-weight: 600;
  text-align: center;
  padding: 50px 0 30px 0px;
}
.postscript {
  padding: 0 20px;
  font-style: italic;
  font-size: 15px;
}


/*========nashipreimushestva===========*/
.overlay {
  position: relative;
  z-index: 1;
}
.overlay::after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  z-index: -1;
}
.overlay::after {
  color: inherit;
  background-color: rgba(40,46,57,.7);
}
.overlay.light::after {
  background-color: rgba(151,169,189,.7);
}

.bgded {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}
.overlay {
  color: #FFFFFF;
  background-color: inherit;
  margin-top: 5%;
}
@media screen and (min-width: 1140px) {
  .hoc {
    max-width: 1140px;
  }
}
.pt {
  padding-top: 5em !important;
}
.pb {
  padding-bottom: 5em !important;
}
.hoc {
  display: block;
}
/*.clear::before, .clear::after, .group::before, .group::after {
  display: table;
  content: "";
}*/
.sectiontitle {
  display: block;
  max-width: 55%;
  margin: 0 auto 50px;
  text-align: center;
}
.font-x2 {
  font-size: 2.2rem;
  text-align: center;
}
.font-xs {
  font-size: 1rem;
}
.nospace {
  margin: 0;
  padding: 0;
  list-style: none;
}
.group::after {
  clear: both;
}
.elements-three li:nth-child(3n+1), .elements-four li:nth-child(4n+1) {
  margin-left: 0;
  clear: left;
}
.elements-three li, .elements-four li {
  margin-bottom: 50px;
}
.one_third {
  width: 30.52631%;
}
.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter {
  display: inline-block;
  float: left;
  margin: 0 0 0 4.21052%;
    margin-bottom: 0px;
    margin-left: 4.21052%;
  list-style: none;
}
.elements article {
  color: #474747;
  background-color: #FFFFFF;
  box-shadow: 0px 0px 15px rgba(0,0,0,.3);
}
.elements article {
  display: block;
  padding: 30px 15px;
  border-radius: 50px 0;
  text-align: center;
}
.elements article * {
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1;
}
.elements article a i {
  color: #FFFFFF;
  background-color: #97A9BD;
}
.elements article i {
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin-bottom: 30px;
  font-size: 1.6rem;
  text-align: center;
  border-radius: 50%;
}
.elements article .heading {
  font-size: 1.2rem;
  font-weight: 700;
}
#services .elements article {
  border-radius: 0;
}
@media screen and (max-width: 750px) {
  .sectiontitle {
    max-width: none;
  }
}
@media screen and (max-width: 750px) {
  .one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 30px 0;
    margin-bottom: 30px;
    margin-left: 0px;
  }
}

/*otzivy*/
.coloured {
  color: #FFFFFF;
  background-color: #97A9BD;
}
.wrapper {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  word-wrap: break-word;
}
.sectiontitle {
  display: block;
  /*max-width: 55%;*/
  margin: 0 auto 50px;
  text-align: center;
  line-height: 0;
}
.blockquote {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
    margin-bottom: 0px;
  padding: 30px;
  line-height: 1.4;
  z-index: 1;
}
#testimonials article {
  text-align: center;
}
.first {
  margin-left: 0;
  clear: left;
}
#testimonials article figure {
  display: inline-block;
  margin-bottom: 20px;
}
#testimonials article * {
  margin: 0;
    margin-bottom: 0px;
  padding: 0;
}
.clear::before, .clear::after, .group::before, .group::after {
  display: table;
  content: "";
}
#testimonials article figure img {
  float: left;
  margin-right: 15px;
  border-radius: 50%;
  max-width: 100px;
}
#testimonials article figure figcaption {
  float: left;
  margin-top: 30px;
  font-size: 1.4rem;
  text-align: left;
}
#testimonials article blockquote {
  color: #474747;
  background-color: #FFFFFF;
}
#testimonials article blockquote {
  margin-bottom: 20px;
  padding: 20px 20px 40px 20px;
  border-radius: 25px;
  font-size: 13px;
}

#testimonials article figure figcaption .heading {
  font-size: 1.1rem;
}
#testimonials article figure figcaption em {
  display: block;
  margin-top: -5px;
  font-size: .7rem;
  font-style: normal;
}
#testimonials article blockquote::before {
  color: rgba(0,0,0,.05);
}
#testimonials article blockquote::before {
  top: 122px;
  left: 15px;
  font-size: 30px;
}
blockquote::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  font-family: "FontAwesome";
  font-weight: 900;
  font-size: 60px;
  line-height: 60px;
  content: "\f10d";
  z-index: 1;
}
blockquote::after {
  content: "";
  position: absolute;
  left: 23px;
  bottom: 28px;
  width: 88%;
  height: 100px;
  background-image: url("/images/stars.png"), url("/images/yandex.png");
  background-position: left bottom, right bottom;
  background-repeat: no-repeat, no-repeat;
  background-size: 85px auto, 70px auto;
}
/*tabs*/
.tab-container{
  background-color: #4560e7;
  border-radius: 3px;
  overflow: hidden;
  font-size: 14px;
}
.tab-title{
    color: #fff;
    margin: 10px auto;
    text-align: center;
    padding: 20px 0px;
}
.tab-wrapper{
    width: 96%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin: auto;
    padding: 10px;
}
.tab-wrapper .tab-item,
.tab-wrapper input{display: none;}
.tab-wrapper .tab-item{
    width: 90%;
    max-width: 100%;
    padding: 20px;
    order: 1;
    color: white;
    margin: auto;
  }
.tab-wrapper label{
    /*height: 35px;*/
    line-height: 35px;
    min-width: 50px;
    padding: 0px 20px;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}
.no-select{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.tab-wrapper input:checked + label{
    background: white;
    color: black !important;
}
.tab-wrapper input:checked + label + .tab-item{display: block;}

.tab-h3 {
    padding: 20px 0px;
}
.bottom-texts {
  color: #adaaaa;
  padding: 2em 0;
}
/*footer*/
.sub__text {
  padding: 13px 0px;
  font-size: 13px;
}
.titlefoot {
  font-size: 13px;
  color: green;
}
.footermail {
  margin: 10px 0px !important;
}
.llh {
  line-height: 1.6;
}
.form-check-label.small {
  font-size: 13px;
}
/*gallary*/
.scroll-gallery {
  display: flex;
  overflow: hidden;
  cursor: grab;
}

/* ПК — 4 картинки */
.gallery-item {
  flex: 0 0 auto;
  width: 25%;
}

/* Планшет — 2 картинки */
@media (max-width: 993px) {
  .gallery-item {
    width: 50%;
  }
}

/* Мобильные — 1 картинка на всю ширину */
@media (max-width: 768px) {
  .gallery-item {
    width: 100%;
  }
}

.scroll-gallery img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  cursor: pointer;
}

/* Модальное окно */
@media (min-width: 992px) {
#galleryModal .modal-dialog {
  max-width: 80vw;
  /*max-height: 90vh;*/
  max-height: 50%;
}}

/* Картинка в модалке */
#galleryModal img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Крестик закрытия модалки */
.modal-close-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1055;
  width: 40px;
  height: 40px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  cursor: pointer;
}
.modal-close-btn:hover {
  background-color: #222;
}
