/**********************************************
 *
 * profile page
 *
**********************************************/
.profile-header {
  font-family: 'Montserrat', 'sans-serif';
  padding: 15px 25px 5px 25px;
  background-color: #FFF;
}
.profile-header span {
  font-size: 16px;
  color: #695541;
  text-transform: uppercase;
}
.edit-profile-tool {
  font-size: 18px;
  color: #808080;
  cursor: pointer;
}
.edit-profile-tool:hover {
  color: #4B9BCD;
}
.upload-msg-success, .upload-msg-error {
  padding: 10px;
  border-radius: 5px;
  position: relative;
  top: -50px;
}
.upload-msg-success {
  color: #FFF;
  background-color: #71C68D;
}
.upload-msg-error {
  color: #AA3347;
  background-color: #EE9494;
}

.profile-area {
  margin-top: 50px;
}
.profile-pic {
  text-align: center;
  /*margin-bottom: 50px;*/
  padding-bottom: 50px;
  height: 250px;
}

.profile-pic .avatar-profile-container {
  width: 140px;
  height: 140px;
  /*background: url('../img/chatbox/default-avatar.jpeg');*/
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.profile-pic .avatar-profile-container > img {
  border-radius: 50%;
  width: 143px;
  height: 142px;
  margin-top: -2px;
  margin-left: -2px;
}

/* 
 * remove profile picture
 */
.profile-pic.confirm-remove .avatar-profile-container {
  background: rgb(0,0,0);
  position: relative;
}
.profile-pic.confirm-remove .avatar-profile-container > img {
  opacity: 0.5;
}

.confirm-remove-profile-picture {
  position: absolute;
  top: 50px;
  left: 20px;
}
.confirm-remove-profile-picture p {
  font-family: 'Montserrat', 'sans-serif';
  font-size: 12px;
  color: #FFF;
}
.confirm-remove-profile-picture .btn.cancel, .confirm-remove-profile-picture .btn.confirm {
  padding: 2px 9px;
  border: 1px solid #F7941E;
  font-family: 'Montserrat', 'sans-serif';
  font-size: 12px;
  color: #FFF;
  width: auto;
}
.confirm-remove-profile-picture .btn.cancel {
  background: transparent;
}
.confirm-remove-profile-picture .btn.confirm {
  background-color: #F7941E;
}

.change-pic-btn {
  margin: 20px 0 10px 0;
  padding: 6px 10px 4px 10px;
  background-color: #FFF;
  border-color: #4B9BCD;
  color: #4B9BCD;
  font-size: 11px;
}
.change-pic-btn:hover {
  background-color: #4B9BCD;
  color: #FFF;
}
.change-pic-btn span {
  vertical-align: super;
}
.change-pic-btn span.uploading-photo {
  margin-left: 28px;
}
.profile-pic .err-upload-photo {
  font-size: 11px;
  width: 150px;
  padding: 5px;
  margin: 0 auto;
}
.profile-pic .remove-chatbox-bt {
  position: relative;
  left: 5px;
  top: 5px;
}
.remove-chatbox-bt {
  height: 20px;
  width: 20px;
  border: 0;
  cursor: pointer;
  vertical-align: middle;
  background: url(../img/preview-tools/secondary-toolsbar/icon-tool-remove.svg) no-repeat 0px 0px;
}
.remove-chatbox-bt:hover {
  background: url(../img/preview-tools/secondary-toolsbar/icon-tool-remove-blue.svg) no-repeat 0px 0px;
}

.profile-detail {
  /*font-family: 'Montserrat', 'sans-serif';*/
  font-family: 'Open Sans', 'sans-serif';
  padding: 0;
  font-size: 12px;
  color: #695541;
  margin-bottom: 30px;
}

.profile-detail li span {
  padding-left: 0;
  font-family: 'Montserrat', 'sans-serif';
}

.edit-profile, .edit-profile-input {
  width: 220px;
}
.edit-profile {
  padding: 0;
}
.edit-profile p {
  margin: 5px 0 7px 0;
  padding: 5px;
  text-align: center;
  font-size: 11px;
}
.profile-detail li span.edit-profile-text {
  padding: 0 0 17px 0;
  color: #7BAFC2;
  font-style: normal;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-detail-header {
  font-weight: bold;
  border-bottom: 2px dotted #7BAFC2;
  margin-bottom: 20px;
  padding-bottom: 2px;
  font-size: 15px;
  color: #4B4137;
  position: relative;
}
.edit-profile-text .edit-profile-tool {
  font-size: 14px;
  position: absolute;
  right: 0;
  top: 0;
}
.edit-email-field, 
.edit-password-field {
  padding: 0;
}
.edit-email-field {
  margin-top: 10px; 
}
.edit-email-field .edit-profile-input {
  height: 30px;
}

.edit-field-slideup {
  transition: .5s linear all;
  -webkit-transition: .5s linear all;
  -moz-transition: .5s linear all;
  -o-transition: .5s linear all;
  -ms-transition: .5s linear all;
  height: 220px;
  overflow: hidden;

  position: relative;
  top: -35px;
  background-color: #DCF0FA;
  border-radius: 5px;
  padding: 0;
  font-family: 'Montserrat', 'sans-serif';
}
.edit-field-slideup.ng-hide {
  height:0;
}

.edit-field-slideup input:focus {
  border: 1px solid #0587B9;
}
.edit-profile-text.email.show, 
.edit-profile-text.password.show {
  visibility: hidden;
}

.edit-field-slideup .edit-profile-input {
  border-color: #FFF;
}
.edit-field-slideup .btn-edit-profile-group {
  margin-bottom: 0;
  margin-top: 10px;
  padding-left: 0;
}
.edit-field-slideup p, 
.edit-field-slideup span {
  color: #3C3228;
}
.edit-field-slideup p {
  font-family: 'Open Sans', 'sans-serif';
  margin-bottom: 15px;
}
.edit-field-slideup .request-password-form p {
  text-indent: 15px;
}

.edit-field-slideup .outer{
  display: table;
  position: absolute;
  height: 100%;
  width: 100%;
}

.edit-field-slideup .inner{
  display: table-cell;
  vertical-align: middle;
}

.edit-field-slideup .inner .change-email-form,
.edit-field-slideup .inner .change-password-form,
.edit-field-slideup .inner .request-password-form {
  padding: 0 15px;
  position: relative;
}

.edit-field-slideup .notification {
  position: absolute;
  top: 20px;
  z-index: 10;
  padding: 3px 10px;
  transition: .5s linear all;
  -webkit-transition: .5s linear all;
  -moz-transition: .5s linear all;
  -o-transition: .5s linear all;
  -ms-transition: .5s linear all;
  opacity: 1;
}
.edit-field-slideup .notification.ng-hide {
  opacity: 0;
}
.edit-field-slideup .notification.triangle-isosceles.top:after {
  top: -7px;
  left: 15px;
  border-width: 0 5px 7px;
}

.request-password-form {
  padding-top: 10px;
}
.edit-field-slideup .forget-pass-btn {
  background-color: transparent;
  border: 0;
  position: relative;
  top: -12px;
  font-family: 'Open Sans', 'sans-serif';
  font-style: italic;
  font-size: 12px;
  color: #3C3228;
}

.edit-profile-input {
  font-family: 'Montserrat', 'sans-serif';
  margin-bottom: 10px;
  padding: 3px 0 3px 15px;
  border: 1px solid #D1D3D4;
  border-radius: 8px;
  font-size: 12px;
  color: #7BAFC2;
  width: 100%;
}

.btn-edit-profile-group {
  padding-right: 0; 
  margin-bottom: 50px;
}
.btn-save {
  background-color: #7BAFC2;
  color: #FFF;
  font-size: 13px;
  margin-left: 7px;
  padding-bottom: 7px;
}
.btn-save:hover {
  background-color: #3773A5;
  color: #FFF;
}

.invisible-item {
  visibility: hidden;
}

.disabled-tool {
  opacity: 0.6;
}

/*
 * profile page > storage graph
 */
.storage-chart .progress-pie-border {
  border: 3px solid #4B9BCD;
  border-radius: 50%;
  width: 114px;
  margin: 0 auto;
}
.storage-chart .progress-pie-border.over-storage {
  border-color: #ED9494;
}

/* 
 * Pie Chart 
 */
.storage-chart .progress-pie-chart {
  width:100px;
  height: 100px;
  border-radius: 50%;
  background-color: #E5E5E5;
  position: relative;
}
.storage-chart .progress-pie-chart.umlimited {
  background: #7bafc2; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: -moz-linear-gradient(-45deg,  #7bafc2 0%, #dcf0fa 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#7bafc2), color-stop(100%,#dcf0fa)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg,  #7bafc2 0%,#dcf0fa 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg,  #7bafc2 0%,#dcf0fa 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(-45deg,  #7bafc2 0%,#dcf0fa 100%); /* IE10+ */
  background: linear-gradient(135deg,  #7bafc2 0%,#dcf0fa 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7bafc2', endColorstr='#dcf0fa',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
}

.storage-chart .progress-pie-border.over-storage .progress-pie-chart {
  background-color: #ED9494;
}

.storage-chart .progress-pie-chart.gt-50 {
  background-color: #0587B9;
}

.storage-chart .ppc-progress {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 50px);
  top: calc(50% - 50px);
  width: 100px;
  height: 100px;
  clip: rect(0, 100px, 100px, 50px);
}
.storage-chart .ppc-progress .ppc-progress-fill {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 50px);
  top: calc(50% - 50px);
  width: 100px;
  height: 100px;
  clip: rect(0, 50px, 100px, 0);
  background: #4B9BCD;
  transform: rotate(0deg);
}
.storage-chart .ppc-progress .ppc-progress-fill.unlimited,
.storage-chart .progress-pie-border.over-storage .progress-pie-chart .ppc-progress .ppc-progress-fill {
  background: transparent;
}

.storage-chart .gt-50 .ppc-progress {
  clip: rect(0, 50px, 100px, 0);
}
.storage-chart .gt-50 .ppc-progress .ppc-progress-fill {
  clip: rect(0, 100px, 100px, 50px);
  background: #E5E5E5;
}

.storage-chart .ppc-percents {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 60px/2);
  top: calc(50% - 60px/2);
  width: 60px;
  height: 60px;
  background: #fff;
  text-align: center;
  display: table;
}
.storage-chart .ppc-percents span {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: #81CE97;
}
.storage-chart .ppc-percents p {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #695541;
  margin: 0;
}
.storage-chart .ppc-percents p.number {
  font-size: 15px;
  color: #3773A5;
}

.storage-chart .pcc-percents-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.storage-chart .progress-pie-chart {
  /* margin: 50px auto 0; */
  margin: 4px;
}

.storage-chart {
  margin-bottom: 50px;
  padding: 0 55px;
}
.storage-chart p, .storage-chart p span {
  font-family: 'Montserrat', 'sans-serif';
  font-size: 15px;
  color: #4B4137;
  margin-top: 15px;
  text-align: center;
}
.storage-chart p span {
  color: #8EB734;
}
