@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700");
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css");


ul {
  list-style-image: none;
}

.sidebar {
  padding-top: 3rem;
  max-width: 18rem;
  min-width: 14rem;
  width: 88%;
  height: 100%;
  position: relative;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}




/* Estilos para los submenús y animaciones */
#leftside-navigation {

  ul ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    margin: -2px 0 0;
    padding: 0;

    li {
      margin-bottom: 0;
      margin-left: 1rem;
      margin-right: 0;
      border-bottom: none;

      a {
        font-size: 0.875rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        color: #1a1a1a;
      }

      a.active {
        color: var(--link-text);
      }
    }
  }

  ul {
    li {
      list-style-type: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    a {
      color: #1a1a1a;
      text-decoration: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 0 0.75rem 1rem;
      font-size: 0.875rem;
      outline: 0;
      transition: all 200ms ease-in;

      &:hover {
        color: var(--link-text-highlight);
      }

      span {
        display: inline-block;
      }

    }
  }

  ul ul.visible {
    max-height: 500px;
    /* Ajusta según el contenido más grande */
  }

  a.active {
    font-weight: bold;
    /* Estilo para el enlace activo, personalizable */
    color: var(--secondary-bg-color);
    /* Ejemplo de color, ajusta según tu diseño */
  }

  li a.active {
    color: var(--link-text);
    font-weight: bold;
  }

  /* Opcional: Rotar la flecha cuando el submenú está abierto */
  .sub-menu.active>a>i {
    transform: rotate(90deg);
    /* Cambia a fa-angle-down o ajusta según tu diseño */
    transition: transform 0.3s ease;
  }

}

/* CSS for highlighting the active menu item */








/* Estilos para el menú */
#leftside-navigation ul ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

#leftside-navigation ul ul.visible {
  max-height: 500px;
  /* Ajusta según el contenido más grande */
}

#leftside-navigation a.active {
  font-weight: bold;
  color: #007bff;
  /* Ajusta según tu diseño */
}

#leftside-navigation .sub-menu.active>a>i {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

/* Estilos para el sidebar y botón de hamburguesa */
@media (max-width: 768px) {
  .hamburger-icon {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    border-width: 0;
    background-color: #ffffffe6;
    border-radius: 4px;
    box-shadow: #001618bf 0px 3px 10px 0px;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
  }

  aside.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 17rem;
    height: 100%;
    background-color: #fff;
    overflow-y: auto;
    transition: transform 0.4s ease-in-out;
    transform: translateX(-100%);
    z-index: 99;
  }

  aside.sidebar.is-open {
    display: block;
    transform: translateX(0);
    box-shadow: #0027334a 3px 0 12px 0px;
  }
}

@media (min-width: 769px) {
  aside.sidebar {
    display: block;
  }

  .hamburger-icon {
    display: none;
  }
}

/* Estilos para el botón de hamburguesa */
.hamburger-icon .line {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Animación de hamburguesa a "X" */
.hamburger-icon.hamburger-active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-icon.hamburger-active .line:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.hamburger-active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}











.rc-content {
  grid-column: 2 / 5;
  min-height: 40rem;

  video {
    width: 100%;
    max-width: 960px;
    height: auto;
  }

}

.rc-heading {
  background: radial-gradient(circle at 65% 25%,
      rgba(0, 98, 141, 1) 8%,
      rgba(0, 98, 141, 0.38) 27%,
      rgba(0, 98, 141, 0) 70%),
    radial-gradient(circle at 25% 80%, #27c39d 0%, #16807a 100%);
  width: 100%;
  min-height: 8rem;
}

.rc-heading-content {
  margin: 0 auto;
  padding-top: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
  grid-template-columns: 1fr 2fr 1fr;
}

nav.breadcrumb {
  font-size: 0.8125rem;
  font-weight: 600;
  padding-bottom: 1rem;

  ul {
    list-style-type: none;
    display: flex;
    padding-left: 0;

    li {
      display: flex;
    }

    li+li:before {
      content: ">";
      padding: 0 0.5rem;
      color: var(--secondary-bg-color);
    }

    li a {
      text-decoration: none;
      font-weight: 600;
      color: var(--link-text);
    }

    li a:hover {
      text-decoration: underline;
      font-weight: 600;
      color: var(--link-text-highlight);
    }
  }
}

ul li a,
ol li a {
  color: var(--link-text);
  text-decoration: none;
  font-weight: 500;
}

ul li a:hover,
ol li a:hover {
  font-weight: 500;
  color: var(--link-text-highlight);
  text-decoration: underline;
}

ol li ul {
  margin-top: 0;
  margin-bottom: 0;
}

/* Tables */

.rc-table {
  font-size: 0.8125rem;
  margin: 1rem 0 2rem 0;
  padding: 0;
  border-spacing: 0;

  p {
    font-size: 0.8125rem;
  }

  a {
    display: flex;
    align-items: center;
    color: var(--link-text);
    text-decoration: none;
    font-weight: 700;
  }

  a:hover {
    color: var(--link-text-highlight);
    text-decoration: underline;
  }

  img {
    margin-right: 0.25rem;
  }

  th {
    font-weight: 700;
    color: #003748;
    background-color: #baf7bb;
    border-bottom: solid 1px #d8d8d8;
    margin: 1rem;
    padding: 0.5rem;
    text-align: start;
  }

  td {
    border-bottom: solid 1px #d8d8d8;
    margin: 0;
    padding: 0.5rem;
    vertical-align: middle;
  }

  .td25 {
    width: 25%;
    max-width: 16rem;
    min-width: 10rem;
  }

  .td30 {
    width: 30%;
    max-width: 18rem;
    min-width: 10rem;
  }

  .td10 {
    width: 10%;
    max-width: 6rem;
    min-width: 5rem;
  }
}

.re-table {
  font-size: 0.8125rem;
  margin: 0;
  padding: 0;
  border-spacing: 0;

  p {
    font-size: 0.8125rem;
    text-align: center;
  }

  td {
    min-width: 5rem;
    border: #cacaca 1px solid;
    padding: 0.25rem;
  }
}

h2,
h3,
h4,
h5 {
  margin-top: 1.5rem;
}

h3 a,
h4 a {
  text-decoration: none;
  color: var(--secondary-bg-color);
}

h3 a:hover,
h4 a:hover {
  color: var(--secondary-button-contrast);
}

h2 {
  color: var(--main-heading-color);
}

h3,
h4,
h5 {
  color: var(--heading-color);
}

/* Equipment Models */

.model-heading {
  background-color: #006b70;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.hw-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  figure img {
    max-width: 20rem;
    max-height: 16rem;
    height: auto;
    width: auto;
  }

  figure a img {
    box-shadow: #00374840 0px 2px 8px;
  }

  figure a:hover img {
    box-shadow: #00374836 0px 3px 10px;
    transform: translateY(-3px);
    animation: rise linear 100ms;

  }

  @keyframes rise {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(-3px);
    }
  }

  a {
    color: var(--secondary-bg-color);
  }

  a:visited {
    color: #003748;
  }

  h4 {
    margin-bottom: 0;
    min-height: 3.25rem;
  }

  h4 a {
    text-decoration: none;
    color: var(--secondary-bg-color);
  }

  h4 a:hover {
    color: var(--secondary-button-contrast);
  }

  h5 {
    margin-top: 1rem;
    align-self: center;
  }
}

.hw-price-band {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  width: 35%;
}

.hw-price {
  font-size: 1.25rem;
  font-weight: 400;
  margin-top: 0;
  color: #006b70;
}

.hw-spec {
  align-items: baseline;
}

.hw-spec .hw-card figure {
  max-width: 32rem;
}

.hw-spec figure img {
  max-width: 30rem;
  max-height: 32rem;
}

.spec h6 {
  margin-bottom: 0;
  color: var(--main-heading-color);
}

.spec p {
  margin-top: 0;
}

.spec .doc-link {
  display: flex;
  align-items: flex-start;
  padding: 0.5rem 0;
}

.spec .doc-link img {
  margin-right: 0.25rem;
  width: 24px;
}

.multiple-price {
  display: flex;
  margin-bottom: 1rem;
  width: 100%;

  p {
    margin-bottom: 0;
  }
}

footer h4 {
  color: #ffffff;
}

@media (max-width: 1024px) {

  .rc-content {
    img {
      width: 100%;
      height: auto;
    }

    .rc-table img {
      width: auto;
    }

  }
}

@media (max-width: 440px) {
  .rc-heading-content {
    margin: 0 auto;
    padding-top: 2rem;
    padding-right: 0;
    padding-left: 0;
  }

  .rc-content img {
    width: 100%;
    height: auto;
  }

  .rc-table {
    font-size: 0.6875rem;

    td {
      padding: 0.25rem 0;
    }

    .td10 {
      width: 10%;
      min-width: 2rem;
    }

    .td25 {
      width: 25%;
      min-width: 6rem;
    }
  }

  .re-table {
    td {
      display: block;
    }
  }

  .hw-card {

    figure img {
      max-width: 18rem;
      max-height: 14rem;
    }
  }

  .hw-spec figure img {
    max-width: 24rem;
    max-height: 24rem;
  }
}