
.groupingRows, span.cell-input {
  position: relative;
}

.noCols .hasDatepicker {
  padding:.5rem .75rem
}

input.hasDatepicker::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ccc;
  opacity: 1; /* Firefox */
}

input.hasDatepicker:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ccc;
}

/* Re skin the jquery UI calander */
@font-face {
  font-family: "icomoon";
  src: url("icomoon.eot?ff86go");
  src: url("icomoon.eot?ff86go#iefix") format("embedded-opentype"), url("icomoon.ttf?ff86go") format("truetype"), url("icomoon.woff?ff86go") format("woff"), url("icomoon.svg?ff86go#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

.ui-datepicker {
  margin-top: 5px;
  padding: 20px;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  cursor: text;
  box-shadow: 0 4px 12px 0 rgba(22, 38, 59, 0.28);
  background: #fff;
  border: 0;
  width: 330px;
  color: #3e5467;
  font-size: 14px;
}

.ui-datepicker .ui-datepicker-header {
  background: none;
  border: 0;
  padding: 0;
  height: 50px;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all {
  border-radius: 4px;
  border: 0;
  padding: 0;
  margin: 0;
  outline: none;
  cursor: pointer;
  background-color: rgba(62, 84, 103, 0.08);
  width: 40px;
  height: 40px;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all:hover,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-state-hover,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-state-focus {
  background: none;
  background-color: rgba(62, 84, 103, 0.16);
  outline: none;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-prev {
  left: 2px;
  top: 2px;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-prev-hover.ui-state-disabled,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-prev.ui-state-disabled {
  background-color: rgba(62, 84, 103, 0.16);
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-next::before,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-prev::before {
  font-family: "icomoon";
  color: #3e5467;
  font-size: 14px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  line-height: 1;
  margin: auto;
  display: block;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-prev::before {
  content: "\ea40";
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-next-hover,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-next {
  right: 2px;
  top: 2px;
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-next::before {
  content: "\ea3c";
}

.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-next-hover.ui-state-disabled,
.ui-datepicker .ui-datepicker-header .ui-corner-all.ui-datepicker-next.ui-state-disabled {
  background-color: rgba(62, 84, 103, 0.16);
}

.ui-datepicker .ui-datepicker-header .ui-corner-all[disabled] {
  background-color: rgba(62, 84, 103, 0.05);
  color: rgba(62, 84, 103, 0.4);
}

.ui-datepicker .ui-datepicker-header .ui-corner-all .ui-icon {
  display: none;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
  margin: 2px 40px 0;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title select {
  width: 90px;
  height: 40px;
  background: #fff;
  border-radius: 4px;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #16263b;
  cursor: pointer;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #cbd2d6;
  background-image: linear-gradient(45deg, transparent 50%, rgba(62, 84, 103, 0.5) 50%), linear-gradient(135deg, rgba(62, 84, 103, 0.5) 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(1em + 3px), calc(100% - 18px) calc(1em + 3px), 100% 0;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  padding: 0 12px;
  margin: 0;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title .ui-datepicker-month {
  margin-right: 10px;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-title .select2-container {
  width: 90px;
  height: 40px;
}

.ui-datepicker .ui-datepicker-calendar {
  margin: 0;
}

.ui-datepicker .ui-datepicker-calendar th {
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  color: #627585;
  cursor: text;
  width: 40px;
  height: 40px;
  max-width: 40px;
}

.ui-datepicker .ui-datepicker-calendar th span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ui-datepicker .ui-datepicker-calendar td {
  padding: 0;
  border: 1px solid #e4e8eb;
  width: 40px;
  height: 40px;
}

.ui-datepicker .ui-datepicker-calendar td.ui-datepicker-other-month {
  border: 0;
}

.ui-datepicker .ui-datepicker-calendar td.ui-state-disabled {
  cursor: default;
}

.ui-datepicker .ui-datepicker-calendar td.ui-state-disabled .ui-state-default:hover,
.ui-datepicker .ui-datepicker-calendar td.ui-state-disabled .ui-state-default.ui-state-active {
  background: none;
}

.ui-datepicker .ui-datepicker-calendar td .ui-state-default {
  padding: 10px;
  color: #3e5467;
  font-size: 14px;
  background: none;
  text-align: center;
  border: 0;
  line-height: 1.42;
}

.ui-datepicker .ui-datepicker-calendar td .ui-state-default:hover {
  background-color: #D4E7FA;
}

.ui-datepicker .ui-datepicker-calendar td .ui-state-default.ui-state-active {
  background-color: #1B73B3;
  color: #fff;
}

/* Styles for custom Select dropdown */
.ui-datepicker .select2-container .select2-choice {
  padding: 11px 12px 10px;
  height: 40px;
  line-height: 1.25rem;
  color: #16263b;
  background-image: none;
  border-radius: 4px;
  border: solid 1px #cbd2d6;
  text-align: left;
}

.ui-datepicker .select2-container .select2-choice .select2-arrow {
  top: 22px;
  margin-right: 26px;
  width: 0;
  height: 0;
}

.ui-datepicker .select2-container .select2-choice .select2-arrow b {
  display: inline;
  opacity: 0.5;
  color: #3e5467;
  background: none;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-bottom: 0;
  border-left: 4px solid transparent;
}

.ui-datepicker .select2-dropdown-open .select2-choice {
  color: #fff;
  background-color: #3e5467;
  border-color: #3e5467;
}

.ui-datepicker .select2-dropdown-open .select2-choice .select2-arrow b {
  color: #fff;
}

.ui-datepicker .select2-dropdown-open.select2-drop-above .select2-choice {
  background-image: none;
  border-color: #3e5467;
  border-radius: 4px;
}

.select2-drop {
  margin-top: 4px;
  padding: 4px 0;
  border-radius: 4px;
  border: 0;
  box-shadow: 0 4px 12px 0 rgba(22, 38, 59, 0.28);
}

.select2-drop.select2-drop-above {
  margin: 0 0 4px;
  border-radius: 4px;
  border: 0;
  box-shadow: 0 4px 12px 0 rgba(22, 38, 59, 0.28);
}

.select2-drop.select2-drop-above.select2-drop-active {
  border: 0;
}

.select2-results {
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #16263b;
}

.select2-results .select2-no-results,
.select2-results .select2-result-label {
  padding: 10px 14px;
  font-size: 14px;
}

.select2-results .select2-highlighted {
  background-color: rgba(0, 204, 82, 0.15);
}

.select2-container-multi {
  height: auto;
  padding: 4px;
}

.select2-container-multi .select2-choices {
  border: 0;
}

.select2-container-multi .select2-choices .select2-search-choice {
  padding: 0 6px 0 14px;
  border-radius: 14px;
  line-height: 28px;
  color: #3e5467;
  background-color: #e4e8eb;
}

.select2-container-multi.select2-container-active .select2-choices {
  border: 0;
}

.select2-drop-above.select2-dropdown-open .select2-choice,
.select2-drop-above.select2-dropdown-open .select2-choices {
  border: 0;
  background-image: none;
}

.select2-drop-above.select2-drop.select2-drop-active {
  border: 0;
}

.select2-search-choice-close {
  position: static;
  height: 14px;
  width: 14px;
  min-height: 14px;
  min-width: 14px;
  background-image: none;
}

.select2-with-searchbox .select2-search {
  padding: 8px;
}

.select2-with-searchbox .select2-input {
  height: 40px;
  font-size: 14px;
  color: #16263b;
  background: none;
  border-radius: 4px;
  border-color: #3e5467;
}

.select2-with-searchbox .select2-input:focus {
  border-color: #00cc52;
}

.input.text-input.hasDatepicker {
  background: url(calendar.png) center right 8px no-repeat;
  background-size: 14px;
}
.input.text-input.hasDatepicker[disabled] {
  background-image: none;
}
