#time-input-to, #time-input-from {
  width: 122px;
  margin-right: 8px;
  height: 32px;
  text-align: right;
}

#time-slider-wrapper {
  margin-top: 1px;
}

.time-slider-label {
  width: 40%;
  float: left;
  text-align: right;
}

.time-slider-range-content {
  width: 55%;
  float: right;
}

.time-slider-content {
  width: 90%;
  margin: 0px auto;
}

#time-slider-from, #time-slider-to {
  margin: 0em 1em 0em 1em;
  display: block;
}

#time-slider-row, #time-slider-row-to, #time-slider-row-from, #time-timezone-wrapper {
  height: 1.5em;
}

#time-timezone-wrapper {
  height: 32px;
  line-height: 32px;
  margin-top: 10px;
  vertical-align: middle;
}

#time-timezone-wrapper .ui-combobox {
  float: left;
  margin-left: 5px;
}

div.cleaner {
  clear: both;
}

.time-error {
  background-color: #FAAFBE; /*pink*/
  border-color: red;
}

div.input[type="text"] {
  display: block;
}

.time-range-checkbox-wrapper {
  margin: 10px;
  display: inline-block;
  width: auto;
}

.time-range-checkbox-wrapper label {
  margin-left: 5px;
  color: #666B9E;
  text-decoration: underline;
  cursor: pointer;
}

.time-range-input-wrapper {
  display: block;
}

.monthpicker-prev-year-button {
  left: 5px;
  padding-top: 3px;
  margin-top: -3px;
}

.monthpicker-next-year-button {
  right: 5px;
  padding-top: 3px;
  margin-top: -3px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE has different padding in buttons */
  .monthpicker-prev-year-button, .monthpicker-next-year-button {
    padding-top: 7px;
  }
}

.monthpicker-prev-year-button, .monthpicker-next-year-button,
.yearpicker-prev-year-button, .yearpicker-next-year-button,
.semesterpicker-prev-year-button, .semesterpicker-next-year-button {
  float: left;
  display: block;
  cursor: pointer;
  margin-bottom: 8px;
  background-color: #0065A9;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  background-position: center center;
  position: absolute;
  top: 2px;
  width: 32px;
  height: 32px;
}

.monthpicker-prev-year-button:hover, .monthpicker-next-year-button:hover,
.yearpicker-prev-year-button:hover, .yearpicker-next-year-button:hover,
.ui-datepicker-next:hover, .ui-datepicker-prev:hover,
.semesterpicker-prev-year-button:hover, .semesterpicker-next-year-button:hover {
  background-color: rgba(0, 101, 169, 0.75);
}

.yearpicker-prev-year-button {
  left: 5px;
  padding-top: 3px;
  margin-top: -3px;
}

.yearpicker-next-year-button {
  right: 5px;
  padding-top: 3px;
  margin-top: -3px;
}

.monthpicker-show-year, .yearpicker-show-year, .semesterpicker-show-year {
  height: 30px;
  width: 100%;
  display: block;
  float: left;
  text-align: center;
  cursor: default;
  font-size: 16px;
  padding-top: 4px;
  font-weight: bold;
}

.monthpicker-month, .yearpicker-year {
  cursor: pointer;
}

div.table-wrapper {
  max-width: 284px;
  max-height: 94px;
  width: 264px;
  height: 94px;
}

.semesterpicker-stable-semester {
  float: left;
  font-size: 15px;
  width: 49.3%;
  height: 30px;
  text-align: center;
  text-decoration: underline;
  border: 1px solid #A9A9A9; /*darkgray*/
  padding-top: 7px;
  cursor: pointer;
}

.semesterpicker-stable-semester:hover {
  background-color: #E3E3E3; /*lightgray*/
}

.semesterpicker-checkbox-wrapper {
  height: 30px;
  font-weight: bold;
  margin: none;
  text-align: left;
  margin-top: 5px;
  margin-bottom: 15px;
}

.semesterpicker-help-icon {
  width: 24px;
  height: 24px;
  margin: 3px;
  margin-left: 20px;
}

.semesterpicker-select option {
  text-align: left;
}

div.originalinput-wrapper {
  display: inline-block;
}

.datepicker-arrow-left, .datepicker-arrow-right {
  cursor: pointer;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  background-color: inherit;
  border: 1px solid #CCCCCC;
  background-position: center center;
  display: inline-block;
  padding: 3px;
}

.blue-color {
  color: rgba(0, 101, 169, 0.75);
}

.blue-color:hover {
  color: #0065A9;
}

.datepicker-arrow-left {
  margin-left: 5px;
  float: right;
  border-right: 0;
  border-radius: 2px 0 0 2px;
}

.datepicker-arrow-right {
  margin-left: 0;
  border-radius: 0 2px 2px 0;
  float: right;
}

.time-range-input-wrapper {
  display: inline;
}

/* ---- button in input ---- */

.div-button-in-input {
  border: 1px solid #CCCCCC;
  display: -moz-inline-stack;
  display: inline-block;
  padding-right: 4px;
  vertical-align: middle;
  background-color: white;
  line-height: 32px;
  height: 32px;
  color: black;
  border-radius: 2px;
  padding-left: 10px;
  font-weight: bold;
}

a.button-in-input {
  display: block;
  float: right;
  margin-top: 3px;
  height: 24px;
  width: 24px;
}

a.button-in-input, span.button-in-input-span {
  cursor: pointer;
  display: -moz-inline-stack;
  display: inline-block;
  height: 18px;
  width: 18px;
  border: none;
  border-radius: 2px;
  position: relative;
}

span.button-in-input-span {
  display: none;
  cursor: default;
}

.ui-datepicker-trigger {
  display: none;
}

/* ---------------- DAY PICKER ---------------- */

.ui-datepicker {
  padding: 8px;
  line-height: normal;
  width: auto;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.35);
}

.ui-datepicker-header {
  margin-bottom: 8px;
  height: 32px;
  color: #222;
  background: none;
  border: none;
}

.ui-datepicker-next, .ui-datepicker-prev {
  width: 40px;
  height: 40px;
  background-color: #0065A9;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px !important;
  position: relative;
  border: none !important;
}

.ui-datepicker .ui-datepicker-prev-hover {
  left: 5px;
}

.ui-datepicker .ui-datepicker-next-hover {
  right: 5px;
}

.ui-datepicker .ui-datepicker-title {
  line-height: 20px;
  margin: 0px;
  text-align: center;
  font-weight: normal;
  font-family: Arial;
  font-size: 16px;
}

table.ui-datepicker-calendar {
  min-width: 274px;
}

.ui-datepicker-calendar th {
  font-family: Arial;
  font-size: 13px;
  color: #6B6B6B;
  font-weight: normal;
  padding: 25px 0px 7px;
}

.ui-datepicker-calendar th .ui-state-default, .ui-datepicker-calendar td .ui-state-default {
  padding: 7px;
  text-align: center;
}

table.ui-datepicker-calendar tr td .ui-state-default {
  font-weight: normal !important;
  font-family: Arial;
  font-size: 13px;
  height: 32px;
}

td.ui-datepicker-other-month > a {
  background-color: #F9F9FA;
  color: #B2B2B2;
  border: 2px solid #F9F9FA;
}

table.ui-datepicker-calendar tr td .ui-priority-secondary {
   background-color: #F9F9FA;
   border: 2px solid #F9F9FA;
   color: black;
 }

table.ui-datepicker-calendar tr td .ui-priority-secondary:hover {
  background-color: #0065A9;
  color: #ffffff;
}

table.ui-datepicker-calendar tr td .ui-state-highlight {
  background: #B9BFC6;
  border: 1px solid #FFFFFF;
}

table.ui-datepicker-calendar tr td .ui-state-highlight:hover {
  background-color: #0065A9;
  border: 1px solid #FFFFFF;
  color: #ffffff;
}

table.ui-datepicker-calendar tr td .ui-state-highlight.ui-state-active {
  border: 0 solid #0065A9;
  background-color: #0065A9;
  color: #ffffff;
}

button.ui-datepicker-close {
  font-size: 12px;
  min-width: 52px;
  line-height: 24px;
}

.ui-datepicker-current {
  padding: 0 8px;
  color: rgba(0, 101, 169, 0.75);
  border: 1px solid #0065A9;
  /*this is overriding emfip !important style*/
  border-radius: 2px !important;
  font-size: 12px;
  line-height: 24px;
  background-color: white;
  height: 24px;
}

.ui-datepicker-current:hover {
  color: #0065A9;
}

td.ui-datepicker-week-col {
  font-weight: bold;
  cursor: pointer;
}

.monthpicker-month-inner,
.yearpicker-year-inner {
  font-size: 12px;
  padding: 7px;
  width: 74px;
  height: 32px;
}

.monthpicker td.ui-state-default,
.yearpicker td.ui-state-default {
  border: none;
  background: none;
  color: black;
}

.monthpicker td.ui-state-highlight div,
.yearpicker td.ui-state-highlight div {
  color: #000000;
  background: #B9BFC6;
  border: 1px solid #FFFFFF;
}

.monthpicker td.ui-state-highlight div:hover,
.yearpicker td.ui-state-highlight div:hover {
  background-color: #0065A9;
  color: #ffffff;
}

.monthpicker td.ui-state-active > div,
.yearpicker td.ui-state-active > div {
   background-color: #0065A9;
   color: #ffffff;
 }

.monthpicker-footer,
.yearpicker-footer {
  text-align: left;
}

input:disabled {
  opacity: 0.5;
  background-color: white;
}

.disabled {
  opacity: 0.5;
}

.ui-slider-horizontal {
  height: 2px;
  background-color: #0065A9;
  top: 9px;
}

.ui-slider-horizontal .ui-slider-handle {
  top: -9px;
}

.ui-slider-horizontal.ui-corner-all {
  border-radius: 0px;
  border-right: none;
  border-left: none;
}

a.ui-slider-handle.ui-state-default {
  width: 10px;
  height: 18px;
  padding: 0 5px 18px 5px;
  background-image: url('../../images/icons/Icon_Slider.png');
  background-color: #bbb;
  border-color: #888;
}

.ui-slider-handle.ui-state-default.ui-state-hover,
.ui-slider-handle.ui-state-default.ui-state-active,
.ui-slider-handle.ui-state-default.ui-state-focus {
  width: 10px;
  height: 18px;
}

.ui-state-default {
  border: 1px solid #FFFFFF;
}

.ui-state-default:hover {
  background-color: #0065A9;
  color: #ffffff;
}

.time-checkbox-wrapper {
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 12px;
  height: 46px;
  width: 100%;
  margin-bottom: 16px;
}

.time-checkbox-wrapper > label{
  color: black;
  display: inline-block;
}

.time-checkbox-wrapper input[type="text"] {
  height: 25px;
}

.time-slider-row {
  margin-top: 5px;
  padding-bottom: 2px;
}

.time-picker-wrapper, #time-picker-wrapper {
  height: 104px;
  margin-bottom: 8px;
  background: #EBEDEF;
}

.timepicker-bottom-row-wrapper {
  line-height: 30px;
}

.timepicker-bottom-row-wrapper > a {
  color: blue;
}

.timepicker-bottom-row-wrapper .ui-datepicker-close.ui-state-hover,
#time-picker-wrapper + button.ui-datepicker-current + button.ui-datepicker-close:hover {
  border: 1px solid #008cba;
}

div.datepicker-help-icon {
  background-image: url("../../images/icons/Icon_Question.png");
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-left: 7px;
  vertical-align: middle;
}

div.datepicker-help-close {
  background-image: url('../../images/icons/Icon_Close.png');
  width: 16px;
  height: 16px;
  background-position: center center;
  background-color: white;
  background-repeat: no-repeat;
  border: none;
  float: right;
}

div.datepicker-help {
  border: 2px solid #FDC400;
  background-color: white;
  padding: 5px;
  width: 351px;

}

.datepicker-help-header {
  margin-bottom: 5px;
  font-weight: bold;
}

.div-button-in-input input {
  height: 22px;
  width: 154px;
}

.originalinput-wrapper > .ui-combobox {
  display: inline-block;
  vertical-align: middle;
}

.font-16px {
  font-size: 16px !important;
}

.ui-state-default {
  cursor: pointer;
}

#set-week-button{
  min-width: 78px;
}

td > div.ui-state-active:hover {
  background-color: #0065A9;
}

#time-inputs-wrapper{
  margin-top: 0;
  float: right;
}

.time-disabled{
  background: #F5F6F6;
  border: 1px solid #CCCCCC;
  color: #B9BFC6;
}

.originalinput-wrapper{
  padding-left: 8px;
}

.white-color{
  color: white;
}