html {
    margin: 0;
    padding: 0;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*::-webkit-scrollbar {
    display: none;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #212121;
    background-color: #F4F7FA;
}


/* input, select {
	-webkit-appearance: none !important;
	appearance: none !important;
} */

input, select, textarea {
    border: 1px solid rgba(184, 192, 197, 1);
    padding: 3px 12px;
    border-radius: 8px;
    color: #212121;
}

input:focus, select:focus, textarea:focus {
  border: 1px solid #43BE97;
  box-shadow: none !important;
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
  border: 1px solid #43BE97 ;
  outline-color: #43BE97;
  box-shadow: none !important;
}

button:focus-visible, button:focus {
  outline-color: #43BE97;
}

input:disabled, select:disabled, textarea:disabled {
  background: #E9E9E9;
  border: 1px solid #B8C0C5;
  color: #212121;
}

.form-control {
  border-color:#E5EBF2 !important;
  border-radius: 8px ;
  color: #212121 !important;
}
 
.form-control:focus {
  border-color: #43BE97 !important;
}

textarea[type=search] {
  border: 0;
  background-color: transparent;
  &:focus, &:focus-visible {
    border: 0;
    outline: 0 ;
  }

}

.marginleft-5 {
    margin-left: 5px;
}

/* Hide the steppers for number input fields */
input[type=number].no-spinners {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

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

input[type='checkbox']:checked {
  background-color: #43BE97;
}
input[type='checkbox']:checked:after {
  content: '\2713';
  color: #43BE97;
  width: 16px !important;
  height: 16px !important;
}
input[type='checkbox']{
  width: 16px !important;
  height: 16px !important;
  appearance:none;
  padding: 0px !important;
  border-radius: 4px !important;
  border: 1px solid #E9E9E9;
  box-shadow: none;
}

hr {
  border-color: #E9E9E9 !important;
}

.modal-content {
  border-radius: 8px !important;
}

.modal-footer {
 border-color: #E9E9E9 !important;
}
.rounded {
  border-radius: 8px !important;
}

.border {
  border: 1px solid #E9E9E9;
}

.select2-container--default .select2-selection--multiple {
  border-radius: 8px !important;
  border: 1px solid #B8C0C5 !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #fff!important;
  border: 1px solid #43BE97 !important;
  color: #212121 !important;
  border-radius: 8px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #43BE97 !important;
  border-right: 1px solid #43BE97 !important;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
  background-color: transparent !important;

}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

::placeholder {
    color: #b8b8b8 !important
}

.color-primary {
    color: #43BE97 !important;
}

.color-second {
    color: #555555 !important;
}

.color-default {
    color: #777777 !important;
}

.cursor-auto {
    cursor: auto !important;
}

.text-transparent {
    color: transparent !important;
}

a {
  text-decoration: none !important;
}

header {
    z-index: 3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background-color: #fff;
    /* border-bottom: 1px solid #ccc; */
    /* box-shadow: 0 0px 11px -1px rgba(0, 0, 0, 0.2); */
    box-shadow: 0px 4px 16px rgba(144,164,174,.15);
}

header.patient-header {
  z-index: 15;
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  min-height: 60px;
  height: fit-content;
  padding: 6px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 0px 11px -1px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {  
    header.patient-header {
        flex-direction: column;
    }
}

.patient-header .patient-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 12px;
  padding-left: 6px;
  align-items: center;
  width: inherit;
}

.patient-header .timeline-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 12px;
  /* padding-left: 6px; */
  align-items: center;
  width: inherit;
  justify-content: start;
}

@media screen and (max-width: 1024px) {
  .patient-header .timeline-wrapper {
    align-items: baseline;
  }
  
}

.justify-end {
    justify-content: end;
}

.patient-header .back-wrapper {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

header.patient-header .tags-array {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: flex-start;
  font-weight: 700;
  font-size: .75rem;
  line-height: 1rem;
  flex-wrap: wrap;
}

.search-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.patient-header .tags-array .patient-casetags_arr {
  padding: 0 6px;
  background-color: #E9E9E9;
  color: #616161;
  border-radius: 4px;
}

.patient-header .tags-array .patient-tags_arr {
  padding: 0 3px;
  background-color: #EAF8F1;
  color: #006428;
  border-radius: 4px;
}

header .back-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
}

header .back-box .back-icon {
    width: 40px;
    height: 40px;
    color: #7e95b8;
    font-size: 21px;
    line-height: 37px;
    text-align: center;
    letter-spacing: 3px;
    border-radius: 7px;
}

header .patient-details {
    height: 100%;
    display: flex;
    flex: unset !important;
}

header .avatar {
  width: 50px !important;
  margin-left: -10px;
  margin-right: 8px !important;
}

header .avatar img {
    min-width: 50px;
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: 5px 10px 5px 5px;
    border-radius: 50%;
    box-shadow: 0 3px 13px -2px rgb(0 0 0 / 30%);
}

header .patient-details .data {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    flex-basis: content;
    justify-content: start;
    white-space: nowrap;
}

header .patient-details .data .name-wrap {
    display: flex;
    flex-direction: column;
    margin-right: 8px;
}

header .patient-details .data span.name-hiragana {
    font-size: 12px;
    line-height: 1;
}

header .patient-details .data .name {
    color: #212121;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 2px 0 0 0;
    display: flex;
    align-items: flex-end;
}

header .patient-details .data .name .icon {
    color: #7e95b8;
    font-size: 16px;
    line-height: 24px;
    vertical-align: top;
    cursor: pointer;
    margin-top: 4px;
}

header .patient-details .data .number {
    color: #616161;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

header .patient-details .data .number .age {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 0 3px;
}

header .patient-details .data .number .gender {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    margin-left: 7px;
}

header .patient-details .data .number .icon {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    vertical-align: top;
    cursor: pointer;
}

header .timeline {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 5px 5px 0;
}

header .timeline-inner {
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: center;
}

header .timeline .timeline-bar {
    position: relative;
    width: 100%;
    height: 9px;
    border-radius: 9px;
    background-color: rgba(233, 233, 233, 1);
  }

header .timeline .timeline-bar .inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 9px;
    border-radius: 9px;
    background-color: #43BE97;
}

header .timeline .dates {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	font-size: 10px;
	line-height: 17.5px;
  font-weight: 400;
	word-break: keep-all;
}

header .timeline .dates .start {
    text-align: left;
    margin: 0 5px 0 0;
}

header .timeline .dates .period {
    text-align: center;
    margin: 0;
}

header .timeline .dates .end {
    text-align: right;
    margin: 0 0 0 5px;
}

header .header-menu {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    word-break: keep-all;
    margin-right: 10px;
    overflow-x: auto;
    margin-left: -10px;
}

header .header-menu .header-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

header .header-menu .menu-item {
    display: flex;
    align-items: center;
    position: relative;
    color: #777777;
    font-size: 13px;
    font-weight: 500;
    margin: 0 2px;
    /* padding: 5px 30px; */
    /* background-color: #fff; */
    text-decoration: none;
}

header.patient-header .header-menu .menu-item {
    padding: 5px 9px;
}

header .header-menu .menu-item.active,
header .header-menu .menu-item:hover {
    background-color: #e5ebf2;
}

header .header-menu .menu-btn {
    width: 27px;
    height: 27px;
    color: #7e95b8;
    font-size: 14px;
    text-align: center;
    line-height: 25px;
    margin-left: 2px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #7e95b8;
}

header .header-menu .menu-btn:hover {
    background-color: #e5ebf2;
}

header .header-menu .menu-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e7e7e7;
    cursor: pointer;
}

header .header-menu .menu-dropdown:has(#saleSettingsNavBar) {
  border: 0;
  padding-left: 10px;
}

header .header-menu .menu-dropdown .title,
header .header-menu .menu-dropdown .dropdown-item {
    color: #212121;
    font-size: 14px;
    font-weight: 700;
    line-height: 24.5px;
    padding: 10px;
    padding-right: 16px;
    text-align: center;
    flex-direction: row;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

header .header-menu .menu-dropdown .dropdown-item + .dropdown-item {
  border-top: 1px solid #E9E9E9;
}

header .header-menu .menu-dropdown .toggle {
    font-size: 15pt;
    line-height: 15pt;
    margin-left: 10px;
}

header .dropdown-menu .dropdown-menu-link {
    display: none;
}

header .header-control {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin-left: 10px;
    border-left: 1px solid #cae0de;
}

header .header-control .user-name,
header .profile-name {
    font-size: 13px;
    margin: 0 10px 0 0;
    border-right: 1px solid #cae0de;
    white-space: nowrap;
    overflow: hidden;
    width: 100px;
    text-overflow: ellipsis;
}

header .header-control .nav-link {
    padding: 0;
    outline: none;
    cursor: pointer;
}

header .header-control .nav-link .signout,
.header-profile .profile-control .nav-link .signout {
    color: #7e95b8;
    font-size: 15pt;
    line-height: 30px;
}

header .header-control .nav-link:hover .signout,
.header-profile .profile-control .nav-link:hover .signout {
    color: #34588f;
}

header.patient-header .search .search-input {
    min-width: 12em;
    max-width: 180px;
    color: #484848;
    font-size: 14px;
    line-height: 1em;
    padding: 0.5em 0.75em;
    outline: none;
    border-radius: 5px;
    border: 1px solid rgba(184, 192, 197, 1);
    height: 42px;
}

header.patient-header .search .search-input:focus {
    border: 1px solid #43BE97;
}

/* DayList Header */

header.daylist-header {
  padding: 8px 20px;
}

header.daylist-header .header-menu .menu-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
    height: 100%;
    margin: 0;
    border: 0 !important;
}

header.daylist-header .header-menu .menu-item {}

header.daylist-header .header-menu .menu-item .title,
header.daylist-header .header-menu .menu-request .title {
    color: #212121;
    font-size: 14px;
    font-weight: 700;
    line-height: 24.5px;
    text-decoration: none;
}

header.daylist-header .header-menu .menu-item .badge,
header.daylist-header .header-menu .menu-request .badge {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 2px;
    height: 20px;
    color: #fff;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    background-color: #ED5757;
    padding: 0 4px 0 4px;
    border-radius: 9999px;
}

header.daylist-header .search {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

header.daylist-header .search .search-input {
    min-width: 215px;
    color: #484848;
    font-size: 14px;
    height: 42px;
    line-height: 1em;
    padding: 0.5em 0.75em;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
}

header.daylist-header .header-profile {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding-left: 10px;
    gap: 20px;
}

header.daylist-header .header-profile .profile-name {
    font-size: 13px;
    border-right: 1px solid #cae0de;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

header.daylist-header .header-profile .profile-name.admin {
    color: #7e95b8;
}

header.daylist-header .header-profile .profile-control {
    display: flex;
    align-items: center;
}

header.daylist-header .header-profile .profile-control .nav-link {
    padding: 0;
    border: 0;
    outline: none;
    cursor: pointer;
}

header.daylist-header .dropdown-toggle::after {
  content: none;
}

header.daylist-header .header-profile .profile-control {
    display: flex;
    align-items: center;
}

/* header.daylist-header .header-profile .profile-control-custom {
    margin-right: 10px;
    padding-right: 10px;
} */

header.daylist-header .header-profile .profile-control img {
    width: 24px;
    font-weight: 700;
}


/* Dropdown selection style */

.sma-dropdown {
    font-size: 16px;
    padding: 4px 20px 4px 10px;
    border-radius: 8px;
    border: 1px solid #e5ebf2;
    color: #212121;
    min-width: 150px;
}


/* - - DayList Header END -- */


/* Patient Header */

header.patient-header .header-menu .menu-item {
    border-radius: 2em;
}


/* Patient Header END*/


/* Slider Common */

.slideout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(62, 95, 145, 0.6);
}

.slideout-modal th.datetime-col {
    width: 120px;
}

.slideout-modal th.detail-col {
    width: 215px;
}

.slideout-modal th.action-col {
    width: 20px;
}

.slideout-modal.show-modal {
    display: block;
}

.slideout-modal .btn-edit-appointment {
    font-size: 1rem;
    margin-right: 5px;
    color: #7E95B8;
}

.patient-slideout {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100dvw;
    max-width: 700px;
    background-color: #fff;
    box-shadow: -5px 0 31px 0 rgba(0, 0, 0, 1);
    transition: transform 0.3s;
    transform: translate(110%, 0);
}

.patient-slideout .px-5 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.patient-slideout .py-2\.5 {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
}

.patient-slideout .px-\[18px\] {
    padding-left: 1.125rem !important;
    padding-right: 1.125rem !important;
}

.patient-slideout .border-black-main {
    border: 1px solid #212121 !important;
}
.patient-slideout .border-blue-sub {
    border: 1px solid #204151 !important;
}

.patient-slideout .rounded-lg {
  border-radius: .5rem !important;
}

.patientlist-slideout-wrapper .patient-slideout {
    top: 125px;
}

.patient-slideout.show-slideout {
    transform: translate(0, 0);
    overflow-y: scroll;
}

.patient-slideout {
    overflow: auto;
    scrollbar-color: #000000 #cccccc;
    scrollbar-width: none;
}

.patient-slideout::-webkit-scrollbar {
    display: block;
    width: 10px;
}

.patient-slideout::-webkit-scrollbar-thumb {
    background: #cccccc;
}

.patient-slideout::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.patient-slideout .closer {
    z-index: 999;
    position: absolute;
    top: 12px;
    right: 2em;
    color: #204151;
    cursor: pointer;
}

.patient-slideout .closer .outer {
    position: absolute;
    top: 0;
    left: 50%;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
    transform: translate(-50%, 0);
}

.patient-slideout .closer .inner {
    position: absolute;
    top: 0;
    left: 50%;
    font-size: 13pt;
    line-height: 30px;
    text-align: center;
    transform: translate(-50%, 0);
    z-index: 999;
    color: #FFFFFF;
}

.patient-slideout .slideout-body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* padding: 10px; */
    overflow-y: auto;
    padding-bottom: 200px;
}

.patient-slideout .slideout-body .slideout-heading {
    display: flex;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184,192,197,1);
}

.patient-slideout .slideout-body .slideout-heading .avatar {
    flex: 0 0 80px;
    margin-right: 20px;
}

.patient-slideout .slideout-body .slideout-heading .avatar .avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.patient-slideout .slideout-body .slideout-heading .heading-info {
    flex: 1 0 10px;
}

.patient-slideout .slideout-body .slideout-heading .heading-info .patient-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}


/* THIS WAS COMMENTED OUT */

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100px;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left {
    margin: 0 20px 10px 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #7E95B8;
    margin-bottom: 10px;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .top .patient-id {
    font-size: 12pt;
    line-height: 12pt;
    margin: 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .top .clone {
    font-size: 10pt;
    line-height: 10pt;
    margin: 0 10px 0 5px;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .top .patient-age {
    font-size: 10pt;
    line-height: 10pt;
    margin: 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .top .patient-gender {
    font-size: 10pt;
    line-height: 10pt;
    margin: 0;
    margin-left: 10px;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .top .years {
    font-size: 10pt;
    line-height: 10pt;
    margin: 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .bottom {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .bottom .patient-name-wrap {
    display: flex;
    flex-direction: column;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .bottom .patient-name-hiragana {
    margin-bottom: 2px;
    font-size: 0.6rem;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .bottom .patient-name {
    color: #555;
    font-size: 18pt;
    line-height: 18pt;
    margin: 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .left .bottom .clone {
    color: #7E95B8;
    font-size: 9pt;
    line-height: 9pt;
    margin-left: 5px;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .right {
    color: #777;
    font-size: 10pt;
    margin: 0 0 10px 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .right .address-postcode {
    margin: 0;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .right .address-postcode .icon {
    width: 18px;
    font-size: 18px;
    line-height: 18px;
    text-align: right;
}

.patient-slideout .slideout-body .slideout-heading .patient-row .patient-info .right .address-street {
    margin: 0 0 0 16pt;
}

.patient-slideout .slideout-body .slideout-heading .info-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

.patient-slideout .slideout-body .slideout-heading .info-btn-row .info-link {
    text-decoration: none;
}

.patient-slideout .slideout-body .slideout-heading .info-btn-row .info-btn {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7E95B8;
    font-size: 10pt;
    line-height: 1.4em;
    text-align: center;
    padding: 2px 10px 0 10px;
    margin: 0 10px 10px 0;
    border-radius: 5px;
    border: 1px solid rgba(184,192,197,1);
}

.patient-slideout .slideout-title {
    color: #555;
    font-size: 11pt;
    font-weight: 700;
    line-height: 1.5em;
    margin-bottom: 10px;
}

.patient-slideout .slideout-body .slideout-appointments {
    padding: 10px 0;
    border-bottom: 1px solid #7E95B8;
}

.patient-slideout .slideout-body .slideout-appointments p {
    margin-bottom: 0;
}

.patient-slideout .slideout-body .slideout-appointments tr.temporary {
    background-color: #FEFEBF;
}

.patient-slideout .slideout-body .slideout-appointments tr.temporary .temporary-labe {
    color: red;
}

.patient-slideout .slideout-body .slideout-appointments .btn-edit-appointment:hover {
    text-decoration: underline;
    cursor: pointer;
}

.patient-slideout .slideout-body .slideout-appointments .common-table td {
    white-space: unset;
}

.patient-slideout .slideout-body .slideout-appointments .common-table td .info {
    cursor: pointer;
    text-decoration: underline;
}

.patient-slideout .slideout-body .common-table {
    width: 100%;
    color: #555;
    font-size: 10pt;
    margin-bottom: 20px;
}

.patient-slideout .slideout-body .common-table th {
    font-weight: 700;
    padding: 0 0.5em;
}

.patient-slideout .slideout-body .common-table td {
    font-weight: 500;
    padding: 0.75em 0.75em;
    vertical-align: top;
    white-space: nowrap;
    border-bottom: 1px solid #c1cad5;
}

.patient-slideout .slideout-body .common-table td.wrap {
    white-space: normal;
}

.patient-slideout .slideout-body .common-table tr.canceled td {
    color: #aaa;
    text-decoration: line-through;
}

.patient-slideout .slideout-body .common-table td .cal-icon {
    color: #7E95B8;
    margin-right: 0.5em;
}

.patient-slideout .slideout-body .common-table.no-foot {
    margin-bottom: 0;
}

.patient-slideout .slideout-body .common-table.no-foot tr:last-child td {
    border-bottom: none;
}

.patient-slideout .slideout-body .slideout-appointments .add-appointment .plus {
    margin-right: 0.5em;
}

.patient-slideout .slideout-body .slideout-appointments .add-appointment:hover {
    opacity: 0.7;
}

.patient-slideout .slideout-body .slideout-inquiries {
    padding: 10px 0;
    border-bottom: 1px solid #7E95B8;
}

.patient-slideout .slideout-body .slideout-inquiries .inquiry-date {
    white-space: unset;
    width: 110px;
}

.patient-slideout .slideout-body .slideout-notices {
    padding: 10px 0;
    border-bottom: 1px solid #7E95B8;
}

.patient-slideout .slideout-body .slideout-notices .notice-date {
    white-space: unset;
    width: 110px;
}

.patient-slideout .slideout-body .slideout-externals {
    padding: 10px 0;
    border-bottom: 1px solid #7E95B8;
}

.patient-slideout .slideout-body .slideout-externals .external-links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

.patient-slideout .slideout-body .slideout-externals .external-links .external-link {
    flex: 0 0 48%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    color: #7E95B8;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3em;
    margin-right: 2%;
    padding: 0.75em 0 0.25em 0;
    border-bottom: 1px solid #7E95B8;
}

.patient-slideout .slideout-body .slideout-treatment-type {
    padding-top: 10px;
}

.patient-slideout .slideout-body .slideout-treatment-type .data-label {
    margin-right: 20px;
    font-size: 15px;
    font-weight: 700;
}

.patient-slideout .slideout-body .slideout-treatment-type .data-value {
    font-size: 15px;
}

.patient-slideout .slideout-body .slideout-details {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #7E95B8;
}

.patient-slideout .slideout-body .slideout-details .details {
    flex: 0 0 49%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.patient-slideout .slideout-body .slideout-details .details .details-content {
    width: 100%;
    flex: 1 0 auto;
    padding: 15px;
    background-color: #E5EBF2;
}

.patient-slideout .slideout-body .slideout-details .details .details-content .details-item {
    color: #555;
    font-size: 10pt;
    font-weight: 500;
    line-height: 1.4em;
    margin: 0;
}

.patient-slideout .slideout-body .slideout-details .details .time-line {
    position: relative;
    padding: 30px 0 0 0;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line {
    width: 100%;
    height: 7px;
    border-radius: 5px;
    background-color: #fff;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .fill {
    width: 50%;
    height: 7px;
    border-radius: 5px;
    background-color: #3E5F91;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer {
    position: absolute;
    top: -0.3em;
    font-size: 9pt;
    padding: 0.25em 0.75em;
    border-radius: 3px;
    color: #3E5F91;
    background-color: #fff;
    border: 1px solid #3E5F91;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer.left {
    left: 0;
    transform: translate(0, 0);
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer {
    left: 50%;
    transform: translate(-50%, 0);
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer.right {
    left: 100%;
    transform: translate(-100%, 0);
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer .arrow {
    position: absolute;
    bottom: -5px;
    border-top: 5px solid #3E5F91;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer.left .arrow {
    left: 3px;
    transform: translate(0, 0);
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer .arrow {
    left: 50%;
    transform: translate(-50%, 0);
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer.right .arrow {
    left: 100%;
    transform: translate(-13px, 0);
}

.patient-slideout .slideout-body .slideout-details .details .time-line .line .pointer .label {
    color: #3E5F91;
    font-size: 9pt;
    font-weight: 500;
    line-height: 1em;
    white-space: nowrap;
    padding: 0.1em 0.5em;
    margin: 0;
    padding: 0;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .labels {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .labels .label {
    font-size: 9pt;
    line-height: 1.3em;
    margin-top: 5px;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .labels .start {
    text-align: left;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .labels .middle {
    text-align: center;
}

.patient-slideout .slideout-body .slideout-details .details .time-line .labels .end {
    text-align: right;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment,
.patient-slideout .slideout-body .sales-order-patient-sub-link {
    border-bottom: 1px solid #707070;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .bg-btn-sales-debt-book-installment-payment {
    background: #FDFFBF;
    padding: 0 15px;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .bg-btn-sales-debt-book-installment-payment .text-sub-noti {
    font: normal normal bold 10px/27px Noto Sans JP;
    letter-spacing: 0px;
    color: #ED0000;
    margin-right: 10px;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .bg-btn-sales-debt-book-installment-payment a,
.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .bg-btn-sales-debt-book-installment-payment-done a,
.patient-slideout .slideout-body .sales-order-sub-link {
    font: normal normal bold 10px/27px Noto Sans JP;
    letter-spacing: 0px;
    color: #7E95B8;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .btn-order-modal {
    font: normal normal normal 11px/15px Noto Sans JP;
    color: #7E95B8;
    width: 86px;
    height: 28px;
    border: 1px solid rgba(184,192,197,1);
    border-radius: 2px;
    background: #fff;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .installments-payment-list-paid,
.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .installments-payment-list-unpaid {
    font: normal normal normal 12px/27px Noto Sans JP;
    letter-spacing: 1.2px;
    color: #555555;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .installments-payment-item-price {
    color: #7E95B8;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-type {
    font: normal normal bold 14px/17px Noto Sans JP;
    letter-spacing: 1.4px;
    color: #555555;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-price {
    font: normal normal bold 14px/27px Noto Sans JP;
    letter-spacing: 0px;
    color: #7E95B8;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-edit {
    font: normal normal bold 11px/27px Noto Sans JP;
    letter-spacing: 0px;
    color: #7E95B8;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-print {
    text-align: left;
    font: normal normal bold 14px/27px Noto Sans JP;
    letter-spacing: 0px;
    opacity: 1;
    color: #7E95B8;
    height: 27px;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-print:hover {
    text-decoration: none;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-payment-method {
    font: normal normal bold 14px/17px Noto Sans JP;
    letter-spacing: 1.4px;
    color: #555555;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .brace-form {
    border: 1px solid #C1CAD5 !important;
    border-radius: 3px;
    height: 26px;
    font-size: 12px;
    padding: 3px 5px !important;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-revenue-date {
    font: normal normal bold 13px/17px Noto Sans JP;
    letter-spacing: 1.3px;
    color: #555555;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-type,
.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-label {
    font: normal normal normal 14px/19px Noto Sans JP;
    letter-spacing: 0px;
    color: #555555;
    display: flex;
    align-items: center;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-type .is-installment {
    padding: 2px 8px;
    color: black;
    font-weight: lighter;
    font-size: 11px;
    border-radius: 13px;
    background: #C0D7F1;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .text-555555 {
    height: 27px;
}

.patient-slideout .slideout-body .btn-installment-new-order {
    font: normal normal normal 11px/15px Noto Sans JP;
    color: #7E95B8;
    width: 200px;
    height: 28px;
    border: 1px solid rgba(184,192,197,1);
    border-radius: 2px;
    background: #fff;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-price-group {
    display: flex;
    height: 27px;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-price {
    font: normal normal normal 14px/27px Noto Sans JP;
    letter-spacing: 0px;
    color: #555555;
    display: flex;
    align-items: center;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-individual-receipt {
    text-align: left;
    font: normal normal bold 14px/27px Noto Sans JP;
    letter-spacing: 0px;
    opacity: 1;
    color: #7E95B8;
    display: flex;
    align-items: center;
    height: 27px;
}

.patient-slideout .slideout-body .slide-sales-debt-book-installment-payment .order-paid-item-individual-receipt:hover {
    text-decoration: none;
}

/* Slider Common END*/

.full-content-wrapper {
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #E9E9E9;
}

.full-content {
    width: 65%;
    margin: 0 auto;
    color: #212121;
    padding: 3rem 0;
    min-height: 70vh;
    font-size: 14px;
    line-height: 24.5px;
}

.full-content h2 {
    font-weight: 400;
}

.full-content p {
    border-bottom: 1px solid #C1CAD5;
    padding-bottom: 10px;
    margin-top: 1rem;
    font-weight: 700;
}

.full-content ul {
    list-style: none;
    padding-inline-start: 0;
    color: #212121;
}

.full-content ul li {
    margin-bottom: 1rem;
}

.full-content ul li label {
    width: 30%;
}

.full-content ul li input[type="url"] {
    width: 55%;
    border: 2px solid #43BE97;
    padding-left: 2rem;
}

.full-content.external-service .url-input-group {
    display: inline-flex;
    width: 60%;
}

.full-content.external-service .url-input-group a {
    color: #43BE97;
}

.full-content.external-service span.icon.fas.fa-external-link-alt {
    left: 0;
    transition: 0.3s;
    color: #444;
    display: flex;
    align-items: center;
    margin: 0 0 2px 5px;
}

.input-group>.custom-file,
.input-group>.custom-select,
.input-group>.form-control,
.input-group>.form-control-plaintext {
    width: 100%;
    margin-bottom: 0.5rem;
}

.mobile-panel-upper {
    row-gap: 10px;
}


/* SMA Colors */

.b-align-border {
    background: linear-gradient(transparent 60%, rgba(123, 220, 181, 0.7) 0);
}

.sma-primary {
    color: #555;
}

.sma-border {
    border: 1px solid #7e95b8 !important;
}

.sma-border--rounded {
    border-radius: 5px !important;
}

.sma-label-green {
    color: #6cb7a9;
}

.sma-internal-link {
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
    color: #7e95b8;
    padding: 7px 5px;
}

.sma-internal-link:hover {
    text-decoration: none;
}

.sma-external-link {
    color: #7E95B8;
    text-decoration: none;
    border-bottom: 2px solid #7E95B8;
    padding-bottom: 5px;
    font-size: 11px;
    margin: auto 10px auto 0;
}

.sma-external-link:hover {
    text-decoration: none;
    color: #7E95B8;
    opacity: 0.6;
}


/* SMA TABBING */

.sma-outer-tabs {
    flex-shrink: 0;
}

.sma-outer-tab:hover,
.sma-inner-tab:hover {
  opacity: 1;
  box-shadow: none;
}

.sma-inner-tabs {
    padding-bottom: 7px;
    flex-wrap: nowrap;
}

.sma-inner-tabs.border-btm {
    border-bottom: 1px solid #C1CAD5;
}

.sma-inner-tabs li.nav-item {
    flex: 0 0 auto;
}

.sma-inner-tab {
  color: #212121;
  padding: 8px;
	border: none;
	outline: none;
	cursor: pointer;
	font-size: 14px;
  line-height: 24.5px;
  font-weight: 700;
}

.sma-inner-tab.active {
  background-color: transparent !important;
  border-bottom: 3px solid #43BE97;
  box-shadow: none;
  border-radius: 0;
  color: #43BE97;
}


/* SMA checkboxes */

.sma-checkbox {
    margin-right: 25px;
}

.sma-checkbox input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.sma-checkbox span.teeth-selector {
    position: relative;
    background-color: white;
    color: #7e95b8;
    font-size: 16px;
    margin: 0;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sma-checkbox span.teeth-selector:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #B5C6E0;
    border-radius: 3px;
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); */
    margin-right: 5px;
    width: 15px;
    height: 15px;
}

.sma-checkbox span.no-borders:before {
    border: none;
}

.sma-checkbox input:checked+span.teeth-selector:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 5px;
    width: 6px;
    height: 12px;
    border: solid #7E95B8;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sma-modal .mr-notes {
    width: 100%;
}

.sma-modal__heading {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c1cad5;
}

.sma-modal__heading .title {
    color: #555;
    font-size: 16px;
    font-weight: 700;
}

.sma-modal__controls {
    border-top: 1px solid #7e95b83d
}

.appo-status-bg-color {
    height: 26px;
    width: 72px;
}


/* Date time nav btn  */

.date-time .nav-btn {
    width: 28px;
    height: 28px;
    color: #43BE97;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #43BE97;
}

.date-time .nav-btn.prev {
    letter-spacing: 2px;
}

.date-time .nav-btn.next {
    letter-spacing: -2px;
}


/* SMA Contents Style  */

.sma-data-style,
.value {
    font-size: 14px;
    line-height: 24.5px;
    font-weight: 700;
    margin: 0;
}

textarea.sma-data-style {
    -webkit-text-fill-color: #0b0b0b;
    opacity: 1;
    border: 1px solid #c1cad5;
}

.sma-small-label {
    color: #555;
    font-size: 12px;
    font-weight: 700;
    line-height: 1em;
    margin: 0 0 7px 0;
}

.sma-field-label {
    color: #212121;
    font-size: 14px;
    line-height: 24.5px;
    font-weight: 400;
    margin: 0;
    word-break: keep-all;
}


/* Icons */


/* Date Icon */

.date .icon,
.date.icon,
.time .icon,
.time.icon {
    color: #7e95b8;
    font-size: 16px;
    margin-right: 7px;
}

.control-heading {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 5px 10px 10px 0;
}


/* .diagnosis .control-heading .controls {
	flex: 1 0 10px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
} */


/* .diagnosis .control-heading .controls .icon {
	color: #7e95b8;
	font-size: 15px;
	line-height: 18px;
	cursor: pointer;
} */

.sma-edit-icon {
    color: #7E95B8;
    font-size: 15px;
    line-height: 18px;
    cursor: pointer;
}

.sma-edit-icon:hover {
    text-decoration: none;
    opacity: 0.6;
}


/* Teeth Formula */

.teeth .badge {
    background-color: #fff;
    border: 2px solid #E5EBF2;
    border-radius: 4px;
    color: #E5EBF2;
    padding: .5em .65em;
    font-size: 12px;
}

.teeth .badge.badge-primary {
    color: #7E95B8;
    border: 2px solid #7E95B8;
}


/* iPad 11inch */

@media (max-width: 1194px) {
    .sma-inner-tab {
        font-size: 11px;
        padding: 0.4rem 0.4rem;
    }
}


/* iPad 10.2inch */

@media (max-width: 1080px) {
    .sma-inner-tab {
        font-size: 11px;
        padding: 0.4rem 0.4rem;
    }
}

@media (max-width: 1080px) {
    header .back-box {
        padding: 7px;
    }

    header .back-box .back-icon {
        width: 20px;
        height: 20px;
        border-radius: 3px;
    }

    header .patient-details .avatar {
        flex: 0 0 auto;
    }

    header .patient-details .data {
        flex: 1 0 1px;
        overflow-x: auto;
    }

    header .patient-details .data .name {
        font-size: 16px;
        white-space: nowrap;
    }

    header .patient-details .data .name .icon {
        font-size: 12px;
        line-height: 16px;
    }

    header .patient-details .data .number {
        font-size: 12px;
        white-space: nowrap;
    }

    header .patient-details .data .number .icon {
        font-size: 12px;
        line-height: 12px;
    }

    header .patient-details .data .number .age {
        font-size: 11px;
    }

    header .header-menu .menu-item {
        font-size: 12px;
    }

    /* header .timeline {
        margin-left: 10px;
    } */

    header .timeline .dates {
        font-size: 10px;
    }

    header .timeline .dates .start {
        margin-right: 10px;
    }

    header .timeline .dates .end {
        margin-left: 10px;
    }

    .schedule-dialog .inputs,
    .schedule-dialog .notes textarea,
    .schedule-dialog .mr-options,
    .schedule-dialog .mr-notes {
        width: 100% !important;
    }

    header .header-control .user-name {
        display: none;
    }

    header.patient-header .search .search-input {
        width: 6em;
        min-width: 6em;
    }
}


/* Static Contents */

h1.page-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

.container.static-page-wrap {
    padding: 100px 0;
    background-color: white;
}

.static-contents-wrap {
    margin: 0 auto 30px;
    max-width: 600px;
    padding: 0 1rem;
}

.static-contents-wrap p,
.static-contents-wrap img {
    margin-bottom: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
}

.static-contents-wrap ol.parent {
    list-style-type: none;
}

.static-contents-wrap p a {
    word-break: break-all;
}

/* Copy text to clipboard */

.copy-text-btn {
    position: relative;
    color: #7e95b8;
    font-size: 16px;
    line-height: 24px;
    vertical-align: top;
    cursor: pointer;
}

.copy-text-btn .copy-tip {
    z-index: 3;
    display: none;
    width: 160px;
    position: absolute;
    top: 50%;
    left: 20px;
    opacity: 0;
    padding: 5px 11px;
    border-radius: 5px;
    background-color: #555;
    transition: opacity 0.2s;
    transform: translate(0, -50%);
}

.copy-text-btn .copy-tip .inner {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3em;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.copy-text-btn .copy-tip::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: -5px;
    height: 10px;
    border-right: 5px solid #555;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    transform: translate(0, -50%);
}

.copy-text-btn:hover .copy-tip,
.copy-text-btn .copy-tip.hold {
    display: block;
    opacity: 1;
}

.tag {
    display: inline-block;
    font-size: 14px;
    line-height: 24.5px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    width: 48px;
    background: #F95B45 0% 0% no-repeat padding-box;
    border-radius: 4px;
    margin: 0 3px;
}

.tag-danger {
    background-color: #F95B45;
}

.tag-default {
    background-color: #78909C;
}

.validation-form-elements .has-danger .form-radio-field,
.validation-form-elements .has-danger .form-checkbox-field {
    border-color: #F95B45 !important;
}

.validation-form-elements .has-success .form-radio-field,
.validation-form-elements .has-success .form-checkbox-field {
    border-color: #28a745 !important;
}


/* Sizing */

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-23 {
    width: 23%;
}

.w-100px {
    width: 150px;
}


/* Buttons */

.sma-btn-primary-alt {
    color: #204151;
    font-size: 11pt;
    line-height: 1rem;
    padding: 9px 24px;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #204151;
}

.sma-btn-primary {
    color: #fff !important;
    font-size: 11pt;
    line-height: 1rem;
    padding: 9px 18px;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 8px;
    background-color: #204151 !important;
}

.sma-btn-primary:hover {
    color: white !important;
}

.sma-btn-primary:disabled {
    background-color: #8fa3ad !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.sma-btn-primary:hover,
.sma-btn-primary-alt:hover {
    opacity: 0.7;
    color: #fff !important;
    text-decoration: none;
}

.sma-link-btn-primary {
    background-color: #204151;
    color: #fff;
    font-size: 9pt;
    padding: 8px 17px;
    border: 1px solid #204151;
    line-height: 1rem;
    border-radius: 8px;
    margin: 0 5px;
}
.sma-link-btn-primary .icon-plus:before {
  color: #fff;
}

.sma-link-btn-primary:hover {
    opacity: 0.7;
    text-decoration: none;
    color: white;
}

.sma-link-btn-primary i.fas {
    margin-right: 3px;
}

.sma-btn-info {
    color: #fff;
    background-color: #204151;
    border-color: #204151;
}

.sma-btn-info:hover {
    color: #fff;
    background-color: #204151;
    border-color: #204151;
}

.sma-btn-outline-info {
    color: #204151;
    border-color: #204151;
}

.sma-btn-outline-info:hover {
    color: #fff;
    background-color: #204151;
    border-color: #204151;
}

.sma-select-button {
    color: #212121;
    font-size: 14px;
    line-height: 24.5px;
    margin-bottom: 8px;
}

.sma-select-button:not(:last-child) {
    margin-right: 15px;
}

.sma-input-border {
    border: 1px solid #B8C0C5;
}


/* SMA List Style */

.sma-list-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 20px 15px;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #204151;
    color: #212121;
}

.sma-list-box-link a {
  color: #212121;
}

.sma-list-box:hover {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 16%);
    cursor: pointer;
}

.sma-list-box-link:hover {
    text-decoration: none;
}


/* SMA Select */

.mr-jaws .jaw-data .jaw-inputs .input-row select {
    font-size: 16px;
    font-weight: 400;
    padding: 3px 7px;
    margin: 0 20px 0 0;
    border-radius: 5px;
    border: 1px solid #E5EBF2;
    color: #777;
}


/* SMA Multiseelct */

.sma-multiselect {
    height: 4rem;
}


/* Empty List Data Display */

.empty-list-notice {
    margin-top: 10px;
    padding: 5px 15px;
    border-radius: 7px;
    background-color: #fff;
    border: 1px solid #E9E9E9;
}


/* Customize checkbox */

.sma-select-button input[type="checkbox"] {
    display: none;
}

.sma-select-button .sma-checkbox {
    margin: 0;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.sma-select-button .sma-checkbox span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
    color: #212121;
}

.sma-select-button .sma-checkbox span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #B8C0C5;
    transition: all 0.2s ease;
}

.sma-select-button .sma-checkbox span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #3CB37A;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.sma-select-button .sma-checkbox span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.sma-select-button .sma-checkbox span:last-child {
    /* padding-left: 5px; */
}

.sma-select-button .sma-checkbox:hover span:first-child {
    border-color: #B8C0C5;
}

.sma-select-button .sma-checkbox-input:checked+.sma-checkbox span:first-child {
    background: #FFFFFF;
    border-color: #B8C0C5;
    animation: wave 0.4s ease;
}

.sma-select-button .sma-checkbox-input:checked+.sma-checkbox span:first-child svg {
    stroke-dashoffset: 0;
}

.sma-select-button .sma-checkbox-input:checked+.sma-checkbox span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

.sma-select-button .sma-checkbox2 input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}

.sma-select-button .sma-checkbox2 .sma-checkbox2-label {
    position: relative;
    color: #7e95b8;
    font-size: 16px;
    margin: 0;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.sma-select-button .sma-checkbox2 .sma-checkbox2-label span {
    position: relative;
}

.sma-select-button .sma-checkbox2 .sma-checkbox2-label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #B8C0C5;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: none;
    margin-right: 5px;
    width: 15px;
    height: 15px;
}

.sma-select-button .sma-checkbox2 input:checked+.sma-checkbox2-label:after {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 5px;
    width: 6px;
    height: 12px;
    border: solid #7E95B8;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* Login Logout Designs */

.login-wrapper {
    height: 90vh;
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-wrapper .subtitle {
    font-size: 1.4rem;
}

.login-wrapper .login-box {
    display: flex;
    background: #fff;
    border-radius: 10px;
    background-image: url(../../images/aligner-back.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    width: 80%;
    min-width: 500px;
    max-width: 1000px;
}

.login-wrapper .logout-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
}

.login-wrapper .logout-box .smile-logo {
    text-align: center;
    width: 100%;
    padding: 16px 200px;
    margin-bottom: 1rem;
    background-color: #7e95b8;
    color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.login-wrapper .logout-box .smile-logo h1 {
    font-size: 32px;
    margin: 0;
}

.login-wrapper .logout-box .logout-text {
    padding: 60px 0;
    text-align: center;
}

.login-wrapper .logout-box .logout-text h2 {
    letter-spacing: 1.5px;
    font-size: 28px;
}

.login-wrapper .logout-box .logout-text a {
    color: #7e95b8;
    text-decoration: underline;
    text-underline-position: under;
    opacity: 0.7;
}

.login-wrapper .logout-box .logout-text a:hover {
    opacity: 1;
}

.thankyou-box {
    display: flex;
    max-width: 80%;
    padding: 2rem 2rem;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    text-align: center;
}

.thankyou-box h1 {
    font-weight: 700;
    line-height: 1.75;
    font-size: 1.5rem;
}

.login-wrapper .login-box .login-form {
    max-width: 600px;
    background: #fff;
    padding: 70px 50px 40px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 60%;
}

.login-wrapper .login-box .login-form .login-bottom-links {
    margin-top: 4rem;
    font-size: 0.8rem;
}

.login-wrapper h2 {
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.login-wrapper h2 .black {
    color: #000;
}

.login-wrapper .login-box label {
    margin: 0;
    margin-right: 10px;
    letter-spacing: 1.3px;
    font-size: 18px;
}

.login-wrapper .login-box input {
    margin-bottom: 10px;
}

.login-wrapper .login-box input[type="text"],
.login-wrapper .login-box input[type="password"] {
    padding-left: 10px;
    background: #fff;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #000;
    width: 100%;
}

.login-wrapper .login-box input[type="text"]:focus,
.login-wrapper .login-box input[type="password"]:focus {
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
}

.login-wrapper .login-box input[type="submit"] {
    background-color: #7E95B8;
    border: none;
    padding: 5px 50px;
    margin-top: 30px;
}


/* End customize checkbox */


/* Offcanvas integration from BS 5 */

.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    visibility: hidden;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .offcanvas {
        transition: none;
    }
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
}

.offcanvas-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin-top: -0.5rem;
    margin-right: -0.5rem;
    margin-bottom: -0.5rem;
}

.offcanvas-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.offcanvas-body {
    flex-grow: 1;
    padding: 1rem 1rem;
    overflow-y: auto;
}

.offcanvas-start {
    top: 0;
    left: 0;
    width: 400px;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
}

.offcanvas-end {
    top: 0;
    right: 0;
    width: 400px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
}

.offcanvas-top {
    top: 0;
    right: 0;
    left: 0;
    height: 30vh;
    max-height: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
}

.offcanvas-bottom {
    right: 0;
    left: 0;
    height: 30vh;
    max-height: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
}

.offcanvas.show {
    transform: none;
}


/* END Offcanvas integration from BS 5 */


/* btn-close from BS5 */

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

.btn-close:disabled,
.btn-close.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.25;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}


/* END btn-close from BS5 */

.header-menu .dropdown-menu.show {
    z-index: 2;
}

.header-menu .dropdown-menu {
  border: 1px solid #e9e9e9;
  color: #212121;
  background-color: #fff;
  border-radius: 8px;
  padding: 0;
  margin: 0;
}


/* Mobile */

@media (max-width: 575.98px) {
    .login-wrapper .login-box {
        min-width: 100%;
    }

    .login-wrapper .login-box .login-form {
        width: 100%;
        border-radius: unset;
    }

    header .header-menu {
      flex-wrap: wrap;
    }
}

@keyframes wave {
    50% {
        transform: scale(0.9);
    }
}

@media print {
  @page {
    size: auto;
  }
}

@media print {
    .sma-no-print {
        display: none;
    }
}

.b-align-logo-500-30 {
    height: 30px;
}

.toast {
    min-width: fit-content;
    max-width: 315px;
    min-height: 59px;
    right: 10px;
    opacity: 1;
    bottom: 65px;
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    text-align: center;
    visibility: hidden;
    border-top: 0px;
    border-bottom: 0px;
    border-right: 0px;
    border-left: 3px solid;
}

.toast.success {
    background: #fff 0 0 no-repeat padding-box !important;
    border-color: #06C755 !important;
}

.toast.error {
    background: #fff 0 0 no-repeat padding-box !important;
    border-color: #F95B45 !important;
}

.toast .toast-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 12px;
    text-align: left;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0;
    color: #212121;
}

.toast .fas {
    margin-right: 8px;
}

.show {
    visibility: visible;
    /*-webkit-animation: fadein 0.5s, fadeout 0.5s;*/
    /*animation: fadein 0.5s, fadeout 0.5s;*/
}

.container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: white;
    color: #7e95b8;
    font-size: 16px;
    margin: 0;
    user-select: none;
    cursor: pointer;
    border: 1px solid #B5C6E0;
    border-radius: 3px;
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.container-checkbox input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.container-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    height: 12px;
    border: solid #7E95B8;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* flatpickr */

.year-dropdown {
    appearance: menulist;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    color: inherit;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    font-weight: 300;
    height: auto;
    line-height: inherit;
    margin: -1px 0 0 0;
    outline: none;
    padding: 0 0 0 0.5ch;
    position: relative;
    vertical-align: initial;
    -webkit-box-sizing: border-box;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    width: auto;
}

.year-dropdown option {
    background-color: transparent;
    outline: none;
    padding: 0;
}

.error-message {
    color: red;
    font-weight: bold;
}

.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.btn.focus, .btn:focus {
    box-shadow: none;
}

.header-menu-link .dropdown-content {
    display: none;
    position: fixed;
    background-color: white;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.2);
    top: calc(8% + 10px);
    z-index: 20;
    border-radius: 4px;
}

.header-menu-link .dropdown-content a {
    font-size: 12px;
    line-height: 21px;
    color: #212121;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    border-bottom: solid 1px #E9E9E9;
    padding: 10px;
}

.header-menu-link .dropdown-content-link a {
    width: 150px;
}

.header-menu-link.dropdown:hover .dropdown-content {
    display: block;
}

.profile-control .dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    opacity: 1;
    z-index: 2;
    right: 0px;
    top: 25px;
    padding: 15px 15px 0px 15px;
}

.dropdown-content a {
    color: #204151;
    text-decoration: none;
    display: block;
    font-size: 15px;
}

div#cke_notifications_area_doctor_note_new,
div.cke_notifications_area {
    display: none !important;
}

.header-group-btn-print {
    padding-top: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #707070;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    top: 0;
    left: 0;
    position: fixed;
    background: #F4F7FA;
    width: 100%;
    z-index: 5;
}

.header-mb-print {
    margin-bottom: 100px;
}

.header-group-btn-print .header-print-ctl {
    display: flex;
    width: 340px;
    justify-content: center;
}

.header-group-btn-print .header-print-btn {
    width: 158px;
    height: 50px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 2px solid #204151;
}

.new-tab-selector:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #B5C6E0;
    border-radius: 3px;
    margin-right: 5px;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-top: 2px;
}

.open-new-tab input:checked+span.new-tab-selector:after {
    content: '';
    display: block;
    position: absolute;
    top: 73px;
    left: 15px;
    width: 6px;
    height: 12px;
    border: solid #7E95B8;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.open-new-tab span.new-tab-selector {
    user-select: none;
}

.header-control-left {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    margin-left: 10px;
    border-left: 1px solid #cae0de;
}

.header-control-left .btn .text-right img,
#search-icon img {
    width: 20px;
}

.patient-slideout-left {
    border: 1px solid rgba(184,192,197,1);
    border-radius: 5px;
    cursor: pointer;
    margin: 0 10px;
}

.search-tab {
    display: none;
    position: absolute;
    right: 70px;
    top: 50px;
}

.search-tab-input {
    width: 256px;
    padding: 30px 10px 10px 10px;
    border-radius: 5px;
    box-shadow: 0px 3px 6px #00000029;
    background: #FFFFFF 0% 0% no-repeat padding-box;
}

.open-new-tab {
    cursor: pointer;
    display: flex;
}

.open-new-tab label {
    display: inline-flex;
}

.new-tab-selector {
    font-size: 13px;
    display: flex;
}

.search-close {
    position: absolute;
    top: 0;
    right: 5px;
}

.search-close span {
    display: inline-block;
    border: 1px solid black;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 13px;
    line-height: 12px;
    text-align: center;
}

.mb-10 {
    margin-bottom: 10px;
}

.patient-info-slideout {
    margin-top: unset !important;
    padding: unset !important;
    background-color: unset !important;
}

@media print {
    .header-group-btn-print {
        display: none;
    }
}

.daylist-header-mobile,
.sidepanel {
    display: none;
}

@media (max-width: 500px) and (orientation: portrait) {
    .daylist-header-mobile {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        position: fixed;
        right: 0;
        top: 0;
        height: 70px;
        background: inherit;
        z-index: 2;
        box-shadow: 1px 2px 10px 0px #CCC;
    }

    .sidepanel {
        width: 0;
        position: fixed;
        z-index: 10;
        top: 0;
        right: 0;
        background-color: #fff;
        overflow-x: hidden;
        padding-top: 70px;
        display: block;
    }

    .sidepanel .dropdown-item {
        color: #777777;
        display: block;
        padding: 13px 10px;
    }

    .sidepanel .nav-link.dropdown-toggle,
    .sidepanel .menu-item,
    .sidepanel .menu-request {
        color: #777777;
        display: block;
        border-bottom: 1px solid #ccc;
        margin: 0 5px;
        padding: 13px 10px;
        position: relative;
    }

    .sidepanel .closebtn {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 25px;
        background: transparent;
        color: #7e95b8;
        width: 15%;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .openbtn {
        font-size: 25px;
        cursor: pointer;
        padding: 8px 15px;
        color: #7e95b8;
        border: none;
        background: transparent;
    }

    .sidepanel .menu-item .badge,
    .sidepanel .menu-request .badge {
        display: inline-block;
        min-width: 17px;
        width: unset;
        height: 20px;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        line-height: 17px;
        text-align: center;
        background-color: #ED5757;
        padding: 2px 5px 2px 5px;
        border-radius: 10px;
    }

    .search-form-mobile {
        position: absolute;
        left: 0;
        top: 0;
        height: 70px;
        display: flex;
        align-items: center;
        width: 80%;
    }

    .search-form-mobile .search-input {
        color: #484848;
        width: 90%;
        font-size: 14px;
        line-height: 1em;
        padding: 0.5em 0.75em;
        outline: none;
        border-radius: 5px;
        border: 1px solid #ccc;
        margin-left: 3px;
    }

    .patient-slideout .slideout-body .slideout-heading .patient-row .patient-info {
        flex-direction: column;
    }
}

.slide-sales-debt-book-installment-payment select {
    background-position: calc(100% - 20px) calc(1em - 2px), calc(100% - 15px) calc(1em - 2px), calc(100% - 2.5em) 0.5em;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 5px !important;
    padding-left: 7px !important;
}

.checkbox {
    width: fit-content !important;
}

.checkbox label {
    min-width: fit-content !important;
    max-width: 100%;
    white-space: nowrap;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

.draw-popup-fix {
    z-index: 5;
}

.draw-popup-fix > ul {
    display: flex;
    gap: 2px;
}

.ra-ico {
    color: gray;
    margin-right: 2px;
}