/* Colors picked from the logo.
 Light blue: #51a7dd
 Dark blue: #2d2579
 Dark pink: #eb349a
 Light pink: #f6b4d3
 */

/* Draggable modals */
.ui-draggable-handle {
	cursor: move;
    cursor: grab;
	&:active {
		cursor: grabbing;
	}
}

/* Styling for table cells */
span.cell-overbudget {
   font-weight: bold;
   color: white;
   background-color: red;
   padding: 2px;
}

span.cell-due {
   font-weight: bold;
}

span.cell-overdue {
   font-weight: bold;
   color: red;
}

.btn-hibiscus {
   background-color: #f6b4d3;
   border-color: #eb349a;
   color: #2d2579;
}

.btn-hibiscus:hover {
   background-color: #eb349a;
   border-color: #f6b4d3;
   color: #2d2579;
}

/* Fix scrolling */
body.hibiscus {
   padding-top: 54px;
}

/* div.dashboard-panel { */
/*    height: 92vh; */
/*    overflow-y: scroll; */
/* } */

/* Styling for the task modal */
#task-modal #task-Description-display {
    /* Chrome lets long links overflow and doesn't wrap them. */
    overflow-x: scroll;
}

/* Styling for data tables */
td.details-control {
    background: url('/public/img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('/public/img/details_close.png') no-repeat center center;
}
td.clock-delete {
    background: url('/public/img/row_delete.png') no-repeat center center;
}
td.dt-project-log-description {
    scale: 80%;
}

.projectListTable tbody > tr,
#taskTable tbody > tr,
#hoursTable tbody > tr{
    cursor: pointer;
}

/* Styling for reports */
table.dataTable tbody td.userDataChild {
   padding-left: 20%;
   background-color: #eeeeff;
}

table.dataTable tbody td.userDataChild tr {
   background-color: #eeeeff;
}

td.userReportUserName {
   font-weight: bold;
   font-size: 1.1rem;
}

table.dataTable tbody td.clientDataChild {
   padding-left: 20%;
   background-color: #ffeeff;
}

table.dataTable tbody td.clientDataChild tr {
   background-color: #ffeeff;
}

td.clientReportClientName {
   font-weight: bold;
   font-size: 1.1rem;
}

/* Styling for timer window */
#timer-col, #timer-buttons {
   text-align: center;
}

span#timer-time {
   font-size: 4.0em;
   font-weight: bold;
}

input.timer-field {
   width: 30%;
}

/* Additional styling for forms */
label.error {
   color: #ff0000;
   font-size: 0.4rem;
}

/* Styling for search results */
#searchResults .search-result-title {
    font-size: 105%;
    font-weight: bold;
}

#searchResults .search-result-description h2 {
    font-size: 1.2em;
}

/* Styling for Svelte Typeahead */
li > mark {
    padding: 0px;
    cursor: pointer;
}
 
li.selected > mark {
    padding: 0px;
    cursor: pointer;
}

ul.svelte-typeahead-list > li {
    cursor: pointer;
}

/* Styling for file upload stuff. */
.drop-zone {
    max-width: 100%;
    height: 150px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
    cursor: pointer;
    color: #777;
    border: 2px dashed #ccc;
    border-radius: 10px;
}

.drop-zone--over {
    border-style: solid;
    background-color: rgba(0,0,0,0.1);
}

.drop-zone__input {
    display: none;
}
