/**
  1.Preloader
  2.Fonts
  3.General
  4.Bootstrap Customization
  5.Loading
  6.Notification 
*/

/* Preloader */
.preloader {
  width: 100%;
  height: 100%;
  position: fixed;
  text-align: center;
  z-index: 99999;
}

.ripple-loader {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  top: 45%;
}

.ripple-loader div {
  position: absolute;
  border: 4px solid;
  opacity: 1;
  border-radius: 50%;
  animation: ripple-loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.ripple-loader div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes ripple-loader {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

.preload * {
  -webkit-animation-play-state: paused !important;
  -moz-animation-play-state: paused !important;
  -ms-animation-play-state: paused !important;
  -o-animation-play-state: paused !important;
  animation-play-state: paused !important;
}


/* Fonts */

@font-face {
  font-family: "Poppins Thin";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("../fonts/poppins/thin.woff") format("woff"),
    url("../fonts/poppins/thin.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Light";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins/light.woff") format("woff"),
    url("../fonts/poppins/light.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins/regular.woff2") format("woff2"),
    url("../fonts/poppins/regular.woff") format("woff");
}

@font-face {
  font-family: "Poppins Medium";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins/medium.woff") format("woff"),
    url("../fonts/poppins/medium.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Semibold";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins/semibold.woff") format("woff"),
    url("../fonts/poppins/semibold.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins Bold";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins/bold.woff") format("woff"),
    url("../fonts/poppins/bold.woff2") format("woff2");
}

/* General */
html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: "Poppins";
}
body {
  font-size: 0.875rem;
}
::placeholder {
  font-size: 0.865rem;
  font-family: "Poppins";
  letter-spacing: 0.5px;
}
body.plain-layout ::placeholder {
  font-style: italic;
  font-size: 0.875rem;
  font-family: "Poppins Medium";
  letter-spacing: 0.5px;
}
.fs-medium {
  font-size: 0.815rem;
}
.fs-small {
  font-size: 0.75rem;
}
.btn-main {
  font-size: 0.875rem;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn-icon {
  width: 35px;
  height: 35px;
  line-height: 35px;
  border: 1px solid;
  text-align: center;
  padding: 0;
  cursor: pointer;
}
.appointment-group-icon .btn-icon,
.appointment-menu .btn-icon{
  width: 25px;
  height: 25px;
  line-height: 28px !important;
  font-size: 0.938rem !important;
}
.appointment-menu .btn-icon{
  padding: 0px 5px;
}
.appointment-group-icon .btn-icon.appointment-cancel,
.dropdown-item.appointment-cancel i{
  font-size: 0.65rem !important;
}
.btn-icon.filled {
  border: 0;
}
input[type="file"] {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
}
.ls-sm{
  letter-spacing: 0.5px;
}
.va-sm{
  vertical-align: -2px;
  display: inline-block;
}
.h-zero{
  height: 0;
}
.btn-secondary i.flaticon-close-1:before{
  font-weight: 600 !important;
}
.s2-dropdown-outline-btn{
  width: 180px;
}
.s2-dropdown-outline-btn .select2-selection__rendered{
  padding-left: 1rem!important;
}
.s2-dropdown-outline-btn .select2-selection__arrow{
  height: 8px!important;
  right: 15px!important;
}
.table-sm thead th,
.table-sm tbody td{
  padding: 0.5rem 0.5rem !important;
}
.table-sm thead th:first-child,
.table-sm tbody td:first-child{
  padding-left: 1rem !important;
}
.table-sm thead th:last-child,
.table-sm tbody td:last-child{
  padding-right: 1rem !important;
}
.table-md thead th,
.table-md tbody td{
  padding: 1rem !important;
}
.height-sm{
  height: 465px;
}
.height-overflow::-webkit-scrollbar{
  width: 14px;
}
.height-overflow.overflow-scroll{
  overflow-x: hidden!important;
}
.table .dropdown-toggle[aria-expanded="true"]{
  border-radius: 50%;
}
.table .btn-icon.dropdown-toggle{
  line-height: 40px;
}
.seperator{
  position: relative;
}
.seperator:after{
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  background-color: #dee2e6;
  right: 0;
  top: 50%;
  transform: translate(0%, -50%);
}
/* Bootstrap Customization */
.btn {
  font-family: "Poppins Semibold"!important;
}
.fw-normal {
  font-family: "Poppins";
}
.fw-light {
  font-family: "Poppins Light";
}
.fw-medium {
  font-family: "Poppins Medium";
}
.fw-semibold {
  font-family: "Poppins Semibold";
}
.fw-bold {
  font-family: "Poppins Bold";
}
#fw-bold{
  font-family: "Poppins Bold";
  white-space: nowrap;
  word-break: break-word;
  width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn {
  font-size: 0.865rem;
  cursor: pointer;
}
.btn-lg {
  padding: 0.5rem 2rem;
  border-radius: 0.25rem;
}
.btn-close{
  box-shadow: none!important;
  background-image: none;
  line-height: 1;
  position: absolute;
  opacity: 1;
}
.btn-close .flaticon-left-arrow{
  margin-top: -6px;
}
.form-label {
  /* font-family: "Poppins Light"; */
  font-family: "Poppins";
}
.form-control,
.form-select {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  cursor: pointer;
}
.form-control:focus,
.form-select:focus {
  box-shadow: none;
  outline: none;
}
.plain-layout .form-control:focus {
  box-shadow: none;
  outline: none;
  border: none;
  font-size: 0.875rem;
}
.nav-pills .nav-item .nav-link {
  font-size: 0.815rem;
  cursor: pointer;
}
.nav-link.active {
  font-family: "Poppins Semibold";
} 
.nav-vertical .nav-link.active {
  font-family: "Poppins";
}
.dropdown-toggle,
.dropdown-item {
  font-size: 0.875rem;
  font-family: "Poppins";
  cursor: pointer;
}
.dropdown-item.active, .dropdown-item:active{
  font-family: "Poppins Semibold";
  padding: .75rem 1rem;
}
.dropdown-toggle::after {
  content: "";
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: contain;
  border: 0px;
  position: absolute;
  right: 1rem;
  top: 55%;
  transform: translate(0px, -50%);
}
.dropdown-toggle::after,
.groups-icon-list .btn.dropdown-toggle:after{
  display: none;
}
.dropdown .dropdown-toggle::after{
  display: block;
}
thead th {
  font-size: 0.865rem;
  font-family: "Poppins Semibold";
  padding: 0 0.5rem 1.5rem 0.5rem !important;
  white-space: nowrap;
}
tbody td {
  font-size: 0.8rem;
  padding: 1.5rem 0.5rem !important;
}
tbody td input[type="text"],
tbody td input[type="number"],
tbody td select{
  min-width: 85px;
}
tbody td img{
  width: 35px;
}
.page-link {
  font-size: 0.815rem;
  padding: 0.4rem 1rem;
  cursor: pointer;
}
.pagination li:nth-child(2) .page-link {
  border-radius: 20px 0 0 20px;
  cursor: pointer;
}
.pagination li:nth-last-child(2) .page-link {
  border-radius: 0 20px 20px 0;
  cursor: pointer;
}
.form-control-color{
  height: 2rem;
  margin-top: 0.35rem;
  padding: 0.375rem;
  border-radius: 0.375rem;
}
.vr{
  height: 100%;
}
.nav-tabs{
  border-width: 4px;
}
.nav-tabs .nav-link.active:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  left: 0;
  bottom: -4px;
}
.form-check-input:checked[type=checkbox] {
  border-width: 2px;
  background-image: none;
}
.input-group-text .flaticon-calendar{
  height: 20px;
}
.form-check-input[type=checkbox]{
  width: 16px;
  height: 16px;
  z-index: 2;
  border: 0;
}
.form-check-input[type=checkbox]:after{
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-style: solid;
  z-index: 0;
  left: -1px;
  top: -1px;
}
.form-check-input.table-checkbox[type=checkbox]{  
  width: 16px;
  height: 16px;
}
.form-check-input.table-checkbox[type=checkbox]:after{
  width: 16px;
  height: 16px;
  border-width: 2px;
}
.form-check-input[type=checkbox]:before{
  content: "\f10d";
  position: absolute;
  font-family: "flaticon_hive" !important;
  font-size: 1.25em;
  line-height: 1.25em;
  z-index: 0;
  top: 0;
  left: 0;
  display: none;
}
.form-check-input[type=checkbox].check-sm:before{
  font-size: 1em;
  line-height: 1em;
}
.form-check-input.table-checkbox[type=checkbox]:before{
  font-size: 1em;
}
.form-check-input:checked[type=checkbox]:after{
  display: none;
}
.form-check-input:checked[type=checkbox]:before{
  display: inline-block;
}
.form-check-input[type="radio"]:checked:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2.5rem;
  top: 2px;
  left: 2px;
}
td .form-check-input[type="radio"]:checked:before{
  width: 7px;
  height: 7px;
}
.badge{
  padding: 0.65rem 0.75rem;
  font-size: 0.685rem;
}
/* Bootstrap Table */
.dataTables_length select{
  width: 50px !important;
  padding: 0.25rem 0.5rem;
  margin: 0rem 0.5rem;
  border-radius: 0.25rem;
  border: 0;
}
.dataTables_filter input[type="search"]{
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  border-radius: 0.25rem;
  border: 0;
}
.dt-row{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.bootstrap-data-table{
  border-radius: 2.5rem;
  overflow: hidden;
}
.bootstrap-data-table thead th,
.bootstrap-data-table tfoot th{
  padding: 1.5rem!important;
}
.bootstrap-data-table tbody td{
  padding: 1.75rem 1.5rem!important;
  font-family: "Poppins Medium";
}
.bootstrap-data-table tfoot{
  display: none;
}
.bootstrap-data-table tbody tr:last-child td{
  border: 0;
}
.pagination .previous a,
.pagination .next a{
  position: relative;
  border: 0;
  border-radius: 50rem!important;
  cursor: pointer;
}
.pagination .previous a{
  padding-left: 2rem;
}
.pagination .next a{
  padding-right: 2rem;
}
.pagination .previous{
  margin-right: 0.5rem;
}
.pagination .next{
  margin-left: 0.5rem;
}
.pagination .previous a:before,
.pagination .next a:after{
  font-family: flaticon_hive !important;
  color: #000000 ;
  position: absolute;
}
.pagination .previous a:before{
  content: "\f11e";
  transform: translate(-18px, 0px);
}
.pagination .next a:after{
  content: "\f11d";
  transform: translate(5px, 0px);
}
/* Theme */
.offcanvas .form-label{
  font-family: "Poppins";
}

/* all patient */
.gender i[class^="flaticon-"]:before,
.age i[class^="flaticon-"]:before{
  font-weight: 600 !important;
}

/* Settings - Configurations */
.searchterm-form ::placeholder{
  font-size: 0.75rem;
  letter-spacing: 0;
  font-family: "Poppins Medium";
}

/* Select2 Customization */
.select2-container .select2-selection.select2-selection--multiple{
  padding-bottom: 0.875rem;
  border-radius: 0;
}
.select2-container .select2-selection.select2-selection--multiple,
.select2-container .select2-selection.select2-selection--single,
.select2-container.select2-container--focus .select2-selection.select2-selection--multiple{
  border: 0;
}
.d-tag + .select2-container .select2-selection.select2-selection--multiple .select2-selection__choice{
  padding: 0.5rem 1.25rem;
} 
.d-tag + .select2-container .select2-selection.select2-selection--multiple .select2-selection__choice .select2-selection__choice__display{
  padding-left: 1rem;
}
.select2-container .select2-selection.select2-selection--multiple .select2-selection__choice,
.select2-container .select2-selection.select2-selection--multiple .select2-selection__choice .select2-selection__choice__display{
  padding: 0rem;
}
.select2-container .select2-selection.select2-selection--multiple .select2-selection__choice__remove{
  font-size: 1.25em;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-right:0px;
}
.select2-selection.select2-selection--single .select2-selection__rendered{
  font-family: "Poppins Semibold";
}
.select2-container .select2-selection.select2-selection--multiple .select2-selection__choice__display{
  padding-left: 0.85rem;
}
.select2-container--open .select2-dropdown{
  z-index: 1055;
  border: 0px;
}
.select2-results__options[aria-multiselectable="true"] .select2-results__option{
  padding: 0.5rem 1.5rem 0.5rem 3rem;
  position: relative;
}
.select2-results__options[aria-multiselectable="true"] .select2-results__option:after{
  content: "";
  position: absolute;
  width: 1.5em;
  height: 1.5em;
  left: 10px;
}
.select2-results__options[aria-multiselectable="true"] .select2-results__option:before{
  content: "\f10d";
  position: absolute;
  font-family: "flaticon_hive" !important;
  font-size: 1em;
  line-height: 1.5em;
  left: 13px;
  display: none;
}
.d-tag + .select2-container  li.select2-selection__choice:after,
.select2-container .select2-results__options[aria-multiselectable="true"]  .select2-results__option--selected:after{
  display: none;
}
.select2-container .select2-results__options[aria-multiselectable="true"]  .select2-results__option--selected:before{
  display: block;
}
li.select2-selection__choice:last-child:after {
  content: "";
}
li.select2-selection__choice::after {
  content: ",";
}
.simple-select-dropdown + .select2-container{
  height: 38px;
}

.simple-select-dropdown + .select2-container .selection,
.simple-select-dropdown + .select2-container .select2-selection--single,
.simple-select-dropdown + .select2-container .select2-selection__rendered{
  height: 100%;
}
.simple-select-dropdown + .select2-container .select2-selection--single .select2-selection__rendered{
  padding-left: 2px;
  font-family: "Poppins";
}
.simple-select-dropdown + .select2-container .select2-selection__rendered .group-list,
.simple-select-dropdown-wrap .select2-results__option--selected{
  font-family: "Poppins";
}
.simple-select-dropdown-wrap .select2-results__option{
  padding: 10px;
}
.simple-select-dropdown + .select2-container .select2-selection__arrow b{
  font-size: 1.25em;
  font-weight: 500;
}

/* JConfirm */
.jconfirm-buttons {
  float: none !important;
  text-align: center ;
}
.jconfirm-buttons .btn {
  font-size: 0.865rem!important;
  cursor: pointer;
}
.jconfirm-buttons .btn-lg {
  padding: 0.5rem 2rem!important;
}
.jconfirm-title-c{
  text-align: center;
  font-size: 1rem!important;
  line-height: 2;
  padding: 0!important;
}
.jconfirm-title{
  line-height: 1.5;
}

/*  Signup page code */
/* Datepicker */
.datepicker-days thead th,
.datepicker-days tbody td {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 0;
}
.bootstrap-datetimepicker-widget.dropdown-menu{
  width: 20rem !important;
  z-index: 10000 !important;
}
.doctorview-table .bootstrap-datetimepicker-widget.dropdown-menu{
  width: 12rem !important;
}

.bootstrap-datetimepicker-widget .fa-arrow-up,
.bootstrap-datetimepicker-widget .fa-arrow-down,
.datepicker-days th.next,
.fa-clock-o,.fa-calendar{
  position: relative;
}


.datepicker-days th.next:before,
.datepicker-days th.prev:before{
  position: absolute;
  font-family: "flaticon_hive" !important;
  font-size: 1.5rem;
  font-size: 1.25rem;
}

.datepicker-days th.next:before{
  content: "\f146";
  left: 15px;
  top: 8px;
  transform: rotate(180deg);
}

.datepicker-days th.prev:before{
  content: "\f146";
  left: 12px;
  top: 11px;
}

.bootstrap-datetimepicker-widget .fa-arrow-up:before,
.bootstrap-datetimepicker-widget .fa-arrow-down:before{
  content: "\f10a";
  position: absolute;
  font-family: "flaticon_hive" !important;
  font-size: 2em;
  line-height: 1.15em;
  left: 0;
}
.fa-clock-o:before{ 
  content: "\f134";
}
.fa-calendar:before{
  content: "\f12b";
}
.fa-clock-o:before,.fa-calendar:before{
  font-family: "flaticon_hive" !important;
  font-size: 1.5rem;
}
.bootstrap-datetimepicker-widget .fa-arrow-up:before{
  transform: translate(1px,-4px) rotate(180deg);
}
.bootstrap-datetimepicker-widget .fa-arrow-down:before{
  transform: translate(1px,-1px);
}

/* ITI */
.iti{
  width: 100%;
}
.iti__country-list {
  z-index: 3 !important;
}

/* all patients */
.badge-alert{
  width: 28px;
  height: 28px;
  line-height: 35px;
}

.badge-alert .count{
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.6rem;
}

/* Custom styles for SweetAlert2 */

/* Override default container styles */
.swal2-popup {
  font-size: 14px!important; /* Adjust the font size */
}

/* Override title styles */
.swal2-title {
  color: #000!important; /* Change the title text color */
  line-height: 1.5!important;
}

/* Override text styles */
.swal2-text {
  color: #000000!important; /* Change the text color */
}

/* Background Grey-out or transparent for modal */
.modal-backdrop.show {
  z-index: -1 !important;
}

.modal {
  background-color: rgba(0, 0, 0, 0.5) !important; 
}

.p-multiselect {
  border: none;
  background: none;
  width: 95% !important;
}

.p-multiselect:not(.p-disabled).p-focus {
  box-shadow: none;
}

.p-multiselect-trigger-icon {
  display: none;
}

.p-multiselect-items-wrapper>ul {
  padding-left: 0%;
}

.p-multiselect .p-multiselect-label.p-placeholder {
    color: #6c757d;
    font-size: 0.865rem;
    font-family: 'Poppins';
  }

  .p-multiselect-panel .p-multiselect-items .p-multiselect-item {
    font-size: 0.865rem;
    font-family: 'Poppins';
    color:#000000;
  }

  .p-multiselect-label {
    font-size: 0.865rem;
    font-family: 'Poppins';
  }

  .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover {
    background-color: #100146;
    color: white
  }

.p-calendar {
  width: 100%;
}

.p-calendar .p-inputtext {
  border: none;
  cursor: pointer;
}

.p-calendar:not(.p-calendar-disabled).p-focus>.p-inputtext {
  box-shadow: none;
}

.p-datepicker-calendar>tbody>tr>td {
  padding: 0% !important;
}

.p-datepicker .p-timepicker {
  border-top: 1px solid #e5e7eb;
  padding: 0 !important;
}

.p-datepicker .p-timepicker button {
  width: unset !important;
  height: unset !important;
  color: #6b7280;
  border: 0 none;
  background: transparent;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}