/* ----------------------------- */
/* GLOBAL STYLES */
/* ----------------------------- */
@font-face {
  font-family: 'CustomFont';
  src: url('/fonts/font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.datepicker-dropdown {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 3px 3px 3px #ccc;
}

.select2-container {
  width: 100% !important;
  padding: 0.4rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}

.thuyenchuyen .select2-container {
  width: 300px !important;
}

.select2-selection {
  border: unset !important;
}

.select2-selection__arrow {
  top: 10px !important;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/**Tooltip*/
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 100%;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  margin-left: 1rem;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

.ui-autocomplete {
  overflow-y: scroll;
  height: 250px;
}

#edit input {
  font-weight: 500;
}

#edit select {
  font-weight: 500;
}

.ui-datepicker {
  z-index: 50 !important;
}

.swal2-container {
  z-index: 90000 !important;
}

[v-cloak] {
  display: none;
}

.flatpickr-wrapper {
  width: 100%;
}