/* Section Banner Top */
.section-banner-top {
  height: 60px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  color: white;
}
.icon-header {
  height: 100%;
  width: 12%;
  align-items: stretch;
  padding: 10px;
  justify-content: center;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.icon-header img {
  height: 100%;
  width: auto;
}
.type-change {
  height: 100%;
  width: 40%;
  background-image: url("../imagenes/header-1.png");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  font-size: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  line-height: 1.3em;
  font-weight: bold;
}
.type-change p {
  padding: 0% 0% 0% 10%;
}
.price-dollar {
  height: 100%;
  width: 48%;
  background-color: #a1d1d6;
  text-align: center;
  background-image: url("../imagenes/header-2.png");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  font-size: 13px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
/* section-image */
.section-image {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: right;
  /* border-bottom: 1px solid #c0c0c0; */
  padding: 10px 50px 10px 60px;
}
.section-image img {
  height: auto;
  max-width: 100%;
  margin: auto;
}

/* section portals */
.section-portals {
  height: 254px;
  width: 100%;
  gap: 10px;
  padding-bottom: 60px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 1px solid #c0c0c0;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}
.type-portals {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #f4f4f4;
  align-items: stretch;
  align-items: center;
  padding-left: 20px;
  height: 57px;
}
:hover.type-portals {
  background-color: #ededed;
}
.portal-text{
    color :#000000;
}
.portal-link-contribuyente,
.portal-link-funcionario {
  width: 57px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 57px;
  transition: color 0.2s, background-color 0.2s;
}
.portal-link-contribuyente {
  background-color: #d00606;
  color: white;
}

.portal-link-funcionario {
  background-color: #dedede;
  color: #d00606;
}
:hover.portal-link-funcionario {
  background-color: #69727d;
  cursor: pointer;
}
:hover.portal-link-contribuyente {
  background-color: #69727d;
  cursor: pointer;
}
/* section content */

.section-content {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;
  padding-top: 20px;
  border-bottom: 1px solid #c0c0c0;
}
.section-content h2 {
  color: #54595f;
}

.tabs-container {
  width: 100%;
}

.tab-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button {
  background: none;
  border: none;
  padding: 10px 15px;
  margin-right: 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  color: #999;
  transition: color 0.3s;
  position: relative;
  flex: 0 1 auto;
  white-space: normal;
  text-align: left;
  min-width: 80px;
  font-family: 'Montserrat';
}

.tab-button.active {
  color: #d9534f;
  font-weight: bold;
  background-color: white;
  border-top: 2px solid #ccc !important;
  border-right: 1px solid #ccc !important;
  border-bottom: 1px solid white !important;
  border-top-right-radius: 10px;
  z-index: 3;
}

.tab-button.active::after {
  content: none;
}

.tab-content {
  display: none;
  padding-top: 5px;
  line-height: 1.6;
  color: #555;
  font-size: 1rem;
}

.tab-content.active {
  display: block;
}

/* section info interest */
.section-info-interest {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;
  padding-top: 20px;
}
.flyers {
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-start;
  align-content: stretch;
  align-items: start;
}
.flyers-pdf {
  height: auto;
  width: 50px;
  margin: auto;
}
.flyers-text {
  height: auto;
  width: auto;
  margin: auto;
}

.document-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-item {
  border-bottom: 1px solid #eee;
}

.document-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #555;
  padding: 15px 0;
  transition: color 0.2s, background-color 0.2s;
}

.document-link:hover {
  color: #d9534f;
}

.document-icon {
  flex-shrink: 0;
  margin-right: 15px;
  width: 50px;
  height: 50px;
}

.document-icon svg {
  width: 100%;
  height: 100%;
  fill: #ccc;
  transition: fill 0.2s;
}

.document-name {
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #a0a0a0;
  transition: color 0.2s;
}
.document-link:hover .document-icon svg {
  fill: #d9534f;
}
.document-link:hover .document-name {
  color: #54595f;
}
/* section contact */
.section-contact {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;
  padding-top: 20px;
}
.general-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.general-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
  transition: color 0.2s, background-color 0.2s, transform 0.08s;
}

.general-link:hover {
  color: #d9534f;
  cursor: pointer;
  transform: translateY(-2px);
}

.general-link:hover .general-icon {
  color: #d9534f;
}

.general-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 30px;
  font-size: 1.4rem;
  color: #ccc;
  transition: color 0.2s, transform 0.12s;
}
.general-icon i {
  font-size: 30px;
}
.general-info {
  font-size: 1rem;
  line-height: 1.4;
  color: #555;
  margin: 0;
  transition: color 0.2s;
}
.section-contact h3 {
  font-size: 15px;
  font-weight: 400;
  color: #d9534f;
}
.general-item:hover .general-icon i,
.general-item:hover .general-info {
  color: #54595f;
}
/* section footer */

.section-footer {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 40px;
}
.youtube i {
  color: #d00606;
  font-size: 30px;
}
.youtube {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Link wrapper for youtube block */
.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s, transform 0.08s;
}
.youtube-link i {
  color: #d00606;
  transition: color 0.2s;
  font-size: 30px;
}
.youtube-link:hover {
  color: #d9534f;
  transform: translateY(-2px);
}
.youtube-link:hover i {
  color: #d9534f;
}

.instagram-item:hover .general-icon i {
  color: #d00606;
  cursor: pointer;
}
.instagram-item:hover .general-info {
  cursor: pointer;
}
.instagram-item {
  display: flex;
  align-items: center;
}
.instagram-icon i {
  color: #ccc;
  transition: color 0.2s;
}

/*line division*/
.line-division {
  width: 25%;
  border-top: 1px solid #dedede;
}
.line-division-large {
  width: 90%;
  padding-left: 50px;
  padding-right: 50px;
  border: 1px solid #dedede;
  margin: 0 auto;
}
.line-division-full {
  width: 100%;
  border: 1px solid #dedede;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .section-image img {
    height: auto;
    max-width: 100%;
    margin: auto;
  }
}
