/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

body {
  background: linear-gradient(to bottom, #f5f5f5, #ffffff);
}

/*
* Re-coloring
******************************************************************************/
:root {
   /* --ehus-blue-primary: #0f4277; */
   --ehus-blue-primary: #426aae;
   /* --ehus-blue-secondary: #dae0ea; */
   --ehus-blue-secondary: #3960a3;
   /* --ehus-blue-primary-rgb: rgb(15, 65, 119);
   --ehus-blue-secondary-rgb: rgba(15, 65, 119, 0.16);
   --ehus-blue-highlight-rgb: rgb(35, 85, 139, 1);
   --ehus-blue-form-rgb: rgb(35, 85, 139, 0.5); */
   --ehus-blue-primary-rgb: rgb(66, 105, 174);
   --ehus-blue-secondary-rgb: rgba(66, 105, 174, 0.16);
   --ehus-blue-highlight-rgb: rgb(57, 96, 163, 1);
   --ehus-blue-form-rgb: rgb(57, 96, 163, 0.5);
}

.navbar.landing-navbar .navbar-nav .show > .nav-link,
.navbar.landing-navbar .navbar-nav .active > .nav-link,
.navbar.landing-navbar .navbar-nav .nav-link.show,
.navbar.landing-navbar .navbar-nav .nav-link.active,
.navbar.landing-navbar .navbar-nav .nav-link:hover {
  color: var(--ehus-blue-primary) !important;
}

.app-brand .layout-menu-toggle {
  background-color: var(--ehus-blue-primary);
  border: 7px solid #f5f5f9;
}
.bg-menu-theme .menu-inner > .menu-item.active:before {
  background: var(--ehus-blue-primary);
}
.bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
  background-color: var(--ehus-blue-primary) !important;
  border: 3px solid var(--ehus-blue-secondary) !important;
}
.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  color: var(--ehus-blue-primary);
  background-color: var(--ehus-blue-secondary-rgb) !important;
}
.btn-primary {
  color: #fff;
  background-color: var(--ehus-blue-primary);
  border-color: var(--ehus-blue-primary);
  box-shadow: 0 0.125rem 0.25rem 0 rgba(var(--ehus-blue-primary-rgb), 0.4);
}
.btn-primary:hover {
  color: #fff !important;
  background-color: var(--ehus-blue-highlight-rgb) !important;
  border-color: var(--ehus-blue-highlight-rgb) !important;
  transform: translateY(-1px) !important;
}
.custom-option.checked {
  border: 1px solid #0091d7;
}
.page-item.active .page-link, .page-item.active .page-link:hover, .page-item.active .page-link:focus,
.pagination li.active > a:not(.page-link),
.pagination li.active > a:not(.page-link):hover,
.pagination li.active > a:not(.page-link):focus {
  border-color: var(--ehus-blue-primary);
  background-color: var(--ehus-blue-primary);
  color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(var(--ehus-blue-primary-rgb), 0.4);
}

.btn-check:focus + .btn-primary, .btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: var(--ehus-blue-primary);
  border-color: var(--ehus-blue-primary);
  transform: translateY(0);
  box-shadow: none;
}
.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .btn-primary.show.dropdown-toggle, .show > .btn-primary.dropdown-toggle {
  color: #fff !important;
  background-color: var(--ehus-blue-primary) !important;
  border-color: var(--ehus-blue-primary) !important;
}
.btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .btn-primary.show.dropdown-toggle:focus, .show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}
.btn-primary.disabled, .btn-primary:disabled {
  color: #fff !important;
  background-color: var(--ehus-blue-primary) !important;
  border-color: var(--ehus-blue-primary) !important;
  box-shadow: none !important;
}

.text-body[href]:hover {
    color: var(--ehus-blue-highlight-rgb) !important;
}
a {
  color: var(--ehus-blue-primary);
}
a:hover {
  color: var(--ehus-blue-highlight-rgb);
}

.btn-outline-primary:hover .badge,
.btn-outline-primary:focus:hover .badge,
.btn-outline-primary:active .badge,
.btn-outline-primary.active .badge,
.show > .btn-outline-primary.dropdown-toggle .badge {
  background: #fff;
  border-color: #fff;
  color: var(--ehus-blue-primary);
}

.dropdown-item:not(.disabled).active,
.dropdown-item:not(.disabled):active {
  background-color: rgba(var(--ehus-blue-primary-rgb), 0.08);
  color: var(--ehus-blue-primary) !important;
}

.dropdown-menu > li:not(.disabled) > a:not(.dropdown-item):active,
.dropdown-menu > li.active:not(.disabled) > a:not(.dropdown-item) {
  background-color: rgba(var(--ehus-blue-primary-rgb), 0.08);
  color: var(--ehus-blue-primary) !important;
}

.nav .nav-link:hover, .nav .nav-link:focus {
  color: #5f61e6;
}

.nav-pills .nav-link.active, .nav-pills .nav-link.active:hover, .nav-pills .nav-link.active:focus {
  background-color: var(--ehus-blue-primary);
  color: #fff;
  box-shadow: 0 2px 4px 0 rgba(var(--ehus-blue-primary-rgb), 0.4);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ehus-blue-form-rgb) !important;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
  border-color: var(--ehus-blue-form-rgb) !important;
}

.form-check-input:focus {
  border-color: var(--ehus-blue-form-rgb) !important;
  box-shadow: 0 2px 4px 0 rgba(var(--ehus-blue-primary-rgb), 0.4);
}
.form-check-input:disabled {
  background-color: #eceef1 !important;
}
.form-check-input:checked, .form-check-input[type=checkbox]:indeterminate {
  background-color: var(--ehus-blue-form-rgb) !important;
  border-color: var(--ehus-blue-form-rgb) !important;
  box-shadow: 0 2px 4px 0 rgba(var(--ehus-blue-primary-rgb), 0.4);
}

.custom-option.checked {
  border: 1px solid var(--ehus-blue-form-rgb) !important;
}

.form-switch .form-check-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23696cff'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-control:focus ~ .form-label {
  border-color: var(--ehus-blue-form-rgb) !important;
}
.form-control:focus ~ .form-label::after {
  border-color: inherit;
}

.form-floating > label {
  /* Color of label before anim */
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: var(--ehus-blue-primary-rgb) !important;
}
.form-floating > .form-control:-webkit-autofill ~ label {
  color: var(--ehus-blue-primary-rgb) !important;
}
