/*
================================================================================
MODULES
================================================================================
*/


/* Base Styles
-------------------------------------------------------------------------------- */
.module-title:empty {
  display: none;
}

.module-content::after {
  content: "";
  display: block;
  clear: both;
}


/* News List Module
-------------------------------------------------------------------------------- */
.module-news-list {
  position: relative;
  display: grid;
  margin-bottom: 30px;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* tablets */
@media (min-width: 576px) and (max-width: 768px) {
  .module-news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* desktops */
@media (min-width: 768px) {
  .module-news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.module-news-list-item {
  position: relative;
}

.module-news-list-item-image {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  box-shadow: inset 0 0 1px, inset 0 0 0 200px rgba(255, 255, 255, 0.2);
  aspect-ratio: 3 / 2;
}

.module-news-list-item-image a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.module-news-list-item-image img {
  transition: all 150ms;
}

.module-news-list-item:hover .module-news-list-item-image img {
  transform: scale(1.025);
}

.module-news-list-item-title {
  font-size: 120%;
}

.module-news-list-item-title a {
  text-decoration: none;
}

.module-news-list-item-date {
  margin-bottom: 15px;
  font-size: 14px;
  opacity: 0.6;
}

.module-news-list-item-teaser {
  display: -webkit-box;
  /* "em" works better here than "px" */
  max-height: 4.5em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.module-news-list-item-categories {
  margin-bottom: 15px;
}


/* Image List Module
-------------------------------------------------------------------------------- */
.mod-image-list-default a {
  display: block;
  height: 100%;
}


/* Slider Module
-------------------------------------------------------------------------------- */
.claro {
  height: 100%;
}

.pagerContainer {
  border-radius: 0 !important;
}

.pagerItem > div {
  padding: 0 !important;
}

.pagerItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* vertically center in a slider */
.pagerItem blockquote {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .pagerItem blockquote {
    font-size: 100%;
  }
}

.pagerItem blockquote::before {
  left: 30px;
}

/*
-------------------
Prev / Next Arrows
-------------------
*/
.horizontalPagerPager {
  z-index: 1;
  height: auto !important;
}

.pagerIconContainer {
  top: 50%;
  transform: translateY(-50%);
  height: auto !important;
  padding: 10px;
  font-family: "FontAwesome";
  line-height: normal;
  cursor: pointer;
  /* ensure the arrow is visible regardless of dark or light background */
  background-color: currentColor;
  border: 1px solid #fff;
  border-radius: 3px;
  opacity: 0.7;
}

.pagerIconContainer:hover {
  opacity: 1;
}

/* Previous */
[dojoattachpoint="pagerPrevious"] {
  left: 5px !important;
}

[dojoattachpoint="pagerPrevious"]::before {
  content: "\f104";
  filter: invert(1) contrast(6);
}

/* Next */
[dojoattachpoint="pagerNext"] {
  right: 5px !important;
}

[dojoattachpoint="pagerNext"]::before {
  content: "\f105";
  filter: invert(1) contrast(5);
}

.pagerIconContainer img {
  display: none;
}

/*
-------------------
Dots
-------------------
*/
.horizontalPagerStatus {
  z-index: 2;
  height: auto !important;
  padding: 0 !important;
  text-align: center;
}

.horizontalPagerStatus img {
  width: 10px;
  margin: 0 2px;
}


/* Testimonials
-------------------------------------------------------------------------------- */
.module-showcase-testimonials-001 {
  text-align: center;
}

.module-showcase-testimonial {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}


/* RSS Reader
-------------------------------------------------------------------------------- */
.rss-feeder {
  padding: 0;
}