@charset "UTF-8";
@import url("../styles.css");
header {
  background: #008F36;
  align-content: center;
  height: 80px;
  position: fixed;
  width: 100%;
  z-index: 1;
}
header .content {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 20px;
}
header .content a {
  display: grid;
}
header .content a img {
  width: 100%;
}
header .content span {
  border-left: 1px solid rgba(236, 235, 236, 0.5);
  padding: 0 20px;
  align-content: center;
  display: grid;
  grid-template-columns: auto 1fr;
  cursor: pointer;
  margin: 0;
  font-size: 14px;
  color: white;
}
header .content nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 14px;
  align-items: center;
}
header .content nav li {
  position: relative;
}
header .content nav li a {
  align-content: center;
  font-size: 15px;
}
header .content nav li a p {
  color: white;
  margin: 0 12px;
  align-content: center;
}
header .content nav li a img {
  width: 24px;
  filter: invert(1);
}
header .content nav li a.login {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 0 0 0 20px;
  border-left: 1px solid rgba(236, 235, 236, 0.5);
  margin: 0;
}
header .content nav li a.login p {
  margin: 0;
  color: white;
}
header .content nav li a.btn {
  padding: 8px 20px;
  background: white;
  border-radius: 20px;
  color: royalblue;
}

.search {
  background: #008F36;
  padding: 120px 0;
}
.search .content {
  width: max-content;
}
.search .content h2 {
  font-size: 38px;
  margin: 10px 0;
  color: beige;
  display: grid;
  grid-template-columns: 48px auto;
  gap: 20px;
  align-items: center;
}
.search .content h2 img {
  filter: invert(1);
  width: 100%;
}
.search .content input {
  background: white;
  padding: 18px 25px;
  border-radius: 50px;
  border: none;
  outline: none;
  width: 100%;
  margin: 20px 0 0 0;
}
.search .content .item {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 60px 0;
}
.search .content .item h2 {
  grid-column-start: 1;
  grid-column-end: 4;
  margin: 0;
}
.search .content .item a {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "item-pic item-title" "item-pic item-description";
  column-gap: 20px;
  row-gap: 10px;
}
.search .content .item a img {
  margin: 0;
  grid-area: item-pic;
  grid-row-start: 1;
  grid-row-end: 1;
}
.search .content .item h4 {
  margin: 0;
  grid-area: item-title;
  color: black;
  align-content: center;
}
.search .content .item p {
  margin: 0;
  grid-area: item-description;
  color: gray;
}

.categories .content .item {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 60px 0;
}
.categories .content .item h2 {
  grid-column-start: 1;
  grid-column-end: 4;
  margin: 0;
  font-size: 24px;
}
.categories .content .item a {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "item-pic item-title" "item-pic item-description";
  column-gap: 20px;
  row-gap: 10px;
}
.categories .content .item a img {
  margin: 0;
  grid-area: item-pic;
  grid-row-start: 1;
  grid-row-end: 1;
  width: 100%;
}
.categories .content .item h4 {
  margin: 0;
  grid-area: item-title;
  color: black;
  align-content: center;
  font-size: 18px;
}
.categories .content .item p {
  margin: 0;
  grid-area: item-description;
  color: gray;
  font-size: 15px;
  line-height: 26px;
}

section .content {
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ddd;
  margin: 40px auto;
  display: grid;
  padding: 40px;
  grid-template-columns: 1fr 3fr;
  gap: 14px;
}

section.category .content {
  grid-template-columns: 1fr;
  padding: 0;
}
section.category .content .top {
  padding: 40px 40px 20px 40px;
  display: grid;
  grid-template-rows: repeat(4, auto);
  gap: 14px;
}
section.category .content .top img {
  width: 48px;
  justify-self: left;
}
section.category .content .top h2 {
  font-size: 24px;
  margin: 0;
}
section.category .content .top p {
  margin: 0;
  font-size: 16px;
  color: black;
  font-weight: 400;
}
section.category .content .top span {
  color: gray;
  font-size: 14px;
}
section.category .content .list {
  padding: 0;
}
section.category .content .list a {
  display: grid;
  transition: 0.5s;
  color: #333;
  padding: 14px 40px;
  font-weight: 500;
  border-top: 1px solid #eee;
  grid-template-columns: 1fr auto;
  gap: 20px;
}
section.category .content .list a .arrow {
  align-content: center;
}
section.category .content .list a .arrow span::before,
section.category .content .list a .arrow span::after {
  right: 0;
}
section.category .content .list a:hover {
  background: rgb(229, 247, 243);
  color: rgb(43, 110, 98);
}
section.category .content .list a:hover .arrow span::before,
section.category .content .list a:hover .arrow span::after {
  background-color: rgb(43, 110, 98);
}

section.result .content .list a {
  grid-template-rows: repeat(2, auto);
  grid-template-areas: "category arrow" "article arrow";
  row-gap: 8px;
}
section.result .content .list a h5 {
  grid-area: category;
  margin: 0;
}
section.result .content .list a p {
  grid-area: article;
  margin: 0;
}
section.result .content .list a .arrow {
  grid-area: arrow;
}
section.result .content .list a:last-child {
  border-radius: 0 0 10px 10px;
}

section.post .content {
  grid-template-columns: 1fr 4fr 1fr;
  margin: 0;
  background: white;
  width: 100%;
  padding: 0 40px;
  gap: 100px;
}
section.post .content .sidebar {
  height: max-content;
  position: sticky;
  top: 80px;
  padding: 40px 0;
}
section.post .content .sidebar h5 {
  margin: 0 0 10px 0;
  font-size: 13px;
  text-transform: uppercase;
  color: rgb(94, 104, 126);
  font-weight: 500;
}
section.post .content .sidebar li .top {
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  transition: 0.3s;
  margin: 5px 0 0 0;
}
section.post .content .sidebar li .top h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
section.post .content .sidebar li .top .arrow {
  text-align: center;
}
section.post .content .sidebar li:first-child {
  margin: 0 0 30px 0;
}
section.post .content .sidebar li.active .top {
  background: rgb(229, 247, 243) !important;
  color: rgb(43, 110, 98);
}
section.post .content .sidebar li:hover .top {
  background: #eee;
}
section.post .content .sidebar li.active .top .arrow span::before {
  left: 2px;
  top: 0;
  transform: rotate(-45deg);
  background-color: rgb(43, 110, 98);
}
section.post .content .sidebar li.active .top .arrow span::after {
  left: 6px;
  top: 0;
  transform: rotate(45deg);
  background-color: rgb(43, 110, 98);
}
section.post .content .sidebar .list {
  margin: 8px 0;
  display: none;
}
section.post .content .sidebar .list a {
  padding: 0 0 0 25px;
  display: grid;
  border-left: 2px solid #ddd;
  margin: 0 0 0 10px;
}
section.post .content .sidebar .list a p {
  margin: 8px 0;
  font-size: 13px;
  color: #303030;
  font-weight: 500;
}
section.post .content .sidebar .list a.active {
  border-color: rgb(43, 110, 98);
}
section.post .content .sidebar .list a.active p {
  color: rgb(43, 110, 98);
}
section.post .content .sidebar li.active .list {
  display: block;
}
section.post .content .main {
  padding: 40px 0;
}
section.post .content .main .top {
  margin: 0 0 20px 0;
}
section.post .content .main h1 {
  font-size: 38px;
}
section.post .content .main h2 {
  margin: 40px 0 0 0;
}
section.post .content .main h2.ancla {
  scroll-margin-top: 100px;
}
section.post .content .main h4 {
  margin: 10px 0;
}
section.post .content .main h2:first-child {
  margin: 0 0 10px 0;
}
section.post .content .main p {
  margin: 10px 0;
  line-height: 28px;
  font-size: 15px;
}
section.post .content .main img {
  max-width: 100%;
  place-self: center;
  margin: 0;
}
section.post .content .main a {
  color: royalblue;
  text-decoration: none;
  cursor: pointer;
}
section.post .content .main hr {
  border: 1px solid #eee;
  width: 100%;
}
section.post .content .main ul,
section.post .content .main ol,
section.post .content .main li {
  margin: 14px 0;
  font-size: 15px;
  line-height: 28px;
}
section.post .content .main alert,
section.post .content .main warning,
section.post .content .main info {
  padding: 25px 40px;
  border-radius: 10px;
  margin: 20px 0;
  display: grid;
}
section.post .content .main alert {
  background-color: #f7d8d8;
  color: #7f1d1d;
  border-color: #ff7e7e;
}
section.post .content .main alert h4 {
  background-image: url("/images/error.png");
}
section.post .content .main info {
  background-color: rgb(230, 247, 255);
  color: rgb(8, 126, 164);
  border-color: #7eb8ff;
}
section.post .content .main info::before {
  content: "📢 Informacion";
  font-weight: 500;
  margin-bottom: 20px;
}
section.post .content .main warning {
  background-color: rgb(254, 245, 231);
  color: rgb(199, 106, 21);
  border-color: #ffa502;
}
section.post .content .main warning::before {
  content: "⚠️ Advertencia";
  font-weight: 500;
  margin-bottom: 20px;
}
section.post .content .summary {
  padding: 40px 0 40px 40px;
  position: sticky;
  top: 80px;
  height: max-content;
}
section.post .content .summary h4 {
  margin: 0;
  font-size: 13px;
  text-transform: uppercase;
  color: rgb(94, 104, 126);
  font-weight: 500;
}
section.post .content .summary a {
  display: block;
  margin: 14px 0;
  font-size: 14px;
  color: #303030;
  font-weight: 400;
}
section.post .content .summary a.active {
  color: rgb(43, 110, 98);
  font-weight: 500;
}

section.post .content .sidebar li .top .arrow span,
section.category .content .list a .arrow span {
  display: inline-block;
  margin-right: 8px;
  width: 10px;
  height: 10px;
  position: relative;
  cursor: pointer;
}

section.post .content .sidebar li .top .arrow span::before,
section.post .content .sidebar li .top .arrow span::after,
section.category .content .list a .arrow span::before,
section.category .content .list a .arrow span::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 6px;
  background-color: #101010;
  top: 0;
  transition: top 0.1s ease;
}

section.post .content .sidebar li .top .arrow span::before,
section.category .content .list a .arrow span::before {
  transform: rotate(-45deg);
  top: -2px;
}

section.post .content .sidebar li .top .arrow span::after,
section.category .content .list a .arrow span::after {
  transform: rotate(45deg);
  top: 2px;
}

footer .buttons,
footer .copy {
  width: 80%;
  margin: 0 auto;
  display: grid;
}

footer {
  background: #008F36;
}
footer .content {
  padding: 80px 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
footer .content .lt {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  border-right: 1px solid rgba(236, 235, 236, 0.5);
  margin: 0 30px 0 0;
}
footer .content .lt img {
  width: 80%;
  align-self: start;
}
footer .content .lt nav {
  align-self: end;
}
footer .content .lt nav a {
  margin-right: 20px;
  float: left;
  width: auto;
  width: 100%;
  color: white;
  margin: 14px 0;
  display: block;
  font-size: 15px;
}
footer .content .lt nav a img {
  width: 24px !important;
  filter: invert(1);
}
footer .content .lt nav h4 {
  color: white;
  margin: 0;
}
footer .buttons {
  padding: 40px 0;
}
footer .buttons h2 {
  text-align: center;
  color: white;
  margin: 0 0 40px 0;
  font-weight: 400;
}
footer .buttons h2 strong {
  position: relative;
  color: white;
}
footer .buttons h2 strong svg {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
}
footer .buttons .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}
footer .buttons .items a {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 20px;
}
footer .buttons .items a img {
  filter: invert(1);
  width: 48px;
}
footer .buttons .items a p {
  margin: 0;
  font-size: 24px;
  color: #fff;
  font-weight: 500;
}
footer .copy {
  text-align: center;
  font-size: 14px;
  color: white;
  padding: 40px 0;
  display: block;
}
footer .copy a {
  color: white;
}

@media (max-width: 768px) {
  .content,
  .search .content {
    width: 90%;
  }
  .categories .content .item {
    display: flex;
    flex-direction: column;
  }
  header {
    height: auto;
  }
  header .content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    justify-items: center;
    padding: 20px 0;
  }
  header .content a img {
    width: 210px;
  }
  header .content span {
    display: none;
  }
  header .content nav {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  header .content nav li:first-child {
    display: none;
  }
  header .content nav li a.login {
    border-left: none !important;
  }
  .search {
    padding: 160px 0 120px 0;
  }
  section.post .content {
    grid-template-columns: 1fr;
    grid-template-areas: "post-main" "post-sidebar";
    gap: 0;
  }
  section.post .content .sidebar {
    grid-area: post-sidebar;
  }
  section.post .content .main {
    grid-area: post-main;
  }
  section.post .content .summary {
    display: none;
  }
  footer .buttons .items {
    grid-template-columns: 1fr;
    margin: 40px 0 0 0;
    gap: 40px;
  }
  footer .copy {
    padding: 40px 0 0 0;
  }
}

/*# sourceMappingURL=HelpComponent.css.map */
