.vs-icon-error-container { display: inline-block; position: relative; z-index: 100; width: 100% }
.vs-icon-error-container.vi-icon-hidden { display: none; }
.vs-icon-error-container.SearchBar {
    position: absolute;
    left: 0px;
    width:83%;
    height:95%;
  }
.vs-icon-error-container.SearchBar:has(.vs-theme-error-container:not(.vi-icon-hidden)) {
    position: absolute;
    left: 0px;
    top:0px;
    width:83%;
    height:200px;
  }
.vs-icon-error-container .top-text {
  color: #121212BF;
}
.vs-icon-error-container a {
  color: #007bff;
} 

.vs-icon-error-container .icon-error {
  width: 100%;
  height: 100%;
  background-color: #e4daff;
  color: #FF0000;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 8px 4px 8px;
}
.icon-error {
  max-height: 100px;
}
.icon-error:has(.vs-theme-error-container:not(.vi-icon-hidden)) {
  max-height: 150px;
}

.ImageSearch .icon-error,
.ImageSearchdeprecated .icon-error {
  height: 40px !important;
  width:40px !important;
}
  
.vs-icon-error-container .hover-text {
  position: fixed;
  transition: opacity 0.3s;
  opacity: 0;
  background-color: #e4daff;
  color: #FF0000;
  border-radius: 4px;
  padding: 4px 8px 4px 8px;
  max-height: 200px;
  width: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vs-icon-error-container:hover .hover-text { opacity: 1; }

.unavailable-cross {
  font-size: 20px; 
  font-weight: bold;
  color: #B0B3B8; 
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;  
}
.vs-theme-error-container {
    display: flex;
    flex-direction: row;
    position: relative; 
    width: 100%;
}
.vs-theme-error-container.vi-icon-hidden { display: none; }

.vs-theme-error-container .error-text {
    font-size:13px;
    color: black;
  }

.vs-theme-error-container .error-close-btn-container {
  width: 50px;
  opacity: 0.3;
  height: 20px;
  cursor: pointer;
  position: relative;
}
.error-close-btn-container:hover {
  opacity: 1;
}
.error-close-btn-container .error-close-btn:before,
.error-close-btn-container  .error-close-btn:after {
  position: absolute;
  left: 15px;
  top: 5px;
  content: ' ';
  height: 17px;
  width: 2px;
  background-color: #333;
}
.error-close-btn-container .error-close-btn:before {
  transform: rotate(45deg);
}
.error-close-btn-container .error-close-btn:after {
  transform: rotate(-45deg);
}

.unavailable-container.vi-icon-hidden {
    display: none;
}

.vs-error-msg-container { display: inline-block; position: relative; z-index: 100; width: 100% }
.vs-error-msg-container.vi-icon-hidden { display: none; }
.vs-error-msg-container a {
  color: #007bff;
}
.vs-error-msg-container.SearchBar {
  position: absolute;
  left: 0px;
  width:87%;
  height:95%;
}
main > .vs-error-msg-container.SearchBar:has(.vs-theme-error-container.vi-icon-hidden),
main > .vs-error-msg-container.SearchBar:has(.vs-theme-error-container:not(.vi-icon-hidden)) {
  position: relative;
  width: 100%;
}


.vs-error-msg-container.SearchBar:has(.vs-theme-error-container:not(.vi-icon-hidden)) {
  position: absolute;
  left: 0px;
  top:0px;
  width:87%;
  height:200px;
}
.vs-error-msg-container .top-text {
  color: #121212BF;
  }
  
.vs-error-msg-container .icon-error {
  width: 100%;
  height: 100%;
  background-color: #e4daff;
  color: #FF0000;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 8px 4px 8px;
}
.vs-error-msg-container.SearchBar .icon-error  {
  font-size: 15px;
}

.vs-error-msg-container .hover-text {
position: fixed;
transition: opacity 0.3s;
opacity: 0;
background-color: #e4daff;
color: #FF0000;
border-radius: 4px;
padding: 4px 8px 4px 8px;
max-height: 250px;
width: 50%;
right: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.vs-error-msg-container:hover .hover-text { opacity: 1; }
