/* Usado en el Home del usuario Anonymous para situar el logo de Niubit encima */
/* Idea sacada de aquí: https://stackoverflow.com/questions/4183948/css-set-background-image-with-opacity */
/* BEGIN */
.imagen_fondo {
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%), url('images/2018_logo-circulo.svg') repeat 0 0;
    background: -moz-linear-gradient(top, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.8) 100%), url('images/2018_logo-circulo.svg') repeat 0 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.8)), color-stop(100%,rgba(255,255,255,0.8))), url('images/2018_logo-circulo.svg') repeat 0 0;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 100%), url('images/2018_logo-circulo.svg') repeat 0 0;
    background: -o-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 100%), url('images/2018_logo-circulo.svg') repeat 0 0;
    background: -ms-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 100%), url('images/2018_logo-circulo.svg') repeat 0 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.8) 100%), url('images/2018_logo-circulo.svg') repeat 0 0;
    background-size: 100%;
}
/* END */

/* Usado en el banner de cabecera del Home 2019 de Usuario */
/* BEGIN */
.cabecera {
    margin: 0;
    width: 100%;
}

.cabecera img {
    margin-top: -19px;
    margin-bottom: 30px;
}

.cuadrado {
    position:relative;
    overflow:hidden;
    padding-bottom:100%;

    display: block;
    margin-bottom: 20px;
    line-height: 1.42857143;
    border-radius: 20px;
    -webkit-transition: border 0.2s ease-in-out;
    -o-transition: border 0.2s ease-in-out;
    transition: border 0.2s ease-in-out;
}

.cuadrado img {
    width: 100%;
    position:absolute;
}
/* END */

/* Usado para el layout del home del alumno */
/* BEGIN */
@font-face {
    font-family: Minecraft;
    font-style: normal;
    font-weight: normal;
    src: url("fonts/Minecraft-Regular.otf") format("opentype");
}

@font-face {
    font-family: Minecraft;
    font-style: normal;
    font-weight: bold;
    src: url("fonts/Minecraft-Bold.otf") format("opentype");
}

@font-face {
    font-family: Minecraft;
    font-style: italic;
    font-weight: normal;
    src: url("fonts/Minecraft-Italic.otf") format("opentype");
}

@font-face {
    font-family: Minecraft;
    font-style: italic;
    font-weight: bold;
    src: url("fonts/Minecraft-BoldItalic.otf") format("opentype");
}

.home_alumno-container {
    background-size: cover;
}

#panel_perfil {
    margin: 8px;
    width: 171px;
    height: 371px;
    background-image:url('images/panel_perfil_avatar.png');
    padding: 20px 20px 20px 20px; /* top right bottom left */
}

#subpanel_perfil {
    padding-top: 27px;
    width: 131px;
    height: 105px;
    overflow: hidden;
    font-family: 'Minecraft', monospace, sans-serif;
    font-size: 13px;
    line-height: 90%;
}

#subpanel_mensajes {
    padding-top: 22px;
    width: 131px;
    height: 105px;
    overflow: hidden;
    font-family: 'Minecraft', monospace, sans-serif;
    font-size: 13px;
    line-height: 90%;
}

#subpanel_mensajes .badge {
    position: relative;
    top: -3px;
    font-size: 10px;
}

#panel_historias_col {
    overflow-y:auto;
    height:474px;
}

#panel_historias_row {
    background-color:rgba(255,255,255,0);
    padding-top: 15px;
}

#panel_inventario {
    margin: 20px;
    width: 366px;
    margin-right: auto;
    margin-left: auto;
}

.experiencia_bg {
    background-image:url('images/experience_bar_empty.png');
    width: 366px;
    height: 10px;
    margin-bottom: 2px;
}

.experiencia_fr {
    background-image:url('images/experience_bar_full.png');
    width: 0%;
    height: 10px;
}

.inventario_bg {
    background-image:url('images/inventario.png');
    width: 366px;
    height: 46px;
}

.insignia_fg {
    position: absolute;
    width: 32px;
    height: 32px;
    margin-top: 8px;
}

.col-fixed-200 {
    width: 200px;
    position: fixed;
    height: 100%;
    z-index: 1;
}

.col-offset-200 {
    padding-right:215px;
}

.rtl {
    direction:rtl;
}

.rtl * {
    direction:ltr;
}

#fondo_home_sin_grupo {
    height:578px;
}
/* END */

/* Usado para evitar el problema que impedía acceder al botón del banner por el z-index del panel del alumno */
/* BEGIN */
#CookielawBanner {
    position: relative;
    z-index: 2;
}
/* END */
