/**
  Use Adobe Color to get color paleth
  https://color.adobe.com/es/create/color-wheel
  Select Opcion Monocromatic
**/
/*
  $color-first:   #1D7BE7;
  $color-second:  #6DB0FD;
  $color-third:   #2187FC;
  $color-fourth:  #36577D;
  $color-fifth:   #1A6CC9;
*/
/* C */
/* B */
/* A */
/* D */
/* E */
/**
  Use Adobe Color to get color paleth
  https://color.adobe.com/es/create/color-wheel
  Select Opcion Monocromatic
**/
/*
  $color-first:   #1D7BE7;
  $color-second:  #6DB0FD;
  $color-third:   #2187FC;
  $color-fourth:  #36577D;
  $color-fifth:   #1A6CC9;
*/
/* C */
/* B */
/* A */
/* D */
/* E */
.main-sidebar {
  max-height: 100%;
  overflow-y: auto;
}
.main-sidebar::-webkit-scrollbar {
  width: 4px;
  background: rgba(204, 204, 204, 0.774);
}
.main-sidebar::-webkit-scrollbar-thumb {
  background: rgb(251, 191, 36);
  border-radius: 3px;
  cursor: pointer;
}

ul.nav-treeview {
  background-color: rgb(250, 204, 21);
  border-bottom: 1px solid rgb(250, 204, 21);
}

.sidebar-dark-primary {
  background: linear-gradient(90deg, rgb(251, 191, 36), #e96315);
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: rgb(251, 191, 36);
}

.form-control:focus {
  border-color: rgb(250, 204, 21);
}

[class*=sidebar-dark] .brand-link {
  border-bottom: 1px solid rgb(251, 191, 36);
}

[class*=sidebar-dark-] .nav-header {
  color: #221f1c;
}

[class*=sidebar-dark-] .sidebar a {
  color: #221f1c;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link {
  color: #221f1c;
}

[class*=sidebar-dark] .brand-link {
  background-color: #fff;
}

.navbar-white {
  background-color: #ffffff;
}

.nav-link {
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
}

.nav-sidebar .nav-link p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 5px;
}

.nav-sidebar .nav-link > p > .right {
  position: relative;
  display: block;
  top: auto;
  right: auto !important;
}

.navbar-light .navbar-nav .nav-link {
  color: rgb(27, 27, 27);
}

.main-header {
  border-bottom: 1px solid #e6dee1;
}

[class*=sidebar-dark] .brand-link, [class*=sidebar-dark] .brand-link .pushmenu {
  color: rgb(251, 191, 36);
}

[class*=sidebar-dark] .brand-link:hover, [class*=sidebar-dark] .brand-link .pushmenu:hover {
  color: rgb(251, 191, 36);
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:hover, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:focus {
  border-right: 4px solid #fff;
}

.sidebar-dark-primary .nav-sidebar.nav-legacy > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar.nav-legacy > .nav-item > .nav-link.active {
  border-color: #fff;
}

[class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link:focus {
  background-color: transparent;
  color: #fff;
}

[class*=sidebar-dark] .nav-legacy.nav-sidebar > .nav-item .nav-treeview, [class*=sidebar-dark] .nav-legacy.nav-sidebar > .nav-item > .nav-treeview {
  background-color: transparent;
}

li.nav-item > a.nav-link {
  width: 100%;
}

.nav-item.menu-open {
  position: relative;
}

.nav-item {
  position: relative;
}

nav ul.nav li.nav-item a:hover::before,
nav ul.nav li.nav-item.menu-open::before,
nav ul.nav li.nav-item a.nav-link.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.12);
}

.nav-legacy.nav-sidebar > .nav-item > .nav-link.active {
  background-color: inherit;
  border-left: 3px solid transparent;
  box-shadow: none;
}

ul.nav-treeview {
  border-bottom: none;
}

.no-resize {
  resize: none;
}

.pointer {
  cursor: pointer;
}

.right-0 {
  right: 0;
}

.right-1 {
  right: 3px;
}

.right-2 {
  right: 6px;
}

.top-0 {
  top: 0;
}

.top-1 {
  top: 3px;
}

.top-2 {
  top: 6px;
}

.left-0 {
  left: 0;
}

.bottom-0 {
  bottom: 0;
}

.bottom-1 {
  bottom: 3px;
}

.bottom-2 {
  bottom: 6px;
}

.msj-error {
  color: #e96837;
  font-size: 12px;
  margin-bottom: 3px;
  margin-left: 10px;
}

.no-resize {
  resize: none;
}

.required::after {
  content: " *";
  font-weight: bold;
  font-size: inherit;
  color: #740902;
}

.gradient {
  background: linear-gradient(90deg, #d53369 0%, #daae51 100%);
}

.box_image_cover {
  margin: auto;
  width: 225px;
  height: 150px;
  border: solid 1px #b6b6b6;
  box-shadow: 1px 1px 5px rgba(139, 139, 139, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgba(239, 239, 239, 0.8509803922);
  background-image: url(/img/icon_galery.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.box_image_cover:hover {
  -webkit-backdrop-filter: brightness(60%);
          backdrop-filter: brightness(60%);
}

.box_image_buttons {
  display: block;
  width: 100%;
}

.body-page {
  background-color: #fff;
  position: relative;
}

.table-bordered th, .table-bordered td {
  border: none;
  border-bottom: 1px solid #dee2e6;
}

.btn:hover {
  box-shadow: inset 0 0px 50px rgba(40, 40, 40, 0.45);
}

.loadData {
  position: absolute;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.6);
}
.loadData .spinner-border {
  width: 100px;
  height: 100px;
  font-size: 20px;
}

.savingData {
  position: absolute;
  z-index: 11;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.6);
}
.savingData .spinner-border {
  width: 70px;
  height: 70px;
  font-size: 14px;
}

.form-control, .btn {
  border-radius: 0px;
}

.modal-content {
  border-radius: 0px;
}

.modal-header {
  border: none;
}

.modal-footer {
  border: none;
}

.table.table-head-fixed thead tr:nth-child(1) th {
  box-shadow: inset 0 -3px 0 #dee2e6;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: rgb(251, 191, 36);
  border-color: rgb(251, 191, 36);
}

.page-item .page-link {
  color: rgb(251, 191, 36);
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: rgb(250, 204, 21);
  background-color: rgb(250, 204, 21);
}

.bottom-border {
  border-bottom: solid 1px #d3d3d3;
}

.top-border {
  border-top: solid 1px #d3d3d3;
}

.photo_box {
  border: solid 1px #e7e7e7;
  box-shadow: 0px 0px 3px 0px rgba(219, 219, 219, 0.8509803922);
  overflow: hidden;
  position: relative;
}
.photo_box .img {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.photo_box .btn_upload {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: rgba(71, 71, 71, 0.525);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  border: none;
}
.photo_box .button_flex {
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 5;
  top: 3px;
  right: 3px;
  background-color: rgba(255, 255, 255, 0.9);
  width: 20px;
  height: 20px;
  border-radius: 100%;
  font-size: 12px;
  color: #494949;
}

.flip-list-move {
  transition: transform 0.5s;
}

.no-move {
  transition: transform 0s;
}

.ghost {
  opacity: 0;
  background: #c8ebfb;
}
