
/* Use this to override the sizes and colors for theme */
html {
    font-size: 18.5px;
    line-height: 1.6;
}

#toast-container {
  max-width: 800px;
  min-width: 220px;
  z-index: 1000000;
  padding: 12px;
  max-height: 80%;
  overflow-y: scroll;
  top: 20px;
}

.toast {
  cursor: pointer;
  word-break: break-word;
  padding: 4px 8px 6px 16px;
  background-color: #dcf3ff;
  color: #555;
  font-size: 1rem;
  font-family: 'Barlow Semi Condensed', sans-serif;
  /* border: 1px solid #009AD1; */
  /* max-height: 108px; */
  min-width: 350px;
  line-height: 24px;
  height: auto;
  overflow: hidden;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.04), 0 8px 10px -2px rgba(0, 0, 0, 0.04), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  flex-direction: column;
  align-content: stretch;
}

label {
    font-size: 1rem;
}

.toast .toast-top {
  display: flex;
  flex-direction: row;
  align-content: space-between;
  width: 100%;
}

.toast.title {
  transform: uppercase;
  display: inline-block;
  flex: 9 0 auto;
  text-align: right;
}

.toast.new-message {
  color: #aaa;
  display: inline-block;
}

.toast-body {
  /* position:absolute; */
  top:0;
  left:0;
  font-size:18px;
  font-family: 'Barlow Semi Condensed',
  sans-serif;
  padding: 1px 4px 6px 10px;
  margin-bottom: 4px;
  color:#444;
  width: 100%;
}

.toast-body.big {
  font-family: Anaheim, 'Barlow Semi Condensed';
  font-size: 32px;
  line-height: 46px;
}

.toast-title.group {
  color: #947a10;
}

.toast-title {
  /* position:absolute; */
  right:8px;
  top:0;
  font-size:0.8rem;
  font-family: Anaheim;
  padding:2px 4px;
  color:#009AD1;
  flex: 9 0 auto;
  text-align: right;
}

.toast-close {
  content: '';
  /* position:absolute; */
  left:0px;
  top:0px;
  width: 30px;
  max-width: 30px;
  height: 30px;
  font-size:0.8rem;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0.05;
  flex: 1 1 auto;

}


.toast:hover .toast-close {
  opacity: 0.5;
  color: teal;
}
.toast-close:hover {
  opacity: 1;
  transform: scale(1.2);
  transition: scale 1s;
}

.tabs {
  padding: 0px 0;
}

#leftNavTabs.tabs  {
  height: 64px;
}

#leftNavTabs.tabs .tab a {
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: center;
}

#leftNavTabs.tabs .tab img {
  /* margin: 0 12px; */
  height: 64px;
  width: 64px;
}

#leftNavTabs.tabs .indicator {
  display: none;
}

#leftNavTabs.tabs .tab a.active {
  border-bottom: 4px solid;
  border-color: #00ced13e;
}

#slide-out:hover .tabs a.active {
  background-color: #00ced152;
}

#slide-out:hover .tabs {
  background-color: #00ced13e;
}

/* For Recents */
.sidenav {
  width: 30vw;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  transition: box-shadow 0.25s ease-in;
}


.sidenav.theme-bold {
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: Montserrat, sans-serif;
}

.sidenav:hover {
  /* width: 50vw; */
  box-shadow:  0 6px 20px 8px rgba(0,0,0,.0785);
  -webkit-box-shadow:  0 6 px 20px 8px rgba(0,0,0,.0785);
}

.last-message {
  color: #666;
  font-size: 18px;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-height: 40px;        /* fallback */
  max-height: 120px;       /* fallback */
/*  border-bottom: 2px solid #f3f5f8;
  padding-bottom: 12px; */
}

nav.theme-bold .conversation-title {
  font-weight: 600;
  letter-spacing: 0.5px;
}

body.theme-bold .media-context {
  font-weight: 600;
}

nav.theme-bold .last-message {
  color: #222;
  font-family: Montserrat, sans-serif;
}

.hover-background {
  background-color: #f3f5f8;
}

.hover-background:hover {
  background-color: #f4d8b5;
}

.collection .collection-item.avatar .organizationtitle {
    font-size: 24px;
    color: #c14e1b;
    letter-spacing: 1.2px;
    padding-left: 80px;
    display: flex;
    align-items: center;
  }

.collection .collection-item.avatar .grouptitle {
    font-size: 16px;
}

.collection .collection-item.avatar .title {
  font-size: 16px;

}
.collection .collection-item.avatar .title,
.collection .collection-item.avatar .grouptitle {
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

body.theme-bold .grouptitle {
  color: #78630e;
}

#recent-autocomplete-input {

}

#stat-autocomplete-input {

}


#user-autocomplete-input {

}

#group-autocomplete-input {

}

#individualRecentsList .group-image, #allUsersList .group-image, #orgUsers .group-image, #userGroupsList .group-image,  #individualStatsList .group-image, #allUserDrivesList .drive-image {
  left: 16px;
}

#individualRecentsList .diamond-image,  #allUsersList .diamond-image, #orgUsers .diamond-image, #userGroupsList .diamond-image, #individualStatsList .diamond-image, #allUserDrivesList .drive-image {
  left: 10px;
  margin-top: 6px;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

#individualRecentsList .group-image img, #individualRecentsList .diamond-image img, #allUsersList .group-image img, #allUsersList .diamond-image img, #orgUsers .group-image img, #orgUsers .diamond-image img, #userGroupsList .group-image img, #userGroupsList .diamond-image img {
  /* left: 8px; */
}

#individualRecentsList .collection-item.avatar, #allUsersList .collection-item.avatar, #orgUsers .collection-item.avatar, #userGroupsList .collection-item.avatar, #individualStatsList .collection-item.avatar, #allUserDrivesList .collection-item.avatar  {
  padding-left: 96px;

}
#individualStatsList .collection-item.avatar, #allUserDrivesList .collection-item.avatar,  #orgUsersList .collection-item.avatar,  #allUsersList .collection-item.avatar  {
  display: flex;
  align-items: center;
}
#individualStatsList .collection-item.avatar .groupTitle, #individualStatsList .collection-item.avatar .title,
#allUserDrivesList .collection-item.avatar .groupTitle, #allUserDrivesList .collection-item.avatar .title,
#allUsersList .collection-item.avatar .groupTitle, #allUsersList .collection-item.avatar .title,
#orgUsersList .collection-item.avatar .groupTitle, #orgUsersList .collection-item.avatar .title
 {
  font-size: 20px;
  margin-left: 12px;
}

.diamond-image, .group-image, .drive-image {
  overflow: hidden;
  border-radius: 11px;
  background: #f4f7f8;
  border: 2px solid #f4f7f8;
  width: 64px;
  height: 64px;
  position: absolute;
  border-width: 0;
}

.diamond-image.small, .group-image.small, .drive-image.small {
  width: 48px;
  height: 48px;
}

.diamond-image.medium, .group-image.medium, .drive-image.medium {
  width: 54px;
  height: 54px;
}

.diamond-image.identity, .group-image.identity, .drive-image.identity {
  width: 128px;
  height: 128px;
}
.diamond-image.identity img.profile-image, .group-image.identity img.profile-image {
  width: 128px;
  height: 128px;
}

.diamond-image.favorites, .group-image.favorites {
  width: 72px;
  height: 72px;
  position: unset;
  padding: 0;
}

.diamond-image.favorites img.favorites, .group-image.favorites img.favorites {
  width: 72px;
  height: 72px;
}

.diamond-image.favorites img.favorites {
  transform: transform: scale(1.5) translateX(-37.5%) translateY(-33%) rotateZ(45deg);;
}
.group-image.favorites img.favorites {
  /* transform: scale(1) translateX(0) translateY(-10%); */
}
.diamond-image.large, .group-image.large, .drive-image.large {
  width: 256px;
  height: 256px;
  margin: auto;
  margin-bottom: 12px;
  position: unset;
}

.diamond-image.large {
  transform: translateX(50%) rotateZ(-45deg) scale(.87);
}

.diamond-image.large .profile-image.large {
  transform: rotate(45deg) translateX(-70%) scale(1.4);
}

.diamond-image.members {
  position: unset;
  transform-origin: 50% 50%;
  transform: translateX(25%) rotateZ(-45deg) scale(1);
}

.diamond-image {
  transform-origin: 0% 100%;
  transform: translateX(60%) rotateZ(-45deg) scale(.87);
  transition: transform .2s ease-out;
  background-color: #bde5f1;
}

.group-image {
  border-radius: 50%;
  background-color: #cdbe81;
}

.drive-image {
  /* border-radius: 20%; */
  background-color: transparent;
}

.diamond-image img, .group-image img, .drive-image img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  margin: auto;
  /* padding: 16px; */
}

.diamond-image img {
  transition: transform .2s ease-out;
  transform-origin: 0 100%;
  transform: scale(1.4) translateX(-35%) translateY(-35%) rotateZ(45deg);
}

.group-image img {
  border-radius: 50%;
  padding: 0;
}

.drive-image img {
  /* border-radius: 50%; */
  padding: 0;
  background-color: #f3dbaa;
}

.diamond-image.small img, .group-image.small img, .drive-image.small img {
  width: 48px;
  height: 48px;
}

.popup-list-item.clear .diamond-image {
  position: absolute;
}
/*
 * New Popup Styles - flexbox
 */
.popup-container {
  position: absolute;
  left: 64px;
  right: 48px;
  height: 100%;
  top: 0;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: stretch; // space-between
}



.popup-header {
  display: flex;
  align-content: space-between;
  align-items: center;
  justify-items: stretch;
  justify-content: flex-start;
  flex-direction: row;
  top: 0;
  width: 100%;
  margin-top: 4px;
  z-index: 150;
}
.popup-container .popup-header {
  margin-top: 2.25rem;
  height: 6vh;
  position: absolute;
}

.popup-header h4 {
  font-size: 2rem;
  color: #0090c0;
  font-family: 'Rajdhani', sans-serif;
  flex: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  justify-items: center;
}

.popup-container .popup-header  h4 {
  padding-top: 1.25vh;
  padding-bottom: 1.25vh;
  font-size: 2.25rem;
}

.popup-header .close {
  top: 24px;
    width: 64px;
    height: 64px;
    z-index: 10005;
}

.popup-icons-top-row {
  display: flex;
  flex-direction: row-reverse;
  align-content: space-between;
  align-items: center;
  height: 64px;
  justify-content: stretch;
  justify-items: center;
}

.popup-icon-top {
  width: 64px;
  height: 64px;
  margin-left: 6px;
  display: flex;
  /* justify-items: center; */
  align-items: center;
  cursor: pointer;
}


.popup-content {
  position: absolute;
  top: 7.5vh;
  bottom: 7.5vh;
  flex: 12;
  display: flex;
  align-items: stretch;
  justify-items: center;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
}

#mentions-popup-container {
    display: flex;
    z-index: 10000;
    background: #fcffef;
    width: 80%;
    max-width: 600px;
    padding: 12px 0px;
    /* max-height: 60%; */
    /* position: relative; */
    bottom: 164px;
    top: unset;
    max-height: 80%;
    position: fixed;
    border-radius: 24px;
    margin-left: 24px
}

#mentionsList .popup-list-item-title {
  font-family: Rajdhani;
  color: teal;

}

#mentionsList .popup-list-item {
  padding: 0 36px;
  border-bottom: 0px transparent;
  min-height: 84px;
}

#mentionsList .popup-list-item:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

#mentionsList .popup-list-item-aux {
  opacity: 0.0;
}

#mentionsList .popup-list-item:hover .popup-list-item-aux {
  opacity: 1.0;
}


#reactionSettingsContent {
  justify-content: flex-start;
}

#custom-reactions-input-container {
  border: 1px solid lightgray;
  padding: 32px;
}

.row.half {
  width: 50%;
}

.popup-content-block {
  padding: 0.5vh 0 0.5vh 0;
}

.popup-content-block p {
  font-size: 1.2vmax;
  color: #333;
}


.popup-list {

}
.popup-list-item, .dropdown-list-item {
  min-height: 112px;
  padding-left: 0px;
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  line-height: 1.5rem;
  flex: 10 1 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px dotted #ddd;
}

.popup-list-item {
  justify-content: space-between;

}
.popup-list-item.last {
  border-bottom: 0px dotted #ddd;

}

.popup-list-item.icon img {
  background-color: rgb(229, 235, 238);
  margin-left: 4px;
  padding:6px;
}

.popup-list-item.clear img {
  background-color: transparent;
  /* margin-left: 4px; */
  position: absolute;
}

.popup-list-item-badge {
  position: absolute;
  font-family: Montserrat, "Barlow Semi Condensed", sans-serif;
  left: 40px;
  top: 0px;
  min-width: 20px;
  height: 24px;
  width: 24px;
  line-height: 18px;  /* match the height element */
  border-radius: 50%;
  vertical-align: top;
  background-color: #FC3C37;
  padding: 4px;
  text-align: center;
  color: #ffffff;
  font-size: 12px;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.popup-list-item-title, .dropdown-list-item-title  {
  font-size: 1.33rem;
  font-weight: 500;
  color: #c14e1b;
  letter-spacing: 1px;
  padding-left: 84px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  flex-basis: 2 0 auto;
  cursor: pointer;
}

.dropdown-list-item svg {
  line-height: 64px;
    padding: 8px;
    width: 64px;
    height: 64px;
    color: #0090c0;
}


.dropdown-list-item-title  {
  text-transform: uppercase;
}

.dropdown-list-item-title .main-title {
  display: flex;align-items: center;
}

.popup-list-item-title.user {
  color: #009ad1;
}

.popup-list-item-title.group {
  color: #947a10;
}


.popup-list-item-title.stack, .dropdown-list-item-title.stack {
  flex-direction: column;
  align-items: flex-start;
}
.popup-list-item-title.stack:hover .popup-list-item-subtitle {
  color: rgba(0, 0, 0, 0.8);

}
.popup-list-item-subtitle, .dropdown-list-item-subtitle {
  font-size: 1rem;
  padding-left: 12px;
  color: rgba(0, 0, 0, 0.3);
  flex-basis: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  ;
}

.popup-list-item-title.stack .popup-list-item-subtitle, .dropdown-list-item-title.stack .dropdown-list-item-subtitle {
  padding-left: 0;
  padding-top: 12px;
  text-transform: none;

}

.popup-list-item-subtitle .highlighter {
  background-color: #e4ff00;
  padding-top: 0;
}

.popup-list-item-title.stack .popup-list-item-subtitle.compact, .popup-list-item-subtitle.compact  {
  padding-top: 0;
}

.popup-list-item-aux {
  font-size: 1.8vh;
  padding-left: 12px;
  color: rgba(0, 0, 0, 0.6);
  text-align: right;
}

.popup-list-item-icon {

}

.popup-footer {
  height: 8.5vh;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  justify-items: stretch;
  flex-direction: row;
  /* background-color: #aaa; */
  position: absolute;
  bottom: 0;
  width: 100%
}

.popup-footer.compact {
  height: 7.5vh;

}

#popup-footer-input, #popup-address-book-footer-input {
  position: absolute;
  left: 0;
}

.code {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

/*
 *
 * For Hexagon
 */
 svg {
  /* width:30%; Changed this to manage FontAwesome 6 - might have some side effects - Sandeep */
  margin:0 auto;
}

#hex{
  stroke-width:0;
  stroke: gray;
  fill-opacity:0.95;
  transition:fill-opacity .8s;
}
#hex:hover{
  fill-opacity:1;
}
#text{
  stroke-width:0;
  stroke:white;
  fill-opacity:0.4;
  fill:teal;
  transition:fill-opacity .8s;
}
#hex:hover + #text{
  fill-opacity:1;
}

.clip-hexagon {
  position: absolute;
  clip-path: polygon(46% 0%, 92% 20%, 98% 70%, 54% 100%, 8% 80%, 2% 30%);
}

.clip-chevron-right {
  position: absolute;
  clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.clip-chevron-left {
  position: absolute;
  clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
}

/* Rabbet Shape for Associate User Group */
.clip-associate-user-group {
  position: absolute;
  clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
}

.associate-user-group-image {
  position: absolute;
  width: 64px;
  height: 64px;
  clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
  background-color: #e8a49094;
}

.clip-team {
  position: absolute;
  clip-path: polygon(50% 0%, 83% 12%, 100% 43%, 94% 78%, 68% 100%, 32% 100%, 6% 78%, 0% 43%, 17% 12%);
}

.pentagon {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 44%, 82% 100%, 18% 100%, 0% 44%);
}
.hexagon {
  clip-path: polygon(46% 0%, 92% 20%, 98% 70%, 54% 100%, 8% 80%, 2% 30%);
}
.clip-diamond {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.clip-rabbet {
  position: absolute;
  clip-path: polygon(10% 25%, 25% 25%, 25% 10%, 75% 10%, 75% 25%, 90% 25%, 90% 75%, 75% 75%, 75% 90%, 25% 90%, 25% 75%, 10% 75%);
}

.clip-drive {
  position: absolute;
  clip-path: polygon(9% 0, 54% 0, 100% 41%, 100% 60%, 80% 100%, 20% 100%, 0 85%, 0% 20%);

}

.diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.message-box {
  position: absolute;
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 88.8% 74.5%, 72.5% 99.3%, 71.8% 75.3%, 0% 75%);
}

.light-bg {
  background: -webkit-gradient(linear,right top,left top,from(hsla(0,0%,96.9%,0)),to(#f7f7f7));
  background: linear-gradient(-90deg,hsla(0,0%,96.9%,0),#f7f7f7);
}
/* Image - Diamond with rounded curves */

.user-image {
    transform-origin: 0 100%;
    overflow: hidden;
    border-radius: 11px
}


.user-image img {
    display: block;
    width: 100%;
    border-radius: 11px;
    min-height: 50px;
    transition: height .2s ease-in-out
}

.user-image .js-gravatar {
    width: 100%
}


.user-image.selected {
    background: #d33a2c;
    border: 3px solid #d33a2c;
}

.user-image {
    background: #d33a2c;
     /* border: 2px solid #aaa;  5px solid #d33a2c */
}

.user-image::before {
    content: '';
    width: 1px;
    margin-left: -1px;
    float: left;
    height: 0;
    padding-top: calc(1px * 100%)
}

.user-image::after {
    content: '';
    display: table;
    clear: both
}


.user-image-wrapper .user-image {
    transform: translateX(60%) rotateZ(-45deg) scale(.87); /*translateX(15%) rotateZ(-11deg) scale(.87);*/
    transition: transform .2s ease-out
}

.user-image-wrapper .user-image img {
    transition: transform .2s ease-out;
    transform-origin: 0 100%;
    transform: scale(1.4) translateX(-35%) translateY(-35%) rotateZ(45deg); /* scale(1.2) translateX(-16%) translateY(-3%) rotateZ(11deg) */
}

.user-image-wrapper::after {
    transition-duration: .2s;
    opacity: 1;
    transform: scaleX(1)
}

.user-image-wrapper::before {
    display: block;
    content: '';
    height: 90%;
    width: 160%;
    position: absolute;
    background-image: url(../images/shadow.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    top: 89%;
    left: -30%;
    right: 0;
    transition: all .1s ease-out;
    transform-origin: 30% 50%;
    pointer-events: none
}

.user-image-wrapper:hover .user-image,a:active .user-image-wrapper .user-image,a:focus .user-image-wrapper .user-image,a:hover .user-image-wrapper .user-image {
    transform: translateX(15%) rotateZ(0) scale(.87); /* sandeep */
}

.user-image-wrapper:hover img,a:active .user-image-wrapper img,a:focus .user-image-wrapper img,a:hover .user-image-wrapper img {
    transform: scale(1.2) translateX(-10%) translateY(6%) rotateZ(0); /* sandeep */
}

.user-image-wrapper.selected {
    transform: scale(1.2) translateX(-10%) translateY(6%) rotateZ(0); /* sandeep */
}

.user-image-wrapper:hover::before,.settings__image-wrapper:hover::before,a:active .user-image-wrapper::before,a:focus .user-image-wrapper::before,a:hover .user-image-wrapper::before {
    opacity: 0;
    transform: scaleX(0)
}

.user-image-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 48px;
    max-width: 64px
}

/* Notification Button  */
.notification-button {
  position: fixed;
    right: 23px;
    top: 64px;
    padding-top: 15px;
    margin-bottom: 0;
    width: 64px;
    height: 64px;
    z-index: 997;
    display: flex;
    align-content: center;
}

.notification-item-button {
  display: inline-block;
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 64px;
  height: 64px;
  line-height: 40px;
  padding: 0;
  background-color: #d91e43;
  border-radius: 50%;
  transition: background-color 0.3s;
  cursor: pointer;
  vertical-align: middle;
  display: flex;
  align-content: center;

}

.btn-floating.notification-item-button {
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  /* justify-items: center;
  justify-content: center; */
  align-items: center;
  align-content: center;
  background-color: #009ad1;
}

#notification-container-trigger {
  top: 96px;
  right: 12px;
  bottom: unset;
  z-index: 1000000;
}

a {
  cursor: pointer;
}

a:hover {
  text-decoration: unset;
  color: unset;
}

.datepicker-day-button {
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1.2px;
}

@media screen and (max-width: 600px) {
  .diamond-image, .group-image, .drive-image {
    width: 32px;
    height: 32px;
  }
  .collection-item.avatar.list-picker-item {
    line-height: 48px;
    min-height: 48px;
  }
  #listPickerList {
    left: 12px;
    right: 12px;
  }
  .modal .modal-content {
    padding: 16px 12px;
  }
  .collection .collection-item.avatar .listTitle, .listTitle
  {
    padding-left: 54px;
  }
}

@media (max-height: 900px) {
  .popup-list-item,
  .dropdown-list-item {
    min-height: 84px;
  }
}