.popup-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
  background: url(../sysimages/bgpopup.png) repeat left top;
  display: none;
  left: 0px;
  top: 0px;
}

.popup-new {
  background-color: #FFFFFF;
  position: fixed;
  width: 460px;
  height: auto;
  z-index: 999999;
  top: 36%;
  left: 49%;
  transform: translate(-50%,0%);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
  display:none;
}

@-webkit-keyframes animatetop {
  from {top:0px; opacity:0;}
  to {top:35%;opacity:1;}
}

@keyframes animatetop {
  from {top:0px; opacity:0;}
  to {top:35%;opacity:1;}
}

.popup-new--header {
  font-family: Arial;
  padding: 16px 10px 13px 10px;
  font-size:14px;
  background-color: #ffffff ; /* rgb(179,163,105) */
  color: rgb(179,163,105);
  border-bottom:1px solid #CCCCCC;
  font-weight:bold;
}

.popup-new--header--close {
  right: 0;
  background: url('../sysimages/close.png') no-repeat left top; 
  width:37px;
  height: 37px;
  margin-top: -31px;
  position: absolute;
  cursor: pointer;
  margin-right: -20px;
}

.popup-new--header--close:hover {
  background: url('../sysimages/closehover.png') no-repeat left top;
}

.popup-new--body {
  padding: 10px 20px 10px 20px;
}

.popup-new--body--user-photo {
  padding:10px 0 0;
}

.popup-new--body--new-photo .expression span{
  color: #CC0000
}


.expression {
  font-weight: bold;
  max-width: 100px;
  display: inline-block;
}

.user-photo {
  display: inline-block;
  width:61px;
  height: 61px;
  vertical-align: middle;
  margin-left: 20px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.uploader {
  width: 73%;
  margin-left: 19px;
  vertical-align: middle;
  position: relative;
  display: inline-block;
  cursor: default;
  padding: 0;
  overflow: hidden;
  height: 32px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
}

.filename {
  height: 100%;
  margin-top: -4px;
}

.popup-new--bottom 
{
  text-align: right;
  padding:10px 20px 10px 20px;  
}

.btn {
  width:auto;
  height:34px;
  line-height:24px;
  font-size:13px;
  font-family:Arial;
  text-decoration:none;
  font-weight:bold;
  padding:0px 15px;
  display:inline-block;
  cursor:pointer;
  border:0px;
}

.btn-default {
  background-color: #BDBDBD;
  color: #FFFFFF; 
}

.btn-primary {
  background-color: #444444;
  color: #FFFFFF; 
}

.btn-primary:hover { 
  background-color: rgb(179,163,105);
  color: #FFFFFF;
}

.file-uploader {
  position: absolute;
  background-color: rgb(179,163,105);
  color:white;
  right: 0;
  height: 100%;
  padding:7px 10px 7px 10px;
  cursor:pointer;
}

.popup-new--loading {
  position: absolute; 
  display: none;
}

.popup-new--loading img {
  width: 34px;
  height: 34px;
}

.popup-new--bottom .btn.btn-primary, .popup--bottom .btn.btn-default{
  padding: 8px 15px; 
  text-transform: unset;
}