.search-header {
  height: 62px;
  border-bottom: 1px solid #e5e5e5;
}
.search-header svg path{
  fill: var(--main-theme-color);
}
.search-header .col {
  padding: 0 22px;
  background-color: var(--theme-main-2);
}
.search-header .col:after {
  content: "";
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.5;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 1px;
  pointer-events: none;
}
.search-header .results-count .btn-toggle-sidebar {
  height: 60px;
  float: right;
  width: 60px;
  background: #f3f3f3;
  border-radius: 0;
  position: relative;
}
.search-header .results-count .btn-toggle-sidebar .icon {
  height: 18px;
}
/* .search-header .results-count .sum {
  font-size: 22px;
  line-height: 1.32;
  margin-left: 5px;
  padding-right: 8px;
} */
.search-header .results-count .sum strong {
  font-weight: 700;
  margin-left: 4px;
}
.search-header .results-count .selected {
  font-size: 18px;
  color: #444444;
}
.search-header .actions {
  font-size: 0;
}
.search-header .actions svg{
    width: auto;
    height: auto;
}
.search-header .actions .btn {
  margin-left: 5px;
}
.search-header .actions .dropdown {
  margin-left: 24px;
}
.search-header .actions .dropdown .btn {
  margin-left: 0;
}
.search-header .actions .btn-action {
  width: 38px;
  height: 38px;
  /* background: #007fad; */
  border-radius: 4px;
  padding: 0;
  position: relative;
}
/* .search-header .actions .btn-action:hover {
  background: #006589;
} */
.search-header .actions .btn-action .icon {
  display: block;
  margin: auto;
  height: 22px;
}
.search-header .actions .btn-action .tooltip-toggle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.search-header .actions .btn-change-view .icon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  transition: opacity 0.15s ease-in-out;
}
.search-header .actions .btn-change-view .icon.icon-grid {
  opacity: 0;
}
.search-header .actions .btn-change-view .icon.icon-grid path{
  fill: var(--main-theme-color);
}
.search-header .actions .btn-change-view.view-list .icon.icon-list {
  opacity: 0;
}
.search-header .actions .btn-change-view.view-list .icon.icon-grid {
  opacity: 1;
}
.search-header .actions .batch-list {
  display: inline-block;
}
.search-header .actions .batch-list .btn-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f3f3;
  padding: 0;
  border: 1px solid #f3f3f3;
  margin-left: 0;
  transition: border-color 0.25s ease;
}
.search-header .actions .batch-list .btn-more .icon {
  height: 16px;
  display: block;
  margin: auto;
}
.search-header .actions .batch-list .dropdown-menu {
  transform: none !important;
  top: 100% !important;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0px 0 0 rgba(0, 0, 0, 0.16);
  transition: visibility 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
  display: block;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  overflow: hidden;
}
.search-header .actions .batch-list .dropdown-menu .dropdown-item {
  padding: 6px 16px;
  color: #444444;
  text-align: start;
  font-size: 19px;
  transition: background-color 0.15s ease-in-out;
  display: flex;
  align-items: center;
  column-gap: 4px;
  line-height: 1;
}
.search-header .actions .batch-list .dropdown-menu .dropdown-item:hover,
.search-header .actions .batch-list .dropdown-menu .dropdown-item:focus,
.search-header .actions .batch-list .dropdown-menu .dropdown-item:active {
  background: #f3f3f3;
}
.search-header
  .actions
  .batch-list
  .dropdown-menu
  .dropdown-item.active-choise::before {
  content: "";
  width: 22px;
  height: 22px;
  background-image: url("../../../assets/images/check-circle.svg");
  background-repeat: no-repeat;
  display: inline-block;
}
.search-header .actions .batch-list.show .dropdown-menu {
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16);
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}
.search-header .actions .batch-list.show .btn-more {
  border-color: #e5e5e5;
}

.search-header .results-bar{
  justify-content: space-between;
}

@media screen and (max-width: 767px){
  .search-header .results-bar{
    justify-content: flex-end;
  }
}

.search-results:not(.view-list) .tooltip-label{
  display: none;
}
.search-results .col .scrollable-in {
  width: 100%;
}
.search-results .col .scrollable-in .col-in {
  padding: 0 22px;
  direction: rtl;
  min-height: 100%;
}
.search-results .results-count {
  display: none;
}

.modal-open .search-footer .pagination {
  z-index: 1;
}
.search-footer .pagination {
  position: fixed;
  left: 42px;
  bottom: 0;
 /*  border: 1px solid #5a798f; */
  border-radius: 0;
  padding: 2px 11px 3px;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.2);
  background: var(--theme-main-5);
  color: var(--theme-main-2);
  display: block;
  text-align: center;
  z-index: 10;
}
.search-footer .pagination .label {
  display: block;
  font-size: 14px;
  line-height: 16px;
  margin-bottom: 3px;
}
.search-footer .pagination ul {
  font-size: 19px;
}
.search-footer .pagination ul > li:not(:last-child) {
  margin-left: 8px;
}
.search-footer .pagination ul > li .btn-nav {
  background: var(--theme-main-4);
  width: 32px;
  height: 31px;
  border-radius:0;
  padding: 0;
  border: none;
}
.search-footer .pagination ul > li .btn-nav:disabled {
  pointer-events: none;
  opacity: 0.5;
}
.search-footer .pagination ul > li .btn-nav:not(:disabled):hover {
  background: rgba(243, 243, 243, 0.1);
}
.search-footer .pagination ul > li .btn-nav .icon {
  display: block;
  margin: auto;
  height: 14px;
  width: 7.42px;
}
.search-footer .pagination ul > li .btn-nav.previous .icon {
  transform: scaleX(-1);
}
.search-footer .pagination ul > li .current-page {
  height: 36px;
  line-height: 36px;
  direction: ltr;
  margin-left: -2px;
}
.search-footer .pagination ul > li input[type="text"] {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: none;
  height: 36px;
  width: 32px;
  text-indent: 0;
  text-align: center;
  padding: 0;
  transition: all 0.25s ease;
}
.search-footer .pagination ul > li input[type="text"]::selection {
  background: #00a0fc;
  color: #fff;
}
.search-footer .pagination .msg-error {
  border-radius: 4px;
  background: #fcf0f1;
  border: 1px solid #c90e1c;
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 8px;
  font-size: 14px;
  padding: 7px 15px;
  color: #c90e1c;
  line-height: 1;
  white-space: nowrap;
  transition: visibility 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.search-footer .pagination .msg-error .btn-close {
  padding: 0;
  border: none;
  background: transparent;
  margin-right: 18px;
  outline: none;
  display: inline-block;
  vertical-align: middle;
}
.search-footer .pagination .msg-error .btn-close .icon {
  display: block;
  height: 12px;
}
.search-footer .pagination.error ul > li input[type="text"] {
  border-color: #c90e1c;
  background: #fcf0f1;
  color: #c90e1c;
}
.search-footer .pagination.error .msg-error {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
}
.search-header .results-count{
  font-family: var(--font-bold);
  font-size: 22px;
}
@media screen and (max-width: 1199px) {
  .search-header {
    border-bottom: 2px solid var(--theme-border);
   /*  position: fixed;
    left: 0;
    top: 210px; */
    width: 87%;
    z-index: 10;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
 
  .search-header .col {
    padding: 0 0 0 12px;
    background: var(--theme-main-2);
  }
  .search-header .col:after {
    display: none;
  }
 /*  .search-header .results-count .sum {
    padding-right: 16px;
    font-size: 18px;
    margin-left: 8px;
  } */
  .search-header .results-count .btn-toggle-sidebar .badge {
    padding: 0 4px;
    right: 8px;
    top: 7px;
    height: 16px;
    border-radius: 6px;
    background: #007fad;
    border: 1px solid #f3f3f3;
    position: absolute;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 14px;
    text-align: center;
  }

/*   .collapse-search-box .search-header {
    transform: translate3d(0, -136px, 0);
  } */

  .search-results .col .scrollable-in {
    position: relative !important;
  }
  .search-results .col .scrollable-in .scroll-content {
    max-height: auto !important;
    height: auto !important;
    position: relative !important;
  }
  .search-results .col .scrollable-in .col-in {
    padding: 0 15px;
  }

  .search-footer {
    display: none;
  }

  .search-results-view {
   /*  top: 12px;
    margin-top: 20px; */

  }

 /*  .search-results-view .col{
    padding: 20px;
    padding-top: 0;
  } */
   .global-cont{
    padding: 20px;
   }
  .bd-highlight {
    /*margin-inline-start: 50px;*/
    top: 30px;
  }
  /*.card-event{
        width:226px;
    }*/
}
@media screen and (max-width: 767px) {
  .search-header {
    top: 158px;
    width:78%;
  }
  .search-header .results-count{
    display: none;
  }
  .search-header .col {
    padding: 0 0 0 0px;
  }
  .search-header .actions .btn {
    margin-left: 12px;
  }
  .search-header .actions .dropdown {
    margin-left: 12px;
  }
  .search-header .actions .dropdown .btn {
    margin-left: 0;
  }
  .search-header .results-count .sum {
    display: none;
  }
  .search-header .results-count .selected {
    display: none;
  }

 /*  .collapse-search-box .search-header {
    transform: translate3d(0, -112px, 0);
  } */

  .search-results .results-count {
    display: block;
    padding-top: 26px;
    font-size: 18px;
    color: var(--main-theme-color);
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .search-results .results-count strong {
    margin-left: 4px;
  }
  .search-results-view {
    margin-top: 0px;
  }
}
@media screen and (min-width: 1200px) {
  .search-header {
 /*    position: fixed;
    left: 0;
    top: 266px;
    width: calc(100% - 21.042vw); */
    z-index: 9;
    background: #fff;
  /*   transition: width 0.5s ease,
      transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); */
  }
  .collapse-facets .search-header {
 /*    width: calc(100% - 60px);
  }
  .collapse-search-box .search-header {
    transform: translate3d(0, -140px, 0);
  }
  .search-header .results-count .btn-toggle-sidebar {
    display: none;
  } */
}
/* @media screen and (min-width: 1280px) {
  .search-header {
    top: 319px;
  }
} */
/* @media screen and (min-width: 1200px){
    .search-results .col .scrollable-in .col-in{
max-width: 902px;
    }
} */
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .search-header {
    width: calc(100% - 339px);
  }

  .collapse-facets .search-header {
    width: calc(100% - 60px);
  }
  .scrollable-results .view-grid {
    /*max-width: 566px;*/
    margin: 0;
  }

  /*     .search-results-view{
        max-width:  566px;
    }
    .scrollable-results .view-grid{
        max-width: 566px;
        margin: 0;
    }

    .bd-highlight{
        max-width:258px;
    }
    .card-event{
        width:258px;
    }
    .view-list .view-cont{
        padding-left:0 !important;
    } */
}
@media screen and (min-width: 1920px) {
  /*.search-header .col, .search-results .col .scrollable-in .col-in{padding:0 70px;}*/
  .search-header {
    width: calc(100% - 404px);
   
  }
 
  .collapse-facets .search-header {
    width: calc(100% - 70px);
  }
}


/* LTR */
[dir="ltr"] .search-header .col:after {
  left: auto;
  right: 0;
}
[dir="ltr"] .search-header .results-count .btn-toggle-sidebar {
  float: left;
}
[dir="ltr"] .search-header .results-count .sum {
  margin-left: 0;
  margin-right: 5px;
  padding-right: 0;
  padding-left: 8px;
}
[dir="ltr"] .search-header .results-count .sum strong {
  margin-left: 0;
  margin-right: 4px;
}
[dir="ltr"] .search-header .actions .btn {
  margin-left: 0;
  margin-right: 24px;
}
[dir="ltr"] .search-header .actions .dropdown {
  margin-left: 0;
  margin-right: 24px;
}
[dir="ltr"] .search-header .actions .dropdown .btn {
  margin-left: 0;
  margin-right: 0;
}
[dir="ltr"] .search-header .actions .btn-action .tooltip-toggle {
  left: auto;
  right: 0;
}
[dir="ltr"] .search-header .actions .batch-list .btn-more {
  margin-left: 0;
  margin-right: 0;
}
[dir="ltr"] .search-header .actions .batch-list .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

[dir="ltr"] .search-results .col .scrollable-in {
  left: auto;
  right: 0;
}
[dir="ltr"] .search-results .col .scrollable-in .col-in {
  direction: ltr;
}

[dir="ltr"] .search-footer .pagination {
  left: auto;
  right: 42px;
  direction: rtl;
}
[dir="ltr"] .search-footer .pagination ul {
  position: relative;
  padding: 0 44px 0 36px;
}
[dir="ltr"] .search-footer .pagination ul > li:last-child {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
}
[dir="ltr"] .search-footer .pagination ul > li:first-child {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}
/* [dir="ltr"] .search-footer .pagination ul{direction: rtl;}
[dir="ltr"] .search-footer .pagination ul > li:not(:last-child){margin-left:0;margin-right:8px;}
[dir="ltr"] .search-footer .pagination ul > li .btn-nav.previous .icon{transform: scaleX(-1);}
[dir="ltr"] .search-footer .pagination ul > li .current-page{direction: ltr;margin-left:0;margin-right:-2px;} */
[dir="ltr"] .search-footer .pagination .msg-error {
  left: auto;
  right: 0;
  direction: ltr;
}
[dir="ltr"] .search-footer .pagination .msg-error .btn-close {
  margin-right: 0;
  margin-left: 18px;
}

@media screen and (max-width: 1199px) {
  [dir="ltr"] .search-header {
    left: auto;
    right: 0;
  }
  [dir="ltr"] .search-header .col {
    padding: 0 15px 0 0;
  }
  [dir="ltr"] .search-header .results-count .sum {
    padding-right: 0;
    padding-left: 16px;
    margin-left: 0;
    margin-right: 8px;
  }
  [dir="ltr"] .search-header .results-count .btn-toggle-sidebar .badge {
    right: auto;
    left: 8px;
  }
  .visual-result-container {
    padding: 0 !important;
  }
}
@media screen and (max-width: 767px) {
  [dir="ltr"] .search-header .actions .btn {
    margin-left: 0;
    margin-right: 12px;
  }
  [dir="ltr"] .search-header .actions .dropdown {
    margin-left: 0;
    margin-right: 12px;
  }
  [dir="ltr"] .search-header .actions .dropdown .btn {
    margin-left: 0;
    margin-right: 0;
  }

  [dir="ltr"] .search-results .results-count strong {
    margin-left: 0;
    margin-right: 4px;
  }
}
@media screen and (min-width: 1200px) {
  [dir="ltr"] .search-header {
    left: auto;
    right: 0;
  }
}

@media screen and (min-width: 1280px) {
}
.visual-search {
  height: 419px;
  display: flex;
  flex-direction: row;
}

.result-image {
  width: 143px;
  height: 143px;
/*   background: #f3f3f3 0% 0% no-repeat padding-box; */
background-color: var(--theme-main-2);
  border: 1px solid #e5e5e5;
/*   border-radius: 4px 4px 0px 0px; */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.result-image .public-domain {
  position: absolute;
  bottom: 18px;
  inset-inline-end: 10px;
}

.indicator {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid #007fad;
  border-radius: 50%;
}

.result-image img {
  max-width: 100%;
  max-height: 100%;
}

.gallery-img-wrap {
  position: relative;
  height: 226px;
}

.gallery-width-details {
  max-width: 100%;
  margin: 0;
  text-align: start;
  margin-top: 27px;
}

@media (max-width:768px){
  .gallery-width-details{
    margin-top:0;
  }
}

.result-details {
 /*  background: #ffffff 0% 0% no-repeat padding-box; */
  border: 1px solid #e5e5e5;
 /*  border-radius: 0px 0px 4px 4px; */
  height: 108px;
  width: 143px;
  /*padding: 16px;*/
  /*display: flex;*/
  align-items: center;
  justify-content: center;
}
.result-details .col-12 {
  max-width: 100%;
}

.result-details .col-12:not(.result-title) {
  white-space: nowrap;
}
.result-details h2 {
  font-size: 18px;
  font-weight: 700;
}
.result-details h2 mark {
  background-color: transparent !important;
}
.visual-row .scroller {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  width: 98%;
}

.visual-row .scroller::-webkit-scrollbar {
  width: 0;
}


  .result-details h2 {
    margin-bottom: 12px;
  }

  .scroll-arrow-remove {
    /*border-radius: 50%;
        position: absolute;
        top: 51px;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 6;
        background-size: contain;
        background-color: white;
        width: 42px;
        height: 42px;
        border: 1px solid;*/
    display: none;
  }
  @media screen and (max-width: 1199px){
    #scrollLeft::after,  #scrollRight::after{
      display: none;
    }
  }
  #scrollLeft {
    inset-inline-start: 12px;
  }

  #scrollLeft::after {
    content: "";
    width: 20px;
    height: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--main-theme-color);
    border-radius: 50%;
    position: absolute;
    top: 90px;
    inset-inline-end: 0px;
    background-image: url("../../../assets/images/arrow-forward.svg");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 6;
    cursor: pointer;
  }

  /*     #scrollLeft:hover::after {
            background: #E5E5E5 0% 0% no-repeat padding-box;
            background-image: url(../../../assets/images/Chevron-Down.svg) !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
        } */

  #scrollRight {
    inset-inline-end: 12px;
  }

  #scrollRight::after {
    content: "";
    width: 20px;
    height: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--main-theme-color);

    border-radius: 50%;
    position: absolute;
    top: 90px;
    inset-inline-start: 0px;
    background-image: url("../../../assets/images/arrow-forward.svg");
    background-repeat: no-repeat;
    background-position: center;
    z-index: 6;
    transform: rotate(180deg);
    cursor: pointer;
  }

  /*        #scrollRight:hover::after {
            background: #E5E5E5 0% 0% no-repeat padding-box;
            background-image: url(../../../assets/images/Chevron-Down.svg) !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
        } */

  .visual-row {
    display: flex;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    position: relative;
    padding: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .visual-row::-webkit-scrollbar {
    display: none;
  }

  .visual-row .col {
    flex: 0;
  }


.creator-name {
 
  font-size: 16px;
}

.image-info {
  padding-top: 10px;
  padding-bottom: 8px;
  font-size: 16px;
  color: #737373;
}
.result-details .image-time {
  border-inline-end: 2px solid #007fad;
  padding-inline-end: 8px;
}

.result-details .image-place {
  padding-inline-start: 8px;
}

.vertical-icon {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  text-align: center;
  background: #f3f3f3 0% 0% no-repeat padding-box;
  border-radius: 16px;
}

.result-details h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.colector-name,
.image-info,
.creator-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 15px 0;
  row-gap: 24px;
  padding: 0;
}

.gallery-title {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0px;
  color: var(--theme-main-5);
  font-family: var(--hadassa-font-family-base);
  font-weight: 400;
  margin-inline-start: 10px;
  min-width: 43%;
}

/* .visual-result-container{
    padding:0 70px;
} */
.visual-result-container {
  padding: 0 15px;
}
@media screen and (max-width: 767px) {
  .vertical-icon {
    display: none;
  }
  .visual-result-container {
    padding: 0 20px;
  }
  .visual-row {
    width: 775px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .visual-row .col {
    width: 155px;
    flex: 0 0 auto;
    max-width: 100%;
  }
  .result-image {
    width: 140px;
    height: 140px;
  }

  .result-details {
    width: 140px;
    height: 80px;
    padding: 10px;
    font-size: 16px;
  }

/*   .image-info,
  .creator-name {
    display: none;
  } */
  .result-details h2 {
    padding-bottom: 4px;
  }
  .gallery-img-wrap {
    height: 140px;
  }
}

/*more content gallery*/
.all-content-mobile {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  /* overflow-y: scroll;*/
}
.all-content-mobile .card-content-item {
  width: 277px;
  flex: 0 0 auto;
  max-width: 100%;
}

.modal-backdrop {
  z-index: 19;
  display: none;
}

.links-row {
  padding: 12px 0;
  padding-inline-end: 9px;
}
@media (min-width:1200px) {
  .search-results-view:has(.view-list){
    max-width: 50%;
  }
}
