body {
  font-family: 'Gotham', sans-serif;
  font-weight: 300;
  margin: 0 auto;
}

/* Admin Toolbar adjustments */
body.toolbar-tray-open.toolbar-horizontal #toolbar-bar {
  position: fixed;
  top: 0;
  bottom: auto;
  width: 100%;
  z-index: 50000;
}

body.toolbar-fixed #toolbar-item-administration-tray.toolbar-tray-horizontal {
  bottom: auto;
  top: 39px;
}

body.toolbar-fixed.toolbar-horizontal #toolbar-bar {
  position: fixed;
  bottom: auto;
  top: 0;
}

/* Adjust the toolbar drawer position */
body.toolbar-drawer #toolbar-item-administration-tray.toolbar-tray-horizontal {
  bottom: auto;
  top: 0;
}

.no_user {
  display: none;
}

.is_user {
  display: none;
}

form .error {
  color: #e1242a;
}

.clearfix {
  clear: both;
}

a {
  color: #e1242a;
}

.form-control,
.form-select {
  font-weight: 300 !important;
}

.form-label {
  font-weight: 400;
}

.form-control {
  border-radius: 2px;
}

option {
  font-weight: 300 !important;
}

input[type="checkbox"] {
  accent-color: #e1242a;
}

.form-check-input:checked {
  background-color: #e1242a;
  border-color: #e1242a;
}

.select2-selection__rendered {
  white-space: normal;
  word-break: break-all;
}

.select2-selection__choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.select2-selection__choice__remove {
  order: 2;
  margin-left: auto;
}

.select2-container .select2-search--inline .select2-search__field {
  box-sizing: border-box;
  border: none;
  font-size: 100%;
  margin-top: 0!important;
  margin-left: 0;
  padding: 0;
  max-width: 100%;
  resize: none;
  height: 24px!important;
  width: 100%;
  vertical-align: bottom;
  font-family: sans-serif;
  overflow: hidden;
  word-break: keep-all;
  color: #000;
  font-family: 'Gotham', sans-serif;
  font-weight: 300;
}

.select2-container .select2-search--inline .select2-search__field::placeholder {
  color: #212529;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e0ebff;
  border: 1px solid #e0ebff;
  border-radius: 10px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  padding: 0;
  padding-left: 20px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  background-color: transparent;
  border: none !important;
  color: #999;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 0 4px;
  position: absolute;
  left: 0;
  top: 0;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  background: none!important;
}

.select2-selection__choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.select2-selection--multiple {
  border: solid #dee2e6 1px !important;
  height: 100%!important;
  padding: 16px 12px!important;
}

.dob-input {
  width: 100px;
  display: inline-block;
}

.hide-on-mobile {
  display: block;
}

nav.navbar {
  background-color: #e1242a;
  padding: 0 30px;
  z-index: 15000;
}

#topNavigation nav.navbar {
  padding: 0 30px;
}


.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
}

#topNavigation {
  display: block;
}

#topNavigation .navbar-brand {
  padding: 10px 0;
}

#topNavigation .navbar-nav {
  height: 55px;
  margin-bottom: 0;
  margin-top: 10px;
}

#topNavigation .navbar-nav li:hover,
#topNavigation .navbar-nav li.active {
  border-bottom: 3px solid #fff;
  border-radius: 0;
  cursor: pointer;
}

#topNavigation .navbar-nav li.button-item {
  border: none;
}


#topMobileNav,
#topMobileNav .topMbMenu {
  display: none;
}

@media (max-width: 1000px) {
  #topMenu {
    display: none;
  }

  #topMobileNav {
    display: block;
    position: relative;
    z-index: 30000;
  }

  #topMbMenu {
    max-width: 70%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 30005;
    padding-bottom: 50px;
  }

  #topNavigation nav.navbar {
    padding: 0 0;
  }

  #topMbMenu li {
    background-color: #e1242a;
    padding: 15px 15px;
    box-shadow: 0 5px 24px -6px rgba(0, 0, 0, 0.5);
  }

  #topMbMenu li:hover {
    border-left: 3px solid #fff;
    background-color: #bd120a;
  }

  #topMbMenu li.button-item {
    padding: 15px;
    background-color: #fff;
    box-shadow: none;
    border-bottom: 2px solid #e1242a;
    color: #e1242a !important;
  }

  #topMbMenu li a {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }

  #topMbMenu li.button-item a {
    color: #e1242a !important;
    text-decoration: none;
  }
}


.module-connect-body nav.navbar,
.module-address-book-body nav.navbar {
  background-color: #8f23b3;
}

nav.navbar .navbar-brand img {
  max-width: 100%;
  width: 130px !important;
  height: auto !important;
}

#topMenu.show a {
  text-align: left;
  font-size: 22px;
  font-weight: 400;
}

#topMenu.show li {
  margin: 0;
  padding: 10px 0;
  box-shadow: 0 5px 8px -4px rgba(0, 0, 0, 0.1);
}

#topMenu.show li:last-child {
  box-shadow: none;
}


#topMenu a {
  color: #fff;
  text-align: right;
}


#topMenu li {
  margin: 0 24px;
}

#topMenu li.button-item {
  margin: 0 10px;
  display: inline-block;
  padding-top: 5px;
}

#topMenu li.button-item.first {
  margin-left: 10px;
}


#topMenu .button-item .btn-signin,
#topMenu .button-item .btn-profile {
  background-color: #e1242a;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 13px;
}

#topMenu .button-item .btn-registration,
#topMenu .button-item .btn-logout {
  background-color: #fff;
  border: 1px solid #fff;
  color: #e1242a;
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 13px;
}

.navbar-shadow {
  box-shadow: 0 6px 8px -4px rgba(0, 0, 0, 0.1);
}

.modal-backdrop {
  z-index: 99998;
}

.modal.show {
  z-index: 99999;
}

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

@media (max-width: 600px) {
  .modal .modal-footer {
    flex-direction: column-reverse;
  }

  .modal .modal-footer .btn {
    width: 100%;
    margin: 5px 0;
  }

  .card-img-top-wrapper .modal .modal-dialog, .card-carousel .modal .modal-dialog {
    width: calc(100% - 1.8rem);
  }
  .card-carousel .modal-content, .card-carousel iframe {
    min-height: 240px;
  }
}

.modal .modal-footer .btn.btn-white {
  background-color: #fff;
  border: 1px solid #e1242a;
  color: #e1242a;
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 13px;
}

.modal .modal-footer .btn.btn-red {
  background-color: #e1242a;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 13px;
}

.btn-disabled {
  background-color: #e2e6e9 !important;
  color: #5c5c5c !important;
  border: 1px solid #e2e6e9 !important;
  cursor: not-allowed !important;
}

.modal .modal-title {
  font-size: 18px;
}

#start-registration-modal .modal-body label {
  font-weight: 600;
  font-size: 16px;
}

#start-registration-modal .modal-body select {
  font-weight: 300;
  font-size: 14px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.welcome-section {
  position: relative;
  background-color: #e1242a;
  min-height: 500px;
  color: #fff;
  text-align: center !important;
  padding: 50px 30px 0px;
  margin-bottom: 150px;
  font-family: 'Gotham', sans-serif;
}

.welcome-video {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 315px;
}

.responsive-iframe {
  width: 100%;
}

@media (max-width: 600px) {
  .responsive-iframe {
    width: auto;
    max-width: 95%;
    max-height: 400px !important;
  }
}


.welcome-section img {
  max-width: 100%;
  height: auto;
}

.welcome-section .section-container {
  max-width: 962px;
  margin: 0 auto;
  padding-bottom: 320px;
}

.welcome-section .welcome-links {
  position: relative;
  z-index: 10;
  color: #fff;
}

.welcome-section a {
  color: #fff;
}

.welcome-section .welcome-image {
  position: absolute;
  bottom: -80px;
  left: 20px;
  z-index: 2;
  text-align: left;
}


.welcome-section .welcome-image img {
  width: 90%;
  height: auto;
  max-width: 1000px;
}

.welcome-section .welcome-image-footer img {
  max-width: 100%;
  height: auto;
}

.welcome-section .welcome-image-footer {
  position: absolute;
  bottom: 37px;
  left: 0;
  width: 100%;
  z-index: 1;
  transform: translate(0%, 50%);
}

.welcome-section .welcome-image-footer svg {
  position: absolute;
  z-index: -1;
  bottom: 25px;
  left: 0;
}

.welcome-section .welcome-image-footer svg path {
  fill: #fff;
}

@media (min-width: 2000px) {
  .welcome-section .welcome-image-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    transform: translate(0%, 50%);
    margin-bottom: 30px;
  }

  .welcome-section .welcome-image-footer img {
    max-height: 400px;
    height: auto;
  }

  .welcome-section .welcome-image-footer svg {
    display: none;
  }
}

.welcome-section .btn-white {
  background-color: #fff;
  color: #e1242a !important;
  border-radius: 25px;
  padding: 10px 20px;
  border: 1px solid #e1242a;
}

.welcome-section .btn-white:hover,
.welcome-section .btn-white.color-dark:hover {
  background-color: #e1242a;
  color: #fff !important;
  border-color: #fff;
}

@media (max-width: 600px) {
  .welcome-section {
    margin-bottom: 100px;
  }

  .welcome-section .section-container {
    padding-bottom: 190px;
  }


  .welcome-section .welcome-image img {
    width: 65%;
  }

  .welcome-section .welcome-image-footer img {
    width: 1000px;
    max-width: none !important;
    position: absolute;
    left: -20%;
  }

  .welcome-section .welcome-image-footer {
    height: 160px;
    width: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
  }

}

.path-join-later .pageTitle,
.module-join-later-body .pageTitle,
.module-welcome-logged-in-body .pageTitle {
  display: none;
}

.btn.color-dark {
  color: #333 !important;
}

.btn-white {
  background-color: #fff;
  color: #e1242a;
  border-radius: 25px;
  padding: 10px 20px;
  border: 1px solid #e1242a;
}

.btn-white:hover {
  background-color: #e1242a;
  color: #fff;
  border-color: #fff;
}

.btn-white.color-dark:hover {
  background-color: #e1242a !important;
  color: #fff !important;
  border-color: #fff;
}

.btn-red {
  background-color: #e1242a;
  color: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  border: 1px solid #e1242a;
}

.btn-red:hover {
  background-color: #e1242a;
  color: #fff;
  border-color: #fff;
}


.pageTitle {
  background-color: #e1242a;
  color: #fff;
  padding: 60px;
  position: relative;
  z-index: 10;
}

.module-connect-body .pageTitle,
.module-address-book-body .pageTitle {
  background-color: #8f23b3;
}

.pageTitle .title-image {
  position: absolute;
  bottom: 0;
  right: 100px;
}

@media (max-width: 800px) {
  .pageTitle {
    padding: 30px 15px;
  }

  .pageTitle .title-image {
    position: relative;
    right: 10px !important;
    bottom: 0 !important;
    max-height: 100px;
    width: auto;
  }
}

footer {
  padding: 30px 0 25px;
  border-top: 1px solid #edf2f4;
  border-bottom: 5px solid #e1242a;
  background: #ffff;
}

.path-join-later footer,
.module-welcome-body footer,
.module-join-later-body footer,
.module-request-password-body footer,
.module-login-body footer,
.module-welcome-logged-in-body footer,
.module-set-password-body footer {
  border-top: none;
}

.footer-menu {
  list-style: none;
  padding-left: 0;
}


.footer-menu li {
  display: inline-block;
  margin: 0 20px;
}

.module-my-profile-body .footer-menu li:first-child,
.module-patient-body .footer-menu li:first-child {
  display: inline-block;
}

.footer-menu li a {
  text-decoration: none;
  color: #e1242a;
  font-size: 14px;
  font-weight: bold;
}

.logo-footer-mb {
  display: none;
}

@media (max-width: 600px) {
  footer {
    padding: 20px 25px 20px;
  }

  .footer-menu li {
    display: block;
    margin-bottom: 20px;
  }

  .footer-menu li a {
    font-size: 16px;
  }

  .logo-footer {
    display: none;
  }

  .logo-footer-mb {
    display: block;
    margin-top: 10px;
  }

  .logo-footer-mb .logo-footer-takeda {
    float: left;
    height: 30px;
    width: auto;
    margin-top: 10px;
  }

  .logo-footer-mb .logo-footer-bemi {
    float: right;
    height: 40px;
    width: auto;
  }
  .content-area {
    padding: 10px 6px 24px !important;
  }
}
.content-area {
  padding: 0 30px 24px !important;
}

.slick-arrow {
  z-index: 9999;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  max-height: 397px;
  overflow: auto;
}


/* REGISTRATION PAGE */
.field-container.healthcare-professional,
.field-container.general-public {
  display: none;
}

.checkbox-list .highlighted,
.checkbox-option:hover {
  background-color: #e0ebff;
}

.checkbox-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding: 5px;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.checkbox-option img {
  margin-right: 10px;
  height: 50px;
}

.resource-checkbox-option-all {
  padding: 10px 10px 0;
  width: 100%;
}

.resource-checkbox-option {
  padding: 10px;
  border-bottom: 1px solid #cdd1d6;
  font-size: 14px;
}

.resource-checkbox-option input,
.resource-checkbox-option span {
  display: inline-block;
  vertical-align: top;
}

.resource-checkbox-option input,
.resource-checkbox-option-all input {
  margin-right: 5px;
  margin-top: 6px;
  width: 20px;
}

.resource-checkbox-option span,
.resource-checkbox-option-all span {
  width: 86%;
}

.resource-checkbox-option-all input {
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
}

.register-warning-block {
  background-color: #edf2f4;
  max-width: 800px;
  padding: 20px;
}

.register-warning-block .b-icon {
  padding-top: 10px;
}

.register-warning-block .b-icon img {
  width: 50px;
}

.register-warning-block .b-text {
  padding-left: 20px;
}

.register-warning-block .b-text a {
  color: #e1242a;
  font-weight: 400;

}


.request-password-block {
  max-width: 800px;
}

.request-password-block .b-icon {
  padding-top: 0;
}

.request-password-block .b-icon img {
  width: 40px;
}

.request-password-block .b-text {
  padding-left: 10px;
  font-size: 14px;
}

.request-password-block .b-text a {
  color: #e1242a;
  font-weight: 400;

}


@media (max-width: 600px) {
  .request-password-block.deactive-text {
    display: block !important;
    padding: 0;
  }

  .request-password-block.deactive-text .b-icon {
    padding-top: 0;
  }

  .request-password-block.deactive-text .b-icon img {
    width: 65px !important;
  }

  .request-password-block.deactive-text .b-text {
    padding: 10px 0px !important;
    font-size: 16px;
  }

  .btn-goto-takeda,
  .btn-profile-add-treatment-code {
    width: 100%;
    margin-bottom: 30px;
  }

  img.resource-welcome-image {
    max-width: 100px;
    margin-top: 15px;
  }
}


/* LOGIN FORM */

.section-login a {
  color: #e1242a;
}

.path-user #block-patient-content,
.section-login.bg-1 {
  background: url(../img/login/login-bg.jpg) top center no-repeat;
  background-color: #e0ebc9;
  background-size: contain;
  min-height: 900px;
}


.section-login.bg-2 {
  background: url(../img/login/login-bg1.jpg) top center no-repeat;
  background-color: #dbebfa;
  background-size: contain;
  min-height: 900px;
}

.section-login.bg-3 {
  background: url(../img/login/login-bg2.jpg) top center no-repeat;
  background-color: #eadfef;
  background-size: contain;
  min-height: 900px;
}

.login-container {
  max-width: 400px;
  margin-left: auto;
  margin-right: 150px;
  padding-top: 100px;
}

.path-user #block-patient-content form {
  max-width: 400px;
  margin-left: auto;
  margin-right: 150px;
  padding-top: 100px;
}

.path-user #block-patient-content label {
  font-weight: bold;
}

.section-setup-password {
  background: url(../img/login/setup-password-bg.jpg) top left no-repeat;
  background-color: #eadfef;
  background-size: contain;
  min-height: 900px;
}

.setup-password-container {
  max-width: 400px;
  margin: 0 auto;
  padding-top: 100px;
}

.setup-password-container .form-title,
.login-container .form-title {
  color: #333;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 600px) {
  .section-setup-password {
    background-image: none !important;
    min-height: 0 !important;
  }

  .section-setup-password .mb-bg {
    background: url(../img/login/setup-password-mb-bg.png) top center no-repeat;
    background-size: contain;
    width: 100%;
    height: 300px;
  }
}

.login-form {
  padding: 25px;
}

.login-form .btn-primary,
.path-user #block-patient-content #edit-submit {
  background-color: #e1242a;
  border: 1px solid #e1242a;
  color: #fff;
  border-radius: 25px;
  padding: 8px 30px;
  width: 100%;
  margin-top: 20px;
}

.login-form .btn-primary:hover {
  background-color: #e1242a;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 25px;
  padding: 8px 30px;
}

.login-form .form-control {
  border-radius: 0px;
  background-color: #fff;
}

.path-user #block-patient-content input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (max-width: 600px) {
  .section-login {
    background-image: none !important;
    min-height: 0 !important;
  }

  .section-login.bg-1 .mb-bg {
    background: url(../img/login/login-bg.jpg) top left no-repeat;
    background-size: contain;
    width: 100%;
    height: 300px;
  }

  .section-login.bg-2 .mb-bg {
    background: url(../img/login/login-bg1.jpg) top left no-repeat;
    background-size: contain;
    width: 100%;
    height: 300px;
  }

  .section-login.bg-3 .mb-bg {
    background: url(../img/login/login-bg2.jpg) top center no-repeat;
    background-size: contain;
    width: 100%;
    height: 300px;
  }

  .login-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    padding-top: 50px;
  }

}

/* TOOLBAR */
.toolbar {
  padding: 10px;
  background-color: #cdd1d6;
}

.toolbar .btn,
.toolbar .form-select,
.toolbar .form-control {
  margin-right: 5px;
}

.toolbar .form-control {
  max-width: 200px;
}

/* Custom styles for buttons to match your screenshot */
.toolbar .btn-outline-primary {
  border-color: #fff;
  color: #fff;
}

.toolbar .btn-outline-primary:hover {
  background-color: #fff;
  color: #007bff;
}

.input-group-text {
  background-color: #007bff;
  border-color: #fff;
  color: #fff;
}


/* Task board */
.dashboard-header {
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.task-board {
  background-color: #fff;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.task-card {
  background-color: #e9ecef;
  border-left: 5px solid #0d6efd;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
}

.task-card-header {
  color: #495057;
  font-weight: bold;
  margin-bottom: 5px;
}

.task-card-body {
  color: #6c757d;
}

.badge {
  margin-right: 5px;
}

.btn-manage {
  margin-right: 5px;
}

/* WELCOME USER */

.myprofile-container .card {
  border: none;
  border-radius: 10px;
  transition: box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  background-color: #edf2f4;
  min-height: 250px;
  margin-bottom: 25px;

}

.myprofile-container a {
  text-decoration: none;
}

.myprofile-container .card-img-top {
  height: 130px;
  width: auto;
  margin: 0 auto;
}

.myprofile-container .card-title {
  text-align: center;
  color: #000;
  margin-top: 0px;
  font-size: 20px;
}

.myprofile-container .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Equal width for all cards */
.myprofile-container .col {
  flex: 0 0 25%;
  max-width: 25%;
}

@media (max-width: 600px) {
  .myprofile-container .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Equal height for all cards in a row */
.myprofile-container .row-equal .card {
  height: 100%;
}

/* Media query for smaller screens to adjust the column width */
@media (max-width: 991px) {
  .col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }

  /* For extra small screens, make the cards full width */
  @media (max-width: 575px) {
    .col {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
}


.patient-module-container {
  position: relative;
}

/* Patient Navigation */
.navbar.navbar-patient {
  background-color: #f8f9fa !important;
}

.navbar-patient .navbar-nav .nav-link.active,
.navbar-patient .navbar-nav .nav-link:hover {
  color: #000 !important;
  font-weight: 400;
}

.navbar-patient .navbar-nav .nav-link {
  position: relative;
}

.navbar-patient .navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  bottom: 0;
  background-color: red;
  left: 0;
  display: none;
}

.navbar-patient .navbar-nav .nav-link.active:after,
.navbar-patient .navbar-nav .nav-link:hover:after {
  display: block;
}

.navbar-patient .navbar-nav .nav-link {
  color: black !important;
  margin-right: 20px;
  cursor: pointer !important;
}

.navbar-patient .expand-button,
.navbar-patient .mydetail-expand {
  display: none;
}

@media (min-width: 1000px) {
  .navbar-patient #navbarNav li {
    display: inline-block !important;
  }

  .navbar-patient #navbarNav li.mydetail-expand {
    display: none !important;
  }

  .nav-overlay {
    display: none !important;
  }
}

@media (max-width: 1000px) {
  .patient-module-container {
    padding-top: 20px;
  }

  .navbar.navbar-patient {
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2222;
  }

  .navbar-patient #navbarNav {
    width: 100%;
  }

  .navbar-patient #navbarNav li {
    text-align: left;
    border-bottom: 1px solid #edf2f4;
    cursor: pointer;
    padding: 5px 0;
    display: none;
  }

  .navbar-patient #navbarNav li:first-child {
    display: flex;
  }

  .navbar-patient .navbar-nav .nav-link.active,
  .navbar-patient .navbar-nav .nav-link:hover {
    border-bottom: none;
    cursor: pointer;
  }

  .navbar-patient #navbarNav li.hide-mb {
    display: none !important;
  }

  .mydetail-expand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
  }

  .mydetail-expand b.nav-link {
    font-weight: 400 !important;
  }

  .navbar-patient .expand-button {
    display: block !important;
    font-size: 26px;
    font-weight: 400;
    cursor: pointer;
  }
}


.patient-content-container {
  margin-bottom: 40px;
}

.patient-content-container .view-title {
  font-weight: 300;
  margin-bottom: 30px;
}

.patient-content-container .button-group {
  margin-top: 30px;
  margin-left: -10px;
}

/* CONSENT FORM */
.consent-form .form-check {
  margin-bottom: 30px;
}

.consent-form .form-check-label {
  padding-left: 10px;
}

.consent-form .form-check-input {
  width: 1.3em;
  height: 1.3em;
}


/* PATIENT NOTIFICATION */

.notification-preferences .row {
  border-bottom: 1px solid #e2e6e9;
  padding: 30px 0;
}


.notification-preferences .row b {
  font-size: 18px;
}

/* FORM CHECK TOGGLE */
.form-check-toggle {
  position: relative;
  padding-left: 0;
  line-height: 30px;
}

.form-check-toggle input {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 0%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}

.form-check-toggle input + span {
  cursor: pointer;
  user-select: none;
  height: 30px;
  margin-left: 70px;
  display: block;
}

.form-check-toggle input + span:before {
  content: '';
  position: absolute;
  left: 0;
  display: inline-block;
  height: 30px;
  width: 60px;
  background: #edf2f4;
  border: solid 1px #eff2f3;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
  border-radius: 15px;
}

.form-check-toggle input + span:after {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  margin-left: 1px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background: #fff;
  transition: margin-left 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  font-weight: bold;
  content: '';
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.05);
}

.form-check-toggle input:checked + span:after {
  content: '';
  margin-left: 31px;
  box-shadow: none;
}

.form-check-toggle input:checked + span:before {
  background-color: #198038;
  border-color: #198038;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.module-connect-body .row-margin {
  margin-bottom: 2rem;
}

.module-connect-body .card.card-custom {
  border: none;
  border-radius: 0;
}

.module-connect-body .card.card-custom .card-title,
.module-connect-body .card.card-custom .card-title a {
  color: #8f23b3;
  text-decoration: none;
}

.module-address-book-body .row-margin {
  margin-bottom: 2rem;
}

.module-address-book-body .contact-card {
  padding: 40px 30px;
  background-color: #edf2f4;
}

.module-address-book-body .contact-card .card-img-top {
  width: 60%;
}

.module-address-book-body .contact-card .icon-text {
  margin-bottom: 5px;
}

.module-address-book-body .contact-card .icon-text a {
  color: #8f23b3;
}

.module-tv-body .card-img-top,
.module-learn-body .card-img-top {
  margin-bottom: 10px;
}

.custom-card-list {
  margin-top: -40px;
}

.module-tv-body .custom-card:hover,
.module-learn-body .custom-card:hover {
  border: 1px solid #000;
  cursor: pointer;
}

.play-video-link {
  position: absolute;
  bottom: 20px;
  left: 20px;
}


.module-tv-body .custom-card-header,
.module-tv-body .card-body,
.module-learn-body .custom-card-header,
.module-learn-body .card-body {
  padding: 10px 20px;
}

.module-tv-body .card-body {
  padding-bottom: 20px;
}

.module-learn-body .custom-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
}

.module-learn-body .custom-card-header .resource-link-icon {
  color: #000;
}


.module-tv-body .list-title-section,
.module-learn-body .list-title-section {
  margin-top: 40px;
}

.module-tv-body .list-title-section h4,
.module-learn-body .list-title-section h4 {
  font-weight: 300;
}

.module-tv-body .custom-card,
.module-learn-body .custom-card {
  background-color: #edf2f4;
  position: relative;
  padding: 0 0 50px;
}

.module-tv-body .custom-card .card-tag,
.module-learn-body .custom-card .card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  background-color: #fff;
  border-radius: 10px;
  padding: 5px 10px;
}

.profile-success-status {
  display: none;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 90000;
}

.nav-overlay,
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.page-overlay {
  z-index: 10005;
}

.loading-spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #e1242a;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  margin: 0 auto 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#alert-success-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40000;
  width: 90%;
  max-width: 600px;
}

#alert-container {
  position: relative;
  bottom: 0;
  right: 0;
  z-index: 40000;
}

.alert {
  color: #fff;
  text-align: center;
  font-weight: 300;
  margin-top: 20px;
}

.alert .fa-xmark:hover {
  cursor: pointer;
}

.alert-success {
  background-color: #198038;
  border: 1px solid #198038;
  top: 100px;
}

.alert-danger {
  position: fixed;
  color: #721c24;
  top: 20px;
  right: 10px;
}

.treatment-table {
  margin-bottom: 60px;
}

.treatment-item-row-sample, .contact-item-row-sample {
  display: none;
}

.treatment-item-column {
  background-color: #edf2f4;
  padding: 20px;
  font-size: 14px;
  vertical-align: top;
}

.treatment-item-row, .contact-item-row {
  margin-bottom: 2px;
}

.remove-treatment, .contact-treatment {
  cursor: pointer;
}

.contact-item-row {
  background-color: #fff;
  border: 1px solid #81838a;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.contact-item-row .contact-detail {
  display: none;
}

@media (max-width: 600px) {
  .treatment-table .remove-text {
    display: none;
  }

  .treatment-table .treatment-image {
    margin-top: 10px;
  }
}

.contact-table {
  margin-bottom: 10px;
  border-spacing: 10px;
}

.contact-table td {
  padding: 15px;
}

.contact-table tr {
  border: 1px solid #000;
}


.contact-item-row-sample {
  display: none;
}

.contact-item-column {
  padding: 20px;
  font-size: 14px;
  vertical-align: top;
}

.remove-contact {
  cursor: pointer;
}

.default-page-section h1.pageTitle {
  background: none;
  color: #333;
  font-size: 34px;
  font-weight: 300;
  padding: 30px 0;
  border-bottom: 1px solid #e2e6e9;
  margin-bottom: 30px;
}

.default-page-section h3 {
  font-size: 25px;
}

.default-page-section h1,
.default-page-section h2,
.default-page-section h3,
.default-page-section h4,
.default-page-section h5 {
  color: #333;
  font-weight: 300;
}

.default-page-section {
  margin-bottom: 30px;
}

.contact-info {
  line-height: 1.5;
  color: #333;
}

.contact-info div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-info img {
  margin-right: 10px;
}

#registration-form {
  padding-bottom: 30px;
}

.form-title,
.patient-content-container .view-title {
  font-weight: 300;
  margin-bottom: 25px;
  color: #333;
}

.pwd {
  position: relative;
  width: 100%;
}

.pwd input {
  width: 100%;
}

.p-viewer {
  position: absolute;
  top: 7px;
  right: 10px;
}

.resource-access-msg {
  margin-bottom: 30px;
  text-align: center;
  background-color: #edf2f4;
  padding: 60px 40px;
}

.toolbar-anti-flicker.toolbar-loading.toolbar-fixed.toolbar-horizontal.toolbar-tray-open body {
  padding-top: 0;
}

@media (max-width: 1000px) {
  .illustration img {
    max-width: 100% !important;
    height: auto !important;
  }
}


.custom-select-wrapper {
  position: relative;
  display: block;
}

.custom-select-wrapper select {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 10px;
  outline: none;
  border: 1px solid #ccc;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

/* Custom arrow */
.custom-select-wrapper::after {
  font-family: 'FontAwesome', sans-serif;
  content: "\f078";
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: 0.75em;
  color: #353a3f;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.9;
}

.custom-select-wrapper.hide-arrow::after {
  content: none;
}

.address-filter-container {
  padding: 17px 0 1px;
  background-color: #edf2f4;
}

.address-filter-container .search-input {
  position: relative;
}

.address-filter-container .search-input .search-icon {
  position: absolute;
  top: 7px;
  left: 15px;
  z-index: 3;
}

.address-filter-container .search-input .search-field {
  padding-left: 40px;
}

.address-filter-container .search-input .btn-search {
  background-color: #8f23b3;
  font-weight: 300;
  padding: 5px 20px;
  color: #fff;
}

.address-filter-container .filter-buttons {
  text-align: right;
}

.address-filter-container .btn-filter {
  border: 1px solid #cdd1d6;
  border-radius: 20px;
  font-weight: 300;
  padding: 7px 25px;
  background-color: #fff;
}

.address-filter-container .btn-filter:hover {
  background-color: #f6f9f9;
  cursor: pointer;
}

.address-filter-container .button-item {
  display: inline-block;
}

.address-filter-container .button-item .dropdown-menu {
  padding-left: 10px;
}

.address-filter-container .button-item .dropdown-menu div {
  margin-top: 10px;
  margin-bottom: 0;
  margin-left: 5px;
}

.address-filter-container .button-item .dropdown-menu p label {
  font-weight: 300;

}

.address-filter-container .button-item .dropdown-menu .form-check-input:checked {
  background-color: #8f23b3;
  border-color: #8f23b3;
}

@media (max-width: 600px) {
  .address-filter-container {
    padding-bottom: 15px;
  }

  .address-filter-container .button-item {
    width: 47%;
    display: inline-block;
  }

  .address-filter-container .filter-buttons {
    text-align: left !important;
    display: flex;
    justify-content: space-between;
    align-items: center;

  }

  #registration-submit-btn,
  .btn-profile-submit,
  .btn-addcontact,
  .btn-deactivate {
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .patient-content-container .button-group {
    margin-top: 30px;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .patient-module-container {
    padding: 10px 10px;
  }
}

.module-program-body nav.navbar,
.module-program-body .pageTitle,
.module-program-enrol-body nav.navbar,
.module-program-enrol-body .pageTitle {
  background-color: #009fda;
}

.module-program-body #block-patient-content a,
.module-program-enrol-body #block-patient-content a {
  color: #009fda;
}


.program-list {
  margin-bottom: 5px;
}

.program-list .program-item {
  margin-bottom: 23px;
}

@media (max-width: 600px) {
  .module-program-body .list-title-section h4 {
    margin-top: 80px !important;
  }

  .program-list .program-item {
    margin-bottom: 20px;
  }

}

.program-list .program-item .program-content {
  position: relative;
  background-color: #edf2f4;
  padding: 20px 20px 150px 20px;
}

.program-list .program-item .title {
  font-size: 18px;
  font-weight: 400;
}

.program-list .program-item .button-group {
  position: absolute;
  bottom: 20px;
  left: 20px;
  margin-top: 10px;
}

.program-list .program-item .button-group a.btn.btn-program {
  background-color: #fff;
  border: 1px solid #009fda;
  color: #333;
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 13px;
}

.program-contact .contact-info {
  background-color: #edf2f4;
  padding: 30px 20px;
  margin-bottom: 5px;
}

.program-detail-item .program-detail-item-content {
  background-color: #edf2f4;
  padding: 40px 20px;
  margin-bottom: 5px;
}

.program-detail-item .program-detail-item-content .thumbnail {
  margin-bottom: 20px;
}

.program-detail-item .program-detail-item-content .description {
  font-size: 18px;
}

.program-detail-item a {
  text-decoration: none !important;
  color: #212529 !important;
}


.numberInputGroup {
  width: 300px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}

.numberInputGroup .value-button {
  display: inline-block;
  border: 1px solid #ddd;
  margin: 0px;
  width: 40px;
  height: 40px;
  text-align: center;
  vertical-align: middle;
  padding: 2px 0;
  background: #fff;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-size: 24px;
}

.numberInputGroup .value-button:hover {
  cursor: pointer;
}

.numberInputGroup .decrease {
  margin-right: -5px;
  border-radius: 15px 0 0 15px;
  height: 40px;
  margin-top: -4px;
  border-right: none;
}

.numberInputGroup .increase {
  margin-left: -4px;
  border-radius: 0 15px 15px 0;
  height: 40px;
  margin-top: -4px;
  border-left: none;
}

.numberInputGroup input.number {
  text-align: center;
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-right: none;
  border-left: none;
  margin: 0px;
  width: 40px;
  height: 40px;
}

.numberInputGroup input[type=number]::-webkit-inner-spin-button,
.numberInputGroup input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.module-program-body .info-message {
  border-left: 3px solid #0043ce;
  background-color: #e0ebff;
  padding: 20px 20px;
}

.module-program-body .info-message .b-icon {
  padding-right: 10px;
  padding-top: 5px;
  color: #0043ce;
}

.module-program-body .info-message .b-text {
  font-size: 16px;
}

@media (max-width: 600px) {
  .module-program-body .info-message {
    margin: 30px 0;
  }
}

.program-note-to-mi {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
}

.password-helper {
  color: #0c83b3;
  font-size: 16px;
}

#password-helper-modal .modal-dialog {
  max-width: 600px;
  margin-top: 8%;
  padding: 40px;
}

#block-bemi-footerbemiimage {
  padding: 0 40px;
}
.modal-header .close {
  padding: 1rem;
  margin: -1rem 0 -1rem auto;
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
}


.groups-card-landing-page .content-card-wrapper .header-card-wrapper {
  font-weight: 325 !important;
  font-size: 16px !important;
  line-height: 24px;
}

.groups-card-landing-page .description-group-card {
  font-weight: 325 !important;
  font-size: 16px !important;
  line-height: 24px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
  padding-right: 15px;
  padding-left: 15px;
}

.program-contact-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 24px 24px;
}

.program-phone-info {
  margin-bottom: 20px;
  background-image: url('../img/Phone.png');
}

.program-email-info {
  margin-bottom: 0;
  background-image: url('../img/E-mail.png');
}

.program-program-contact-info span {
  font-size: 16px;
  color: #333;
}

.group-card-landing-page {
  margin-top: 30px
}

.groups-card-landing-page.card-carousel .video-thumb {
  height: auto !important;
}

@media screen and (max-width: 768px) {
  .slick-prev {
    left: -17px !important;
    width: 35px;
  }

  .slick-next {
    right: -17px !important;
    width: 35px;
  }

  .alert-danger {
    left: 10px;
  }
}
