select,
input[type="text"] {
  width: 100%;
}

.dp-none {
  display: none !important;
}

.div-progress {
  width: 100%;
  height: 5px;
  background-color: #f3f3f3;
  display: none;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #a8d8ee;
  transition: width 0.25s;
}

.background-image {
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../../../img/educacion-continua.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 125px;
}

.div-navegacion {
  background: transparent;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  min-height: auto;
  transition: all 0.4s ease-in-out;
  z-index: 2;
}

.navegacion-icons img {
  max-width: 225px;
}

.navegacion-icons {
  max-width: 1400px;
  width: 90%;
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0 auto;
  padding: 15px 0;
}

.menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
}

.div-movil{
  display: none;
}

.opcion-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
}


.dropdown {
  position: relative;
  display: inline-block;
}
.submenu,
.submenu-right {
  display: none;
  position: absolute;
  background: #fdfdfd;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 250px;
  border-top: 3px solid #aa2222;
}

.dropdown-sub {
  list-style: none;
}

.line-divider {
  display: block;
  height: 1px;
  background-color: #dadada;
  width: 80%;
  margin: 0 auto;
}

.submenu {
  top: 100%;
  left: 0;
}
.submenu-right {
  top: -3px;
  left: 100%;
  background: #fcfcfc;
  border-left: 1px solid #dadada;
}
.submenu li,
.submenu-right li {
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
}

.dropdown:hover > .submenu,
.dropdown-sub:hover > .submenu-right {
  display: block;
}

.sub-opcion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #424242;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
}

.sub-opcion:hover {
  background-color: #8d8d8d17;
  margin-left: 5px;
}

.div-sub {
  display: flex;
  align-items: center;
  gap: 5px;
}


.contenedor-cursos {
  display: flex;
  margin: 0 auto;
  width: 95%;
  max-width: 1600px;
  margin-top: 30px;
  align-items: flex-start;
}

#divLateral{
  position: sticky;
  top: 115px;
  height: fit-content;
}

.sidebar {
  width: 350px;
  padding: 20px;
  background: #f5f5f5;
}

.div-filtro {
  display: flex;
  gap: 5px;
  flex-direction: column;
}

.label-filtro {
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  text-transform: capitalize;
  color: #121212;
}

.campo-filtro {
  padding: 12px 5px;
  font-size: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 7px;
  outline: none;
}

.divCatalogo{
  margin: 0 auto;
  padding: 20px 0;
  max-width: 350px;
}

.main {
  flex: 1;
  padding: 0 20px;
  margin: 0 auto;
}

.opciones-cursos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.right {
  display: flex;
  gap: 10px;
}

.right select {
  border: 1px solid #e5e5e5;
  padding: 12px 16px;
  background: #f1f1f1;
  border-radius: 4px;
  outline: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #121212;
}

.div-opciones1 {
  display: flex;
  gap: 10px;
  align-items: center;
}

.div-opciones1 span {
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #383838;
}

.div-vistas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.btn-vista {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e5e5;
  padding: 0;
  color: #202020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease-in-out;
}

.btn-vista:hover {
  color: #fff;
  border: 1px solid #aa2222;
  background-color: #aa2222;
}

.vista-seleccionada {
  color: #fff;
  border: 1px solid #aa2222;
  background-color: #aa2222;
}

#contenedorContenido.grid-view {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

#contenedorContenido.list-view .item {
  margin-bottom: 30px;
}

.paginacion {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.paginacion button {
  font-size: 14px;
  font-weight: 600;
  color: #202020;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.paginacion button:hover:not(:disabled) {
  background: #aa2222;
  border-color: #aa2222;
  color: #fff;
}

.paginacion button:disabled {
  background: #e0e0e0;
  cursor: not-allowed;
  color: #a5a5a5;
}

.paginacion button.btn-selected {
  border-color: #aa2222;
  background-color: #aa2222;
  color: #fff;
}

.item {
  padding: 24px;
  color: #000000;
  text-decoration: none;
  display: block;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease-in-out;
}

.item:hover {
  border-color: #aa2222;
}

.no-href:hover {
  border-color: #e5e5e5;
}

.curso-top {
  border-bottom: 1px solid #e5e5e5;
}

.curso-modalidad {
  line-height: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #aa2222;
  margin: 0;
}

.curso-titulo {
  line-height: 28px;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  font-weight: 700;
  color: #121212;
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
}

.curso-titulo:hover {
  color: #aa2222;
}

.curso-institucion {
  margin: 4px 0 14px 0;
  color: #64666c;
  font-size: 14px;
  font-weight: 400;
}

.tipo-categoria {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 16px;
  text-align: center;
}

.tipo-permanente {
  background-color: #ffad5d;
  color: #ffffff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 52px;
  margin: 0;
}

.tipo-variable {
  background-color: #4da6e1;
  color: #ffffff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 52px;
  margin: 0;
}

.tipo-contenido {
  background-color: #f1f1f1;
  color: #000000;
  padding: 4px 8px;
  border-radius: 52px;
  margin: 0;
  line-height: 0;
}

.curso-categoria {
  background-color: #f1f1f1;
  color: #424242;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 52px;
  margin: 0;
}

.curso-categoria:hover {
  background-color: #f1f1f1;
  color: #121212;
}

.datos-variables {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.variables-grid {
  flex-direction: column;
  align-items: self-start;
}

.curso-precio {
  display: flex;
  align-items: center;
  gap: 5px;
}

.curso-precio p {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #121212;
  gap: 2px;
}

.curso-precio span {
  font-size: 12px;
  font-weight: 400;
  color: #64666c;
}

.curso-fecha {
  color: #64666c;
  font-size: 14px;
  line-height: 22px;
  margin: 0;
}

#conteoSidebar {
  display: none;
}

.div-no-cursos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.div-no-cursos img {
  max-width: 30%;
}

.div-no-cursos h3 {
  text-align: center !important;
  max-width: 40rem;
  margin-bottom: 0;
}

.btnCatalogo {
  width: 100%;
  border: 2px solid #aa2222;
  background-color: #aa2222;
  color: #fff;
  font-weight: 500;
  padding: 10px 5px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.btnCatalogo:hover {
  cursor: pointer;
  background-color: #fff;
  color: #aa2222;
}

@media (max-width: 1200px) {
  #logoEducacion {
    display: none;
  }
}

@media (max-width: 900px) {

  .navegacion-icons {
    justify-content: space-between;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .div-movil.active{
    display: block;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2;
  }

  .div-movil-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    padding: 20px 0;
    margin: 0 auto;
  }

  .div-movil-top img{
    max-width: 225px;
  }

  .nav-movil{
    display: flex;
    flex-direction: column;
    width: 90%;
    padding: 20px 0;
    margin: 0 auto;
  }

  .line-white{
    display: block;
    height: 1px;
    background-color: #ffffffab;
    width: 100%;
    margin: 0 auto;
  }

  .opcion-nav-movil{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    font-size: 16px;
  }

  .opcion-nav-movil:hover{
    margin-left: 5px;
  }

  .opcion-movil-enlace{
    text-transform: uppercase;
    font-weight: 500;
  }

  .sim-movil{
    font-size: 20px;
    width: 16px;
  }

  .sim-movil-mas{
    font-size: 20px;
    font-weight: 400;
    width: 14px;
  }

  .submenu-movil{
    display: none;
  }

  .submenu-movil.active{
    display: flex;
    flex-direction: column;
    margin-left: 35px;
  }

  .contenedor-cursos {
    flex-direction: column;
  }

  #divLateral {
    width: 100%;
    position: relative;
    top: auto;
    z-index: 1;
  }

  .sidebar{
    width: 100%;
  }

  .opciones-cursos {
    margin-top: 30px;
    flex-direction: column;
    gap: 10px;
  }

  #conteoCursos {
    display: none;
  }

  #conteoSidebar {
    display: block;
    text-align: center;
    font-weight: 600;
  }

  #contenedorContenido {
    text-align: center;
  }

  #contenedorContenido.grid-view {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .curso-titulo {
    text-align: center;
  }

  .tipo-categoria {
    justify-content: center;
  }

  .curso-precio {
    flex-direction: column;
  }

  .variables-grid {
    align-items: center;
  }

  .datos-variables {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  .right {
    flex-direction: column;
    gap: 10px;
  }
}
