.modal-auth .modal-dialog-vertical {
  display: table;
  height: 100%;
  width: 800px;
  padding: 15px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .modal-auth .modal-dialog-vertical {
    width: 100%;
  }
}
.modal-auth .modal-dialog-vertical .modal-dialog {
  display: table-cell;
  vertical-align: middle;
}
.modal-auth .close {
  position: absolute;
  top: 7px;
  right: 10px;
  outline: none;
  box-shadow: none;
  color: #000;
  font-size: 20px;
  opacity: 0.5;
  z-index: 2;
}
.modal-auth .close:focus, .modal-auth .close:active {
  color: #000;
}

.auth-block .auth-toolbar {
  list-style: none;
  margin: 0;
  padding: 0;
}
.auth-block .auth-toolbar .auth-user.user-notlogged {
  display: block;
}
.auth-block .auth-toolbar .auth-user.user-logged {
  display: none;
}
.auth-block .auth-toolbar .auth-user > a {
  padding: 2px 15px;
  background-color: #1769d8;
  color: #fff;
  border-radius: 25px;
  display: inline-flex;
  line-height: 30px;
  justify-content: center;
  align-items: center;
}
.auth-block .auth-toolbar .auth-user > a:hover {
  box-shadow: inset 0 0 10px #1769d8;
}
.auth-block .auth-toolbar .auth-user > a > i {
  font-size: 22px;
}
.auth-block .auth-toolbar .auth-user .avatar {
  margin-right: 5px;
  display: flex;
}
.auth-block .auth-toolbar .auth-user .avatar i {
  font-size: 18px;
}
.auth-block .auth-toolbar .auth-user .avatar img {
  border-radius: 50%;
}
.auth-block .auth-toolbar .auth-user .user {
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  padding-right: 6px;
}
.auth-block .auth-toolbar .auth-user .user i {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.auth-block .auth-toolbar .auth-user .auth-profile {
  margin-top: 10px;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0px 0px 3px 3px;
  padding: 0 15px;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 18px;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item:before {
  width: 12px;
  height: 12px;
  border: solid #e5e5e5;
  border-width: 0 1px 1px 0;
  content: "";
  position: absolute;
  top: -7px;
  right: 23px;
  background: #fff;
  transform: rotate(225deg);
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item .dropdown-item {
  padding: 10px 0;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item .auth-account {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 15px 0;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item .avatar-sub {
  margin-right: 5px;
  display: flex;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item .avatar-sub img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item .user-sub {
  font-size: 18px;
  font-weight: 500;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item a {
  display: block;
  color: #4f4f4f;
}
.auth-block .auth-toolbar .auth-user .auth-profile .profile-item a:hover {
  color: #1266d6;
}
.auth-block.authenticated .auth-toolbar .auth-user.user-notlogged {
  display: none;
}
.auth-block.authenticated .auth-toolbar .auth-user.user-logged {
  display: block;
}