.s-site-logo-img {
  content: url(/Content/site/images/serenity-logo-w-128.png);
}

.s-site-logo-w-img {
  content: url(/Content/site/images/serenity-logo-w-128.png);
}

.s-Dialog > .size {
  min-width: 720px;
  width: 720px;
}

.s-UserPermissionDialog > .size,
.s-RolePermissionDialog > .size {
  min-width: 770px;
  width: 770px;
  min-height: 550px;
  height: 550px;
}

.s-UserPermissionDialog .s-DataGrid,
.s-RolePermissionDialog .s-DataGrid {
  height: 100%;
}

.s-horizontal-divider {
  margin: 1em 0;
  line-height: 0;
  text-align: center;
}

  .s-horizontal-divider span {
    background-color: var(--s-card-bg);
    padding: 1em;
  }

  .s-horizontal-divider:before {
    content: " ";
    display: block;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #f7f7f7;
  }

.s-FacebookImportDialog {
  min-width: 770px;
  width: 770px;
  min-height: 550px;
  height: 550px;
}

.s-CustomEmailDialog {
  min-width: 820px;
  width: 820px;
  min-height: 550px;
  height: 550px;
}

.s-BooleanSwitchEditor > input[type="checkbox"] {
  display: none;
}

.s-BooleanSwitchEditor > label {
  cursor: pointer;
  height: 0px;
  position: relative;
  width: 40px;
  --bs-bg-opacity: 1 !important;
}

  .s-BooleanSwitchEditor > label::before {
    background: #000000;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
  }

  .s-BooleanSwitchEditor > label::after {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
  }

.s-BooleanSwitchEditor > input[type="checkbox"]:checked + label::before {
  background: inherit;
  opacity: 0.5;
}

.s-BooleanSwitchEditor > input[type="checkbox"]:checked + label::after {
  background: inherit;
  left: 20px;
}

.s-BooleanSwitchEditor.readonly {
  background-color: transparent;
}

  .s-BooleanSwitchEditor.readonly > label {
    cursor: not-allowed;
  }


/*
 * Component: Timeline
 * -------------------
 */

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

.timeline {
  padding: 0;
  position: relative;
}

  .timeline > div {
    margin-bottom: 15px;
    position: relative;
    --bs-bg-opacity: 1;
  }

    .timeline > div::before, .timeline > div::after {
      content: "";
      display: table;
    }

    .timeline > div > .timeline-item {
      position: relative;
      background-color: var(--s-card-bg);
      border-color: var(--s-input-border);
      border-radius: 4px;
      border-style: solid;
      border-width: 1px;
      color: var(--s-input-text);
      transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
      background-clip: padding-box;
    }

      .timeline > div > .timeline-item > .time {
        color: #999;
        float: right;
        font-size: 10px;
        padding: 10px;
      }

      .timeline > div > .timeline-item > .timeline-header {
        border-bottom: 1px solid var(--s-input-border);
        color: var(--s-input-text);
        line-height: 1.1;
        margin: 0;
        padding: 10px;
      }

      .timeline > div > .timeline-item > .timeline-body,
      .timeline > div > .timeline-item > .timeline-footer {
        padding: 10px;
      }

        .timeline > div > .timeline-item > .timeline-body > img {
          margin: 10px;
        }

        .timeline > div > .timeline-item > .timeline-body > dl,
        .timeline > div > .timeline-item > .timeline-body ol,
        .timeline > div > .timeline-item > .timeline-body ul {
          margin: 0;
        }

        .timeline > div > .timeline-item > .timeline-footer > a {
          color: #fff;
        }

  .timeline > .time-label > span {
    border-radius: 4px;
    background-color: #fff;
    display: inline-block;
    font-weight: 600;
    padding: 5px;
    --bs-bg-opacity: 1;
  }


.card-body > .table {
  margin-bottom: 0;
}

  .card-body > .table > thead > tr > th,
  .card-body > .table > thead > tr > td {
    border-top-width: 0;
  }

.card-body .fc {
  margin-top: 5px;
}

.table-bordered {
  border: 1px solid #dee2e6;
}

  .table-bordered th,
  .table-bordered td {
    border: 1px solid #dee2e6;
  }

  .table-bordered thead th,
  .table-bordered thead td {
    border-bottom-width: 2px;
  }

.table-responsive > .table-bordered {
  border: 0;
}

.widget-container {
  overflow-y: scroll;
  overflow-x: hidden;
  padding-right: 1rem;
}

.widget-items {
  --bs-gutter-y: var(--s-row-gap);
}

.widget-container .card {
  height: 12em;
  margin-bottom: 0.5rem;
  padding: 0.6rem;
  overflow-y: auto;
}

.widget-date {
  margin-top: 6px;
  display: block;
  text-align: right;
  color: var(--s-link-color, #2a4084);
  text-decoration: none;
  font-style: italic;
}

.activity-container {
  overflow-y: auto;
  box-sizing: border-box;
  border: 1px solid var(--s-card-border);
  background-color: var(--bs-body-bg);
}

.activity-title {
  margin-top: 0.7rem;
}


.status-horz {
  border: var(--s-card-border);
  box-shadow: var(--s-card-shadow);
  border-radius: 4px;
  position: relative;
  min-height: 32px;
}

  .status-horz .status-grid {
    border-radius: 4px 4px 0 0;
    overflow: hidden;
  }

  .status-horz .tab-pane {
    padding: 15px;
  }

  .status-horz .property-panes > .tab-pane:not(.active) {
    display: none !important;
  }

  .status-horz ul.property-tabs {
    list-style: none outside none;
    padding: 0;
    margin: 0;
    width: 999999px;
  }

    .status-horz ul.property-tabs li {
      float: left;
      margin: 0;
      padding: 0 20px 0 30px;
      height: 32px;
      line-height: 32px;
      position: relative;
      background: var(--bs-body-bg);
      color: var(--bs-body-color);
      font-size: 14px;
      cursor: not-allowed;
    }

      .status-horz ul.property-tabs li > .has-secondary-text {
        display: inline;
      }

        .status-horz ul.property-tabs li > .has-secondary-text > h4 {
          display: inline;
          font-size: 12px;
          font-weight: normal;
        }

        .status-horz ul.property-tabs li > .has-secondary-text > small {
          display: none;
        }

      .status-horz ul.property-tabs li .chevron {
        border: 16px solid transparent;
        border-left: 14px solid rgba(var(--s-bright-rgb), 0.15);
        border-right: 0;
        display: block;
        position: absolute;
        right: -14px;
        top: 0;
        z-index: 1;
      }

        .status-horz ul.property-tabs li .chevron:before {
          border: 16px solid transparent;
          border-left: 14px solid var(--bs-body-bg);
          border-right: 0;
          content: "";
          display: block;
          position: absolute;
          right: 1px;
          top: -16px;
        }

      .status-horz ul.property-tabs li.active {
        background: var(--s-card-border);
        cursor: default;
      }

        .status-horz ul.property-tabs li.active .chevron:before {
          border-left: 14px solid var(--s-card-border);
        }

      .status-horz ul.property-tabs li .badge {
        background-color: rgba(var(--bs-primary-rgb), 0.5);
        border-radius: 1em;
        text-align: center;
        font-size: 11px;
        font-family: var(--s-tabular-font);
      }

      .status-horz ul.property-tabs li.active .badge {
        background-color: var(--bs-primary);
      }

      .status-horz ul.property-tabs li span.text {
        margin-left: 4px;
      }

      .status-horz ul.property-tabs li .badge-success {
        background-color: rgba(var(--bs-success-rgb), 0.7);
      }

      .status-horz ul.property-tabs li:first-child {
        border-radius: 4px 0 0 0;
        padding-left: 20px;
      }

  .status-horz.compact-steps span.text {
    display: none;
  }

  .status-horz.compact-steps ul.property-tabs > li.active span.text {
    display: inline;
  }

  .status-horz.compact-steps ul.property-tabs > li:hover span.text {
    display: inline;
  }

  .status-horz .buttons {
    padding: 0.75rem 0.5rem;
  }

    .status-horz .buttons button {
      margin-left: 6px;
    }

.notification-badge {
  font-size: 10px !important
}

.s-Form label.caption {
  line-height: 24px;
  text-align: left;
  flex-basis: 100%;
  font-size: 13px;
  color: var(--bs-gray-700);
}

.flex-layout .field {
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.s-client-header {
  background-color: var(--s-sidebar-band-bg);
  border-bottom: 1px solid var(--s-card-border);
  border: none;
  height: 48px !important;
  display: flex;
  flex-direction: row;
  align-content: center;
}

.s-client-title {
  white-space: nowrap;
  font-size: 2rem;
  font-weight: 600;
  margin-left: 0
}

.s-client-header-logo {
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  margin-left: 10px
}

.s-ReminderModal .modal-body::before {
  content: "\f4fd";
  color: var(--bs-primary);
}

.slider-btn {
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: translateZ(-10px) rotate(-90deg);
  left: -40px;
  top: 20%;
  position: absolute;
}

.slider-filter {
  transform-style: preserve-3d;
  display: block;
  background-color: #fff;
  border-left: solid 1px #c9c9c9;
}