/* ==========================================================================
   $BASE-DATE-PICKER
   ========================================================================== */
/**
 * The picker box.
 */
 
.picker {
    -moz-user-select: none;
    color: #000;
    font-size: 16px;
    line-height: 1.2;
    position: absolute;
    text-align: left;
    z-index: 10000;
}
.picker__input {
    cursor: default;
}
.picker__input.picker__input--active {
    border-color: #0089ec;
}
.picker__holder {
    overflow-y: auto;
    width: 100%;
}
.picker {
    width: 100%;
}
.picker__holder {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: #fff none repeat scroll 0 0;
    border-color: #aaa;
    border-image: none;
    border-radius: 0 0 5px 5px;
    border-style: solid;
    border-width: 0 1px;
    box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
    max-height: 0;
    max-width: 466px;
    min-width: 176px;
    opacity: 0;
    position: absolute;
    transform: translateY(-1em) perspective(600px) rotateX(10deg);
    transition: transform 0.15s ease-out 0s, opacity 0.15s ease-out 0s, max-height 0s ease 0.15s, border-width 0s ease 0.15s;
}
@media (min-width: 320px) {
  .picker__holder {
	  width:280px;
  }
}
@media (min-width: 480px) {
  .picker__holder {
	  width:438px;
  }
}
@media (min-width: 768px) {
  .picker__holder {
	  width:210px;
  }
}
@media (min-width: 1024px) {
  .picker__holder {
	  width:220px;
  }
}
.picker__frame {
    padding: 1px;
}
.picker__wrap {
    margin: -1px;
}
.picker--opened .picker__holder {
    border-bottom-width: 1px;
    border-top-width: 1px;
    box-shadow: 0 6px 18px 1px rgba(0, 0, 0, 0.12);
    max-height: 25em;
    opacity: 1;
    transform: translateY(0px) perspective(600px) rotateX(0deg);
    transition: transform 0.15s ease-out 0s, opacity 0.15s ease-out 0s, max-height 0s ease 0s, border-width 0s ease 0s;
}

.picker__box {
    color: #595959;
    font-size: 13px;
    padding: 0 1em;
}
/**
 * The header containing the month and year stuff.
 */
.picker__header {
    font-weight: 600;
    margin-top: 0.75em;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
}
/**
 * The month and year labels.
 */
.picker__month,
.picker__year {
    color: #595959;
    display: inline-block;
    font-size: 17px;
    margin-left: 0.25em;
    margin-right: 0.25em;
}

/**
 * The month and year selectors.
 */
.picker__select--month,
.picker__select--year {
  border: 1px solid #b7b7b7;
  height: 2em;
  padding: 0.5em;
  margin-left: 0.25em;
  margin-right: 0.25em;
}
@media (min-width: 24.5em) {
  .picker__select--month,
  .picker__select--year {
    margin-top: -0.5em;
  }
}
.picker__select--month {
  width: 35%;
}
.picker__select--year {
  width: 22.5%;
}
.picker__select--month:focus,
.picker__select--year:focus {
  border-color: #0089ec;
}
/**
 * The month navigation buttons.
 */
.picker__nav--prev,
.picker__nav--next {
  position: absolute;
  padding: 0.5em 1.25em;
  width: 1em;
  height: 1em;
  box-sizing: content-box;
  top: -0.25em;
}
@media (min-width: 24.5em) {
  .picker__nav--prev,
  .picker__nav--next {
    top: -0.33em;
  }
}
.picker__nav--prev {
  left: -1em;
  padding-right: 1.25em;
}
@media (min-width: 24.5em) {
  .picker__nav--prev {
    padding-right: 1.5em;
  }
}
.picker__nav--next {
  right: -1em;
  padding-left: 1.25em;
}
@media (min-width: 24.5em) {
  .picker__nav--next {
    padding-left: 1.5em;
  }
}
.picker__nav--prev::before,
.picker__nav--next::before {
    border-bottom: 0.5em solid transparent;
    border-right: 0.75em solid #595959;
    border-top: 0.5em solid transparent;
    content: " ";
    display: block;
    height: 0;
    margin: 0 auto;
    width: 0;
}
.picker__nav--next::before {
    border-left: 0.75em solid #595959;
    border-right: 0 none;
}
.picker__nav--prev:hover,
.picker__nav--next:hover {
  cursor: pointer;
  color: #000;
}
/**
 * The calendar table of dates
 */
.picker__table {
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: inherit;
  width: 100%;
  margin-top: 0.75em;
  margin-bottom: 0.5em;
}
@media (min-height: 33.875em) {
  .picker__table {
    margin-bottom: 0.75em;
  }
}
.picker__table td {
  margin: 0;
  padding: 0;
}
/**
 * The weekday labels
 */
.picker__weekday {
  width: 14.2857%;
  font-size: 0.75em;
  padding-bottom: 0.25em;
  color: #999999;
  font-weight: 500;
  /* Increase the spacing a tad */
}
@media (min-height: 33.875em) {
  .picker__weekday {
    padding-bottom: 0.5em;
  }
}
/**
 * The days on the calendar
 */
.picker__day {
	background: #1cbfd9;
    border: 1px solid #fff;
    color: #fff;
    font-weight: 100;
    margin-bottom: 1px;
    padding: 0.5em 0;
    text-align: center;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
 .picker__day  { font-weight: 400;  }
}
.picker__day--today {
  position: relative;
}
.picker__day--today::before {
    content: " ";
    height: 0;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 0;
}
.picker__day--disabled:before {
	background: #f7f5ef;
}
.picker__day--outfocus {
	background: #f7f5ef;
    border: 1px solid #fff;
    color: #a9a9a9;
    cursor: default;
}
.picker__day--infocus:hover,
.picker__day--outfocus:hover {
	background: #fff39a;
    color: #000;
    cursor: pointer;
}
.picker__day--highlighted {
  border-color: #0089ec;
}
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted {
    background: #fddf00;
    border-color: #f4ca59;
    color: #000;
    cursor: pointer;
}
.picker__day--selected {
    background: #fddf00 !important;
}
.picker__day--selected,
.picker__day--selected:hover,
.picker--focused .picker__day--selected {
    background: #fddf00;
    border-color: #f5bb5c;
    color: #000;
}
.picker__day--disabled::before {
    background: #f7f5ef;
}
.picker__day--disabled,
.picker__day--disabled:hover,
.picker--focused .picker__day--disabled {
  	color: #a9a9a9;
  	background: #f7f5ef
}
.picker__day--highlighted.picker__day--disabled,
.picker__day--highlighted.picker__day--disabled:hover {
  background: #94d32c;
}
/**
 * The footer containing the "today", "clear", and "close" buttons.
 */
.picker__footer {
  text-align: center;
}
.picker__button--today,
.picker__button--clear,
.picker__button--close {
    display: none;
}
.picker__button--today:hover,
.picker__button--clear:hover,
.picker__button--close:hover {
    display: none;
}
.picker__button--today:focus,
.picker__button--clear:focus,
.picker__button--close:focus {
    display: none;
}
.picker__button--today::before,
.picker__button--clear::before,
.picker__button--close::before {
    display: inline-block;
    height: 0;
    position: relative;
}
.picker__button--today::before,
.picker__button--clear::before {
    content: " ";
    margin-right: 0.45em;
}
.picker__button--today::before {
    border-left: 0.66em solid transparent;
    border-top: 0.66em solid #0059bc;
    top: -0.05em;
    width: 0;
}
.picker__button--clear::before {
    border-top: 3px solid #e20;
    top: -0.25em;
    width: 0.66em;
}
.picker__button--close::before {
    color: #777;
    content: "×";
    font-size: 1.1em;
    margin-right: 0.35em;
    top: -0.1em;
    vertical-align: top;
}
.picker__button--today[disabled],
.picker__button--today[disabled]:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #dddddd;
  cursor: default;
}
.picker__button--today[disabled]::before {
    border-top-color: #aaa;
}

/* ==========================================================================
   $CLASSIC-DATE-PICKER
   ========================================================================== */
