@import "./styleGuide/main.scss";
@import "datePicker";
@import "bigCalendar";
@import "rcPagination";

@import "react-datepicker/dist/react-datepicker.css";
@import "rc-datetime-picker/dist/picker.css";

.ant-image-img{
  cursor: pointer;
}
.noty_body {
  overflow-wrap: break-word;
}

.ReactModal-overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 1500;
  background-color: rgba(0, 0, 0, 0.4) !important;
}

.ReactModal__Content {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  > div {
    max-height: 90vh;
    //overflow: auto;
  }
}

.ReactModal__Content--after-open {
  opacity: 1;
}

.ReactModal__Content--before-close {
  opacity: 0;
}

.ModalComponent {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  border: 1px solid rgb(204, 204, 204);
  background: rgb(255, 255, 255);
  overflow: visible;
  border-radius: 4px;
  outline: none;
  //width: 900px;
  width: 50%;
  height: auto;
  margin: 0px auto;
  outline: none;

  &-center {
    top: 50% !important;
    transform: translateY(-50%);
  }

  &-small {
    //width: 50% !important;
  }

  &-content {
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    overflow-x: scroll;
  }

  &-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.14);
  }

  &-title {
    margin: 0;
    line-height: 1.57142857;
  }

  &-body {
    padding: 20px;
  }

  &-footer {
    padding: 6px 20px 20px;
    border-top: none;
  }
}

.swal2-popup {
  font-size: 1.5rem !important;
}
.swal2-container{
  z-index: 1600 !important;
}
@media (max-width: 414px) {
  .ModalComponent-small {
    width: 95%;
  }
}

@media (max-width: 700px) {
  .ModalComponent-small {
    width: 90%;
  }
}

#SearchComponent{
  background-color: #E1E1E1 !important;
  outline: none !important;
}

#SearhComponent:focus{
  outline: none !important;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  overflow-y: scroll;
  background: #e9e9e9;
  box-shadow: inset 0 0 4px #e9e9e9;
}

::-webkit-scrollbar-thumb {
  background: #17BBC6;
  border-radius: 10px;
}