html, body {
    height: 100%;
}
body {
	margin: 0;
    background: #E0E0E0;
}
body, textarea, input, select {
	font-family: sans-serif;
	font-size: 11px;
}
#container {
    padding: 10px;
    position: relative;
}

h1 {
	font-size: 16px;
	color: #006699;
}

h2 {
	font-size: 14px;
	color: #006699;
}

a {
	color: #666;
	text-decoration: none;
}
a:hover {
	color: #006699;
}

ul {
	padding: 0;
}

.info {
    background: #fff000;
    padding: 5px;
}

.message {
	background: #fff000;
	padding: 5px;
}

.toolbar h1 {
    display: inline;
    margin: 0 10px 0 0;
    padding: 0;
}
.toolbar * {
    vertical-align: middle;
}

.toolbar {
	clear: left;
    font-weight: normal;
}
.toolbar.main {
	margin: -10px;
	margin-bottom: 15px;
    background: #CCC;
    padding: 5px 5px 5px 10px;
}

.toolbar .paginator {
	display: inline;
}
.toolbar form {
    margin-left: 10px;
}
.toolbar form input {
    height: 18px;
}
.toolbar form label.autohide {
    padding: 3px;
}


ul.actions, ul.links, .paginator ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: inline-block;
}

ul.actions > li, .paginator ul li {
	display: inline-block;
}

ul.actions > li > a, .dropdown > a, input[type=submit], button {
	background: linear-gradient(to bottom, #666 5%, #444 100%);
	background-color: #666;
	/*border-radius: 3px;*/
	border: 1px solid #000;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	padding: 3px 8px;
	text-decoration: none;
	font-size: 11px;
	vertical-align: top;
}

ul.actions > li > a:active, .dropdown > a:active, input[type=submit]:active, button:active {
	background: linear-gradient(to bottom, #444 5%, #666 100%);
	background-color: #444;
}

ul.actions > li.important > a, ul.actions > li.important > .dropdown > a {
	font-weight: bold;
}

/* PAGINATION */

th a.desc:after, .th a.desc:after {
	content: ' ▲';
}

th a.asc:after, .th a.asc:after {
	content: ' ▼';
}

.paginator p {
	display: inline;
}

table, .table {
    border-collapse: collapse;
	width: 100%;
}
th, .th {
    font-weight: bold;
}
th, td, .th, .td {
    vertical-align: middle;
	text-align: left;
    padding: 0.35em;
}
.tr:nth-child(even) , tr:nth-child(even) {
    background: #E0E0E0;
}
.tr:nth-child(odd), tr:nth-child(odd) {
    background: #F0F0F0;
}
th a, .th a {
	color: #333;
	text-decoration: none;
}

tr.hidden, .tr.hidden {
    display: none;
}
thead tr, .thead .tr {
	background: #CCC !important;
}
tr.hoverable:hover, .tr.hoverable:hover {
	background: #b8d7f0;
}

td ul.actions a, .td ul.actions a {
	margin-right: 10px;
}
tr input, .tr input, tr select, .tr select {
    font-size: 11px;
}

/* DIV TABLE */
.table {
    display: table;
}
.thead {
    display: table-header-group;
}
.th {
    display: table-cell;
}
.tbody {
    display: table-row-group;
}
.tr {
    display: table-row;
}
.td {
    display: table-cell;
}
a.tr {
    color: #000;
}
a.tr:hover {
    color: #000;
}


/* FORMS */
tr form, .tr form {
    display: inline;
}
form label {
	display: inline-block;
	width: 150px;
	vertical-align: top;
}
form label.autohide {
    position: absolute;
    white-space: nowrap;
    color: #666;
    padding: 2px;
    cursor: text;
}
form .input {
	margin-bottom: 7px;
}
form .separator {
    height: 15px;
}

form .input div.control {
    display: inline-block;
}

fieldset {
	background: none repeat scroll 0 0 #efefef;
	border: 1px solid #000;
	display: inline-block;
	margin: 10px 20px 10px 0;
	padding-top: 10px;
}
fieldset.floating {
	float: left;
}
fieldset.block {
    display: block;
}

fieldset legend {
	font-size: 12px;
	display: block;
}

input, select, textarea {
	border: 1px solid #999;
    margin: 0;
}

input::-moz-focus-inner, button::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	width: 350px;
	height: 150px;
}

select[multiple] {
	height: 105px;
}

input[type=text], input[type=email] {
	width: 350px;
}
button[type=submit] {
	font-weight: bold;
}
form .unit {
    margin-left: 5px;
}

form.inline-form {
    display: inline;
}
form.inline-form input, form.inline-form label {
    display: inline;
}
fieldset ul {
    padding-left: 10px;
}


/* DROPDOWN */
.dropdown {
	position: relative;
	display: inline;
}

.dropdown-external {
    cursor: pointer;
}

.dropdown-link {
	cursor: pointer;
	color: #336202;
}

.dropdown-box {
	position: absolute;
	width: 250px;
	top: 35px;
	background: #FFFFFF;
	padding: 10px;
	display: none;
	z-index: 99;
	box-shadow: 0 0 0 5px rgba(0, 0, 0, .15);
	/*border-radius: 5px;*/
	border: #666 solid 1px;
}


.dropdown-box.small {
    width: auto;
}

.dropdown-box.wide {
	width: 500px;
}

.dropdown.topRight .dropdown-box {
	right: 0;
}

.dropdown.topLeft .dropdown-box {
	left: -10px;
}

.dropdown-box:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 0 11px 10px;
	border-color: #FFFFFF transparent;
	display: block;
	width: 0;
	z-index: 1;
	top: -10px;
	left: 22px;
}

.dropdown.topLeft .dropdown-box:after {
	left: 22px;
}

.dropdown.topRight .dropdown-box:after {
	left: 205px;
}

.dropdown-box:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 0 11px 10px;
	border-color: #336202 transparent;
	display: block;
	width: 0;
	z-index: 0;
	top: -11px;
	left: 22px;
}

.dropdown.topLeft .dropdown-box:before {
	left: 22px;

}

.dropdown.topRight .dropdown-box:before {
	left: 205px;
}

.dropdown-section {
	margin-bottom: 15px;
}

.dropdown-section-header {
	font-size: 12px;
	color: #006699;
	font-weight: bold;
	margin-bottom: 5px;
}

.dropdown-box .toolbar {
	background: none;
	padding-left: 0;
}

.dropdown-box .toolbar.main {
	background: none repeat scroll 0 0 #ccc;
	/*border-bottom-left-radius: 5px;*/
	/*border-bottom-right-radius: 5px;*/
	margin: 20px -10px -10px;
	padding: 5px 5px 5px 10px;
}

/* FILTER */

.filter select.filter_propertyName {
	width: 100px;
	margin-right: 5px;
}
.filter select.filter_comparator {
	width: 100px;
	margin-right: 5px;
}
.filter input[type=text] {
	width: 250px;
}
.filter .filter_row {
	margin-bottom: 10px;
}
.filter .filter_row a {
	padding: 0 3px;
	margin-right: 5px;
}



/* TASKS */

.due, .overdue {
	padding: 2px;
	margin: -2px;
}
.due {
	background: #ffa18c;
}
.overdue {
	background: #e80a00;
	color: #FFF;
}


.prio-0 {
	background: #0010bb;
	color: #FFF;
}
.prio-1 {
	background: #0012ff;
	color: #FFF;
}
.prio-2 {
	background: #3f53ff;
	color: #FFF;
}
.prio-3 {
	background: #797eff;
	color: #FFF;
}
.prio-4 {
	background: #b4baff;
}
.prio-5 {
	background: #e0e4ff;
}
[class^="prio-"] option {
    background: #fff;
    color: #000;
}
.task .parent-info {
    color: #999;
}

.td.stars {
    width: 12px;
}
.star {
    width: 12px;
    height: 12px;
    cursor: pointer;
}


.entries textarea {
	width: 446px;
}
.entries .entry {
	width: 450px;
	margin-top: 10px;
	background: #FFF;
	padding: 5px;
    position: relative;
}
.entries .entry.pinned:after {
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-image: url(../img/push-pin.svg);
    background-size: 12px 12px;
}
.entries .entry .info {
	font-weight: bold;
    padding: 0;
	margin-bottom: 5px;
    background: none;
}
.entries .entry span, .entries .entry a {
	margin-left: 10px;
}
.entries .entry .creator {
	margin-left: 0;
}
.entries .entry .info .date {
	color: #666;
}
.entries .entry .editLink {
	font-weight: normal;
}
.entries .entry .heading {
	font-weight: bold;
}
.entries .entry .text {
    white-space: pre-wrap;
}
.entries .entry .text a {
    margin: 0;
}
.entries .entry .text.additional {
	color: #999;
}
.commentForm {
	border: 1px solid #CCC;
	padding: 5px;
	background: #FFF;
}


.datepicker-relativedays {
	width: 20px !important;
}
.ui-widget-content .ui-priority-secondary {
    opacity: 1.0;
}
.ui-menu-item {
    border-bottom: 1px dotted gray;
}
.ui-menu-item:last-of-type {
    border-bottom: none;
}


.sortable {
    border: 1px solid #000;
    width: 142px;
    min-height: 20px;
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    margin-right: 10px;
    cursor: pointer;
}
.sortable li {
    margin: 0 5px 5px 5px;
    padding: 5px;
    font-size: 1.2em;
    width: 120px;
}
.sortable.target {
    background: #CCC;
}

.error-message {
    background: #c70900;
    color: #FFF;
    padding: 2px;
    margin-top: 5px;
}


/* ACTIVITY FORM */

form.activity fieldset {
    display: block;
}
.column {
    float: left;
}



/* KANBAN */


#kanban-pipe {
    float:left;
    width:12%;
}

#kanban-plan {
    float:left;
    margin-left: 20px;
    width:85%;
    z-index: 0;
}

.kanban-task {
    background-color:rgba(0,102,153,0.3);
    max-width:90%;
    margin:5px;
    padding: 8px;
    cursor: pointer;
    border-radius:8px;
    display:flex;
    text-align: left;
}

.kanban-task .inner {

}

.kanban-task label {
    width:45%;
    display: inline-block;
}

.kanban-task .due {
    background: none;
    color: red;
    font-weight: bold;
}

.kanban-task .highlight {
    color: black;
}

.kanban-week {
    text-align: left;
    padding: 8px;
    margin-bottom: 25px;
    clear:both;
    box-shadow:0px 5px 5px #888888;
    vertical-align: top;
}

#kanban-pipe h2 { font-size:14px; margin:0px; padding:3px; color:black; text-align:center; }
.kanban-week h2 { font-size:12px; margin:0px 0px 5px; padding:3px; color:black; }
.kanban-currentweek h2 { font-size:14px; color:red; }
.kanban-week h3 { font-size:11px; margin:3px; padding:3px; background-color:rgba(120,120,120,0.12); color:black; border-bottom:2px dashed lightgray; }
.kanban-currentweek h3 { font-size:13px; font-weight: bold; }

.kanban-weekday {
    width:14%;
    min-height: 100px;
    display:inline-block;
    text-align: center;
    margin-right:2px;
    padding-bottom:5px;
    vertical-align: top;
}

.kanban-currentweek .kanban-weekday {
    min-height: 300px;
}

.kanban-monday { background-color:azure; }
.kanban-tuesday { background-color:#e7fee7; }
.kanban-wednesday { background-color:azure; }
.kanban-thursday { background-color:#e7fee7; }
.kanban-friday { background-color:azure; }
.kanban-saturday { background-color:#e7fee7; }
.kanban-sunday { background-color:azure; margin-right:0px; }
