/*######################## INICIAR SESIÓN - CONTENEDOR ########################*/
.contenedor-login { display: flex; justify-content: center; align-items: center; padding: 6px; }

/*######################## IMAGEN PERFIL ########################*/
.contenedor-avatar {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%; }

.user-image { width: 100%; height: 100%; margin: 0; padding: 0; }

/*######################## NOMBRE USUARIO ########################*/
.contenedor-nombreavatar {
  display: inline-block;
  overflow: hidden;
  background: rgba(0,0,0,.2);
  border-radius: 5px;
  box-shadow: inset 1px 1px 5px #000000;
  width: 190px;
  height: 30px;
  margin: 8px;
  padding-top: 2px;
  text-align: center;
  color: white; }

.hidden-xs { margin: 0; padding: 4px; line-height: 20px; font-family: OPENSANS; font-size: 14px; }
  
/*######################## BOTÓN CIRCULO LOGIN ########################*/
.contenedor-botonlogin { display: inline-block; }

.circulo-login {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border: 1px solid white;
  border-radius: 50%;
  font-size: 15px;
  color: white;
  transition: all .5s ease; }
  
.fa-times { font-size: 15px; }
.hover-times:hover { border-color:#C70000; color:#C70000; }
.hover-angle:hover { border-color:#BAFF00; color:#BAFF00; }

.circulo-login:focus { outline: none; }

/*######################## DESPLEGABLE - LOGIN ########################*/
.contenedor-downlogin{
  visibility: hidden;
  opacity: 0;
  position: absolute;
  width: 410px;
  height: 190px;
  top: 80px;
  right: -35px;
  padding: 20px;
  text-align: left;
  border: 1px solid white;
  border-radius: 20px;
  background-color: #494949;
  background-image: var(--pattern);
  transition: all .3s ease;
  -webkit-box-reflect: below 0px linear-gradient(to top, rgba(0, 0, 0, .5), rgba(255,255,255,0) 25%);}

.contenedor-downlogin:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: rgba(255,255,255,.1);}

.contenedor-downlogin:focus { outline: none; }

.verlogin {visibility: visible; opacity: 1;}

/*######################## DESPLEGABLE - IMAGEN PERFIL ########################*/
.contenedor-imgavatar {
  position: relative;
  float: left;
  width: 150px;
  height: 150px;
  border: 1px solid white;
  background: #2A2A2A; }

.contenedor-imgavatar:before {
  content: '';
  position: absolute;
  left: 1px;
  top: 1px;
  width: 0;
  height: 0;
  border-top: 144px solid rgba(255,255,255,.1);
  border-right: 144px solid transparent;
  border-bottom: 144px solid transparent;}

/*######################## DESPLEGABLE - INFORMACIÓN USUARIO ########################*/
.info-downlogin{
  float: left;
  padding: 0 8px;
  font-family: OPENSANS;
  font-size: 14px;
  color: white; }

/*######################## CONTENEDOR BOTONES SALIR - CERRAR ########################*/
.contenedor-btns{ position: absolute; right: 20px; bottom: 20px; }

/*######################## DESPLEGABLE - BOTÓN PERFIL Y BOTÓN SALIR ########################*/
.btn-perfil, .btn-salir {
  text-decoration: none;
  padding: 2px 15px;
  font-family: OPENSANS;
  font-size: 16px;
  color: white;
  border: 1px solid white; }

.btn-perfil { background: #068000; }
.btn-salir { background: #940000; margin-left: 5px; }

.btn-perfil:hover { color: #068000;  border-color: #068000;  background: white; font-weight: bold; }
.btn-salir:hover { color: #940000; border-color: #940000; background: white; font-weight: bold; }

@media only screen and (max-width: 420px) {
  .contenedor-login { padding: 0; }
  .contenedor-nombreavatar { display: none; }
  .contenedor-avatar { width: 36px; height: 36px; }
  .circulo-login { width: 24px; height: 24px; margin: 6px; padding: 1px; }

  .contenedor-downlogin { width: 350px; height: 151px; top: 90px; right: -55px; padding: 15px; }
  .contenedor-imgavatar { width: 120px; height: 120px; }
  .info-downlogin { width: 61%; }
  .contenedor-btns { right: 16px; bottom: 16px; }
}