.underline:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--bs-secondary);
  z-index: -1;
}

.callback-btn {
}

textarea {
  border-radius: 20px!important;
  /*resize: none;*/
  min-height: 100px!important;
  height: 100px;
  max-height: 300px;
}

#message-1 {
}

textarea::-webkit-resizer {
  border-width: 20px;
  border-style: solid;
  border-color: transparent var(--bs-info) var(--bs-info) transparent;
  border-bottom-right-radius: 20px;
}

#mymap {
  height: 45vmin;
  max-height: 45vh;
}

@media (max-width: 767px) {
  #mymap {
    height: 55vmin;
    max-height: 55vh;
  }
}

/* Works on Firefox */

* {
  scrollbar-width: thin;
  scrollbar-color: #ababab transparent;
}

/* Works on Chrome, Edge, and Safari */

*::-webkit-scrollbar {
  overflow: auto;
  width: 14px;
  height: 14px;
}

*::-webkit-scrollbar-track {
  background: var(--bs-body-bg);
}

::-webkit-scrollbar-track:horizontal {
  background-color: var(--bs-body-bg);
}

.chat-history::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--bs-info);
  border-radius: 25px;
  border: 1px solid var(--bs-info);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--bs-info);
  background-clip: content-box;
  border: 4px solid transparent;
  border-radius: 7px;
}

*::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

*::-webkit-scrollbar-corner {
  background-color: var(--bs-body-bg);
}

.scroll-to-top {
  position: fixed;
  border-radius: 10px;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  text-align: center;
  color: #fff;
  line-height: 46px;
  border: none;
  z-index: 1000;
  /*transition: display 500ms;*/
}

@media (min-width: 767px) {
  .scroll-to-top {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.brand-logo {
  height: 80px;
  width: auto;
  max-width: 270px;
}

.bs-icon {
  --bs-icon-size: 1.45rem;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: calc(var(--bs-icon-size)*1.4);
  width: calc(var(--bs-icon-size)*2);
  height: calc(var(--bs-icon-size)*2);
  color: var(--bs-primary);
}

.bs-icon.bs-icon-success {
  color: var(--bs-white);
  background: var(--bs-success);
}

.bs-icon.bs-icon-info {
  color: var(--bs-white);
  background: var(--bs-info);
}

.bs-icon.bs-icon-danger {
  color: var(--bs-white);
  background: var(--bs-danger);
}

.bs-icon.bs-icon-orange {
  color: var(--bs-white);
  background: #F57921;
}

.bs-icon.bs-icon-warning {
  color: var(--bs-white);
  background: var(--bs-warning);
}

.bs-icon.bs-icon-sky {
  color: var(--bs-primary);
  background: #31BBEE;
}

.bs-icon.bs-icon-violet {
  color: var(--bs-white);
  background: #4D588E;
}

.line-height-md {
  line-height: 2.4rem;
}

.line-height-sm {
  line-height: 2rem;
}

.line-height-xl {
  line-height: 2.7rem;
}

.portfolio-block.project .meta .tags {
  display: flex;
  flex-direction: column;
}

.project-slides-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-check-input:checked {
  background-color: var(--bs-info);
  border-color: var(--bs-info);
}

.write-to-us-btn {
  min-width: 200px;
}

.breadcrumb {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.breadcrumb .breadcrumb-item {
  background-color: #fff;
  border: 1px solid rgba(138, 155, 142, 0.55);
  border-radius: 999px;
  box-shadow: 0 0.25rem 0.9rem rgba(33, 37, 41, 0.06);
  color: #526259;
  display: inline-block;
  line-height: 1.25;
  max-width: min(100%, 24rem);
  min-height: 1.85rem;
  overflow: hidden;
  padding: 0.34rem 0.78rem;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.78rem;
}

.breadcrumb .breadcrumb-item::before {
  content: none;
}

.breadcrumb .breadcrumb-item a {
  color: #425e4e;
  display: block;
  font-weight: 700;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.breadcrumb .breadcrumb-item:not(.active):not(:last-child):hover {
  background-color: #f3f7f4;
  border-color: #8a9b8e;
}

.breadcrumb .breadcrumb-item a:hover,
.breadcrumb .breadcrumb-item a:focus-visible {
  color: var(--bs-primary);
}

.breadcrumb .breadcrumb-item.active,
.breadcrumb .breadcrumb-item:last-child {
  background-color: #8a9b8e;
  border-color: #8a9b8e;
  box-shadow: 0 0.5rem 1.2rem rgba(66, 94, 78, 0.18);
  color: #fff;
  font-weight: 700;
}

[data-bs-theme="dark"] .breadcrumb .breadcrumb-item {
  background-color: #292d2a;
  border-color: rgba(169, 198, 178, 0.42);
  box-shadow: none;
  color: #d6e2d9;
}

[data-bs-theme="dark"] .breadcrumb .breadcrumb-item a {
  color: #d6e2d9;
}

[data-bs-theme="dark"] .breadcrumb .breadcrumb-item:not(.active):not(:last-child):hover {
  background-color: #343a35;
  border-color: #b8d0bf;
}

[data-bs-theme="dark"] .breadcrumb .breadcrumb-item a:hover,
[data-bs-theme="dark"] .breadcrumb .breadcrumb-item a:focus-visible {
  color: #ffdd44;
}

[data-bs-theme="dark"] .breadcrumb .breadcrumb-item.active,
[data-bs-theme="dark"] .breadcrumb .breadcrumb-item:last-child {
  background-color: #9caf9f;
  border-color: #9caf9f;
  color: #172019;
}

@media (max-width: 575px) {
  .breadcrumb .breadcrumb-item {
    max-width: min(100%, 18rem);
  }
}

.toast-header {
  background-color: transparent;
  color: white;
}

.toast-bg-primary {
  background-color: var(--bs-success);
  background-image: linear-gradient(180deg, var(--bs-success) 10%, var(--bs-primary) 100%);
  background-size: cover;
}

.toast-bg-warning {
  background-color: #dfa54e;
  background-image: linear-gradient(180deg, #dfa54e 10%, #ba8a43 100%);
  background-size: cover;
}

.toast-bg-error {
  background-color: #c1463e;
  background-image: linear-gradient(180deg, #c1463e 10%, #812620 100%);
  background-size: cover;
}

.toast-header .img-fluid {
  height: 20px;
}

@media (max-width: 767px) {
  .toast-container {
    left: 50%;
    transform: translateX(-50%);
  }
}

.toast-container {
  position: fixed;
  z-index: 1090;
  bottom: 10px;
  right: 10px;
}

.spinner-border.custom-spinner {
  margin-left: 10px;
  display: none;
}

.theme-menu-custom {
  border-radius: 20px;
}

.theme-menu-custom > a {
  border-radius: 20px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.dropdown-item.active, .dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: var(--bs-success);
}

.partner-img-invert {
  filter: invert(70%);
}

.navbar-logo {
  height: 30px;
  width: auto;
}

.project-row {
  max-width: 900px;
}

.container-main {
	max-width: 1100px;
}

.contacts-it-accreditation-section {
  margin-top: -1rem;
  padding: 0 0 1.5rem;
}

.contacts-it-accreditation-link {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(138, 155, 142, 0.18), rgba(49, 187, 238, 0.12)),
    #fff;
  border: 1px solid rgba(138, 155, 142, 0.42);
  border-radius: 1rem;
  box-shadow: 0 0.85rem 2rem rgba(33, 37, 41, 0.08);
  color: inherit;
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contacts-it-accreditation-link:hover,
.contacts-it-accreditation-link:focus-visible {
  border-color: var(--bs-primary);
  box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, 0.12);
  color: inherit;
  transform: translateY(-2px);
}

.contacts-it-accreditation-icon,
.contacts-it-accreditation-arrow {
  align-items: center;
  background-color: var(--bs-primary);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.contacts-it-accreditation-arrow {
  background-color: #ffdd44;
  color: #233025;
  font-size: 1.15rem;
  font-weight: 700;
}

.contacts-it-accreditation-arrow i {
  line-height: 1;
}

.contacts-it-accreditation-content {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.contacts-it-accreditation-kicker {
  color: var(--bs-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contacts-it-accreditation-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.contacts-it-accreditation-text {
  color: var(--bs-secondary-color);
  line-height: 1.45;
}

.it-accreditation-page {
  min-height: 72vh;
}

.it-accreditation-kicker {
  letter-spacing: 0.04em;
}

.footer-it-accreditation-link {
  align-items: center;
  color: var(--bs-primary);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.35rem;
  text-decoration: none;
}

.footer-it-accreditation-link i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.footer-it-accreditation-link:hover,
.footer-it-accreditation-link:focus-visible {
  color: var(--bs-primary);
  text-decoration: underline;
}

.footer-it-accreditation-link:hover i,
.footer-it-accreditation-link:focus-visible i {
  transform: translateX(2px);
}

.it-accreditation-hero {
  background:
    linear-gradient(135deg, rgba(138, 155, 142, 0.16), rgba(255, 221, 68, 0.16)),
    #fff;
  border: 1px solid rgba(138, 155, 142, 0.38);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(33, 37, 41, 0.07);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.it-accreditation-list {
  display: grid;
  gap: 1rem;
}

.it-accreditation-card,
.it-accreditation-panel {
  background-color: #fff;
  border: 1px solid rgba(138, 155, 142, 0.34);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.8rem rgba(33, 37, 41, 0.055);
}

.it-accreditation-card {
  padding: 1rem;
}

.it-accreditation-content h2 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.it-accreditation-content p,
.it-accreditation-content a,
.it-accreditation-codes {
  font-size: 1rem;
  line-height: 1.55;
}

.it-accreditation-content a {
  color: var(--bs-primary);
  font-weight: 700;
  text-decoration: none;
}

.it-accreditation-content a:hover,
.it-accreditation-content a:focus-visible {
  text-decoration: underline;
}

.it-accreditation-subtitle {
  color: var(--bs-primary);
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.it-accreditation-codes {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.it-accreditation-codes li {
  border-left: 3px solid #ffdd44;
  padding-left: 0.75rem;
}

.it-accreditation-panel {
  padding: 1.25rem;
}

.it-accreditation-prices {
  background:
    linear-gradient(135deg, rgba(138, 155, 142, 0.13), rgba(255, 221, 68, 0.12)),
    #fff;
}

.it-accreditation-price-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.it-accreditation-price-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 247, 244, 0.92));
  border: 1px solid rgba(138, 155, 142, 0.32);
  border-radius: 0.9rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.1rem;
}

.it-accreditation-price-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.it-accreditation-price-card p {
  color: var(--bs-secondary-color);
  flex: 1 1 auto;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.it-accreditation-price-card strong {
  align-self: flex-start;
  background-color: #ffdd44;
  border-radius: 999px;
  color: #233025;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.48rem 0.75rem;
}

.it-accreditation-stack {
  display: grid;
  gap: 0.85rem;
}

.it-accreditation-stack span {
  color: var(--bs-primary);
  display: block;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.it-accreditation-stack p {
  color: var(--bs-secondary-color);
  margin: 0;
}

[data-bs-theme="dark"] .contacts-it-accreditation-link,
[data-bs-theme="dark"] .it-accreditation-hero,
[data-bs-theme="dark"] .it-accreditation-card,
[data-bs-theme="dark"] .it-accreditation-panel {
  background:
    linear-gradient(135deg, rgba(156, 175, 159, 0.14), rgba(49, 187, 238, 0.08)),
    #222622;
  border-color: rgba(184, 208, 191, 0.25);
  box-shadow: none;
}

[data-bs-theme="dark"] .it-accreditation-prices {
  background:
    linear-gradient(135deg, rgba(156, 175, 159, 0.16), rgba(255, 221, 68, 0.09)),
    #222622;
}

[data-bs-theme="dark"] .it-accreditation-price-card {
  background:
    linear-gradient(145deg, rgba(38, 43, 39, 0.96), rgba(28, 32, 29, 0.96));
  border-color: rgba(184, 208, 191, 0.22);
}

[data-bs-theme="dark"] .contacts-it-accreditation-kicker,
[data-bs-theme="dark"] .footer-it-accreditation-link,
[data-bs-theme="dark"] .footer-it-accreditation-link:hover,
[data-bs-theme="dark"] .footer-it-accreditation-link:focus-visible,
[data-bs-theme="dark"] .it-accreditation-kicker,
[data-bs-theme="dark"] .it-accreditation-content a,
[data-bs-theme="dark"] .it-accreditation-subtitle,
[data-bs-theme="dark"] .it-accreditation-stack span {
  color: #ffdd44!important;
}

[data-bs-theme="dark"] .contacts-it-accreditation-icon {
  background-color: #9caf9f;
  color: #172019;
}

@media (max-width: 575px) {
  .contacts-it-accreditation-link,
  .it-accreditation-card {
    grid-template-columns: 1fr;
  }

  .contacts-it-accreditation-icon,
  .contacts-it-accreditation-arrow {
    height: 2.5rem;
    width: 2.5rem;
  }

  .contacts-it-accreditation-arrow {
    justify-self: start;
  }
}

@media (max-width: 991px) {
  .it-accreditation-price-grid {
    grid-template-columns: 1fr;
  }
}
