/*!
 * Picker.js v1.0.0-beta
 * https://fengyuanchen.github.io/pickerjs
 *
 * Copyright 2016-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2018-06-18T03:14:01.833Z
 */

:root {
  --gray: #999;
  --blue: #0074d9;
  --color: #333;
  --background-color: #fff;
  --border: 1px solid #eee;
}

.picker {
  background-color: rgba(0, 0, 0, .5);
  color: #333;
  color: var(--color);
  direction: ltr;
  display: none;
  font-size: 1rem;
  line-height: 1.5;
  overflow: hidden;
  -ms-touch-action: none;
  touch-action: none;
  -webkit-transition: opacity .15s;
  transition: opacity .15s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.picker-fixed {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1986;
}

.picker-fixed > .picker-dialog {
  bottom: -100%;
  left: 0;
  max-height: 100%;
  position: absolute;
  right: 0;
  -webkit-transition: bottom .3s;
  transition: bottom .3s;
}

.picker-fixed .picker-header {
  display: block;
}

.picker-fixed .picker-footer {
  display: table;
}

.picker-open {
  display: block;
  opacity: 0;
}

.picker-opened {
  opacity: 1;
}

.picker-opened > .picker-dialog {
  bottom: 0;
}

.picker-dialog {
  background-color: #fff;
  background-color: var(--background-color);
  border: 1px solid #eee;
  border: var(--border);
}

.picker-header {
  border-bottom: 1px solid #eee;
  border-bottom: var(--border);
  display: none;
  padding: .875rem 1.25rem;
  position: relative;
}

.picker-title {
  font-size: 1.125rem;
  font-weight: normal;
  line-height: 1.25rem;
  margin: 0;
}

.picker-close {
  background-color: transparent;
  border-width: 0;
  color: #999;
  color: var(--gray);
  font-size: 1.75rem;
  height: 3rem;
  opacity: .75;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 3rem;
}

.picker-close:focus,
.picker-close:hover {
  opacity: 1;
  outline: none;
}

.picker-body {
  overflow: hidden;
}

.picker-grid {
  display: table;
  margin-bottom: -2.5rem;
  margin-top: -2.5rem;
  width: 100%;
}

.picker-cell {
  display: table-cell;
  position: relative;
}

.picker-cell::before,
.picker-cell::after {
  content: '';
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 0;
}

.picker-cell::before {
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, .05)));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, .05));
  border-bottom: 1px solid #eee;
  border-bottom: var(--border);
  bottom: 50%;
  margin-bottom: 1.25rem;
  top: 0;
}

.picker-cell::after {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, .05)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .05));
  border-top: 1px solid #eee;
  border-top: var(--border);
  bottom: 0;
  margin-top: 1.25rem;
  top: 50%;
}

.picker-cell + .picker-cell {
  border-left: 1px solid #eee;
  border-left: var(--border);
}

.picker-single .picker-cell::before,
.picker-single .picker-cell::after {
  display: none;
}

.picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.picker-item {
  color: #999;
  color: var(--gray);
  padding: .5rem;
  text-align: center;
  white-space: nowrap;
}

.picker-picked {
  color: #0074d9;
  color: var(--blue);
  font-size: 1.125em;
}

.picker-footer {
  border-top: 1px solid #eee;
  border-top: var(--border);
  display: none;
  width: 100%;
}

.picker-cancel,
.picker-confirm {
  background-color: transparent;
  border-width: 0;
  display: table-cell;
  font-size: 1rem;
  padding: .75rem 1rem;
  width: 50%;
}

.picker-cancel:focus,
.picker-cancel:hover,
.picker-confirm:focus,
.picker-confirm:hover {
  background-color: #fcfcfc;
  outline: none;
}

.picker-confirm {
  color: #0074d9;
  color: var(--blue);
}
