/* module-key = 'com.jiraworkcalendar.work-calendar:gadget-resources', location = '/css/gadgets/userTimesheet.css' */
/* === container for messages, already defined in Cloud version === */

.aui-page-panel.wtc-time-gadget {
  border: 0;
  margin: 0;
}

/* for server we want to have additional padding */
.aui-page-panel.wtc-time-gadget.server {
  padding: 5px;
}

form.aui.wtc-settings {
  margin: 0;
  padding: 0 10px;
}

.wtc-container {
  position: relative;
  overflow: auto;
  color: #333;
}

.wtc-time-gadget table, .wtc-time-gadget th, .wtc-time-gadget td {
  border: 1px solid #eee;
}

.wtc-time-gadget table {
  font-family: arial, sans-serif;
  font-size: 12px;
  color: #333;
  width: 100%;
  border-spacing: 0;
  border-bottom: 0;
  border-left: 0;
  width: 100%;
}

.wtc-time-gadget td, .wtc-time-gadget th {
  border-top: 0;
  border-right: 0;
  padding: 0;
}

.wtc-time-gadget th {
  padding-right: 3px;
  padding-left: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
  font-weight: bold;
  vertical-align: center;
}

.wtc-time-gadget td {
  padding: 1px 2px;
  text-align: center;
  border-right: 0;
}

.wtc-time-gadget td:first-child {
  white-space: nowrap;
  text-align: left;
}

.wtc-time-gadget td:nth-child(2) {
  font-weight: bold;
}

.wtc-time-gadget td:nth-child(n+3) {
  font-weight: bold;
  color: #777;
}

.wtc-time-gadget tr th.weekend,.wtc-time-gadget tr td.weekend {
  background: #f9eeef;
}

.wtc-time-gadget tr th.today,.wtc-time-gadget tr td.today {
  background: #fcf8e3;
}

.wtc-time-gadget tr th.hover,.wtc-time-gadget tr td.hover {
  background: #f5f5f5;
}

.wtc-time-gadget tr th.selected,.wtc-time-gadget tr td.selected {
  background: #fdfaa8;
}

.wtc-time-gadget tr.odd {
  background: #FAFAFA;
}

.wtc-time-gadget tr.total td {
  font-weight: bold;
  color: #333;
}

.controlBlockDiv {
  opacity: 0.6;
  z-index: 1;
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 100%;
  cursor: not-allowed;
}

/* need this since Server version has aui-overrides.css */
.wtc-time-gadget form.aui .aui-button-link.cancel {
  padding: 5px 10px !important;
}
/* override for Server version */
.aui-dropdown2.aui-style-default .select2-highlighted strong {
  color: #fff !important;
}

.no-margin {
  margin: 0 !important;
}

.aui-progress-indicator.progress-indicator-cust {
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 206px;
  height: 11px;
  padding: 0;
  margin: auto;
}

.aui-progress-indicator-value.progress-indicator-value-cust {
  height: 11px;
}