@import url(kanban.css);
@import url(mention.css);
@import url(react-datepicker.min.css);
@import url(react-big-calendar.css);

div.ui.active.visible.item.dropdown div.menu.transition.visible div.item a {
  color: #272727;
}

.blank_line {
  height: 10px;
  width: 100%;
  clear: both;
  border: none;
  display: block;
}

div.readonly .input input,
div.readonly textarea,
div.readonly .dropdown {
  background-color: #f8f8f9 !important;
}

.clear_both {
  clear: both;
}

.search-result,
.search-result-small,
.search-result-large,
.search-result-full {
  width: 100%;
  overflow: auto;
  margin-bottom: 10px;
  border: solid 1px #e8e8e9;
  border-radius: 4px;
  background-color: #f2f1f0;
}

.search-result-small {
  height: 286px;
}

.search-result {
  height: 486px;
}

.search-result-large {
  height: 630px;
}

.search-result-full {
  height: calc(100vh - 180px);
}

.grid-title {
  font-weight: 700;
  font-size: 0.92857143em;
  margin-bottom: -8;
}

.grid-body,
.grid-body-small,
.grid-body-large {
  overflow: auto;
  background-color: #f8f8f8;
  border-style: solid;
  border-collapse: collapse;
  border-color: #dedede;
  border-width: 1px;
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.grid-body {
  height: 300px;
}

.grid-body-small {
  height: 172px;
}

.grid-body-large {
  height: 600px;
}

button.react-datepicker__navigation {
  color: transparent;
  height: 10px;
}

#mainMenu .ui.blue.inverted.stackable.clear_both.menu {
  font-size: 1em !important;
}

#subMenu .ui.borderless.compact.fluid.vertical.menu {
  border: none !important;
  box-shadow: none !important;
}

#subMenu .borderless.compact.fluid.vertical.menu .item .header {
  font-size: 1em !important;
  text-transform: uppercase;
}

#subMenu .ui.borderless.compact.fluid.vertical.menu .item .menu .item {
  font-size: 1em !important;
}

#mobileSubMenu .menu .item .menu .item {
  border: none !important;
  box-shadow: none !important;
}

#mobileSubMenu .menu .item .header {
  font-size: 1em !important;
  text-transform: uppercase;
}

#mobileSubMenu .menu .item .menu .item {
  font-size: 1.2em !important;
}

/* 
USED THIS IF OTHER CHECKBOX PRIMARY COLOR

.ui.toggle.checkbox input:focus:checked ~ .box::before, 
.ui.toggle.checkboopacity: 1 !important;x input:focus:checked ~ label::before,
.ui.toggle.checkbox input:checked ~ .box:before, 
.ui.toggle.checkbox input:checked ~ label:before
{
  background-color: #2185d0 !important;
} */

/* Hiển thị  control bị disable cùng màu với các control khác */
.ui.disabled.dropdown,
.ui.dropdown .menu>.disabled.item,
.ui.form .disabled.field,
.ui.form .disabled.fields .field,
.ui.form .field :disabled,
.ui.form .field.disabled>label,
.ui.form .fields.disabled>label {
  opacity: 1 !important;
}

.ui.slider.checkbox .box,
.ui.slider.checkbox label {
  color: #333;
}

.ui.disabled.fluid.search.selection.dropdown {
  background-color: #f8f8f9;
}

.ui.menu .item>i.icon {
  opacity: 1 !important;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}

.loader {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}

.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 3.5em;
}

@-webkit-keyframes load7 {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

@keyframes load7 {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.tox-notification.tox-notification--in,
.tox-statusbar__branding,
.tox-notification--warning {
  display: none !important;
}

.ui.form .field .ui.input input,
.ui.form .fields .field .ui.input input {
  padding: .35em .6em !important;
}

.ui.form .field .react-datepicker-wrapper .ui.input input,
.ui.form .field .ui.search .ui.input input {
  padding-right: 35px !important;
}

.ui.table thead th {
  padding: .5em .5em !important;
}

.ui.button {
  padding: .4em 1em;
  font-weight: 300;
}

.ui.menu:not(.vertical) .item>.button {
  padding: .4em .4em;
  font-weight: 300;
}

.ui.search.selection.dropdown>input.search,
.ui.selection.dropdown {
  padding: .5em 2.1em .35em .5em !important;
  min-height: 2.357em;
}

.ui.multiple.search.selection.dropdown>input.search {
  padding: 0 !important;
}

.ui.multiple.search.selection.dropdown {
  padding: 0em 2.1em 0em .5em !important;
}

.ui.selection.dropdown>.delete.icon,
.ui.selection.dropdown>.dropdown.icon,
.ui.selection.dropdown>.search.icon {
  top: .58571429em;
}

.ui.selection.dropdown.visible,
.react-datepicker-popper {
  z-index: 16;
}

.ui.multiple.search.dropdown>input.search {
  margin: 0 !important;
}

.ui.multiple.dropdown>.label {
  font-size: 0.9em;
  margin: .4rem .3rem .2rem 0 !important;
}

.ui.form .fields {
  margin: 0 -.5em 0.6em !important;
}

.ui.grid>.row {
  padding-top: .6rem !important;
  padding-bottom: .6rem !important;
}

.ui.grid>.column:not(.row),
.ui.grid>.row>.column {
  /* padding-left: 0.5rem !important; */
  padding-right: 0.5rem !important;
}

.ui.tabular.menu .item {
  padding: .36em .9em !important;
}

.ui.menu .item {
  padding: .6em .9em !important;
}

.ui.steps .step {
  padding: .6em .9em !important;
}

#subMenu .borderless.compact.fluid.vertical.menu .item .header {
  margin-left: -10px !important;
}

.ui.divider {
  margin: 0px !important;
}

.ui.modal {
  top: 10% !important;
}

.ui.steps .step .content {
  font-weight: 700;
}

.ui.steps .step.active .content {
  color: #4183c4;
  font-weight: 700;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  padding: 0;
}

.react-datepicker__header--time {
  padding-bottom: 16px !important;
  padding-top: 20px !important;
}

.react-datepicker-wrapper,
.react-datepicker__input-container {
  width: 100%;
}

input[name=quickSearch] {
  border-radius: 2 !important;
  height: 28px;
  width: 100%;
}

table.fixed-header thead tr:nth-child(1) th,
table.fixed-header thead tr:nth-child(2) th,
table.fixed-header thead tr:nth-child(3) th {
  position: sticky;
  top: 0;
  z-index: 10;
}

table.fixed-header thead tr:nth-child(2) th {
  top: 34.8px;
}

table.fixed-header thead tr:nth-child(3) th {
  top: 69px;
}

table.fixed-header thead tr th.fixed-column-header {
  top: 0;
  left: 0;
  z-index: 12;
}

table td.fixed-column {
  position: sticky;
  left: 0;
  z-index: 11;
}

table.fixed-header tfoot tr th.fixed-column-header {
  position: sticky;
  left: 0;
  z-index: 11;
}

tr:nth-child(even) td {
  background: #fafafb;
}

tr:nth-child(odd) td {
  background: #FFFFFF;
}

table tr:hover td {
  background: #F2F2F2;
}

.ui.progress .bar,
.ui.small.progress .bar {
  min-width: 36px;
}

.ui.search>.results {
  width: 100%;
}

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

.text-right.error input {
  border-color: #f7a6a6 !important;
}

.ui.grid.logo {
  margin-bottom: 25px;
  margin-top: 35px;
}

.logo img.ui.image {
  display: block;
  width: auto !important;
  height: 100px !important;
  /* background: white; */
  padding: 10px 10px;
  border-radius: 4px;
}

.ui.attached.segment.login .ui.fluid.input {
  /* width: 80%; */
  margin: 0 auto;
}

.menu .item:first-child a>strong {
  border: 1px solid #ddd;
  padding: 5px 18px;
  border-radius: 4px;
}

.gridBody {
  overflow: auto;
  height: 300px;
  background-color: #f8f8f8;
  border-style: solid;
  border-collapse: collapse;
  border-color: #dedede;
  border-width: 1px;
  border-radius: 4px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.react-datepicker-popper,
.ui.selection.dropdown.active,
.ui.selection.dropdown.visible {
  z-index: 99;
}

/* css react-funnel-pipeline */
._1WnkD {
  -webkit-clip-path: polygon(0 0, 100% 0, 70% 60%, 70% 100%, 30% 100%, 30% 60%);
  clip-path: polygon(0 0, 100% 0, 70% 60%, 70% 100%, 30% 100%, 30% 60%);
  text-align: center;
}

._1WnkD ._1JWHC {
  width: 100%;
  min-height: 1px;
  font-size: 14px;
  padding: 2px 0;
  margin: 2px 0;
  color: white;
}

._1WnkD ._1JWHC:last-child {
  /* padding-bottom: 40px; */
}

._1WnkD ._1JWHC:hover {
  background-color: #484848 !important;
}

._1WnkD ._1JWHC ._3tM6f {
  font-size: 1.1rem;
  padding-bottom: 3px;
}

.ui.ordered.list .list>.item:before,
.ui.ordered.list>.item:before,
ol.ui.list li:before {
  position: absolute;
  top: auto;
  left: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  margin-left: -1.25rem;
  counter-increment: ordered;
  content: counters(ordered, ".") " ";
  text-align: right;
  color: rgba(0, 0, 0, .87);
  vertical-align: middle;
  opacity: .8;
  font-weight: bold;
}

.ui.three.cards {
  margin-left: -2.4em;
  margin-right: -2.4em;
}

.ui.two.cards {
  margin-left: -1.8em;
  margin-right: -1.8em;
}

.search-result-full .ui.compact.table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75ch;
}

.mce-preview-object .mce-shim {
  display: none;
}

.search-result-full .ui.compact.table td.break-spaces {
  white-space: normal;
  min-width: 18rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.cleave.input {
  height: 28px;
}

.captcha svg {
  width: 200px;
  background: white;
}

.captcha {
  width: 200px;
  text-align: center;
  padding-left: calc(50% - 100px);
}

.login-form [type=submit] {
  position: relative;
  width: 40%;
  margin: 2rem 0 2.2rem;
  color: rgba(255, 255, 255);
  background: #ec1c24;
  font-size: 18px;
  border-radius: 0.3rem;
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s 0.15s, font-size 0.1s 0.15s;
}

.login-form .ui.input input {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid;
  background: none;
}

.login-form .ui.input input::-webkit-input-placeholder {
  /* Edge */
  color: #000;
}

.login-form .ui.input input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #000;
}

.login-form .ui.input input::placeholder {
  color: #000;
}

.ui.celled.table tr td:first-child,
.ui.celled.table tr th:first-child {
  border-left: 1px solid rgba(34, 36, 38, .1);
  /* border-top: 1px solid rgba(34,36,38,.1); */
}

.ui.table tr:first-child td {
  border-top: 1px solid rgba(34, 36, 38, .1);
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.spinner {
  width: 64px;
  height: 64px;
  border: 4px solid;
  border-color: #2185d0 transparent #2185d0 transparent;
  border-radius: 50%;
  animation: spin-anim 1.2s linear infinite;
}

@keyframes spin-anim {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.mainGroup tr td {
  background: #ddd;
}

#pg-viewer>div>div.react-grid-Container>div>div>div:nth-child(2)>div>div {
  height: 600px !important;
}

#pg-viewer>div>div.react-grid-Container>div>div {
  height: 600px !important;
}

.ui.vertical.menu .item {
  z-index: 9;
}

/* .ui.vertical.menu:not(.tabular)>.item:first-child { */
.ui.vertical.menu>.item:first-child {
  position: fixed;
  top: 49px;
  margin-right: 0;
  background: white;
  padding: 10px !important;
  z-index: 99;
}

.secondary.ui.vertical.menu>.item:first-child {
  width: 216px;
  top: 89px;
}

.secondary.ui.vertical.menu.fluid {
  padding-top: 31px;
}

#subMenu .ui.borderless.compact.fluid.vertical.menu {
  padding-top: 46px;
}

.custom-menu-item {
  margin-right: 0;
  background: white;
  padding: 10px !important;
  z-index: 99;
}

.custom-menu-item:first-child {
  position: static !important;
  /* Overriding the default fixed positioning */
  top: auto !important;
  /* Resetting top to auto */
}

.react-datepicker__aria-live {
  display: none !important;
}

.ui.modal.custom-centered-modalImport {
  width: 70% !important;
  position: static !important;
  margin: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: 0 !important;
}