/*--------------------------------------
Sidebar
---------------------------------------*/

#sidebar {
  background-color: var(--Header);
  width: 270px;
  padding: 2rem 0rem 0rem 0rem;
}

[class*="sidebar-dark"] .brand-link {
  border: 0px;
}
.brand-link .brand-image {
  float: none;
  line-height: 0.8;
  margin-left: 0.8rem;
  margin-right: 0.5rem;
  margin-top: -3px;
  max-height: 33px;
  width: auto;
}
#sidebar .elevation-3 {
  box-shadow: none;
}
#sidebar .img-circle {
  border-radius: 0;
}
#sidebar .sidebar {
  height: calc(100% - (3.5rem + 1px));
  overflow-x: hidden;
  overflow-y: initial;
  padding-bottom: 0;
  padding-left: 0rem;
  padding-right: 0.5rem;
  padding-top: 0;
  scrollbar-color: #a9a9a9 transparent;
  scrollbar-width: none;
}
#sidebar .nav-pills .nav-link {
  width: 100%;
  margin-bottom: 0.7rem;
  padding-left: 0.7rem;
  border-radius: 0px;
}
#sidebar .nav-pills .nav-link:hover {
  background-color: var(--newprimary);
  border-left: 3px solid white;
  color: white;
}

.footer_widgets .img-fluid {
  width: 16rem;
}
.footer_widgets.type_two p {
  color: var(--primarylight);
  margin-bottom: 15px;
}
#sidebar p {
  color: white;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 30px;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
  font-family: "poppins", sans-serif;
}
#sidebar .nav-sidebar > .nav-item > .nav-link.active {
  box-shadow: none;
}
#sidebar .os-content {
  padding-right: 0px !important;
}
#sidebar a.nav-link.active {
  background-color: var(--newprimary);
  border-left: 3px solid white;
  color: white;
}
#sidebar i {
  margin-right: 0.7rem;
}
.mobile-logo {
  display: none;
}
.desktop-logo {
  display: inline-block;
}

/*-------------------------------
Dashbaord
-------------------------------*/
#smp-content .card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 0.5px solid var(--dashboardheader);
  border-radius: 8px;
  box-shadow: 0px 10px 40px #88888820;
  margin-bottom: 1rem;
}
#smp-content .content-header {
  font-size: 2rem;
}
#smp-content .card-body {
  padding: 2rem;
  border-radius: 8px;
}

.card-body .btn-outline-success {
  color: var(--newprimary);
  border-color: var(--newprimary);
}
.card-body .btn-outline-success:hover {
  color: white;
  border-color: var(--newprimary);
  background-color: var(--newprimary);
}
#smp-content .card-body .btn-outline-success:active {
  color: white;
  border-color: var(--newprimary);
  background-color: var(--newprimary);
}
#smp-dashboard .card .card-title {
  font-size: 0.9rem;
  font-weight: 500;
}
#smp-dashboard .card .card-body span {
  font-size: 0.8rem;
  color: var(--footer);
}
#smp-dashboard .card a {
  font-size: 0.9rem;
}
#smp-content .breadcrumb,
#smp-dashboard .breadcrumb {
  font-size: 0.75rem;
}
#smp-dashboard table tr th {
  font-size: 0.9rem;
  font-weight: 500;
}
#smp-dashboard table tbody tr td {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--footer);
}
button.swal2-confirm.swal2-styled {
  background-color: var(--newprimary);
}
button.swal2-confirm.swal2-styled:focus {
  box-shadow: 0 0 0 3px var(--newprimary);
}

#data-stats .data-card-top {
  background-color: #fff;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-top: 0.5px solid var(--dashboardheader);
  border-left: 0.5px solid var(--dashboardheader);
  border-right: 0.5px solid var(--dashboardheader);
  position: relative;
  padding: 1rem;
}
#data-stats .data-card-bottom {
  background-color: #fff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 0.5px solid var(--dashboardheader);
  border-left: 0.5px solid var(--dashboardheader);
  border-right: 0.5px solid var(--dashboardheader);
  position: relative;
  padding: 0rem 1rem 1rem 1rem;
}
#data-stats .stats-icon {
  width: 2rem;
}
#data-stats .stat-value {
  font-weight: 600;
  color: var(--newprimary);
  text-align: right;
  font-size: 1.7rem;
}
#data-stats .stat-title {
  font-weight: 500;
  color: var(--ngrey);
  text-align: right;
  font-size: 0.85rem;
}
#data-stats .data-card-bottom span {
  font-weight: 400;
  color: var(--ngrey);
  text-align: left;
  font-size: 0.7rem;
  margin-left: 0.6rem;
  color: var(--footer);
}
#graph-stats .graph-card {
  background-color: #fff;
  border-radius: 4px;
  border: 0.5px solid var(--dashboardheader);
  position: relative;
  padding: 1rem;
  margin-top: 2rem;
}
#graph-stats .stats-graph img {
  width: 100%;
  margin-top: 3rem;
}
#graph-stats .stats-title {
  width: 40%;
  font-weight: 500;
  font-size: 0.85rem;
}
#graph-stats .chart-key {
  width: 60%;
  font-weight: 400;
  font-size: 0.7rem;
  text-align: end;
}
#graph-stats .chart-key span {
  color: var(--ngrey);
  margin-left: 0.5rem;
}
#graph-stats .key-1 i {
  color: var(--newprimary);
}
#graph-stats .key-2 i {
  color: var(--nyellow);
}
#dtable {
  background-color: #fff;
  border-radius: 4px;
  border: 0.5px solid var(--dashboardheader);
  position: relative;
  padding: 1rem;
  margin-top: 2rem;
}
#smp-dashboard .content-header h1 {
  font-size: 1.5rem;
}

/*--------------------------------------
Navbar
---------------------------------------*/
#navbar {
  background-color: var(--dashboardheader);
  border-bottom: 1px solid #dee2e6;
}
#navbar a {
  color: var(--newprimary);
}
#sidebar .nav-item {
  font-size: 0.9rem;
}
#sidebar .menu-items {
  margin-top: 3rem;
}
.mobile-menu {
  display: none;
}
#navbarnav a.active {
  border-bottom: 4px solid #fff;
  color: #fff;
}

#navbarnav a {
  color: #fff !important;
}

.color-black {
  color: #000 !important;
}
#header-icons i.far.fa-comments,
#header-icons i.far.fa-bell {
  color: var(--footer);
  font-size: 1.2rem;
}
#header-icons a.nav-link,
#header-icons i.far.fa-bell {
  margin-left: 0.5rem;
}
#header-icons .badge {
  margin-right: 0.9rem;
  margin-top: -0.6rem;
  font-size: 0.6rem;
  font-weight: 400;
  border-radius: 50%;
  padding: 0.3rem;
}
#header-icons .nav-link {
  padding: 0.5rem;
}
#menu a.nav-link {
  color: var(--ngrey);
  padding: 0px;
  display: block;
  font-family: "poppins", sans-serif;
  position: relative;
  transition: 0.3s;
  font-size: 14px;
  cursor: pointer;
  font-weight: 400;
  margin-left: 1rem;
  display: none;
}
#header-icons .dropdown-menu {
  min-width: 200px;
  font-size: 0.75rem;
}
@media (min-width: 767px) {
  #header-icons .dropdown-menu {
    width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 0.8rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px 1px 20px solid #74747415;
    border-radius: 0.25rem;
  }
}
#header-icons .badge-warning {
  background-color: var(--notification);
}
#header-icons .badge-danger {
  background-color: var(--notification);
}
#menu .nav-link {
  height: 1.7rem;
}

.nav > .nav-btn {
  display: none;
}
#menu .nav-link {
  display: none;
}

/*--------------------------------------
Content
---------------------------------------*/
#new-patient,
#smp-footer,
nav#navbar,
#smp-dashboard,
#smp-content {
  margin-left: 270px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border: 0px;
}
nav#navbar {
  padding-top: 1.2rem;
}
#smp-dashboard,
#smp-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  height: auto;
}

#smp-content .content-title {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--Header);
}
#smp-content .breadcrumb {
  font-size: 0.8rem;
  color: var(--Header);
}
#smp-dashboard a,
#smp-content a {
  color: var(--newprimary);
}
#smp-content .ngx-pagination .current {
  background-color: var(--newprimary);
}
#smp-content pagination-controls {
  font-size: 0.8rem;
}

/*--------------------------------------
Form
---------------------------------------*/
#smp-form label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--footer);
}

#smp-form input {
  height: 2.2rem;
  font-size: 0.85rem;
  line-height: 3rem;
  border-radius: 4px;
  border: 0.5px solid var(--border);
  color: var(--ngrey);
}
#smp-form select {
  color: var(--ngrey);
  height: 2.2rem;
  font-size: 0.85rem;
  border-radius: 4px;
  border: 0.5px solid var(--border);
}

/*option[value=""][disabled] {
    display: none;
  }
#smp-form option:not(:first-of-type){
    color: var(--ngrey);
  }*/
#smp-form input[type="date"] {
  color: var(--ngrey);
}
#smp-form input#gridCheck {
  height: 1rem;
  font-size: 0.9rem;
  line-height: 3rem;
  border-radius: 4px;
  border: 0.5px solid var(--border);
}
#smp-form input::placeholder {
  color: var(--ngrey);
}
#smp-form .form-group.col-md-4 {
  padding-left: 8px;
  padding-right: 8px;
}
#smp-form button {
  margin-left: 0px;
  margin-right: 1rem;
}
#smp-form .input-group-append i {
  margin: auto;
  padding: 0.5rem;
  background-color: var(--tableheader);
  border-top: 0.5px solid;
  border-right: 0.5px solid;
  border-bottom: 0.5px solid;
  border-radius: 4px;
  border-color: var(--border);
  color: var(--Header);
}
#smp-content .smp-button {
  background-color: var(--newprimary);
  border: none;
  padding: 0.5rem 2rem 0.5rem 2rem;
  font-size: 0.8rem;
}
#smp-content .smp-button-clear {
  background-color: var(--border);
  border: none;
  padding: 0.5rem 1rem 0.5rem 1rem;
  display: inline;
  font-size: 0.8rem;
}
#smp-content .smp-button:hover {
  background-color: var(--primarydark);
  border: none;
  padding: 0.5rem 2rem 0.5rem 2rem;
}
#smp-footer {
  font-size: 0.8rem;
  font-weight: 300;
  background-color: whitesmoke;
  text-align: center;
}
#smp-footer a {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--newprimary);
}
#smp-form td.available.active.end-date.in-range,
#smp-form td.available.active.start-date {
  background-color: var(--newprimary);
}
#range button {
  background-color: var(--newprimary);
  box-shadow: none;
}

/*-------------------------------
Table
------------------------------*/
#example2 thead th {
  background-color: var(--tableheader);
  border: 0px solid;
  line-height: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--footer);
  padding-left: 1.5rem;
}
#example2 tbody {
  border: 0px solid;
}
#example2 tr th,
#example2 tr td {
  border: 0px solid;
}
#example2 tbody tr {
  border: 0.5px solid var(--tbody);
  line-height: 1rem;
}
#example2 tbody tr td {
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--footer);
  height: 2rem;
  vertical-align: middle;
}
#example2 #partial {
  background-color: #ff910020;
  color: #ff9100;
  padding: 0.2rem 1rem 0.2rem 1rem;
  border-radius: 100px;
}
#example2 #full {
  background-color: #3abb1b20;
  color: #3abb1b;
  padding: 0.2rem 1rem 0.2rem 1rem;
  border-radius: 100px;
}
#example2 #unsettled {
  background-color: #dc000020;
  color: #dc0000;
  padding: 0.2rem 1rem 0.2rem 1rem;
  border-radius: 100px;
}
#smp-content #page_info {
  font-size: 0.8rem;
  color: var(--footer);
}
/* #show-entries {
  font-size: 0.8rem;
} */

/* Custom List */
.c-list-icon-block {
  display: inline-flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
}

.c-list-icon-block div:first-child {
  width: 47px;
  height: 47px;
}

.c-list-icon-block div:last-child {
  width: 290px;
  display: block;
  text-align: left;
  margin-left: 20px;
}

.c-list-description {
  padding-left: 47px;
}

.c-list-description > div {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  -webkit-box-pack: justify;
  justify-content: space-between;
}
.c-list-description > div .c-list-description-section {
  display: flex;
  flex-direction: column;
  flex: 0 1 100%;
  margin-bottom: 32px;
  word-break: break-word;
}

.c-list-description-title {
  -webkit-box-align: center;
  align-items: center;
  display: inline-flex;
  min-height: 26px;
  margin: 0px;
  font-size: 14px;
  line-height: 16px;
  height: 40px;
  width: 100%;
  font-weight: 700;
  color: rgb(55, 81, 126);
}
.section-date {
  height: 30px;
  background: #f5f5f5;
  margin: 0 auto;
  padding: 6px 21px;
  font-size: 14px;
  font-weight: 600;
}
.transactions-header {
  padding: 20px 20px;
}

.grouped-date {
  margin: 3px 18px;
}

.c-list-text-special-left {
  -webkit-box-align: center;
  align-items: center;
  display: inline-flex;
  min-height: 26px;
  margin: 0;
  font-size: 14px;
  line-height: 16px;
  width: 40%;
}

.c-list-text-special-right {
  -webkit-box-align: center;
  align-items: center;
  display: inline-flex;
  min-height: 26px;
  margin: 0px;
  font-size: 14px;
  line-height: 16px;
  width: 60%;
  text-align: right;
  -webkit-box-pack: end;
  justify-content: flex-end;
}

.c-list-text-special-rate {
  margin-right: 4px;
  font-size: 14px;
  text-align: right;
  line-height: 16px;
}

.c-list-hr-line {
  border: 1px dashed rgb(226, 230, 232);
  margin: 12px auto 24px;
}

.c-list-text-gets {
  -webkit-box-align: center;
  align-items: center;
  display: inline-flex;
  min-height: 26px;
  margin: 0px;
  font-size: 14px;
  line-height: 16px;
  width: 50%;
  text-align: right;
  -webkit-box-pack: end;
  justify-content: flex-end;
  font-weight: 700;
}

.c-list-text-block {
  float: right;
  display: grid;
  align-content: space-evenly;
  justify-content: space-between;
  align-items: stretch;
  justify-items: end;
  margin-top: 10px;
  margin-right: 20px;
}
.text-p {
  color: var(--newprimary) !important;
}
.img-box {
  position: relative;
  background-color: var(--gray);
  border: 1px solid var(--gray);
  border-radius: 4px;
}

.img-box-sm {
  width: 100%;
  height: 150px;
}

.width-99 {
  width: 99%;
}
#header-icons .img-circle {
  z-index: 5;
  height: 50px;
  width: 50px;
  border: 3px solid;
  border-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
  height: 60px;
  padding: 10px;
  text-align: center;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-name {
  height: 50px;
  padding: 5px;
  text-align: center;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-role {
  height: 50px;
  padding: 5px;
  text-align: center;
}
.border-bottom-card {
  border-bottom: 0.25rem solid var(--newprimary) !important;
}
