/* Button */
.block_search_button:hover, 
.block_check_sites:hover, 
.block_eye_button:hover, 
.block_check_language:hover {
    background-color: #e8e8e8;
    border-radius: var(--bs-border-radius);
}

.btn-green-light:hover,
.btn-green-light:active,
.btn-green-light:focus {
    background: #5DBB46;
    color: #fefefe;
}

.button-all:hover {
  background: #e8e8e8;
}

.btn.green-button:hover {
  background-color: #4e9b3a;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #4e9b3a;
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.footer-menu-link:hover {
  color: #5DBB46 !important;
}

.sitemap-menu li a:hover {
  color: #4e9b3a;
}

/* Sliders */
.slider-top-news .slick-arrow:hover {
  background-color: #e8e8e8;
}

.slider-bottom-news .slick-arrow:hover {
  background-color: #e8e8e8;
}

.slider-situasions .slick-arrow:hover {
  background-color: #e8e8e8;
}

.slider-resheniya .slick-arrow:hover {
  background-color: #e8e8e8;
}

/* Accordion in Report */
ul.accordion-list li span.mod-menu__separator {
  border-radius: 0 !important;
}

ul.accordion-list li span.mod-menu__separator:hover {
  background-color: #e8e8e8;
}

ul.accordion-list li ul.mod-menu__sub {
  background-color: #f3f3f3 !important;
}
ul.accordion-list li ul.mod-menu__sub li a:hover {
  background-color: #e8e8e8;
}
ul.accordion-list li ul.mod-menu__sub li.current a {
  color: #fff !important;
  background-color: #5DBB46;
}

/* Side menu in manual */
.side-menu li:hover{
  background: rgb(93 187 70 / 15%);
}
.side-menu li:hover span {
  color: #5DBB46;
}

/* ====================================================== */
.map_icon,
.map_icon:visited {
  background-image: url(../images/icon_map_button.svg);
  background-position: 16px center;
  padding-left: 52px;
  background-repeat: no-repeat;
  background-size: 20px;
}

.map_icon:hover,
.map_icon:active,
.map_icon:focus {
    background-image: url(../images/icon_map_button_white.svg);
    background-position: 16px center;
    padding-left: 52px;
    background-repeat: no-repeat;
    background-size: 20px;
}

/* ====================================================== */
.nav-menu.life-situations {
  padding: 6px 6px 0 !important;
}
.nav-menu.life-situations li {
  display: inline-block;
  margin-bottom: 6px;
}

.nav-menu.life-situations li a:hover {
  background: #5dbb46;
  color: #fff
}

/* ====================================================== */
#search-form .form-control{
  width: 250px;
  border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius) !important;
}

#search-form .input-group {
  flex-wrap: nowrap;
}

#search-form .form-control:focus {
  box-shadow: none;
  border-color: #5DBB46;
}

#search-form .btn-primary {
  border: 1px solid #5DBB46;
}

.result__time {
  color: #787878;
  margin-bottom: 10px !important;
  line-height: 19.5px;
  font-size: 14px !important;
}

#search-result-list .list-news-item:hover {
  background: #e8e8e8 !important;
  cursor: pointer;
}

.categories {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  color: #5DBB46;
  font-size: 14px;
  font-weight: 600;
  line-height: 19.5px;
}

.categories__item {
  padding-right: 16px;
  margin-right: 16px;
  border-right: 2px solid #dedede;
  margin-bottom: 10px;
}

.categories__item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}
/* ====================================================== */
.slider-bottom-news-item:hover,
.slider-situations-item:hover {
  background-color: #e8e8e8;
  cursor: pointer;
}
/* TODO: убрать из основного файла вместо переопределения*/
/* Header search */
.block-riggers>div {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
}

.block-riggers>div>div {
  padding: 12px 18px !important;
  cursor: pointer;
}

.block-riggers>div>div:hover{
  border-radius: var(--bs-border-radius);
  background-color: rgba(255, 255, 255, 0.3);
}

.block-riggers>div>div .search-rigger:before {
  content: '';
  width: 1px;
  height: 100%;
  display: block;
  position: absolute;
  right: -23px;
  background: rgb(255 255 255 / 50%);
}

@media (max-width: 767px) {
  .block-riggers>div {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .block-riggers>div>div .search-rigger {
    padding: 0;
    margin: 0;
  }

  .block-riggers>div>div .search-rigger:before {
    content: '';
    width: 100%;
    height: 1px;
    right: 0;
    bottom: -17px;
  }

  /* ====================================================== */
  #search-form {
    flex-direction: column-reverse;
    align-items: start !important;
  }

  #search-form .form{
    width: 100%;
  }

  #search-form .awesomplete {
    width: 100%;
  }

  #search-form .input-group {
    width: 100%;
    margin-bottom: 24px !important;
  }

  #search-form .form-control {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .categories {
    flex-wrap: wrap;
  }
}
