.search .content__main {
  display: flex;
}
.content__search {
  max-width: 840px;
}
.search .content__left,
.search .content__right {
  display: flex;
  flex-direction: column;
}
.search .hdate {
  width: auto;
  padding: 20px 0 0;
  margin-top: -1px;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
}
.search .hdate p {
  width: max-content;
  background-color: #efefef;
  padding: 2px 5px;
}
.search .hdate p.publish-date {
  background-color: transparent;
  width: auto;
}
.search .list__element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 20px 10px 0;
  position: relative;
}
.search .list--author-holder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.search .author--figure {
  filter: grayscale(100%);
  padding-right: 20px;
  text-align: center;
}
.search .author--image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  background-color: #999;
}
.search .author {
  margin-top: 10px;
  filter: grayscale(100%);
}
.search .list--text-holder {
  padding: 10px 0;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  margin-top: 0;
}
.list--author-holder:not(:empty) {
  margin-right: 20px;
  border-right: 1px solid #b0b0b0;
}
.search .tags {
  display: flex;
  flex-wrap: wrap;
}
.search .list--figure {
  position: relative;
}
.search .list--lead,
.search .list--lead p {
  white-space: pre-line;

  order: 3;

  padding: 0 0 27px 0;
}
.search .list__block:not(.velemeny):not(.noimage) .rovat-tag {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}
.search .list__block:not(.velemeny):not(.noimage) .list--text-holder {
  padding: 0 10px 0 20px;
}
.search .list--title {
  padding-bottom: 0;
  position: relative;
  order: 1;
  padding-top: 5px;
}
.search .list--lead {
  height: auto;
  padding: 5px 0;
  order: 3;
}
.search .list__block:not(.velemeny) .list--image {
  width: 300px;
  height: 200px;
  display: block;
  background-color: #999;
  object-fit: cover;
}
.search .list__block:not(.velemeny):not(.noimage) .listelement--rovat {
  height: min-content;
  position: absolute;
  background-color: #fff;
  margin-right: 5px;
  padding: 2px 5px;
  text-transform: uppercase;
}
.search .list__block:not(.velemeny) .listelement--rovat {
  height: min-content;
  background-color: #fff;
  margin-right: 5px;
  padding: 2px 5px;
  text-transform: uppercase;
}
.dark.search .list--title,
.dark.search .list--lead,
.dark.search .list--lead p {
  color: #fff;
}
.dark.search .publish-date {
  color: grey;
}
.messageHolder {
  margin: 20px 0 90px 0;
  width: 100%;
  display: none;
  justify-content: center;

  text-align: center;
  padding-top: 10px;
}
.messageHolder.visible {
  display: flex;
}
.dark .messageHolder {
  color: #fff;
}
.search .ad.adi.fullwidth {
  width: 1140px;
}

/* search box */
body.search .search__box {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  min-height: 80px;
  margin: 20px 0;
}
body.search .boa {
  width: 100%;
  height: 40px;
  margin-bottom: 0;
  padding: 0 10px;
  border: 4px solid #d0d0d0;
}
.filters {
  width: 100%;
}
body.search .dates {
  padding-right: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
body.search .dates .date {
  position: relative;
  padding: 0;
  background-position: right center;
  background-repeat: no-repeat;
  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%3Cpath%20d%3D%22M4%2C7V24H27V7Zm7%2C13H8V17h3Zm0-6H8V11h3Zm6%2C6H14V17h3Zm0-6H14V11h3Zm6%2C6H20V17h3Zm0-6H20V11h3Z%22%20fill%3D%22%23d2d2d2%22%2F%3E%0A%3C%2Fsvg%3E%0A);
  width: 45%;
}
body.search .dates .date input {
  display: block;
  width: -webkit-fill-available;
  width: -moz-available;
  height: 100%;
  padding: 0 15px;
  border: none;
  outline: none !important;
}
body.search .dates .date input:focus-visible {
  outline: none !important;
}
.btn-holder {
  height: 48px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gosearch {
  height: inherit;
  padding: 0 20px;
  text-transform: uppercase;
  border: 4px solid;

  background-color: #157efc;
  border: 4px solid #d0d0d0;

  margin-right: 5px;
  padding: 10px 15px;
  cursor: pointer;
}
.gosearch:hover,
body.search .search__clear:hover {
  border: 4px solid #157efc;
}
body.search .search__clear {
  height: inherit;
  max-height: 40px;
  border: 4px solid #d0d0d0;
  margin-right: 10px;
  text-transform: uppercase;
  background-color: #157efc;
}
body.search .search__clear svg {
  width: 40px;
  height: 40px;
  pointer-events: none;
}
body.search .search__clear svg g,
body.search .search__clear svg g line {
  stroke: #fff;
  stroke-width: 2;
}
body.search .search__clear svg circle {
  stroke: none;
}
body.search .search__clear svg g,
body.search .search__clear svg g line {
  stroke: #fff;
  stroke-width: 2;
}
.search__empty {
  text-align: center;
}
/* pika */
.pika-single.is-hidden {
  display: none;
}
.pika-single {
  display: block;
  z-index: 9999;
  position: relative;

  background: #d0d0d0;
}
.pika-lendar {
  width: 176px;
  border: 2px solid #d0d0d0;
}
.pika-title {
  position: relative;
  text-align: center;
  padding-bottom: 0 !important;
  text-transform: uppercase;
}
.pika-label {
  display: inline-block;
  position: relative;
  z-index: 9999;
  overflow: hidden;
  margin: 0;
  padding: 5px 3px;
  text-transform: uppercase;
}
.pika-title select {
  cursor: pointer;
  position: absolute;
  z-index: 9998;
  margin: 0;
  left: 0;
  top: 5px;
  opacity: 0;
  display: inline-block;
}
.pika-prev,
.is-rtl .pika-next {
  float: left;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%3Cpolygon%20points%3D%2219%2022%2013%2016%2019%2010%2019%2022%22%20fill%3D%22%23157efc%22%2F%3E%0A%3C%2Fsvg%3E%0A");
  left: 0;
}

.pika-next,
.is-rtl .pika-prev {
  float: right;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%0A%20%20%3Cpolygon%20points%3D%2213%2010%2019%2016%2013%2022%2013%2010%22%20fill%3D%22%23157efc%22%2F%3E%0A%3C%2Fsvg%3E%0A");
  right: 0;
}
.pika-prev,
.pika-next {
  display: block;
  cursor: pointer;
  position: relative;
  width: 20px;
  height: 30px;
  overflow: hidden;
  text-indent: 20px;
  white-space: nowrap;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 32px 32px;
  opacity: 0.8;
  border: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.pika-table {
  width: 170px;
}
.pika-table th {
  display: none;
}
.pika-table th,
.pika-table td {
  width: 14.285714285714286%;
  padding: 0;
}
.is-selected .pika-button {
  color: #fff;
  background-color: #157efc;
}
.pika-button {
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 0;

  text-align: center;
  border: 2px solid #d0d0d0;
  background-color: #fff;
}
.pika-single:before,
.pika-single:after {
  content: " ";
  display: table;
}
@media screen and (max-width: 1000px) {
  .search .content__main {
    margin: 30px 0 0;
  }
  body.search .search__box {
    flex-direction: column;
    width: auto;
    /* padding: 0 15px; */
  }
  body.search .boa {
    width: -webkit-fill-available;
    width: -moz-available;
    margin: 10px 0;
  }
  body.search .dates .date {
    width: 50%;
  }
  .btn-holder {
    justify-content: flex-end;
  }
  .filters {
    width: -webkit-fill-available;
    width: -moz-available;
    margin: 10px 0;
  }
  .search .list__block {
    padding: 0 15px;
    width: auto;
  }
  .search .list__element {
    flex-direction: column;
    padding: 10px 0;
  }
  .search .list__block:not(.velemeny) .list--image {
    width: 100%;
  }
  .search .list__block:not(.velemeny):not(.noimage) .list--text-holder {
    padding: 0;
  }
  .search .list__block:not(.velemeny):not(.noimage) .list--text-holder {
    padding: 10px 0;
    width: auto;
  }
  .search .list--text-holder {
    padding: 10px 0;
    width: auto;
  }
  .search .list--author-holder:not(:empty) {
    border-right: unset;
  }
  .search .list--link {
    order: 2;
  }
  .search .tags {
    order: 1;
  }
  .search .publish-date {
    flex-direction: row;
    order: 3;
  }
  .search .modify-date {
    order: 4;
  }
  .search .list--lead {
    order: 5;
  }
  .search .list--title {
    padding-bottom: 10px;
  }
}
