/*
 * CSS for the Nekrologi plugin.
 */

/* list */

.nekrologi__page-title {
  text-align: center;
  margin: 40px 0;
}

.nekrologi {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.nekrolog {
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  margin-bottom: 25px;
}

.nekrolog__border {
  background-color: #f9f5f1;
  padding: 60px 10px;
  background: radial-gradient(
    circle,
    rgb(249 245 241 / 26%) 0%,
    rgba(230, 224, 219, 1) 100%
  );
  box-shadow: 0 8px 10px rgb(0 0 0 / 25%);
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nekrolog__title {
  font-size: 26px;
  line-height: 1.2em;
  margin-top: 25px;
  height: 52px;
  font-weight: 700;
}
p.nekrolog__title {
  margin-bottom: 0;
}

.nekrolog__button__container {
  display: block;
  margin-top: 25px;
  text-align: center;
}

.nekrolog__button {
  cursor: pointer;
  width: auto;
  margin: 0;
  margin-right: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  outline: 0;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
}
.nekrolog__button:last-child {
  margin-right: 0;
}

/* .nekrolog__button:hover {
  color: #fff;
  background-color: #374858;
  border: 1px solid #fff;
} */

.nekrolog__container {
  padding: 2px;
  margin-bottom: 10px;
}

.nav-links,
.page_links {
  font-size: 1em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  list-style-type: none;
  clear: both;
}

.nav-links .page-numbers {
  color: #8b8b8e;
  background: #f3f3f0;
  display: inline-block;
  vertical-align: top;
  font-size: inherit;
  font-weight: 700;
  margin: 0 0.714em 0 0;
  padding: 0;
  border: none;
  width: 2.714em;
  height: 2.714em;
  line-height: 2.714em;
  text-align: center;
  -webkit-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  -webkit-transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease, background-position 0.3s ease;
  transition-behavior: normal, normal, normal, normal;
  transition-duration: 0.3s, 0.3s, 0.3s, 0.3s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s;
  transition-property: color, background-color, border-color,
    background-position;
  -ms-transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease, background-position 0.3s ease;
  transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease, background-position 0.3s ease;
  transition-behavior: normal, normal, normal, normal;
  transition-duration: 0.3s, 0.3s, 0.3s, 0.3s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s;
  transition-property: color, background-color, border-color,
    background-position;
}

.page-numbers.current {
  color: #ffffff;
  background-color: black;
}

@media (min-width: 1025px) {
  .nekrolog__container {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .nekrologi-container .nekrolog {
    display: inline-block;
    width: 49.5%;
  }
}

/* single */

div.single-nekrolog {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1300px;
  text-align: center;
}

.single-nekrolog__page-title {
  margin-top: 20px;
  margin-bottom: 15px;
  line-height: 1.3em;
}

.single-nekrolog__subtitle {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-bottom: 0;
  padding-bottom: 0;
}

.single-nekrolog__date {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-bottom: 20px;
}

.single-nekrolog__info {
  line-height: 2em;
  padding: 20px 0 20px;
  display: flex;
  flex-direction: column;
}

.nekrologi__address {
  font-weight: 600;
  color: #bfa34b;
}

.nekrologi__address:hover {
  color: #374858;
}

.single-nekrolog__info__content {
  max-width: 900px;
  margin: auto;
}

.single-nekrolog__gallery {
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  justify-content: center;
}

.single-nekrolog__divider img {
  object-fit: cover;
  height: 64px;
}

.brak-nekrologow {
  text-align: center;
  min-height: 70vh;
}

.single-nekrolog__gallery__img {
  padding: 3px 5px;
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  height: 400px;
  width: 400px;
  object-fit: cover;
}

.nekrolog__img {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  object-fit: contain;
  aspect-ratio: 1;
}

@media (max-width: 767px) {
  .nekrolog__img {
    max-width: 220px;
    max-height: 220px;
  }
  .single-nekrolog__gallery__img {
    max-width: 220px;
    max-height: 220px;
    height: 220px;
    width: 220px;
  }
}

.single-nekrolog__dialog__container {
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
  width: 100%;
}

.single-nekrolog__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.single-nekrolog__buttons__button {
  width: auto;
  margin: 0;
  margin-right: 10px;
  outline: 0;
  box-sizing: border-box;
  border-radius: 0;
  -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  border: 1px solid transparent;
  cursor: pointer;
}

.single-nekrolog__buttons__button button {
  width: 100%;
}

.single-nekrolog__buttons__button:last-child {
  margin-right: 0;
}

.single-nekrolog__buttons__button--inline {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .single-nekrolog__buttons__button {
    margin-right: 0;
  }

  .single-nekrolog__buttons__button--inline {
    display: block;
    width: 100% !important;
  }
}

@media (min-width: 601px) {
  .br-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .single-nekrolog__info {
    font-size: 15px;
  }
}

@media (min-width: 1025px) {
  .nekrologi-container .nekrolog {
    display: inline-block;
    width: 33%;
  }

  .nekrologi__container {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 20px;
  }

  .single-nekrolog__page-title,
  .nekrologi__page-title {
    font-size: 60px;
  }
}

.szukaj {
  margin: auto;
  text-align: center;
  margin-bottom: 40px;
}

.szukaj__wyniki {
  margin: auto;
  text-align: center;
  margin-bottom: 40px;
}

.szukaj__imie {
  padding: 12px 24px !important;
  font-size: 15px;
  border-color: #000 !important;
  border-width: 2px !important;
  border-style: solid !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
  max-width: 400px;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
}

.screen-reader-text {
  display: none;
}

.nekrologi-container {
  margin: auto;
  max-width: 1330px;
  width: 100%;
  margin-bottom: 2.5em;
}

.post-type-archive-nekrologi .nekrologi-container {
  padding-bottom: 40px;
}

.share-dialog__close-button svg {
  width: 24px;
  height: 24px;
}

.hidden {
  display: none;
}

.share-dialog {
  /* position: absolute; */
  display: none;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 100;
  border: 1px solid #ddd;
  padding: 20px 20px 30px;
  background: white;
}

.share-dialog.is-open {
  margin-top: 24px;
  display: block;
  margin-bottom: 30px;
  z-index: 100;
}

.share-dialog__targets {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-bottom: 20px;
}

.share-dialog__close-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;

  border: none !important;
  box-shadow: none;
  padding: 0.75rem;
}

.share-dialog__close-button svg {
  margin-right: 0;
}
.share-dialog__close-button svg path {
  stroke: #000;
}

.share-dialog__header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.udostepnij__link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
}

.share-dialog__url {
  margin: 15px 0 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 10px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  pointer-events: none;
}

.single-nekrolog__actions__container__share {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

@media only screen and (max-width: 960px) {
  .share-dialog__targets {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-bottom: 20px;
  }
}
@media (max-width: 400px) {
  .single-nekrolog__buttons__button {
    font-size: 12px;
  }
}

/* kondolencje */
.button,
.search-box button {
  color: #fff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  border: none;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 2.8em;
  margin-top: 21px;
  padding-right: 1.3em;
  padding-left: 1em;
}

.button svg,
.search-box button svg {
  margin-right: 0.3em;
  display: block;
}

.button svg path,
.search-box button svg path {
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.list-item {
  margin-bottom: 4em;
}

.list-item__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 2.2em;
  margin-bottom: 2.2em;
}

.list-item__button--empty {
  margin-top: 2.7em;
}

.list-item__button .button,
.list-item__button .search-box button,
.search-box .list-item__button button {
  margin: 0 0.4em;
  height: 2.4em;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.success {
  text-align: center;
  padding: 15px;
  display: none;
  color: #4caf50;
}

.comments {
  padding-left: 0.6em;
  padding-right: 0.6em;
  padding-top: 0.3em;
}

.comment {
  padding: 1.5em 1.05em 1.3em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.comment:last-child {
  border: none;
  padding-bottom: 0;
}

.comment__name {
  font-weight: 700;
  font-size: 1.111em;
}

.comment__date {
  font-size: 0.944em;
  margin-top: 0.25em;
}

.comment p {
  margin: 0;
  line-height: 1.5;
}

.comment__left {
  width: 26%;
}

.comment__right {
  width: 65.7%;
  margin-top: 0.15em;
}

.comment-form {
  max-width: 50em;
  width: 100%;
  margin: 0 auto;
  margin-top: 2em;
  display: none;
}

input.text,
input.title,
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"],
select,
textarea {
  padding: 12px !important;
}

.comment-form__title {
  text-align: center;
  font-weight: 700;
  margin: 1.5em 0;
}

.comment-form input,
.comment-form textarea {
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  display: block;
  font-size: 0.944em;
  resize: none;
  height: 2.941em;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
}

.comment-form textarea {
  height: 7.176em;
  padding: 15px;
}

.comment-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -10px;
}

.comment-form__row--right {
  margin-top: -1.1em;
}

.comment-form__row--right .comment-form__row__item {
  text-align: right;
}

.comment-form__row--right .comment-form__row__item .button,
.comment-form__row--right .comment-form__row__item .search-box button,
.search-box .comment-form__row--right .comment-form__row__item button {
  height: 2.4em;
  width: 7.5em;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.comment-form__row__item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0 10px;
  margin: 16px 0;
}

.pagination {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: center;
  margin-top: 4.5em;
}

.pagination,
.pagination__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pagination__button {
  opacity: 0.5;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 30%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.pagination__button:first-child svg {
  margin-right: 0.7em;
}

.pagination__button:last-child {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.pagination__button:last-child svg {
  margin-left: 0.7em;
}

.pagination__button:hover {
  opacity: 1;
}

.pagination__button a {
  font-weight: 300;
  font-size: 0.944em;
  text-decoration: underline;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.pagination__button a:hover {
  font-weight: 700;
}

.pagination .links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 30%;
  font-size: 1.056em;
}

.pagination .links,
.pagination .links a,
.pagination .links span {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.pagination .links a,
.pagination .links span {
  width: 1.263em;
  height: 1.263em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  margin: 0 0.1em;
  padding-bottom: 0.3em;
}

.pagination .links a {
  font-weight: 300;
}

.pagination .links a:hover,
.pagination .links span {
  font-weight: 700;
}

@media (max-width: 767px) {
  .list-item {
    padding: 15px;
  }

  .list-item__button {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .list-item__button .button,
  .list-item__button .search-box button,
  .search-box .list-item__button button {
    height: 2.4em;
    width: 100%;
    margin: 10px 0;
  }

  .comment {
    padding: 15px 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .comment__left,
  .comment__right {
    width: 100%;
  }

  .pagination__button {
    display: none;
  }

  .pagination .links {
    width: 100%;
  }
}

/* new style */

ul.comments_list {
  width: 100%;
}

.comments_list_wrap > ul {
  padding-bottom: 4em;
  border-bottom: 2px solid #dcdad9;
}

.comments_list_wrap > ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment_author_avatar {
  display: block;
  width: 70px;
  float: left;
  padding-top: 1em;
}

.comment_content {
  padding-left: 0;
  margin-left: 10em;
  min-height: 8.5em;
  vertical-align: top;
}

.comment_content {
  padding-left: 105px;
}

.comment_content {
  background-color: rgba(245, 40, 145, 0);
  margin-left: 0 !important;
  height: auto;
  text-align: left;
  min-height: 0 !important;
  padding: 25px 25px 25px 91px;
  min-height: 75px;
}

.comment_info {
  font-size: 1em;
}

.comment_info {
  font-size: 0.875em;
  margin-bottom: 0.5em;
}

li.comment {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 28px 0 18px;
  display: inline-block;
  position: relative;
  width: 100%;
}

li.comment:first-child {
  border-top: 1px solid #ededed;
}

.comment_info > span.comment_author {
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.comment_date {
  float: right;
}

.comment_info > .comment_date > .comment_date_value {
  margin-left: 1em;
}

.comment_author,
.comment_text {
  overflow-wrap: break-word;
}

.fa-comment-dots {
  padding-right: 5px;
}

@media (max-width: 786px) {
  .comment_date {
    float: left;
  }

  .comment_author,
  .comment_text {
    display: inline-block;
  }

  .comment-form__row {
    display: block;
  }

  .comment-form__row__item {
    flex: none;
    padding: 0 10px;
    margin: 16px 0;
  }

  button.single-nekrolog__buttons__button {
    margin-top: 20px;
  }

  .comment-form__row--right .comment-form__row__item {
    text-align: center;
  }

  .list-item__button {
    margin-top: 0.3em;
    margin-bottom: 1.5em;
  }

  .comment-form__title {
    text-align: center;
    font-weight: 700;
    margin: 0.5em 0;
  }

  .comment-form {
    max-width: 50em;
    width: 100%;
    margin: 0 auto;
    margin-top: 0s;
  }
}
