@import './fonts.css';
@import './box.css';
@import './buttons.css';
@import './search-bar.css';
@import './modal.css';
@import './input.css';
@import './search-drop-down.css';
@import './errors.css';
@import './switch.css';
@import './filter.css';
@import './empty-state.css';
@import './toast.css';
@import './helpers.css';

html,
body,
#root {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background-color: var(--shades-white);
  height: 100%;
  width: 100%;
  left: 0px;
  top: 0px;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Mulish', sans-serif;
}

button:focus:not(:focus-visible) {
  outline: 0 !important;
}

*:focus-visible:not(:focus) {
  outline: var(--focus-default);
  outline-offset: 4px;
}

select {
  -moz-appearance: none !important;
}

input:focus:not([type='checkbox']),
select:focus,
textarea:focus {
  outline-width: 0 !important;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
.main-container {
  padding-top: 16px;
  padding-left: 32px;
  padding-right: 32px;
}
.items-list-container {
  width: 100%;
  height: 80%;
  overflow-y: auto;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.text-center {
  text-align: center;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  width: 150px;
  background-color: #f04546;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 110%;
}

.tooltiptext {
  width: 150px;
  background-color: #f04546;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 0px;
  margin-left: 50%;
}

.tooltip .tooltiptext::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #f04546 transparent transparent;
}
.config-modal-repetition {
  box-shadow: 0 0 30px 0 rgba(13, 33, 73, 0.08);
  background-color: #ffffff;
  border: 1px solid #dfe3eb;
  position: absolute;
  z-index: 2;
  right: 30%;
}
.config-modal {
  box-shadow: 0 0 30px 0 rgba(13, 33, 73, 0.08);
  background-color: #ffffff;
  border: 1px solid #dfe3eb;
  position: absolute;
  z-index: 2;
  right: -15px;
  width: 150px;
}

.float-left {
  float: left;
}
.float-right {
  float: right;
}

.clearfix:after {
  content: ' '; /* Older browser do not support empty content */
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.config-modal > * {
  padding: 16px;
  transition: all 0.17s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.config-modal > * > * {
  float: none;
}

.config-modal-repetition > div {
  padding: 15px;
  transition: all 0.17s ease-in-out;
}
.config-modal > *:hover:not(p) {
  background-color: #f3f7fd;
}

.config-modal-repetition > div:hover {
  background-color: #f3f7fd;
}
.config-modal::after {
  content: '';
  position: absolute;
  top: -9px;
  right: 15px;
  margin-top: -5px;
  border-width: 7px;
  z-index: 1;
  border-style: solid;
  border-color: transparent transparent white transparent;
}
.config-modal-repetition::after {
  content: '';
  position: absolute;
  margin-top: -5px;
  border-width: 7px;
  z-index: 1;
  border-style: solid;
  border-color: transparent transparent white transparent;
}
.blue-color-text {
  color: #0f61dd;
}
.sb-avatar__text span {
  font-size: 14px !important;
}
.display-none {
  display: none;
}
.overflow-scroll {
  overflow-y: scroll;
}
b {
  font-weight: 600;
}

/* Chakra Avatars use Mulish fonts */
.chakra-avatar__initials {
  font-family: 'Mulish';
  font-weight: 600;
  color: #ffffff;
}

.monospace {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace !important;
}

.monaco-editor,
.monaco-editor .view-lines,
.monaco-editor .view-lines * {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace !important;
}

.ace_editor,
[class*='ace_'] {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace !important;
  font-size: 16px !important;
}

[class*='iconButton-module_'] {
  align-items: center;
}

.align_text__right {
  text-align: right !important;
}

.react-time-picker__inputGroup__amPm {
  max-height: 50px !important;
  min-height: 50px !important;
  height: 50px !important;
}
