.button,
.search-box button {
  color: #fff;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  border: none;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .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: .3em;
  display: block
}

.button svg path,
.search-box button svg path {
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .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 .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: .6em;
  padding-right: .6em;
  padding-top: .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: .944em;
  margin-top: .25em
}

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

.comment__left {
  width: 26%
}

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

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

.comment-form--kondolencje {
  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: .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: space-between;
  margin-top: 4.5em
}

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

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

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

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

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

.pagination__button:hover {
  opacity: 1
}

.pagination__button a {
  font-weight: 300;
  font-size: .944em;
  text-decoration: underline;
  -webkit-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .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 .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  margin: 0 .1em;
  padding-bottom: .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: .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: .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: .875em;
  margin-bottom: .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.nekrolog__button {
    margin-top: 20px;
  }

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

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

  .comment-form__title {
    text-align: center;
    font-weight: 700;
    margin: .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: .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 3rem;
  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: #bababa;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  color: #212121;
  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;
  color: #212121;
}

body .announcements-container ul.announcements li a {
  width: 100%;
  text-decoration: none;
  color: #000;
  -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 li a {
    white-space: unset;
    overflow: visible;
    text-overflow: unset;
  }

  body .announcements-container ul.announcements {
    flex-wrap:unset !important;
    text-overflow:unset !important;
    overflow:visible;
  }

  body .announcements-container {
    width: 95%;
    height: auto;
    flex-direction: column;
    flex-wrap: unset;
    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: 50px;
  height: 50px;
  bottom: 4rem;
  left: 40px;
  background-color: #bababa;
  border: 1px solid #616161;
  color: #212121;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #d5bd7c7c;
  z-index: 10000000000000000;
}

.my-float {
  margin-top: 19px;
}

.float:hover {
  color: #dcdad9;
  background-color: #616161;
}