/**
 * Custom CSS
 * 
 * @author Yudha Baskoro <yudha.b.u@gmail.com>
 */

html {
  font-size: 14px !important;
}

.btn-default {
    color: rgb(130, 130, 130) !important;
    border: 1px solid rgb(130, 130, 130) !important; 
    background: transparent !important;
}

.is-invalid input {
    border-color: #ea1a33 !important;
}

.danger {
    color: #ea1a33 !important;    
}

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

/* .ag-cell-inline-editing .ag-cell-edit-input, .ag-cell-inline-editing .ag-input-wrapper {
    height: auto !important;
}

.ag-theme-material .ag-cell.ag-cell-inline-editing {
    height: 200px !important;
}

.ag-popup-editor {
    height: 200px;
} */

.ag-cell-focus {
    border-color: #D09B2C !important;
    /* border-color: #28C76F !important; */
}

.ag-cell-edit-input {
    border-bottom-color: #e2e2e2 !important;
}

.con-vs-popup.mediumscreen .vs-popup {
    width: 70%;
    min-height: 450px;
}

.px-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.vs-col {
    padding-left: 15px;
    padding-right: 15px;
}

.form-group {
    margin-bottom: 0.75rem;
}

.v-money { 
    text-align: right;
    padding: .7rem !important;
}

.vs-input--input:disabled, .vs-input--input:disabled+.vs-input--placeholder {
    opacity: 1;
}

.vs-input--placeholder {
    color: rgba(0, 0, 0, .8);
}

.vdp-datepicker input[disabled] {
    opacity: 1;
}

.custom-label {
    color: rgba(0, 0, 0, .8) !important;
    font-size: .7rem !important;
    padding: .7rem !important;
    padding-left: .5rem!important;
}

.custom-label.date {
    position: relative;
    top: -10px;
}

.vs__dropdown-menu {
    z-index: 54000 !important;
}

.vs__dropdown-toggle {
    height: 37px;
}

[dir] .vdp-datepicker input {
    height: 37px;
}

[dir] .mx-datepicker-main {
    z-index: 54000;
}

.mx-input {
    padding: 18px 10px !important;
}

.mx-datepicker {
    width: 100% !important;
}

.mx-input:disabled, .mx-input.disabled {
    color: #555 !important;
}

[dir] .mx-input:disabled, [dir] .mx-input.disabled {
    background-color: #fff !important;
}

.ag-popup-editor {
    min-width: 450px;
}

.md-menu-content {
    z-index: 53001 !important;
}

.header__nav {
  position: relative;
}
.header__navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header__item {
  padding: 1rem;
}
.header--icon {
  width: 1.65rem;
  height: 1.65rem;
}
.header--button {
  top: 0;
  right: 0;
  position: absolute;
  margin: 0;
  padding: 0;
  color: gray;
  cursor: pointer;
  border: 1px solid transparent;
  background-color: transparent;
}
.header--button:focus {
  outline: 0;
}

.dropdown__menu {
  top: 100%;
  right: 0;
  position: absolute;
  z-index: 10;
  height: 25rem;
  min-width: 300px;
  margin-top: 1rem;
  overflow-y: auto;
  padding: 2rem 1rem 2rem 0rem;
  border-radius: 12px;
  background-color: white !important;
  border: 1px solid #dadce0 !important;
  background-clip: padding-box;
}
.dropdown__menu-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: rgba(0, 0, 0, 1) !important;
  padding: 0.8rem 0 0.8rem 2rem;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  border-radius: 0 50px 50px 0;
}
.dropdown__menu-link:hover {
  color: rgb(208, 155, 44);
  background-color: rgba(208, 155, 44, 0.5) !important;
}
.dropdown__menu-svg {
  width: 1.5rem;
  height: 1.5rem;
}
.dropdown__menu-text {
  font-weight: 300;
  margin-left: 1rem;
  margin-right: 1rem;
}

.slide-fade-enter-active,
.slide-fade-leave-active {
  transition: all 0.6s;
}

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

.slide-fade-enter {
  transform: translateX(31px);
}

.slide-fade-leave-active {
  transform: translateX(-31px);
}

.dropdown-enter-active,
.dropdown-leave-active {
  transition: all 1s;
}

.dropdown-enter,
.dropdown-leave-to {
  opacity: 0;
  transform: translateY(30px);
}

.vs__selected {
  white-space: nowrap;
  padding-top: 1px !important;
}

.vs-placeholder-label-white {
  color: #fff !important;
}

.vs-card--content {
  font-size: 1rem;
}

/* @media screen and (min-resolution: 144dpi),
       screen and (-webkit-min-device-pixel-ratio: 1.5),
       screen and (min-device-pixel-ratio: 1.5) {
  body {
    zoom: 0.9;
  }
} */
