/* CUSTOM CSS */
/* Overrides any classes in other css if classname already exists */

/* TEMPLATE SECTION - For All Pages */
body {
  background: #F7F7F7;
  font-size: 16px;
}

@media (min-width: 768px) {
  .row.equal {
    display: flex;
    flex-wrap: wrap;
  }
}

.no-overflow {
  overflow: unset !important;
  max-height: none !important;
}
.scroll-y {
  overflow-y: auto !important;
}
.scroll-x {
  overflow-x: auto !important;
}
.scroll-y-visible {
  overflow-y: visible !important;
}
.scroll-x-visible {
  overflow-x: visible !important;
}
.input-group-addon {
  border-radius: 0px;
}

/* DATATABLE */

.dataTable tbody tr td {
  vertical-align: middle;
}

/*==========pagination=========*/
.pagination,
.dataTables_paginate .pagination {}
.pagination li,
.dataTables_paginate .pagination li {}

.pagination li span,
.pagination li a,
.dataTables_paginate .pagination li span,
.dataTables_paginate .pagination li a {
  padding: 6px 12px !important;
  border-color: #dbdbdb !important;
  background-color: #fff !important;
  color: #37bea7;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover,
.dataTables_paginate .pagination>li>a:focus,
.dataTables_paginate .pagination>li>a:hover,
.dataTables_paginate .pagination>li>span:focus,
.dataTables_paginate .pagination>li>span:hover {
  z-index: 2;
  background-color: #37bea7 !important;
  border-color: #37bea7 !important;
  color: #fff !important;
}
.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover,
.dataTables_paginate .pagination > .disabled > a,
.dataTables_paginate .pagination > .disabled > a:focus,
.dataTables_paginate .pagination > .disabled > a:hover,
.dataTables_paginate .pagination > .disabled > span,
.dataTables_paginate .pagination > .disabled > span:focus,
.dataTables_paginate .pagination > .disabled > span:hover {
  color: #b4b4b4 !important;
  background-color: #dbdbdb !important;
  border-color: #dbdbdb !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover,
.dataTables_paginate .pagination>.active>a,
.dataTables_paginate .pagination>.active>a:focus,
.dataTables_paginate .pagination>.active>a:hover,
.dataTables_paginate .pagination>.active>span,
.dataTables_paginate .pagination>.active>span:focus,
.dataTables_paginate .pagination>.active>span:hover {
  background-color: #37bea7 !important;
  border-color: #37bea7 !important;
  color: #fff !important;
}

.table>thead>tr>td {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}

div.dataTables_wrapper div.dataTables_processing {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 200px;
  height: 100px;
  margin-left: 0;
  margin-top: 0;
  text-align: center;
  padding: 15px 0 !important;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  display: flex;
  justify-content: center;
  font-size: 20px;
  align-items: center;
  transform: translate(-50%, -30%);
  line-height: normal;
  z-index: 999999;
}
div.dataTables_wrapper div.dataTables_processing i {
  display: inline-block;
}

div.dataTables_scrollBody table {
  margin-bottom: 6px !important;
}

.communication-modal .dl-horizontal {
  font-size: 14px;
}
.communication-modal .dl-horizontal dt {
  width: 100px;
  overflow: unset;
  text-overflow: unset;
  white-space: normal;
}
.communication-modal .dl-horizontal dd {
  margin-left: 120px;
}

#user_page .right_col, #user_page .top_nav {
  margin-left: 0!important;
}

.navbar .site_title {
  overflow: hidden;
}
.navbar .site_title img {
  width: auto;
  height: 100%;
  max-width: unset;
}

.nav-sm .site_title {
  display: none;
}
.nav-md .site_title_sm {
  display: none;
}

.nav_menu {
  float: unset;
  background: #EDEDED;
  border-bottom: 1px solid #D9DEE4;
  margin-bottom: 0;
  width: 100%;
  position: relative;
  display: inline-block;
}

.navbar-nav {
  margin: 0;
}

.top_nav .nav .open>a,
.top_nav .nav .open>a:focus,
.top_nav .nav .open>a:hover,
.top_nav .nav>li>a:focus,
.top_nav .nav>li>a:hover {
  background: #d4e3e0;
}
@media (min-width: 480px) {
  .nav_menu {
     position: static;
  }
}
/* dropdown for mobile*/
.dropdown-menu#menu1>li>a:focus,
.dropdown-menu#menu1>li>a:hover {
  background: #e2faeb;
}

td span {
  line-height: normal;
}

#user_page .top_nav .navbar-right {
  margin: 0;
  width: 100%;
  float: none;
}
.user-profile {
  text-align: left;
}
.user-profile .user-text {
  display: flex;
  flex-direction: column;
  line-height: normal;
}
.user-profile .user-text .date {
  font-size: 12px;
  margin-top: 6px;
}
.user-profile .fa-user {
  display: none;
}

.user-notif .badge {
  font-size: 10px;
  font-weight: 400;
  line-height: 13px;
  padding: 2px 6px;
  position: absolute;
  right: 2px;
  top: 8px;
}
.user-notif-message {}
.user-notif-message li {
  background: #f7f7f7;
  padding: 5px;
  display: -ms-flexbox;
  display: flex;
  margin: 6px 6px 0;
  width: 96%!important;
}
.user-notif-message li:last-child {
  margin: 6px;
  text-align: center;
}
.user-notif-message li a {
  padding: 3px 5px!important;
  white-space: normal;
  position: relative;
  display: block;
}
.user-notif-message li a .user-notif-higlight {
  position: absolute;
  background-color: #d46f63;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}
.user-notif-message li a .user-notif-name {
  display: block;
  font-weight: 700;
}
.user-notif-message li a .user-notif-fill {
  font-size: 11px;
}
.user-notif-message li a .user-notif-time {
  color: #37bea7;
}

ul.message-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
ul.message-list li {
  background-color: #EDEDED;
  margin-bottom: 15px;
}
ul.message-list li button,
ul.message-list li a {
  display: block;
  white-space: normal;
  position: relative;
  padding: 10px;
  width: 100%;
  border: none;
}
ul.message-list li button .user-notif-higlight,
ul.message-list li a .user-notif-higlight {
  position: absolute;
  background-color: #d46f63;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
}
ul.message-list li button .user-notif-name,
ul.message-list li a .user-notif-name {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}
ul.message-list li button .user-notif-name span,
ul.message-list li a .user-notif-name span {
  width: 75%;
  font-weight: 700;
}
ul.message-list li button .user-notif-name .time,
ul.message-list li a .user-notif-name .time {
  color: #37bea7;
}
ul.message-list li button .user-notif-fill,
ul.message-list li a .user-notif-fill {
  text-align: left;
}

#bygp-main-nav {
  position: relative;
  width: 100%;
  height: 57px
}

#bygp-desktop-nav {
  text-align: center;
  float: none;
  height: 100%;
  display: none;
}

#bygp-desktop-nav > ul > li.active > a {
  border-bottom: 3px solid #37bea7;
  background: linear-gradient(0deg,rgba(59,221,124,.2),rgba(59,221,116,.0875) 50%,rgba(59,221,124,.1));
  color: #37bea7!important;
  font-weight: 700;
}

#bygp-mobile-nav {
  position: absolute;
  left: 2rem;
  top: 0;
}

#bygp-mobile-nav ul#menu1 > li.active > a {
  border-left: 3px solid #37bea7;
  background: linear-gradient(90deg,rgba(59,221,124,.2),rgba(59,221,116,.0875) 50%,rgba(59,221,124,.1));
  color: #37bea7!important;
  font-weight: 700;
}

@media (min-width: 992px) {
  a#bygp-main-logo {
    position: absolute;
    left: 2rem;
    top: 0;
  }

  #bygp-desktop-nav {
    display: inline-block;
  }

  #bygp-mobile-nav {
    display: none;
  }
}

#menu1 {
  left: 0%;
  width: 50vw;
}

@media (max-width: 767px){
  .navbar-nav .open #menu1.dropdown-menu .dropdown-header,
  .navbar-nav .open #menu1.dropdown-menu>li>a {
    padding: 1em 1.5em;
  }
}

.page-title .title_left h3 {
  color: #37bea7;
}

.page-title .title_center {
  width: 100%;
  float: unset;
  display: block;
}

.page-title .title_center h3 {
  color: #37bea7;
  text-align: center;
}

.modal .modal-dialog {
  margin-top: 150px;
}

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

.modal .modal-header {
  background-color: #37bea7;
  color: #fff;
}

.modal .modal-header button.close {
  color: #fff;
  opacity: 1!important;
}

@media (max-width: 767px) {
  .modal .modal-dialog {
    margin-top: 30px;
  }
}

.user_footer {
  margin-left: 0;
}

/* CALENDAR SECTION - For Calendar Page */

#bygp-clinic-dropdown > button.list-group-item {
    padding: .5rem 1rem
}

#bygp-calendar .x_panel {
  padding: 10px 0;
}

#bygp-calendar-datepicker .datepicker.datepicker-inline {
  margin: 0 auto;
}

.bygp-calendar-toggler {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: fit-content;
}

#bygp-appointment-overview .appointment-staff-name {
  font-size: 16px;
  min-width: 500px;
}

/* #bygp-appointment-overview .clinic-name-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: rgb(242, 245, 247);
} */

/* #bygp-appointment-overview .appointment-clinic-list .panel-body {
  max-height: 200px;
  overflow-y: auto;
} */

#bygp-appointment-overview td.clinic-time {
    width: 4em;
}

#bygp-appointment-overview td.dropdown-options {
    width: 50px;
}

#bygp-appointment-overview .btn-group.btn-appointment-dropdown > button,
#bygp-appointment-overview button.btn-opt {
  float: right;
  margin: 0;
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0;
}

#bygp-appointment-overview tr.bg-cream .btn-appointment-dropdown > button,
#bygp-appointment-overview tr.bg-lightgray .btn-appointment-dropdown > button{
  color: #000!important;
  border-color: #000!important;
}

#bygp-appointment-overview .btn-group.btn-appointment-dropdown > .dropdown-menu {
  float: right!important;
  left: unset!important;
  right: 0!important;
  border-radius: 0;
}

#bygp-calendar-system table .appointment-time {
    width: 4em;
}

#bygp-calendar-system table .appointment-slot {
    height: 5px;
    margin: 0;
    padding: 0;
}

#datatable-select-patient .address_wrap  {
  width: 250px;
}

#bygp-calendar-datepicker .datepicker,
#bygp-calendar-datepicker .table-condensed {
  width: 100%;
}

/* CLINIC SETTINGS MODULE */

#bygp-clinic-settings-modal .modal-body .thumbnail > img {
  max-height: 100px;
  max-width: 150px;
  width: auto;
}

#bygp-clinic-settings-modal .modal-body .thumbnail {
  height: auto;
}

#bygp-upsert-modal .cover .modal-body,
#bygp-upsert-modal .disease .modal-body,
#bygp-upsert-modal .staff .modal-body {
  max-height: 275px;
  overflow-y: auto;
}

#input-clinic-dates.has-datepicker[readonly] {
  background-color: #fff;
}

div.table-slot-wrapper {
  height: 200px;
  overflow-y: scroll
}

span.delete-clinic-profile {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 3px;
  right: 3px;
  border-radius: 50%;
  background: rgb(255 0 0 / 60%);
  text-align: center;
  color: #fff;
  font-size: 11px;
  padding: 1px;
}

select.status {
  font-size: 12px;
  height: 25px;
  padding: 1px 12px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}
select.status option{
  color: #000;
}

/* END OF CLINIC SETTINGS MODULE */

/* COMMUNICATE */
#bygp-modal-communicates .modal-body .thumbnail > img {
  max-height: 100px;
  max-width: 100px;
  width: auto;
}

#bygp-modal-communicates .modal-body .thumbnail {
  height: auto;
}

/* Phone Layout */

#bygp-communicate-api-call .phone-buttons {
    background-color: #eee;
    border-radius: 2px;
}

#bygp-communicate-api-call .phone-buttons button {
  font-weight: 600;
  background-color: #37bea7!important;
  color: #fff!important;
}

#bygp-communicate-api-call .phone-buttons #input-phone-number {
  background: transparent;
  border-color: transparent transparent #333;
  /* border-bottom-color: #333; */
  text-align: center;
  outline-color: transparent;
}

/* END OF COMMUNICATE */

/* Theme Utilities */

.bg-black {
  background-color: #000!important;
  color: #fff!important;
}

.bg-blue {
  background-color: #3498DB!important;
  color: #fff!important;
}

.bg-cream {
  background-color: #FCF3CF!important;
  color: #000!important;
}

.bg-lightgray {
  background-color: #D3D3D3!important;
  color: #000!important;
}

.bg-lightmaroon {
  background-color: rgb(200, 174, 42)!important;
  color: #fff!important;
}

.bg-maroon {
  background-color: #7B241C!important;
  color: #fff!important;
}

.bg-theme {
  background-color: #37bea7!important;
  color: #fff!important;
}

.bg-yellow {
  background-color: #f2af22!important;
  color: #fff!important;
}

.bg-lightyellow {
  background-color: #f2dca2!important;
  color: #000!important;
}

.bg-red {
  background-color: #d46f63!important;
  border: none!important;
  color: #fff!important;
}

.bg-transparent,
.bg-transparent:hover,
.bg-transparent:active,
.bg-transparent:focus {
  background-color: transparent;
}

.border {
  border: 1px solid #dee2e6!important;
}

.border-left {
  border-left: 1px solid #dee2e6!important;
}

.border-right {
  border-right: 1px solid #dee2e6!important;
}

.border-top {
  border-top: 1px solid #dee2e6!important;
}

.border-bottom {
  border-bottom: 1px solid #dee2e6!important;
}

.text-theme {
  color: #37bea7!important;
}

.border-0 {
  border: none!important;
}

.btn-theme {
  color:#fff!important;
  background-color:#37bea7!important;
  border-color:#37bea7!important
}

.btn-theme:focus,
.btn-theme:hover {
  color:#fff!important;
  background-color:#5db!important;
  border-color:#4cb!important
}

.btn-theme:focus {
  box-shadow:0 0 0 .2rem rgba(51,170,153,.5)!important
}

.btn-theme.active,
.btn-theme:active,
.show>.btn-theme.dropdown-toggle {
  color:#fff!important;
  background-color:#6db!important;
  border-color:#4cb!important
}

.btn-theme.active:focus,
.btn-theme:active:focus,
.show>.btn-theme.dropdown-toggle:focus {
  box-shadow:0 0 0 .2rem rgba(51,170,153,.5)!important
}

.btn-theme.disabled,
.btn-theme:disabled {
  color:#fff!important;
  background-color:#37bea7!important;
  border-color:#37bea7!important
}
.h-100 {
  height: 100%;
}
.col {
  position: relative;
  min-height: 1px;
  float: left;
  padding-right: 10px;
  padding-left: 10px;
}
.border-theme {
  border-color: #37bea7 !important;
}
.cursor-pointer {
  cursor: pointer!important;
}

.color-stat {
  display: block;
  width: 16px;
  height: 16px;
}

.nav-tabs-wrapper {
  overflow-x: auto;
}

.nav-tabs {
  width: max-content;
}

.nav-tabs li {
  display: inline-block;
  float: unset;
}

.nav-tabs,
.nav-tabs li a {
  white-space: nowrap;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
  border-bottom-color: transparent;
}

.noselect {
  cursor: default!important;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.patient_name:hover {
  text-decoration: underline;
}

.select-all {
  cursor: pointer;
}

.select-all:hover {
  color: #5db;
  text-decoration: underline;
}

.tab-content {
  background-color: #fff;
}

.tab-content .tab-pane {
  padding: 10px;
}

textarea.form-control {
  resize: vertical;
}

.text-theme {
  color: #37bea7!important;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-white {
  color: #fff!important;
}

.text-black {
  color: #000!important;
}

.valign-middle,
.valign-middle td {
  vertical-align: middle!important;
}

.w-auto {
  width: auto;
}

.w-50 {
  width: 50%!important;
}

.w-100 {
  width: 100%!important;
}

.w-75px {
  width: 75px!important;
}

.w-80px {
  width: 80px !important;
}

.w-100px {
  width: 100px !important;
}

.registration_form{
  position: relative;
  top: 0;
  width: 100%
}

.select2-container .select2-selection--multiple {
  min-height: 34px;
  border-radius: 0;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

.login_wrapper {
  margin: 0 auto 0;
  max-width: 500px;
}
.login_wrapper .wrap {
  background-color: #2B3E54;
  padding: 20px;
}
.login_wrapper .wrap h2 {
  text-shadow: none;
  color: #fff;
}

.login_content {
  padding: 0;
}

.login_content input.form-control {
  height: 42.59px;
}

.form-horizontal .control-label {
  padding-top: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  font-size: 14px;
}

/*====== Radio button custom ========*/
.custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 1rem;
  height: 1.25rem;
  opacity: 0;
}
.custom-radio:not(.thumb) {
  padding-left: 0;
}
.custom-radio .custom-control-label {
  margin-top: 0;
  position: relative;
  display: block;
  padding: 10px 10px 10px 40px;
  border-radius: 4px;
  background: white;
  border: 1px solid #3CBEA6;
  cursor: pointer;
  font-size: 14px;
  top: unset;
  opacity: unset;
  left: unset;
  margin-bottom: 15px;
  vertical-align: top;
  color: #474c58;
  text-align: left;
  font-weight: normal;
}
.custom-radio .custom-control-label:before {
  position: absolute;
  display: block;
  pointer-events: none;
  content: '';
  top: 50%;
  left: 10px;
  border: 2px solid #3CBEA6;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(0, -50%);
}
.custom-radio .custom-control-label:after {
  top: 50%;
  left: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  display: block;
  content: '';
  background: 50%/50% 50% no-repeat;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label {
  background-color: #3CBEA6;
  color: #fff;
  border-color: #3CBEA6;
  box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}
.custom-radio .custom-control-input:checked~.custom-control-label::before {
  background-color: #fff;
  border: none;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
  border-color: #3CBEA6;
  content: "\F00C";
  color: #3CBEA6;
  font-family: "FontAwesome";
  font-size: 10px;
  border-radius: 50%;
  line-height: 1;
  top: 50%;
  left: 16px;
  transform: translate(0, -50%);
  width: 10px;
  height: 10px;
}
.custom-radio .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: none;
}
.custom-radio.thumb .custom-control-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  font-size: 14px;
}
.custom-radio.thumb .custom-control-label:before, .custom-radio.thumb .custom-control-label:after {
  display: none;
}
.custom-radio.thumb .custom-control-label img {
  width: 100%;
  height: auto;
  max-width: 70px;
  max-height: 70%;
  display: inline-block;
  object-fit: cover;
  margin-bottom: 23px;
  filter: grayscale(100%) opacity(70%);
}
.custom-radio.thumb .custom-control-input:checked ~ .custom-control-label img {
  filter: grayscale(0) opacity(100%);
}

.wizard_horizontal ul.wizard_steps {
  display: flex;
  list-style: none;
  position: relative;
  width: 100%;
  margin: 0 0 20px;
  justify-content: space-between;
  align-items: flex-start;
  /* flex-wrap: wrap; */
}
.wizard_horizontal ul.wizard_steps li {
  display: block;
  text-align: center;
  flex: 1 1 33.3333%;
}

.calendar_datepicker {
  min-height: 525px;
  overflow-y: auto;
  height: 265px;
}
.ui-widget-header {
  border: none;
  background: transparent;
  color: #73879C;
}
.ui-widget-content {
  color: #73879C;
}
.calendar_datepicker .ui-datepicker .ui-datepicker-title {
  margin: 0 !important;
  width: 100%;
  color: #73879C;
  text-transform: uppercase;
  font-size: 14px;
  background: none !important;
}
.calendar_datepicker .ui-datepicker .ui-datepicker-prev,
.calendar_datepicker .ui-datepicker .ui-datepicker-next {
  display: none;
}
.ui-datepicker .ui-datepicker-title {
  line-height: 35px !important;
  color: #73879C;
  text-transform: uppercase;
  font-size: 14px;
}
.calendar_datepicker .ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
}
.calendar_datepicker .ui-datepicker.ui-datepicker-multi,
.ui-datepicker-multi .ui-datepicker-group {
  width: 100% !important;
}
.calendar_datepicker .ui-datepicker-multi .ui-datepicker-group {
  margin-bottom: 15px;
}
.calendar_datepicker .ui-state-default,
.ui-widget-content .ui-state-default,
.calendar_datepicker .ui-widget-header .ui-state-default {
  border: 1px solid transparent;
  background: transparent;
  font-weight: normal;
  color: #73879C;
}
.calendar_datepicker .ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.calendar_datepicker .ui-widget-header .ui-state-highlight {
  border: 1px solid #37bea7;
  background: transparent;
  color: #37bea7;
}
.ui-datepicker .ui-datepicker-calendar .ui-state-highlight a,
.calendar_datepicker .ui-state-active,
.ui-widget-content .ui-state-active,
.calendar_datepicker .ui-widget-header .ui-state-active {
  border: 1px solid #37bea7;
  background: #37bea7;
  color: #fff;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  border: 1px solid #37bea7;
  background: #37bea7;
  font-weight: normal;
  color: #fff;
}
.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: 0.2em;
  text-align: center;
  text-decoration: none;
}
.calendar_datepicker .ui-state-hover a,
.calendar_datepicker .ui-state-hover a:hover,
.calendar_datepicker .ui-state-hover a:link,
.calendar_datepicker .ui-state-hover a:visited,
.calendar_datepicker .ui-state-focus a,
.calendar_datepicker .ui-state-focus a:hover,
.calendar_datepicker .ui-state-focus a:link,
.calendar_datepicker .ui-state-focus a:visited {
  color: #2b2b2b;
  text-decoration: none;
}
.previous_months_datepicker {
  background: url(../images/ui-icon-calendar-small.png) no-repeat 4px 10px;
  padding: 14px 10px 10px 38px;
  border: 1px solid #ddd;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  margin: 0;
}

.bygp-upsert-modal .disease .disease-checklists .checklists-items {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 128px;
}
.modal-op {
  overflow: hidden;
}
.modal-op .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.actionBar {
  padding-bottom: 0;
}

#audit-modal .accordion .panel:hover {
  background: transparent;
}

.dataTable th input {
  width: 100% !important;
}
.dataTable th .StartDate,
.dataTable th .EndDate {
  width: 90px !important;
}
table.dataTable.dtr-inline.collapsed>tbody>tr>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th:first-child:before {
  top: 50%;
  transform: translate(0, -50%);
}
.note-item:hover {
  cursor: pointer;
}

.copy_nhs_num_to_clipboard {
  cursor: pointer!important;
}
.main_menu_side.overflow-auto {
  overflow-y: scroll;
  mask-image: linear-gradient(to top, transparent, black),
    linear-gradient(to left, transparent 17px, black 17px);
  mask-size: 100% 20000px;
  mask-position: left bottom;
  -webkit-mask-image: linear-gradient(to top, transparent, black),
    linear-gradient(to left, transparent 17px, black 17px);
  -webkit-mask-size: 100% 20000px;
  -webkit-mask-position: left bottom;
  transition: mask-position 0.3s, -webkit-mask-position 0.3s;

  max-height: 100vh;
  padding-bottom: 8rem;
  /* overflow: hidden;
  transition: all 0.2s ease; */
}
.main_menu_side.overflow-auto:hover {
  -webkit-mask-position: left top;
}
/* .main_menu_side.overflow-auto:hover {
  overflow-y: auto;
  transition: all 0.2s ease;
} */

.questionnaire .form-check {
  display: inline-block;
  margin-right: 1rem;
}

.questionnaire .form-check input[type="radio"],
.questionnaire .form-check input[type="checkbox"] {
  display: none;
}

.questionnaire .form-check input[type="radio"]:checked + label,
.questionnaire .form-check input[type="checkbox"]:checked + label {
  color: white;
  background-color: #37bea7;
  position: relative;
}

.questionnaire .form-check input[type="radio"] + label:before,
.questionnaire .form-check input[type="checkbox"] + label:before {
  content: '';
  width: 20px;
  height: 20px;
  margin-right: .5rem;
  border: 1px solid #37bea7;
  background-color: white;
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.questionnaire .form-check input[type="radio"] + label:before {
  border-radius: 50%;
}

.questionnaire .form-check input[type="radio"]:checked + label:after,
.questionnaire .form-check input[type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  transform: translateY(-50%);
}

.questionnaire .form-check input[type="radio"]:checked + label:after {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #37bea7;
  top: 54%;
  left: 17px;
}

.questionnaire .form-check input[type="checkbox"]:checked + label:after {
  width: 15px;
  height: 8px;
  border-left: 3px solid #37bea7;
  border-bottom: 3px solid #37bea7;
  left: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.questionnaire .form-check-label,
.questionnaire .form-control {
  border: 1px solid #37bea7;
}

.questionnaire .form-check-label {
  line-height: 50px;
  padding: 0 1.2rem;
  cursor: pointer;
}

.questionnaire .form-control,
.questionnaire input.form-control {
  height: 50px;
}

.questionnaire button {
  min-width: 200px;
  height: 50px;
}

.book-blok {
  border: 2px solid #37bea7;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
}
.book-blok .book-desc {}
.book-blok .book-desc h1 {
  font-size: 30px;
  color: black;
}
.book-blok .book-desc h3 {
  font-size: 18px;
  color: #37bea7;
}
.book-blok .btn-act {
  align-self: flex-end;
}
.book-blok .btn-act .btn {
 border-radius: 10px;
}
.title-tutor {
  font-size: 28px;
}
.title-desk {
  font-size: 18px;
}
.title-desk .btn-link {
  font-size: 18px;
  text-decoration: underline;
  color: #37bea7;
  font-weight: 500;
}

.toggle_switch {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
.switch input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

.switch label {
	cursor: pointer;
	text-indent: -9999px;
	width: 60px;
  height: 30px;
	background: grey;
	display: inline-block;
	border-radius: 100px;
	position: relative;
  margin-bottom: 0;
}

.switch label:after {
	content: '';
	position: absolute;
	top: 5px;
	left: 5px;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 90px;
	transition: 0.3s;
}

.switch input:checked + label {
	background: #1abb9c;
}

.switch input:checked + label:after {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

.switch label:active:after {
	width: 130px;
}

/* Desktop large
------------------------- */
@media (max-width: 1200px) {
  .border-lg {
    border: 1px solid #dee2e6!important;
  }

  .border-lg-left {
    border-left: 1px solid #dee2e6!important;
  }

  .border-lg-right {
    border-right: 1px solid #dee2e6!important;
  }

  .border-lg-top {
    border-top: 1px solid #dee2e6!important;
  }

  .border-lg-bottom {
    border-bottom: 1px solid #dee2e6!important;
  }

  .border-lg-0 {
    border: none!important;
  }
}
/* Desktop
------------------------- */
@media (min-width: 992px) {
  .modal-lg {
    width: 1080px;
  }
  .border-md {
    border: 1px solid #dee2e6!important;
  }

  .border-md-left {
    border-left: 1px solid #dee2e6!important;
  }

  .border-md-right {
    border-right: 1px solid #dee2e6!important;
  }

  .border-md-top {
    border-top: 1px solid #dee2e6!important;
  }

  .border-md-bottom {
    border-bottom: 1px solid #dee2e6!important;
  }

  .border-md-0 {
    border: none!important;
  }

  .nav-tabs {
    width: 100%;
  }
}
/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
  .border-sm {
    border: 1px solid #dee2e6!important;
  }

  .border-sm-left {
    border-left: 1px solid #dee2e6!important;
  }

  .border-sm-right {
    border-right: 1px solid #dee2e6!important;
  }

  .border-sm-top {
    border-top: 1px solid #dee2e6!important;
  }

  .border-sm-bottom {
    border-bottom: 1px solid #dee2e6!important;
  }

  .border-sm-0 {
    border: none!important;
  }

  .nav-tabs {
    width: 100%;
  }
}
/* Tablet
------------------------- */
@media (max-width: 767px) {
  .advance-update .x_title h2 {
    font-size: 15px;
    width: 100%;
  }
  .advance-update .form-horizontal .btn {
    width: auto !important;
    margin-top: 1.5rem;
  }
  .modal-xl {
    width: 90%;
    max-width:1200px;
  }
  .border-xs {
    border: 1px solid #dee2e6!important;
  }

  .border-xs-left {
    border-left: 1px solid #dee2e6!important;
  }

  .border-xs-right {
    border-right: 1px solid #dee2e6!important;
  }

  .border-xs-top {
    border-top: 1px solid #dee2e6!important;
  }

  .border-xs-bottom {
    border-bottom: 1px solid #dee2e6!important;
  }

  .border-xs-0 {
    border: none!important;
  }
}
/* Mobile
------------------------- */
@media (max-width: 480px) {
  .advance-update .col-xs-6 {
    width: 100% !important;
  }
  #bygp-main-logo img {
    width: 100px !important;
    padding: 5px 0;
  }
  .user-profile .user-text {
    display: none;
  }
  .user-profile .fa-user {
    display: inline-block;
  }

  .questionnaire .form-check {
    margin-right: 0;
    display: block;
  }
  .questionnaire button {
    width: 100%;
  }

  .questionnaire .form-check input[type="radio"] + label,
  .questionnaire .form-check input[type="checkbox"] + label {
    width: 100%;
    max-width: 480px;
  }
}
