/*
 * 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 40px;
  display: flex;
  flex-direction: column;
}

.nekrologi__address {
  font-weight: 600;
  color: #bfa34b;
}

.nekrologi__address:hover {
  color: #374858;
}

.single-nekrolog__desc {
  padding-top: 20px;
  max-width: 900px;
  margin: auto;
}

.single-nekrolog__gallery {
  padding: 20px 0;
}

.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;
  object-fit: contain;
}

.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__button__container {
  display: block;
  margin-top: 25px;
  text-align: center;
}

.single-nekrolog__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.single-nekrolog__buttons__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;

  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:hover {
  color: #fff;
  background-color: #374858;
  border: 1px solid #fff;
} */

.pobierz__button {
  text-align: center;
  margin-bottom: 35px;
  margin-top: 25px;
}

.single-nekrolog__buttons__button--inline {
  display: inline-block;
}

.e-nekrologi {
  text-align: center;
  margin-bottom: 20px;
}

.e-nekrologi-logo {
  vertical-align: middle;
}

@media (max-width: 768px) {
  .single-nekrolog__buttons__button {
    margin-right: 0;
  }

  .single-nekrolog__buttons__button--inline,
  .single-nekrolog__buttons__button--transmisja {
    display: block;
    margin: auto;
    margin-top: 20px;
    width: 100% !important;
  }
}

@media (min-width: 601px) {
  .br-mobile {
    display: none;
  }
}

@media (max-width: 600px) {
  .single-nekrolog__info {
    font-size: 15px;
  }
}

/*Gdy przyciski nie mieszczÄ siÄ w 1 linii */
@media (min-width: 768px) and (max-width: 1024px) {
  .single-nekrolog__buttons__button--transmisja {
    display: block;
    width: fit-content;
    margin: 20px auto !important;
  }
}

@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;
  }
}

/* Popup */

.modal {
  display: none;
  position: fixed;
  z-index: 10005;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 35px;
  border: 1px solid #000;
  width: 90%;
  max-width: 900px;
}

#phone-number {
  margin: 20px auto;
  border: 1px solid #000;
  padding: 9px;
  font-size: 16px;
}

/* The Close Button */
.close {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -5px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-content .modal-qr {
  overflow: scroll;
}

@media (min-width: 768px) {
  .modal {
    padding-top: 200px;
  }
}

/* Css do kodu QR */

.single-nekrolog .table {
  display: table;
  width: 100%;
  height: 100%;
  margin-bottom: 1em;
}

.single-nekrolog .table .cell {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.qrcode-image {
  margin-top: 1em;
}

#qr-mobile-header {
  line-height: 1.6em;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  #phone-number {
    width: 90%;
  }
}

@media (max-width: 990px) {
  .single-nekrolog .form-control {
    margin-top: 1rem;
    margin-bottom: 0.1em;
    width: 50%;
  }

  .qr-download {
    margin-top: 0;
  }

  .single-nekrolog .table {
    margin-bottom: 0;
  }
}

html .single-nekrolog .table .cell,
body .single-nekrolog .table .cell {
  display: table-cell;
  vertical-align: middle;
}

/* Szukajka */
.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;
}

.szukaj__button {
}

/* Drobne poprawki - Divi */

.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;
}

/* Single Nekrologi -> style potrzebne tylko na tej stronie */

.pobierz__button {
  display: none;
}

.showQRCode {
  display: inline-block;
}

.close-button svg {
  width: 24px;
  height: 24px;
}

/* przycisk udostepniania */

.hidden {
  display: none;
}

.share-dialog {
  display: none;
  width: 95%;
  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;
}

.share-dialog.is-open {
  display: block;
  margin-bottom: 30px;
  z-index: 100;
}

.targets {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  margin-bottom: 20px;
}

.close-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none;
  padding: 0.75rem;
}

.close-button svg {
  margin-right: 0;
}

.udostepnij {
  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;
}

.pen-url {
  margin: 15px 0 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 10px;
}

.single-nekrolog__button__container__share {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

@media only screen and (max-width: 960px) {
  .pobierz__button {
    display: block;
  }

  .showQRCode {
    display: none;
  }

  .targets {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-bottom: 20px;
  }

  .udostepnij__link {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
  }
}

/* transmisje online */

.content-section-transmisje {
  padding: 120px 0;
  text-align: center;
}

.countdown-content li {
  display: inline-block;
  font-size: 1.5em;
  list-style-type: none;
  padding: 1em;
  text-transform: uppercase;
  text-align: center;
}

.countdown-content li span {
  display: block;
  font-size: 4.5rem;
}

.message {
  font-size: 4rem;
  display: none;
  padding: 1rem;
}

.countdown {
  align-items: center;
  text-align: center;
  display: block;
}

#player-pogrzeb {
  display: none;
}

.content-section h2 {
  text-align: center;
  font-weight: normal;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  #fb-share-button {
    margin-bottom: 20px !important;
  }

  ul.countdown-content {
    padding-left: 0 !important;
  }

  .countdown-content li {
    font-size: 0.8rem;
    padding: 0.75rem;
  }

  .countdown-content li span {
    font-size: 2.375rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }
}

[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 0% !important;
  margin-bottom: 5px;
  margin-left: 0px !important;
  padding: 7px;
  width: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 12px;
}

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: -30%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: auto;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 12px;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

@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;
}

.lead {
  margin-top: 9.5em;
  margin-bottom: 1.9em;
}

.lead .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.lead__right {
  width: 58.8%;
  padding-top: 7px;
}

.lead h3 {
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  font-size: 3.056em;
}

.lead h3:after {
  content: "";
  height: 2px;
  display: block;
  width: 72px;
  margin-top: 11px;
}

.lead p {
  line-height: 145.6%;
  margin: 0;
}

.list-item {
  margin-bottom: 4em;
}

.list-item__actions {
  border-top: 1px solid #eeece4;
  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.45em;
  padding-top: 2.05em;
  padding-bottom: 14px;
}

.list-item__actions svg {
  display: block;
  margin-right: 1.1em;
}

.list-item__actions span {
  font-weight: 700;
  font-size: 1.278em;
  margin-right: 1.6em;
}

.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;
}

.list,
.single-item-container {
  background-repeat: no-repeat;
  background-position: 100% 100%;
}

.list {
  padding-bottom: 6.3em;
}

.single-item-container {
  padding: 5.3em 0 3.3em;
}

@media (max-width: 767px) {
  .header {
    padding: 15px 0;
    top: 0;
  }

  .header .button,
  .header .search-box button,
  .search-box .header button {
    font-size: 0.75em;
  }

  .header__logo {
    margin: 0;
  }

  .header img {
    max-width: 100px;
    margin: 0 auto;
  }

  .hero {
    height: 80vh;
    padding-top: 0;
    height: auto;
    padding: 30px 0;
    height: 260px;
  }

  .hero h1 {
    display: none;
    font-size: 60px;
  }

  .hero h2 {
    font-size: 1.6em;
    margin-top: 2em;
  }

  .search-box {
    text-align: center;
    font-size: 0.7em;
    margin-top: 1em;
  }

  .lead {
    margin-top: 50px;
  }

  .lead .container {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .lead__right {
    width: 100%;
    padding-top: 25px;
  }

  .list-item {
    padding: 15px;
  }

  .list-item__actions {
    padding: 15px 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .list-item__actions span {
    margin-right: 0;
    margin-bottom: 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;
  }

  .share--email,
  .share--fb {
    margin-bottom: 10px;
  }

  .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) {
  body .announcements-container {
    max-width: 1000px;
    width: 95%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }

  .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;
  }
}

.time-widget-kondolencje {
  font-size: xx-small;
  line-height: 2px;
  display: block;
}

.content-kondolencje {
  margin-top: 0.5rem;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body .announcements-container {
  max-width: 1000px;
  width: 100%;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  height: 40px;
  line-height: 40px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-bottomleft: 4px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 2rem auto;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body .announcements-container:hover {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
}

body .announcements-container .container-title {
  width: 350px;
  height: 100%;
  overflow: hidden;
  padding: 0 15px 0 15px;
  float: left;
  background: #280400;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  color: white;
  letter-spacing: 1px;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-bottomleft: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

body .announcements-container .container-title img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: -5px 3px 0 0;
}

body .announcements-container ul.announcements {
  width: 100%;
  float: left;
  height: 30px;
  overflow: hidden;
  list-style-type: none;
  vertical-align: middle;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body .announcements-container ul.announcements li {
  width: 100%;
  overflow: hidden;
  font-size: 14px;
  margin: -15px 15px 0 15px;
  vertical-align: middle;
  padding: 0;
  line-height: 60px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body .announcements-container ul.announcements li a {
  width: 100%;
  text-decoration: none;
  color: #212121;
  -webkit-transition: color 0.5s ease-out;
  -moz-transition: color 0.5s ease-out;
  -o-transition: color 0.5s ease-out;
  transition: color 0.5s ease-out;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body .announcements-container ul.announcements li a:hover {
  color: #616161;
}

body .announcements-container ul.announcements li a:visited {
  color: #616161;
}

@media (max-width: 786px) {
  body .announcements-container ul.announcements {
    height: 150px;
    flex-wrap: nowrap;
  }

  body .announcements-container {
    width: 95%;
    height: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1rem;
  }

  body .announcements-container .container-title {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0 15px 0 15px;
    float: left;
    font-size: 16px;
    font-weight: bold;
    color: initial;
    background-color: transparent;
  }

  body .announcements-container ul.announcements li {
    width: 100%;
    overflow: visible;
    font-size: 14px;
    margin: auto;
    vertical-align: middle;
    padding: 0;
    line-height: inherit;
    text-overflow: none;
    text-align: center;
    flex-wrap: none;
    height: fit-content;
  }
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 4rem;
  left: 40px;
  background-color: #280400;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
}

.my-float {
  margin-top: 22px;
}
