.advanced_popup-inps.plus-advanced .advanced_popup-select:nth-child(1){
  margin-left: 0;
}
.advanced_popup-inps.plus-advanced .advanced_popup-inp:nth-child(4n + 3){
  margin-right: 1.333%;
}
.advanced_popup-inps.plus-advanced .advanced_popup-inp:nth-child(4n + 3) + div{
  margin-right: 0;
}
.novelty_items .search-word{
  color: red;
  font-size:22px;
}
.digital_printing-select::before{
  z-index: 5;
}
.ui-widget.ui-widget-content {
  max-height: 400px;
  overflow: auto;
  z-index: 99997;
  max-width: 496px;
}
.ui-widget.ui-widget-content,
.js-select {
  scrollbar-color: #252525fd #f9f9fd;
  scrollbar-width: thin;
}
.ui-widget.ui-widget-content::-webkit-scrollbar,
.js-select::-webkit-scrollbar {
  width: 6px;
  height: 2px;
  background-color: #f9f9fd;
}

.ui-widget.ui-widget-content::-webkit-scrollbar-thumb,
.js-select::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #252525fd;
}
.ui-widget.ui-widget-content::-webkit-scrollbar-track,
.js-select::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.019);
  border-radius: 10px;
  background-color: #f9f9fd;
}
.link-expression{
  text-decoration-line: none;
  color: #111;
  font-size: 18px;
}
.link-expression:hover{
  color: #920E00;
}
.filter-advanced i{
color:#1bbf75;
}
.digital_search-item.d-availability {
  margin-left: auto;
}
.digital_search-item + .d-availability {
  margin-left:initial;
}
.i-autocomplete {
  width: 48%;
  position: relative;
  margin-bottom: 30px;
}
.i-autocomplete input{
  width: 100%;
  margin-bottom: 0;
  max-height: 60px;
  padding-right: 78px;
}
.catalog_search .i-autocomplete{
  width: 100%;
  height: 100%;
}
.i-autocomplete i {
  height: 100%;
  width: 40px;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath fill='%23111' d='M9.336 13.7617 4.0233 8.4492c-.3671-.3672-.3671-.961 0-1.3242l.8829-.8828c.3671-.3672.9609-.3672 1.3242 0l3.7656 3.7656 3.7656-3.7656c.3672-.3672.961-.3672 1.3242 0l.8828.8828c.3672.3672.3672.961 0 1.3242l-5.3125 5.3125c-.3593.3672-.953.3672-1.3203 0Z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    background-size: 37%;
}
.i-autocomplete:hover i {
  opacity: 1;
}
.i-autocomplete.items-data-loading i {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><radialGradient id="a5" cx=".66" fx=".66" cy=".3125" fy=".3125" gradientTransform="scale(1.5)"><stop offset="0" stop-color="%23B32B1C"></stop><stop offset=".3" stop-color="%23B32B1C" stop-opacity=".9"></stop><stop offset=".6" stop-color="%23B32B1C" stop-opacity=".6"></stop><stop offset=".8" stop-color="%23B32B1C" stop-opacity=".3"></stop><stop offset="1" stop-color="%23B32B1C" stop-opacity="0"></stop></radialGradient><circle transform-origin="center" fill="none" stroke="url(%23a5)" stroke-width="15" stroke-linecap="round" stroke-dasharray="200 1000" stroke-dashoffset="0" cx="100" cy="100" r="70"><animateTransform type="rotate" attributeName="transform" calcMode="spline" dur="2" values="360;0" keyTimes="0;1" keySplines="0 0 1 1" repeatCount="indefinite"></animateTransform></circle><circle transform-origin="center" fill="none" opacity=".2" stroke="%23B32B1C" stroke-width="15" stroke-linecap="round" cx="100" cy="100" r="70"></circle></svg>');
  opacity: 1;
  background-size: 72%;
}
.i-autocomplete i.btn-clear {
  right: 40px;
  opacity: 1;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' class='bi bi-x' viewBox='0 0 16 16'%3e%3cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
  background-size: 58%;
}
div.popup_bo-content {
  justify-content: center;
  align-items: start;
  /* flex-flow: column; */
  padding-top: 21px;
}
.advanced_popup-inps .i-autocomplete {
  width: 24%;
  max-height: 60px;
}
.advanced_popup-inps {
  gap: 20px;
  justify-content: flex-end;
}
div.advanced_popup-select{
  margin-left: 0 !important;
  margin-right: 0;
}
.advanced_popup-inps .i-autocomplete input{
  height: 100%;
}
.advanced_popup-years .i-autocomplete {
  width: 192px;
  margin-bottom: 0;
}
.novelty_form-checks{
  gap: 20px 40px;
    align-items: center;
    margin-bottom: 20px;
}
.novelty_form-checks .novelty_form-check,
.novelty_form-checks .i-autocomplete{
  margin: 0;
}
.novelty_form-checks .i-autocomplete{
  width: auto;
    max-width: 225px;
}
.link-d{
  position: relative
}
.link-d i {
  width:  16px;
  height: 16px;
  display: block;
  position: absolute;
  right: 0;
  top: -9px;
}
.link-d i:after {
  content: "";
  position: absolute;
  width: 0px;
  height: 3px;
  background: #3498db;
  transform: translate(4px, 11px) rotate(-45deg);
  transform-origin: left;
  transition: all 150ms;
  transition-delay: 0ms;
}
.link-d i:before {
  content: "";
  position: absolute;
  width: 0px;
  height: 3px;
  background: #3498db;
  transform: translate(1px, 6px) rotate(45deg);
  transform-origin: left;
  transition: all 150ms;
  transition-delay: 150ms;
}

.ok.link-d i:before {
  width: 7px;
  transition-delay: 0ms;
}
.ok.link-d i:after {
  width: 13px;
  transition-delay: 150ms;
}

.digital_search{
  margin-bottom: 55px;
}
.novelty_item-title a,
.popup_bo-info a{
  background: transparent !important;
  color: #333 !important;
  text-decoration: underline;
}
.novelty_item-title a:hover,
.popup_bo-info a:hover{
  background: transparent !important;
  color: #B32B1C !important
}
.popup_item span.error-text {
  top: 0;
}
@media print{
  body>div,
  footer,
  header,
  .d-irbis-list .novelty_form,
  .d-irbis-list .digital_search,
  .d-irbis-list .digital_printing,
  .d-irbis-list .pagin,
  .d-irbis-list .novelty_item-links,
  .d-irbis-list .novelty_item-check,
  button.chat{
      display: none !important;
  }
  .d-irbis-list,
  .library{
      display: block;
  }
  html, body{
		/* height: 297mm;
		width: 210mm; */
	}
  a[href^="http"]:after {
		content: " (" attr(href) ")";
	}
  .d-irbis-list.print-not-selected .novelty_items .novelty_item:has(input:checked){
    display: none;
}
.d-irbis-list.print-selected .novelty_items .novelty_item:has(input){
    display: none;
}
.d-irbis-list.print-selected .novelty_items .novelty_item:has(input:checked){
    display: flex;
}
}

@media (max-width: 1024px){
  .i-autocomplete{
    width: 100%
  }
  .d-irbis-list .catalog_search{
    width: 100%
  }
  div.novelty_inp-year{
    width: 100%
  }
  .novelty_form-checks .i-autocomplete{
    max-width: none;
  }
}