.main {
  background: linear-gradient(rgba(249, 249, 249, 0.95), rgba(249, 249, 249, 0.95)), url("/assets/img/page-bckg.jpg");
  background-repeat: repeat;
}

.breadcrumb {
  /* visibility: hidden; */
  position: relative;
  padding: 0 0 35px;
}

.breadcrumb ul {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}

.breadcrumb ul::-webkit-scrollbar {
  display: none;
}

.breadcrumb ul li:not(:first-child) {
  margin-left: 20px;
  position: relative;
}

.breadcrumb ul li:not(:first-child):before {
  content: "";
  height: 10px;
  background: url(/assets/img/arrow-right.svg);
  position: absolute;
  left: -12px;
  width: 10px;
  top: 5px;
  background-repeat: no-repeat;
  background-size: contain;
}

.breadcrumb ul li a {
  font-family: "Museo-Sans";
  font-size: 14px;
  color: #545454;
}

.breadcrumb ul li a span {
  /* text-transform: lowercase; */
  display: block;
}

.breadcrumb ul li a span::first-letter {
  text-transform: capitalize;
}

.breadcrumb ul li a:not([href]) {
  color: #848484;
}

.countries_block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.countries_block .country_item {
  width: 100%;
  margin: 13px 0;
  display: flex;
  padding: 13px 19px 13px 19px;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: #fcfcfc;
  border: 1px solid #e2e2e2;
  border-radius: 3px 3px 0px 0px;
  border-bottom: 2px solid #2353b0;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.countries_block .country_item:hover {
  background: #f3f7fb;
  cursor: pointer;
  transform: scale(1.1);
}

.countries_block .country_item:nth-child(4n) {
  margin-right: 0;
}

.countries_block .country_item .ta_left {
  display: inline-block;
  color: #234fa4;
  text-align: left;
  width: 80%;
}

.countries_block .country_item:hover .ta_left {
  font-weight: bold;
}

.country_flag_big {
  width: 252px;
  height: 174px;
  border: 1px solid #aec3ef;
  overflow-y: hidden;
  margin-bottom: 25px;
}

.objects_flag {
  border: 1px solid #aec3ef;
  position: relative;
  width: 260px;
  height: 170px;
  overflow-y: hidden;
  margin: 5px 10px 1px 0;
  margin: 0 auto;
  display: block;
}

.country_img {
  width: 355px;
  height: 174px;
  overflow-y: hidden;
  margin-bottom: 25px;
  display: none;
}

.countries_block .country_flag {
  display: inline-block;
  position: relative;
  /* width: 100%; */
  height: auto;
  max-width: 44px;
  border-radius: 6px;
  border: 1px solid #c7c7c7;
}

.countries_block > a {
  width: 100%;
}

.countries_block .country_item:hover .na:before {
  white-space: pre;
  position: absolute;
  color: #393a3c;
  text-align: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.countries_block .country_item:hover .na.na_um:before {
  content: "Not available";
}

.countries_block .na.na_trm:hover:before {
  content: "Not available";
}

.countries_block .na.na_des:hover:before {
  content: "Not available";
}

.country_name {
  font-size: inherit;
}

/*LEFT MENU*/
.left-menu-list {
  flex-direction: column;
}

.left-menu-list .menu-item {
  position: relative;
  cursor: pointer;
}

.menu-item > ul {
  display: none;
  padding-top: 30px;
  padding-left: 10px;
}

.menu-item ul li {
  padding-bottom: 12px;
}

.menu-item ul li a {
  display: inherit;
  line-height: 1.5;
  text-transform: none !important;
}

.menu-item.active-menu-item > ul {
  display: block;
}

.left-menu-list .menu-item::after {
  content: "";
  position: absolute;
  top: 25px;
  right: -10%;
  border-left: 4px solid transparent;
  border-top: 4px solid rgb(23, 71, 158);
  border-right: 4px solid transparent;
  z-index: 999;
}

.left-menu > ul > li:first-child.menu-item::after {
  top: 10px;
}

.active-menu-item.menu-item::after {
  border-top: none;
  border-bottom: 4px solid rgb(23, 71, 158);
}

.left-menu > ul > li {
  padding: 15px 0;
  width: 80%;
}

.left-menu > ul > li:first-child {
  padding-top: 0;
}

/* .left-menu>ul>li:not(:first-child){
    border-top: 0.3px solid #C1C1C1;
} */
.left-menu ul li a {
  /* text-transform: uppercase; */
  cursor: pointer;
  font-family: "Museo-Sans";
  font-size: 18px;
  color: #334155;
  line-height: 140%;
  font-weight: 500;
  text-shadow: 0 0 0.5px #334155;
}

.left-menu .menu-item > ul a {
  font-weight: 400;
  color: #475569;
  font-size: 16px;
  text-shadow: none;
}

.left-menu-list {
  display: none;
}

/* end left menu */

.page-adress {
  display: flex;
  text-align: left;
}

.adress {
  width: 100%;
}

.map {
  width: 100%;
  padding: 20px 0 20px 20px;
  display: none;
}

#map1,
#map2,
#map3 {
  height: 100%;
  min-height: 360px;
}

.place,
.call,
.mail {
  position: relative;
  color: #403f3f;
}

.mail p {
  position: relative;
}

.sepline {
  width: 100%;
  height: 1px;
  background: #a6afce;
  display: block;
}

/* .page-content img{
    margin-right: 10px;
    margin-top: 5px;
    width: 150px;
    height: 100px;
} */
.tm_certificate {
  float: left;
  margin-right: 15px;
  max-height: 150px;
}

.additionalLink {
  text-align: right;
}

.messenger-icon {
  width: 30px;
  margin: 10px 10px 0 0;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.messenger-icon:hover {
  transform: scale(1.05);
}

.order_tm_world_wrapper {
  margin-top: 40px;
}

.title-form-order-tm {
  text-align: center;
}

#order_tm_world {
  /* display: none; */
}

.order_tm_world {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #d3d3d3;
  border-top: 3px solid #2559bf;
}

.order_tm_world .tabs_menu {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.order_tm_world .tabs_menu:before {
  content: "";
  width: 100%;
  max-width: 680px;
  border-bottom: 1px solid #cbd5e1;
  /* top: 55px; */
  position: absolute;
  bottom: 2px;
}

.order_tm_world .tabs_menu li a {
  padding: 15px 30px;
  display: block;
  font-size: 16px;
  color: #475569;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.order_tm_world .tabs_menu li a.active {
  border-bottom: 4px solid #2153b4;
  color: #2153b4;
  cursor: default;
}

.order_tm_world .contact-us {
  border: 0px;
}

.order_tm_world .contact-us-button {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.tab.active {
  display: block;
}

.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.banner {
  width: 100%;
  position: sticky;
  top: 115px;
  background-color: #ffffff;
  padding: 25px;
  border: 1px #d0d0d0 solid;
  border-radius: 0 0 7px 7px;
  box-shadow: 0px 0px 10px 0px #2331541a;
  display: none;
}

.banner h6 {
  font-size: 13px;
  text-align: center;
  margin-top: 0;
}

.banner .dash-list li:before {
  width: 13px;
}

.banner .dash-list li {
  padding: 7px 0 7px 25px;
  font-size: 13px;
  line-height: 140%;
  color: #4e4e4e;
}

.banner .blue-button {
  font-size: 13px;
  margin: 0 auto;
  min-width: 140px;
}

.price-banner {
  font-family: "Museo-Sans";
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  color: #3157b3;
  display: block;
  margin: 10px 0;
}
.tamozhenniy-reestr-table {
  overflow: auto;
}
.tamozhenniy-reestr-table .info-table tr th,
.tamozhenniy-reestr-table .info-table tr td {
  max-width: max-content;
  padding: 15px 20px;
}
.tamozhenniy-reestr-table .info-table tr th:first-child,
.tamozhenniy-reestr-table .info-table tr td:first-child {
  max-width: 50px;
}
.vnesenie-no-results{
  display: flex;
  justify-content: center;
  padding: 40px;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 991px) {
  .tamozhenniy-reestr-table .info-table {
    padding: 10px;
    background: #fff !important; /* Примусове застосування фону для таблиці */
    border: 1px solid #e2e2e2; /* Додаємо кордон на мобільних пристроях */
  }

  .tamozhenniy-reestr-table .info-table tr th,
  .tamozhenniy-reestr-table .info-table tr td {
    padding: 10px 8px;
    font-size: 14px;
  }

  .tamozhenniy-reestr-table {
    overflow-x: auto;
  }

  .tamozhenniy-reestr-table .info-table tr th,
  .tamozhenniy-reestr-table .info-table tr td {
    background: #fff !important; /* Примусове застосування фону */
  }
}

/* Адаптація для ще менших екранів */
@media (max-width: 768px) {
  .tamozhenniy-reestr-table .info-table {
    min-width: 900px;
  }

  .tamozhenniy-reestr-table .info-table tr td {
    font-size: 14px;
  }
}

.tiled-list {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  justify-content: center;
  display: grid;
  gap: 20px 2%;
}
.tiled-item {
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #d1d1d1;
  display: flex;
  flex-direction: column;
  -webkit-transition: -webkit-transform 0.4s ease, max-width 1s ease;
  transition: -webkit-transform 0.4s ease, max-width 1s ease;
  -o-transition: transform 0.4s ease, max-width 1s ease;
  transition: transform 0.4s ease, max-width 1s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease, max-width 1s ease;
  max-width: 359px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.tiled-item-close {
  transform: scale(1);
  cursor: pointer;
}
.tiled-item-close:hover {
  transform: scale(1.05);
}
.tiled-item-head {
  color: #2559bf;
  display: flex;
  justify-content: space-between;
  padding: 15px 25px;
  font-weight: 600;
  border-bottom: 3px solid #2353b0;
  width: 100%;
}
.tiled-item-prev {
  padding: 25px;
}
.tiled-item-close .tiled-item-prev ul li {
  display: none;
}
.tiled-item-close .tiled-item-prev ul li.tiled-item-prev-head,
.tiled-item-close .tiled-item-prev ul li.tiled-item-prev-descr {
  display: -moz-box;
  display: -webkit-box;
}
.tiled-item-prev-head {
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  color: #2559bf;
  overflow: hidden;
  text-overflow: ellipsis;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
}
.tiled-item-prev-descr {
  overflow: hidden;
  text-overflow: ellipsis;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  box-orient: vertical;
}
.tiled-item-close .tiled-item-prev-descr span {
  display: none;
}
.tiled-item-open {
  grid-column: span 3;
  max-width: 10000px;
}
.tiled-item-open .tiled-item-prev ul li span {
  color: #343434;
  font-weight: 600;
}
@media screen and (min-width: 480px) {
  .countries_block > a {
    width: 45%;
  }

  .objects_flag {
    margin: 5px 10px 1px 0;
    float: left;
  }

  .breadcrumb ul li:not(:first-child):before {
    top: 6px;
  }

  .countries_block .country_item-big .country_flag {
    border: none;
  }
}

@media screen and (min-width: 768px) {
  .countries_block {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
  }

  .countries_block > a {
    /* width: 23%; */
    width: 100%;
  }

  .country_img {
    display: inline-block;
  }

  .countries_block.countries_block-big {
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }

  .countries_block .country_item-big {
    width: 100%;
    max-width: 310px;
    border-radius: 5px;
    height: 75px;
  }

  .countries_block .country_item-big .country_flag {
    position: absolute;
    right: -1px;
    top: -3px;
    height: 100%;
    max-width: initial;
    width: 113px;
    border: none;
    border-radius: 0 5px 5px 0;
  }

  .adress {
    width: 45%;
  }

  .map {
    display: block;
  }
}

@media screen and (min-width: 991px) {
  .main {
    padding-top: 75px;
  }

  .breadcrumb {
    visibility: visible;
    position: relative;
    padding: 25px 0;
  }

  .page-with-left-menu {
    align-items: stretch;
  }

  #mktu-letter-list {
    position: sticky;
    top: 75px;
  }
}

@media screen and (min-width: 1200px) {
  .breadcrumb {
    padding: 35px 0;
  }

  .country_flag_big {
    width: 360px;
    height: 240px;
  }

  .country_img {
    width: 450px;
    height: 240px;
  }
}

@media screen and (min-width: 1210px) {
  .left-menu {
    width: 100%;
    width: 260px;
    /* height: max-content; */
    display: block;
    margin-bottom: 40px;
  }

  .left-menu-list {
    display: block;
  }

  .left-menu-list {
    border-right: 2px solid #cbd5e1;
  }
}

@media screen and (min-width: 1280px) {
  .countries_block.countries_block-big {
    grid-gap: 20px;
    grid-template-columns: repeat(3, 310px);
  }
}

@media screen and (max-width: 480px) {
  .countries_block .country_item-big .country_flag {
    border: none;
  }

  .countries_block .country_item .ta_left {
    text-align: left;
    font-size: 14px;
  }

  .certificate img {
    float: none;
    margin: 0 auto;
    display: block;
  }

  .mobile-image {
    width: 100vw;
    height: 197px;
    object-fit: cover;
    position: relative;
    left: -38px;
    max-height: initial;
    max-width: initial;
    margin-bottom: 15px;
    display: block;
  }
  .order_tm_world .tabs_menu li a{
    font-size: 12px;
    height: 100%;
    padding-right: 0;
  }
}
