@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
@import "~/assets/scss/variables.scss";

body {
  background-color: #ffffff !important;
  color: $black !important;
}

.html {
  height: 100%;
}

.default-enter-active,
.default-leave-active {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.86, .46, .83, .67);
  transition-duration: 0.35s;
}

.default-enter,
.default-leave-to {
  opacity: 0;
}

.copyright {
  font-size: 14px;
  line-height: 17px;
  color: $secondary;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

.mx-datepicker-main .mx-datepicker-popup {
  z-index: 9999 !important;
}

.bottom-sheet {
  z-index: 999 !important;
}

.mx-icon-calendar {
  display: none
}

.mx-icon-clear {
  display: block;
}

.header_box_datetime {
  font-size: 14px;
  border-radius: 4px;
  border: none;
  padding: 0 16px;
  height: 58px;
  width: 100%;
  cursor: pointer;

  &:hover, &:focus {
    border-color: #409aff
  }

  &:disabled, .disabled {
    color: #ccc;
    background-color: #f3f3f3;
    border-color: #ccc;
    cursor: not-allowed
  }

  &:focus {
    outline: none
  }

  &::-ms-clear {
    display: none
  }
}

.edit_trip_datetime {
  border: 1px solid #F9F9F9 !important;
  width: 100%;
  border-radius: 4px;
  background: #f3f3f3;
  outline: none;
  resize: none;
  margin: 0;
  z-index: 1;
  display: block;
  color: $black;
  font-size: 14px;
  text-indent: 0;
  outline-offset: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-padding-start: 0;
  -webkit-margin-start: 0;
  -webkit-border-horizontal-spacing: 0;
  padding: 0 16px;
  height: 58px;

  &:focus,
  &:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: #0D0A0B !important;
  }

  &:disabled {
    background: #e0e0e0;
  }

  &::-ms-clear,
  &::-ms-reveal {
    display: none;
  }
}
.mx-datepicker {
  width: 100% !important;
}

.error-border {
  border-color: $primary !important;
}

.time-input {
  border: 1px solid #d1d1d1;
  width: 100%;
  height: 48px;
  border-radius: 4px;
  background: white;
  outline: none;
  resize: none;
  margin: 0;
  z-index: 1;
  display: block;
  color: $black;
  font-size: 14px;
  line-height: 17px;
  text-indent: 0;
  outline-offset: 0;
  appearance: none;
  -webkit-appearance: none;
  -webkit-padding-start: 0;
  -webkit-margin-start: 0;
  -webkit-border-horizontal-spacing: 0;
  padding: 0 16px;

  &:focus,
  &:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: #0D0A0B;;
  }
  &:disabled {
    background: white;
    color: $secondary;
  }
  &::-ms-clear,
  &::-ms-reveal {
    display: none;
  }
}

.tooltip-inner {
  //background-color: white !important;
  //color: $primary !important;
  font-size: 12px;
  max-width: 300px !important;
}
//.tooltip.bs-tooltip-right .arrow:before {
//  border-right-color: $primary !important;
//}
//.tooltip.bs-tooltip-left .arrow:before {
//  border-left-color: $primary !important;
//}
//.tooltip.bs-tooltip-bottom .arrow:before {
//  border-bottom-color: $primary !important;
//}
//.tooltip.bs-tooltip-top .arrow:before {
//  border-top-color: $primary !important;
//}

//.mx-datepicker {
//  .mx-input-wrapper {
//    .mx-input {
//      font-size: 14px;border-radius: 4px;border: none;padding: 0 16px;height: 58px;width: 100%;cursor: pointer;
//    }
//
//    .mx-icon-calendar {
//      display: none
//    }
//
//    .mx-icon-clear {
//      display: block;
//    }
//  }
//}

.Cookie {
  padding: 0.5em 1.25em !important;

  .Cookie__buttons {
    flex-direction: row;
    align-self: flex-start !important;
    margin: 0 !important;

    a {
      background: blue !important;
      margin-left: 10px;
    }
    .Cookie__button {
      background: $red !important;
      padding: 0.425em 2.125em;

      &:hover {
        background: rgba(196, 0, 44, 0.88) !important;
        text-decoration: none;
      }
    }
  }
}

//.mx-btn-icon-left {
//  position: absolute;
//  right: 40px;
//}
//.mx-btn-icon-right {
//  position: absolute;
//  right: 20px;
//}
//.mx-calendar-header-label {
//  position: absolute;
//  left: 20px;
//}

.mx-btn-icon-double-left {
  visibility: hidden;
}

.mx-btn-icon-double-right {
  visibility: hidden;
}
