/* Cards template styles */
.familio-anchor-container {
  width: 100%;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  position: relative;
}
#page p.familio-anchor-index {
  color: #919191;
  margin-bottom: 0;
  position: relative;
}

.familio-anchor-title {
  width: 100%;
}

.familio-anchor-index:after {
  display: flex;
  width: 100%;
  content: '';
  position: absolute;
  border-bottom: 1px solid #e8eefe;
  top: 1em;
  left: 2em;
}

#familio-card-menu-container {
  box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 0 16px;
  position: sticky;
}

@media screen and (min-width: 1008px) {
  #familio-card-menu-container {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}
#familio-card-menu-container::-webkit-scrollbar {
  background: transparent;
  width: 0;
  padding-left: 0;
}

#familio-card-menu-container::-webkit-scrollbar-corner {
  background: transparent;
}

#familio-card-menu-container::-webkit-scrollbar-track {
  background: transparent;
}

#familio-card-menu-container::-webkit-scrollbar-track:hover {
  border: none;
}

#familio-card-menu-container ul {
  margin-left: 0;
  padding-left: 0;
}

#familio-card-menu-container li {
  border-bottom: 1px solid #e8eefe;
  padding: 16px 0;
  list-style-type: none;
}

#familio-card-menu-container li:last-child {
  border-bottom: none;
}

#familio-card-menu-container span {
  color: #1a56f1;
}

#familio-card-menu-container h3 {
  font-size: 14px;
  color: #919191;
  padding-top: 16px;
  font-weight: 400;
}

#familio-card-menu-container a {
  color: #424242;
}
#familio-card-menu-container a:hover {
  color: #919191;
}

/* Spoiler button styles */

.familio-spoiler {
  margin-bottom: 25px;
}

.familio-spoiler-button {
  cursor: pointer;
  height: 36px;
  border: 1px solid #1a56f1;
  box-sizing: border-box;
  display: block;
  border-radius: 4px;
  background-color: var(--white);
  width: 100%;
  color: #1a56f1;
  padding: 8px;
  text-align: center;
  outline: none;
}

.familio-spoiler-button:active,
.familio-spoiler-button:focus {
  outline: none;
}

.familio-spoiler-button::-moz-focus-inner {
  border: 0;
}

.familio-spoiler-button:hover {
  opacity: 0.8;
}

@media screen and (min-width: 1200px) {
  .familio-spoiler {
    margin: 25px 48px;
  }
}

/* Authors */
div.author {
  display: flex;
}

.author-preview {
  display: flex;
  margin-right: 30px;
}

.author-preview-short {
  display: inline-flex;
  margin-right: 10px;
}

.author-preview-short .author-info {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.author-preview-short .author-info a {
  margin: 3px 0 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info span {
  color: #919191;
}

.type4 .card,
.type5 .card {
  min-height: 150px;
  background-color: #919191;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
}

.card-meta .author-info {
  margin-bottom: 10px;
}

.card-meta > span {
  align-self: center;
  margin-bottom: 10px;
}

.card-body > .author,
.card-img-overlay > .author {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.card-body .author-info a,
.card-img-overlay .author-info a {
  white-space: nowrap;
  padding-left: 10px;
}

.card-body .author img,
.card-img-overlay .author img {
  border-radius: 50%;
  overflow: hidden;
  width: 26px;
  min-width: 26px;
  height: 26px;
}

.card-body .author span,
.card-img-overlay .author span,
.archive .author span,
.type31 .author-info span {
  display: none;
  visibility: hidden;
}

.archive .author-info a,
.type31 .author-info a {
  margin-bottom: 0;
}

.card-body .author .author-preview,
.card-img-overlay .author .author-preview {
  margin-bottom: 10px;
}

.card-body .author a,
.card-img-overlay .author a {
  text-decoration: none;
  color: #676565;
  font-weight: 400;
}

.card-body > .date,
.card-body > .min-read {
  color: #909090;
}
.card-body > .date,
.card-img-overlay .date {
  padding-right: 10px;
  border-right: 1px solid #909090;
  align-self: center;
  margin-right: 10px;
}

.slice.type4 .card .card-meta span.min-read,
.slice.type5 .card .card-meta span.min-read {
  padding-left: 0;
}

.slice.type4 .card .card-meta span,
.slice.type5 .card .card-meta span {
  color: #f4f4f4;
  border-color: #f4f4f4;
}

.blog-post .meta span.category,
.blog-post .meta span.category a:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

/*Subscription*/
.header-upper {
  display: flex;
  flex-wrap: wrap;
}

.familio-subscribe-button {
  margin-left: auto;
  border: 1px solid #1a56f1;
  border-radius: 4px;
  vertical-align: middle;
  padding: 7px 14px;
}

.footer-upper .familio-subscribe-button {
  background-color: #1a56f1;
  color: #fff;
  border: none;
  align-self: center;
}

.pum-close:active,
.pum-close:focus {
  outline: none;
}

.mc4wp-form .familio-subscription {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mc4wp-form .familio-subscription p label {
  font-size: 14px;
}

.mc4wp-form .familio-subscription input {
  margin-bottom: 16px;
}

.familio-arrow-button {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  background-color: #fff;
  box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.familio-arrow-button:active,
.familio-arrow-button:focus {
  outline: none;
}

.familio-arrow-button:hover {
  background-color: #f1f1f1;
}

.subscription-input {
  padding: 17px 14px;
  border: 1px solid #dbe3f6;
  border-radius: 4px;
}

.subscription-input,
.subscription-input:focus,
.subscription-button:focus,
.subscription-input:active,
.subscription-button:active {
  outline: none;
}

.subscription-button {
  padding: 17px 14px;
  border-radius: 4px;
  color: #fff;
  background-color: #1a56f1;
  border: none;
}

.subscription-button:hover,
.footer-upper .familio-subscribe-button:hover {
  opacity: 0.8;
}

.mc4wp-form label,
.mc4wp-form p:last-child {
  margin-bottom: 0;
}

.mc4wp-form input[type='checkbox'] {
  margin: 0 5px 0;
}

.content .mc4wp-form {
  box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.content .mc4wp-form .familio-subscription .familio-arrow-button {
  display: none;
  visibility: hidden;
}

.content .mc4wp-form .familio-subscription {
  flex-direction: row;
  flex-wrap: wrap;
}

.content .mc4wp-form .familio-subscription p,
.content .mc4wp-form .familio-subscription h3 {
  min-width: 100%;
  padding: 0;
  margin: 0 0 10px;
}

.content .mc4wp-form .familio-subscription label {
  margin-bottom: 0;
}

.content .mc4wp-form .familio-subscription p:last-child {
  margin-bottom: 0;
}

.content .mc4wp-form .familio-subscription .subscription-input {
  padding: 8px;
  flex-grow: 3;
  margin-right: 10px;
}

.content .mc4wp-form .familio-subscription .subscription-button {
  flex-grow: 1;
  padding: 8px;
}

@media screen and (min-width: 1200px) {
  .content .mc4wp-form {
    margin-left: 48px;
    margin-right: 48px;
  }
}

/*Social share*/
footer.footer div.social-icons a {
  margin-right: 25px;
  color: #b8b8b8;
}

/*Embed Persons*/
.familio-person {
  display: flex;
  flex-direction: column;
  margin: 40px 0;
}

.familio-person-preview {
  display: flex;
  align-items: center;
}

.familio-person-avatar {
  height: 90px;
  width: 90px;
  min-width: 90px;
  border-radius: 50%;
  background-size: 100% 100%;
  margin-right: 20px;
}

.familio-person-mainInfo {
  display: flex;
  flex-direction: column;
}

.post .entry-content h4.familio-person-name {
  padding-top: 0;
  margin-top: auto;
  margin-bottom: 10px;
}

.familio-person-birthInfo {
  color: #909090;
  margin-bottom: auto;
}

.post .entry-content .familio-person p.familio-person-info {
  margin-bottom: 10px;
}

@media screen and (min-width: 1200px) {
  .familio-person {
    margin-left: 48px;
    margin-right: 48px;
  }
}

/*Tooltip*/
.tolltip-paragraph,
.tolltip-paragraph > p {
  font-size: 20px !important;
}

.tolltip-paragraph {
  position: relative !important;
}

.familio-tooltip {
  display: inline;
  margin: 0 5px;
}

.familio-tooltip-content {
  display: none;
  /* flex-direction: column; */
  position: absolute;
  visibility: hidden;
  width: 390px;
  height: auto;
  background-color: #fff;
  box-shadow: 0px 1px 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 10000;
  right: 0;
  transform: translateY(calc(-100% - 1.5em));
  padding: 16px;
}

@media screen and (max-width: 576px) {
  .tolltip-paragraph,
  .tolltip-paragraph > p {
    font-size: 17px !important;
  }
  .familio-tooltip-content {
    width: 100%;
    max-width: 100%;
    min-width: 100% !important;
    left: 0;
  }
}

.familio-tooltip-content a,
.post .entry-content .familio-tooltip-content p {
  font-size: 14px;
  line-height: 1.3em;
}

.familio-tooltip-content h2,
.familio-tooltip-content h1,
.familio-tooltip-content h3,
.familio-tooltip-content h4 {
  padding-top: 0 !important;
}

.post .entry-content .familio-tooltip-content p,
.post .entry-content .familio-tooltip-content a,
.post .entry-content .familio-tooltip-content h2,
.post .entry-content .familio-tooltip-content h3,
.post .entry-content .familio-tooltip-content h4 {
  margin: 0 0 10px 0;
}

.familio-tooltip-text {
  background-color: rgba(26, 86, 241, 0.15);
  cursor: help;
}

.familio-tooltip-text:hover {
  opacity: 0.85;
}

.familio-tooltip:hover .familio-tooltip-content,
.familio-tooltip-content:hover {
  visibility: visible;
  display: block;
  min-width: 388px;
  width: 388px;
  height: auto;
}

@media screen and (max-width: 576px) {
  .familio-tooltip-content {
    position: absolute;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    left: 0;
  }

  .familio-tooltip:hover .familio-tooltip-content,
  .familio-tooltip-content:hover {
    visibility: visible;
    display: block;
    min-width: 100%;
    width: 100%;
    height: auto;
  }
}

body .post .entry-content p a,
body .post .entry-content li a,
body .post .entry-content dd a {
  color: #1a56f1;
  box-shadow: none;
}

body .post .entry-content p a:hover,
body .post .entry-content li a:hover,
body .post .entry-content dd a:hover {
  color: #1a56f1;
  box-shadow: none;
  opacity: 0.85;
}

/*Posts carousel*/
/* .wppsac-post-carousel,
.slick-list,
.slick-slide,
.wppsac-carousel-slides,
.slick-active {
max-height: 250px;
height: 250px!important;
} */

.wppsac-carousel-slides {
  position: relative;
}

.wppsac-post-content-position {
  position: absolute;
  bottom: 0;
  z-index: 100;
}

.wppsac-post-carousel.design-1
  .wppsac-post-content-position
  .wppsac-post-title {
  padding: 20px;
}

.wppsac-post-carousel.design-1
  .wppsac-post-content-position
  .wppsac-post-title
  a {
  color: #fff !important;
}

.wppsac-post-date {
  margin: 10px 0 0 10px;
}

div.wppsac-post-carousel button.slick-arrow {
  width: 45px;
  border-radius: 50% !important;
  align-items: center;
  background-color: #111010 !important;
  filter: invert(0);
}

div.wppsac-post-carousel.design-1 .slick-next {
  right: -15px !important;
}

div.wppsac-post-carousel.design-1 .slick-prev {
  left: -15px !important;
}

.wppsac-post-carousel.design-1 div.wppsac-post-image-bg {
  border-radius: 8px;
  height: 220px;
  overflow: hidden;
  margin: 0;
  z-index: 90;
}

.wppsac-post-carousel.design-1 div.wppsac-post-image-bg a {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.wppsac-post-carousel.design-1 .slick-list .slick-slide img {
  height: 250px;
  width: auto;
  min-width: 100%;
  opacity: 0.7;
  transition: 0.3s;
  margin: 0;
}

/*Restyling*/

div.single-title-zone {
  margin-top: 50px;
}

div.single-title-zone h1 {
  color: #000000;
}

div.single-title-zone .category a {
  color: #676565;
}

div.single-title-zone > span.date,
div.single-title-zone > span.min-read {
  color: #909090;
}

div.single-title-zone > span.min-read {
  border-left: 1px solid #d2d2d2;
  padding-left: 10px;
}

.wp-block-quote p {
  border-left: 4px solid #1a56f1;
  padding-left: 32px;
}

.wp-block-quote,
.post .entry-content blockquote.wp-block-quote,
.post .entry-content .wp-block-pullquote blockquote {
  border-left: none !important;
  box-sizing: border-box;
  margin-left: 4px;
}

.post .entry-content ul li {
  list-style-type: none;
  margin-left: 0;
}

.post .entry-content ul:not([class]) li:before {
  color: #1a56f1;
  content: '● ';
  padding-right: 10px;
}

.custom-card .meta-zone {
  display: flex;
  flex-wrap: wrap;
}

html body,
h1,
h2,
h3,
h4,
span,
p,
a,
li,
b,
em,
button {
  font-family: 'PT Serif';
}

#wpadminbar,
#wpadminbar li,
#wpadminbar span,
#wpadminbar a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.card-empty .card-body {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

div.related-posts .custom-card .card-empty .card-body .card-title a {
  color: #fff;
}

.familio-post-fullwidth-thumb {
  overflow: hidden;
  height: 550px;
  position: relative;
  width: 100%;
}

.familio-post-fullwidth-thumb img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(80%);
}

div.wpcf7 {
  margin-left: 0;
}

div.wpcf7 p,
div.wpcf7 label,
div.wpcf7 input {
  text-transform: none;
}

.page-template-default header {
  padding: 0 0 40px 0;
}

.wpcf7-acceptance label {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.wpcf7-acceptance label input {
  width: auto;
  position: absolute;
  margin-top: 7px;
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
  margin-left: 23px;
}

.wpcf7 .wpcf7-submit {
  background-color: #1a56f1;
  margin-left: auto;
  color: #fff;
  padding: 7px 14px;
  border-radius: 4px;
  text-align: center;
}

.wpcf7 .wpcf7-submit:disabled {
  background-color: rgb(244, 244, 244);
  color: rgb(146, 146, 146);
  opacity: 0.8;
}

.wpcf7 .wpcf7-submit:hover {
  opacity: 0.8;
}

.mc4wp-form {
  margin-bottom: 25px;
}

.page .offcanvas-menu-button,
.post .offcanvas-menu-button {
  top: 30px;
}

.familio-offcanvas-close.offcanvas-close {
  border-radius: 50%;
  height: 44px;
  width: 44px;
  background-color: #f4f4f4;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 30px;
  top: 30px;
  cursor: pointer;
  transition: 0.2s;
}

.familio-offcanvas-close.offcanvas-close svg {
  margin: auto;
}

@-moz-document url-prefix() {
  div.more-author .card-deck {
    align-self: stretch;
    min-width: 100%;
  }
}

.familio-offcanvas-close:hover {
  background-color: #e8eefe;
  color: #1a56f1;
  transition: 0.2s;
}

.social-icons i {
  color: #909090;
}

.social-icons i:hover {
  opacity: 0.8;
}

.familio-mobile-footer,
nav.main-navigation.familio-mobile-footer {
  display: none;
  visibility: hidden;
}
.familio-desktop-footer {
  display: block;
  visibility: visible;
}

.footer-upper .footer-logo-link div {
  margin: 0;
}

.footer-upper .footer-logo-link {
  padding-right: 30px;
}

div.offcanvas-navigation {
  padding-top: 110px;
}

.card.bg-black.text-white {
  height: 100%;
}

.familio-subscription input[type='checkbox'] {
  margin-left: 0;
}

input[type='checkbox']:checked {
  background-color: #fff;
  position: relative;
}

input[type='checkbox']:checked:after {
  content: '✓';
  font-size: 22px;
  line-height: 13px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
}
input[type='checkbox']:checked:before {
  content: '';
  height: 13px;
  width: 13px;
  position: absolute;
  background-color: #e8eefe;
  border: 1px solid #1a56f1;
  border-radius: 2px;
  left: 0;
  right: 0;
  bottom: 0;
}

.content .mc4wp-form .familio-subscription input[type='email'] {
  padding: 18px 145px 18px 14px;
  margin-right: -145px;
  line-height: 20px;
}

.content .mc4wp-form .familio-subscription input[type='submit'] {
  margin: 10px;
  max-width: 125px;
  height: 36px;
  padding: 0;
}

/*Typography*/

h2,
.page h2.page-title,
h1,
body .single-title-zone h1,
.familio-tooltip-content h2,
h3,
.post h3,
form h3,
.mc4wp-form-fields,
h4.familio-person-name,
h4,
h4 strong,
.single-top-area .author-info a.author,
.sidebar h2.widget-title,
body input {
  font-family: 'PT Serif';
}

.single-title-zone span.category {
  text-transform: none;
}

.wppsac-post-image-bg {
  filter: brightness(70%);
}

.wppsac-post-image-bg img {
  max-height: 225px !important;
  max-width: 500px !important;
  height: auto !important;
  width: auto !important;
}

.video-theatre div.single-title-zone h1 {
  color: #fff;
}

/*Adaptivity*/

@media screen and (min-width: 1200px) {
  .wppsac-slick-carousel-wrp,
  .more-author {
    margin: 47px !important;
  }
  .related-posts {
    margin: 0 32px 40px;
  }
}

@media screen and (max-width: 1200px) {
  blockquote.wp-block-quote p,
  div.post .entry-content blockquote.wp-block-quote p {
    margin-left: 0 !important;
  }
}

@media screen and (min-width: 993px) {
  .familio-post-subtitle {
    font-size: 20px;
    line-height: 34px;
    display: block;
    color: #0a173a;
    margin-top: 7px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 992px) {
  .familio-post-subtitle {
    font-size: 18px;
    line-height: 31px;
    color: #0a173a;
    display: block;
    margin-top: 7px;
    margin-bottom: 20px;
  }
  .header-upper .familio-subscribe-button {
    display: none;
  }
  div.offcanvas-menu-button {
    margin-right: 30px;
    top: 30px;
  }
  div.offcanvas-menu-button.centered {
    margin-right: 30px;
  }
  body header {
    margin-top: 30px;
    margin-bottom: 0;
  }
  body header .header-upper .logo {
    margin-left: 0;
  }
  body header .header-upper .logo h1 {
    height: 1rem;
  }
  div.header-upper {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .footer-upper {
    flex-direction: column;
    align-items: center;
  }

  .footer-upper .familio-subscribe-button {
    margin: 0 0 30px;
  }

  .footer-upper .footer-logo-link {
    border: none;
  }

  div.footer-navigation-menu-container {
    flex-direction: column;
    align-items: center;
  }

  div.footer-navigation-menu-container .copyright {
    margin-top: 20px;
  }
  .familio-desktop-footer,
  nav.main-navigation.familio-desktop-footer {
    display: none;
    visibility: hidden;
  }
  .familio-mobile-footer,
  nav.main-navigation.familio-mobile-footer {
    display: block;
    visibility: visible;
  }
  nav.main-navigation.familio-mobile-footer {
    margin-top: 30px;
    margin-bottom: 0;
  }
  nav.main-navigation.familio-mobile-footer .menu-item {
    margin-bottom: 30px;
  }
  .footer-navigation-menu-container p.copyright {
    margin-top: 0;
  }
}

@media screen and (max-width: 576px) {
  blockquote.wp-block-quote p,
  div.post div.entry-content blockquote.wp-block-quote p {
    padding-left: 20px !important;
  }
}

@media screen and (max-width: 376px) {
  .footer-navigation-menu-container .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-navigation-menu-container .menu li {
    margin-right: 0;
    padding-bottom: 20px;
  }
  .footer-navigation-menu-container .menu li:last-child {
    padding-bottom: 0;
  }
  .footer-upper .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-upper .menu .menu-item {
    margin-bottom: 30px;
    margin-right: 0;
    font-size: 16px;
  }
  .footer-upper .familio-subscribe-button {
    padding: 20px;
    margin-top: 10px;
    width: 307px;
    margin-bottom: 47px;
  }
  .footer-upper nav.main-navigation {
    margin-bottom: 0;
  }
  nav.main-navigation.familio-desktop-footer {
    display: none;
    visibility: hidden;
  }
  .footer-upper .social-icons {
  }
}

/*Search page*/
body.search .search-description form.search-form input.search-field {
  border: 1px solid #d3d3d3;
  margin-top: 60px;
  border-radius: 5px;
}

/*fixes*/
h4 strong,
h4,
.single-title-zone .date,
figcaption,
h2,
h2.has-normal-font-size,
#page h1,
#post h1,
h3,
h5,
h6,
.author-info .author {
  font-family: 'PT Serif' !important;
}

body #page,
a {
  font-family: 'PT Serif' !important;
}

.wp-block-image figcaption {
  font-size: 14px !important;
}

.categories-menu-genearea .cat-item,
.categories-menu-genearea .cat-item:hover {
  margin: 0 10px 10px 0;
}

.post-template-single-cards .single-title-zone {
  margin-left: 20px !important;
}

.single-title-zone span.category {
  text-transform: uppercase;
}

.wpcf7-form {
  font-family: 'PT Serif' !important;
}

.wpcf7-form input.wpcf7-text,
.wpcf7-form textarea {
  padding: 17px 14px;
  border: 1px solid #dbe3f6;
  border-radius: 4px;
}

.wpcf7-form input.wpcf7-text:focus, .wpcf7-form textarea:focus, .wpcf7-form input.wpcf7-text:active, .wpcf7-form textarea:active {
  outline: none;
}

#page h2.page-title,
#page .wpcf7 {
  margin-left: 0;
}

#carousel {
  margin-top: 50px;
}

.page .entry-content .slice h2.slice-title {
  text-transform: none;
}

.mc4wp-alert.mc4wp-error,
.mc4wp-alert.mc4wp-notice {
  color: red !important;
  font-size: 14px;
  margin-top: 10px;
  font-family: 'PT Serif';
}

/* @media (min-width: 1200px) {

  #page, #page .container  {
    max-width: 100%;
    min-width: 100%;
    width: 100vw;
  }
} */

/*Carousele restyle*/
.wppsac-carousel-slides.slick-slide .card-meta img {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  border-radius: 50%;
}

.wppsac-carousel-slides.slick-slide .card-meta {
  display: flex;
  flex-direction: column !important;
}

.wppsac-post-content-position {
  position: absolute;
  height: 100%;
  width: calc(100% - 20px);
}

.wppsac-carousel-slides.slick-slide .card-meta > .author {
  display: flex;
  flex-direction: column;
  padding-left: 10px;
}

.wppsac-carousel-slides.slick-slide .card-meta .author .author-preview-short {
  margin-top: 5px;
  display: flex;
  align-items: center !important;
}

.wppsac-carousel-slides.slick-slide
  .card-meta
  .author
  .author-preview-short
  .author-info {
  margin-bottom: 0;
  margin-left: 10px;
}

.wppsac-carousel-slides.slick-slide
  .card-meta
  .author
  .author-preview-short
  .author-info
  a {
  color: rgb(81, 81, 81);
  cursor: pointer !important;
  font-size: 14px;
  font-weight: 700;
}

.wppsac-carousel-slides.slick-slide .card-meta .date {
  color: rgb(134, 134, 134);
  font-size: 14px;
  align-self: flex-end;
  margin-right: 8px;
}

.wppsac-post-content-position h2 {
  top: 220px;
  position: absolute;
  width: 100%;
  transform: translatey(-100%);
}

.wppsac-post-carousel.design-1.slick-slider {
  max-height: 500px;
  height: auto;
}

.wppsac-carousel-slides.slick-slide.slick-active {
  max-height: 500px !important;
  height: 100%;
}
.wppsac-carousel-slides.slick-slide.slick-active:active,
.wppsac-carousel-slides.slick-slide.slick-active:focus {
  outline: none;
}
.wppsac-carousel-slides.slick-slide.slick-active::-moz-focus-inner {
  border: 0;
}

.wppsac-carousel-slides.slick-slide h2 {
  padding-bottom: 30px !important;
}

.wppsac-carousel-slides.slick-slide .card-meta {
  position: relative;
}

.wppsac-carousel-slides.slick-slide .card-meta .date {
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: -2em;
  margin-right: 10px;
}

.sticky-header {
  padding-bottom: 0 !important;
}

/*AUTHOR and Gallery fixes*/

.single-author-bio {
  word-wrap: break-word;
}

.single-author-bio img,
.single-author-bio .useravatar {
  min-width: 100px !important;
  width: 100px !important;
  height: 100px !important;
  max-height: 100px !important;
}

@media screen and (max-width: 576px) {
  .single-author-bio {
    padding: 10px !important;
  }
  .single-author-bio img,
  .single-author-bio .useravatar {
    min-width: 60px !important;
    width: 60px !important;
    height: 60px !important;
    max-height: 60px !important;
  }
}

.blocks-gallery-item__caption {
  position: static !important;
}

.blocks-gallery-item figure {
  display: flex;
  flex-direction: column;
}

.blocks-gallery-item figure img {
  margin-bottom: 15px !important;
}

.blocks-gallery-item figure figcaption {
  padding-top: 0 !important;
}

.hyphens {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
