@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);
html, body { height: 100%; width: 100%; overflow: hidden; font-family: 'Roboto', sans-serif; }

body { background-color: #dfdfdf; }

*::-webkit-scrollbar { width: 6px !important; }

*::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); }

*::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); }

.app-wrapper { width: 100%; position: fixed; }

.app-wrapper::after { position: fixed; z-index: -1; background-color: #009688; width: 100%; height: 127px; content: ''; top: 0; left: 0; }

.app-wrapper .app { position: fixed; margin: 0; width: 100%; height: 100%; display: flex; align-items: stretch; flex-direction: row; overflow: visible; overflow-x: scroll; border-radius: 0; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2); }
@media (min-width: 600px) { .app-wrapper .app { overflow: hidden; } }
@media (min-width: 1200px) { .app-wrapper .app { margin: 20px 30px; width: calc(100% - 60px); height: calc(100% - 40px); border-radius: 2px; } }

.pane { box-sizing: border-box; position: relative; }

.pane-one { width: 25%; height: 100%; display: flex; flex-direction: column; min-width: 260px; overflow: hidden; }

.pane-one--header { height: 39px; background-color: #eee; padding: 10px 15px; display: flex; flex-direction: row; align-items: center; flex: none; }

.face-icon-wrapper { flex: 1; }

.face-icon { background: url(../img/face.svg) no-repeat; width: 40px; height: 40px; background-size: contain; border-radius: 50%; overflow: hidden; }
.face-icon img { height: 100%; object-fit: cover; width: 100%; }

.new-message { flex: none; }

.menu { display: flex; align-items: center; position: relative; }
.menu button { min-width: 50px; }
.menu svg { margin: 0 auto; display: block; }

.pane-two { width: 75%; height: 100%; min-width: 340px; overflow: hidden; }
@media (min-width: 1200px) { .pane-two { overflow: visible; } }

.pane-two:after { content: ''; top: 0; left: 0; bottom: 62px; right: 0; position: absolute; z-index: -1; background-image: url(../img/background.png); background-size: 357.5px 643.5px; background-repeat: repeat; background-attachment: fixed; opacity: 0.07; }

.pane-two:before { content: ''; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; background-color: #ede9e4; }

.menu > #menu1 { border-radius: 0; }

.window-columns { display: flex; flex-direction: row; height: 100%; }

#pane-zero-icon, #face-icon { cursor: pointer; }

.pane-zero { position: absolute; display: flex; flex-direction: column; height: 100%; width: 100%; background: #fbfbfb; z-index: 9999; transform: translateX(-100%); transition: transform .3s; }

.pane-zero--active { transform: translateX(0); transition: transform .3s; }

.pane-zero--header { background-color: #00bfa5; color: #fff; height: 107px; width: 100%; position: relative; display: flex; flex: none; flex-direction: column; justify-content: flex-end; box-sizing: border-box; padding: 0 20px 12px; }

.pane-zero--wrapper { flex: none; display: flex; align-items: center; }

.pane-zero--header .pane-zero-icon { width: 54px; flex: none; }

.pane-zero--header .pane-zero-title { flex: 1; }
.pane-zero--header .pane-zero-title h1 { font-weight: 400; font-size: 19px; line-height: 19px; margin: 0; }

.avatar-background { background: url(../img/face.svg) no-repeat; background-size: cover; }

.drawer-body .drawer-logo { display: flex; flex-direction: row; justify-content: center; align-items: flex-end; flex: none; margin-top: 50px; }
.drawer-body .drawer-logo a { display: flex; text-decoration: none; }
.drawer-body .drawer-logo h1 { font-size: 7px; text-transform: uppercase; transform: translateY(-100%) translateX(-25%) rotate(-90deg); overflow: visible; padding-left: 1px; white-space: nowrap; color: #919191; margin: 0; }
.drawer-body .drawer-logo svg { height: 40px; fill: #919191; }
.drawer-body .drawer-logo .logo-made { width: 10px; height: 40px; display: flex; align-items: flex-end; }

.drawer-logo-inner { display: flex; flex-direction: row; transform: translateX(-20%); }

.pane-two .blank { background-color: #f7f9fa; border-bottom: 6px solid #58e870; height: 100%; box-sizing: border-box; display: flex; }

.message-wrapper--center { align-self: center; margin: 0 auto; text-align: center; width: 80%; }
@media (min-width: 800px) { .message-wrapper--center { width: 460px; } }
.message-wrapper--center h1 { margin-top: 10px; color: #4b5961; font-weight: 300; font-size: 24px; }
@media (min-width: 800px) { .message-wrapper--center h1 { font-size: 36px; margin-top: 38px; } }
.message-wrapper--center p { margin-top: 24px; color: #929fa6; font-weight: 300; font-size: 14px; line-height: 20px; }
.message-wrapper--center .message-img { background: url(../img/wap.jpeg) no-repeat center; background-size: contain; width: 100%; height: 300px; margin: 0 auto; }
@media (min-width: 800px) { .message-wrapper--center .message-img { width: 356px; height: 355px; } }

.list { height: 100%; width: 100%; overflow-y: auto; background-color: #fefefe; display: flex; flex-direction: column; }

.chat { height: 72px; min-height: 72px; display: flex; flex-direction: row; align-items: center; cursor: pointer; }
.chat:hover { background-color: #f4f5f5; }
.chat .chat-icon { margin: 13px 0 13px 15px; width: 49px; height: 49px; border-radius: 50%; background: url(../img/face.svg) no-repeat; background-size: cover; }
.chat .chat-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.no-chat { display: none; }

.content { width: calc(100% - 94px); border-top: 1px solid #f2f2f2; padding: 15px; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }

.chat:first-of-type .content { border: none; }

.first-line { display: flex; flex-direction: row; align-items: center; width: 100%; }

.chat .content h1, .header-info h1 { font-weight: 400; color: black; line-height: 21px; font-size: 16px; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 7px; }

.chat .content h2 { line-height: 14px; font-size: 12px; color: rgba(0, 0, 0, 0.4); flex: none; margin: 0; }

.chat .content p { font-size: 13px; line-height: 19px; margin: 3px 0 0; white-space: nowrap; color: rgba(0, 0, 0, 0.6); overflow: hidden; overflow: hidden; text-overflow: ellipsis; }

.chat-window { height: 100%; width: 100%; overflow: hidden; }

.header-chat { height: 59px; width: 100%; background-color: #eee; position: relative; padding-left: 16px; padding-right: 15px; display: flex; align-items: center; box-sizing: border-box; border-left: 1px solid rgba(0, 0, 0, 0.08); }
.header-chat .header-icon { margin-right: 15px; cursor: pointer; flex: none; }
.header-chat img { border-radius: 50%; width: 100%; height: 100%; object-fit: cover; }

.header-info { cursor: pointer; flex-grow: 1; overflow: hidden; }
.header-info h2 { font-size: 13px; line-height: 18px; font-weight: 400; color: rgba(0, 0, 0, 0.6); white-space: nowrap; text-align: left; margin: 0; overflow: hidden; text-overflow: ellipsis; }
.header-info .today { display: none; }

.header-info h2.chat-members span:after { content: ", "; }
.header-info h2.chat-members span:last-of-type:after { content: ""; }

.menu button span { outline: none; }

.background-frame { height: calc(100% - 121px); overflow: scroll; overflow-x: hidden; width: 100%; }

.message-list { display: flex; flex-direction: column; }

.bubble-row { padding: 0 9%; margin-bottom: 12px; position: relative; display: flex; flex-direction: column; }

.bubble-row:first-of-type { margin-top: 20px; }

.bubble { position: relative; padding: 6px 7px 8px 9px; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); display: flex; flex-direction: column; max-width: 65%; margin: 0 0 2px 0; border-radius: 7.5px; }
.bubble p { font-size: 13.6px; line-height: 19px; padding: 0; font-family: 'Open Sans',sans-serif; word-wrap: break-word; color: #262626; margin: 0; }
.bubble h3 { position: absolute; bottom: 3px; right: 7px; font-size: 11px; color: rgba(0, 0, 0, 0.45); line-height: 15px; height: 15px; margin: 0; }
.bubble h1 { font-family: 'Roboto',sans-serif; font-size: 11px; line-height: 12px; height: 12px; font-weight: 400; font-style: italic; color: rgba(0, 0, 0, 0.45); margin-top: 0; margin-bottom: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble img { border-radius: 7.5px; margin: 2px -4px 12px -5px; width: calc(100% + 9px); }

.fake-row:nth-of-type(odd) > .bubble-frame > .bubble, .bubble-in { background-color: white; float: left; }

.fake-row:nth-of-type(even) > .bubble-frame > .bubble, .bubble-out { background-color: #dcf8c6; float: right; }

.bubble-frame h1 { display: none; }

.bubble-frame:first-of-type .bubble-in h1, .fake-row .bubble-frame:first-of-type .bubble h1 { display: inline-block; }

.bubble-frame:last-of-type .bubble { margin: 0; }

.bubble-frame:last-of-type .bubble-in:before, .fake-row:nth-of-type(odd) > .bubble-frame:last-of-type > .bubble:before { content: ''; position: absolute; left: -11px; bottom: 3px; width: 12px; height: 19px; background-position: 50% 50%; background-repeat: no-repeat; background-size: contain; }

.bubble-frame:last-of-type .bubble-out:before, .fake-row:nth-of-type(even) > .bubble-frame:last-of-type > .bubble:before { content: ''; position: absolute; right: -11px; bottom: 3px; width: 12px; height: 19px; background-position: 50% 50%; background-repeat: no-repeat; background-size: contain; }

.bubble p::after { content: " \00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0"; display: inline; }

.date-lable { display: inline-block; border-radius: 7.5px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); margin: 20px auto; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); color: rgba(69, 90, 100, 0.95); background-color: rgba(225, 245, 254, 0.92); padding: 0; width: 90px; text-align: center; }
.date-lable h1 { font-family: 'Open Sans',sans-serif; font-size: 12.5px; line-height: 21px; height: 21px; font-style: normal; font-weight: 400; color: #4b4b4b; padding: 5px 12px 6px; margin: 0; text-transform: uppercase; }

.footer-chat { padding: 0; background-color: rgba(255, 255, 255, 0.6); box-sizing: border-box; border-left: 1px solid rgba(0, 0, 0, 0.08); height: 62px; position: relative; width: 100%; display: flex; flex-direction: row; align-items: flex-end; }

.open-person .footer-chat { border-right: 1px solid rgba(0, 0, 0, 0.08); }

.footer-frame { padding: 10px 19px; display: flex; align-items: center; width: 100%; }

.footer-emoji { flex: 0 0 auto; float: left; }
.footer-emoji-right { margin-left: 20px; }
.footer-emoji-left { margin-right: 20px; }
.footer-emoji svg { width: 24px; height: 24px; }

.footer-input { float: left; flex: 1 1 auto; width: 100%; }
.footer-input textarea { border-color: #fff; padding: 11px; border-width: 1px; border-style: solid; box-sizing: border-box; padding-right: 16px; float: left; outline: none; border-radius: 5px; background-clip: padding-box; width: inherit; background-color: #fff; resize: none; font-family: 'Open Sans', sans-serif; font-weight: 400; color: black; font-size: 15px; line-height: 20px; }
.footer-input textarea::-webkit-input-placeholder { color: #999; }

@keyframes wap-drawer { 0%, 25% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; } }
@keyframes wap-image { 0%, 20% { transform: scale(0, 0); }
  100% { transform: scale 1,1; } }
.person { width: 0%; height: 100%; background: #f7f7f7; }

.open-person .person { width: 100%; }
.open-person .chat-window { width: 0%; }
@media (min-width: 1000px) { .open-person .person { width: 40%; }
  .open-person .chat-window { width: 60%; } }
.open-person .drawer-content { animation: wap-drawer 1s cubic-bezier(0.1, 0.82, 0.25, 1); }
.open-person .drawer-avatar { animation: wap-image 750ms cubic-bezier(0.1, 0.82, 0.25, 1); }

.header-close { margin-left: 4px; margin-right: 20px; }
.header-close span { cursor: pointer; }

.drawer-body { display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; height: calc(100% - 59px); }

.drawer-section { margin: 13px 24px 0; flex: none; }
.drawer-section:last-of-type { margin-bottom: 20px; }

.drawer-avatar { width: 200px; height: 200px; margin: 28px auto; overflow: hidden; object-fit: cover; border-radius: 50%; }
.drawer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.drawer-content { background-color: #fff; border-radius: 6px; padding: 9px 14px 12px; }

.drawer-section-title { padding-bottom: 5px; border-bottom: 1px solid #f2f2f2; margin-bottom: 6px; min-height: 18px; line-height: 18px; }

.drawer-section-title p, .drawer-text h2 { color: #7c8b92; margin: 0; font-size: 15px; font-weight: 300; }

.drawer-section-body { line-height: 23px; }
.drawer-section-body p { margin: 0; padding: 4px 0 5px; }

.drawer-text p { line-height: 20px; font-weight: 400; }
.drawer-text h3 { font-size: 14px; line-height: 20px; margin: 0; font-weight: 600; }
.drawer-text h2 { border-bottom: 1px solid #f2f2f2; line-height: 24px; padding-bottom: 5px; margin: 20px 0 6px; }

.drawer-social { display: flex; flex-direction: row; justify-content: space-around; }
