@charset "UTF-8";
.footer_5_main_footer {
  padding: 0;
  position: relative;
}

.footer_5_footer_first {
  padding: 30px 0 30px;
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.footer_5_footer_first section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.footer_5_footer_articles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-gap: 24px;
  color: #828282;
}
.footer_5_footer_articles h3 {
  padding: 0 0 24px;
  font-size: 27px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  font-family: Times, serif;
}
.footer_5_footer_articles h3 span {
  color: #ffcb05;
}
.footer_5_footer_articles h4 {
  max-width: 320px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #828282;
}
.footer_5_footer_articles li {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
}
.footer_5_footer_articles li.location {
  background-image: url(/img/location_gray_icon.svg);
}
.footer_5_footer_articles li.phone {
  background-image: url(/img/phone_gray_icon.svg);
}
.footer_5_footer_articles li.email {
  background-image: url(/img/email_gray_icon.svg);
}
.footer_5_footer_articles li a {
  color: currentColor;
  text-decoration: none;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.footer_5_footer_articles li a:hover {
  color: #000;
}
.footer_5_footer_articles .contacts li {
  padding: 0 0 0 27px;
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: 18px;
}
.footer_5_footer_articles p {
  max-width: 320px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.footer_5_footer_second {
  padding: 30px 0;
  background-color: #000;
}
.footer_5_footer_second section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.footer_5_footer_second li {
  display: inline-block;
  padding: 0 20px 0 0;
}
.footer_5_footer_second a {
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.footer_5_footer_second a:hover {
  color: #000;
}
.footer_5_footer_second .copyright {
  font-size: 14px;
  line-height: 1.5;
  color: #828282;
}

.footer_5_cookie_popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 80%;
  max-width: 500px;
  z-index: 1000;
}
.footer_5_cookie_popup .footer_5_cookie_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.footer_5_cookie_popup .footer_5_cookie_content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.footer_5_cookie_popup .footer_5_cookie_content p a {
  color: #ffd700;
  text-decoration: underline;
}
.footer_5_cookie_popup .footer_5_cookie_content p a:hover {
  color: #fff;
}
.footer_5_cookie_popup .footer_5_cookie_content .footer_5_btn_accept {
  background-color: #ffd700;
  color: #333;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 15px;
}
.footer_5_cookie_popup .footer_5_cookie_content .footer_5_btn_accept:hover {
  background-color: #fff;
  color: #333;
}
.footer_5_cookie_popup.hidden {
  display: none;
}

@media (min-width: 240px) and (max-width: 1023px) {
  .footer_5_footer_articles {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer_5_footer_articles h3 {
    font-size: 18px;
  }
  .footer_5_footer_articles h4 {
    margin: 0 auto;
  }
  .footer_5_footer_articles p {
    margin: 0 auto;
  }
  .footer_5_footer_articles .contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer_5_footer_second section {
    flex-wrap: wrap;
  }
  .footer_5_footer_second .copyright {
    width: 100%;
    text-align: center;
  }
  .footer_5_footer_second ul {
    width: 100%;
    padding: 0 0 12px;
    text-align: center;
  }
  .footer_5_footer_second li {
    padding: 0 12px;
  }
}
