
/* BpscDocumentPartialView / Attachments */

.bpsc-document-panel 
{
    display: table;
    width: 100%;
    vertical-align: top;
}
.bpsc-document-panel > *
{
    display: table-cell;
    vertical-align: top;
}
.bpsc-document-panel > .bpsc-document-body 
{
    min-width: 100%;
}
.bpsc-document-panel > .bpsc-document-toolbox
{
    min-width: 0;
}
.bpsc-document-panel > .bpsc-document-toolbox .attachments-placeholder
{
    display: none;
}
.bpsc-document-panel.expanded > .bpsc-document-toolbox .attachments-placeholder
{
    display: block;
}
.bpsc-document-panel.expanded > .bpsc-document-body 
{
    width: 90%;
}
.bpsc-document-panel.expanded > .bpsc-document-toolbox
{
    min-width: 300px;
    padding: 0 14px;
}
.attachments-placeholder
{
    margin-top: 30px;
}
.attachments-toggle-btn
{
    position: absolute;
    right: 7px;
    z-index: 2;
}
.add-attachment-button {
    margin-right: 5px;
}

.commit-attachment-button {
}
.attachment-list 
{
    margin-bottom: 0.5em;
    font-size: small;
}
.attachment, .add-attachment-item  
{
    border-bottom-style: solid;
    border-bottom-width: 1px;
    max-width: 300px;
}
.attachment-show, 
.attachment-show-single 
{
    cursor: pointer;
    display: inline-block;
    height: 1.6em;
    overflow: hidden;
    padding: 0px 5px;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.attachment-show 
{
    width: calc((100%) - (1.6em));
}
.attachment-delete
{
    font-size: medium;
    height: 1.6em;
    text-align: center;
    text-decoration: none;
    width: 1.6em;
}
.attachment-delete:hover{
  cursor: pointer;
}
.attachment-delete:before
{
    content: "\2716";
}
.add-attachment-buttons
{
    padding-bottom: 5px;
    padding-left: 5px;
}
.add-attachment-item.add-attachment-panel-collapsed {
    display: none;
}
input.attachment-add-input[type="file"]
{
    display: none;
}
.add-attachment-item > select {
    text-overflow: ellipsis;
    width: 100%;
}

/* Snippets */

.bpsc-snippet-osoba-Standalone,
.bpsc-snippet-owner-Standalone,
.bpsc-snippet-osoba-kontaktowa-Standalone
{
    white-space: pre-wrap;
}
.bpsc-snippet-owner-Standalone,
.bpsc-snippet-osoba-kontaktowa-Standalone,
.bpsc-snippet-klient-Standalone
{
    display: table-row;
}
.bpsc-snippet-klient-Standalone div:first-child {
	width:150px;
}
.bpsc-snippet-owner-Standalone > div,
.bpsc-snippet-osoba-kontaktowa-Standalone > div,
.bpsc-snippet-klient-Standalone > div
{
    display: table-cell;
    padding-right: 8px;
    vertical-align: middle;
}
a.bpsc-snippet-owner-Grid
{
    display: inline-block;
    width: 24px;
    height: 16px;
}

/* Alerts */

table.alerts
{
    width: 100%;
}
table.alerts > tbody > tr > td.grid-col-actions
{
    vertical-align: top;
}
table > tbody > tr > td.alert-header
{
    font-weight: bold;
    white-space: nowrap;
}
table > tbody > tr > td.alert-header.alert-date
{
    width: 12em;
    background-repeat: no-repeat;
	background-position: 4px center;
    padding-left: 24px;
    padding-right: 14px;
}
table > tbody > tr > td.alert-header.alert-from
{
    width: 90%;
}
table > tbody > tr > td.alert-subject
{
    font-weight: bold;
}
table > tbody > tr > td.alert-content
{
    min-width: 90%;
}
.alert-message
{
    max-height: 8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    cursor: pointer;
}
.alert-message:focus
{
    max-height: none;
}
.alert-padding
{
    height: 14px;
}
.alert-send-document-ajax-link 
{
    text-decoration: underline;
    cursor: pointer;
}
/*
.alert-send-document-popup-container > form textarea
{
    width: 100%;
    height: 10em;
}
.alert-send-document-popup-container > form > div
{
    margin-bottom: 4px;
}
.alert-send-document-popup-container > form p
{
    margin: 0px;
}
.alert-send-document-popup-container > form .form-buttons {
    margin-left: 0px;
    text-align: right;
}
.alert-send-document-popup-container {
    width: 500px;
    max-width: 50%;
    border-radius: 5px 5px 5px 5px;
    padding: 10px;
}
.alert-send-document-popup-close {
	display: inline-block;
	min-width: 16px;
	min-height: 16px;
	float: right;
}
*/
td.alert-img,
td.alert-buttons
{
	width: 10px;
	text-align: center;
}		
td.alert-buttons > div
{
	display: inline-block;
}

table.themed > * > tr.zadanie-wykonane > td {
    text-decoration: line-through;
}