/*
	* Title: omarkdev
	* Author: Marcos Felipe (@omarkdev)
	* Site: www.omarkdev.github.io
*/
@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:300, 400, 700");
    
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%}
body {
    margin: 0;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}
audio, canvas, progress, video {
    display: inline-block;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
progress {
    vertical-align: baseline;
}
template, [hidden] {
    display: none;
}
a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
a:active, a:hover {
    outline-width: 0;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
b, strong {
    font-weight: inherit;
}
b, strong {
    font-weight: bolder;
}
dfn {
    font-style: italic;
}
h1 {
    font-size: 2em;
    margin: .67em 0;
}
mark {
    background-color: #ff0;
    color: #000;
}
small {
    font-size: 80%}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sub {
    bottom: -.25em;
}
sup {
    top: -.5em;
}
img {
    border-style: none;
}
svg:not(:root) {
    overflow: hidden;
}
code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
figure {
    margin: 1em 40px;
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
button, input, select, textarea {
    font: inherit;
    margin: 0;
}
optgroup {
    font-weight: bold;
}
button, input {
    overflow: visible;
}
button, select {
    text-transform: none;
}
button, html [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em;
}
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}
textarea {
    overflow: auto;
}
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-input-placeholder {
    color: inherit;
    opacity: .54;
}
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}
body {
    padding: 0;
    margin: 0;
    background-color: #f8f8f8;
}
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
a, a:hover, a:visited, a:focus, a:active {
    text-decoration: none;
}
@-moz-keyframes fadeIn {
    from {
    opacity: 0;
}
to {
    opacity: 1;
}
}@-webkit-keyframes fadeIn {
    from {
    opacity: 0;
}
to {
    opacity: 1;
}
}@-o-keyframes fadeIn {
    from {
    opacity: 0;
}
to {
    opacity: 1;
}
}@keyframes fadeIn {
    from {
    opacity: 0;
}
to {
    opacity: 1;
}
}
section#chat {
    width: 100%;
    float: left;
    font-family: 'Roboto Condensed', sans-serif;
    height: 100%;
}
section#chat header.chat-header {
    width: 100%;
    float: left;
    background-color: rgba(0, 0, 0, 0.1);
    height: 10%;
    padding: 8px 0;
    text-align: center;
}
section#chat header.chat-header h1.user-name {
    width: 100%;
    float: left;
    padding: 0;
    margin: 0;
    font-size: 26px;
    color: #0e0d0d;
}
section#chat .messages {
    width: 100%;
    float: left;
    height: calc(100vh - 255px);
    overflow-y: auto;
    padding-bottom: 10px;
}
section#chat .messages .item-message {
    width: 100%;
    float: left;
    padding-top: 7px;
    padding-bottom: 7px;
    height: auto;
    animation: fadeIn 500ms;
}
section#chat .messages .item-message .box-message {
    background-color: rgba(255, 255, 255, 0.7);
    width: 50%;
    max-width: 50%;
    padding: 7px;
    margin-left: 7px;
    border-radius: 6px;
}
.notme {
    float: right;
}

section#chat .messages .item-message span.message-user {
    padding: 0;
    margin: 0;
    color: #008bcc;
    display: block;
}
section#chat .messages .item-message p.message-content {
    padding: 0;
    margin: 0;
}
section#chat .send-message {
    height: 9%;
    width: 100%;
    float: left;
    position: absolute;
    bottom: 0px;
}
section#chat .send-message input {
    width: 100%;
    float: left;
    background-color: #008bcc;
    border: 0;
    border-radius: 0;
    resize: none;
    color: #fff;
    padding: 10px;
    height: 100%
}
section#chat .send-message button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    width: 40px;
    color: #fff;
}
section#chat .send-message button.attach  {
    right: 42px !important;
}
section#chat .send-message button i {
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
}
section#chat .send-message button:hover i {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    -moz-transform: scale(1.4);
    -o-transform: scale(1.4);
    -ms-transform: scale(1.4);
}
section#welcome {
    width: 100%;
    float: left;
    font-family: 'Roboto Condensed', sans-serif;
    padding: 0 60px;
    position: absolute;
    top: 50%;
    left: 0;
    height: auto !important;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin-top: -2%;
}
section#welcome h1.title-welcome {
    width: 100%;
    float: left;
    padding: 0 0 20px;
    margin: 0;
    text-align: center;
    color: #474444;
}
section#welcome .block-input {
    width: 100%;
    float: left;
    position: relative;
}
section#welcome .block-input input {
    width: 100%;
    float: left;
    background-color: #008bcc;
    border-radius: 0;
    border: 0;
    color: #fff;
    height: 40px;
    line-height: 40px;
    padding: 0 50px 0 15px;
}
section#welcome .block-input button {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 0;
    cursor: pointer;
    color: #fff;
    width: 40px;
}
section#welcome .block-input button i {
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
}
section#welcome .block-input button:hover i {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    -moz-transform: scale(1.4);
    -o-transform: scale(1.4);
    -ms-transform: scale(1.4);
}

.messages.dragover {
    border: 1px dashed #008bcc;
    opacity: 0.5;
}

.messages.dragover-err {
    border: 2px dashed red;
    opacity: 0.5;
}




.thumb-img {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  overflow: hidden;
}
.thumb-img img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
