/**********************************************
 *
 * left sidebar menu
 *
 **********************************************/

.nav-side-menu {
  overflow: auto;
  font-size: 12px;
  font-weight: 200;
  background-color: #FFF;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 200px;
  /*height: 100%;*/
  color: #000;
  /*z-index: 1000;*/
  z-index: 1;
  border-right: 1px solid #D1D3D4;
  padding-left: 0;

  /* set transition animation */
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s; 
}
.modal .nav-side-menu {
  height: 100%;
  min-height: 460px;
}
/*.nav-side-menu .nav-header {
  background-color: #23282e;
  line-height: 50px;
  display: block;
  text-align: center;
  font-size: 14px;
}*/
.nav-side-menu .toggle-btn {
  display: none;
}

/* 
 * app logo in side bar
 */
.app-logo {
  text-align: center;
  height: 60px;
  background-color: #FFF

}
.app-logo img {
  cursor: pointer;

  /* set transition animation */
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s; 

  opacity: 0;
  position: absolute;
}

.nav-side-menu .app-logo img.normal-size {
  opacity: 1;

  top: 0;
  left: 15px;

  width: 170px;
  height: 60px;
}

.nav-side-menu .app-logo img.small-size {
  width: 67px;
  height: 60px;

  left: 2px;
}

/*
 * app logo in guest page
 */
.guest-page .app-logo {
  display: inline;
}
.guest-page .app-logo img {
  opacity: 1;
  width: 67px;
  height: 60px;
  left: 0px;
  top: 0;
}

/**********************************************
 *
 * left side bar - profile 
 *
 **********************************************/

.notify-arrow {
  right: 7px;
}
.notify-arrow-white {
  border-color: transparent transparent #FFF;
  border-bottom-color: #FFF !important;
}

#header_inbox_bar .badge {
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 100;
}

.show-user-detail .profile {
  padding: 0 14px;
  font-size: 12px;
  text-align: center;
  margin-bottom: 15px;
}

.show-user-detail .profile:hover,
.show-user-detail .small-profile:hover,
.show-user-detail .profile-username:hover {
  cursor: pointer;
}

.show-user-detail.show .profile-username {
  min-height: 48px;
}

.show-user-detail .username {
  font-family: 'Montserrat', 'sans-serif';
  font-size: 12px;
  color: #3C3228;
  padding-left: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 270px;
  display: inline-block;
}

.avatar-dropdown-container,
.avatar-profile-container {
  /*background: url('../img/chatbox/default-avatar.jpeg');*/
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
}
.avatar-dropdown-container {
  width: 30px;
  height: 30px;
  position: relative;
  top: -5px;
}
.avatar-profile-container {
  width: 70px;
  height: 70px;
}

.avatar-dropdown-container > img {
  border-radius: 50%;
  width: 31px;
  height: 31px;
  margin-top: -2px;
  margin-left: -2px;
}
.avatar-profile-container > img {
  border-radius: 50%;
  width: 70px;
  height: 70px;
}

.name, 
.logout .setting,  
.logout .signout {
  font-family: 'Montserrat', 'sans-serif';
}
.name {
  font-size: 15px;
  color: #4B9BCD;
  padding-bottom: 2px;
  margin-top: 5px;
}
.email, .tel {
  color: #3C3228;
  font-size: 11px;
}
.name, .email, .tel {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
  overflow: hidden;
}

.short-profile {
  border-bottom: 2px dotted #7BAFC2;
  padding-bottom: 15px;
}

.used-storage {
  margin: 0 auto 10px auto;
}

.dropdown-menu.extended.logout > li:last-child {
  background-color: #7BAFC2;
}
.dropdown-menu.extended li a {
  padding: 0;
}

.storage-detail {
  text-align: center;
  font-family: 'Montserrat', 'sans-serif';
  font-size: 10px;
  margin-bottom: 10px;
}
.free-space.unlimited span {
  color: #8EB734;
}

.logout .setting, 
.logout .signout {
  font-size: 11px;
  color: #0587B9;
  text-align: center;
  margin: 0 5px;

  position: relative;
  height: 35px;
}
.logout .setting span, 
.logout .signout span {
  cursor: pointer;

  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 10px;
}
.logout .setting:hover, 
.logout .signout:hover {
  background-color: #F0F9FD;
}
.logout .setting {
  border-top: 1px solid #D1D3D4;
}
.logout .signout {
  border-top: 1px solid #E6E7E8;
}

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

.user-profile {
  border-top: 2px solid #7BAFC2;
}
.user-profile .avatar-dropdown-container {
  width: 40px;
  height: 40px;
  position: relative;
  top: 7px;
  left: 15px;
}

/*
 * avatar color set
 */

 /* user in app user set0 only */
.avatar-dropdown-container.set-0 {
  background-color: #FFF;
  color: #0587B9;
  border: 1px solid #0587B9;
}
/*.avatar-dropdown-container.set-1 {
  background-color: #F9B9B9;
  color: #C15959;
}
.avatar-dropdown-container.set-2 {
  background-color: #6F4C8E;
  color: #DFBEFC;
}
.avatar-dropdown-container.set-3 {
  background-color: #1C75BC;
  color: #A6E0ED;
}
.avatar-dropdown-container.set-4 {
  background-color: #A6E2D6;
  color: #4588A1;
}
.avatar-dropdown-container.set-5 {
  background-color: #8DC63F;
  color: #006838;
}
.avatar-dropdown-container.set-6  {
  background-color: #FFED17;
  color: #F77C1E;
}
.avatar-dropdown-container.set-7 {
  background-color: #F7941E;
  color: #CE4728;
}
.avatar-dropdown-container.set-8 {
  background-color: #F25151;
  color: #842828;
}*/

.show-user-detail .avatar-dropdown-container > img {
  width: 41px;
  height: 41px;
}
.user-profile .avatar-dropdown-container .avatar-name {
  font-size: 16px;
  margin-top: 10px;
}

.user-profile .logout { 
  position: absolute;
  right: 0;
  left: 0;
  top: 125px;
  background-color: #FFF;
}

.user-profile .avatar-dropdown-container {
  display: inline-block;
}

.user-profile .show-user-detail,
.user-profile .avatar-dropdown-container,
.show-user-detail .avatar-dropdown-container > img,
.user-profile .avatar-dropdown-container .avatar-name,
.user-profile .show-user-detail .fa,
.user-profile .username {
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s; 
}

.user-profile .show-user-detail.show {
  height: 400px;
  background-color: #FFF;
}

.user-profile .show-user-detail.show .avatar-dropdown-container {
  left: 63px;
}

.user-profile .show-user-detail.show .avatar-dropdown-container {
  width: 70px;
  height: 70px;
}
.show-user-detail.show .avatar-dropdown-container > img {
  width: 72px;
  height: 72px;
}

.user-profile .show-user-detail.show .avatar-dropdown-container .avatar-name {
  margin-top: 15px;
  font-size: 30px;
}

.user-profile .logout .profile-footer {
  width: 100%;
  height: 20px;
  background-color: #7BAFC2;
}

.user-profile .fa-user {
  font-size: 18px;
  margin-right: 5px;
}

.user-profile .show-user-detail {
  background-color: #7BAFC2;
  padding: 7px 0 9px 0;
  height: 70px;
  width: auto;
  overflow: hidden;
  margin-bottom: 0;

  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  z-index: 10;
}
.user-profile .show-user-detail:hover {
  cursor: pointer;
}
.user-profile .show-user-detail.show:hover {
  cursor: default;
}

.show-user-detail.show .profile i.fa-chevron-circle-up,
.user-profile .show-user-detail i.fa-chevron-circle-down {
  font-size: 16px;
  color: #0587B9;
}

.show-user-detail.show .profile > i.fa-chevron-circle-up:hover,
.user-profile .show-user-detail:hover i.fa-chevron-circle-down  {
  cursor: pointer;
  color: #4B9BCD;
}

.profile i.fa-chevron-circle-up {
  position: absolute;
  right: 17px;
  top: -96px;
  z-index: 1;
  color: transparent;
} 

.show-user-detail.show .profile i.fa-chevron-circle-up {
  top: -76px;
  right: 30px;
  z-index: 100;
}

.user-profile .show-user-detail i.fa-chevron-circle-down {
  position: absolute;
  top: 28px;
  right: 15px;
  z-index: 10;
}

.user-profile .show-user-detail.show i.fa-chevron-circle-down {
  top: 49px;
  right: 30px;
  z-index: 1;
  color: transparent;
}

.user-profile .username {
  font-family: 'Montserrat', 'sans-serif';
  color: #FFF;
  font-size: 14px;
  position: relative;
  top: -23px;
  left: 60px;
  max-width: 100px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  float: left;
}

.user-profile .show-user-detail.show .profile-username {
  text-align: center;
}
.user-profile .show-user-detail.show .username {
  top: 25px;
  left: auto;
  right: auto;
  padding-left: 0;
  max-width: 150px;
  color: #4B9BCD;
  font-size: 16px;
  float: none;
}

/*.nav-side-menu .user-profile li {
  padding: 0;
  margin: 0;
}*/

/* 
 * Profile Pie Chart 
 */
.progress-pie-chart {
  width:60px;
  height: 60px;
  border-radius: 50%;
  background-color: #E5E5E5;
  position: relative;
}
.progress-pie-chart.unlimited {
  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 */
}

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

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

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

.ppc-percents {
  content: "";
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 37px/2);
  top: calc(50% - 37px/2);
  width: 37px;
  height: 37px;
  background: #FFF;
  text-align: center;
  display: table;
}

.ppc-percents p.number {
  display: block;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #195587;
}

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

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


/**********************************************
 *
 * left side bar - menu
 *
 **********************************************/
.menu-list {
  /* fix position absolute - no slide down when open profile detail */
  position: absolute;
  top: 132px;
  right: 0;
  left: 0;
}

.nav-side-menu .menu-list ul, 
.nav-side-menu .menu-list li {
  list-style: none;
  padding: 0px;
  margin: 0px;
  line-height: 35px;
  /*    
    .collapsed{
       .arrow:before{
                 font-family: FontAwesome;
                 content: "\f053";
                 display: inline-block;
                 padding-left:10px;
                 padding-right: 10px;
                 vertical-align: middle;
                 float:right;
            }
     }
*/
}

.nav-side-menu .menu-list ul :not(collapsed) .arrow:before,
.nav-side-menu .menu-list li :not(collapsed) .arrow:before {
  font-family: FontAwesome;
  content: "\f078";
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
  float: right;
}

/* selected menu */
.nav-side-menu .menu-list ul.active,
.nav-side-menu .menu-list li.active {
  border-left: 7px solid #7BAFC2;
  padding-left: 13px;
}
.nav-side-menu .menu-list li.active a span {
  border-bottom: 2px solid #7BAFC2;
  color: #3773A5;
}
.nav-side-menu .menu-list ul .sub-menu li.active,
.nav-side-menu .menu-list li .sub-menu li.active {
  color: #d19b3d;
}
.nav-side-menu .menu-list ul .sub-menu li.active a,
.nav-side-menu .menu-list li .sub-menu li.active a {
  color: #d19b3d;
}

/* normal menu */
.nav-side-menu .menu-list ul .sub-menu li,
.nav-side-menu .menu-list li .sub-menu li {
  background-color: #181c20;
  border: none;
  line-height: 28px;
  border-bottom: 1px solid #23282e;
  margin-left: 0px;
}
.nav-side-menu .menu-list ul .sub-menu li:hover,
.nav-side-menu .menu-list li .sub-menu li:hover {
  background-color: #020203;
}
.nav-side-menu .menu-list ul .sub-menu li:before,
.nav-side-menu .menu-list li .sub-menu li:before {
  font-family: FontAwesome;
  content: "\f105";
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
}
.nav-side-menu .menu-list li {
  padding: 0 0 0 20px;
  margin: 10px 0;
  height: 35px;
  overflow: hidden;
}

.nav-side-menu .menu-list li a, 
.nav-side-menu .menu-list li h5 {
  text-decoration: none;
  color: #4B4137;,
  font-family: 'Montserrat', 'sans-serif';
}

.nav-side-menu .menu-list li a {
  cursor: pointer;
  padding: 15px 0;
}

.nav-side-menu .menu-list li:hover a {
  padding-left: 7px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.nav-side-menu .menu-list li a img {
  width: 25px;
  height: 25px;
}

.nav-side-menu .menu-list li a span {
  font-family: 'Montserrat', 'sans-serif';
  margin-left: 15px;
  padding-bottom: 5px;
  font-size: 12px;
  vertical-align: sub;
}