.autocomplete {
  position: absolute;
  z-index: 1000;
  left: 0;
  display: none;
  margin: 0;
  list-style: none;
  background: #fff;
  width: 250px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  max-height: 250px;
  overflow: auto;
  font-size: 14px; }
  .autocomplete a {
    padding: 4px 10px;
    color: #000;
    display: block;
    text-decoration: none; }
    .autocomplete a:hover {
      background: rgba(0, 0, 0, 0.05); }
    .autocomplete a.active {
      background: #3c74d9;
      color: #fff; }

.cardform label {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5); }

.cardform-view select,
.cardform-view textarea,
.cardform-view input {
  border: none !important;
  background: none;
  padding: 0;
  cursor: text;
  -webkit-appearance: none; }
  .cardform-view select:focus,
  .cardform-view textarea:focus,
  .cardform-view input:focus {
    box-shadow: none;
    background: none;
    outline: none; }

.cardform-controls {
  margin-bottom: 24px; }

/*

	COMBOBOX

*/
.combobox {
  position: relative; }
  .combobox input {
    padding-right: 30px;
    width: 100%; }
  .combobox span {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 1px;
    width: 26px;
    height: 100%;
    cursor: pointer; }
    .combobox span:after {
      content: "";
      display: inline-block;
      position: relative;
      top: 47%;
      margin-left: 8px;
      margin-top: -21px;
      width: 0;
      height: 0;
      vertical-align: middle;
      border-top: 5px solid rgba(0, 0, 0, 0.6);
      border-right: 5px solid transparent;
      border-left: 5px solid transparent; }

.combobox-list {
  z-index: 1000;
  position: absolute;
  left: 0;
  display: none;
  margin: 0;
  list-style: none;
  background: #fff;
  font-size: 14px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  max-height: 250px;
  font-weight: normal;
  overflow: auto; }
  .combobox-list li {
    padding: 4px 10px;
    color: #000;
    cursor: pointer; }
    .combobox-list li:hover {
      background: rgba(0, 0, 0, 0.05); }
    .combobox-list li.active {
      background: #3c74d9;
      color: #fff; }

.datepicker {
  position: absolute;
  background: #fff;
  top: 0;
  left: 0;
  line-height: 24px;
  padding: 20px 24px;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); }
  .datepicker.datepicker-embed {
    position: static;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.1); }

.datepicker-head {
  position: relative;
  padding-bottom: 8px; }

.datepicker-controls {
  position: absolute;
  top: 0;
  right: 0; }

.datepicker-control {
  float: left;
  width: 24px;
  height: 24px;
  background: #eee;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.datepicker-control-next {
  margin-left: 4px; }

.datepicker-month-box {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  padding-left: 4px;
  height: 24px; }

.datepicker-select-year {
  display: inline-block;
  cursor: pointer;
  background: #eee;
  padding: 0 8px;
  position: relative;
  border-radius: 3px;
  height: 24px;
  line-height: 24px; }
  .datepicker-select-year .datepicker-select-year-caret {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent; }
  .datepicker-select-year select {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    height: 24px;
    -webkit-appearance: menulist-button;
    -moz-appearance: menulist-button;
    -ms-appearance: menulist-button;
    appearance: menulist-button; }

.datepicker-weekdays {
  white-space: nowrap; }
  .datepicker-weekdays span {
    display: inline-block;
    text-align: center;
    width: 28px;
    height: 28px;
    margin: 0 2px;
    font-size: 12px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5); }

.datepicker-row {
  white-space: nowrap; }

.datepicker-cell {
  display: inline-block;
  text-align: center;
  width: 28px;
  height: 28px;
  margin: 0 2px;
  font-size: 12px; }
  .datepicker-cell a {
    display: block;
    color: #000;
    text-decoration: none;
    border-radius: 40px; }
    .datepicker-cell a:hover {
      background: #eee; }
  .datepicker-cell.datepicker-day-hidden a {
    visibility: hidden; }
  .datepicker-cell.datepicker-day-weekend a {
    color: rgba(0, 0, 0, 0.4);
    font-weight: bold; }
  .datepicker-cell.datepicker-day-today a {
    background: #f23d3d;
    color: #fff; }
  .datepicker-cell.datepicker-day-last a {
    background: none;
    color: rgba(0, 0, 0, 0.4); }
    .datepicker-cell.datepicker-day-last a:hover {
      color: #000; }
  .datepicker-cell.datepicker-day-selected a {
    background: #3d79f2;
    color: #fff; }
    .datepicker-cell.datepicker-day-selected a:hover {
      color: #fff; }
  .datepicker-cell.datepicker-day-disabled a,
  .datepicker-cell.datepicker-day-disabled a:hover {
    background: none !important;
    color: rgba(0, 0, 0, 0.3) !important;
    cursor: default; }

.editable[placeholder]:empty:before {
  content: attr(placeholder);
  color: rgba(0, 0, 0, 0.4);
  font-weight: normal; }

.editable[placeholder]:empty:focus:before {
  content: ""; }

/*

	LIVESEARCH

*/
.livesearch-box {
  position: relative;
  display: block;
  width: 100%; }

.livesearch-box input {
  padding-right: 30px;
  display: block;
  padding-left:25px;
  width: 100%;
  min-width: 120px; }

.livesearch-box .close {
  position: absolute;
  top: 48%;
  margin-top: -8px;
  right: 5px; }

.livesearch-box .search-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 2;
  margin-top: -12px;
  padding: 0; }
  .livesearch-box .search-icon, .livesearch-box .search-icon:hover {
    opacity: 0.4; }

/*

    LOADING

*/
.loading {
  padding: 64px;
  position: relative; }

.loading-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid rgba(0, 0, 0, 0.25);
  border-bottom-color: #000;
  -webkit-animation: rotate 2s linear 0s infinite;
  animation: rotate 2s linear 0s infinite; }

.loading.small {
  padding: 32px; }

.loading.small .loading-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px; }

/*

    PROGRESS

*/
#progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000000;
  height: 10px; }
  #progress span {
    display: block;
    line-height: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    width: 100%;
    height: 100%;
    background-color: #3c74d9;
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
    background-size: 40px 40px; }

@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 40px 0; }
  to {
    background-position: 0 0; } }

@keyframes progress-bar-stripes {
  from {
    background-position: 40px 0; }
  to {
    background-position: 0 0; } }

/*

    SELECTOR

*/
.selector {
  position: relative;
  display: inline-block; }

.selector select {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-appearance: menulist-button;
  -moz-appearance: menulist-button;
  -ms-appearance: menulist-button;
  appearance: menulist-button; }

.selector-trigger {
  cursor: pointer;
  position: relative;
  display: inline-block;
  z-index: 1;
  width: 100%; }

.upload-box {
  position: relative;
  font-size: 14px;
  line-height: 24px;
  width: 100%;
  min-height: 200px;
  border: 2px dashed rgba(0, 0, 0, 0.12);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column; }

.upload-box.small {
  min-height: 128px; }

.upload-placeholder {
  opacity: .7; }

.upload-description {
  opacity: .5;
  font-size: 12px; }

.upload-hover {
  background-color: #ebf2fe;
  border-color: rgba(0, 0, 0, 0.2); }

.upload-error {
  background-color: #feebed;
  border-color: rgba(0, 0, 0, 0.2); }
