/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1. Fonts
2. Reset
3. Header
4. Content
5. Footer
6. Override, custom
7. Responsive design
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. Fonts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
2. Reset
--------------------------------------------------------------*/
html {
  height: 100%;
}

.h5,
h5 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.font-weight-bolder {
  font-weight: 500;
}

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

body {
  color: #646567;
  position: relative;
  min-height: 100%;
}

body.sign-in {
  background-color: #f5f5f5;
  padding-top: 40px;
  padding-bottom: 40px;
}

.sign-in .logo {
  margin: 0 auto;
  position: relative;
  display: block;
  margin-bottom: 20px;
  height: 45px;
}

.modal-header,
.modal-footer {
  padding: 0.5rem 1rem;
}

.col-form-label {
  line-height: 1;
}

.bg-light {
  background: #eff0f0 !important;
}

select.form-control option:disabled {
  color: #007bff;
}

.pagination {
  display: inline-block;
}

.pagination .pages {
  padding-top: 3px;
}

.pagination .btn {
  padding: 0.15rem 0.3rem;
  border-radius: 0.2rem;
  font-size: 0.7rem;
  position: relative;
  margin-top: -2px;
}

.pagination span.icon-right-open.double:before,
.pagination span.icon-left-open.double:before {
  width: 0.6em;
  position: relative;
}

.pagination span.icon-left-open.double:before {
  left: -2px;
}

/*--------------------------------------------------------------
3. Header
--------------------------------------------------------------*/
.navbar {
  padding: 0;
  background-color: red !important;
}

.environment-production .navbar {
  background-color: #464647 !important;
}

.environment-beta .navbar {
  background-color: #034c9d !important;
}

.environment-test .navbar {
  background-color: #53362d !important;
}

.environment-localhost .navbar {
  background-color: #00904e !important;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
  background: #333;
}

.navbar-brand img {
  width: 113px;
  background: white;
  border-radius: 5px;
  padding: 0px 5px;
}

.navbar .form-inline {
  position: relative;
}

.navbar .form-inline input {
  background: #333;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  border-radius: 3px;
  padding: 3px 10px;
}

.nav-link {
  padding: 0.8rem 1.1rem;
}

#header-user {
  color: rgba(255, 255, 255, 0.5);
}

/*--------------------------------------------------------------
4. Content
--------------------------------------------------------------*/
.Homepagedefault #content,
.Homepagearticle {
  background: #eff0f0;
}

.Homepagedefault #articles-links p {
  margin-bottom: 0.5rem;
}

.Homepagedefault #articles-links p:last-child {
  margin-bottom: 0;
}

.Homepagedefault .notes {
  line-height: 1.3;
  color: #000;
}

.Homepagedefault .notes .wrapper,
.Homepagearticle #content {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 0.25rem;
}

.Homepagedefault .notes .wrapper p {
  margin-bottom: 0;
}

#frm-signInForm {
  width: 100%;
}

#frm-signInForm .form-wrapper {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

#sidebar {
  background: #eff0f0;
  border-right: 1px solid #d0d0d0;
}

#sidebar .nav-pills .show > .nav-link {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

#sidebar .nav-pills .show > .nav-link.active {
  color: #fff;
  background-color: #007bff;
}

#sidebar .btn.nav-link:before {
  content: "\e81a";
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 5px;
}

#sidebar .btn.nav-link.collapsed:before {
  content: "\e81b";
}

#sidebar #dynamic-data {
  margin-left: 1.2rem;
}

#sidebar .nav-link i {
  margin-right: 5px;
}

#sidebar .box {
  border-bottom: 1px solid #d0d0d0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.Clientsdefault .client-lectures {
  max-height: 183px;
  overflow-y: scroll;
}

.Clientsdefault #lectures .card.green .card-header,
.Clientsdefault #group-lectures .card.green .card-header {
  background-color: #28a74530;
}

.Clientsdefault #lectures .card.green .card-body,
.Clientsdefault #group-lectures .card.green .card-body {
  background-color: #28a7450f;
}

.Clientsdefault #lectures .card.yellow .card-header,
.Clientsdefault #group-lectures .card.yellow .card-header {
  background-color: #ffc10747;
}

.Clientsdefault #lectures .card.yellow .card-body,
.Clientsdefault #group-lectures .card.yellow .card-body {
  background-color: #ffc10712;
}

.Clientsdefault #lectures .card.red .card-header,
.Clientsdefault #group-lectures .card.red .card-header {
  background-color: #dc35452e;
}

.Clientsdefault #lectures .card.red .card-body,
.Clientsdefault #group-lectures .card.red .card-body {
  background-color: #dc354512;
}

.Clientsdefault #lectures .card.blue .card-header,
.Clientsdefault #group-lectures .card.blue .card-header {
  background-color: #007bff30;
}

.Clientsdefault #lectures .card.blue .card-body,
.Clientsdefault #group-lectures .card.blue .card-body {
  background-color: #007bff12;
}

.Clientsdefault #lectures .card.dark .card-header,
.Clientsdefault #group-lectures .card.dark .card-header {
  background-color: #343a40;
  color: white;
}

.Clientsdefault #lectures .card.dark .card-body,
.Clientsdefault #group-lectures .card.dark .card-body {
  background-color: #343a400d;
}

.Clientsdefault #lectures .card-header .title-wrapper,
.Clientsdefault #group-lectures .card-header .title-wrapper {
  width: 6%;
  padding: 2px 0;
}

.Clientsdefault #lectures .card-header .date-wrapper,
.Clientsdefault #group-lectures .card-header .date-wrapper {
  width: 11%;
}

.Clientsdefault #lectures .card-header .service-wrapper,
.Clientsdefault #group-lectures .card-header .service-wrapper {
  width: 25%;
}

.Clientsdefault #lectures .card-header .therapist-wrapper,
.Clientsdefault #group-lectures .card-header .therapist-wrapper {
  width: 18%;
}

.Clientsdefault #lectures .card-header .payment-wrapper,
.Clientsdefault #group-lectures .card-header .payment-wrapper,
.Clientsdefault #lectures .card-header .note-wrapper,
.Clientsdefault #group-lectures .card-header .note-wrapper {
  width: 14%;
}

.Clientsdefault #prices .table th.service {
  width: 25%;
}

.Clientsdefault #prices .table th.price-DPH,
.Clientsdefault #prices .table th.price-a-DPH,
.Clientsdefault #prices .table th.price-b-DPH {
  width: 10%;
}

.Clientsdefault #prices .table th.DPH {
  width: 5%;
}

.Clientsdefault #prices .table th.discount-note {
  width: 15%;
}

.Clientsdefault #prices .table th.date-end {
  width: 10%;
}

.Clientsdefault #prices .table th.max-units {
  width: 5%;
}

.Clientsdefault #prices .table th.units-left {
  width: 5%;
}

.input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]),
.input-group-sm > .input-group-append > select.input-group-text:not([size]):not([multiple]),
.input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]),
.input-group-sm > .input-group-prepend > select.input-group-text:not([size]):not([multiple]),
.input-group-sm > select.form-control:not([size]):not([multiple]),
select.form-control-sm:not([size]):not([multiple]) {
  height: calc(1.8125rem);
}

.Clientsdefault #lectures .reservation {
  overflow: hidden;
}

#client-edit-box select {
  height: 31px;
}

#client-edit-box #frm-clientEditBoxForm-clientId,
#client-edit-box #frm-clientEditBoxForm-sex {
  width: 9%;
}

#client-edit-box #frm-clientEditBoxForm-declaration,
#client-edit-box #frm-clientEditBoxForm-lead_source {
  width: 13%;
}

#client-edit-box #frm-clientEditBoxForm-insurance {
  width: 15%;
}

#client-top-info-box {
  color: #fff;
}

#client-top-info-box .form-control,
#client-top-info-box .input-group-text {
  padding: 0.15rem 0.5rem;
}

#client-top-info-box .form-control:focus {
  border: 1px solid #ced4da;
  box-shadow: none;
}

#balance-group {
  width: 155px;
}

#balance-group.with-debt-lectures {
  width: 200px;
}

#client-cart-price-group {
  width: 125px;
}

#client-edit-box input[type="number"],
#cart-total input[type="number"] {
  -moz-appearance: textfield;
  text-align: right;
}

.table.ap-table-sm {
  zoom: 0.9;
}

#cart .table.ap-table-sm td:not(.actions) {
  cursor: pointer;
}

.table .actions {
  text-align: right;
}

#client-edit-box #born {
  width: 16%;
}

#client-edit-box #frm-clientEditBoxForm-surname,
#client-edit-box #frm-clientEditBoxForm-name,
#client-edit-box #frm-clientEditBoxForm-phone,
#client-edit-box #frm-clientEditBoxForm-phone_2,
#client-edit-box #frm-clientEditBoxForm-birth_number,
#client-edit-box #frm-clientEditBoxForm-reg_date {
  width: 16%;
}

#client-edit-box #frm-clientEditBoxForm-email,
#client-edit-box #frm-clientEditBoxForm-email_2 {
  width: 24%;
}

#client-edit-box label.first-in-line {
  width: 6.5%;
  text-align: left;
  justify-content: left;
}

#client-edit-box #frm-clientEditBoxForm-profession {
  width: 38%;
}

#client-edit-box #notes-wrapper,
#client-edit-box #private-wrapper {
  width: 40%;
}

#client-edit-box #frm-clientEditBoxForm-notes,
#client-edit-box #frm-clientEditBoxForm-private_note {
  height: 100px;
  resize: none;
  overflow: auto;
}

#client-edit-box #frm-clientEditBoxForm-notes {
  width: 100%;
}

#conflicts-wrapper,
#reminders-wrapper,
#clients-to-pay-wrapper {
  max-height: 250px;
  overflow-y: auto;
}

#conflicts .conflict-lecture,
#lectures-group-reminders .reminders,
#lectures-created-web .reminders,
#clients-opened .clients,
#incomplete-lectures .lectures,
#clients-to-pay .clients {
  border-left: 4px solid #dc3545;
  margin-bottom: 7px;
  font-size: 0.75rem;
  line-height: 1rem;
  cursor: pointer;
}

#lectures-group-reminders .reminders {
  border-left: 4px solid #f98915;
  padding-right: 30px;
}

#lectures-created-web .reminders {
  border-left: 4px solid #fff700;
}

#incomplete-lectures .lectures {
  border-left: 4px solid #28a745;
}

#incomplete-lectures .lectures.group {
  border-left: 4px solid #f98915;
}

#clients-opened .clients {
  border-left: 4px solid #007bff;
  padding-right: 25px;
}

.Clientsdefault #clientSubMenu .nav-link {
  padding: 0.5rem 1rem;
  color: #fff;
}

.Clientsdefault #clientSubMenu .nav-link {
  border-radius: 0;
}

.Clientsdefault #clientSubMenu .active .nav-link,
.Clientsdefault #clientSubMenu .nav-pills .show > .nav-link {
  background-color: #333;
}

.Clientsdefault #lectures .btn,
.Clientsdefault #reservations .btn,
.Clientsdefault #group-lectures .btn,
.Clientsdefault #group-reservations .btn {
  zoom: 0.8;
}

.Clientsdefault #clients-to-pay .clients.active {
  background: #dc35452e;
}

.Clientsdefault #incomplete-lectures .lectures.active {
  background: #28a74530;
}

.Clientsdefault #incomplete-lectures .lectures.group.active {
  background: #ffc10747;
}

.Clientsdefault #clients-opened .clients.active {
  background: #d1ecf1;
}

.card .card-header {
  padding: 0.5rem 0.75rem;
}

.card .card-body {
  padding: 0.75rem;
}

.card-header .btn.btn-sm {
  zoom: 0.9;
}

.input-group-append .btn-sm {
  padding: 0.2rem 0.4rem;
}

.card-header.bg-red {
  background: #dc35452e;
}

.card-header.bg-yellow {
  background: #ffc10747;
}

.card-header.bg-green {
  background: #28a74530;
}

.card-header.bg-blue {
  background: #007bff30;
}

#client-edit-box,
#right-sidebar {
  background: #eff0f0;
}

#right-sidebar {
  border-left: 1px solid #d0d0d0;
}

#conflicts .conflict-lecture .card-body,
#lectures-group-reminders .reminders .card-body,
#lectures-created-web .reminders .card-body,
#clients-opened .clients .card-body,
#incomplete-lectures .lectures .card-body,
#clients-to-pay .clients .card-body {
  padding: 0.25rem 0.5rem;
}

#conflicts .conflict-lecture .date,
#lectures-group-reminders .reminders .date,
#lectures-created-web .reminders .date {
  font-weight: bold;
}

#lectures-created-web .reminders .badge {
  top: 3px;
  position: relative;
}

#lectures-created-web .reminders .badge .icon-dollar {
  zoom: 0.8;
}

#conflicts .conflict-lecture .therapist,
#lectures-created-web .therapist {
  opacity: 0.5;
}

#lectures-group-reminders .reminders .remove,
#clients-opened .clients .remove {
  line-height: 1rem;
  position: absolute;
  right: 4px;
  top: 3px;
}

#datepicker {
  font-size: 0.9em;
}

#datepicker .datepicker-days > table > thead > tr:first-child {
  border-bottom: 1px solid #d0d0d0;
}

#datepicker .bootstrap-datetimepicker-widget table th {
  font-weight: normal;
  text-transform: capitalize;
  border: 0;
  line-height: 26px;
}

#datepicker .bootstrap-datetimepicker-widget table td.day.new,
#datepicker .bootstrap-datetimepicker-widget table td.day.old {
  color: #868e96;
  background: #fff;
}

#datepicker .bootstrap-datetimepicker-widget table td.day {
  background: #d6ffd6;
}

#datepicker .bootstrap-datetimepicker-widget table td.day.active {
  background: #464647;
}

#datepicker .bootstrap-datetimepicker-widget table td.active,
#datepicker .bootstrap-datetimepicker-widget table td.active:hover {
  background: #464647;
  color: #fff;
  border-radius: 0px;
}

#snippet--flashFixed {
  position: absolute;
  z-index: 11;
  width: 50%;
  top: 10px;
  margin-left: 25%;
}

.fc-nonbusiness {
  background: #ababab;
}

.fc-toolbar .fc-left {
  position: absolute;
}

#calendar .fc-view-container {
  overflow-x: scroll;
}

#calendar .fc-view.fc-agendaWeek-view {
  width: 1439px; /*200px x 7 days + 39px*/
}

#calendar .fc-header-toolbar {
  background: #eff0f0;
  border-bottom: 1px solid #d0d0d0;
  margin: 0;
  padding: 5px 10px;
  line-height: 1;
  height: 40px;
}

#calendar .fc-header-toolbar h2 {
  font-size: 14px;
  line-height: 30px;
}

#calendar .fc-button {
  background: #6c757d;
  color: #fff;
  border: 0;
  height: 30px;
  font-size: 14px;
  text-shadow: none;
}

#calendar .fc-prev-button .fc-icon,
#calendar .fc-next-button .fc-icon {
  margin: 0;
}

#calendar .fc-button-group .fc-button:not(.fc-state-active) {
  color: #646567;
  background: #fff;
}

#calendar .fc-today-button {
  background: #28a745;
  color: #ffffff;
  background-color: #007bff;
  border-color: #007bff;
}

#calendar .fc-head-container {
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

#calendar .fc-view > table > .fc-body > tr > .fc-widget-content {
  border-left: 0;
  border-right: 0;
  border-top-width: 2px;
}

#calendar .fc-axis.fc-time sup {
  opacity: 0.7;
  top: -0.6em;
  margin-left: 2px;
  font-size: 66%;
}

#calendar .fc-widget-header .fc-resource-cell {
  font-weight: normal;
  vertical-align: middle;
  font-size: 14px;
  padding: 5px 0;
  cursor: pointer;
}

#calendar .fc-widget-header .fc-resource-cell:hover {
  transition: background 0.3s;
  background: #ddd;
}

#calendar .fc-photo {
  width: 35px;
  height: 35px;
  border-radius: 25px;
  border: 1px solid #d0d0d0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#calendar .fc-photo-empty {
  font-size: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 2px;
  position: relative;
  top: -2px;
}

#calendar .fc-header-toolbar .user,
#calendar .fc-header-toolbar .room {
  line-height: 30px;
  font-size: 14px;
}

#calendar .fc-header-toolbar .user .fc-photo {
  zoom: 0.8;
  top: -1px;
}

#calendar .fc-event {
  border-radius: 0;
  background: #fff !important;
  border-color: #999 !important;
  padding: 4px 4px 4px 8px;
}

#calendar .fc-event.ap-event-6 {
  background: #fff !important;
}

#calendar .fc-event.not-order,
.Calendardefault .not-order {
  background: #e4c1e4 !important;
}

#calendar .fc-event.problem-client,
.Calendardefault .problem-client {
  background: #fde7a5 !important;
}

#calendar .fc-event.ap-event-6 .fc-title {
  font-weight: normal;
}

#calendar .fc-event:before,
#legend .item:before {
  content: "";
  left: 0;
  top: 0;
  position: absolute;
  height: 100%;
  width: 4px;
}

#legend #shortcut-popover {
  padding: 0;
  font-size: 14px;
  line-height: 20px;
}

#lectureModal .group-items {
  background: rgba(255, 165, 0, 0.1);
}

#lectureModal .online-items {
  background: rgba(0, 181, 239, 0.1);
}

#depositModal .benefit-items {
  background: rgba(76, 239, 0, 0.1);
}

#depositModal .gift-card-items {
  background: rgba(255, 255, 0, 0.1);
}

#giftCardModal .deposit-gift-card-items {
  background: rgba(255, 255, 0, 0.1);
}

#giftCardModal .barter-gift-card-items {
  background: rgba(120, 120, 120, 0.1);
}

#lectureModal .repeat-items,
#nonWorkingEventModal .repeat-items {
  background: rgba(0, 172, 199, 0.1);
  margin-top: -1px;
}

#lectureModal .repeat-items .form-check-inline:last-child,
#nonWorkingEventModal .repeat-items .form-check-inline:last-child {
  margin-right: 0;
}

#lectureModal #room-lecture-wrapper .btn-link {
  text-decoration: none;
  position: relative;
  top: -2px;
  font-size: 90%;
}

#legend {
  font-size: 14px;
  padding: 5px 15px;
  background: #eff0f0;
  border-top: 1px solid #d0d0d0;
}

#legend .item {
  position: relative;
  padding-left: 15px;
  margin-right: 20px;
}

#legend .item:before {
  height: 10px;
  width: 10px;
  top: 5px;
}

#legend #select-insert-mode {
  background-position: right 0.5rem center;
}

#legend #select-insert-mode {
  height: calc(1.3rem + 2px);
  padding: 0.2rem 1rem 0.2rem 0.5rem;
  font-size: 80%;
  margin-top: -2px;
  line-height: 0.6rem;
}

.basic-log {
  font-size: 85%;
}

body.popovers-disabled .popover {
  display: none !important;
}

.popover.popover-6 .popover-header {
  font-weight: normal;
}

.popover .popover-body {
  padding: 0;
}

.popover .ap-popup-content {
  padding: 0.5rem 0.75rem;
}

.popover-sm.popover .popover-header {
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
}

.popover-sm.popover .ap-popup-content {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
}

.popover .ap-popup-content#shortcut-content {
  font-size: 79%;
}

.popover .ap-popup-content#shortcut-content p {
  margin-bottom: 0.7rem;
}

.popover .ap-popover {
  text-align: center;
  padding: 2px 0;
  color: #fff;
}

#calendar .fc-header-toolbar .fc-center {
  margin-left: -60px;
}

#calendar .fc-event.ap-event-1:before,
#legend .item.red:before,
.popover .ap-popover.red {
  background: #dc3545;
}

#calendar .fc-event.ap-event-2:before,
#legend .item.yellow:before,
.popover .ap-popover.yellow {
  background: #fff700;
  color: #646567;
}

#calendar .fc-event.ap-event-3:before,
#legend .item.blue:before,
.popover .ap-popover.blue {
  background: #007bff;
}

#calendar .fc-event.ap-event-4:before,
#legend .item.green:before,
.popover .ap-popover.green {
  background: #28a745;
}

#calendar .fc-event.ap-event-5:before,
#legend .item.orange:before,
.popover .ap-popover.orange {
  background: #f98915;
}

#calendar .fc-event.ap-event-6:before,
#legend .item.grey:before,
.popover .ap-popover.grey {
  background: #999;
}

#calendar .fc-event.ap-client-late:before,
#legend .item.black:before,
.popover .ap-popover.black {
  background: #000;
}

#calendar .fc-event .fc-time {
  font-size: 90%;
  opacity: 0.7;
  display: none;
}

#calendar .fc-event .fc-title .badge {
  margin-left: 2px;
}

#calendar .fc-event .fc-title .badge .icon-dollar {
  font-size: 94%;
}

#calendar .fc-event .fc-title {
  font-weight: bold;
}

#calendar .fc-event.ap-event-6 .fc-title,
#calendar .fc-event .fc-description {
  font-size: 90%;
  opacity: 0.9;
}

#calendar .fc-event .fc-description {
  margin-top: 3px;
}

#calendar.fc .fc-axis.fc-time {
  vertical-align: top;
  /*font-size: 1.2em; Cause wrong event positioning */
  text-align: center;
  color: #000;
}

/*#calendar tr [data-resource-id^="room"] {
   display: none;
}*/

.fc-unthemed td.fc-today {
  background: transparent;
}

.whisperer-wrapper {
  position: relative;
}

#lectureModal #serviceLecture option:not(:first-child):not(:disabled),
#lectureModal #roomLecture option:not(:first-child):not(:disabled) {
  display: none;
}

.search .clients-results {
  position: absolute;
  top: 35px;
  left: 42px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

.navbar .search .clients-results {
  top: 25px;
  left: 0;
  width: 300px;
}

.clients-results .dropdown-item {
  padding: 0.25rem 0.75rem;
}

.search .clients-results small {
  font-size: 85%;
}

.search .clients-list .icon-frown,
.search .clients-list .icon-error {
  margin-top: 4px;
  margin-left: 3px;
}

.search .dropdown-item {
  font-size: 15px;
}

.search .dropdown-item.disabled,
.search .dropdown-item:disabled {
  color: #cacbcc;
}

.search .dropdown-item small {
  opacity: 0.7;
}

.search .clients-list {
  margin-top: 5px;
}

.search .clients-list .client:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}

.search .clients-list .client a i {
  width: 16px;
}

.search .clients-list .client .client-link {
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
  text-decoration: none;
  position: relative;
}

.search .clients-list .client a.remove {
  top: -2px;
}

.search .clients-list .client a.edit {
  font-size: 80%;
  top: 1px;
}

.search .clients-list .client a.name-edit {
  top: -3px;
}

.search .clients-list .client a.open-dz {
  font-size: 85%;
  padding-right: 1px;
}

.search .clients-list .client a.send-sms,
.search .clients-list .client a.send-email {
  font-size: 80%;
  line-height: 1.7em;
}

.search .clients-list .client a.send-email {
  font-size: 91%;
  top: -2px;
}

.search .clients-list .client a.remove:hover {
  opacity: 1;
}

.search .clients-list .client .badge {
  font-size: 9px;
  top: 5px;
  position: relative;
}

.search .select-results-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  position: absolute;
  width: 100%;
  z-index: 1;
  background: #fff;
}

.search .btn-show-select {
  text-align: left;
  position: relative;
  border: 1px solid #ced4da;
  background: #fff;
  padding-right: 2rem;
}

.search .btn-show-select > span {
  position: relative;
  overflow: hidden;
  display: block;
}

.search .btn-show-select:hover {
  color: #6c757d;
}

.search .btn-show-select.focus,
.search .btn-show-select:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search .btn-show-select:after {
  position: absolute;
  right: 15px;
  top: 42%;
}

.search .select-results {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}

.search .btn-load-select:after {
  cursor: pointer;
}

.search .btn-load-select:after {
  display: inline-block;
  margin-left: 0.125em;
  margin-right: 0.125em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.search .btn-load-select:focus {
  outline: none;
}

.search .btn.btn-success,
.search .btn.btn-primary,
.btn-bottom {
  bottom: 0;
  position: absolute;
  right: 15px;
}

.search .whisperer-wrapper .btn-group .btn:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.Calendardefault .search .btn.btn-success {
  position: relative;
  right: 0;
}

.search .search-wrapper {
  width: 100%;
}

#body-overlay,
.modal-dialog .modal-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #000000a6;
  z-index: 10;
}

.modal-dialog .modal-overlay {
  border-radius: 3px;
  left: 1px;
  right: 1px;
  top: 1px;
  bottom: 1px;
}

#deleteLectureModal .modal-dialog {
  min-width: 604px;
}

#body-overlay {
  text-align: center;
  color: #fff;
}

#body-overlay span {
  display: block;
  top: 45%;
  position: relative;
  user-select: none;
}

#client-modal-lectures {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
}

#client-modal-lectures .lecture.row .status {
  font-size: 84%;
  padding-top: 1px;
}

#badge-visit-ends,
#badge-event-ends {
  top: 3px;
  position: relative;
}

.list-group-item {
  padding: 0.3rem 0.7rem;
}

.list-group.with-header .list-group-item {
  padding-top: 7px;
}

.list-group-item.header {
  z-index: 5;
  top: 2px;
}

.list-group-item .btn,
.card-sortable .btn {
  width: 24px;
}

.list-group-sortable-connected {
  min-height: 37px;
  background: rgba(0, 0, 0, 0.125);
  border-radius: 3px;
}

.ui-sortable .list-group-item {
  padding-left: 30px;
}

.ui-sortable-handle {
  cursor: move;
}

.list-group-item .sortable-icon i {
  position: absolute;
  left: 6px;
  top: 5px;
  cursor: move;
}

.list-group-item .sortable-icon.text-muted i {
  cursor: default;
}

.list-group-item .content {
  display: inline-block;
  width: 87%;
}

.LecturesLogdefault .list-group-item .content,
.NonWorkingEventsLogdefault .list-group-item .content,
.Translationsdefault .list-group-item .content {
  width: 96%;
}

.UsersLogdefault .list-group-item .content,
.Feedbackdefault .list-group-item .content {
  width: 100%;
}

.list-group-item .content .name,
.list-group-item .content .price,
.list-group-item .content .code,
.list-group-item .content .category,
.list-group-item .content .email,
.list-group-item .content .phone,
.list-group-item .content .roles,
.list-group-item .content .locality,
.list-group-item .content .users-count,
.list-group-item .content .services-count,
.list-group-item .content .item-id,
.list-group-item .content .date,
.list-group-item .content .time,
.list-group-item .content .lecture,
.list-group-item .content .user,
.list-group-item .content .non-working-event,
.list-group-item .content .client,
.list-group-item .content .service,
.list-group-item .content .feedback,
.list-group-item .content .operation,
.list-group-item .content .keyword,
.list-group-item .content .translation,
.list-group-item .content .identificator,
.list-group-item .content .services,
.list-group-item .content .expires,
.list-group-item .content .issued,
.list-group-item .content .status {
  display: inline-block;
  width: 33%;
  vertical-align: top !important;
}

.list-group-item .content .issued,
.list-group-item .content .expires {
  width: 15%;
}

.list-group-item .content .status {
  width: 15%;
}

.list-group-item .content .code {
  width: 15%;
}

.list-group-item .content .keyword {
  width: 19%;
}

.list-group-item .content .translation {
  width: 26%;
}

.list-group-item .content .locality {
  width: 44%;
}

.ui-sortable .list-group-item.placeholder {
  background: rgba(0, 0, 0, 0.125);
}

.list-group-item .content .category,
.list-group-item .content .email {
  text-align: center;
}

.list-group-item .content .roles {
  text-align: center;
}

.FTCodesdefault .list-group-item .content .name,
.Employeesdefault #roles .list-group-item .content .name {
  width: 77%;
}

#services .list-group-item .content .name {
  width: 37%;
}

#rooms .list-group-item .content .services-count,
#services .list-group-item .content .users-count,
#services .list-group-item .content .price {
  width: 12%;
  text-align: right;
}

#services .list-group-item .content .item-id {
  width: 10%;
}

#services .card-sortable .card {
  margin-bottom: 1.5rem;
}

#employees .list-group-item .content {
  width: 81%;
}

#employees .list-group-item .content .name {
  width: 35%;
}

#employees .list-group-item .content .name span.priority {
  font-size: 10px;
  width: 16px;
  display: inline-block;
  height: 16px;
  text-align: center;
  line-height: 16px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  padding-right: 1px;
  position: relative;
  top: -2px;
}

#employees .list-group-item .content .name .icon-crown {
  position: relative;
  top: 3px;
}

#employees .list-group-item .content .email {
  width: 43%;
}

#employees .list-group-item .content .roles {
  width: 20%;
}

.LecturesLogdefault .list-group-item,
.NonWorkingEventsLogdefault .list-group-item,
.UsersLogdefault .list-group-item,
.Feedbackdefault .list-group-item,
.Translationsdefault .list-group-item {
  padding-left: 1.25rem;
}

.LecturesLogdefault .list-group-item .content .time,
.NonWorkingEventsLogdefault .list-group-item .content .time {
  width: 30%;
}

.LecturesLogdefault .list-group-item .content .user,
.NonWorkingEventsLogdefault .list-group-item .content .user,
.UsersLogdefault .list-group-item .content .user,
.UsersLogdefault .list-group-item .content .time,
.Feedbackdefault .list-group-item .content .time {
  width: 25%;
}

.PrepaidCardTypesdefault .list-group-item .content .identificator {
  width: 10%;
}

.PrepaidCardTypesdefault .list-group-item .content .services {
  width: 44%;
}

.PrepaidCardTypesdefault .list-group-item .content .expires {
  width: 10%;
}

.UsersLogdefault .list-group-item .content .lecture,
.UsersLogdefault .list-group-item .content .client {
  width: 15%;
  text-align: center;
}

.LecturesLogdefault .list-group-item .content .lecture,
.NonWorkingEventsLogdefault .list-group-item .content .non-working-event,
.UsersLogdefault .list-group-item .content .user-row {
  width: 25%;
  text-align: center;
}

.LecturesLogdefault .list-group-item .content .operation,
.NonWorkingEventsLogdefault .list-group-item .content .operation,
.UsersLogdefault .list-group-item .content .operation {
  width: 20%;
  text-align: center;
}

#frm-lectureModalForm-text {
  min-height: 130px;
}

.Feedbackdefault .list-group-item .content .user,
.Feedbackdefault .list-group-item .content .service,
.Feedbackdefault .list-group-item .content .client {
  width: 20%;
}

.Feedbackdefault .list-group-item .content .feedback {
  width: 15%;
  text-align: center;
}

.Feedbackdefault .list-group-item .content .feedback img {
  position: relative;
  top: -2px;
}

.Employeesdefault #employeesModal #services-wrapper {
  max-height: 900px;
  overflow: auto;
}

.Roomsdefault #roomsModal #services-wrapper {
  max-height: 300px;
  overflow: auto;
}

.Roomsdefault #locationsModal #rooms-wrapper {
  max-height: 300px;
  overflow: auto;
}

.Servicesdefault #servicesModal #therapists-wrapper,
.Servicesdefault #servicesModal #rooms-wrapper {
  max-height: 525px;
  overflow: auto;
}

.Notesdefault .templates-wrapper,
.Notesdefault .is-banner-wrapper,
.Notesdefault .templates-wrapper textarea.tinymce,
.Notesdefault .banners-wrapper {
  display: none;
}

.LecturesLogdefault #logModal .label,
.NonWorkingEventsLogdefault #logModal .label {
  display: inline-block;
  width: 133px;
}

/*--------------------------------------------------------------
5. Footer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
6. Override, custom
--------------------------------------------------------------*/
[class^="icon-"]:before,
[class*=" icon-"]:before {
  margin: 0;
}

.navbar-expand .navbar-nav .nav-link {
  padding-right: 1.1rem;
  padding-left: 1.1rem;
}

.navbar .form-group {
  margin-bottom: 0;
}

.ap-col-11 {
  -ms-flex: 0 0 11%;
  flex: 0 0 11%;
  max-width: 11%;
}

.ap-col-20 {
  flex: 0 20%;
  max-width: 20%;
  max-width: 260px;
}

.ap-col-80 {
  flex: 0 0 calc(100% - 260px);
  max-width: calc(100% - 260px);
}

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

.ap-w-60px {
  width: 60px;
}

.ap-text-trivial {
  opacity: 0.5;
  font-size: 80%;
}

.opacity-5 {
  opacity: 0.5;
}

.text-muted {
  opacity: 0.7;
  color: #646567 !important;
}

.is-deleted {
  opacity: 0.7;
  color: #dc3545 !important;
}

.is-deleted span,
h5.is-deleted {
  text-decoration: line-through !important;
}

.mce-label.mce-charactercount {
  margin: 2px 0 2px 2px;
  padding: 8px;
  font-size: 12px;
}

.mce-path,
.mce-branding {
  display: none !important;
}

.badge-warning {
  background: #fd7e14 !important;
}

.text-warning {
  color: #fd7e14 !important;
}

.text-yellow {
  color: #fff700;
}

.text-red {
  color: #dc3545 !important;
}

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

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

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

.btn-ap-sm {
  zoom: 0.8;
  margin-top: -4px;
}

.table.ap-table-sm th {
  border: 0;
  color: #fff;
  background: #6c757d;
  font-weight: 400;
}

.table.ap-table-sm th,
.table.ap-table-sm td {
  padding: 0.35rem;
}

.table.ap-table-sm tr:first-child td {
  border-top: 0;
}

.table.ap-table-sm tr th:first-child,
.table.ap-table-sm tr td:first-child {
  padding-left: 1.25rem;
}

.table.ap-table-sm tr th:last-child,
.table.ap-table-sm tr td:last-child {
  padding-right: 1.25rem;
}

.ap-bg-lighter {
  background-color: #fafafa;
}

.zoom-80 {
  zoom: 0.8;
}

.zoom-90,
.top-filter {
  zoom: 0.9;
}

.ap-tr-without-border-top td,
.ap-tr-without-border-top th {
  border-top: 0;
}

.table .ap-tr-filter-labels th {
  padding-bottom: 0.15rem;
}

.table .ap-tr-filter-labels th a {
  text-decoration: none;
}

.table .ap-tr-filter-fields th {
  padding-top: 0;
}

.table .ap-tr-filter-fields th .form-control-sm {
  height: 25px;
  padding: 0.1rem 0.4rem;
}

.ap-mt-40 {
  margin-top: 0.4rem;
}

.ap-list-sm {
  font-size: 90%;
}

.ap-list-sm .row,
.list-group-item {
  transition: background 0.7s !important;
}

.ap-list-sm .actions .btn {
  width: 24px;
  top: -1px;
  position: relative;
}

.ap-badge {
  zoom: 0.8;
  position: relative;
  top: -4px;
}

div.ap-textarea-like {
  border: 1px solid #ced4da;
  background-color: #e9ecef;
  width: 100%;
  height: 500px;
  overflow: auto;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hovered-primary {
  background-color: #c1dfff !important;
}

.hovered-danger,
.ap-empty-field {
  background-color: #ffced2 !important;
}

.hovered-success {
  background-color: #c7f3bf !important;
}

.hovered-secondary {
  background-color: #d8d8d8 !important;
}

.hovered-warning {
  background-color: #ffeebc !important;
}

.hovered-info {
  background-color: #afe1e8 !important;
}

.link-alike {
  color: #007bff;
  text-decoration: none;
  cursor: pointer;
}

.tooltip {
  pointer-events: none;
}

/*--------------------------------------------------------------
7. Responsive design
--------------------------------------------------------------*/
@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}

@media (max-width: 1030px) {
  .container-fluid {
    width: 1024px;
  }

  #navbarCollapse {
    display: block;
  }

  .navbar-expand-md {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .ap-col-20 {
    max-width: 215px;
  }

  .ap-col-80 {
    -ms-flex: 0 0 80%;
    flex: 0 80%;
    max-width: 80%;
    max-width: calc(100% - 215px);
  }
}

.user-def-p p {
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 1.2;
}

.user-def-ul ul {
  line-height: 1.2;
  margin-bottom: 0px;
}

.user-def-ol ol {
  line-height: 1.2;
  margin-bottom: 0px;
}

