body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

@media (max-width: 767.98px) {
  .fc-toolbar.fc-header-toolbar {
    flex-wrap: wrap;
    margin-bottom: 4px;
  }

  .fc-toolbar.fc-header-toolbar > div {
    min-width: 220px;
    margin-bottom: 4px;
  }

  .fc-head .fc-day-header {
    font-size: 11px;
  }
}

.fc-event {
  border-color: inherit;
}

.fc-sun {
  background-color: rgba(255, 159, 137, 0.2);
}

.fc-sat {
  background-color: rgba(255, 159, 137, 0.2);
}

.fc-holiday {
  background-color: rgba(255, 159, 137, 0.2) !important;
}

.fc-workingday {
  background-color: unset;
}

.holiday-title {
  padding: 2px;
  line-height: 30px;
  color: rgba(255, 159, 137, 0.8);
}

.main-sidebar .logo-xl.brand-image-xs {
  top: 14px;
}

.main-sidebar .nav-item {
  position: relative;
}

.main-sidebar .nav-item .badge-info.small {
  position: absolute;
  right: 2px;
  top: 11px;
  z-index: 1;
}

.sidebar-collapse .main-sidebar .nav-item .badge-info.small {
  top: -8px;
  right: 0;
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

.main-sidebar:hover .nav-item .badge-info.small {
  top: 11px;
  right: 2px;
  -webkit-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

.dataTables_filter {
  display: none;
}

@media screen and (max-width: 485px) {
  .dataTables_paginate .paginate_button {
    display: none;
  }

  .dataTables_paginate .paginate_button.previous {
    display: inline;
  }

  .dataTables_paginate .paginate_button.next {
    display: inline;
  }
}

.dataTables_wrapper .dataTables_info[id$=_info] {
  white-space: normal;
}

table.dataTable .order-sort-handle {
  cursor: move;
}

table.dataTable .searchable .column-search {
  max-width: 180px;
  min-width: 120px;
}

table.dataTable.nowrap td.canWrap {
  white-space: normal;
}

table.dataTable .dtr-title {
  text-align: left;
}

table.dataTable .dtr-details > li {
  white-space: normal;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  text-align: right;
}

table.dataTable .dtr-data {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
}

table.dataTable .dtr-data .holiday-setting {
  width: 20px;
  height: 20px;
}

table.dataTable.dtr-column > tbody > tr > th.control,
table.dataTable.dtr-column > tbody > tr td.control {
  position: relative;
  cursor: pointer;
  padding: 20px;
}

table.dataTable.dtr-column > tbody > tr > th.control:before,
table.dataTable.dtr-column > tbody > tr td.control:before {
  display: block;
  position: absolute;
  content: "+";
  width: 16px;
  height: 16px;
  line-height: 17px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role=row] > td:first-child:before {
  margin-top: -10px;
  top: 50%;
}

.card-body {
  position: relative;
}

.card-body .card-tools__add-new {
  z-index: 1;
  left: calc(50% - 65px);
  position: relative;
  margin-bottom: 15px;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .card-body .card-tools__add-new {
    position: absolute;
    right: 20px;
    top: 20px;
    left: unset;
  }
}

.input-balance-report .balance_datepicker {
  cursor: pointer;
  min-width: 130px;
  max-width: 150px;
}

.input-balance-report .balance_reset-date {
  padding-top: 15px;
}

@media (min-width: 360px) {
  .input-balance-report .balance_reset-date {
    margin: auto 0;
    padding-left: 10px;
    padding-top: 0;
  }
}

.input-balance-report #absence-date {
  min-width: 200px;
  max-width: 250px;
}

.label-margin {
  margin-top: 20px;
}

.ekko-lightbox {
  z-index: 2000;
}

@media (max-width: 1000px) {
  .ekko-lightbox .modal-dialog {
    max-width: none !important;
    margin: 0;
  }

  .ekko-lightbox .modal-dialog .modal-content .modal-body {
    padding: 1rem 0;
  }
}

.ekko-lightbox-nav-overlay {
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.ekko-lightbox-nav-overlay a {
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  -webkit-box-flex: 0;
          flex: 0;
}

.ekko-lightbox-nav-overlay a:hover {
  color: white;
}

@media (max-width: 1000px) {
  .ekko-lightbox-nav-overlay a {
    opacity: 1;
  }
}

.main-header .navbar-nav {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-align: center;
          align-items: center;
}

.main-header .navbar-nav .dropdown-menu {
  left: calc(50% - 160px);
  position: absolute;
}

@media (min-width: 768px) {
  .main-header .navbar-nav .dropdown-menu {
    left: unset;
  }
}

.main-header .navbar-nav .nav-item {
  margin: 0 auto;
}

.main-header .navbar-nav .nav-item.dropdown {
  display: -webkit-box;
  display: flex;
}

.main-header .navbar-nav .nav-item.user-menu .dropdown-toggle {
  height: auto;
  white-space: normal;
}

#prevent-absences-in-past td.fc-day.fc-past {
  background-color: #EEEEEE;
  color: blue;
}

.fc-unthemed th.fc-today {
  background: #fcf8e3;
}

.fc-popover {
  overflow: auto;
  max-height: 920px;
}

a.fc-more {
  font-size: 0.75em;
}

@media (min-width: 345px) {
  a.fc-more {
    font-size: 0.85em;
  }
}

.btn-tvnet {
  padding: 8px;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  display: block;
}

.parental-leave {
  word-break: break-word;
}

.excel-export {
  position: absolute;
  top: 0;
  right: 0;
}

.main-sidebar {
  z-index: 2000;
}

#acceptRules {
  display: none;
  position: -webkit-sticky;
  position: sticky;
  bottom: 15px;
}

#acceptRules.show {
  display: block;
}

.internal-rules-wrapper p,
.internal-rules-wrapper h1,
.internal-rules-wrapper h2,
.internal-rules-wrapper h3,
.internal-rules-wrapper h4,
.internal-rules-wrapper h5,
.internal-rules-wrapper a,
.internal-rules-wrapper span {
  font-weight: revert !important;
  font-family: revert !important;
  margin: revert !important;
  text-indent: revert !important;
}

.internal-rules-wrapper table {
  width: auto !important;
}

.internal-rules-wrapper .MsoNormalTable {
  width: 100% !important;
}

.internal-rules-wrapper .MsoNormalTable p {
  margin: 0 !important;
}

.internal-rules-wrapper .note-editor.note-frame.fullscreen {
  z-index: 2000;
}

.hidden-explanation {
  position: relative;
}

.hidden-explanation .explanation {
  display: none;
  position: absolute;
  background: white;
  z-index: 1;
  border: 1px solid;
  padding: 3px 5px;
  white-space: break-spaces;
  width: 70%;
  right: 0;
  border-radius: 3px;
}

.hidden-explanation:hover .explanation {
  display: block;
}

.mw-1150 {
  max-width: 1150px;
  margin: auto;
}

#bonus-holidays {
  font-size: 12px;
}

.hidden {
  display: none;
}

.disabled {
  pointer-events: none;
  opacity: 0.4;
}

#holiday-form #notific-image img {
  max-width: 200px;
  max-height: 200px;
  margin: 5px 0;
}

.custom-file-label {
  overflow: hidden;
}

.holiday-setting .form-control.amount {
  width: 50%;
  float: left;
  margin-right: 10px;
}

.holiday-setting .info {
  font-size: 12px;
  color: #555;
  clear: both;
}

.text-center {
  text-align: center;
}

.my-float-left,
.my-float-right {
  display: block;
  float: left;
}

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

.clear {
  display: block;
  clear: both;
}

.bg-draft {
  background: #555;
  border-color: #555;
}

.bg-pdf {
  background: #9F2415;
  border-color: #9F2415;
  color: #fff !important;
}

#doc-btn-group .btn {
  background: #f8f9fa;
}

#doc-btn-group .btn.active {
  color: #fff;
  background: #1a252f;
}

#use-notific-block {
  margin-top: 10px;
}

.child-row input[type=text] {
  width: 25%;
  margin-bottom: 5px;
  float: left;
  margin-right: 10px;
}

.child-row button {
  margin-left: 10px;
}

#myLoader {
  width: 100%;
  height: 100%;
  background: rgba(200, 200, 200, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  z-index: 9999;
}

#myLoader .spinner-border {
  width: 3rem;
  height: 3rem;
  position: absolute;
  top: 45%;
  left: calc(50% - 1.5rem);
}

.autocompleteWrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

#autocomplete {
  position: absolute;
  z-index: 99;
  width: 100%;
  min-height: 150px;
  left: 0;
  border: 1px solid #bbb;
  background: #f5f5f5;
  overflow-y: scroll;
}

#autocomplete .item {
  display: block;
  margin: 2px;
  padding: 3px 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

#autocomplete .item:hover {
  background: #fff;
}

.myCheckbox {
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
          align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin-right: 5px;
}

.myCheckbox input[type=checkbox] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray);
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  position: relative;
}

.myCheckbox input[type=checkbox]:hover {
  border: 2px solid var(--primary);
}

.myCheckbox input[type=checkbox]:hover::after {
  color: var(--primary);
}

.myCheckbox input[type=checkbox]:checked {
  border-color: var(--primary);
  background-color: var(--primary);
}

.myCheckbox input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 3px;
  width: 10px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.myCheckbox label {
  font-size: 0.95rem;
  font-weight: normal !important;
  margin: 0 0 0 3px;
  display: inline !important;
  cursor: pointer;
}

@media all and (max-width: 767px) {
  .my-float-left,
  .my-float-right {
    float: none;
  }

  #doc-btn-group {
    margin-bottom: 10px;
  }

  .child-row {
    margin-bottom: 10px;
  }

  .child-row input[type=text] {
    width: 100%;
    float: none;
    margin-right: 0;
  }

  .child-row button {
    float: right;
    margin-left: 0px;
  }
}

