header.cabecera {
  height: 75px;
  background: white;
  vertical-align: middle;
  border-bottom: 1px solid #0097a6;
  color: #009ddd;
  font-size: 13px;
}

nav.navbar {
  display: flex;
  height: 100%;
}

#titulo-curso-menulateral {
  display: flex;
  padding: 1em 0;
  justify-content: space-between;
  align-items: center;
  background: rgb(130, 189, 1);
  background: linear-gradient(90deg, rgba(130, 189, 1, 1) 0%, rgba(1, 156, 165, 1) 99%);
}

#titulo-curso {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #0097a6;
  letter-spacing: normal;
  line-height: 30.61px;
  text-align: center;
}

#titulo-curso span {
  color: #0097a6;
}

/* The side navigation menu */
.sidenav {
  height: 100%;
  /* 100% Full-height */
  width: 0;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 1000;
  /* Stay on top */
  top: 0;
  /* Stay at the top */
  left: 0;
  background-color: #111;
  /* Black*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a, .sidenav li {
  padding: 15px 15px 15px 32px;
  text-decoration: none;
  font-size: 16px;
  display: block;
  transition: 0.3s;
  cursor: pointer;
}

.sidenav h4 {
  font-size: 18px;
  padding: 0 0 0 2.5em;
  margin: 0;
  color: white;
  font-weight: 900;
  font-style: normal;
  letter-spacing: normal;
  line-height: 27px;
}

.navbar-brand {
  margin-right: 0;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

#superior-derecha {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#superior-derecha img {
  margin: 0 7px;
}

#superior-derecha div {
  padding: 0 1em;
  vertical-align: middle;
  border-left: 1px solid #0097a6;
}

#el-progreso {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-left: none !important;
  color: #0097a6;
}

#el-progreso div {
  border: none;
  padding: 0 !important
}

#indicador-progreso {
  color: #0097a6;
  font-weight: bold;
  white-space: nowrap;
}

#ayuda {
  white-space: nowrap;
}

#menu-open-close, #superior-derecha {
  width: 20%;
}

#menu-open-close #logo-in-header {
  margin-left: 1em;
  width: auto;
}

#menuLateral {
  background: #ebf8fb;
  color: #656666;
}

#menuLateral li, #menuLateral a.titulo-apartado {
  margin-left: 30px;
}

#menuLateral a.titulo-apartado {
  font-weight: bold;
  margin-left: 30px;
  background-image: url('../../imagenes/layout/menu-border-left-dotted-continuous.png');
  background-position: top left;
  background-repeat: no-repeat;
}

#menuLateral a.titulo-apartado::first-child {
  background-image: url('../../imagenes/layout/menu-border-left-dotted.png');
}

#menuLateral li {
  background-image: url('../../imagenes/layout/menu-border-left-dotted-lg.png');
  background-position: top left;
  background-repeat: repeat-y;
}

#menuLateral li.visto, #menuLateral a.titulo-apartado.visto {
  background-image: url('../../imagenes/layout/menu-border-left-continuous.png');
}

#menuLateral a.titulo-apartado.visto {
  margin-left: 30px;
  background-image: url('../../imagenes/layout/menu-border-left.png');
  background-position: top left;
  background-repeat: no-repeat;
}

#menuLateral a.titulo-apartado.visto {
  background-image: url('../../imagenes/layout/menu-border-left-continuous.png');
}

#menuLateral li.visto {
  background-image: url('../../imagenes/layout/menu-border-left-lg.png');
  background-position: top left;
  background-repeat: repeat-y;
}

/* Opciones de menú auxiliar */
#menuLateral .auxiliar {
  color: white;
  background: var(--azul-oscuro);
  font-weight: bold;
  text-transform: uppercase;
}

/* Color opciones inactivas */
#menuLateral li, #menuLateral a.titulo-apartado {
  color: #656666;
}

/* Color opciones activas */
#menuLateral li.visto, #menuLateral a.titulo-apartado.visto {
  color: #009ddd;
}

/* Menú de la página principal */
#menuIndex {
  margin: 2em 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: space-between;
}

#menuIndex::after {
  content: "";
  width: 30%;
  flex: row wrap;
}

.menuIndexItem {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1em;
  width: 100%;
  min-height: 350px;
  position: relative;
  background: white;
  margin: 2em 0;
  border-radius: 5px;
  font-family: 'Avenir';
  font-weight: lighter;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  color: #84bd00;
}


.menuIndexItem p {
  color: #84bd00;
  font-family: 'Avenir';
  font-weight: 300;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
}

.menuIndexItem .info-curs {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.menuIndexItem h2 {
  color: #84bd00;
  font-family: 'Avenir';
  font-size: 40px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: normal;
  line-height: 47.94px;
  text-align: center;
  margin-bottom: 10px;
}

.menuIndexItem a.btn {
  color: white;
  width: 100%;
  margin: 1em 0;
  margin-bottom: 0;
  padding: 1em 3em;
  font-size: 21px;
  font-weight: bold;
  cursor: pointer;
  background: rgb(130, 189, 1);
  background: linear-gradient(90deg, rgba(130, 189, 1, 1) 0%, rgba(1, 156, 165, 1) 99%);
}

.menuIndexItem a.btn:hover {
  color: white !important;
}

.menuIndexItem.no-iniciado a.btn {
  display: none;
}

.menuIndexItem hr {
  width: 100%;
}

.menuIndexItem .progreso-bar {
  font-size: 12px;
  margin: 0;
  padding: 0;
  padding-top: 1em;
  border-top: 1px solid #f5fcfd;
  margin-bottom: 1em;
  color: #f3c43c;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menuIndexItem .progreso-bar .progress {
  height: 8px;
  width: 80%;
  background: var(--background-progreso);
}

.menuIndexItem .progreso-bar .progress .progress-bar {
  background: #f3c43c;
}

@media (max-width: 968px) {
  header.cabecera {
    height: auto;
  }

  #menu-open-close #logo-in-header {
    height: 20px;
  }

  #menu-open-close {
    width: auto;
  }

  #superior-derecha {
    order: 2;
  }

  #superior-derecha div {
    padding: 0;
    width: 50px;
  }

  #menu-open-close {
    order: 1;
  }

  #titulo-curso {
    order: 3;
    margin-top: 10px;
    border-top: 1px solid #0097a6;
    padding: 10px 0;
    width: 100%;
  }

  #menuIndex {
    padding: 1em;
    padding-top: 0;
  }

  .menuIndexItem {
    width: 45%;
  }
}

@media (max-width: 560px) {
  .menuIndexItem {
    width: 100%;
  }
}
