/*------------------------------------*\
    
    Posts CSS
 
    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

\*------------------------------------*/

.post-item {
  border-top: 1px solid #ddd;
  padding-top: 30px;
  margin-top: 30px;
}

.post-item:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.post-item__heading a {
  text-decoration: none;
}

.post-item .btn,
.post-item .btn-primary {
  margin-top: 30px;
}

.post-item__meta {
  font-size: 0.8em;
}

@media (min-width: 1025px) {
  .post-item {
    padding-top: 50px;
    margin-top: 50px;
  }
}

/**
 * Sidebar
 */

/* Blog Sidebar */

.blog .page-sidebar .widget {
  margin-bottom: 50px;
}

/**
* FX Load More
*/

/* Load More Progress Bar */
.load-more__progress {
  margin-top: 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 10px;
  border: 0;
  border-radius: 0;
  min-width: 250px;
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
  height: 10px;
  border: 0;
  border-radius: 0;
}
progress::-webkit-progress-bar {
  background-color: #ddd;
}
progress::-webkit-progress-value {
  background-color: #4a4a4a;
}

/* Loading Indicator */
.is-loading:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 50px;
  height: 50px;
  border: 5px solid;
  border-color: #e3e3e3 #e3e3e3 transparent;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-animation: simpleSpin 1.5s linear infinite;
  animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more__btn {
  border: 0;
  display: block;
  margin-top: 20px;
}

.load-more__btn.is-loading {
  position: relative;
  opacity: 0.6;
  cursor: not-allowed;
}

.load-more__btn.is-loading:before {
  width: 20px;
  height: 20px;
}

.load-more__btn.is-disabled {
  cursor: not-allowed;
  background-color: #4a4a4a;
}

/* Placeholder Space */
.placeholder-block {
  position: relative;
  display: flex;
}

.placeholder-block__inner {
  flex-grow: 1;
  background-color: #fafafa;
}

.placeholder-block.is-loading:before {
  width: 50px;
  height: 50px;
}

@-webkit-keyframes simpleSpin {
  0% {
    -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
    transform: translate(-50%, -50%) rotateZ(0deg);
  }

  100% {
    -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
    transform: translate(-50%, -50%) rotateZ(360deg);
  }
}

@keyframes simpleSpin {
  0% {
    -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
    transform: translate(-50%, -50%) rotateZ(0deg);
  }

  100% {
    -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
    transform: translate(-50%, -50%) rotateZ(360deg);
  }
}

/* Single Post Pagination */
.post-pagination {
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.btn-post-pagination {
  background: #dadada;
  font-size: 15px;
  padding: 10px 20px;
  color: #747474;
  position: relative;
}

.post-pagination-text {
  display: none;
}

.btn-post-pagination:hover {
  background: #ebebeb;
}

.btn-post-pagination strong {
  display: block;
  font-size: 12px;
}

.btn-previous-post,
.btn-next-post {
  max-width: 48%;
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.btn-previous-post {
  padding-left: 40px;
}

.btn-next-post {
  padding-right: 40px;
}

.mobile-arrow:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #747474;
}

.mobile-arrow {
  position: absolute;
}

.btn-previous-post .mobile-arrow {
  left: 19px;
}

.btn-next-post .mobile-arrow {
  right: 19px;
}

.btn-previous-post .mobile-arrow:after {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .post-pagination-text {
    display: block;
  }

  .btn-previous-post,
  .btn-next-post {
    text-align: inherit;
  }
}

/* Search Results */
.search-result {
  text-decoration: none;
}

.search-result__title {
  margin-bottom: 0px;
  font-size: 50px;
}

.search-result__excerpt {
  margin-bottom: 20px;
}

.blog-listing__pagination {
  text-align: center;
}

.blog-listing__pagination button {
  margin-left: auto;
  margin-right: auto;
}

/**
 * Blog page
 */
.blog-post__img-container.is-placeholder {
  background: linear-gradient(
    to bottom,
    rgba(0, 89, 156, 1) 0%,
    rgba(0, 59, 108, 1) 100%
  );
}

.blog-post__img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.blog-post__img-container img:hover {
  opacity: 0.8;
  transition: opacity 0.75s ease;
}

.blog-post__img-container.is-placeholder img {
  margin: 0 auto;
  width: 50%;
  object-fit: contain;
  object-position: center center;
}

.blog-post__item {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(39, 59, 145, 0.25);
  transition: box-shadow 0.3s var(--easing-standard);
}

.blog-post__title__link {
  text-decoration: none;
}

.blog-post__link {
  text-decoration: none;
}

a.blog-post__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

div.blog-post__link {
  margin-top: auto;
  font-weight: 700;
}

.blog-post__meta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  position: relative;
  z-index: 1;
  /* margin-top: -20px; */
  padding: 20px;
  background-color: #fff;
}

.blog-post__title {
  margin-top: 0;
}

.post-item__meta {
  margin: 10px 0;
}

.fx-wysiwyg-content {
  padding: 40px 0;
}

.fx-wysiwyg-content > .section-padding:first-child {
  padding-top: 0;
}

.fx-wysiwyg-content > .section-padding:last-child {
  padding-bottom: 0;
}

.post-item__figure {
  margin-bottom: 0;
  height: 210px;
  overflow: hidden;
}

.t-title {
  font-size: 28px;
}

/**
 * Sidebar
 */
.page-sidebar .widget {
  margin-top: 25px;
  margin-bottom: 25px;
}

.page-sidebar .widget .container {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.post-listing-container .page-sidebar .widget {
  margin-bottom: 0;
}

.page-sidebar .widget h3,
h2 {
  margin-top: 0;
  padding-top: 0;
}

.page-sidebar .widget .choices {
  margin-bottom: 0;
}

.widget a {
  display: inline;
}

.widget h2 {
  font-size: 32px;
}

@media (min-width: 1024px) {
  .page-sidebar .widget:first-child {
    margin-top: 0;
  }
}

/**
 * Widget search form
 */
.widget .search-form {
  display: flex;
  align-items: center;
}

.search-form__fields {
  display: flex;
  align-items: center;
}

.widget .search-form__input {
  flex: 1;
  border-radius: 6px;
  padding: 15px;
  height: 47px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  color: #273b91;
  background-color: #fff;
  border: 1px solid #dee1ef;
  margin-right: 10px;
}

.widget .search-form__button {
  height: 47px;
  border-radius: 0;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  box-shadow: none;
  font-size: 16px;
  color: #000;
  background: #fdfd19;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -15px;
}

/**
 * Widget category list
 */

.widget .choices__inner {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background-color: #f9f9f9;
  padding: 7.5px 7.5px 3.75px;
  border: 1px solid #dddddd;
  border-radius: 2.5px;
  font-size: 14px;
  min-height: 44px;
  overflow: hidden;
}

.widget .is-open .choices__inner {
  border-radius: 0;
}

.widget .choices__list--single .choices__item {
  text-transform: none;
}

.widget p {
  margin: 0;
}

.push-bottom p {
  font-size: 16px;
}

.testimonial-listing .blog-post__item {
  box-shadow: none;
}

.testimonial-listing .blog-post__meta {
  height: 100%;
  box-shadow: 0 0 10px rgba(39, 59, 145, 0.25);
}

.blog-single-container .btn-post-pagination {
  text-decoration: none;
}

.blog-post__link .btn-tertiary::before {
  display: none;
}

ul li.social-share-row__item:before {
  display: none;
}

.blog-single-container .social-share-row__item {
  padding-left: 10px;
}

.blog-single-container .resp-sharing-button__link {
  margin: 0;
}

.single-share {
  line-height: 1.2;
  margin-bottom: 10px;
  margin-top: 40px;
}

.blog-single-container figure img {
  width: 1200px !important;
  height: auto !important;
}

.search-result__link {
  margin-bottom: 50px;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-container input[type="text"] {
  flex: 1;
  padding-right: 40px;
}

.search-container button {
  margin-left: -40px;
  border: none;
  background: none;
  cursor: pointer;
}

button .icon-search {
  font-size: 20px;
}
