/* SWIPER START */
.swiper-container {
  width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
  background-color: rgba(0, 0, 0, 0.35);
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: white;
  border: 1px solid black;
}

.swiper-scrollbar-drag {
  background: white;
  border: 1px solid black;
}
/* SWIPER END */

/* CONTAFEED TEMPLATE START */
.mod_ContaFeed {
  padding-bottom: 50px;
}

.contafeed-hidden-loader {
  display: none !important;
}

.contafeed {
  margin: 25px auto;
  width: 60%;
}

.contafeed-loader {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: auto;
  margin-top: 50px;
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 6px;
  font-size: 14pt;
  color: white;
}

.contafeed-instagram-loader {
  background-color: #f14833;
}

.contafeed-facebook-loader {
  background-color: #4267b2;
}

.contafeed-loader svg {
  width: 40px;
  animation: contafeed-loading-spin 1s linear infinite;
}

@keyframes contafeed-loading-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes contafeed-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.swiper-slide img {
  cursor: pointer;
}

.contafeed-error-message {
  margin: 25px auto;
  display: flex;
  flex-direction: row;
  width: 400px;
  justify-content: center;
  background: lightblue;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 16pt;
  gap: 10px;
}

.contafeed-error-message svg {
  width: 40px;
}

.button-show-more {
  top: 100%;
  position: absolute;
  left: 43%;
}

/* CONTAFEED TEMPLATE END */

/* CONTAFEED ELEMENT START */

.single-post {
  display: flex;
  justify-content: center;
}

.contafeed-element {
  width: 31%;
  margin-bottom: 20px;
  border: 1px solid lightgray;
  border-radius: 5px;
  padding: 10px;
  margin: 5px;
  background-color: white;
}

@media only screen and (max-width: 1250px) {
  .contafeed-element {
    width: 100%;
  }
}

.contafeed-element img {
  max-width: 100%;
  height: auto;
}

.contafeed-image-caption {
  margin-top: 10px;
}

.contafeed-element-video {
  margin-top: 10px;
  max-width: 100%;
  height: auto;
}

.contafeed-profile-info {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.contafeed-profile-timestamp {
  display: flex;
  gap: 10px;
  font-size: 10pt;
  width: 100%;
  justify-content: space-between;
}

.contafeed-profile-picture {
  width: 40px;
  border-radius: 50%;
}

.contafeed-profile-name {
  color: black;
  align-self: center;
  font-weight: bolder;
  text-decoration: none;
}

.contafeed-timestamp {
  align-self: flex-end;
}

.contafeed-image-caption {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.contafeed-feed-link {
  font-size: 11pt;
}

.contafeed-element-caption {
  word-wrap: break-word;
  margin-top: 10px;
  font-size: 10pt;
  max-width: fit-content;
}

.contafeed-element-caption a {
  color: #c11803;
}

.contafeed-likes-comments {
  font-size: 11pt;
  display: flex;
  gap: 10px;
  justify-content: center;
  border-top: 1px solid #d3d3d3;
  border-bottom: 1px solid #d3d3d3;
  padding: 5px;
  margin-bottom: 10px;
  margin-top: 10px;
  align-items: center;
}
.contafeed-likes-comments div {
  padding-top: 1px;
  margin-left: -5px;
  font-weight: bold;
}

.contafeed-element-likes-icon {
  width: 15px;
}

.contafeed-element-comments-icon {
  width: 15px;
}
.contafeed-show-feed-button {
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 5px;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
}

.contafeed-instagram .contafeed-show-feed-button {
  background-color: #cf1800;
  color: white !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
}

.contafeed-instagram .contafeed-show-feed-button:hover {
  background-color: #ff1c00;
}

.contafeed-facebook .contafeed-show-feed-button {
  background-color: #4267b2;
  color: white !important;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
}

.contafeed-facebook .contafeed-show-feed-button:hover {
  background-color: #1257e0;
}

.contafeed .button-show-more {
  border: none;
  color: white;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 14pt;
  margin-top: -15px;
}

.contafeed-instagram .button-show-more {
  background-color: #c91600;
}

.contafeed-instagram .button-show-more:hover {
  background-color: #cd1700;
}

.contafeed-facebook .button-show-more {
  background-color: #4267b2;
}

.contafeed-facebook .button-show-more:hover {
  background-color: #1257e0;
}

/* CONTAFEED ELEMENT END */
