@charset "UTF-8";

html {
  text-align: center;
}

/* waiting cursor */
html.waiting {
  cursor: wait;
}

body {
  font-size: 0.75em;
  max-width: 100em;
  text-align: left;
  margin: auto;
}

ul {
  margin-left: 0px;
}

/* GLOBAL STYLES */

.left {
  float: left;
}

.listStyleNone {
  list-style: none;
}

/* form style */
input {
  width: 18em;
}

select {
  width: 18.5em;
}

.clearboth {
  clear: both;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1em;
  height: 1em;
  margin: 0.4em;
}

input[type="checkbox"].inlineInputBox,
input[type="radio"].inlineInputBox {
  margin: 0em;
}

input[type="submit"] {
  width: 10em;
  float: right;
}

form#edit,
table.edit {
  float: left;
  width: 50%;
}

/* fixe margin style */
.marginTopS {
  margin-top: 10px;
}

.marginTopM {
  margin-top: 20px;
}

/* tables in two columns */
div.edit {
  float: left;
  width: 50%;
}
div.edit.left {
  width: 49%;
  padding-right: 0.6em;
}

/* fix width for 50% tables */
div.edit.left table.fulltable {
  width: 100%;
}

div.edithalf {
  float: left;
  width: 25%;
}
div.edithalf.left {
  width: 30%;
  padding-right: 0.6em;
}

/* fix width for 50% tables */
div.edithalf.left table.fulltable {
  width: 100%;
}

div.editthreeoffour {
  float: left;
  width: 69%;
}
div.editthreeoffour.left {
  width: 74%;
  padding-right: 0.6em;
}

/* fix width for 50% tables */
div.editthreeoffour.left table.fulltable {
  width: 100%;
}

fieldset.fieldgroup {
  margin-bottom: 0.5em;
  display: block;
  clear: both;
}

fieldset.fieldgroup legend {
  width: 96.5%;
  margin-bottom: 0.1em;
  padding: 0.5em;
  float: left;
  /* jquery ui ui-widget-header */
  border: 1px solid #aed0ea;
  background: #deedf7
    url(cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png) 50% 50%
    repeat-x;
  color: #222222;
  font-weight: bold;
}

fieldset#fieldset-last {
  width: 100%;
}

/* table data style */
tr td,
tr th {
  padding: 0 0.4em;
  vertical-align: middle;
}

tbody tr:hover td {
  background-color: #b3d9e0;
}

.nohover tbody tr:hover,
.nohover tbody tr:hover td {
  background-color: inherit;
}

/* thead style  */
thead {
  font-weigth: bold;
  background-color: #b3d9e0;
}
thead tr th {
  text-align: left;
  padding: 0.4em;
}

/* crollable area */
.scrollContent {
  overflow-y: scroll;
  overflow-x: hidden;
  height: 250px;
}

.scrollContent tr td,
.scrollContent tr {
  min-height: 15px !important;
  height: 15px !important;
}

.th_first {
  width: 40px;
}

.th_editview {
  text-align: right;
  width: 40px;
}

.td_currency {
  text-align: right;
  padding-right: 1em;
  width: 60px;
}

/* table alternate row colors */
.row-first {
  background-color: #f0f7fb;
}
.row-second {
  background-color: #e7f3fb;
}

.ellipse-td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.td-150 {
  max-width: 150px;
}

/* general spacing for jqueryui tables */
.tablespacing {
  border-collapse: separate;
  border-spacing: 5px;
}

.button-box {
  display: block;
  clear: none;
  padding: 0.2em;
  float: right;
  /*margin-left: 0.3em;*/
}

.button-boxleft {
  display: block;
  clear: none;
  padding-left: 1em;
  float: left;
}

.button-boxright {
  display: block;
  clear: none;
  padding-right: 1em;
  float: right;
}

/* create transparent background */
.transparent {
  background-color: transparent;
}

/* text formatting */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

/* comments field */
.comment {
  width: 18em;
  height: 18em;
}

.bold {
  font-weight: bold;
}

/* jquery ui changes */
/* tabs */
.ui-tabs {
  /*font-size: 0.9em;     */
}

/* buttons */
input.ui-button {
  padding: 0.2em 1em;
  position: static;
}

.ui-button {
  padding: 0.2em 1em;
  position: static;
}

.ui-widget .ui-widget {
  font-size: 0.9em;
}

.ui-datepicker-trigger {
  margin: 0px 0 0 5px;
  vertical-align: middle;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header {
  margin-bottom: 8px;
}
.ui-timepicker-div dl {
  text-align: left;
}
.ui-timepicker-div dl dt {
  height: 25px;
}
.ui-timepicker-div dl dd {
  margin: -25px 0 10px 65px;
}
.ui-timepicker-div td {
  font-size: 90%;
}

/* Edit Form*/
#edit dl dt {
  clear: both;
  margin-bottom: 0.1em;
  float: left;
  background-color: #e7f3fb;
  padding: 0.2em;
  width: 55.5%;
  vertical-align: middle;
  height: 25px;
}
#edit dl dt label {
  height: 100%;
  vertical-align: middle;
  font-weight: bold;
  padding: 0.8em 0 0 0.3em;
}
#edit dl dd {
  height: 25px;
  margin-left: 0.1em;
  float: left;
  background-color: #f0f7fb;
  padding: 0.2em;
  width: 41.5%;
  vertical-align: middle;
}
/* comments field */
#edit dl dd#comments-element {
  height: 19em;
}
#edit dl dt#comments-label {
  height: 19em;
}

/* PAGINATION */

/* main block */
.paginationControl {
  float: right;
  padding-top: 0.2em;
}

/* main block */
.paginationControl2 {
  float: right;
}

/* pagination links */
.paginationControl a {
  text-decoration: none;
}

/* current page in pagination */
.paginationControl #current_page {
  font-weight: bold;
}

/* disabled pagination elements */
.paginationControl .disabled {
  color: #ccc;
}

/* form error message */
.errors li {
  display: inline;
  position: absolute;
  margin-left: 0px;
  background-color: #fff;
  border: 1px solid red;
  border-top: 5px solid red;
  padding: 3px;
  line-height: 13px;
  width: 208px;
}

/* HEADER */
/* page header */
#topheader {
  background-color: #f0f7fb;
  padding: 1em 1em 0em 1em;
  position: relative;
}
#topheader #textheader {
  float: right;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 15px;
}

/* content style */
#content {
  padding: 0.5em;
  position: relative;
}

/* LIVE SEARCH */
.livesearchmenu {
  float: right !important;
  position: relative !important;
}

/* search close button */
.livesearchmenu a {
  padding: 0px !important;
  margin: 0px !important;
  position: absolute;
  right: 5px;
  top: 4px;
  z-index: 500;
}

/* search result box */
#livesearchresult {
  display: none;
  min-height: 20px;
  position: absolute;
  top: -10px;
  right: 13px;
  width: 240px;
  z-index: 500;
  background: white;
}

/* GENERIC LIST SEARCH BLOCK */
/* search boxes */
#listsearch div {
  float: left;
  display: inline;
  margin-right: 0.5em;
  background-color: #b3d9e0;
}
/* new for submit edit */
.listsearch_p {
  padding-right: 35px !important;
}
.listsearch_p span {
  position: absolute;
  margin-top: -23px;
  margin-left: 300px;
}

.listsearch_admin {
  margin-left: 497px !important;
}

/* search heading */
#listsearch div h2,
#reportFilter div h2 {
  padding: 0.4em;
}

/* input fields paragraph style */
#listsearch div p,
#reportFilter div p {
  padding: 0.4em;
}

#listsearch input,
#listsearch select,
#reportFilter input,
#reportFilter select {
  width: 11em;
}

#listsearch input[type="checkbox"],
#listsearch input[type="radio"] {
  width: 1em;
}
#listsearch label {
  padding-right: 10px;
}

/* submit button style */
#listsearch div p input[type="submit"],
#reportFilter #submit input,
#activityFilter #submit input {
  display: inline;
  border: none;
  width: 1.3em;
}

.ui-dropdownchecklist-item input {
  width: 1em !important;
}

/* list result placeholder */
#listresult {
  clear: both;
  padding-top: 0.5em;
}

#listresult table,
.fulltable {
  width: 100%;
}

/* LOGIN PAGE */
/* login width size */
#login-form {
  width: 18.5em;
  margin: 10% auto;
  border: 1px solid #f2f5f7;
}

/* zend login form area */
.login-box .zend_form {
  width: 18.5em;
  padding: 1em;
  padding-bottom: 2.7em;
  margin: 0em auto;
}

/* width of input login */
.login-box .zend_form #email-element input,
.login-box .zend_form #password-element input {
  width: 16em;
  margin-bottom: 0.4em;
}

/* width of input login */
.login-box .zend_form #email-element input,
.login-box .zend_form #password-element input {
  width: 16em;
  margin-bottom: 0.4em;
}

/* hide login submit button label */
.login-box .zend_form #login-label {
  display: none;
}

/* login submit button */
.login-box .zend_form input[type="submit"] {
  float: left;
}

/* ADMIN Pages */
.create-menu input[type="submit"] {
  float: none;
  width: auto;
}

/* ACTIVITY Pages */
#activity-create {
  margin-top: 10px;
}

#activity-create table td.last-column textarea {
  width: 98.5%;
  height: 70px;
}

#activity-create table td .date img {
  margin: 4px 0px 0px 3px;
}

/* Fixed Activity Table */
.activity-table .th_first {
  width: 150px;
}
.activity-table .th_type {
  width: 140px;
}
.activity-table .th_owner {
  width: 150px;
}
.activity-table .th_date {
  width: 100px;
}
.activity-table .th_done {
  width: 60px;
}
.activity-table .th_editview {
  width: 80px;
}

/* Fixed Home Request Table */
.th_firstname {
  width: 105px;
}
.th_lastname {
  width: 105px;
}
.th_date {
  width: 60px;
}
.th_status {
  width: 140px;
}
.th_resultlist {
  width: 75px;
}
.th_activityname {
  width: 195px;
}
.th_activitydate {
  width: 60px;
}
.th_activitystatus {
  width: 190px;
}
.th_activityresultlist {
  width: 55px;
}

/* 2x select box on user/home */
.homeselect {
  width: 140px;
}

/* Request Summary Customer and Product td width */
.th_summarycustomer1 {
  width: 200px;
}
.th_summarycustomer2 {
  width: 150px;
}

.th_activitytodayduedate {
  width: 150px;
}
.th_activitytodayinterdepen {
  width: 400px;
}
.th_activitytodayownerpending {
  width: 230px;
}
.th_activitytodaystatus {
  width: 200px;
}

/* Request Edit */
#note-label,
#note-element {
  background: none !important;
  font-weight: normal;
  font-size: 0.85em;
  margin-bottom: -35px !important;
}

/* Report Filter Customer and Summary */
#reportFilter img.ui-datepicker-trigger {
  margin: 0px;
}

/* hide disabled elements */
.disabled {
  display: none;
}

/* Customer summary */
/* Show Request */
.th_spaceM,
.td_spaceM,
.th_showrequestbank,
.th_showrequestproduct {
  width: 15%;
}

.th_spaceS,
.td_spaceS,
.th_showrequestmonth,
.th_showrequestinterest,
.th_editview,
.th_showrequestrate,
.th_showrequestamount {
  width: 10%;
}

.th_spaceXS,
.td_spaceXS {
  width: 7.5%;
}

.th_spaceXXS,
.td_spaceXXS {
  width: 5%;
}

.th_spaceL,
.td_spaceL,
.h_showrequeststatus {
  width: 22%;
}

.widthM {
  width: 15em !important;
}

.widthXS {
  width: 5em !important;
}

.widthS {
  width: 7.5em !important;
}

#documentUpload-form label,
#documentUpload-form label {
  float: left;
  display: block;
  clear: none;
}

/* Export Data */
form#export-form input {
  width: 180px;
}

#reports span#submit {
  margin-top: 0;
}

.oldentry {
  color: red;
}

div.filterContainer input[type="checkbox"] {
  position: relative;
  top: 3px;
}

table.crif {
  width: 100%;
  border-collapse: collapse;
}
table.crif tr td,
tr th {
  vertical-align: middle;
  padding: 0px;
}
table.crif td.crif_label {
  width: 18%;
}
table.crif td.crif_val {
  width: 82%;
}
table.crif td > span {
  padding: 0 0.4em;
}

table.crif_i0 > tbody > tr > td {
  border: 1px solid #ddd;
}
table.crif_i0 > tbody > tr > td.crif_label {
  width: 10%;
}
table.crif_i0 > tbody > tr > td.crif_val {
  width: 90%;
}
table.crif_i0 > tbody > tr:nth-child(odd) td {
  background: #f0f7fb;
}
table.crif_i0 > tbody > tr:nth-child(even) td {
  background: #e7f3fb;
}

table.crif_i1 > tbody > tr > td {
  border-right: 1px solid #aed0ea;
  border-bottom: 1px solid #aed0ea;
}
table.crif_i1 > tbody > tr:last-child > td {
  border-bottom: none;
}
table.crif_i1 > tbody > tr > td:last-child {
  border-right: none;
}

table.crif_i1 > tbody > tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.2);
}

table.crif_i2 > tbody > tr > td {
  border-bottom: 1px solid #fefefe;
}
table.crif_i2 > tbody > tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.4);
}

table.crif_i3 > tbody > tr > td {
  border-bottom: 1px solid #fefefe;
}
table.crif_i3 > tbody > tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.6);
}

.crif-ui-icon {
  display: inline-table !important;
}

ul.crif {
  margin-left: 15px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  max-height: fit-content;
  background-color: hsl(213deg 100% 43% / 60%);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px;
  text-wrap: nowrap;
  position: absolute;
  left: 0%;
  top: 150%;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* 
  Activity bulk actions
*/

.bulk-action-button.ui-button {
  padding: 0.2em 1em;
  display: none;
}

.activity-filter-container {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

input[type="checkbox"].checkbox--bulk-action {
  width: 0.85em;
  margin-left: 4px !important;
  cursor: pointer;
  vertical-align: bottom;
}

.btn-padding-small {
  padding: 0.2em 1em;
}

.mt-small {
  margin-top: 0.5rem;
}

.mb-small {
  margin-bottom: 0.5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.text-error {
  color: #ff0000;
}

/*
  Activity Color Picker
*/

.color-null {
  background-color: transparent;
  border: 1px solid hsl(206, 59%, 70%);
  border-radius: 4px;
}

.color-1 {
  background-color: hsl(214, 88%, 57%);
  border: 1px solid hsl(214, 88%, 37%);
}

.color-2 {
  background-color: hsl(113, 51%, 47%);
  border: 1px solid hsl(113, 51%, 27%);
}

.color-3 {
  background-color: hsl(1, 66%, 56%);
  border: 1px solid hsl(1, 66%, 36%);
}

.color-4 {
  background-color: hsl(39, 98%, 63%);
  border: 1px solid hsl(39, 98%, 43%);
}

.color-5 {
  background-color: hsl(165, 5%, 71%);
  border: 1px solid hsl(165, 5%, 51%);
}

.color-palette {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.color-palette__color {
  width: 30px;
  height: 30px;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 4px;
}

.color-palette__color--selected
/* .color-palette__color:hover  */ {
  box-shadow: inset 0 0 0 2px #222;
  transition: all 0.15s ease;
}

.row-color {
  cursor: pointer;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 5px;
  margin-right: 6px;
  position: relative;
  right: 4px;
  border-radius: 4px;
}

#color-picker-dialog.ui-dialog-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto !important;
  padding: 1.95em 1.9em 1.75em;
}

/* 
  Activity Priority Accordion
*/
.activity-priority-accordion {
  margin-bottom: 0.5rem;
}

.activity-priority-accordion.ui-accordion .ui-accordion-header {
  border: 1px solid #aed0ea;
  border-radius: 0;
  padding: 0.4em 0.4em 0.4em 1rem;
}

.activity-priority-accordion.ui-accordion .ui-accordion-content {
  padding: 0;
  overflow: hidden;
}

.activity-priority-accordion.ui-accordion .ui-accordion-header .ui-icon {
  left: 0;
}

.activity-priority-accordion.ui-accordion .ui-accordion-header {
  border-color: transparent;
  color: white;
}

.activity-priority-accordion--1.ui-accordion .ui-accordion-header {
  background: hsl(0, 74%, 65%);
}

.activity-priority-accordion--2.ui-accordion .ui-accordion-header {
  background: hsl(20, 74%, 65%);
}

.activity-priority-accordion--3.ui-accordion .ui-accordion-header {
  background: hsl(200, 74%, 65%);
}

/* make accordion have a triangle with white background instead of the default blue for all states */
.activity-priority-accordion.ui-accordion .ui-state-active > .ui-icon,
.activity-priority-accordion.ui-accordion .ui-state-default > .ui-icon {
  background-image: url("cupertino/images/ui-icons_ffffff_256x240.png");
}
