/*Подменю 2-го уровня в главном меню -- Start*/
.main-nav-item {
  position: relative;
}

.main-nav-item__link {
  position: relative;
  z-index: 1;
}

.nav-submenu-container {
  display: none;
  position: absolute;
  top: 0;
  padding-top: 65px;
}

.main-nav-submenu {
  width: max-content;
  background-color: #fff;
  border-radius: 0px 0px 20px 20px;
  padding-inline-start: 0;
  list-style-type: none;
  padding: 20px;
  font-size: 16px;
  line-height: 150%;
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, #0075f0, #13d8cf);
  -moz-border-image: -moz-linear-gradient(to right, #0075f0, #13d8cf);
  -webkit-border-image: -webkit-linear-gradient(to right, #0075f0, #13d8cf);
  border-image-slice: 1;
}

.main-nav-submenu .main-nav-submenu-item:not(:last-child) {
  margin-bottom: 5px;
}

.main-nav-submenu .main-nav-submenu-item--selected:before {
  display: inline-block;
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background-color: #0075f0;
  border-radius: 50%;
}

.main-nav-item:hover .nav-submenu-container {
  display: block;
}

.main-nav-submenu .main-nav-submenu-item__link {
  padding: 0.5em 0;
  text-decoration: none;
}

.main-nav-item.no-empty-submenu .change-submenu-button {
  display: none;
}

@media (max-width: 767.98px) {
  .main-nav-item.no-empty-submenu .change-submenu-button {
    display: inline-block;
    width: 16px;
    height: 12px;
    background: url(/local/templates/kvokka/img/bg/local/src/img/icons/bottom.svg)
      no-repeat center center;
    margin-left: 13px;
    position: relative;
    z-index: 100;
  }
  .return-submenu-button {
    display: none;
    width: 8px;
    height: 14px;
    background: url(/local/templates/kvokka/img/bg/local/src/img/icons/left-grey.svg)
      no-repeat center center;
    margin-left: 8px;
    position: relative;
    z-index: 100;
  }

  .main-nav-submenu {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 0;
  }

  .main-nav-item {
    z-index: 50;
    width: max-content;
  }

  .main-nav-item.opened .main-nav-item__link {
    font-size: 18px;
    line-height: 150%;
    font-weight: 500;
    padding: 0 0 0 16px;
  }

  .main-nav-submenu .main-nav-submenu-item:not(:last-child) {
    margin-bottom: 16px;
  }

  .nav-submenu-container {
    padding-top: 20px;
    opacity: 0.9;
    height: 0;
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) and (min-width: 767.98px) {
  .nav-submenu-container {
    padding-top: 0;
    margin-top: 35px;
    z-index: 2;
  }

  .nav-submenu-container .main-nav-submenu {
    text-align: start;
  }
}
/*Подменю 2-го уровня в главном меню -- End*/

/*Кнопки на странице "О нас" -- Start*/
h1.about-page {
  font-weight: bold;
}

.about-page-button-container {
  display: flex;
  align-items: center;
  margin-top: 110px;
}

.about-page-button-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 64px;
  background-color: #f4f5fa;
  text-decoration: none;
  text-transform: uppercase;
}

.about-page-button-container span {
  height: 36px;
  border-left: 1px solid #9ba1ab;
  margin: 0 16px;
}

@media (max-width: 360px) {
  .about-page-button-container {
    display: flex;
    flex-direction: column;
    margin-top: 80px;
  }

  .about-page-button-container a {
    width: 100%;
  }

  .about-page-button-container a:first-child {
    margin-bottom: 12px;
  }

  .about-page-button-container span {
    display: none;
  }
}
/*Кнопки на странице "О нас" -- End*/

/*Страница "Услуги" -- Start*/
.tax-deduction-container {
  margin-top: 50px;
}

.tax-deduction-container a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  text-transform: uppercase;
  width: max-content;
  align-items: center;
}

.tax-deduction-container img {
  width: 80px;
  height: 80px;
}
/*Страница "Услуги" -- End*/

/*Кнопка Наверх -- Start*/
@media (min-width: 1700px) {
  .arrow-up {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 230px;
    width: 55px;
    height: 55px;
    /*background-color: #F4F5FA;*/
    border-radius: 50%;
    background: #f4f5fa
      url(/local/templates/kvokka/img/bg/local/src/img/icons/up.svg) no-repeat
      center center;
    cursor: pointer;
  }
}
/*Кнопка Наверх -- End*/

/*Баннер над заголовком в Направлениях -- Start*/
.direction-new__banner img {
  width: 100%;
  height: 80px;
}

.direction-new__banner-img {
  width: 100%;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-bottom: 40px;
}
/*Баннер над заголовком в Направлениях -- Start*/

/*Баннер c видео на главной -- Start*/
.main-slider-nav-item {
  text-decoration: none;
  position: relative;
}

.main-slider-nav-item span {
  background-position: center center;
  background-repeat: no-repeat;
}

.main-slider-nav-item span.active {
  position: absolute;
  top: 0;
  opacity: 0;
}

.main-slider-nav-item:hover {
  color: #0384eb;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#0075f0),
    to(#13d9cf)
  );
  background-image: -webkit-linear-gradient(left, #0075f0 0%, #13d9cf 100%);
  background-image: -o-linear-gradient(left, #0075f0 0%, #13d9cf 100%);
  background-image: linear-gradient(90deg, #0075f0 0%, #13d9cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: color 0.3s;
}

.main-slider-nav-item:hover .noactive {
  opacity: 0;
  transition: opacity 0.3s;
}

.main-slider-nav-item:hover .active {
  opacity: 1;
  transition: opacity 0.3s;
}

/*Баннер c видео на главной -- End*/

/*Ссылка на WhatsApp -- Start*/
.whatsapp_link {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  right: 0;
  top: 226px;
  transform-origin: 100% 100%;
  transform: rotate(-90deg);
  padding: 6px 20px;
  text-decoration: none;
  background-color: #4dcb5b;
  border-radius: 8px 8px 0px 0px;
  color: #fff;
  z-index: 99;
}

.whatsapp_link:hover {
  color: #fff;
}

.whatsapp_link span.whatsapp_logo {
  width: 24px;
  height: 24px;
  background: url("/local/templates/kvokka/img/bg/local/src/img/icons/whatsapp-1.svg"),
    url("/local/templates/kvokka/img/bg/local/src/img/icons/whatsapp-2.svg");
  background-repeat: no-repeat;
  background-position: center center;
  transform: rotateZ(90deg);
}

@media (max-width: 360px) {
  .whatsapp_link {
    top: auto;
    bottom: 165px;
  }
}
/*Ссылка на WhatsApp -- End*/

.policy-link {
  display: inline-block;
  margin-bottom: 25px;
  padding: 0;
  text-decoration: underline;
  color: #6d798a;
}

@media (max-width: 768px) {
  .policy-link {
    color: #fff;
  }
}

.about-content {
    display: flex;
    justify-content: flex-start;
    gap: 200px;
}

.about-images {
    display: flex;
    flex-direction: row;
    gap: 100px;
    width: 20%;
	align-items: center;
	position: relative;
	z-index: 1;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 1525px) {
    .about-content {
        display: flex;
    justify-content: flex-start;
	gap: 30px;
    }

    .about-images {
        display: flex;
    flex-direction: row;
    gap: 30px;
    width: 20%;
	align-items: center;
	position: relative;
	z-index: 1;
    }

}
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-images {
        width: 100%;
        flex-direction: row;
    }

    .about-image {
        width: 40%;
    }
}



section.right-widget {
  position: fixed;
  right: 0;
  bottom: 40%;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 4px 12px rgba(0, 117, 240, 0.2);
  z-index: 10000;
  /*justify-content: center;
  align-items: center;*/
}

section.right-widget:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #0075F0, #13D9CF, #0075F0);
  background-size: 200% 100%;

  -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 1;

  animation: gradientMove 2s linear infinite;
}

section.right-widget:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #13D9CF, #0075F0, #13D9CF);
  background-size: 200% 100%;

  -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 2;
  opacity: 0.5;

  animation: gradientMove 2s linear infinite reverse;
  filter: drop-shadow(0 2px 8px rgba(19, 217, 207, 0.3));
}

@keyframes gradientMove {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

section.right-widget .widget-item {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 12px;
  border-bottom: 2px solid #e8e8e8;
}

section.right-widget .widget-item:first-child {
  border-radius: 10px 0 0 0 ;
}

section.right-widget .widget-item:last-child {
  border-bottom: none;
  border-radius:  0 0 0 10px;
}

section.right-widget .widget-item span {
  transition: 0.7s all;
  position: absolute;
  right: -600px;
  min-width: max-content;
  border-radius: 11px;
  display: block;
  background: #f4f5fa;
  backdrop-filter: blur(130px);
  box-shadow: 0 10px 100px 0 rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  position: absolute;

  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  z-index: -1;

}

section.right-widget .widget-item:hover {
  background: linear-gradient(90deg, #097af0 0%, #30dbd5 100%);
}

section.right-widget .widget-item:hover svg path,
section.right-widget .widget-item:hover .widget-item__call path#call1,
section.right-widget .widget-item:hover .widget-item__call path#call2 {
  fill: #fff;
}

section.right-widget .widget-item:hover .widget-item__phone path#phone,
section.right-widget .widget-item:hover .widget-item__phone path#phone2 {
  stroke: #fff;
  fill: url(#paint0_linear_26_833);
}

section.right-widget .widget-item:hover span {
  right: 68px;
}

section.right-widget .widget-item span a {
  display: flex;
}

section.right-widget .widget-item:hover span {
  right: 68px;
}

section.right-widget .widget-item span::after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: ' ';
  background: url(/local/templates/kvokka/img/icons/line.svg);
  right: -12px;
  background-repeat: no-repeat;
  background-position: center;
}

section.right-widget .widget-item:hover .widget-item__call path {
  fill: url(#paint0_linear_26_833);
}
@media screen and (max-width: 550px) {
  section.right-widget .widget-item {
    padding: 8px;
  }
  section.right-widget .widget-item  svg {
    width: 25px;
  }
}

.contacts-icon--bvi {
  background-image: url(/local/templates/kvokka/img/icons/bvi.svg);
  background-position: top left;
  min-height: 30px;
  display: flex;
  align-items: center;
}

.contacts-icon--bvi .bvi_button {
  padding-left: 2.5em;
  display: inline-block;
  text-decoration: none;
  font-weight: 400;
}

.contacts-icon--bvi .bvi_button:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
    .contacts-icon--bvi {
        margin-top: 20px;
        min-height: 35px;
    }
    .contacts-icon--bvi .bvi_button {
        padding-left: 3.5em;
    }
}
