.thumbnail-img {
    width: 30px;       /* Adjust width as needed */
    height: 30px;      /* Adjust height as needed */
    object-fit: cover; /* Ensures the image covers the set dimensions without distortion */
    margin-right: 10px; /* Space between the thumbnail and filename */
}

.truncated-text {
    white-space: nowrap;      /* Prevents the text from wrapping onto the next line */
    overflow: hidden;         /* Hide text that is outside the container */
    text-overflow: ellipsis;  /* Display ellipses when the text overflows */
    max-width: 200px;         /* Maximum width of the text container. Adjust as needed */
    display: inline-block;    /* To respect max-width */
}

.selector-for-some-widget {
  box-sizing: content-box;
}
.card {
    margin-bottom: 1.5rem;
}
.me-2 {
    margin-right: .5rem!important;
}

.avatar-md {
    height: 4rem;
    width: 4rem;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: #f1f3f7;
    border: 1px solid #eff0f2;
    border-radius: 0.75rem;
}
.avatar-title {
    align-items: center;
    background-color: #3b76e1;
    color: #fff;
    display: flex;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    width: 100%;
}
.bg-soft-primary {
    background-color: rgba(59,118,225,.25)!important;
}

.badge-warning {
    background-color: FF9D14;
}
.badge-soft-success {
    color: #63ad6f !important;
    background-color: rgba(99,173,111,.1);
}
.mb-0 {
    margin-bottom: 0!important;
}

.picture-row{
height: 10em; display: flex; align-items: center
}

.account-settings .user-profile {
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    text-align: center;
}
.account-settings .user-profile .user-avatar {
    margin: 0 0 1rem 0;
}
.account-settings .user-profile .user-avatar img {
    width: 90px;
    height: 90px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}
.account-settings .user-profile h5.user-name {
    margin: 0 0 0.5rem 0;
}
.account-settings .user-profile h6.user-email {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    color: #9fa8b9;
}
.account-settings .user-profile h6.user-phone{
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    color: #9fa8b9;
}
.account-settings .about {
    margin: 2rem 0 0 0;
    text-align: center;
}
.account-settings .about h5 {
    margin: 0 0 15px 0;
    color: #007ae1;
}
.account-settings .about p {
    font-size: 0.825rem;
}

.pb-0 {
    padding-bottom: 0!important;
}

.body {
background-color: #3F4F9FC;
}
.card-custom {
  overflow: hidden;
  min-height: 450px;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
}

.card-custom-img {
  height: 200px;
  min-height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-color: inherit;
}

/* First border-left-width setting is a fallback */
.card-custom-img::after {
  position: absolute;
  content: '';
  top: 161px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-top-width: 40px;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 545px;
  border-left-width: calc(575px - 5vw);
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: inherit;
}

.card-custom-avatar img {
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(10, 10, 10, 0.3);
  position: absolute;
  top: 100px;
  left: 1.25rem;
  width: 100px;
  height: 100px;
}

.form-container {
  padding-top: 20px;
}


.messages .success {
  background-color: #dff0d8;
  color: #3c763d;
  border-color: rgba(214, 233, 198, 0.5);
  margin-top: 20px;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
}

.messages .warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
  border-color: rgba(214, 233, 198, 0.5);
  margin-top: 20px;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
}

.messages .message-text {
  flex: 1;
}

.messages .close {
  float: right;
  font-size: 1.5em;
  color: #000;
  margin-left: 10px;
  text-shadow: none;
  border: none;
  text-align: center;
  line-height: 30px;
  background-color: #dff0d8;
}

.messages .close:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.9;
}

mark {
  background-color: yellow;
  color: black;
}


.suggestions-nowrap {
  white-space: nowrap;
}
/**
 * Основной INPUT
 */
.suggestions-input {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
}
.suggestions-input::-ms-clear {
  display: none;
}
.suggestions-wrapper {
  position: relative;
  margin: 0;
  padding: 0;
  vertical-align: top;
  -webkit-text-size-adjust: 100%;
}
/**
 * Выпадающий блок с найденными подсказками
 */
.suggestions-suggestions {
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: default;
  left: 0;
  min-width: 100%;
  position: absolute;
  z-index: 9999;
  -webkit-text-size-adjust: 100%;
}
.suggestions-suggestions.light-theme {
  background: #fff;
  border: 1px solid #999;
}
.suggestions-suggestions.dark-theme {
  background: #212529;
  border: 1px solid dimgray;
}
.suggestions-suggestions strong {
  font-weight: normal;
  color: #3399ff;
}
.suggestions-suggestions.suggestions-mobile {
  border-style: none;
}
.suggestions-suggestions.suggestions-mobile .suggestions-suggestion {
  border-bottom: 1px solid #ddd;
}
/**
 * Контейнер для одной подсказки
 */
.suggestions-suggestion {
  padding: 4px 4px;
  overflow: hidden;
}
.suggestions-suggestion.light-theme:hover {
  background: #f7f7f7;
}
.suggestions-suggestion.dark-theme:hover {
  background: #272B2F;
}
/**
 * Выбранная (активная) подсказка
 */
.suggestions-selected {
  background: #f0f0f0;
}
.suggestions-selected:hover {
  background: #f0f0f0;
}
/**
 * Информационный блок в верхней части выпадашки с подсказками
 */
.suggestions-hint {
  padding: 4px 4px;
  white-space: nowrap;
  overflow: hidden;
  color: #777;
  font-size: 85%;
  line-height: 20px;
}
/**
 * Дополнительный текст в подсказке, который идет второй строкой
 */
.suggestions-subtext {
  color: #777;
}
/**
 * Размещает дополнительный текст в одну строку с основным текстом подсказки
 */
.suggestions-subtext_inline {
  display: inline-block;
  min-width: 6em;
  vertical-align: bottom;
  margin: 0 0.5em 0 0;
}
/**
 * Разделитель нескольких дополнительных текстов
 */
.suggestions-subtext-delimiter {
  display: inline-block;
  width: 2px;
}
/**
 * Выделяет подсказку
 */
.suggestions-subtext_label {
  margin: 0 0 0 0.25em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 0 3px;
  background: #f5f5f5;
  font-size: 85%;
}
.suggestions-value[data-suggestion-status="LIQUIDATED"] {
  position: relative;
}
.suggestions-value[data-suggestion-status="LIQUIDATED"]:after {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(0, 0, 0, 0.4);
  content: "";
}
/**
 * Промо-блок
 */
.suggestions-promo {
  font-size: 85%;
  display: none;
  color: #777;
  padding: 4px;
  text-align: center;
}
.suggestions-promo a {
  color: #777;
  display: block;
  filter: grayscale(100%);
  line-height: 20px;
  text-decoration: none;
}
.suggestions-promo a:hover {
  filter: grayscale(0);
}
.suggestions-promo svg {
  height: 20px;
  vertical-align: bottom;
}
@media screen and (min-width: 600px) {
  .suggestions-promo {
    position: absolute;
    top: 0;
    right: 0;
    text-align: left;
  }
}


#selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* space between items */
}

.d-flex.align-items-center.mb-2 {
    padding: 5px;
    border: 1px solid #ddd; /* an optional border for clarity */
    border-radius: 4px; /* rounded corners for aesthetics */
    justify-content: center;
    align-items: center;
}

#live-search-container {
    position: relative;  /* Make this container the reference for the absolutely positioned child */
}

#box {
    display: none; /* Initially hidden */
    position: absolute;
    width: 100%;
    max-height: 300px; /* or whatever value you want */
    overflow-y: auto;
    z-index: 9999;
    opacity: 0.97; /* Adjust this value as needed */
    inset: 0 auto auto 0;
    margin: 0;
    transform: translate3d(0px, 40px, 0px);
}

/* Light theme classes suggest styles */
#box.light-theme {
    border: 1px solid #999;
    background-color: #fff;
    color: #000;
}

/* Dark theme classes suggest styles */
#box.dark-theme {
    border: 1px solid #333;
    background-color: #212529;
    color: #fff;

}

#box a {
    display: block;
    padding: 1px 1px;
    overflow: hidden;
    text-decoration: none;
}

#box.light-theme a {
    color: black;
}

#box.dark-theme a {
    color: #DEE2E6;
}

#box.light-theme a:hover {
    background: #F8F9FA !important;
    color: black;
}

#box.dark-theme a:hover {
    background: #272B2F !important;
    color: #DEE2E6;
}

#box b {
    font-weight: bold;
}


mark {
    background-color: #e8a480;
    color: #fff;
    padding: 0;
}

#box p {
    padding: 4px;
    font-size: 85%;
    color: #777;
}

.name-info {
    margin-left: 15px;  /* adjust as needed */
    display: inline-block;
    vertical-align: middle; /* To align with the surrounding elements */
}

.border-right {
    border-right: 1px solid #ccc; /* Adjust color as needed */
}

.result-item {
    border-top: 1px solid #ccc;  /* Add a border at the bottom */
    padding: 5px 0;
    /* Your existing styles */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.result-link {
    display: block;
    text-decoration: none;
    color: inherit; /* Assuming you want to keep the default text color. Adjust as necessary */
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
  }

.tooltip-container .tooltip-content {
  visibility: hidden;
  width: 120%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 8px 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.4s ease; /* Smoother transition */
  box-shadow: 0px 2px 10px rgba(0,0,0,0.2); /* Soft shadow for depth */
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tooltip-container:hover .tooltip-content {
  visibility: visible;
  opacity: 1;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* Adjusted Percentage Size for Mobile Devices */
@media (max-width: 576px) {
    .logo-placeholder {
        max-width: 50%;
        max-height: 50%;
        justify-content: center;
    }
  .no-logo-placeholder {
        font-size: 4em;
        justify-content: center;
    }
}

.mktu-group {
    position: relative;
}

.no-logo-placeholder {
    display: flex;
    width: 100%;
    font-size: 1em;
    justify-content: center;
}

.logo-placeholder {
    justify-content: center;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.25em;
}

.btn-custom-size {
    width: 20px;
    height: 20px;
    font-size: 12px;
    padding: 0;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(2.0);
}

.ycaptcha-policy {
    opacity: 0.2;
    font-size: 10px;
    bottom: 5px !important;
    right: 5px !important;
    z-index: 10 !important;
    pointer-events: none;
}

.dropdown-menu {
    margin-top: 0.5rem;
}

.navbar-nav .dropdown-menu {
    right: 0;
    left: auto;
}
