#content {
    min-height: 500px;
}

.ava {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 3px solid #eee;
}

.btn > .ava {
    margin: -6px 0;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: normal;
    src: url(/fonts/Ubuntu-L.ttf);
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: bold;
    src: url(/fonts/Ubuntu-B.ttf);
}

body {
    font-family: "Ubuntu", Helvetica, Arial, sans-serif;
}

table.topic-tasks td:nth-child(3) {
    text-align: center;
}

table.topic-messages td:nth-child(2), table.topic-messages td:nth-child(3) {
    text-align: center;
}

p.help-block {
    font-size: 90%;
}

footer {
    padding-bottom: 20px;
}

/*attachment*/
.attachment-list {
    min-height: 30px;
}
.attachment-list > div {
    margin: 4px;
}

.attachment-list a {
    user-select: text;
}

.attachment-list span {
    opacity: 0;
}

/*stat*/
tr.message-stat td {
    border-top: none !important;
    font-size: 85%;
}

tr.message-stat td:first-child {
    padding-left: 40px !important;
    color: #777;
}

tr.message-stat td:last-child {
    text-align: center;
}

tr.message-stat td span {
    padding-right: 14px;
}

tr.message-stat .bar {
    position: relative;
    background: #ddd;
    margin-left: 200px;
    margin-top: -12px;
    border-radius: 3px;
    overflow: hidden;
    border: 2px solid #ccc;
    height: 12px;
}

tr.message-stat .bar1, tr.message-stat .bar2, tr.message-stat .bar3 {
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100%;
}

tr.message-stat .bar1 {
    background: #9df;
    height: 4px;
    top: 0;
}

tr.message-stat .bar2 {
    background: #337ab7;
    height: 4px;
    top: 0;
}

tr.message-stat .bar3 {
    background:#4c6;
    height: 4px;
    top: 4px;
}

/*templates*/
.topic-templates .thumbnail .wrapper {
    overflow: hidden;
    padding-bottom: 66%;
    position: relative;
}

.topic-templates .thumbnail .wrapper img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.2s all;
}

.topic-templates .thumbnail:hover .wrapper img {
    transform: scale(1.05, 1.05);
}

/*fix modal scroll*/
.modal {
    overflow-y: auto !important;
}

.hint {
    position: fixed;
    top: 0;
    right: 0;
    width: auto;
    max-width: 400px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

/*emoji*/
.emoji-menu {
    bottom: 30px;
}