.tasks {
	display: flex;
	height: calc(100% - 60px);
}
.tasks .form-group {
	margin-bottom: 0;
}

.task-card {
	position: relative;
	display: flex;
	border-radius: 8px;
	margin: 10px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.11),
                0 2px 2px rgba(0,0,0,0.11),
                0 4px 4px rgba(0,0,0,0.11),
                0 6px 8px rgba(0,0,0,0.11),
                0 8px 16px rgba(0,0,0,0.11);
}

.task-card .t-date {
	position: relative;
	padding: 8px;
	color: #fff;
	border-radius: 8px 0 0 8px;
	text-align: center;
	width: 100px;
}
.task-card .t-date .no-date {
	margin-top: 25px;
}
.task-card .t-date .day-month {
	font-weight: bold;
	font-size: 24pt;
}
.task-card .t-date .t-change-date {
	z-index: 10;
	position: absolute;
	bottom: 8px;
	width: 150px;
	background-color: #eee;
	color: #000;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.07),
                0 2px 4px rgba(0,0,0,0.07),
                0 4px 8px rgba(0,0,0,0.07),
                0 8px 16px rgba(0,0,0,0.07),
                0 16px 32px rgba(0,0,0,0.07),
                0 32px 64px rgba(0,0,0,0.07);
}

.task-card .t-date.t-on {
	background-color: #333;
}
.task-card .t-date.t-off {
	background-color: #aaa;
}
.task-card .t-date.t-late {
	background-color: #933;
}
.task-card .t-date.t-day {
	background-color: #33a;
}
.task-card .t-date.t-no-date {
	background-color: #d93;
}


.task-card .t-detail {
	position: relative;
	padding: 8px;
	background-color: #eee;
	color: #333;
	border-radius: 0 8px 8px 0;
	width: calc(100% - 100px);
}
.task-card .t-detail .t-options {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.task-card .t-detail .t-dest-descr {
	max-height: 95px;
	min-height: 60px;
	overflow: auto;
}
.task-card.on .t-detail .t-dest-descr {
	max-height: 130px;
}
.task-card.on .t-detail .t-comments {
	max-height: 120px;
	min-height: 50px;
	overflow: auto;
}
.task-card .t-detail .t-fade {
	position: relative;
	margin-top: -13px;
	height: 20px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#eeeeee+0,eeeeee+100&0+0,1+12 */
	background: -moz-linear-gradient(top,  rgba(238,238,238,0) 0%, rgba(238,238,238,1) 50%, rgba(238,238,238,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(238,238,238,0) 0%,rgba(238,238,238,1) 50%,rgba(238,238,238,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(238,238,238,0) 0%,rgba(238,238,238,1) 50%,rgba(238,238,238,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00eeeeee', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
}
.task-card .t-detail .edit-div {
	width: 100%;
}
.task-card .t-detail .koEditable:hover {
	background-color: #efefef;
	border: 1px solid #efefef;
}
.task-card .t-detail .t-info .t-user {
	display: flex;
}
/*
.task-card .t-detail .t-info .t-options {
	position: absolute;
	right: -20px;
	bottom: 8px;
}
*/
.task-card .t-detail .t-info .t-options .on {
	color: #17a2b8;
    text-shadow: 0 1px 1px rgba(0,0,0,0.11),
                0 2px 2px rgba(0,0,0,0.11),
                0 4px 4px rgba(0,0,0,0.11),
                0 6px 8px rgba(0,0,0,0.11),
                0 8px 16px rgba(0,0,0,0.11);
}
.task-card .t-detail .t-info .t-options .t-change-date-done {
	z-index: 10;
	position: absolute;
	bottom: 20px;
	/*right: 62px;*/
	width: 180px;
	color: #000;
	border-radius: 8px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.11),
                0 2px 2px rgba(0,0,0,0.11),
                0 4px 4px rgba(0,0,0,0.11),
                0 6px 8px rgba(0,0,0,0.11),
                0 8px 16px rgba(0,0,0,0.11);
}
.task-card .t-detail .t-info .t-options .t-date-done-icon {	
    position: relative;
    z-index: 11;
}

.task-card .t-detail .t-info .t-options .btn-comments {
	margin-top: -13px;
	margin-left: 5px;
}