/*//////////////////////////////////////////////////////////////////
[ ATTRIBUTES ]*/
:root {

  /* Green */
  --green: #00A878;
  --green-light: #CFFFE3;

  /* Red */
  --red: #D7263D;
  --red-light: #FFD6D9;

  /* Blue */
  --blue: #3A5BA0;
  --blue-light: #DDEEFF;
  --blue-tint: #EAEFF6;

  /* Yellow */
  --yellow: #967110;
  --yellow-light: #FFFBDD;

  /* Custom styles */
  --bs-link-color: var(--blue);

}


@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Regular.otf') format('truetype');
}


/*//////////////////////////////////////////////////////////////////
[ COMMON ]*/

body {
  width: 100%;
  height: 100%;
  color: var(--bs-gray-900);
  font-family: 'Aeonik', sans-serif;
  background-color: #F5F8FA !important;
}

.page-body {
  min-height: 90%;
  max-width: 100%;
  margin: 0;
  background-color: #000;
}

.container {
  margin: 0;
  width: 100%;
  padding: 0;
  max-width: 100%;
}

.main {
  height: 90%;
}

input {
  outline: none;
  background-color: transparent;
  color: black;
  border-radius: 6px !important;
  box-shadow: none !important;
}

label:has(+ input[required])::after {
  content: " *";
}

label:has(+ div input[required])::after {
  content: " *";
}

label:has(+ select[required])::after {
  content: " *";
}

.separator {
  text-align: -webkit-center;
  text-align: -moz-center;
}

/*//////////////////////////////////////////////////////////////////
[ HEADER ]*/

#languageDropdown {
  background: transparent;
  border: none;
}

/*//////////////////////////////////////////////////////////////////
[ DROPDOWN ]*/

.dropdown {
  display: contents;
}

.dropdown-menu {
  --bs-dropdown-link-color: var(--bs-gray-700);
  --bs-dropdown-link-active-bg: var(--blue);
  --bs-dropdown-link-hover-bg: var(--blue-tint);
  --bs-dropdown-link-hover-color: var(--blue);
  --bs-dropdown-border-width: 0px;
  --bs-dropdown-divider-bg: var(--bs-gray-300);
  --bs-dropdown-item-padding-x: 16px;
  box-shadow: 0 0 15px 2px rgb(199 196 196 / 52%);
}

.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0px 16px;
  width: auto;
  border-radius: 10px;
}

.dropdown-menu .dropdown-item.titleMenu {
  pointer-events: none;
  margin: 8px;
}

/*//////////////////////////////////////////////////////////////////
[ SIDEBAR ]*/

.sidebar {
  background-color: #000;
  transition: all 0.5s ease-in-out;
}

.sidebar li a,
.sidebar li a.collapsed.active {
  display: block;
  padding: 15px 0 0 2em;
  color: var(--textcolor01);
  border-left: 0 solid #dedede;
  text-decoration: none
}

.sidebar li a.active {
  background-color: #000;
  border-left: 5px solid #dedede;
  transition: all 0.5s ease-in-out
}

.sidebar li a:hover {
  background-color: #000 !important;
}

.sidebar li a i {
  padding-right: 5px;
}

.sidebar ul li .sub-menu li a {
  position: relative
}

.sidebar ul li .sub-menu li a:before {
  font-family: FontAwesome, serif;
  content: "\f105";
  display: inline-block;
  padding-left: 0;
  padding-right: 10px;
  vertical-align: middle;
}

.sidebar ul li .sub-menu li a:hover:after {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  width: 5px;
  background-color: red;
  height: 100%;
}

.sidebar ul li .sub-menu li a:hover {
  background-color: #222;
  padding-left: 20px;
  transition: all 0.5s ease-in-out
}

.sub-menu {
  border-left: 5px solid #dedede;
}

.sidebar li a .nav-label,
.sidebar li a .nav-label + span {
  transition: all 0.5s ease-in-out
}


.sidebar.fliph li a .nav-label,
.sidebar.fliph li a .nav-label + span {
  display: none;
  transition: all 0.5s ease-in-out
}

.sidebar.fliph {
  width: 42px;
  transition: all 0.5s ease-in-out;

}

.sidebar.fliph li {
  position: relative
}

.sidebar.fliph .sub-menu {
  position: absolute;
  left: 39px;
  top: 0;
  background-color: #00006a;
  width: 150px;
  z-index: 100;
}

/*//////////////////////////////////////////////////////////////////
[ GENERAL ]*/

button:disabled,
.btn:disabled {
  cursor: not-allowed;
}

.custom-disabled {
  pointer-events: none;
  background-color: #eee;
}

.not-resizable {
  resize: none;
  scrollbar-width: none;
  overflow: auto;
}

.custom-is-invalid {
  color: #dc3545 !important;
}

.form-control {
  width: 100%;
}

.form-control.datepicker,
.form-control.timepicker {
  border-bottom-right-radius: 0px !important;
  border-top-right-radius: 0px !important;
  padding-left: 12px;
}

.form-floating > .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--bs-gray-500);
  transition: none;
}

.form-floating > .form-control {
  color: var(--bs-gray-500);
}

form.modal-body {
  div.mb-3 {
    max-width: fit-content;
  }
}

p {
  color: var(--bs-gray-900);
}

.bg-primary {
  background-color: var(--blue-tint) !important;
  color: var(--blue) !important;
}

.bg-danger {
  background-color: var(--red-light) !important;
  color: var(--red) !important;
}

.text-primary {
  color: var(--blue) !important;
}

.form-check-input {
  height: 25px;
  width: 25px;
  cursor: pointer;
  border-radius: 32px !important;
}

.form-check-input:checked {
  border-color: var(--blue) !important;
  background-color: var(--blue) !important;
}

.form-check-input:focus {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  accent-color: var(--blue) !important;
}

.form-switch .form-check-input {
  width: 45px !important;
}

.form-check-reverse .form-check-label {
  margin-right: 10px;
  margin-top: 3px;
}

.form-check .form-check-label {
  margin-left: 10px;
  margin-top: 3px;
}

/*//////////////////////////////////////////////////////////////////
[ BADGE ]*/

.badge {
  font-size: 14px;
}

.badge span {
  font-size: 14px;
}

.badge.bg-secondary {
  background-color: var(--bs-gray-300) !important;
  color: var(--bs-gray-700) !important;
}

.badge.bg-primary {
  background-color: var(--blue-light) !important;
  color: var(--blue) !important;
}

.badge.bg-primary-shade {
  background-color: var(--blue) !important;
  color: white !important;
}

.badge.bg-success {
  background-color: var(--green-light) !important;
  color: var(--green) !important;
}

.badge.bg-success-shade {
  background-color: var(--green) !important;
  color: white !important;
}

.badge.bg-warning {
  background-color: var(--yellow-light) !important;
  color: var(--yellow) !important;
}

.badge.bg-warning-shade {
  background-color: var(--yellow) !important;
  color: white !important;
}

/*//////////////////////////////////////////////////////////////////
[ LIST ]*/

.list-group {
  --bs-list-group-border-width: 0px;
}

.list-group .list-group-item:not(:last-child) {
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.list-group-item:last-child {
  border-radius: 0px !important;
}

.list-group-item.active {
  --bs-list-group-active-bg: var(--bs-gray-300);
  --bs-list-group-active-border-color: var(--bs-white);
}

/* Iconos tabla registro de horas */
a.list-group-item .btn i {
  font-size: 18px;
}

.list-group .btn-primary {
  --bs-btn-bg: transparent !important;
  --bs-btn-border-color: transparent !important;
  --bs-btn-color: var(--blue) !important;
}

.list-group .btn-success {
  --bs-btn-bg: transparent !important;
  --bs-btn-border-color: transparent !important;
  --bs-btn-hover-bg: var(--green-light);
  --bs-btn-hover-border-color: var(--green-light);
  --bs-btn-hover-color: var(--green);
  --bs-btn-active-bg: var(--green-light);
  --bs-btn-active-border-color: var(--green-light);
  --bs-btn-active-color: var(--green);
}

.list-group .btn-danger {
  --bs-btn-bg: transparent !important;
  --bs-btn-border-color: transparent !important;
  --bs-btn-hover-bg: var(--red-light);
  --bs-btn-hover-border-color: var(--red-light);
  --bs-btn-hover-color: var(--red);
  --bs-btn-active-bg: var(--red-light);
  --bs-btn-active-border-color: var(--red-light);
  --bs-btn-active-color: var(--red);
}

.list-group .btn-secondary {
  --bs-btn-bg: transparent !important;
  --bs-btn-border-color: transparent !important;
  --bs-btn-color: var(--blue) !important;
}
