

.empty-placeholder {
	font-size: 12px;
	color: #666;
	padding: 15px 10px;	
}

.fixed-footer{
	position: fixed; 
	bottom: 0; 
	left:0; 
	right: 0; 
	height: 20px; 
	background-color: #343841; 
	font-size: 11px; 
	line-height: 20px;
	color: #858789;	
	padding-left: 13px;
	width: 157px;
}

.main{
	display: table;
	width: 100%;

	position: relative;
	top:45px;
}

.content {	
	display: table-cell;
    width: 100%;
	overflow: auto; 
	position: relative;
}

	.content .title {
		background-color: #fff;
        border-bottom: 1px solid #c2c2c2;
		color: #4a8fd2;
		padding: 15px 15px 14px;
		font-size: 20px;
		
	}

		.content .title .title-toolbar {
			float: right;
			margin-top: -4px;
		}

	.content .main-data {
		box-sizing:border-box;
		-moz-box-sizing:border-box; /* Firefox */
		padding: 14px 15px 0;
	}
	
	
	.content .subtitle {
		color: #4a8fd2;

		padding: 0 0 15px 0;
		font-size: 18px;
		font-weight: normal;
	}
	

.grid-toolbar {
	margin-bottom: 10px;
}

.container-msg {
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	padding: 5px 20px 20px 20px;
}



/* modal */

.modal-backdrop {
    background-color: #000000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
    opacity: 0.5;
}

.modal-window {
	z-index: 1050;

	position: fixed;

	top: 40px;
	bottom: 40px;
	left: 6%;
	right: 6%;
	background-color: #fff;	
	box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
	border: 1px solid #ddd;

	min-width: 960px;
}

@media only screen and (max-width: 1380px) {

	.modal-window {
		left: 2%;
		right: 2%;
	}

}


	.modal-window.popup {
		top:0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	
	.popup .modal-window-loading,
	.popup .modal-window-prompt,
	.popup .modal-window-confirm
	 {
		top: 0 !important;
		
	}
	
	

.modal-window-title {
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	padding: 10px;
	font-size: 80%;
	background-color: #efefef;
	color: #757575;
	background: #ffffff;
	background: -moz-linear-gradient(top,  #ffffff 0%, #efefef 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#efefef 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#efefef 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#efefef 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#efefef 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 );

	border-bottom: 1px solid #ddd;
	font-weight: 500;
}

.modal-window-title .close{
	display: block;
	float: right;
	cursor: pointer;
	font-size: 75%;
	opacity: .6;
	padding-top:3px;
}

.modal-window-title .close:hover{
	opacity: 1;
}

.modal-window-content {
	position: relative;
	overflow-y: auto;
	
	background-color: #f6f6f6;
}

.modal-window-content:after {
	content: ""; display: table; line-height: 0;
}



.modal-window-loading {
	position: absolute;
	top:34px;
	left:0;
	right:0;
	bottom:0;
	background-color: rgba(255,255,255, 0.8);
	text-align: center;
	padding-top: 100px;
	z-index: 1069;
}

.modal-window-confirm,
.modal-window-prompt {
	position: absolute;
	top:34px;
	left:0;
	right:0;
	bottom:0;
	background-color: rgba(255,255,255, 0.8);
	text-align: center;
	z-index: 1070;
	padding-top: 20px;
}

	.modal-window-confirm .question,
	.modal-window-prompt .question {
		background-color: #FFFFFF;
	    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	    font-size: 100%;
	    margin: auto;
	    padding: 15px;
	    width: 30%;
		border: 1px solid #CCCCCC;
	}
	
	.modal-window-confirm .symbol,
	.modal-window-prompt .symbol
	{
		font-size: 48px;
		color: #aaa;
		float: left;
		margin-right: 15px;		
	}
	
	.modal-window-confirm .text,
	.modal-window-prompt .text
	{
		padding-top: 5px;
		font-size: 12px;
		line-height: 16px;
	}
	
	.modal-window-confirm .text big,
	.modal-window-prompt .text big {
		display: inline-block;
	    font-size: 16px;
	    font-weight: bold;
	    margin-top: 10px;
	}
	
	
	
	.modal-window-prompt .prompt-textarea {
		clear: both;
    	padding-top: 10px;
	}
	
	
	
	.modal-window-confirm .buttons,
	.modal-window-prompt .buttons
	{
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid #ddd;
		text-align: right;
	}

.modal-window-message {
	left: 50%;
    margin: 0 auto 0 -250px;
    position: absolute;
    text-align: center;
    top: 20px;
    width: 500px;
    z-index: 1070;
    line-height: 1.2em;
}

	.modal-window-message div{
		padding: 10px;		
		font-size: 75%;
		font-weight: 500;
		box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
	}

	.modal-window-message .error {
		background-color: #EDDCE0;		
		border: 1px solid #E0A8AC;		
		color: #68373B;
	}

	.modal-window-message .success {
		background-color: #E1EFE1;
		border: 1px solid #AFDBAF;
		color: #116D11;
	}



/* details page */

.details-header {
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	height: 80px;
	padding: 10px;
	border-bottom: 1px solid #c2c2c2;
	background-color: #fff;

	overflow: hidden;
}

.details-header .name {
	font-size: 20px;
	font-weight: 600;
	display: block;
	color: #323232;
	margin-bottom: 8px;
	margin-top: 3px;
}

	.details-header .date {
		font-size: 12px;
		color: #666;
	}

	.details-header .actions {
		float:right;
	}

.details-top {
	/*
	-webkit-box-shadow: 0 6px 9px -8px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:    0 6px 9px -8px rgba(0, 0, 0, 0.2);
	box-shadow:         0 6px 9px -8px rgba(0, 0, 0, 0.2);
	*/
	position: relative;
	
}

.details-tabs {
	text-align: left;
	font-size: 12px;		
	float: left;
    width: 230px;    
   
}

	.details-tabs li {
		border-bottom: 1px solid #ddd;
	}

	.details-tabs span {
		display: block;
		padding: 12px 20px 12px 20px;		
		cursor: pointer;
		color: #666;	
	}
	
	.details-tabs:after, 
	.details-tabs span:after { clear: both; }
	
	
	.details-tabs:after, 
	.details-tabs:before, 
	.details-tabs span:after,
	.details-tabs span:before
	{ content: ""; display: table; line-height: 0; }
	

	.details-tabs span.active {		
    	border-left: 5px solid #2A6DAF;
    	color: #323232;
    	font-weight: bold;
    	background-color: #fff;
    	padding-left: 15px;
	}

.details-content {
	overflow: auto;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */	
	background-color: #eaeaea;	
	border-left: 1px solid #c2c2c2;
	position: relative;
}

	.details-content.dialog-content {
		padding-top: 10px;
		background-color: rgba(0, 0, 0, 0);
		border-left:0;
	}

.details-toolbar {
	
	background: #ffffff;
	background: -moz-linear-gradient(top,  #ffffff 0%, #efefef 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#efefef 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#efefef 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#efefef 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#efefef 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef',GradientType=0 );

	border-bottom: 1px solid #CECECE;
	
	position: absolute;
	top:0;
	left:0;
	right:0;
	z-index: 120;
	
	padding: 5px 15px;

    height: 25px;
	
}

.details-toolbar.scrolled {
	-webkit-box-shadow: 0 -8px 8px 9px rgba(0, 0, 0, 0.3);
	-moz-box-shadow:    0 -8px 8px 9px rgba(0, 0, 0, 0.3);
	box-shadow:         0 -8px 8px 9px rgba(0, 0, 0, 0.3);
}

.with-toolbar {
	padding-top: 35px;
	position: relative;
}

.without-toolbar {
    padding-top: 10px;
    position: relative;
}

section{	
	border-bottom: 1px solid #C2C2C2;
	background-color: #fff;
	margin-bottom: 10px;
}

/** podzakładki **/

.sub-tabs-container {	
	padding-top: 60px;
}

.sub-tabs {	
	background-color: #F9F9F9;
	border-bottom: 1px solid #c2c2c2;
	padding: 5px 10px 0;
}

.sub-tabs.top-dock {	
	position: absolute;
	top: 0;
	left:0;
	right: 0;
	z-index: 121;
}

	.sub-tabs .tab {
		display: block;
		float: left;
		padding: 10px 15px;
		color: #888;
		font-size: 13px;	
		
		cursor: pointer;	
	}
	
	.sub-tabs .tab.active {		
		border-top: 1px solid #c2c2c2;
		border-left: 1px solid #c2c2c2;
		border-right: 1px solid #c2c2c2;	
		
		font-weight: bold;
		color: #323232;
		background-color: #fff;
		
		margin-bottom: -1px;
		padding-top: 9px;
		
		border-bottom: 1px solid #fff;
		
	}
	
	.sub-content {
	}
	

/**
Komentarze na sprawie
**/

.comment {
	font-size: 12px;
	padding: 10px 0 10px 0;
	border-bottom: 1px solid #E0E4E8;
}

.comment .comment-body {
    box-sizing: border-box;
    float: left;
    padding-right: 10px;
    border-right: 2px solid #eaeaea;

    width: -moz-calc(100% - 38px);
    width: -webkit-calc(100% - 38px);
    width: calc(100% - 38px);
}

.comment-right-toolbar {
    float: left;
    padding-left: 10px;
}

.comment.message {
    border-bottom: 1px dotted #EBF0F4;
}

.comment .creator {
	font-weight: bold;
	color: #323232;
	font-size: 11px;
}

.comment .created-at {
	color: #888;
	display: inline-block;
    width: 95px;
    font-size: 11px;
}

.comment .category {
  padding: 4px 7px 2px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 1px;
  font-weight: bold;
  color: #fff;
  float: right;
}

.comment .comment-right-toolbar .btn {
    padding: 2px 7px;
    display: inline-block;
}

.comment .comment-right-toolbar .btn:not(:first-child) {
    margin-top: 5px;
}

.comment p {
	margin-top: 5px;
	color: #323232;
	line-height: 1.4em;
}

.comment .toolbar {
    padding-top: 8px;
}

.comment .task{
    float: left;
    font-size: 11px;
    padding-top: 7px;
}

    .comment .task b{
        font-weight: bold;
    }

    .comment .task-status {
        color: #fff;
        float: left;
        line-height: 22px;
        margin: 1px 5px 0 0;
        padding: 0 5px;
        font-size: 11px;
    }

    .comment .task-status i{
        font-size: 13px;
    }

    .comment .task-status.waiting {
        background-color: #adadad;
    }

    .comment .task-status.resolved {
        background-color: #188E4D;
    }

    .comment .task-status.canceled {
        background-color: #d2322d;
    }

    .comment .comment-messages {
        border-left: 3px solid #dadada;
        margin-top: 5px;
        padding-left: 10px;
    }


td small {
	font-size: 11px;
}

td strong {
	font-weight: bold;
}


.lnk {	
	color: #114375;
	cursor: pointer;	
}

.lnk:hover {
	color: #114375;
	text-decoration: underline;
}

.advance-to-pay {
	display:inline-block; 
	width: 60px; text-align: right;margin-right: 15px;
}

.advance-paid {
	display:inline-block; width: 60px; text-align: right; margin-right: 15px; color: #c2c2c2 !important; text-decoration: line-through;
}

.table-icon {
	font-size:18px;
	margin-right: 12px;
}

.color-orange {
	color: #FCC33F;
}

.color-red {
	color: #D62020;
}

.color-gray {
	color: #d9d9d9;
}

.file-generator {
	padding: 20px;
	font-size: 13px;
	color: #333;
}

.file-generator b {
	font-weight: bold;	
}

.file-generator .progress-label {
	color: #888888;
    font-size: 12px;
    margin-top: 20px;
    text-align: center;
}

.file-generator .log {
	margin-top:20px;
}

.file-generator .logrow {
	border-bottom: 1px solid #DDDDDD;
}

.file-generator .logcol {
	box-sizing: border-box;
    display: inline-block;
    padding: 3px;
}

.file-generator .logcol:nth-child(1) {
	width: 40%;
}

.file-generator .logcol:nth-child(2) {
	width: 30%;
}

.file-generator .logcol:nth-child(3) {
	width: 30%;
}



.file-generator .download-btn {
	text-align: center;
}

.stats table td.label {
	text-align: right;	
	width: 17%;
}

.stats table td:not(.subheader) {
	text-align: right !important;	
}

td.subheader {
	text-align: left !important;
	font-weight: bold;
	
}

.stats .subsum {
	background-color: #F7FAFC;
}

.stats .sum {
	background-color: #F7FAFC;
	font-weight: bold;
}

.stats th {
	text-align: center !important;
}

.stats table {
	margin-bottom: 20px;
}

.stats h3 {
	font-size: 16px;
	font-weight: normal;	
	margin-bottom: 10px;
}

.stats h3 small {
	font-size: 11px;
}

.stats table .indent {
	display: inline-block;
	width: 10px;
} 



.badge {
	border-width: 1px;
	border-style: solid;
	display: inline-block;
	padding: 2px 8px;
	border-radius: 2px;
}

	.badge.personal {
		border-color: #D6E4FF;
		background-color: #F7F7FF;
	}
	
	.badge.not-personal {
		border-color: #FFECD3;
		background-color: #FFF8EF;
	}

	.badge.debt {
		border-color: #b1ebc8;
		background-color: #eafff0;
	}


/** PODZAKŁADKI GŁÓWNEGO OKNA **/

.title.with-subnav {
    padding-bottom: 0;
    border-bottom: 1px solid #c2c2c2;

    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 58%, rgba(0,0,0,0.05) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(58%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.05))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.05) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.05) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.05) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 58%,rgba(0,0,0,0.05) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#0d000000',GradientType=0 ); /* IE6-9 */
}

.subnav {
    padding: 0px 0px 0;
    font-size: 13px;
    margin-top: 10px;


}

.subnav a{
    text-decoration: none;
}


.subnav .subnav-tab.subnav-active {
    background-color: #fff;
    border-color: #c2c2c2 #c2c2c2 #fff;
    border-style: solid;
    border-width: 1px;
    color: #323232;
    font-weight: bold;
    margin-bottom: -1px;
    padding-top: 7px;
}
.subnav .subnav-tab {
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px;
}




.incoming-overlay {
	position: fixed;
	background-color: rgba(0,0,0,0.5);
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index: 120;
}

.incoming-overlay .incoming-call {
	width: 90%;
	min-width: 450px;

	max-width: 650px;

	background-color: #fff;
	border: 1px solid #666;
	margin: 20px auto;

	box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.4);


}

.incoming-overlay .incoming-call .left-col {
	float: left;
}

.incoming-overlay .incoming-call .left-col svg{
	width:32px;
	height:32px;
	color: #4cae4c;
	margin: 15px;
}

.incoming-overlay .incoming-call .right-col {
	overflow: auto;
}

.incoming-overlay .incoming-call .case {
	padding: 15px 15px;
}

.incoming-overlay .incoming-call .phone {
	height: 32px;
	padding: 15px;
	line-height: 32px;
	font-size: 23px;
	border-bottom: 1px solid #eee;
}




.incoming-overlay .incoming-call .case + .case {
	border-top: 1px solid #eee;
}

.incoming-overlay .incoming-call .data-wrap {
	display: block;
	float:left;
}

.incoming-overlay .incoming-call .data-wrap .name{
	display: block;
	margin-bottom: 5px;
}

.incoming-overlay .incoming-call .data-wrap .badge {
	font-size: 13px;
	line-height: 18px;
}

.incoming-overlay .incoming-call .data-wrap .stage {
	font-size: 13px;
	line-height: 18px;
}

.incoming-overlay .incoming-call .buttons {
	float:right;
}
