.owl-stage-outer {
  padding-bottom: 10px;
}

.sardine-featured {
  display: inline-block;
  align-self: flex-end;
  margin-bottom: 10px;
  color: white !important;
}

.sardine-featured .title-carrier {
  color: white !important;
}

.sardine-container-description {
  align-self: flex-start;
  font-weight: 600;
  font-size: 16px;
  position: absolute;
  margin-left: -30px;
  margin-top: -30px;
  color: white;
}

.sardine-container {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  gap: 20px;
  padding: 0px;
  margin-top: 10px;
  min-height: fit-content;
}

.sardine-container2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  width: 100%;
}

.item1 {
  flex: 2;
  border-radius: 8px;
  padding: 50px;
  display: flex;
  width: 100%;
  box-shadow: inset 0px -200px 100px -10px rgb(22 22 22 / 90%);
  align-items: end;
  background-size: cover;
}

.item1 h2 a {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  line-height: 41px;
}

.item1 h6 {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
}

.item3 {
  flex: 2;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sub-header {
  max-width: 100vw;
  padding: 0px;
}

.hr-sardine-box {
  border-left: 1px solid #e7e7e7;
  height: calc(100% - 15px);
}

.box1 {
  flex: 1;
}

.box2 {
  flex: 1;
  padding-left: 10px;
}

.box-container {
  display: flex;
  flex: 1;
}

.item3-header {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.item3-header svg {
  margin-left: 10px;
  margin-top: -15px;
}

.item3 h2 {
  font-weight: 600;
  font-size: 16px;
}

.item3 h3 {
  font-weight: 600;
  font-size: 12px;
  line-height: 23px;
  color: #878687;
  text-align: center;
}

.sardine-tools-container {
  background: #8b0202;
  border-radius: 8px;
  margin-top: 20px;
  height: 120px;
  display: flex;
  padding: 20px;
  align-items: center;
  padding: 0px 50px;
}

@media screen and (max-width: 1370px) {
  .sardine-tools-container {
    display: none;
  }
}

.sardine-tools-container a {
  color: white;
}

.tool-container2 div {
  display: flex;
  flex: 2;
  align-items: center;
  margin-left: 70px;
}

.tool-container2 div svg {
  margin-right: 10px;
}

.tool-container1 {
  flex: 1;
}

.tool-container2 {
  flex: 2;
  flex-direction: row;
  display: flex;
}

.sardine-category-container {
  margin-top: 20px;
}

.sardine-categories {
  display: flex;
  margin-top: 20px;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sardine-categories div {
  text-align: center;
  border-radius: 12px;
  background-size: cover;
  align-items: center;
  display: flex;
  height: 70px;
  width: 170px;
}

.sardine-categories div:hover {
  transform: scale(1.02);
}

.sardine-categories div h3 {
  font-size: 10pt;
  font-weight: 600;
  line-height: 26px;
  color: #ffffff;
  margin-bottom: 0px;
}

.sardine-categories div a {
  margin: auto;
}

/* Sardine News Categories */

.news-categories {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.news-categories .first-category,
.news-categories .second-category,
.news-categories .third-category {
  flex: 1;
  border-radius: 20px;
  background-size: cover;
  align-items: center;
}

.news-categories .first-category .first-feature,
.news-categories .second-category .second-feature,
.news-categories .third-category .third-feature {
  height: 350px;
  box-shadow: inset 0px -200px 100px -10px rgb(22 22 22 / 90%);
  border-radius: 8px;
  flex: 1;
  margin-top: 10px;
  min-width: 200px;
  display: flex;
  padding: 30px;
  background-size: cover;

  min-width: 250px;
}

.other-topics-first-feature,
.other-topics-second-feature,
.other-topics-third-feature {
  display: flex;
  gap: 20px;
  flex-direction: column;
  margin-top: 20px;
}

.other-topics-first-feature div,
.other-topics-second-feature div,
.other-topics-third-feature div {
  height: 120px;
}

.other-topics-first-feature div {
  border-left: #008f4f solid 5px;
}

.other-topics-second-feature div {
  border-left: #c52f33 solid 5px;
}

.other-topics-third-feature div {
  border-left: #f5b635 solid 5px;
}

.news-categories-description {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  line-height: 25px;
}

.news-categories-description h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-categories-description button {
  margin-bottom: 10px;
}

.category-first {
  background-color: #008f4f;
}

.category-second {
  background-color: #8b0202;
}

.category-third {
  background-color: #f5b635;
}

.other-topics-first-feature h4,
.other-topics-second-feature h4,
.other-topics-third-feature h4 {
  color: #282929;
  font-weight: 600;
  font-size: 17px;
  padding-left: 20px;
  padding-top: 20px;
}

.other-topics-first-feature h5,
.other-topics-second-feature h5,
.other-topics-third-feature h5 {
  color: #878687;
  font-size: 14px;
  padding-left: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.first-topic:hover,
.second-topic:hover,
.third-topic:hover {
  border-left: hsl(0deg 0% 100% / 15%) solid 5px;
  transition-delay: 250ms;
  transition-property: color;
}

.sardine-news-button-div button {
  height: 60px;
  width: 480px;
  border-radius: 8px;
  text-align: center;
  margin: 30px auto;
  background: #8b0202;
  color: white;
  font-size: 20px;
  font-weight: 700;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  border: none;
}

.sardine-news-button-div button:hover {
  background-color: #878687;
  color: #ffffff;
  cursor: pointer;
}

.sardine-news-button-div {
  display: flex;
}

.sardine-news-button-div button {
  transition: background-color 0.3s ease;
}

/* the video slider */

.slider {
  display: flex;
}

.slider .sardine-news-card {
  flex: 1;
  margin: 0 10px;
  background: #fff;
  box-shadow: 0px 0px 10.9422px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  height: 340px;
  transition: ease-in-out 0.3s;
}

.slider .sardine-news-card:hover {
  box-shadow: 0px 0px 10.9422px rgba(0, 0, 0, 0.5);
}

/* when smaller then 1200px height is 200 */
@media screen and (max-width: 1200px) {
  .slider .sardine-news-card {
    height: 260px;
  }
}

.slider .sardine-news-card img {
  border-radius: 8px 8px 0px 0px;
  object-fit: cover;
  aspect-ratio: 16/9;
  height: 141px;
}

.slider .sardine-news-card .content {
  padding: 10px 10px;
}

.sardine-news-card .content .sub-title {
  font-size: 15px;
  font-weight: 600;
  color: #282929;
  text-transform: uppercase;
}

.video-sardine-container h2 {
  line-height: 30px;
  font-weight: 600;
  font-size: 25px;
  color: #8e2929;
  margin-bottom: 10px;
}

/* sardine-empresas-irpf.php */

.sardine-empresas-irpf-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0px auto;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 70vw;
}

.sardine-analise-de-empresas {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.sardine-irpf {
  flex: 1;
}

.sardine-irpf .sardine-irpf-sub-container {
  height: 500px;
  background-size: contain;
  box-shadow: inset 0px -200px 100px -10px rgb(22 22 22 / 90%);
  border-radius: 8px;
  flex: 1;
  display: flex;
  padding: 50px;
  margin-top: 30px;
  align-items: end;
}

.sardine-analise-de-empresas button {
  height: 60px;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  margin: 0px auto;
  background: #8b0202;
  color: white;
  font-size: 20px;
  font-weight: 700;
  border: none;
}

.sardine-analise-de-empresas button:hover {
  background-color: #878687;
  color: #ffffff;
  cursor: pointer;
}

.sardine-empresas-irpf-container h2 {
  line-height: 30px;
  font-weight: 600;
  font-size: 25px;
  color: #8e2929;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sardine-irpf-sub-container h2 a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.sardine-tag-button-irpf {
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  width: 150px;
  height: 40px;
  border-radius: 37px;
  background-color: #008f4f;
  font-weight: 700;
  font-size: 13px;
}

.sardine-irpf h6 {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.sardine-analise-de-empresas img {
  width: 50px;
}

.sardine-analise-green {
  background: linear-gradient(
      0deg,
      rgba(47, 70, 18, 0.75),
      rgba(47, 70, 18, 0.75)
    ),
    url(https://images.pexels.com/photos/4386366/pexels-photo-4386366.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
  display: flex;
  border-radius: 8px;
  height: 130px;
  align-items: center;
  padding: 0px 30px;
  flex: 1;
  min-height: 90px;
}

.sardine-analise-red {
  background: linear-gradient(0deg, rgba(79, 0, 0, 0.75), rgba(79, 0, 0, 0.75)),
    url(https://images.pexels.com/photos/4386366/pexels-photo-4386366.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
  display: flex;
  border-radius: 8px;
  height: 130px;
  align-items: center;
  padding: 0px 30px;
  flex: 1;
  min-height: 90px;
}

.sardine-analise-blue {
  background: linear-gradient(
      0deg,
      rgba(20, 20, 20, 0.75),
      rgba(20, 20, 20, 0.75)
    ),
    url(https://images.pexels.com/photos/4386366/pexels-photo-4386366.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
  display: flex;
  border-radius: 8px;
  height: 130px;
  align-items: center;
  padding: 0px 30px;
  flex: 1;
  min-height: 90px;
}

.sardine-analise-text {
  display: flex;
  flex-direction: column;
  color: white;
  margin-left: 30px;
  padding: 30px 0px;
}

.sardine-analise-text h4 {
  font-size: 15px;
  line-height: 0;
}

.sardine-analise-text h2 {
  font-size: 20px;
  color: white;
}

.slider-feature {
  flex: 2;
  display: flex;
  overflow: hidden;
  min-width: 500px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .slider-feature {
    min-width: 100%;

    height: 350px;
  }
}

@media screen and (max-width: 1000px) {
  .sardine-footer-descript {
    flex-wrap: wrap;
  }

  .sardine-footer {
    height: auto;
  }

  .sardine-footer-descript div {
    justify-content: center;
    display: flex;
    width: 100%;
  }

  .sardine-footer-descript div p {
    margin-top: 30px;
    text-align: center;
  }
}

/* sardine feature slider */

.mySlides {
  display: none;
}

img {
  vertical-align: middle;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  top: 50%;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

/* Caption text */

/* Number text (1/3 etc) */

.sardine-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1100px) {
  .sardine-dots {
    margin-top: 270px;
  }
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot:hover {
  background-color: #878687;
}

.sardine-dots .active {
  background-color: #8b0202 !important;
  /* Or any color to indicate active state */
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.95;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.95;
  }

  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev,
  .next {
    font-size: 11px;
  }
}

/* sardine header*/

.sardine-header {
  display: flex;
  align-items: center;
  height: 80px;
  background-color: #ffffff;
  gap: 40px;

  margin-top: 10px;
}

.sardine-header-first {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}

.sardine-home-profile-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.sardine-home-profile-menu a {
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  color: #878687 !important;
}

.sardine-home-profile-menu a,
.sardine-home-profile-menu button {
  margin-left: 20px;
}

.sardine-component {
  max-width: 90vw;
  margin: 10px auto;
}

@media (max-width: 550px) {
  .sardine-category-container {
    display: none;
  }
}

@media (min-width: 1000px) {
  .item3 {
    min-width: 320px;
  }
}

@media (min-width: 1500px) {
  .sardine-component {
    max-width: 1300px;
  }

  .sardine-empresas-irpf-container {
    max-width: 1100px;
  }
}

.sardine-irpf-sub-container:hover {
  background-size: 102%;
  transform: scale(1.02);
}

.priceDif {
  font-size: 11px;
}

.ticker-red {
  color: #ed3237;
}

.ticker-green {
  color: #8fc74a;
}

.ranking-element {
  display: flex;
}

.ranking-descript {
  display: flex;
  flex-direction: column;
  margin-left: 5px;
}

.ranking-descript h3 {
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  line-height: 15px;
  color: black;
}

.ranking-descript h5 {
  font-size: 10px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ranking-element span {
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  flex: 1;
  color: #878687;
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.ranking-element span p {
  flex: 1;
  margin-bottom: 0px;
}

.ranking-hr {
  width: 90%;
  border: 1.09422px solid #f4f4f4;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Sardine news blog page  first container*/

.mt-20 {
  margin-top: 20px;
}

.main-h2 {
  font-weight: 600;
  font-size: 20pt;
  text-transform: uppercase;
  color: #878687;
}

footer,
header,
main,
nav {
  display: block;
}

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

.sardine-analise-text a {
  color: white;
}

/* if media isn't mobile then sardine-container should have a height */
@media screen and (min-width: 1080px) {
  .sardine-container {
    height: 576px;
  }
}
