@charset "utf-8";


/***************************************************
Specify
***************************************************/

.topay {
	color: rgb(255, 0, 0);
}




/***************************************************
dyrektywa - edycja płatności
***************************************************/

.dir-pay-edit {
    padding: 5px 0;
}
.dir-pay-edit .form-group {
    padding-bottom: 4px;
    margin-bottom: 4px;
}
.dir-pay-edit .form-group:last-child {
    border: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.dir-pay-edit .form-label {
    font-weight: normal;
    padding: 5px 10px 4px 0;
    width: 70px;
    float: left;
}
.dir-pay-edit .form-control {
    padding: 3px;
}
.dir-pay-edit .form-control, .dir-pay-edit .form-control-group {
    width: 120px;
}


/***************************************************
                    Zadania
***************************************************/

.tasks-breadcrumb-status {
    float: right;
    margin-top: 12px;
    margin-left: 5px;
}

.tasks-add {
    margin-bottom: 10px;
}

.tasks-item [class*='icon-priority'] {
    margin-right: 10px;
}



/***************************************************
dyrektywa - edycja zlecenia
***************************************************/

.dir-tasks-edit-status {
    padding: 0;
}
.dir-tasks-edit-status a {
    margin: 3px !important;
}

.dir-tasks-edit-priority [class*='icon-priority'] {
    margin: 0 3px;
    float: left;
}

.dir-tasks-edit textarea {
    height: 150px;
}

/***************************************************
priorytety
***************************************************/

[class*='icon-priority'] {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #fff600;
    border: 1px solid #e6e6e6;
    cursor: pointer;
    vertical-align: baseline;
}
.icon-priority-1 {
    background-color: #ffa800;
}
.icon-priority-2 {
    background-color: #ff0000;
}

a[class*='icon-priority'] {
    opacity: 0.5;
    width: 15px;
    height: 15px;
}
a[class*='icon-priority']:hover, a[class*='icon-priority'].checked {
    opacity: 1;
}

/***************************************************
statusy
***************************************************/

span[class*='btn-status'] {
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    vertical-align: top;

    padding: 3px 0 6px 0;
    margin: -3px 0;
    display: inline-block;
    border: 1px solid #ADADAD;
    border-radius: 4px;
    width: 40px;
}

a[class*='btn-status'] {
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    vertical-align: top;

    padding: 3px 0 6px 0;
    margin: -3px 0;
    display: inline-block;
    border: 1px solid #ADADAD;
    border-radius: 4px;
    width: 30px;
    opacity: 0.5;
}
a[class*='btn-status']:hover, a[class*='btn-status'].checked {
    color: #fff;
    opacity: 1;
}
.btn-status-0 {
    background: -moz-linear-gradient(top, #8bd47e 0%, #53ba25 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #8bd47e), color-stop(100%, #53ba25)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #8bd47e 0%, #53ba25 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #8bd47e 0%, #53ba25 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #8bd47e 0%, #53ba25 100%); /* IE10+ */
    background: linear-gradient(to bottom, #8bd47e 0%, #53ba25 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8bd47e', endColorstr='#53ba25', GradientType=0); /* IE6-9 */
    border-color: #4f9e25;
}
.btn-status-1 {
    background: -moz-linear-gradient(top, #d1d1d1 0%, #b1b1b1 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d1d1d1), color-stop(100%,#b1b1b1)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #d1d1d1 0%,#b1b1b1 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #d1d1d1 0%,#b1b1b1 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #d1d1d1 0%,#b1b1b1 100%); /* IE10+ */
    background: linear-gradient(to bottom, #d1d1d1 0%, #b1b1b1 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb', endColorstr='#b1b1b1',GradientType=0 ); /* IE6-9 */
    border-color: #b4b4b4;
}
.btn-status-2 {
    background: -moz-linear-gradient(top, #f4c04c 0%, #f4a200 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4c04c), color-stop(100%, #f4a200)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f4c04c 0%, #f4a200 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f4c04c 0%, #f4a200 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f4c04c 0%, #f4a200 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f4c04c 0%, #f4a200 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4c04c', endColorstr='#f4a200', GradientType=0); /* IE6-9 */
    border-color: #e29100;
}
.btn-status-3 {
    background: -moz-linear-gradient(top, #9fa9ff 0%, #7979ff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #9fa9ff), color-stop(100%, #7979ff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #9fa9ff 0%, #7979ff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #9fa9ff 0%, #7979ff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #9fa9ff 0%, #7979ff 100%); /* IE10+ */
    background: linear-gradient(to bottom, #9fa9ff 0%, #7979ff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9fa9ff', endColorstr='#ff6266', GradientType=0); /* IE6-9 */
    border-color: #7979ff;
}
.btn-status--1 {
    background: -moz-linear-gradient(top, #ff9595 0%, #ff6266 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff9595), color-stop(100%, #ff6266)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ff9595 0%, #ff6266 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ff9595 0%, #ff6266 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ff9595 0%, #ff6266 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ff9595 0%, #ff6266 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6161', endColorstr='#ff6266', GradientType=0); /* IE6-9 */
    border-color: #ff5458;
}


/***************************************************
                    Table
***************************************************/

table.table tr[class*="task-type-"] td:first-child {
    padding-left: 15px;
}
table.table tr[class*="task-type-"] td:first-child:after {
	display: block;
	position: absolute;
	bottom: -13px;
	left: 0;
	width: 25px;
    height: 13px;
	background-color: #e9e9e9;
    transform: rotate(-90deg);
    transform-origin: left top 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    line-height:12px;
    content: 'Zad';
}
table.table tr.task-type-1 td:first-child:after {
	background-color: #9d9aff;
    content: 'Spo';
}
table.table tr.task-type-2 td:first-child:after {
	background-color: #ff8e37;
    content: 'Str';
}
table.table tr.task-type-3 td:first-child:after {
	background-color: #ff729d;
    content: 'Skl';
}
table.table tr.task-type-4 td:first-child:after {
	background-color: #e135ff;
    content: 'Wrb';
}
table.table tr.task-type-5 td:first-child:after {
	background-color: rgba(255, 0, 0, 0.28);
    content: 'Akt';
}
table.table tr.task-type-6 td:first-child:after {
	background-color: #fff800;
    content: 'Poz';
}

table.table tr.status-closed td {
    opacity: 0.5;
}


table.table tr[class*="pay-"] td:first-child:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background-color: #0048ff;
}
table.table tr.pay-out td:first-child:after {
    background-color: #ff0000;
}