:root {
  --primary-color: #104f85;
  --second-color: #5dade2;
}

body {
  background-image: url(/img/background2.jpg);
  background-color: var(--primary-color);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  min-width: 320px;
  padding-top: 70px;
}

.header-top {
  margin-top: 2em;

}

.main-block {
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);
}

.side-block {
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);
}

.header-blog {
  text-align: center;
}
main {
  a {
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: #c2d9ed;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;

  }
}
.side-block {
  li {
    list-style-type: none;
  }

  ul {
    padding-left: 0;
  }

  a {
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: #c2d9ed;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;

  }
  line-height: 170%;
}

h1 {
  color: white;
  text-shadow: 1px 1px 9px var(--primary-color);
}

h2,
h3,
h4 {
  color: var(--primary-color);
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.2rem;
}

.header-annonce-footer {
  color: white !important;

  h2 {
    color: white !important;
    text-shadow: 1px 1px 9px var(--primary-color);
    text-align: center;
  }

  


  a {
    text-decoration: underline;
    text-decoration-color: #c2d9ed;
    text-decoration-thickness: 1%;
  }
  a:hover {

    text-decoration: underline;
    text-decoration-color: var(--second-color);
  
  }
}

a.h1h5 {
  text-decoration: underline;
  text-decoration-color: #c2d9ed;

}

a.h1h5:hover {

  text-decoration: underline;
  text-decoration-color: var(--second-color);

}

a.h1h5-brief {
  text-decoration: underline;
  text-decoration-color: #c2d9ed;
  color: var(--primary-color);
}

a.h1h5-brief:hover {

  text-decoration: underline;
  text-decoration-color: var(--primary-color);

}



.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
a.whatsapp-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

a.whatsapp-link:hover {
color:  crimson;
}

.phone-number {
  font-weight: 600;
 
}




.contacts_phone {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contacts {
  color: var(--primary-color);
  line-height: 170%;
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);

  a {
    color: var(--primary-color);
    text-decoration-color: #c2d9ed;
    text-decoration: none;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;
  }

  .contacts {
    font-size: 1.1rem;
  }
}

iframe {
  border: none;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

@media screen and (max-width: 576px) {
  iframe {
    width: 350px;
    height: 250px;
  }

  .contacts {
    font-size: 1.1rem;
  }

  .side-block {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  iframe {
    width: 600px;
    height: 400px;
  }

  .contacts {
    font-size: 1rem;
  }

  .side-block {
    font-size: 1rem;
  }
}

@media screen and (max-width: 992px) {
  iframe {
    width: 600px;
    height: 400px;
  }

  .contacts {
    font-size: 1rem;
  }

  .side-block {
    font-size: 1rem;
  }
}


@media screen and (max-width: 1040px) {
  .contacts {
    font-size: 1.1rem;
  }

  .side-block {
    font-size: 1rem;
  }
}


@media screen and (min-width: 1040px) {
  iframe {
    width: 680px;
    height: 400px;

  }

  .contacts {
    font-size: 1.1rem;
  }
}


@media screen and (max-width: 1200px) {
  iframe {
    width: 680px;
    height: 400px;
  }

}

@media screen and (min-width: 1200px) {
  iframe {
    width: 750px;
    height: 450px;
  }

  .contacts {
    font-size: 1.1rem;
  }
}

@media screen and (min-width: 1400px) {
  iframe {
    width: 800px;
    height: 500px;
  }

}


.navbar a {
  transition: all .3s;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

.animate {
  animation-duration: .3s;
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

.slideIn {
  animation-name: slideIn;
}

@media all and (min-width: 992px) {
  .navbar .dropstart .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    margin-right: 0;
  }

  /* .navbar-nav li>.dropdown-menu {
      display: none;
      box-shadow: 0 5px 10px rgba(0, 0, 0, .3);
  }

  .navbar-nav li:hover>.dropdown-menu {
      display: block;
  } */
}

@media all and (max-width: 991px) {
  .dropstart .dropdown-toggle::before {
    display: none;
  }

  .dropstart .dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
  }

  .navbar-nav .dropdown-menu {
    padding-left: 20px;
  }
}

img .responsive {
  width: 100%;
  height: auto;
  border-radius: 5px;
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);

}

img:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.brief-annonce {
  display: flex;
  flex-direction: column;

  img {
    order: 1;
  }

  h4 {
    order: 2;
  }
}

.brief-article {
  max-width: 800px;
  padding: 5px;
  margin: 3px;
  border-radius: 5px;
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);

  a {

    text-decoration: underline;
    text-decoration-color: #c2d9ed;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;

  }
}

.brief-article-annonce {

  padding: 5px;
  margin: 3px;
  border-radius: 5px;
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);

  a {

    text-decoration: underline;
    text-decoration-color: #c2d9ed;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;

  }


}

.annonce {

  h2,
  h3,
  h4 {
    color: var(--primary-color);
  }

  h3 {
    font-size: 1.3rem;
  }

  h4 {
    font-size: 1.2rem;
  }





  @media (max-width: 576px) {
    .brief-annonce img {
      height: 250px;
    }
  }

  @media (min-width: 768px) {
    .brief-annonce img {
      height: 250px;
    }
  }

  @media (min-width: 992px) {
    .brief-annonce img {
      height: 400px;
    }
  }

  @media (min-width: 1200px) {
    .brief-annonce img {
      height: 300px;
    }
  }

  @media (min-width: 1400px) {
    .brief-annonce img {
      height: 350px;
    }
  }

  /* Стили для ссылок */

  /* Мета-данные */
  footer a {
    color: #6c757d !important;
  }

  footer a:hover {
    color: var(--primary-color) !important;
  }

}

/* Стили для секции подвала */


/* Адаптация сетки */
@media (max-width: 767.98px) {
  .annonce-footer .row {
    gap: 1.5rem !important;
  }
}


.btn-link {
  color: var(--primary-color);
  /* text-decoration: none !important;  Стили для ссылок */
  font-weight: 500;

}
.accent {
  color: var(--primary-color);
  font-weight: bold;
  list-style-type: " ✔️";
}
.accent li{
  color: var(--primary-color);
  font-weight: bold;
  list-style-type: " ✔️";
}
.red {
  color: crimson;
  font-weight: bold;
}

.annonce-footer {

  h2,
  h3,
  h4 {
    color: var(--primary-color);
  }

  h3 {
    font-size: 1.3rem;
  }

  h4 {
    font-size: 1.2rem;
  }

}

/* Стили для карточек */




@media (max-width: 576px) {
  .annonce-footer .brief-annonce img {
    height: 250px;
  }

  .post-thumbnails-single {
    max-height: 350px;
    overflow: hidden;
  }

  .post-thumbnails-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 768px) {
  .annonce-footer .brief-annonce img {
    height: 250px;
  }

  .post-thumbnails-single {
    max-height: 440px;
    overflow: hidden;
  }

  .post-thumbnails-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 992px) {
  .annonce-footer .brief-annonce img {
    height: 400px;
  }

  .post-thumbnails-single {
    max-height: 450px;
    overflow: hidden;
  }

  .post-thumbnails-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1200px) {
  .annonce-footer .brief-annonce img {
    height: 300px;
  }

  .post-thumbnails-single {
    max-height: 500px;
    overflow: hidden;
  }

  .post-thumbnails-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


}

@media (min-width: 1400px) {
  .annonce-footer .brief-annonce img {
    height: 350px;
  }

  .post-thumbnails-single {
    max-height: 500px;
    overflow: hidden;
  }

  .post-thumbnails-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.post-thumbnails-single {
  max-height: 500px;
  overflow: hidden;
}

.post-thumbnails-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brief-annonce img {
  height: 350px;
  object-fit: cover;
  width: 100%;
  background: #FFFFFF;
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF);
  background-color: position: relative;
  box-shadow: 5px 5px 6px -4px var(--second-color);
}

.brief-annonce img:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.brief-article {
  transition: transform 0.3s ease;
}

.brief-article:hover {
  transform: translateY(-5px);
}

/* Мета-данные */
.annonce-footer footer a {
  color: #6c757d !important;
}

.annonce-footer footer a:hover {
  color: var(--primary-color) !important;
}

.post-content p {
  display: -webkit-box;
  /*  -webkit-line-clamp: 3; Ограничение текста до 3 строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer-top {
  background-color: var(--primary-color) !important;
  width: 100%;
  align-items: center;

  a {
    text-decoration: underline;
    text-decoration-color: #6aaae3;
    color: #F4FCFF;

  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;
  }

}

.footer-bot {
  background: radial-gradient(at right top, #FFFFFF, #F4FCFF) !important;
  background: #FFFFFF;

  a {
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: #c2d9ed;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;

  }

  li {
    list-style-type: none;
  }


}

.footer-bottom {
  text-align: center;
  width: 100%;
}

.btn-up {
  position: fixed;
  background-color: var(--primary-color);
  right: 20px;
  bottom: 0px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 40px;
}


.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {

    background-color: var(--second-color);
  }
}

.google-search {

  margin-bottom: 5px;
height: 80%;

}
li.submenu-catalog {
  margin-left: 1em;
}

ul.submenu-catalog {
  margin-left: 2em;
}
a.active-page {
font-weight: bold;
color:   crimson !important;

}




.cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #0a0a0a;
  z-index: 1000;
  background-color: #c2d9ed;
}

.cookie-close {
  background: #ffffff;
  border: 1px solid red; 
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold; 
  padding: 5px 10px; 
  border-radius: 4px; 
  transition: all 0.3s ease; 
  color: red; 
}

/* Эффект при наведении мыши */
.cookie-close:hover {
  background-color: red; 
  color: white; 
}

.cookie-decline {
  background: none;
  border: 2px solid red;  /* Красная рамка */
  margin-left: 10px;
  cursor: pointer;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  color: red; 
  transition: all 0.3s ease;
}

.cookie-decline:hover {
  background-color: red; 
  color: white;
}

.breadcrumb-custom-divider {
  --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3E");
  

}
.breadcrumb-custom a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-color: #c2d9ed;
}

.breadcrumb-custom a:hover {
  color: crimson;
  text-decoration: underline;
  text-decoration-color: crimson;
}

/* Стили для активного элемента (заголовка страницы) */
.breadcrumb-custom .active {
  font-weight: bold;
  color: var(--primary-color);
}
.benefit {
  li {
    list-style-type: none;
  }

  

  a {
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: #c2d9ed;
  }

  a:hover {
    color: crimson;
    text-decoration: underline;
    text-decoration-color: crimson;

  }
}

.left {
  float: left;
}
