.wrapper {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
    min-height: 350px;
    overflow: hidden;
    padding-top: 10px;
}

.view1 {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    right: 0;
    line-height: 24px;
    text-align: center;
    border: solid 1px #999;
    border-radius: 50%;
}

.color-dinamico{
    background-color: var(--base-color);
}

.color-dinamico-80{
    background-color: color-mix(in srgb, var(--base-color) 80%, transparent);
}

.color-dinamico-50{
    background-color: color-mix(in srgb, var(--base-color) 80%, transparent);
}

.color-dinamico-30{
    background-color: color-mix(in srgb, var(--base-color) 80%, transparent);
}

.div-cursos{
    transition: transform 0.3s ease;
    padding: 5px;
    -webkit-appearance: button;
    cursor: pointer;
    margin-top: 10px !important;
}

.boton-cursos {
    padding: 5px 10px;
    color: #fff;
}

.div-cursos:hover {
    transform: scale(1.05);
}

.form-pager-item.current, .form-pager-btn.current {
    /* background: var(--base-color); */
    background: color-mix(in srgb, var(--base-color) 30%, transparent);
    color: inherit;
}

.form-toggle span.current {
    color: var(--base-color);
}

.form-radio .radio-elem, .form-checkbox .radio-elem, .form-radio .checkbox-elem, .form-checkbox .checkbox-elem {
    -webkit-box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--base-color) 60%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--base-color) 60%, transparent);
}

.form-radio .radio-elem:before, .form-checkbox .radio-elem:before, .form-radio .checkbox-elem:before, .form-checkbox .checkbox-elem:before {
    -webkit-box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--base-color) 60%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--base-color) 60%, transparent);
}

.form-pager {
    margin: 20px 0;
    padding: 0;
    text-align: center;
}

.btn-toggle-menu {
    position: absolute;
    display: inline-block;
    top: 3px;
    left: -42px;
    font-size: 2rem;
    cursor: pointer;
}

input[type=text], input[type=password], input[type=email], input[type=search], input[type=file], textarea {
    border: 1px solid var(--base-color);
}

.btn-pruebat {
  color: #FFF;
  transition: all 0.5s;
  position: relative;
  text-align: center;
  margin-top: 10px !important;
  width: var(--btn-width);
  height: var(--btn-height);
  line-height: var(--btn-height);
  display: inline-block;
  cursor: pointer;
}

.btn-pruebat span {
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}

.btn-pruebat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--btn-color);
  transition: all 0.3s;
}

.btn-pruebat:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}

.btn-pruebat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid var(--btn-color);
  transform: scale(1.2, 1.2);
}

.btn-pruebat:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}

.btn-pruebat:hover span {
  color: #000;
}

/* botón cursos */
.btn-pruebat-cursos {
  --btn-color: var(--base-color);
  --btn-width: 150px;
  --btn-height: 40px;
}

/* botón constancia */
.btn-pruebat-constancia {
  --btn-color: #348732;
  --btn-width: 250px;
  --btn-height: 80px;
  font-size: 19px;
  margin-bottom: 5px;
}

/* botones de navegación */
.btn-group-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.btn-group-nav .btn-group-item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    float: none;
    width: auto;
}

.btn-nav{
    display: block;
    width: 110px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    border: 1px solid var(--base-color);
    text-align: center;
    position: relative;
    transition: all .20s;
}

.btn-nav span{
    position: relative;
    z-index: 2;
}

.btn-nav:after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--base-color);
    transition: all .20s;
}

.btn-nav:hover{
    color: #fff;
}

.btn-nav:hover:after{
    width: 100%;
}

.nav-menu-item-title {
    position: relative;
    background: #f8f8f8;
    min-height: 41px;
    padding: 10px 45px 10px 15px;
    color: #444;
    cursor: pointer;
    border-radius: 2px;
}

.nav-menu-item-title:before {
    content: '\f067'; /* + */
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    top: 9px;
    right: 15px;
    font-family: 'FontAwesome';
    font-size: 1rem;
    line-height: 23px;
    text-align: center;
    border: none;
    border-radius: 50%;
    box-sizing: border-box;

    transition: transform 0.3s ease, content 0.3s ease;
}

.nav-menu-item-title.active:before {
    content: '\f068'; /* - */
    transform: rotate(180deg);
}

.material{
    border: 1px solid var(--base-color);
    border-radius: 2px;
    padding: 5px;
}

.material-evaluacion{
    padding: 20px;
}

.btn-close {
    color: var(--base-color);
}

.btn-custom{
    width: 0;
}

.fa-chevron-left{
    font-size: 25px;
    color: var(--base-color);
}


/* diseño reproductor video (sobreescritura de estilos)*/
.vjs-theme-fantasy .vjs-big-play-button {
    color: var(--base-color);
    border: 1px solid var(--base-color);
    outline: 1px solid #fff;
    outline-offset: 0.5px;
    border-radius: 0px;
    font-size: 69px;
}

.vjs-theme-fantasy .vjs-play-progress, .vjs-theme-fantasy .vjs-play-progress:before {
    background-color: var(--base-color);
}

.vjs-icon-play:before,
.video-js .vjs-play-control .vjs-icon-placeholder:before,
.video-js .vjs-big-play-button .vjs-icon-placeholder:before {
    content: "\f101";
    text-shadow: 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff;
}

/* Barra de avance por bloque */
.item-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.item-progress-fill {
    display: block;
    height: 100%;
    background-color: var(--base-color);
    transition: width 0.3s ease;
    width: 0%;
}

.nav-menu-sumbenu-link {
    position: relative;
    display: block;
    padding-bottom: 2px;
}

.nav-menu-sumbenu-link.lock-item .item-progress-bar {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-menu-sumbenu-link.lock-item .item-progress-fill {
    background-color: #999;
}

@media screen and (max-width: 800px) {
    .sidebar-header, .content-header {
        gap: 0px;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
}
