body{
    display: flex;
    overflow-x: hidden;
    font-family: 'Roboto-light';
    flex-flow: column nowrap;
    justify-content: space-between;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
}

header {
    /*position: relative;
    min-height: var(--alturaHeader);*/
    border-top: solid 5px var(--color1);
    background-color: var(--grey5);
    color: var(--grey3);
}

header nav{
    min-height: var(--alturaHeader);
}

header nav > div:first-of-type {
    /*border-right: dashed 1px var(--colorTitulo1);*/
}

header nav img {
    height: calc(var(--alturaHeader) - 4vh );
}


.menuBtn{
    color: var(--color1);
}

.menuBtn:hover{
    color: var(--color2);
    cursor: pointer;
}

.menuBtn span{
    font-family: 'Roboto-Light';
    display: block;
    font-size: 1em;
}

.ecedu{
    border-right: solid 1px var(--color1);
    margin-right: 10px;
    padding-right: 10px;
}

.ecedu h2{
    font-family: 'Roboto-Bold';
    font-size: 3em;
    margin: 0;
    line-height: 1;
}

.ecedu h3:nth-child(2){
    font-family: 'Roboto-Regular';
    font-size: 1em;
    margin: 0;
    line-height: 1;
}

.ecedu h3:nth-child(3){
    font-family: 'Roboto-Light';
    font-size: 1.29em;
    margin: 0;
    line-height: 1;
}

.curso h1{
    font-family: 'Roboto-Thin';
    font-size: 3em;
    margin: 0;
    line-height: 1;
}

.curso h2{
    font-family: 'Roboto-Regular';
    font-size: 2em;
    margin: 0;
    line-height: 1;
}

header nav .course-dependency{
    font-family: 'Roboto-Thin';
    font-size: 3em;
    margin: 0;
    line-height: 1;
    
}

header nav .course-name{
    font-family: 'Roboto-Regular';
    font-size: 2em;
    margin: 0;
    line-height: 1;
}

header nav .course-unity{
    background-color: var(--color1); 
    color: #fff;
    font-size: 1.5rem;
    padding: .2rem .1rem;;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

header nav .theme {
    color: var(--colorTitulo1);
    font-weight: 300;
}

header nav .user-info{
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
}

header nav .user-info > div{
    margin: .1rem;
}

header nav .user-text p{
    padding: 0;
    margin: -.5rem 0;
    color: var(--colorTitulo1);
    text-align: right;
    font-size: 1rem;
}

header nav .user-picture{
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    border: 2px solid var(--colorTitulo1);
}

header nav .user-picture img{
    width: 100%;
    height: 100%;
}


header nav .btn-outline-info{
    position: relative;
    border: none;
    font-size: 1.5rem;
    color: var(--colorTitulo1);
    padding: .8rem .8rem;
    width: auto;
}



header nav .btn-outline-info:hover, header nav .btn-outline-info:focus {
    background-color: transparent !important;
    color: var(--colorTitulo1);
    opacity: .5;
    border: none !important;
    box-shadow: none !important;
}


.unad img{
    max-height: 7em;
}


/*Barra de progreso*/

.bar-progress{
    position: relative;
    width: 100%;
    height: 3px;
    border-bottom: 1px solid var(--color5);
    bottom: 0px
}

.bar-progress .fill{
    background-color: var(--color4);
    width: 0%;
    height: 100%;
    transition: 0.8s;
}

/* Estilos Menú Lateral  */

 #bgSideMenu{
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 99;
 }
 
.side-menu{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: -100%;
    background-color: #fff;
    overflow: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100;
}


.side-menu-header{
    width: 100%;
    height: auto;
    padding: 5px 20px 5px 12%;
    display: flex;
    justify-content: space-between;
    align-items:center;
    border-bottom: 1px solid rgba(0,0,0, .3);
}

.side-menu-header h2 {
    color: var(--color2);
    margin: 0;
}

.side-menu-header button {
    color: var(--color1);
    height: 5em;
    padding: 0;
    text-decoration: none;
    line-height: 0;
}

.side-menu-header button:hover, .side-menu-header button:focus {
    text-decoration: none;
    color:var(--color2);
}

.side-menu-header button span{
    font-size: 3.5em;
}

.side-menu-body {
    width: 100%;
    height: 88%;
    padding: 10px 10px 10px 12%; /* Estilos Menú Lateral  */
    overflow-x: hidden;
    overflow-y: auto;
}

.side-menu-body ul{
    margin: 0;
    padding: 0 25px 0 10px;
    list-style: none;
}

.side-menu-body ul li{
    color: #9a999a;
    margin: 2px 0;
    padding: 5px 11px; 
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: .5s;
}

.side-menu-body ul li.border-menu{
    border-top: 1px solid var(--color2);  
}

.side-menu-body ul li.item-subtema{
    padding-left: 2rem;
    font-size: .9rem;
    font-weight: 300;
}

.side-menu-body ul li.unblock i{
    display: none;
}

.side-menu-body ul li:hover { 
    background-color: rgba(0,0,0,.1);
}

.side-menu-body ul li:last-of-type{
    border-bottom: none
}

.btn-nav, .btn-jocker{
    position: fixed;
    cursor: pointer; 
    bottom: 50%;
    margin: -25px 0;
    background-color: transparent;
    border: none;
    color: var(--color1);
    text-align: center;
    font-size: 2rem;
    height: 50px;
    width: 50px;
    transition: .4s all;
    z-index: 2;
}

.btn-nav.arrow-left {
    left: 10px;
}

.btn-nav.arrow-right{
    right: 10px;
}

.btn-jocker{
    right: 10px;
    z-index: 0;
    opacity: .2;
}

.btn-nav:hover{

    transform: scale(1.1);
}

main{
    /*flex-grow: 1;*/
    color: var(--grey2);
    
}

main a{
    color: var(--color1);
    font-family: 'Roboto-Regular';
}

main a:hover{
    
    color: var(--color1);
}

main h1{
    font-family: Roboto-Thin;
    font-size: 3.2em;
    margin-left: -22px;
}

main h1:before{
    content: '∣';
    color: var(--color1);
    margin-right: .05em;
    font-weight: bolder;
    position: relative;
    top: -4px;
}

main p{
    font-size: 1.3em;
}


footer{
    background-color: var(--grey5);
    
}

.paginator{
    margin: 0;
}


.custom-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--colorModal);
    z-index: 2;
    overflow-y: auto;
    display: none;
    font-size: 1.2em;
    line-height: 1.5em
}

.custom-modal .header-modal {
    position: relative;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal .header-modal .close-custom-modal{
    font-size: 3em;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border:none;
    color: var(--color1);
    width: 54px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.custom-modal .content-custom-modal {
    position: relative;
    width: 100%;
    /*height: 90vh;*/
    padding: 1em 2em;
    color: var(--grey2);
}

.custom-modal .content-custom-modal img{
    width: 100px;
}

.custom-modal .content-custom-modal h1, 
.custom-modal .content-custom-modal h2,
.custom-modal .content-custom-modal h3, 
.custom-modal .content-custom-modal h4,
.custom-modal .content-custom-modal h5, 
.custom-modal .content-custom-modal h6
{
    color: var(--color1);
}

.custom-modal .content-custom-modal p{
    color: #fff;
}

.custom-modal .content-custom-modal .custom-pdf{
    width: 100%;
    height: 100%;
    box-shadow: 0 0 0px 5px #fff;
    background-color: #fff;
}


/* Modal retros actividades */

.correct .modal-header{
    background-color: var(--colorAlt3);
}

.fail .modal-header{
    background-color: var(--colorRetroMal);
}

.correct .modal-header h3, .fail .modal-header h3{
    color: #fff;
    text-align: center;
    width: 100%;
    font-family: Roboto-Bold;
    font-size: 2rem;
}

.correct img, .fail img{
    margin-right: 2rem;
}

.correct p, .fail p{
   text-align: left;
}

.correct .modal-header .close, .fail .modal-header .close{
    background-color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    display: block;
    position: relative;
    top: 17px;
    right: 14px;
}

.correct .modal-header .close span, .fail .modal-header .close span{
    font-size: 2.5rem;
    display: block;
    position: relative;
    top: -19px;
    right: 7px;
}


/*Tabs*/
.nav.nav-tabs a{
    font-weight: bold;
    background-color: var(--colorTitulo1);
    color: #fff;
    border: solid 1px #fff;
}

.nav.nav-tabs a.active{
    background-color: var(--color3);
    color: #fff;
}

.tab-content{
    background-color: rgba(255,255,255,.9);
    margin: .2rem 0;
    padding: 2rem 1rem;
}



/* Blockquote */
blockquote{
    background-color: var(--grey5);
    padding: 1rem;
    border-radius: .5rem
}

blockquote p{
	font-size: 1.3rem;
}

blockquote p::before{
	content: '\f10d';
	font-family: FontAwesome;
	position: relative;
	top: -.5em;
	color: color: var(--color1);
	margin-right: .5rem;
	font-size: 1rem;
}
blockquote p::after{
	content: '\f10e';
	font-family: FontAwesome;
	position: relative;
	top: -.5em	;
	color: color: var(--color1);
	margin-left: .5rem;
    font-size: 1rem;
}

blockquote cite, cite{
    text-align: right;
    display: block;
}

/* Botón PDF */

.btnPDF{
    background-color: var(--color1);
    color: #fff;
    font-size: 1.25rem;
    padding: .7rem;
    display: flex;
}

.btnPDF i{
    margin-right: .75rem;
    font-size: 2rem
}

.btnPDF:hover{
    background-color: var(--color2);
}

/* Modal PDF */

.pdf{
    width: 90vw;
    height: 80vh;
}


/* Informacion */

.info{
    display: flex;
    align-items: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: var(--grey3);
}

.info img{
    background-color: var(--colorAlt4);
    padding: .75rem;
    height: 4rem;
    width: 4rem;
    border-radius: .4rem;
}

.info p{
    padding: 0 0rem 0 1.5rem;
    margin: 0;
}

/****/
.container-activity h2{
    color: var(--grey3);
}


@media (max-width: 767.98px) {

    header nav .course-name{
        font-size: 1.2rem !important;
    }

    header nav .btn-outline-info{
        padding: .5rem .8rem;
    }
  
    main{
        margin: 4vh 0 !important;
    }

    footer{
        height: 20vh;
    }

    footer .paginator{
        font-size: .9rem;
    }

    footer .unity-name {
        font-size: .9rem;
    }

    footer .slide-name {
        font-size: .9rem !important;
    }

    footer .slide-name .theme {
        font-size: .9rem !important;
    }

    .custom-modal{
        padding: 1rem;
        overflow: hidden
    }

    .btn-nav, .btn-jocker{
        border: none;
        font-size: 3rem;
        width: auto;
        height: auto;
    }
    
    .btn-nav.arrow-left {
        left: 0px;
    }
    
    .btn-nav.arrow-right{
        right: 0px;
    }

    .btn-jocker{
        right: 0px;
    }
}

/**Específicos***/

.rombo {
     width: 2rem; 
     height: 2rem; 
display: inline-block;
    border-radius: .25rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
}