@import url("variables.css");

/* Heroes section */
.heroes_box {
  display: flex;
  padding: 50px;
  position: relative;
  background-image: url(./../assets/images/new/heroes/heroes_bg.jpg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}

.qty_heroes {
  white-space: nowrap;
  font-weight: 700;
}

h2.heroes_header {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-right: 40px;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  border-left: none;
  flex-basis: 200px;
}

.heroes_firstline {
  font-size: 30px;
  border-left: solid 5px var(--active-color);
  padding-left: 10px;
  display: block;
  white-space: nowrap;
}

.heroes_secondline {
  font-size: 15px;
  margin-top: 10px;
  padding-left: 15px;
  display: block;
  line-height: 18px;
}

.persons_box {
  display: flex;
  position: relative;
  z-index: 1;
  gap: 20px;
}

.one_hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
}

.one_hero img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  border-radius: 50%;
}

.hero_name {
  color: var(--active-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.hero_death_date {
  color: var(--active-color);
  font-size: 13px;
  font-weight: 700;
}

.hero_position {
  color: #fff;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
  line-height: 16px;
}

.heroes_current {
  font-size: 14px;
  color: var(--active-color);
  font-weight: 400;
  line-height: 16px;
  display: block;
  margin: 50px 15px 0;
}

/*Sections*/

.services-box,
.partners-box,
.state-bodies-box,
.dap-box,
.buttons-box {
  padding-top: 30px;
  margin: 30px 0;
}

.buttons-box {
  margin-bottom: 0;
}

.services-box {
  padding-top: 20px;
}

/*.services-box .one-item{
  align-items: flex-start;
}*/
.swiper.swiper-services {
  height: 65px;
  margin-left: 0;
  width: 100%;
}

.services-box .one-item .button-with-arrow {
  display: none;
}

.swiper.swiper-services .tabs-caption li {
  width: auto !important;
}

.one-item.swiper-slide p span[style="font-weight: 400;"] {
  font-weight: 300 !important;
}

.dap-box {
  padding-top: 0;
}

.dap-box .container .wrapper {
  display: flex;
  padding: 30px;
  background-color: var(--light-bg-color);
}

.dap-picture {
  position: relative;
  max-width: 50%;
  min-width: 50%;
  overflow: hidden;
  z-index: 0;
  /*max-height: 215px;*/
}

.dap-info {
  padding-right: 50px;
}

.dap-info p {
  font-size: 1rem;
  line-height: 1.5rem;
}

.dap-info p,
.dap-info .button {
  margin-left: 0;
}

.dap-info p {
  margin-right: 50px;
}

.dap-info .button {
  margin-top: 30px;
}

.dap-statistics {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  height: 100%;
  /*margin-top: -10px;*/
  padding: 0 0px;
}

.dap-piece {
  color: #fff;
  display: flex;
  align-items: center;
  padding-right: 20px;
  padding-left: 20px;
}

.dap-piece:not(:last-child) {
  border-right: solid 1px #fff;
}

.dap-label {
  font-size: 1.1rem;
  margin-right: 10px;
}

.dap-value {
  font-size: 2.1rem;
  font-weight: 900;
}

.main-pic {
  position: absolute;
  top: 0;
  right: 0;
  width: 141%;
  z-index: 0;
}

/*Partners*/
.state-bodies-box .container .partners-list,
.partners-box .container .partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.partners-box .container .partners-list {
  align-items: center;
  justify-content: space-between;
}

/* Buttons */
.buttons-box {
  padding-top: 0;
}

.buttons-box .container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.one-category-button {
  border: solid 1px var(--border-color);
  display: flex;
  gap: 15px;
  padding: 5px 20px;
  cursor: pointer;
  align-items: center;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

.one-category-button:hover {
  background-color: rgba(255, 215, 47, 0.06);
  color: var(--primary-bg-color);
  border-color: var(--primary-bg-color);
}

.one-category-button h4 {
  font-size: 1.4rem;
  line-height: 1.6rem;
  color: var(--primary-bg-color);
  padding-left: 15px;

  margin-top: 5px;
  margin-bottom: 5px;
  align-items: center;
  position: relative;
}

.one-category-button h4:before {
  position: absolute;
  border-left: solid 3px var(--active-color);
  height: 49px;
  content: "";
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.one-category-button h4 span {
  display: block;
  font-size: 1.3rem;
  font-weight: 300;
  white-space: nowrap;
}

/*News*/
.news-box {
  background-color: var(--light-bg-color);
  min-height: 400px;
  margin-bottom: 30px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.news-box .container {
  display: grid;
  grid-template-areas:
    "a b"
    "c c";
}

.slider-wrapper {
  grid-area: a;
}

.tags-wrapper {
  grid-area: c;
  margin-top: 10px;
  justify-content: space-between;
}

.tags-wrapper h4 {
  color: var(--primary-bg-color);
  font-size: 0.9rem;
  padding-top: 8px;
  font-weight: 300;
  margin-top: 0;
  margin-right: 20px;
}

.tags-items {
  display: flex;
  gap: 1rem;
}

.swiper-gallery {
  width: 700px;
  /*height: 313px;*/
  height: auto;
  margin-bottom: 10px;
  padding-bottom: 0;
}

.swiper-gallery .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 0.5);
}

.swiper-gallery .swiper-pagination {
  text-align: right;
  right: 5px;
  left: auto;
  bottom: 5px;
}

.swiper-pagination-bullet {
  background: white;
}

/*Correspondance box*/
.search-correspondence-box {
  background-color: var(--primary-bg-color);
  color: #fff;
}

.corresponence-info {
  max-height: 400px;
  overflow-y: auto;
}

.corresponence-info table {
  box-sizing: border-box;
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #005aad;
  border-top-width: 0;
  border-right-width: 0;
}

.corresponence-info table th,
.corresponence-info table td {
  border: 1px solid #005aad;
  border-left-width: 0;
  border-bottom-width: 0;
  padding: 5px 10px;
  white-space: nowrap;
}

.corresponence-info table tr {
  border: 1px solid #005aad;
}

.search-correspondence-box .form {
  display: flex;
  justify-content: space-between;
}

.search-correspondence-box .wrapper {
  padding: 30px 0 35px;
}

.search-correspondence-box h2 {
  color: #fff;
  margin-top: 0;
}

.search-correspondence-box .inline-dp {
  position: absolute;
  top: 24px;
  left: 0;
  z-index: 1;
  width: 100%;
}

.search-correspondence-box .form-control {
  display: flex;
  flex-direction: column;
  flex-basis: 27%;
  justify-content: flex-start;
}

.search-correspondence-box .form-control {
  position: relative;
}

.search-correspondence-box .form-control label {
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.search-correspondence-box .form-control input {
  background-color: #fff;
  width: 100%;
}

.search-correspondence-box .search-correspondence-box h2 {
  color: #fff;
}

.search-correspondence-box .form .button {
  align-self: flex-end;
}

#correspondence-dp-container input.hided + div.ui-datepicker-inline {
  display: none !important;
}

#correspondence-dp-container div.ui-datepicker-inline {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.ui-datepicker .ui-datepicker-current-day a {
  background-color: var(--primary-bg-color);
  color: var(--active-color);
  font-weight: bold;
}

.corresponence-info {
  background-color: #fff;
  padding: 20px;
  display: flex;
  margin-top: 30px;
  color: #000;
  gap: 30px;
  align-items: flex-start;
}

.corresponence-info h3 {
  color: var(--primary-bg-color);
  font-weight: 700;
  line-height: 2.8rem;
  font-size: 1.9rem;
  text-transform: uppercase;
}

.corresponence-text {
  font-size: 1.3rem;
  line-height: 1.4rem;
  padding-left: 20px;
  border-left: solid #3f3f3f 1px;
}

/*Button Conflict interes*/
.test-popup {
  padding: 13px;
  position: absolute;
  z-index: -1;
  left: -1px;
  display: none;
  min-height: 125px;
  border: solid 1px var(--border-color);
  border-top: 0 none;
  right: -1px;
  transition: 0.3s;
}

.test-popup.popup-open {
  display: block;
  animation: popup;
  animation-timing-function: linear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

.test-popup > a {
  font-size: 1.1rem;
  line-height: 1;
  color: #000;
  border-bottom: solid 1px var(--border-color);
  padding: 5px;
  text-align: center;
  display: block;
}

.test-popup > a:last-child {
  border-bottom: 0 none;
}

.test-popup > a:hover {
  color: var(--primary-bg-color);
}

.test-popup.popup-close {
  display: none;
}

.one-category-button:hover .test-popup {
  background-color: #fffdf4 !important;
  border-color: var(--primary-bg-color);
}

.open-links-button svg {
  width: auto;
  height: auto;
  cursor: pointer;
  transition: 0.5s;
}

.open-links-button.up-arrow svg {
  transform: rotate(180deg);
}

@keyframes popup {
  0% {
    top: 60px;
    opacity: 0;
    z-index: -1;
    display: none;
    background-color: transparent;
  }

  100% {
    top: 80px;
    opacity: 1;
    z-index: 2;
    display: block;
    background-color: #fff;
  }
}

/*News list*/
.news-desktop {
}

.news-mobile {
  display: none;
}

.news-mobile .swiper-news {
  height: auto;
  width: auto;
}

.news-wrapper .news-mobile .one-news-day {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.4rem;
  left: 0;
  top: 0;
  padding: 0;
  margin-top: 0;
  color: #555;
}

.news-mobile-footer .swiper-buttons {
  justify-content: flex-start;
  padding-top: 0;
}

.news-mobile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-wrapper .news-mobile .one-news {
  border-top: 0 none;
  padding-top: 5px;
}

.one-mobile-news {
  margin-bottom: 20px;
}

.one-mobile-news .one-news-day {
  font-size: 0.9rem;
  line-height: 1.4rem;
}

.partners-list1 {
  gap: 20px;
}

.services-box .misc {
  display: none;
  color: #333;
  align-items: center;
  gap: 10px;
}

.services-box .misc .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 8px;
}

.services-box .misc1,
.services-box .misc2,
.services-box .misc3 {
  display: flex;
}

.services-box .misc1 .dot {
  background-color: #52ee61;
}

.services-box .misc2 .dot {
  background-color: #fbbb1d;
}

.services-box .misc3 .dot {
  background-color: #ff0000;
}

@media (max-width: 1200px) {
  .one-category-button .ico {
    width: 66px;
    text-align: center;
  }
}

@media screen and (min-width: 992px) {
  .services-box .swiper-services {
    overflow: hidden;
    top: 1px;
  }

  .services-box .swiper-services .tabs-caption li.active {
    background-color: white;
  }

  .services-box .swiper-services .tabs-caption.swiper-wrapper {
    margin-top: 1px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .dap-statistics {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
  }

  .dap-picture {
    max-height: 100%;
  }

  .dap-piece:not(:last-child) {
    border-right: none;
  }

  /*.dap-statistics>* {
    color: #000;
  }*/

  .test-popup {
    margin-top: -6px;
  }
}

@media (max-width: 1200px) {
  .news-box > .container,
  .buttons-box > .container,
  .services-box > .container,
  .search-correspondence-box > .container,
  .state-bodies-box > .container,
  .partners-box > .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .dap-statistics {
    /*margin-top: 160px;*/
  }

  .heroes_box {
    padding-left: 0;
    padding-right: 10px;
  }

  h2.heroes_header {
    margin-right: 0;
  }
}

@media screen and (max-width: 1200px) {
  .news-wrapper {
    margin-left: 0;
  }

  .buttons-box .container {
    flex-wrap: wrap;
  }

  .news-box .container {
    grid-template-columns: calc(100% - 363px) 343px;
    gap: 20px;
  }

  .swiper-gallery {
    width: 100%;
    height: 100%;
  }

  .news-info p {
    max-width: 65%;
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 992px) {
  .swiper.swiper-services {
    position: relative;
    top: 1px;
    overflow-x: hidden;
    height: auto;
  }

  /*.swiper.swiper-services .tabs-caption li {
    border-bottom: solid 1px var(--border-color);
  }*/

  .swiper.swiper-services .tabs-caption li.active {
    border-bottom: solid 1px #fff;
    background-color: #fff;
  }

  .swiper.swiper-services .tabs-caption li:hover {
    border-bottom: solid 1px var(--primary-bg-color);
    top: 1px;
  }

  .swiper.swiper-services .tabs-caption {
    border-bottom: solid 1px var(--border-color);
    margin-bottom: 20px;
  }

  .swiper-services .tabs-caption li {
    width: auto !important;
    /*border: 0 none;*/
    font-weight: 300;
    padding: 10px;
    line-height: 1;
    font-size: 1.1rem;
  }

  .swiper-services .tabs-caption li.active {
    border-bottom: solid 1px var(--primary-bg-color);
    font-weight: 500;
  }

  .swiper-gallery {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .test-popup > a {
    padding: 10px;
  }

  .news-desktop {
    display: none;
  }

  .news-mobile {
    display: block;
  }

  .news-box {
    min-height: auto;
  }

  .news-box .swiper-gallery {
    height: auto;
  }

  .news-wrapper .news-list {
    height: auto;
    margin-bottom: 20px;
  }

  .news-box .tags-items {
    flex-direction: column;
  }

  .news-box .active-tag {
    align-self: flex-end;
  }

  .news-box .tags-wrapper {
    gap: 5px;
  }

  .swiper-services .white-tabs .tabs-content {
    padding: 0;
  }

  .tabs-content .one-item {
    background-color: white;
  }

  .services-box .one-item .arrow-button {
    /*display: none;*/
  }

  .one-category-button {
    min-height: 80px;
    padding: 0px 10px;
  }

  .news-box .slider-wrapper {
    width: auto;
  }

  .news-box .slider-wrapper .swiper-gallery {
    width: 100%;
  }

  .news-wrapper {
    display: block;
    background: white;
    margin-left: 0;
  }

  .news-wrapper h2 {
    margin: 0px 15px -10px 18px;
    padding-top: 10px;
  }

  .news-box .container {
    grid-template-areas:
      "a a"
      "b b"
      "c c";
  }

  .news-info p {
    font-size: 1.3rem;
    padding-bottom: 23px;
  }

  .swiper-gallery .swiper-pagination {
    right: 0;
    text-align: center;
  }

  .dap-statistics {
    min-height: 200px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 440px) {
  /*.news-box .slider-wrapper {
    width: 400px;
  }*/
  .dap-info,
  .dap-info p {
    padding-right: 0;
  }

  .news-info p {
    font-size: 0.9rem;
  }

  .heroes_box {
    padding-left: 30px;
    padding-top: 20px;
  }

  .open-links-button.up-arrow {
    position: relative;
    /*left: -20px;*/
  }
}

.main-pic {
  -webkit-animation: gradient 30s ease infinite;
  -moz-animation: gradient 30s ease infinite;
  animation: gradient 30s ease infinite;
  width: 141%;
}

@-webkit-keyframes gradient {
  0% {
    width: 141%;
  }

  50% {
    width: 200%;
  }

  100% {
    width: 141%;
  }
}

@-moz-keyframes gradient {
  0% {
    width: 141%;
  }

  50% {
    width: 200%;
  }

  100% {
    width: 141%;
  }
}

@keyframes gradient {
  0% {
    width: 141%;
  }

  50% {
    width: 200%;
  }

  100% {
    width: 141%;
  }
}

@media screen and (max-width: 950px) {
  .main-pic {
    -webkit-animation: gradient 30s ease infinite;
    -moz-animation: gradient 30s ease infinite;
    animation: gradient 30s ease infinite;
    width: 300%;
  }

  @-webkit-keyframes gradient {
    0% {
      width: 300%;
    }

    50% {
      width: 400%;
    }

    100% {
      width: 300%;
    }
  }

  @-moz-keyframes gradient {
    0% {
      width: 300%;
    }

    50% {
      width: 400%;
    }

    100% {
      width: 300%;
    }
  }

  @keyframes gradient {
    0% {
      width: 300%;
    }

    50% {
      width: 400%;
    }

    100% {
      width: 300%;
    }
  }
}

/*timer*/
.deklaruy_content {
  opacity: 0;
}

.timer-separator {
  font-family: e-Ukraine !important;
  font-weight: 300;
  line-height: 50px !important;
  animation-name: blinker;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(1, 0, 0, 1);
  animation-duration: 1s;
  -webkit-animation-name: blinker;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: cubic-bezier(1, 0, 0, 1);
  -webkit-animation-duration: 1s;
  color: #fff;
}

@keyframes blinker {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-webkit-keyframes blinker {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.deklaruy {
  background: var(--primary-bg-color);
}

.deklaruy .container {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 15px;
  gap: 20px;
}

#timer1 {
  display: flex;
}

[id*="timer-text"] {
  margin-top: -9px !important;
}

.deklaruy_link {
  display: flex;
  color: #fff;
  align-items: center;
  gap: 10px;
}
.deklaruy_link a {
  display: block;
  color: #000;
  background: #fbbb1d;
  border: 2px solid #fbbb1d;
  padding: 6px 20px;
  text-align: center;
  border-radius: 3px;
}
.deklaruy_link a:hover {
  background: #fff;
}

@media (max-width: 1200px) {
  .deklaruy .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 980px) {
  .deklaruy .container {
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width: 680px) {
  .deklaruy_link a {
    padding: 6px 10px;
    font-size: 13px;
  }
}

/*end timer*/
