.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

abbr[data-original-title],
abbr[title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

#secondary .widget .widget-title:before,
.bg-primary,
.title.title-1:before {
  background-color: #9c1006;
}

#secondary .widget .widget-title:after,
#secondary .widget .widget-title:before,
.title.title-1:after,
.title.title-1:before {
  content: "";
}

#secondary .widget .widget-title:before,
.title.title-1:before {
  margin: 0 0 4px;
  height: 5px;
  width: 60px;
  display: block;
  clear: both;
}

#secondary .widget .widget-title:after,
.title.title-1:after {
  padding-top: 6px;
  border-color: currentcolor rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#secondary .widget .widget-title:before,
.bg-primary,
.title.title-1:before {
  background-color: #9c1006 !important;
}

#secondary .widget a.widget-title:focus:before,
#secondary .widget a.widget-title:hover:before,
#secondary .widget button.widget-title:focus:before,
#secondary .widget button.widget-title:hover:before,
a.bg-primary:focus,
a.bg-primary:hover,
a.title.title-1:focus:before,
a.title.title-1:hover:before,
button.bg-primary:focus,
button.bg-primary:hover,
button.title.title-1:focus:before,
button.title.title-1:hover:before {
  background-color: #9c1006 !important;
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
}

.nav-tabs .nav-link.disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: transparent;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}

.nav-link:focus,
.nav-link:hover {
  text-decoration: none;
}

.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}

.nav-pills .nav-link {
  border-radius: 0.25rem;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #9c1006;
}

.navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.navbar-expand-xl .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.navbar-expand .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.5);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(0, 0, 0, 0.7);
}

.navbar-light .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-dark .navbar-nav .nav-link {
  color: hsla(0, 0%, 100%, 0.5);
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: hsla(0, 0%, 100%, 0.75);
}

.navbar-dark .navbar-nav .nav-link.disabled {
  color: hsla(0, 0%, 100%, 0.25);
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
  color: #fff;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
  background-color: #9c1006;
  border-color: #9c1006;
  color: #fff;
}


/* sardine-empresas-irpf.php */

@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 */

img {
  vertical-align: middle;
}

/* Next & previous buttons */

/* Position the "next button" to the right */

/* On hover, add a black background color with a little bit see-through */

/* Caption text */

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

/* The dots/bullets/indicators */

/* 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.8;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.8;
  }

  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */

/* 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 (min-width: 1500px) {
  .sardine-component {
    max-width: 1300px;
  }
}

.priceDif {
  font-size: 11px;
}

.ticker-red {
  color: #ed3237;
}

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

/* Sardine news blog page  first container*/

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

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

#empresas-panel {
  display: none;
}

.tab-content .pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-weight: 500;
}

.tab-content .pagination a{
  color: black;
}


.tab-content .pagination .current {
  color: #8b0202;
  font-weight: 600;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}