/* Metronic disable */

#kt_quick_user {
  display: none;
}

/* MsGraph login btn */

#msgraph-btn {
  background-color: #ffffff;
  color: #5E5E5E;
  border: 1px solid #8C8C8C;
  font-weight: 600;
  height: 41px;
  padding: 10px 50px;
  background-image: url(/images/ms-symbollockup.svg?42b61fa109e1e5d566ff8226348f1657);
  margin: 0 auto;
  margin-top: 20px;
  display: table;
  background-repeat: no-repeat;
  background-position: 12px;
}

/* TinyMCE */

.tox-tinymce .tox-promotion-link,
.tox-tinymce .tox-statusbar__branding {
  display: none !important;
}

/* common properties */

a {
  color: darkblue;
}

.font-primary {
  color: #3699FF;
}

.font-success {
  color: #1BC5BD;
}

.font-danger {
  color: #F64E60;
}

.font-warning {
  color: #FFA800;
}

.font-info {
  color: #8950FC;
}

.font-dark {
  color: #181C32;
}

.text-capitalize-first::first-letter {
  text-transform: uppercase;
}

.align-center-bottom {
  display: flex;
  justify-content: center;
  align-items: end;
}

.align-right-bottom {
  display: flex;
  justify-content: right;
  align-items: end;
}

.card-header.flex-end {
  justify-content: flex-end !important;
}

.fa.fa-times {
  color: red;
}

.btn i {
  padding-right: 0;
}

.btn i.fa-user-plus {
  padding-right: 5px;
}

.dark-border {
  border-color: black;
}

.alvarium-readonly {
  pointer-events: none;
}

.alvarium-readonly span.select2-container .select2-selection,
.alvarium-readonly .alvarium-datepicker {
  background-color: #dee0e8 !important;
  border-color: transparent;
}

.card.card-custom.no-bg {
  box-shadow: none;
}

.table td {
  vertical-align: middle;
}

.alvarium-select2.w-100 + .select2-container--default {
  width: 100% !important;
}

.alvarium-select {
  display: inline-block;
}

.alvarium-select button,
.alvarium-select .dropdown-menu {
  background-color: #e1f0ff !important;
}

.alvarium-select button {
  min-width: 200px;
  border-color: transparent !important;
  text-align: left;
}

.alvarium-select button::after {
  color: #3699FF !important;
  position: absolute !important;
  right: 15px !important;
  top: 15px !important;
}

.alvarium-select .dropdown-menu {
  width: 100%;
}

.alvarium-date-select {
  margin-bottom: 0;
}

.alvarium-date-select input {
  max-width: 150px;
}

#club-select button {
  min-width: 215px;
}

#club-select button.users-index {
  min-width: 275px;
}

/* select2 */

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 7px;
  right: -7px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  background: #ccc;
}

.select2-container--default .select2-selection--single {
  height: 38px;
  border-radius: 0.42rem;
  border-color: #e4e6ef;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 17px;
}

.select2-container--default .select2-selection--multiple {
  border-color: #e4e6ef !important;
}

.select2-container--default .select2-selection {
  padding: 10px 10px 0 10px;
}

.select2-container--default .select2-selection.select2-selection--single {
  padding-top: 2px;
}

.select2-container--default .select2-selection li.select2-selection__choice {
  background-color: #E4E6EF !important;
  margin: 0.1rem 0.7rem 0.7rem 0 !important;
}

/* datatables */

div.dataTables_wrapper .dataTables_info {
  font-size: 13px !important;
}

div.dataTables_wrapper div.dataTables_processing {
  position: relative;
  top: 0px !important;
  left: 0 !important;
  width: auto !important;
  max-width: 30px;
  margin-left: 0 !important;
}

div.dataTables_wrapper div.dataTables_processing.card {
  border: none;
  border-radius: 0;
}

div.dataTables_wrapper .dataTable td {
  vertical-align: middle;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before {
  top: 40% !important;
  color: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  content: url("/images/alvarium-small-caret-right.png") !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before {
  content: url("/images/alvarium-small-caret-down.png") !important;
}

#errors ul {
  margin-bottom: 0;
}

/* header */

@media (max-width: 991px) {
  .header-role-description {
    display: none;
  }
}

/* breadcrumbs */

.breadcrumb .breadcrumb-item a {
  color: #3F4254;
}

.breadcrumb .breadcrumb-item:hover a {
  transition: none;
}

/* forms */

.form-control[readonly] {
  background-color: #dee0e8;
}

.form-group label {
  font-weight: 700;
}

.form-group small {
  color: #3c3c3c !important;
}

.select2-selection {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9 !important;
}

.login.login-4 .login-form {
  width: 100%;
  max-width: 450px;
}

.alvarium-inline-dialog {
  padding: 20px;
  background-color: #e4e6ef;
}

/* Tags */

.tagslist ul.tags {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  margin-bottom: 0;
}

.tagslist ul.tags li {
  padding: 0 8px 8px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.tagslist ul.tags li a.unset-tag i {
  margin-right: 10px;
  padding-top: 2px;
}

.tagslist ul.tags li span {
  font-size: 13px !important;
  font-weight: 400;
  margin-right: 8px;
}

.tagslist ul.tags.bordered li {
  padding: 5px 10px;
  margin: 0 10px 10px 0;
  border: 1px dashed #EBEDF3;
}

.tagslist ul.tags.no-mb-childs li {
  margin-bottom: 0;
}

/* Dashboard */

.alvarium-btn-box {
  width: 178px;
  height: 120px;
  margin-bottom: 1.7rem;
  border-radius: 0.475rem !important;
}

.alvarium-btn-box .caption {
  font-size: 1.075rem !important;
  padding-top: 5px;
}

/* Packs summary */

#packs-filter-table .enabled {
  background-color: transparent;
}

#packs-filter-table .disabled {
  background-color: lightsteelblue;
}

#packs-filter-table .disabled button {
  pointer-events: none;
}

#packs-filter-table .filtered {
  background-color: greenyellow;
}

#packs-filter-table .selected,
#packs-available-table .selected {
  background-color: #e695d4;
}

/* Packs Offers */

#pack-offers-container > div {
  background-color: white;
  padding: 10px 15px;
  margin: 5px 5px;
}

/* PaymentBundles */

#payment-bundle-methods > div {
  background-color: white;
  padding: 10px 15px;
  margin: 5px 5px;
}

/* Contracts Documents */

#document-preview {
  background-color: #F3F6F9;
  padding: 25px;
}

#document-preview header {
  margin-bottom: 10px;
}

#document-preview header .document-logo {
  display: none;
}

/* Prices importer */

.services-prices .value {
  color: limegreen;
}

.services-prices .null {
  color: blue;
}

/* User's index */

#alert-users-list-icon {
  display: none;
}

#users-panels {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-items: flex-start;
}

#users-search-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

#users-list-action-panel-desktop,
#users-list-action-panel-device {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: flex-start;
}

#users-list-action-panel-desktop {
  display: none;
}

@media (min-width: 1655px) {
  #users-list-action-panel-desktop {
    display: flex;
  }
}

#users-list-action-panel-device {
  display: flex;
}

@media (min-width: 1655px) {
  #users-list-action-panel-device {
    display: none;
  }
}

#users-table_length label {
  display: inline;
}

#users-table_length select {
  max-width: 65px;
}

#users-table_filter {
  display: none;
}

#users-table_searchbar {
  font-weight: 600;
}

#users-table_searchbar input {
  height: calc(1.35em + 1.1rem + 8px);
  min-width: 275px;
}

@media (max-width: 410px) {
  #reset-users-btn {
    margin-left: 1rem;
  }
}

@media (min-width: 1329px) {
  #advanced-search {
    width: 1015px;
    margin: 0 auto 0 0;
  }
}

#advanced-search .card {
  border: 0;
}

#sync-tags-form .card {
  border-top: 0;
}

#users-table th[data-column=idmember],
#users-table th[data-column=idcard],
#users-table th[data-column=phone],
#users-table th[data-column=state],
#users-table td[data-cell=idmember],
#users-table td[data-cell=idcard],
#users-table td[data-cell=phone],
#users-table td[data-cell=state] {
  display: none;
}

#users-table tr.device-view {
  display: table-row;
}

#users-table tr.device-view td {
  border-top: none;
}

#users-table tr.device-view .idmember,
#users-table tr.device-view .idcard,
#users-table tr.device-view .phone {
  display: block;
}

#users-table tr.device-view ul.tags {
  display: flex;
}

@media (min-width: 600px) {
  #users-table th[data-column=idmember] {
    display: table-cell;
  }

  #users-table td[data-cell=idmember] {
    display: table-cell;
  }

  #users-table tr.device-view .idmember {
    display: none;
  }
}

@media (min-width: 690px) {
  #users-table th[data-column=idcard] {
    display: table-cell;
  }

  #users-table td[data-cell=idcard] {
    display: table-cell;
  }

  #users-table tr.device-view .idcard {
    display: none;
  }
}

@media (min-width: 790px) {
  #users-table th[data-column=phone] {
    display: table-cell;
  }

  #users-table td[data-cell=phone] {
    display: table-cell;
  }

  #users-table tr.device-view .phone {
    display: none;
  }
}

@media (min-width: 991px) and (max-width: 1065px) {
  #users-table th[data-column=phone] {
    display: none;
  }

  #users-table td[data-cell=phone] {
    display: none;
  }

  #users-table tr.device-view .phone {
    display: block;
  }
}

@media (min-width: 1370px) {
  #users-table th[data-column=state] {
    display: table-cell;
  }

  #users-table td[data-cell=state] {
    display: table-cell;
  }

  #users-table tr.device-view ul.tags {
    display: none;
  }

  #users-table tr.device-view {
    display: none;
  }
}

@media (min-width: 1329px) {
  #advanced-search {
    width: 1015px;
    margin: 0 auto 0 0;
  }
}

#advanced-search .card {
  border: 0;
}

#sync-tags-form .card {
  border-top: 0;
}

#users-table .users-index-avatar {
  background-image: url(/images/avatar.png?86d44f219d58009ecac95aa4bedf7bd6);
}

#users-table .users-index-avatar img {
  max-width: 40px;
}

#users-table .edit-user-btn span {
  margin-right: 0;
}

#users-table tr.child span.dtr-title {
  min-width: 90px;
  text-transform: capitalize;
}

#users-table th {
  font-weight: 500;
}

@media (min-width: 456px) {
  #users-table th {
    min-width: 85px;
  }
}

#users-table td {
  font-weight: 400;
  color: #3F4254 !important;
}

#users-lists-table_processing {
  top: 10px !important;
}

#users-lists-table_filter,
#users-lists-table_length,
#users-lists-table thead tr {
  display: none;
}

#participants-table .users-index-avatar {
  background-image: url(/images/avatar.png?86d44f219d58009ecac95aa4bedf7bd6);
}

#participants-table .users-index-avatar img {
  max-width: 40px;
}

/* Accounting */

#alert-accounting-list-icon {
  display: none;
}

#accounting-lists-table_filter,
#accounting-lists-table_length,
#accounting-lists-table thead tr {
  display: none;
}

/* Waiting Lists*/

#waiting-lists-table .users-index-avatar {
  background-image: url(/images/avatar.png?86d44f219d58009ecac95aa4bedf7bd6);
}

#waiting-lists-table .users-index-avatar img {
  max-width: 40px;
}

#waiting-lists-table .edit-user-btn span {
  margin-right: 0;
}

/* Messaging */

#push-editor-btn,
#sms-editor-btn,
#email-editor-btn {
  color: white;
}

#push-editor-btn.active,
#sms-editor-btn.active,
#email-editor-btn.active {
  background-color: tomato !important;
  color: white;
}

#messages-table span.pending {
  color: blue;
}

#messages-table span.sent {
  color: green;
}

#messages-table span.cancelled {
  color: tomato;
}

/* User's aside menu */

.icon-user-menu {
  background-color: transparent;
  border-color: transparent;
}

.icon-user-menu:hover i {
  color: #3699FF;
}

.d-lg-none {
  display: inline-block !important;
}

@media (min-width: 1400px) {
  .d-lg-none {
    display: none !important;
  }
}

@media (max-width: 1400px) {
  .offcanvas-mobile {
    background: #ffffff;
    box-shadow: 0px 1px 9px -3px rgba(0, 0, 0, 0.25);
  }

  .offcanvas-mobile {
    z-index: 1001;
    position: fixed;
    top: 0;
    bottom: 0;
    transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
    left: -395px;
    width: 375px;
  }

  .offcanvas-mobile.offcanvas-mobile-on {
    transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, top 0.3s ease;
    left: 0;
  }

  .offcanvas-mobile-overlay {
    background: rgba(0, 0, 0, 0.1);
  }

  .offcanvas-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    z-index: 1000;
    -webkit-animation: animation-offcanvas-fade-in 0.6s ease 1;
    animation: animation-offcanvas-fade-in 0.6s ease 1;
  }
}

/* User's profile */

#user-img {
  background-image: url("/images/avatar2.png");
  background-size: cover;
  width: 60px !important;
  height: 80px !important;
}

@media (min-width: 1400px) {
  #user-img {
    width: 90px !important;
    height: 120px !important;
  }
}

#user-img .user-pic {
  background-size: cover;
  width: 60px !important;
  height: 80px !important;
}

@media (min-width: 1400px) {
  #user-img .user-pic {
    width: 90px !important;
    height: 120px !important;
  }
}

.webcam-photo-button {
  position: absolute;
  bottom: -20px;
  right: -20px;
}

.meetings-call-btn:hover {
  color: #C9F7F5 !important;
  background-color: #1BC5BD !important;
}

#user-menu {
  display: none;
}

#user-menu li {
  cursor: pointer;
}

#user-menu li:hover a:not(.active) {
  background-color: #F3F6F9;
}

#user-tabs {
  display: none;
}

@media (min-width: 1400px) {
  .ml-user-profile {
    margin-left: 2rem !important;
  }
}

/* Tags repository */

.alvarium-tags-table {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
}

.alvarium-tags-table .card {
  border: 1px solid #3c3c3c;
  color: black;
}

.alvarium-tags-table .card-body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.alvarium-tags-table .card-body .tag-actions {
  padding-bottom: 20px;
}

.alvarium-tags-table .tag-id {
  text-indent: -9999px;
  margin-bottom: 0;
}

/* Tags CSS custom classes */

.alvarium-label {
  white-space: nowrap;
  color: #c0169b;
  background-color: #fbe4f6;
  font-weight: 500 !important;
  text-transform: lowercase;
}

.alvarium-label.ellipsify {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 475px;
  display: inline;
  padding: 5px 10px 0 !important;
}

.alvarium-label.uppercase {
  text-transform: uppercase;
}

.alvarium-label.label-orange {
  color: #fe7b21;
  background-color: #fee3c5;
}

.alvarium-label.status-1 {
  color: #F64E60;
  background-color: #FFE2E5;
}

.alvarium-label.status-2 {
  color: #3699FF;
  background-color: #E1F0FF;
}

.alvarium-label.status-3 {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.alvarium-label.mode-1 {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.alvarium-label.mode-2 {
  color: #3699FF;
  background-color: #E1F0FF;
}

.alvarium-label.mode-3 {
  color: #FFA800;
  background-color: #FFF4DE;
}

.alvarium-label.mode-4 {
  color: #F64E60;
  background-color: #FFE2E5;
}

.alvarium-label.primary {
  color: #3699FF;
  background-color: #E1F0FF;
}

.alvarium-label.success {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.alvarium-label.warning {
  color: #FFA800;
  background-color: #FFF4DE;
}

.alvarium-label.danger {
  color: #F64E60;
  background-color: #FFE2E5;
}

.alvarium-label.dark {
  color: #181C32;
  background-color: #D1D3E0;
}

.alvarium-label.info {
  color: #8950FC;
  background-color: #EEE5FF;
}

/* PaymentTypes */

.paymenttype.tpv {
  color: #3699FF;
  background-color: #E1F0FF;
}

.paymenttype.debit {
  color: #181C32;
  background-color: #D1D3E0;
}

.paymenttype.cash {
  color: #F64E60;
  background-color: #FFE2E5;
}

.paymenttype.paypal {
  color: #8950FC;
  background-color: #EEE5FF;
}

/* PaymentStatus */

.paymentstatus.unfinished {
  color: #3699FF;
  background-color: #E1F0FF;
}

.paymentstatus.paid {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.paymentstatus.unpaid {
  color: #F64E60;
  background-color: #FFE2E5;
}

.paymentstatus.pending {
  color: #FFA800;
  background-color: #FFF4DE;
}

.paymentstatus.cancelled {
  color: #181C32;
  background-color: #D1D3E0;
}

/* Payments Summary */

#payments-actions #summary .summary-value {
  width: 33%;
}

#payments-actions #sepa {
  border: 4px solid #F3F6F9;
  padding: 1.75rem 1.5rem;
  border-top-left-radius: 0.42rem;
  border-top-right-radius: 0.42rem;
}

/* ServiceUserCalendars status */

.serviceusercalendars.pending {
  color: #FFA800;
  background-color: #FFF4DE;
}

.serviceusercalendars.ready {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.serviceusercalendars.signed {
  color: #c0169b;
  background-color: #fbe4f6;
}

.serviceusercalendars.lost {
  color: #8950FC;
  background-color: #EEE5FF;
}

.serviceusercalendars.expired {
  color: #181C32;
  background-color: #D1D3E0;
}

.serviceusercalendars.deleted {
  color: #F64E60;
  background-color: #FFE2E5;
}

.serviceusercalendars.absent {
  color: #8950FC;
  background-color: #EEE5FF;
}

.serviceusercalendars.unfinished {
  color: #3699FF;
  background-color: #E1F0FF;
}

/* ServiceInstance's Prices */

#instance-prices > .price-item {
  margin-bottom: 15px;
  margin-right: 15px;
  padding: 20px;
  width: 100%;
  border: 1px solid black;
  border-radius: 9px;
}

@media (min-width: 1400px) {
  #instance-prices > .price-item {
    max-width: 450px;
  }
}

@media (min-width: 1600px) {
  #instance-prices > .price-item {
    max-width: 357px;
  }
}

@media (min-width: 1650px) {
  #instance-prices > .price-item {
    max-width: 375px;
  }
}

#instance-prices > .price-item .actions {
  text-align: right;
}

#instance-prices > .price-item .alvarium-label {
  margin: 0 5px 5px 0;
}

/* #calendars-grid */

#calendars-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
}

#calendars-grid .row div[class^=col-] {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  text-align: center;
}

#calendars-grid .row p {
  margin: 0;
  padding: 5px 0;
}

#calendars-grid .row .calendar {
  min-width: 150px;
}

#calendars-grid .row .calendar p {
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#calendars-grid .row .months {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  text-align: center;
  margin-top: 5px;
}

#calendars-grid .row .months .month {
  width: 100%;
  background-color: #dedede;
  border-radius: 10px;
  border: none;
  height: 20px;
}

#calendars-grid .row .months .month.base {
  background: #b7d1a8;
}

#calendars-grid .row .months .month.active {
  background: #e2bc48;
}

#calendars-grid .row .months .month:hover {
  /*background-color: $calendar-hover;*/
}

#calendars-grid .row .months .month.legend {
  background-color: transparent;
  border-width: 0 0 1px 0;
  display: none;
}

@media (min-width: 768px) {
  #calendars-grid .row .months .month.legend {
    display: block;
  }
}

#calendars-grid .row .months .month.legend:hover {
  background-color: transparent;
}

#calendars-grid .row .months .month:not(.legend) {
  text-indent: -9999px;
}

#calendars-grid .row .months .month:not(.legend):first-child {
  border-width: 0 1px 1px 1px;
}

#calendars-grid .row .months .month.conflict {
  background-color: red;
}

#add-time-range-form {
  margin-top: 20px;
}

#add-calendar {
  background-color: #f5f5f5;
  padding: 14px;
  border-radius: 6px;
  margin: 10px 0px 20px 0px;
}

#add-calendar-tab {
  height: 41px;
}

#calendars-tabContent .calendar-exception-form {
  background-color: #f5f5f5;
  padding: 14px;
  border-radius: 6px;
  margin: 10px 0px 20px 0px;
}

#calendars-tabContent .table-hover tbody tr:hover {
  color: #3F4254;
  background-color: #F5F7FF;
}

#calendars-tabContent td {
  vertical-align: middle;
  width: 100px;
}

#calendars-tabContent td.chart-col {
  width: auto;
}

#calendars-tabContent td .chart {
  width: 100%;
  height: 20px;
  /* Adjust the height as needed */
  background-image: linear-gradient(to right, transparent 0%, transparent calc(100% * var(--start-hour) / 24), #b7d1a8 calc(100% * var(--start-hour) / 24), #b7d1a8 calc(100% * var(--end-hour) / 24), transparent calc(100% * var(--end-hour) / 24), transparent 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: #dedede;
}

/* Config module */

.status {
  color: #F64E60;
  background-color: #FFE2E5;
}

.status.status-200 {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.debug {
  color: #1BC5BD;
  background-color: #C9F7F5;
}

.debug.debug-on {
  color: #F64E60;
  background-color: #FFE2E5;
}

/* Events module */

#event-bookings-calendar .datepicker {
  width: 100%;
}

#event-update-form #calendar .fc-v-event .fc-event-main-frame {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 5px;
}

.fc .fc-timegrid-col.fc-day-today {
  background-color: transparent;
}


