.at-floating-navigation {
  z-index: 999999;
  position: fixed;
  right: 20px;
  bottom: 20px;
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.at-floating-navigation * {
  pointer-events: none;
}
.at-floating-navigation__user {
  display: flex;
  align-items: center;
  flex-direction: row;
  border-bottom: 1px solid #EEEEEE;
  padding: 20px;
  box-sizing: border-box;
}
.at-floating-navigation__thumbnail {
  width: 60px;
  max-width: 60px;
  min-width: 60px;
  border: 1px solid #EEEEEE;
  border-radius: 100%;
  margin: 0 20px 0 0;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
}
.at-floating-navigation__thumbnail img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 100%;
}
.at-floating-navigation__title {
  color: #444444;
  margin: 0 0 2px;
  padding: 0;
  font-size: 14px !important;
}
.at-floating-navigation__description {
  margin: 0;
  padding: 0;
  color: #999999;
  font-size: 12px;
}
.at-floating-navigation__description a {
  color: inherit;
  text-decoration: none;
}
.at-floating-navigation__button {
  pointer-events: auto;
  outline: none;
  background: #FFFFFF;
  width: 100px;
  height: 100px;
  border: 1px solid #EEEEEE;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  -webkit-transform-origin: center;
  transform-origin: center;
  transition: 200ms ease;
  cursor: pointer;
}
.at-floating-navigation__button img{
  width: 100%;
  border-radius: 50%;
  box-shadow: 6px 16px 50px 0 rgba(0, 0, 0, 0.45);
  background: white;
  padding: 3px;
}
.at-floating-navigation__menu {
  position: absolute;
  right: 0;
  bottom: 100%;
  background: #ccc;
  width: 100%;
  border: 1px solid #EEEEEE;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 0;
  transition: 200ms ease;
}
.at-floating-navigation__item {
  display: block;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #EEEEEE;
  padding: 0 20px;
  box-sizing: border-box;
  text-decoration: none;
  color: #444444;
  font-size: 12px;
  font-weight: 600;
  line-height: 40px;
}
.at-floating-navigation__item:last-child {
  border-bottom: 0;
}
.at-floating-navigation--active * {
  pointer-events: auto;
}
.at-floating-navigation--active .at-floating-navigation__button {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.at-floating-navigation--active .at-floating-navigation__menu {
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  opacity: 1;
}
/*chat*/
.chatbox-holder {
  position: fixed;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  height: 0;
}

.chatbox {
  width: 400px;
  height: 400px;
  margin: 0 20px 0 0;
  position: relative;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
  display: flex;
  flex-flow: column;
  border-radius: 10px 10px 0 0;
  background: white;
  bottom: 0;
  transition: .1s ease-out;
}

.chatbox-top {
  position: relative;
  display: flex;
  padding: 10px 0;
  border-radius: 10px 10px 0 0;
  background: rgba(0, 0, 0, .05);
}

.chatbox-icons {
  padding: 0 10px 0 0;
  display: flex;
  position: relative;
}

.chatbox-icons .fa {
  background: rgba(220, 0, 0, .6);
  padding: 3px 5px;
  margin: 0 0 0 3px;
  color: white;
  border-radius: 0 5px 0 5px;
  transition: 0.3s;
}

.chatbox-icons .fa:hover {
  border-radius: 5px 0 5px 0;
  background: rgba(220, 0, 0, 1);
}

.chatbox-icons a, .chatbox-icons a:link, .chatbox-icons a:visited {
  color: white;
}

.chat-partner-name, .chat-group-name {
  flex: 1;
  padding: 0 0 0 95px;
  font-size: 15px;
  font-weight: bold;
  color: #30649c;
  text-shadow: 1px 1px 0 white;
  transition: .1s ease-out;
}

.status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 3px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #cacaca;
  margin: 0 3px 0 0;
}

.online {
  background: #1af100;
}

.away {
  background: #ff9800;
}

.donot-disturb {
  background: #ff4343;
}

.chatbox-avatar {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  background: white;
  padding: 3px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
  position: absolute;
  transition: .1s ease-out;
  bottom: 0;
  left: 6px;
}
.flot {
    position: absolute;
    left: 16px;
}
.chatbox-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.chat-messages {
  border-top: 1px solid rgba(0, 0, 0, .05);
  padding: 10px;
  overflow: auto;
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  flex: 1;
}

.message-box-holder {
  width: 100%;
  margin: 0 0 15px;
  display: flex;
  flex-flow: column;
  align-items: flex-end;
}

.message-sender {
  font-size: 12px;
  margin: 0 0 15px;
  color: #30649c;
  align-self: flex-start;
}

.message-sender a, .message-sender a:link, .message-sender a:visited, .chat-partner-name a, .chat-partner-name a:link, .chat-partner-name a:visited {
  color: #30649c;
  text-decoration: none;
}

.message-box {
  padding: 6px 10px;
  border-radius: 6px 0 6px 0;
  position: relative;
  background: rgba(100, 170, 0, .1);
  border: 2px solid rgba(100, 170, 0, .1);
  color: #6c6c6c;
  font-size: 12px;
}

.message-box:after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
  border-top: 10px solid rgba(100, 170, 0, .2);
  border-right: none;
  bottom: -22px;
  right: 10px;
}

.message-partner {
  background: rgba(0, 114, 135, .1);
  border: 2px solid rgba(0, 114, 135, .1);
  align-self: flex-start;
}

.message-partner:after {
  right: auto;
  bottom: auto;
  top: -22px;
  left: 9px;
  border: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 114, 135, .2);
  border-left: none;
}

.chat-input-holder {
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.chat-input {
  resize: none;
  padding: 5px 10px;
  height: 40px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #999999;
  flex: 1;
  border: none;
  background: rgba(0, 0, 0, .05);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  margin-bottom: 0px !important;
}

.chat-input:focus, .message-send:focus {
  outline: none;
}

.message-send::-moz-focus-inner {
  border:0;
  padding:0;
}

.message-send {
  -webkit-appearance: none;
  background: #9cc900;
  background: -moz-linear-gradient(180deg, #00d8ff, #00b5d6);
  background: -webkit-linear-gradient(180deg, #FFC107, #FF9800);
  background: -o-linear-gradient(180deg, #00d8ff, #00b5d6);
  background: -ms-linear-gradient(180deg, #00d8ff, #00b5d6);
  background: linear-gradient(180deg, #FFC107, #FF9800);
  color: white;
  font-size: 12px;
  padding: 0 15px;
  border: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.attachment-panel {
  padding: 3px 10px;
  text-align: right;
}

.attachment-panel a, .attachment-panel a:link, .attachment-panel a:visited {
  margin: 0 0 0 7px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
}

.chatbox-min {
  margin-bottom: -362px;
/*   height: 46px; */
}

.chatbox-min .chatbox-avatar {
  width: 60px;
  height: 60px;
}

.chatbox-min .chat-partner-name, .chatbox-min .chat-group-name {
  padding: 0 0 0 75px;
}

.settings-popup {
  background: white;
  border-radius: 20px/10px;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .2);
  font-size: 13px;
  opacity: 0;
  padding: 10px 0;
  position: absolute;
  right: 0;
  text-align: left;
  top: 33px;
  transition: .15s;
  transform: scale(1, 0);
  transform-origin: 50% 0;
  width: 120px;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, .2);
  border-bottom: 2px solid rgba(0, 0, 0, .3);
}

.settings-popup:after, .settings-popup:before {
  border: 7px solid transparent;
  border-bottom: 7px solid white;
  border-top: none; 
  content: "";
  position: absolute;
  left: 45px;
  top: -10px;
  border-top: 3px solid rgba(0, 0, 0, .2);
}

.settings-popup:before {
  border-bottom: 7px solid rgba(0, 0, 0, .25);
  top: -11px;
}

.settings-popup:after {
  border-top-color: transparent;
}

#chkSettings {
  display: none;
}

#chkSettings:checked + .settings-popup {
  opacity: 1;
  transform: scale(1, 1);
}

.settings-popup ul li a, .settings-popup ul li a:link, .settings-popup ul li a:visited {
  color: #999;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
}

.settings-popup ul li a:hover {
  background: rgba(0, 0, 0, .05);
}