﻿/* Attachments */

.add-attachment-button {
    margin-right: 5px;
    padding: 10px;
    vertical-align: middle;
}

.commit-attachment-button {
    padding: 10px;
    vertical-align: middle;
}

.portlet .portlet-attachments
{
    width: 100%;
}
.attachment-list 
{
    display: table;
    width: 100%;
    margin: 0 0 0.5em;
    padding: 0 0 0.5em;
}
.portlet .attachment-list 
{
     font-size: small;
}
.portlet-attachments {
    -moz-box-sizing: border-box; 
    padding: 4px;
    display:inline-block;
    overflow: hidden;
}
.attachment 
{
    display: table-row;
}
.attachment > * 
{
    display: table-cell;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
.attachment-show {
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.attachment-delete
{
    width: 1.6em;
    height: 1.6em;
    font-size: medium;
    text-align: center;
    text-decoration: none;
}
.attachment-delete:hover{
  cursor: pointer;
}
.attachment-delete:before
{
    content: "\2716";
}

.add-attachment-item 
{
    list-style-type: none;
    display: table-row;
    margin-bottom: 0.15rem;
}
.add-attachment-item > *
{
    display: table-cell;
    vertical-align: middle;
}
.add-attachment-item.add-attachment-panel-collapsed {
    display: none;
}
.attachment-li-input input[type=file]
{
    line-height: 36px; /* rozmiar select */
}
.portlet .attachment-li-input {
    display: none;
}
.attachment-li {
    -moz-box-sizing: border-box;
    padding: 4px;
}
.attachment-li > * {
    display: inline-block; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.attachment-li select {
    width: 100%;
}
.attachment-file-name 
{
    display: none;
    min-height: 1em;
    width: 80%;
    vertical-align: middle;
}
.portlet .attachment-file-name 
{
    display: inherit;
}

/* klasy dla Chata - kopia klas z Crm, żeby nie tworzyć mechanizmu łączenia CSSów z Dy i Crm */

.chat-add-message textarea {
    width: 100%;
    min-height: 150px;
}

.chat-add-message-btn {
    padding-top: 10px;
}

.chat-message-container {
	padding: 7px;
}

.chat-message-container > div {
    margin-bottom: 5px;
    border-radius: 5px;
}

.chat-message-inner {
    text-align: right;
}

.chat-message-outer {
    text-align: left;
}

.chat-message-header
{
    font-size: x-small;
    font-weight: bold;
    font-style: italic;
    padding: 5px;
}

.chat-message-content
{
    padding: 5px;
}

.chat-message-date {
    padding-left: 10px;
}

/* Koniec klas dla Chata */ 


/* Koniec klas dla Chata */ 