* {
    padding: 0;
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

*:focus {
    outline: none;
}

body {
    background-color: #F8F8FE;
}

p {
    color: #777;
}

a {
    text-decoration: none;
}

.tarjeta {
    background-color: #FFF;
    width: 500px;
    border-radius: 8px;
    margin: calc(50vh - 300px) auto 0 auto;
    -webkit-box-shadow: 0px 4px 15px 4px rgba(0,0,0,0.12);
    -moz-box-shadow: 0px 4px 15px 4px rgba(0,0,0,0.12);
    box-shadow: 0px 4px 15px 4px rgba(0,0,0,0.12);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 50px;
}

.login-logo {
    height: 75px;
    margin-bottom: 50px;
}

.nav-logo {
    height: 50px;
    margin-left: 30px;
    margin-top: 5px;
    border: none;
}

.usr-img {
    border-radius: 20px;
    background-color: #fff;
    height: 40px;
    width: 40px;
    float: right;
    margin-top: 10px;
    margin-right: 20px;
}

.input {
    background-color: #FFF;
    border: none;
    width: 100%;
    margin-bottom: 6px;
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.video {
    border: 2px solid #b0bec5;
    border-radius: 5px;
}

input,
input::-webkit-input-placeholder {
    font-size: 1em;
}

.linea{
    width: 100%;
    height: 2px;
    margin-bottom: 50px;
    background-color: #eee;
}

.button-container {
    margin-top: 60px;
    padding-bottom: 40px;
}

.inicio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 30px;
    cursor:pointer;
    color: #FFF;
    background: #3a4a6e;
    font-weight: 600;
    border: none;
    font-size: 14px;
    border-radius: 4px;
    float: right;
}

.container {
    padding: 0;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}

.up-shift {
    margin-top: -100px;
}

.box-3 {
    width: 33.3333%;
    margin: 0;
    padding: 0;
    float: left;
}

.tarjeta-div {
    background-color: #FFF;
    border-radius: 16px;
    -webkit-box-shadow: 0px 4px 15px 4px rgba(0,0,0,0.12);
    -moz-box-shadow: 0px 4px 15px 4px rgba(0,0,0,0.12);
    box-shadow: 0px 4px 15px 4px rgba(0,0,0,0.12);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 25px;
}

.gradient-azul {
    background: #3EBDFF;
    background: -webkit-linear-gradient(left top, #3EBDFF, #5092FF);
    background: -o-linear-gradient(bottom right, #3EBDFF, #5092FF);
    background: -moz-linear-gradient(bottom right, #3EBDFF, #5092FF);
    background: linear-gradient(to bottom right, #3EBDFF, #5092FF);
}

.gradient-morado {
    background: #B590FF;
    background: -webkit-linear-gradient(left top, #B590FF, #FF7DAB);
    background: -o-linear-gradient(bottom right, #B590FF, #FF7DAB);
    background: -moz-linear-gradient(bottom right, #B590FF, #FF7DAB);
    background: linear-gradient(to bottom right, #B590FF, #FF7DAB);
}

.gradient-verde {
    background: #88D076;
    background: -webkit-linear-gradient(left top, #88D076, #12D89D);
    background: -o-linear-gradient(bottom right, #88D076, #12D89D);
    background: -moz-linear-gradient(bottom right, #88D076, #12D89D);
    background: linear-gradient(to bottom right, #88D076, #12D89D);
}

.gradient-naranja {
    background: #FF8F4F;
    background: -webkit-linear-gradient(left top, #FF8F4F, #FFC74F);
    background: -o-linear-gradient(bottom right, #FF8F4F, #FFC74F);
    background: -moz-linear-gradient(bottom right, #FF8F4F, #FFC74F);
    background: linear-gradient(to bottom right, #FF8F4F, #FFC74F);
}

.circulo {
    border-radius: 100px;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    margin-top: 80px;
}

.search-div {
    margin: 25px 25px 15px;
    padding: 15px 20px;
}

#nav-bar {
    width: 100%;
    height: 60px;
}

/****************
DAHSBOARD
****************/

.fondo-gradient {
    background: #3EBDFF;
    background: -webkit-linear-gradient(left top, #3EBDFF, #5092FF);
    background: -o-linear-gradient(bottom right, #3EBDFF, #5092FF);
    background: -moz-linear-gradient(bottom right, #3EBDFF, #5092FF);
    background: linear-gradient(to bottom right, #3EBDFF, #5092FF);
}

#bienvenida {
    color: #FFF;
    text-align: center;
    font-weight: 500;
    padding-top: 50px;
    padding-bottom: 230px;
}

.tarjeta-menu {
    padding: 50px 25px;
    cursor: pointer;
}

.titulo-tarjeta-menu {
    text-align: center;
    color: #95989A;
    font-weight: 200;
    font-size: 1.50em;
    margin-top: 60px;
}

/****************
MATERIAS
****************/

.materias{
    margin-top: 35px;
}

.imagen-icono{
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

#search-img {
    width: 32px;
    height: 32px;
}

#search-input {
    border: none;
    background: none;
    outline: none;
    color: #888;
    width: calc(99% - 32px);
}

/****************
DETAIL MATERIA
****************/

#lecturas-container{
    margin: 50px 0;
}

.elemento-lectura {
    display: block;
    width: calc(33.333% - 30px);
    padding: 25px;
    margin: 15px;
    float: left;
    height: 340px;
    cursor: pointer;
}

.titulo-lectura {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 15px 0;
    color: #6D7896;
}

.texto-lectura {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #6D7896;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* number of lines to show */
    max-height: 450%;       /* fallback */
}

.imagen-thumbnail{
    margin: 0;
    width: 100%;
    background-color: #888;
}

/****************
EDITAR LECCION
****************/

#titulo-input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    color: #888;
}

#lectura-input {
    border: none;
    background: none;
    font-size: 16px;
    outline: none;
    height: auto;
    color: #888;
    width: calc(100% - 50px);
    margin: 25px;
}

.footer-input {
    width: 49%;
    float: left;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: none;
    border: none;
    outline: none;
    color: #888;
}

.padding-div {
    margin: 25px 25px 15px;
    padding: 15px 20px;
    width: 100%;
}

.footer-div {
    padding-bottom: 20px;
    text-align: center;
}

#boton-guardar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 30px;
    cursor:pointer;
    color: #FFF;
    margin-right: 25px;
    margin-bottom: 100px;
    background: #3a4a6e;
    float: right;
    border: none;
    border-radius: 4px;
    font-size: 1em;
}

.top-right-icons{
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;
    cursor: pointer;
    width: 50px;
    justify-content: space-between;
}

.fa{
    color: gray;
}

#snackbar {
    display: block;
    visibility: hidden;
    width: 50%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 999;
    bottom: 30px;
    margin-right: 25%;
    margin-left: 25%;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.back-toolbar-titulo{
    width: 24px;
    height: 24px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 24px;
    cursor: pointer;
}

.icon-toolbar-titulo{
    margin-left: 24px;

}

.thumbnail-type-select{
    position: absolute;
    top: 88px;
    right: 28px;
    min-width: 120px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
    padding: 10px 0px;
    display: none;
}

.thumbnail-type-option{
    background-color: white;
    color: #3A4A6E;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 16px;
    cursor: pointer;
}

.thumbnail-type-option:hover{
    background-color: #E8EAF3;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}