/* CSS stylings related to colors and themes */

.helpIcon {
  cursor: pointer;
  width: 14px;
  height: 14px;
  vertical-align: baseline; /* Foundation sets this to middle, which looks weird */
}

.clickable {
  cursor: pointer;
}

.ui-icon {
  float: left;
  margin-left: 5px;
  margin-right: 5px;
}

.helpContent {
  display: block;
  line-height: 120%;
  font-size: 11pt;
}

.helpContent div:nth-of-type(1n+2) {
  padding-top: 1em;
}

.ui-tooltip {
	padding: 0px;
}

.ui-tooltip-content {
  line-height: 120%;
}

.qtip .ui-widget-content {
  background-color: #E6ECFB !important;
  background-image: none;
}

div.qtip {
  max-width: 500px;
}

.qtip .qtip-content {
  max-height: 400px;
  overflow-y: auto;
}

.dialog-message {
  font-weight: bold;
}

.dialog-message-item {
  margin-bottom: .8em;
}

.hiddenLbl {
  font-weight: bold;
  margin-bottom: .25em;
}

.hiddenDetails {
  margin-bottom: 1em;
}

.hiddenCol {
  float: left;
  margin-right: 2em;
}

.dateRangeSearch > div {
  float: left;
}

.dateItem {
  float: left;
  padding-bottom: 10px;
}

.monospace {
  font-family: monospace;
}

.footnote {
  float: right;
  font-size: .8em;
}

/* Override the jquery link style so links are blue */
.ui-widget-content a {
  color: #0000EE;
}

.ui-tabs-nav .ui-state-default {
  background: lightgrey;
}

.ui-tabs-nav .ui-state-active {
  background: white;
  color: black;
}

.ui-tabs-nav .ui-state-active a, .ui-tabs-nav .ui-state-active a:visited {
  color: black;
}

.select2-drop {
  font-size: 13px;
}

/* Style select2 to be squared, not rounded off */
.select2-container a.select2-choice,
.select2-container .select2-choice span.select2-arrow {
  border-radius: 0px;
  line-height: 24px;
  height: 24px;
  font-size: 13px;
}

.select2-container .select2-choice span.select2-arrow {
  background-image: inherit;
  border: 0;
}

@media screen {
  input, select, textarea {
    font-size: 100%;
  }

  input.ccap-radio + span {
    margin-right: -5px;
  }

  .alert-icon, .error-icon {
    float: left;
    margin-right: .3em;
  }

  .ccap-error-box {
    border-color: #ff0015;
  }

  .ccap-table {
    border: 1px solid;
  }

  .ccap-table th {
    font-size: 100%;
    font-weight: bold;
    background-color: #c0c6c2;
  }

  .ccap-table td {
    font-size: 100%;
  }

  legend {
    font-weight: bold;
  }

  .formButtonContainer {
    border: none;
    width: 600px;
  }

  .errors > .lift_error {
    text-align: left;
  }

  .noLabel {
    margin-top: 1.4em;
  }

  .detailButton {
    margin-top: 15pt;
  }

  .crudStrToUpper {
    text-transform: uppercase;
  }
}

@media print {
  .help {
    display: none;
  }

  .ui-button {
    display: none;
  }

  a:link, a:visited, a:hover, a:active {
    text-decoration: none;
  }
}

.ui-accordion .accordion-header {
  padding-top: 0em;
  padding-bottom: 0em;
}

.modal-dialog-content {
  margin: 1em;
}

.notice {
  font-weight: bold;
  text-align: center;
  width: 100%;
  color: green;
}

.multiselect-available-list .ui-widget-header,
.multiselect-selected-list .ui-widget-header {
  height: 40px !important;
}

.multiselect-available-list .header-text {
  display: block !important;
}

.multiselect-available-list .uix-search {
  margin-top: 5px;
}

/* Ensure blank jquery-timepicker dropdown items are not shorter than the rest */
ul.ui-timepicker-list li {
  min-height: 16px;
}