/*
 * CotoAcademy primary colour for the Backpack CoreUI v2 theme.
 *
 * The Backpack 5 bundle in public/packages carried the brand orange #FBAE3C
 * instead of the Backpack primary #7c69ef, plus #f99500 for the hover and
 * active states of primary buttons. Backpack 6 loads its own stylesheet,
 * @digitallyhappy/backstrap 0.5.1 legacy.css, so this file repeats the same
 * replacement: every legacy.css declaration that used #7c69ef, now with
 * #FBAE3C. It is loaded after the theme stylesheets (config/backpack/ui.php).
 */

:root {
  --purple: #FBAE3C;
  --primary: #FBAE3C;
}
a {
  color: #FBAE3C;
}
.btn-primary {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-outline-primary {
  color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-outline-primary:hover {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color: #FBAE3C;
}
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-link {
  color: #FBAE3C;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #FBAE3C;
}
.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #FBAE3C;
  background-color: #FBAE3C;
}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: #FBAE3C;
  background-color: #FBAE3C;
}
.custom-range::-webkit-slider-thumb {
  background-color: #FBAE3C;
}
.custom-range::-moz-range-thumb {
  background-color: #FBAE3C;
}
.custom-range::-ms-thumb {
  background-color: #FBAE3C;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #FBAE3C;
}
.page-link {
  color: #FBAE3C;
}
.page-item.active .page-link {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.badge-primary {
  background-color: #FBAE3C;
}
.alert-primary {
  background-color: #FBAE3C;
}
.progress-bar {
  background-color: #FBAE3C;
}
.list-group-item.active {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.bg-primary {
  background-color: #FBAE3C !important;
}
.border-primary {
  border-color: #FBAE3C !important;
}
.text-primary {
  color: #FBAE3C !important;
}
.aside-menu .nav-tabs .nav-link.active {
  color: #FBAE3C;
}
.btn-ghost-primary {
  color: #FBAE3C;
}
.btn-ghost-primary:hover {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-ghost-primary.disabled,
.btn-ghost-primary:disabled {
  color: #FBAE3C;
}
.btn-ghost-primary:not(:disabled):not(.disabled):active,
.btn-ghost-primary:not(:disabled):not(.disabled).active,
.show > .btn-ghost-primary.dropdown-toggle {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.callout-primary {
  border-left-color: #FBAE3C;
}
.callout-primary h4 {
  color: #FBAE3C;
}
*[dir="rtl"] .callout.callout-primary {
  border-right-color: #FBAE3C;
}
.card-accent-primary {
  border-top-color: #FBAE3C;
}
.list-group-item-accent-primary {
  border-left: 4px solid #FBAE3C;
}
.modal-primary .modal-content {
  border-color: #FBAE3C;
}
.modal-primary .modal-header {
  background-color: #FBAE3C;
}
.nav-fill .nav-link.active {
  border-top: 2px solid #FBAE3C;
}
.sidebar .nav-link.active .nav-icon {
  color: #FBAE3C;
}
.sidebar .nav-link:hover {
  background: #FBAE3C;
}
.sidebar .nav-link.nav-link-primary {
  background: #FBAE3C;
}
@media (min-width: 992px) {
  .sidebar-minimized .sidebar .nav-item:hover > .nav-link {
    background: #FBAE3C;
  }
  .sidebar-minimized .sidebar .nav-link:hover {
    background: #FBAE3C;
  }
  .sidebar-minimized .sidebar .nav > .nav-dropdown:hover {
    background: #FBAE3C;
  }
  *[dir="rtl"] .sidebar-minimized .sidebar .nav > .nav-dropdown:hover {
    background: #FBAE3C;
  }
}
.switch-primary .switch-input:checked + .switch-slider {
  background-color: #FBAE3C;
}
.switch-outline-primary .switch-input:checked + .switch-slider {
  border-color: #FBAE3C;
}
.switch-outline-primary .switch-input:checked + .switch-slider::before {
  border-color: #FBAE3C;
}
.switch-outline-primary .switch-input:checked + .switch-slider::after {
  color: #FBAE3C;
}
.switch-outline-primary-alt .switch-input:checked + .switch-slider {
  border-color: #FBAE3C;
}
.switch-outline-primary-alt .switch-input:checked + .switch-slider::before {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.switch-outline-primary-alt .switch-input:checked + .switch-slider::after {
  color: #FBAE3C;
}
.bg-purple {
  background-color: #FBAE3C !important;
}
.ie-custom-properties {
  purple: #FBAE3C;
  primary: #FBAE3C;
}
.sidebar.bg-white .nav-link.active {
  color: #FBAE3C !important;
}
.sidebar.bg-white .nav-link.active .nav-icon,
.sidebar.bg-white .nav-link.active:hover .nav-icon {
  color: #FBAE3C !important;
}
.sidebar-pills .nav-link.active,
.sidebar-pills .nav-link:hover {
  color: #FBAE3C !important;
}
.sidebar-pills .nav-link:hover .nav-icon {
  color: #FBAE3C !important;
}
.sidebar.sidebar-pills .nav-link.active,
.sidebar.sidebar-pills .nav-link:hover {
  color: #FBAE3C !important;
}
.sidebar.sidebar-pills .nav-link.active .nav-icon,
.sidebar.sidebar-pills .nav-link:hover .nav-icon {
  color: #FBAE3C;
}
.btn-primary,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.btn-primary.disabled,
.dataTables_wrapper .dataTables_paginate .disabled.paginate_button.current,
.btn-primary:disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:disabled {
  background-color: #FBAE3C;
  border-color: #FBAE3C;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #FBAE3C;
}
.tag-blue {
  background-color: #FBAE3C;
}
.tag-purple {
  background-color: #FBAE3C;
}
.tag-primary {
  background-color: #FBAE3C;
}
.pace .pace-progress {
  background: #FBAE3C;
}
.noty_theme__backstrap.noty_type__primary {
  background-color: #FBAE3C;
}

/* vendor/backpack/crud/src/resources/assets/css/common.css */
.noty_theme__backstrap.noty_type__primary {
  background-color: #FBAE3C;
}

/* Hover and active states, as in the Backpack 5 bundle */
.sidebar .nav-link.nav-link-primary:hover {
  background: #f99500;
}
.btn-primary:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background-color: #f99500;
  border-color: #f99500;
  color: #fff;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:not(:disabled):not(.disabled).active,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:not(:disabled):not(.disabled):active,
.dataTables_wrapper .dataTables_paginate .show > .dropdown-toggle.paginate_button.current,
.show > .btn-primary.dropdown-toggle {
  background-color: #f99500;
  border-color: #f99500;
  color: #fff;
}
