:root {
  --primary: #2c7a7b;
  --secondary: #6c757d;
  --accent: #efb526;
  --success: #52796f;
  --info: #17a2b8;
  --warning: #ffdd57;
  --danger: #e76f51;
  --light: #f8f9fa;
  --dark: #2f3e46;
  --bg-color: #f8fafc;
  --border-color: #dee2e6;
  --hover-color: #d5d5d542;
  --primary-darker: color-mix(in srgb, var(--primary) 85%, black 15%);
  --primary-dark: color-mix(in srgb, var(--primary) 90%, black 10%);
  --primary-light: color-mix(in srgb, var(--primary) 85%, white 15%);
  --primary-soft: color-mix(in srgb, var(--primary) 22%, white 78%);
  --primary-softer: color-mix(in srgb, var(--primary) 18%, white 82%);
  --rounded: 0.65rem;
}

html {
  font-size: 14px;
}

body {
  font-family: Inter, sans-serif;
  background: var(--bg-color) !important;
}

/* Custome scrollbar */
body ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  -webkit-appearance: none;
}

body ::-webkit-scrollbar-corner {
  background: transparent;
}

body ::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: var(--rounded);
  background-clip: content-box;
}

body ::-webkit-scrollbar-track,
body ::-webkit-scrollbar-track-piece {
  background: #ffffff;
}

body ::-webkit-scrollbar-track,
body ::-webkit-scrollbar-track-piece {
  background: transparent;
}

/* Utility Classes */
hr {
  margin: 0;
  border-top: 1px solid var(--border-color);
}

td a {
  color: inherit;
}

td a:hover {
  color: var(--primary-darker);
}

td b {
  font-weight: 600;
}

a:hover,
[data-href],
.cursor-pointer {
  cursor: pointer;
}

.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.text-link {
  cursor: pointer;
  color: var(--primary);
  font-size: inherit;
  background: transparent;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--primary-dark);
}

.text-break-spaces {
  white-space: break-spaces !important;
}

.text-underline {
  text-decoration: underline !important;
}

a.text-underline {
  color: #495057;
}

a.text-underline:hover {
  color: var(--primary);
}

.text-accent {
  color: var(--accent) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

.bg-background {
  background-color: var(--bg-color) !important;
}

.img-avatar {
  width: 50px;
  height: 50px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid;
  border-radius: 50%;
}

.line-height-normal{
  line-height: normal;
}

.form-required {
  color: #f23a3c;
  margin-left: 4px;
}

.py-2\.5 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.w-fit {
  width: fit-content !important;
}

.h-fit {
  height: fit-content !important;
}

.max-width-fit {
  max-width: fit-content !important;
}

.d-grid {
  display: grid !important;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.g-1 {
  --gutter-x: 1rem;
  --gutter-y: 1rem;
}

.g-2 {
  --gutter-x: 2rem;
  --gutter-y: 2rem;
}

.btn-xl {
  padding: 1rem 1.5rem;
  line-height: normal;
}

.btn-secondary {
  background-color: #d8dfed;
  border-color: #dddfe0;
  color: #212529;
}

.overflow-visible {
  overflow: visible !important;
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.comma-after::after {
  content: ',';
}

.layout-navbar-fixed.text-sm .wrapper .content-wrapper {
  margin-top: 54px;
  background-color: var(--bg-color);
}

.content-wrapper > .content {
  padding: 1.85rem 2rem 3rem 2rem;
}

.content-wrapper > .content > .card {
  margin-bottom: 0;
}

.layout-navbar-fixed .wrapper .main-header {
  background: var(--bg-color) !important;
  padding: 1rem 2rem;
}

.main-footer {
  background: var(--bg-color);
}

.main-sidebar {
  background: var(--bg-color);
  border-right: 1px solid var(--border-color);
}

.sidebar {
  margin-top: 0 !important;
}

.sidebar .user-panel {
  width: calc(250px - 16px);
  border: none;
  z-index: 1;
}

.sidebar .user-panel a {
  font-weight: bold;
  color: var(--dark);
  font-size: 20px;
}

.sidebar .nav-header {
  color: var(--dark);
  font-weight: 600;
}

.sidebar .nav-header:not(:first-of-type) {
  padding: 1.7rem 1rem 0.5rem 0.25rem;
}

.navbar-badge:not(.badge) {
  border-radius: 50%;
  background: #eb1025;
  width: 20px;
  height: 20px;
  color: white;
  text-align: center;
  padding: 0;
  font-weight: 400;
  top: 0.4rem;
  right: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .navbar-badge:not(.badge) {
  top: -5px;
  right: 7px;
  width: 16px;
  height: 16px;
}

#nav-sidebar {
  overflow: visible !important;
  margin-top: 52px;
}

#nav-sidebar .nav-link {
  color: var(--dark);
  font-weight: 500;
  border-radius: calc(var(--rounded) * 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: none;
  padding: 0.5rem 0 0.5rem 0.5rem;
}

#nav-sidebar .nav-link:hover {
  background-color: var(--hover-color);
}

#nav-sidebar .nav-link.active {
  background-color: var(--primary-softer);
  color: var(--primary);
  -webkit-box-shadow: none;
  box-shadow: none;
}

#nav-sidebar .menu-open > .nav-link i.right,
#nav-sidebar .menu-is-opening > .nav-link i.right {
  transform: rotate(90deg);
}

#nav-sidebar > .nav-item .nav-icon {
  margin-left: 0;
  margin-right: 0.4rem;
  color: var(--primary);
}

.sidebar {
  height: 100% !important;
}

.sidebar-collapse #nav-sidebar .nav-link {
  padding: 0.5rem 0;
}

body:not(.sidebar-collapse) #nav-sidebar .nav-treeview {
  padding: 0.5rem 0 0.5rem 1rem;
}

.card {
  overflow: auto;
  border-radius: calc(var(--rounded) * 2);
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.card-tools .btn {
  min-width: 30px;
  padding: 0.4rem 0.5rem;
  font-size: 12px;
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  z-index: 11;
}

.card-title {
  font-weight: 600;
  float: none;
}

.card-footer {
  background-color: inherit;
}

.card-footer .btn {
  min-width: 78px;
}

/* Input Icon */

.input-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  height: calc(100% - 18px);
  z-index: 111;
}

@supports (-moz-appearance: none) {
  .input-icon {
    max-width: 22px;
  }
}

.password-toggler {
  fill: none;
  stroke: #8e8e8e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  cursor: pointer;
}

.password-toggler svg {
  vertical-align: initial;
}

.password-toggler line {
  stroke-dasharray: 31.2;
  stroke-dashoffset: 31.2;
  transition: all 0.3s ease-out;
}

.password-toggler.show line {
  stroke-dashoffset: 0;
}

.form-password {
  padding-right: 3rem;
}

.form-password.is-invalid {
  padding-right: calc(3rem + 1.5rem);
}

.form-password.is-invalid + .password-toggler {
  right: 2.5rem;
}

.g-recaptcha {
  min-height: 78px;
}

.btn-container .btn:not(.btn-auto) {
  min-width: 88px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.form-control,
.custom-file-label {
  background-color: var(--bg-color);
}

.form-control:not(.form-control-sm) {
  min-height: 38px;
}

.form-group label:not(.form-check-label):not(.custom-file-label) {
  font-weight: 500;
  font-size: 1rem;
}

.form-group .form-sub-label {
  display: inline-block;
  margin: 4px 0 0 0;
  font-size: 0.9em !important;
  font-weight: 400 !important;
  color: #515151;
}

.form-control:focus {
  background-color: var(--bg-color);
  box-shadow: 0 0 0px 2px var(--primary-softer);
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #f0f4f9;
}

.form-error {
  color: #fff;
  background-color: #f23a3c;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='14' height='15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 14.515a7 7 0 110-14 7 7 0 010 14zm-.814-5.86h1.628v-5.21H6.186v5.21zM7 11.259a.82.82 0 00.814-.824A.816.816 0 007 9.631a.813.813 0 100 1.628z' fill='%23fff'/%3E%3C/svg%3E");
  font-size: 0.85em;
  margin-top: 8px;
  border-radius: calc(var(--rounded) * 0.45);
  background-size: 1em;
  background-position: 0.375em;
  background-repeat: no-repeat;
  display: inline-block;
  width: auto;
  padding: 0.25em 0.5em 0.25em 1.625em;
}

.form-sub-label + .form-error {
  margin-top: 2px;
}

.text-sm .dropdown-toggle::after {
  vertical-align: 0.1rem;
  margin-left: 4px;
}

.border-info {
  border-color: #8f8a8a !important;
}

.ticket-user {
  height: 50px;
  width: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid;
}

.ticket-user.ticket-lg-user {
  height: 100px;
  width: 100px;
}

.user-img {
  height: 26px;
  width: 26px;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #e1e1e1;
}

.loading + input {
  padding-right: 2.2em;
}

/* Badge */

.badge {
  user-select: none;
  padding: 8px 12px;
  border-radius: calc(var(--rounded) * 0.385);
  box-shadow: none !important;
  font-weight: 500;
}

.badge-dark {
  color: #4a4a4a !important;
  background-color: rgb(52 58 64 / 14%) !important;
}

.badge-primary {
  color: var(--primary) !important;
  background-color: var(--primary-softer) !important;
}

.badge-success {
  color: #28a745 !important;
  background-color: rgb(40 167 69 / 16%) !important;
}

.badge-warning {
  color: #7a600e !important;
  background-color: rgb(255 193 8 / 26%) !important;
}

.badge-danger {
  color: #dc3545 !important;
  background-color: rgb(219 54 70 / 14%) !important;
}

.badge-info {
  color: #17a2b8;
  background-color: rgb(23 162 184 / 18%);
}

.badge-light {
  color: inherit !important;
  background-color: rgb(255 255 255 / 16%) !important;
}

.badge-btn {
  transition: background 0.15s;
  cursor: pointer;
  border: none !important;
  outline: none !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.badge-btn.badge-primary:hover {
  background-color: rgb(0 123 255 / 25%) !important;
  background-color: var(--primary-soft) !important;
}

.badge-btn.badge-success:hover {
  background-color: rgb(40 167 69 / 25%) !important;
}

.badge-btn.badge-warning:hover {
  background-color: rgb(255 193 8 / 40%) !important;
}

.badge-btn.badge-danger:hover {
  background-color: rgb(219 54 70 / 25%) !important;
}

.badge-btn.badge-info:hover {
  background-color: rgb(23 162 184 / 28%) !important;
}

.badge-btn.badge-light:hover {
  background-color: rgb(255 255 255 / 20%) !important;
}

.badge.badge-circle {
  width: auto;
  min-width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 1em;
  border-radius: 2em;
  padding: 0 6px;
}

.badge.badge-circle.navbar-badge {
  min-width: 18px;
  height: 18px;
  line-height: normal;
  font-size: 8.6px;
  padding: 0 4px;
  font-weight: normal;
  top: 0.5rem;
  right: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.badge.badge-sm {
  font-size: 0.675em !important;
  padding: 0.48em 0.56em;
  line-height: normal;
}

.badge.badge-sm .spinner-border {
  width: 1.2em;
  height: 1.2em;
  font-size: 0.85em;
}

.badge-btn[disabled] {
  pointer-events: none;
  user-select: none;
  opacity: 0.8;
}

.badge.date-due {
  width: auto;
  padding: 0.34em 0.4em;
  font-size: inherit;
  font-weight: inherit;
}

.badge.request {
  max-width: 7rem;
}

.badge.proposal {
  max-width: 7.5rem;
}

.badge.offer,
.badge.agreement {
  max-width: 5rem;
}

.badge.invoice {
  max-width: 5rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border: none;
}

td .badge {
  width: 100%;
  padding: 0.58em;
  font-size: 0.86em;
  font-weight: normal;
}

td .badge-btn {
  padding: 7px 10px;
}

/* Alert */

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-warning {
  color: #664d03;
  background-color: #fff3cd;
  border-color: #ffecb5;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Callout */

.callout {
  border-radius: calc(var(--rounded) * 1.65);
}

.callout a {
  text-decoration: none;
}

.callout a:not(.btn):hover {
  color: var(--primary);
}

.callout.callout-info {
  border-left-color: var(--primary);
}

.info-item {
  font-size: 1.325em;
  word-wrap: break-word;
}

.info-item > b {
  font-size: 1.012em;
  font-weight: 500;
  white-space: nowrap;
  margin-right: 3px;
}

.info-item > p {
  white-space: break-spaces;
  display: inline;
}

.callout .badge,
.info-item .badge {
  padding: 0.43em 0.52em !important;
  font-size: 0.8rem;
  line-height: 1;
}

.modal-items .info-item {
  margin: 4px 0;
}

.user-info .badge {
  padding: 4px 8px !important;
  font-size: 12px !important;
}

.user-info > b {
  color: #979aa3;
  margin-right: 3px;
}

.user-info > span {
  font-weight: 500;
  font-size: 13px;
}

/* Header DropDown */

.main-header [data-toggle='dropdown'] {
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  margin: 2px 0 0 0;
}

.main-header [data-toggle='dropdown']:hover {
  background-color: #ebebeb;
}

.main-header [data-toggle='dropdown'] .far {
  font-size: 20px !important;
}

.main-header [data-toggle='dropdown'] .fa-bell {
  position: relative;
  font-size: 22px !important;
}

.main-header [data-toggle='dropdown'] .fa-bell::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 8px;
  height: 8px;
  background-color: #eb1025;
  border-radius: 50%;
  display: var(--dot-display, 'block');
}

.main-header .navbar-badge {
  width: 16px;
  height: 16px;
  line-height: 16px;
  z-index: 1;
  right: 4px;
}

.main-header .dropdown-menu {
  top: 50px;
  left: 50% !important;
  right: inherit !important;
  transform: translateX(-50%);
  border-radius: calc(var(--rounded) * 0.9);
}

.main-header .dropdown-menu h2 {
  font-size: 1rem;
  color: #7a7a7a;
  font-weight: 700;
  margin: 0;
}

#read-all-notifications {
  font-size: 0.85rem;
}

#main-heading a {
  white-space: nowrap;
}

.dropdown-content {
  width: auto;
  min-width: 280px;
  max-width: 310px;
  min-height: 198px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.notification-item {
  margin: 0;
  display: block;
  padding: 8px 14px;
  border-bottom: 1px solid #ddd;
}

.notification-item:not([href]) {
  cursor: default;
}

.notification-item:nth-child(4) {
  border-bottom: none;
}

.notification-item:hover {
  background-color: #eaedf2;
}

.notification-item .notification-title {
  color: #565656;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.notification-item .notification-time {
  margin: 0;
  color: #979797;
  font-size: 0.85rem;
  font-weight: 500;
}

.info-heading {
  color: var(--primary);
  font-size: 1.5em;
}

.info-heading .badge {
  font-size: 0.75rem !important;
  font-weight: 500;
  margin-left: 2px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  text-transform: none;
}

/* dropdown */

.dropdown-menu {
  border: none;
  border-radius: var(--rounded);
  padding: 0.25rem;
  min-width: 7rem;
  z-index: 1060;
  background-color: var(--bg-color);
}

.dropdown-divider {
  margin: 0.25rem 0;
  border-color: #e3e3e3;
}

.dropdown-item {
  position: relative;
  border-radius: calc(var(--rounded) * 0.45);
  padding: 0.36rem 0.65rem;
}

.dropdown-item .fa,
.dropdown-item .fas,
.dropdown-item .far {
  min-width: 18px;
  margin-left: -4px;
  text-align: center;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
  color: inherit;
  background-color: var(--hover-color);
}

.dropdown-item.selected::after {
  position: absolute;
  right: 0.65em;
  content: '✓';
  color: inherit;
  font-size: 1.1em;
  font-family: initial;
}

.dropdown-selectable .dropdown-item {
  padding: 0.25rem 1.85rem 0.25rem 0.65rem;
  cursor: default;
}

.dropdown-menu.angle-top::after {
  content: '';
  width: 13px;
  height: 13px;
  background: inherit;
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: -1;
  transform: rotate(45deg) translateX(-50%);
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.dropdown-menu .close {
  margin-top: 0.75rem;
  margin-right: 0.6rem;
}

/* table nav/tab bar */

.table-nav {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  position: relative;
  flex-wrap: nowrap;
}

.table-nav .nav-item {
  color: #757575;
  font-weight: 500;
  font-size: min(2.9vw, 100%);
  position: relative;
  white-space: nowrap;
}

.table-nav .nav-item.active,
.table-nav .nav-item.active .nav-item-value {
  color: var(--primary) !important;
}

.table-nav .nav-item .nav-item-value {
  color: #999999;
  margin-left: 2px;
  font-size: 0.8rem;
}

.table-nav::after,
.table-nav .nav-item::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2.5px;
  bottom: -16px;
  left: 0;
  background: #e7e7e7;
}

.table-nav .nav-item.active::after {
  background: var(--primary) !important;
  z-index: 1;
}

/* data table customization */

.dataTables_wrapper > .row:first-of-type {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  text-align: right !important;
}

.dataTables_wrapper > .row:nth-of-type(2) {
  overflow: auto;
}

.dataTables_filter {
  text-align: left !important;
}

.dataTables_filter input {
  width: 120%;
  min-width: 170px;
}

.dataTables_length {
  display: inline-block;
}

.dataTables_buttons .btn {
  border-radius: calc(var(--rounded) / 1.25);
  margin-left: 8px;
  padding: 0.3rem 0.5rem;
  font-size: 12px !important;
  min-width: 30px;
}

.dataTables_settings {
  position: relative;
  display: inline-block;
  padding: 0;
}

.dataTables_settings .dropdown-menu {
  transform: translate(calc(56px - 100%), 38px) !important;
  min-width: 140px;
}

.dataTables_settings .dropdown-menu.angle-top::after {
  left: auto;
  right: 20px;
}

.dataTables_settings .dropdown-menu .dropdown-selectable {
  max-height: calc(100vh - 374px);
  overflow: auto;
}

.dataTable > thead > tr > th:not(.sorting_disabled) {
  padding-right: 1.68rem !important;
}

.dataTable > thead .sorting:before,
.dataTable > thead .sorting:after,
.dataTable > thead .sorting_asc:before,
.dataTable > thead .sorting_asc:after,
.dataTable > thead .sorting_desc:before,
.dataTable > thead .sorting_desc:after,
.dataTable > thead .sorting_asc_disabled:before,
.dataTable > thead .sorting_asc_disabled:after,
.dataTable > thead .sorting_desc_disabled:before,
.dataTable > thead .sorting_desc_disabled:after {
  font-family: 'Segoe UI';
  bottom: 1em !important;
}

.sorting_disabled {
  border: none !important;
}

.table ~ .dataTables_processing {
  box-shadow: none;
}

.table:not(.no-header) ~ .dataTables_processing {
  margin-top: 2px !important;
  border: none !important;
}

.table:not(.no-header) .dataTables_empty {
  padding-top: 1.4rem;
  padding-bottom: 0.7rem;
  background: var(--bg-color);
}

.table,
.table > thead > tr > th:not(.sorting_disabled),
.table > thead > tr > td:not(.sorting_disabled),
.table.table-bordered tbody th,
.table.table-bordered tbody td {
  border: none !important;
}

.table thead {
  background: rgb(128 128 128 / 8%);
}

.table th {
  padding: 1rem 0.75rem;
  white-space: nowrap !important;
}

.table th {
  white-space: nowrap !important;
  padding: 0.8rem 0.75rem;
  line-height: normal;
}

.table td {
  font-weight: 500;
  vertical-align: middle !important;
  padding: 0.3rem 0.4rem;
}


.table tbody tr.active,
.table tbody tr[data-href]:hover,
.table.table-hover tbody tr:hover {
  background-color: var(--primary-softer) !important;
}

.table.table-hover tbody tr {
  cursor: pointer;
}

.table:not(.no-striped) tr.even {
  background: rgb(154 154 154 / 4%);
}

.table .btn.dropdown-toggle {
  padding: 4px 0.65rem;
}

.table td .img-avatar {
  border: none;
  width: 30px;
  height: 30px;
}

.table .btn-group .fa-ellipsis {
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
}

.table tr .btn-group .fa-ellipsis.active,
.table tr:hover .btn-group .fa-ellipsis {
  background: var(--primary);
  color: white;
  font-size: 1rem;
}

.table tr .btn-group .fa-ellipsis.vertical {
  transform: rotate(90deg);
}

.row-splite {
  width: 100% !important;
  padding: 0 !important;
}

.text-ellipsis {
  white-space: nowrap;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-tight th,
.table-tight td {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.table-tight th:first-of-type,
.table-tight td:first-of-type {
  padding-left: 1rem;
}

.table-tight th:last-of-type,
.table-tight td:last-of-type {
  padding-right: 1rem;
}

.paginate ul li {
  background: none;
  padding: 0;
  border: none;
}

.page-item .page-link,
.page-item.disabled .page-link {
  background-color: var(--bg-color);
}

.page-link:focus {
  box-shadow: none;
}

tr.new-activity {
  position: relative;
}

tr.new-activity::after {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: blink 1s infinite;
}

/* Placeholder */

.ph-item {
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem;
  border-radius: calc(var(--rounded) * 2);
}

.ph-item:before {
  -webkit-animation: ph-animation 0.8s linear infinite;
  animation: ph-animation 0.8s linear infinite;
  background: linear-gradient(90deg,
      hsla(0, 0%, 100%, 0) 46%,
      hsla(0, 0%, 100%, 0.35) 50%,
      hsla(0, 0%, 100%, 0) 54%) 50% 50%;
  bottom: 0;
  content: ' ';
  left: 50%;
  margin-left: -250%;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 500%;
  z-index: 1;
}

.ph-item > *:not(:last-child) {
  margin-bottom: 15px;
}

.ph-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.ph-row div {
  height: 8px;
  border-radius: calc(var(--rounded) * 0.45);
  background-color: var(--hover-color);
}

.ph-table .ph-row {
  border-bottom: 1px solid var(--hover-color);
  padding: 14px 16px;
}

.ph-table .ph-row div {
  border-radius: calc(var(--rounded) * 1.1);
  max-width: 130px;
}

.ph-table .ph-row:first-of-type {
  background-color: var(--hover-color);
}

.ph-row .big,
.ph-row.big div {
  height: 20px;
}

.ph-row .empty {
  background-color: hsla(0, 0%, 100%, 0);
}

.ph-col-2 {
  flex: 0 0 16.6666666667%;
}

.ph-col-4 {
  flex: 0 0 33.3333333333%;
}

.ph-col-6 {
  flex: 0 0 50%;
}

.ph-col-8 {
  flex: 0 0 66.6666666667%;
}

.ph-col-10 {
  flex: 0 0 83.3333333333%;
}

.ph-col-12 {
  flex: 0 0 100%;
}

.ph-avatar {
  background-color: var(--hover-color);
  border-radius: 50%;
  min-width: 60px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.ph-avatar:before {
  content: ' ';
  display: block;
  padding-top: 100%;
}

.ph-picture {
  background-color: var(--hover-color);
  height: 120px;
  width: 100%;
}

/* table-wrapper */

.table-wrapper .card {
  overflow: visible;
}

.table-wrapper .table-placeholder:not([hidden]) ~ .table-content {
  display: none;
}

/* Modal */

.modal {
  background-color: rgba(0, 0, 0, 0.5);
}

.modal .modal-header,
.modal .modal-footer {
  border: none;
}

.modal .modal-footer {
  padding-bottom: 1rem;
}

.modal .modal-content {
  background-color: var(--bg-color);
  border-radius: calc(var(--rounded) * 1.1);
}

.modal-footer .btn {
  min-width: 62px;
}

.modal .form-check-input,
.form-check .form-field-toggler {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.modal .form-check-label {
  font-size: 14px;
  font-weight: 500 !important;
  cursor: pointer;
}

.modal .header-large {
  padding: 16px 0 30px 0;
  margin: 0 14px 12px 14px;
}

.modal .form-section.page-section {
  padding: 0px 10px;
  font-size: 16px;
}

.modal-open .calendar.popup {
  z-index: 100000;
}

.table tr:nth-child(1) > td,
.table .notification-item {
  border: none !important;
}

.modal .col-form-label,
.modal label:not(.form-sub-label) {
  font-weight: 500 !important;
  font-size: 0.95rem;
}

.modal-dialog.large {
  width: 80% !important;
  max-width: unset;
}

.modal-dialog.mid-large {
  width: 50% !important;
  max-width: unset;
}

.modal-header .badge-btn {
  line-height: normal;
}

/* carousel */

.carousel {
  max-width: 350px;
  background-color: var(--hover-color);
  border-radius: calc(var(--rounded) * 1.1);
  overflow: hidden;
}

.carousel img {
  width: 100%;
  height: 230px;
  -o-object-fit: cover;
  object-fit: cover;
}

.carousel [class*='carousel-control'] {
  display: none;
  line-height: 20px;
  background: var(--primary);
  border-radius: 50%;
  color: white !important;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 10px;
  width: 26px;
  height: 26px;
  font-size: 1.2em;
}

.carousel:hover [class*='carousel-control'] {
  display: flex;
}

/* items view list  */

.list-no {
  font-size: 1rem;
}

.view-list {
  list-style: none;
  padding: 0;
}

.view-list li {
  margin-bottom: 1.8rem;
}

.view-list li:last-of-type {
  margin-bottom: 0;
}

.view-list li .callout {
  padding: 1.4rem;
}

.rejected {
  opacity: 0.72;
}

/* Chat */

.chat .info-item b {
  font-weight: 500;
  margin-right: 4px;
}

.chat .incoming-msg {
  float: left;
  width: 80%;
}

.chat .outgoing-msg {
  float: right;
  width: 80%;
  text-align: right;
}

.chat .incoming-msg .message {
  background: #eee;
  background: #efefef;
}

.chat .outgoing-msg .message {
  background: #e3f2fa;
  background: #eaf0f6;
}

.user-data {
  display: inline-block;
  margin-bottom: 5px;
}

.user-data .user-name {
  color: #212529;
  font-weight: 500;
  vertical-align: middle;
}

.chat .message {
  padding: 15px 20px;
  line-height: 26px;
  font-size: 16px;
  border-radius: 0 calc(var(--rounded) * 0.8) calc(var(--rounded) * 0.8) calc(var(--rounded) * 0.8);
  display: inline-block;
  text-align: left;
  position: relative;
}

.chat .message:before {
  position: absolute;
  content: '';
  border: 10px solid transparent;
  top: 0px;
}

.chat .incoming-msg .message:before {
  left: -10px;
  border-top-color: #eee;
  border-top-color: #efefef;
}

.chat .outgoing-msg .message:before {
  right: -10px;
  border-top-color: #e3f2fa;
  border-top-color: #eaf0f6;
}

.chat .message p {
  margin: 0;
  font-size: 1rem;
  white-space: break-spaces;
}

.chat .message-data-time {
  color: #747474;
  display: block;
  font-size: 12px;
  margin: 6px 0 8px 0;
}

.chat .type-message {
  clear: both;
}

.chat .outgoing-msg ~ .type-message,
.chat .incoming-msg ~ .type-message {
  padding-top: 28px;
}

.chat hr + .type-message {
  padding-top: 5px;
}

.chat .btn {
  min-width: 76px;
}

.chat .form-control {
  border-color: #dde3e9;
  background: var(--bg-color);
  padding: 0.75rem;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  outline: 0;
}

.chat .form-control:focus {
  color: #495057;
  border-color: #80bdff;
  -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
}

/* Chat Widget */

.chat-widget .chat {
  margin: 0 6px;
  padding: 0 1rem;
  overflow: auto;
  flex-grow: 1;
  min-height: 110px;
}

.chat-widget .chat .outgoing-msg,
.chat-widget .chat .incoming-msg {
  width: 90%;
}

.chat-widget .chat-header {
  color: white;
  padding: 1.4rem;
  background: var(--blue);
}

.chat-widget #message-form {
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--border-color);
}

.message-box {
  border-radius: calc(var(--rounded) * 0.4);
  font-size: 1rem;
  line-height: 22px;
  max-height: 86px;
  overflow: hidden auto;
  margin: 8px;
  position: relative;
  width: 100%;
  flex-basis: 100%;
  word-break: break-word;
  cursor: text;
  border: none;
  background-color: transparent;
  outline: none;
}

.message-box[contenteditable][aria-placeholder]:empty::after {
  display: block;
  content: attr(aria-placeholder);
  position: relative;
  color: #aeaeae;
  background-color: transparent;
  cursor: text;
  user-select: none;
  line-height: 22px;
  height: 22px;
}

.message-send.btn {
  padding: 0;
  min-width: 35px;
  min-height: 35px;
  border-radius: 50%;
  flex-grow: 1;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: #616161 !important;
  font-size: 1.1rem !important;
}

.message-send:hover {
  background-color: rgba(38, 50, 64, 0.1);
}

/* Accordion */

.accordion-item:not(:last-of-type) {
  margin-bottom: 8px;
}

.collapse-toggler {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 24px;
  color: #202020;
  cursor: pointer;
  padding: 12px 47px 12px 16px;
  position: relative;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  border: 1px solid #ddd;
  border-top-left-radius: var(--rounded);
  border-top-right-radius: var(--rounded);
  background-color: var(--light);
}

.collapse-toggler.collapsed {
  color: #3e3b3b;
  border-radius: var(--rounded);
}

.collapse-toggler.red-mark {
  background-color: rgb(219 54 70 / 14%);
}

.collapse-toggler.green-mark {
  background-color: rgb(40 167 69 / 16%);
}

.collapse-toggler::after {
  content: '\f106';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 1rem;
  position: absolute;
  right: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
}

.collapse-toggler.collapsed::after {
  -webkit-transform: translateY(-50%) rotateX(180deg);
  transform: translateY(-50%) rotateX(180deg);
}

/* alert toast */

.alert-toast {
  max-width: 350px;
  min-width: 200px;
  border-radius: calc(var(--rounded) * 1.15);
  width: auto;
  overflow-y: hidden;
  background-color: white;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  padding: min(0.5rem, 7px) 1.2rem min(0.5rem, 7px) 0.8rem;
  font-size: max(0.875rem, 12.25px);
  -webkit-animation: alert-toast-show 0.5s;
  animation: alert-toast-show 0.5s;
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 111111;
}


.toast-icon {
  position: relative;
  box-sizing: content-box;
  justify-content: center;
  border: 0.25em solid transparent;
  border-radius: 50%;
  width: 2em;
  min-width: 2em;
  height: 2em;
  margin: 0;
}

.toast-title {
  position: relative;
  font-weight: 600;
  text-transform: none;
  word-wrap: break-word;
  flex-grow: 1;
  color: #6c757d;
}

/* alert toast success */

.toast-icon.success {
  color: #28a745;
  border-color: #28a745;
}

.toast-icon [class^='toast-success-circular-line'] {
  position: absolute;
  width: 1.6em;
  height: 3em;
  transform: rotate(45deg);
  border-radius: 50%;
  background-color: white;
}

.toast-icon [class^='toast-success-circular-line'][class$='left'] {
  top: -0.8em;
  left: -0.5em;
  transform: rotate(-45deg);
  transform-origin: 2em 2em;
  border-radius: 4em 0 0 4em;
}

.toast-icon [class^='toast-success-circular-line'][class$='right'] {
  top: -0.25em;
  left: 0.9375em;
  transform-origin: 0 1.5em;
  border-radius: 0 4em 4em 0;
  transform: rotate(-45deg);
  -webkit-animation: toast-success-circular-line 4.25s ease-in;
  animation: toast-success-circular-line 4.25s ease-in;
}

.toast-icon [class^='toast-success-line'] {
  display: block;
  position: absolute;
  z-index: 2;
  height: 0.3125em;
  border-radius: 0.125em;
  background-color: #28a745;
}

.toast-icon [class^='toast-success-line'][class$='tip'] {
  top: 1.125em;
  left: 0.1875em;
  width: 0.75em;
  transform: rotate(45deg);
  -webkit-animation: toast-success-line-tip 0.75s;
  animation: toast-success-line-tip 0.75s;
}

.toast-icon [class^='toast-success-line'][class$='long'] {
  top: 0.9375em;
  right: 0.1875em;
  width: 1.375em;
  transform: rotate(-45deg);
  -webkit-animation: toast-success-line-long 0.75s;
  animation: toast-success-line-long 0.75s;
}

.toast-icon .toast-success-ring {
  position: absolute;
  z-index: 2;
  top: -0.25em;
  left: -0.25em;
  box-sizing: content-box;
  width: 2em;
  height: 2em;
  border: 0.25em solid rgba(165, 220, 134, 0.3);
  border-radius: 50%;
}

/* alert toast error */

.toast-icon.error {
  display: flex;
  color: #dc3545;
  border-color: #dc3545;
  -webkit-animation: toast-animate-error-icon 0.5s;
  animation: toast-animate-error-icon 0.5s;
}

.toast-icon .error-x-mark {
  -webkit-animation: toast-animate-error-x-mark 0.5s;
  animation: toast-animate-error-x-mark 0.5s;
  flex-grow: 1;
}

.toast-icon [class^='error-x-mark-line'] {
  width: 1.375em;
  height: 0.3125em;
  border-radius: 0.125em;
  background-color: #dc3545;
  position: absolute;
  top: 0.875em;
}

.toast-icon [class^='error-x-mark-line'][class$='left'] {
  left: 0.3125em;
  transform: rotate(45deg);
}

.toast-icon [class^='error-x-mark-line'][class$='right'] {
  right: 0.3125em;
  transform: rotate(-45deg);
}

/* alert toast warning */

.toast-icon.warning {
  border-color: #ffca2b;
  color: #ffc107;
}

.toast-icon .warning-icon-content {
  font-size: 1.8em;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* custom select dropdown */

.select-dropdown-container {
  position: relative;
  display: block;
}

.custom-control-label::before {
  box-shadow: none;
  background-color: var(--bg-color);
}

.form-custom-select {
  position: relative;
  z-index: 111;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-custom-select:not(.form-dropdown) {
  padding-right: 1.875em;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2357647E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 10px bottom 50%;
  background-size: 0.625em;
  background-repeat: no-repeat;
  background-color: var(--bg-color);
}

.select-options-container {
  background-color: var(--bg-color);
  min-width: 100px;
  outline: 0;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  display: none;
  position: absolute;
  inset: 0px auto auto 0px;
  margin: 0px;
  width: 100%;
  padding-top: 4px;
  padding-bottom: 2px;
  border-radius: 0 0 calc(var(--rounded) * 0.9) calc(var(--rounded) * 0.9);
  overflow: hidden;
  z-index: 110;
}

.select-options-header {
  padding-left: 16px;
  padding-right: 16px;
  font-weight: 500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 36px;
}

.select-options-container .name {
  -ms-flex-preferred-size: 30%;
  flex-basis: 30%;
  min-width: 150px;
}

.select-filter-wrapper {
  padding-left: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 40px;
  border-bottom: 1px solid #e9e9e9;
}

.select-search-icon {
  font-size: 1rem;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  color: #545454;
}

.select-filter-input {
  border: none;
  background-color: transparent;
  padding-left: 0.65rem;
  padding-right: 1rem;
  font-size: 1rem;
  width: 100%;
  outline: none;
}

.select-options-wrapper {
  overflow: auto;
  max-height: 190px;
}

.select-options-wrapper::-webkit-scrollbar-button {
  background-color: transparent;
}

.select-option {
  width: 100%;
  height: 36px;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: rgba(0, 0, 0, 0.87);
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  font-weight: 400;
  background-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* border-top: 1px solid #f5eaea; */
}

.select-option:hover:not(.disabled) {
  /* background-color: rgba(0, 0, 0, 0.048); */
  background-color: #e6e8ea;
}

.select-option.active {
  /* background-color: rgba(0, 0, 0, 0.048); */
  background-color: #e6e8ea;
}

.select-option.selected.disabled {
  cursor: default;
  color: #9e9e9e;
  background-color: transparent;
}

.select-option.selected {
  background-color: #e6e8ea !important;
}

.select-option.disabled {
  cursor: default;
  color: #9e9e9e;
}

.select-no-results {
  height: 38px;
  line-height: 38px;
  padding-left: 16px;
  padding-right: 16px;
  display: none;
  text-align: center;
  font-size: 1rem;
}

/* form-processing */

#form-processing:not(.processing, .thankyou) {
  display: none;
}

#form-processing .form-all {
  margin-top: 18px !important;
}

#form-processing .processing-wrapper {
  min-height: 370px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#form-processing img {
  width: 100%;
  margin: 24px 0;
  max-width: 153px;
}

#form-processing h1 {
  font-size: 50px;
  font-weight: 600;
  margin: 0 0 16px;
}

#form-processing p {
  color: #2c3345;
  margin-bottom: 0;
  opacity: 0.8;
  font-size: 16px;
}

#form-processing.processing .thankyou,
#form-processing.thankyou .processing {
  display: none !important;
}

/* avatar custom upload */

.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: 20px auto;
}

.avatar-heading {
  font-size: 20px;
  text-align: center;
  margin: 20px 0 20px;
}

.avatar-upload .avatar-edit {
  position: absolute;
  right: 30px;
  z-index: 1;
  top: 12px;
}

.avatar-upload .avatar-edit input {
  display: none;
}

.avatar-upload .avatar-edit input + label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.avatar-upload .avatar-edit input + label:after {
  content: '\f040';
  font-family: 'FontAwesome';
  color: #757575;
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}

.avatar-upload .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #fff;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview .image-preview {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  object-fit: cover;
}

/* custom file upload */

.form-custom-file::file-selector-button,
.form-custom-file::-webkit-file-upload-button {
  display: none;
}

.form-custom-file {
  padding: 8px 0.625em;
  position: relative;
}

.form-custom-file::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  padding: 8px 0.9em;
  color: #495057;
  content: 'Browse';
  background-color: #e9ecef;
  border-left: inherit;
  box-shadow: inherit;
  border-radius: 0 calc(var(--rounded) * 0.5) calc(var(--rounded) * 0.5) 0;
  font-size: 0.93em;
}

/* Request Task */

.task-item:not(:last-of-type) {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.task-item input[type=checkbox]:checked ~ label {
  text-decoration: line-through var(--primary);
}

/* Webiste */

.website-global {
  color: #009100;
}

.website-local {
  color: #a52a2a;
}

.website-description {
  margin: 0.25rem 0;
  white-space: break-spaces;
}

.website-name {
  word-break: break-all;
}

/* Recommended Accommodation */

.landlord-accommodation {
  border: 1px solid #ddd;
  border-top: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 10px;
  overflow: hidden;
  background-color: var(--light);
}

.accommodation-item.highlight {
  background-color: rgb(40 167 69 / 16%);
  margin: 1px 0;
}

.accommodation-item.lightgrey {
  background-color: rgb(52 58 64 / 10%);
  margin: 1px 0;
}

.accommodation-item:not(:first-of-type) {
  border-top: 1px solid var(--border-color);
}

.accommodation-item .carousel {
  background-color: #ededed;
}

.accommodation-item .carousel img {
  height: 150px;
}

.accommodation-item .carousel [class*='carousel-control'] {
  width: 20px;
  height: 20px;
  font-size: 0.9rem;
}

.accommodation-item .thumbs .btn {
  font-size: 1.4em !important;
}

#accommodations-list .accommodation-item:not(:first-of-type) {
  margin-top: 1rem;
  padding-top: 1rem;
}

#radius-labels {
  margin-left: -6px;
  margin-right: -12px;
}

#radius-labels label {
  font-size: min(2vw, 10px);
  font-weight: normal;
  cursor: pointer;
}

#radius-labels label::before {
  content: '';
  width: 0px;
  height: 10px;
  display: block;
  margin: -12px auto 2px auto;
  border: 1px solid #dcdcdc;
}

/* tinymce */

textarea.tinymce-editor {
  height: 400px;
}

.tox.tox-tinymce {
  border-radius: 0 !important;
}

.tox .tox-number-input input {
  width: 36px !important;
}

.tox .tox-tbtn--bespoke[title='Blocks'] {
  width: 92px;
}

.tox .tox-tbtn--bespoke[title='Fonts'] {
  width: 106px;
}

.tox .tox-toolbar__group {
  padding: 0 8px;
}

/*.emails-list  */

.emails-list {
  max-height: calc(100vh - 236px);
  overflow: auto;
}

.emails-list .list-group-item {
  background-color: var(--bg-color);
}

.emails-list .mailer-name::after {
  content: '-';
  padding: 0 3px;
}

.email-template-modal .btn.btn-secondary {
  border-color: #f7f7f7;
  background-color: #f7f7f7;
}

.email-template-modal .btn-secondary:hover {
  color: #222f3e !important;
  background-color: #e8edf4 !important;
}

.email-template-form input[placeholder='Subject'] {
  padding: 12px 16px;
  height: auto;
  display: block;
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  border-radius: 0;
  outline: none;
  border: none;
  border-top: 1px solid #eee;
}

.email-template-form .tox.tox-tinymce {
  border-top-width: 1px !important;
}

.email-template-form .tox-editor-header {
  order: 2;
  box-shadow: 0 -2px 2px -2px rgba(34, 47, 62, 0.1), 0 -8px 8px -4px rgba(34, 47, 62, 0.07) !important;
}

/* gradient card */

.gradient-card {
  --color: var(--primary-light);
  background: linear-gradient(135deg, var(--color), color-mix(in srgb, var(--color) 50%, white 50%)) !important;
  text-shadow: 1px 1px 1px var(--gray);
  outline: 1px solid var(--color);
  outline-offset: -6px;
}

.gradient-card .card-body {
  padding: 1rem 1.3rem 0.7rem 1.3rem;
}

.gradient-card h2 {
  position: absolute;
  bottom: 18%;
  right: 10%;
  margin: 0;
  font-size: 46px;
  font-weight: 700;

}

.gradient-card h4 {
  margin-bottom: 0.75rem;
}

.gradient-card h6 {
  margin-bottom: 0.4rem;
}

.gradient-card .growth svg {
  margin-top: -2px;
  height: 14px;
}

.gradient-card .growth.down svg {
  transform: rotate(180deg);
}

.gradient-card .badge-btn {
  min-width: 44px;
}

.bg-gradient-info {
  background: -webkit-gradient(linear, left top, right top, from(#90caf9), color-stop(99%, #047edf)) !important;
  background: linear-gradient(to right, #90caf9, #047edf 99%) !important;
}

.bg-gradient-success {
  background: -webkit-gradient(linear, left top, right top, from(#84d9d2), to(#07cdae)) !important;
  background: linear-gradient(to right, #84d9d2, #07cdae) !important;
}

.bg-gradient-danger {
  background: -webkit-gradient(linear, left top, right top, from(#ffbf96), to(#fe7096)) !important;
  background: linear-gradient(to right, #ffbf96, #fe7096) !important;
}

.bg-gradient-indigo {
  background: -webkit-gradient(linear, left top, right top, from(#db97f8), to(#8471f3)) !important;
  background: linear-gradient(to right, #db97f8, #8471f3) !important;
}

/* switch */

.switch {
  position: relative;
  display: inline-block;
  min-width: 48px;
  min-height: 25px;
  margin-bottom: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-holder {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.switch-holder:before {
  position: absolute;
  content: '\f00d';
  height: 21px;
  width: 21px;
  left: 2px;
  bottom: 2px;
  background-color: var(--bg-color);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  border-radius: 50%;
  color: #ddd;
}

input:checked ~ .switch-holder {
  background-color: var(--primary);
}

input:checked ~ .switch-holder:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
  content: '\f00c';
  color: var(--primary);
}

input:disabled ~ .switch-holder {
  pointer-events: none;
  opacity: 0.75;
}

.switch-group {
  padding: 0.5rem 1rem;
}

.switch-text {
  font-weight: 400 !important;
  font-size: 0.96rem !important;
  line-height: 1;
}

.switch-group .form-group {
  margin-bottom: 0.5rem;
  max-width: 340px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

/* card steps */

.card-step .card-body {
  padding: 1.25rem 1.8rem;
}

.card-step-item {
  margin-bottom: 0.65rem;
}

.card-step-item .card-body {
  padding: 0.75rem 0.85rem;
}

.card-step-item .btn {
  border-left: 1px solid rgba(0, 0, 0, 0.125);
}

.card-step-item:hover .card {
  background-color: rgb(213 213 213 / 8%);
}

.card-step-item.active .card {
  background-color: rgb(213 213 213 / 12%);
}

.card-step-item.active .btn,
.card-step-item:hover .btn {
  color: white;
  background-color: var(--primary);
}

/* pdf-page */

.pdf-page {
  width: 56.69285714285714em;
  height: 80.17928571428571em;
  font-size: min(14px, 1.2vw);
  font-family: 'Inter';
  padding: 3.21em 4.64em;
  margin: 2em auto;
  line-height: 1.4;
  box-shadow: 0 0.14em 0.64em rgba(0, 0, 0, 0.1);
  background-color: white;
  box-sizing: border-box;
  overflow: hidden;
}

.pdf-page h1,
.pdf-page h2,
.pdf-page h3,
.pdf-page h4,
.pdf-page h5,
.pdf-page h6 {
  font-weight: bold;
  line-height: normal;
}

.pdf-page h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

.pdf-page h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

.pdf-page h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

.pdf-page h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

.pdf-page h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

.pdf-page h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

.pdf-page p {
  margin: 1em 0;
}

.pdf-page ul {
  margin: 1em 0;
  padding-inline-start: 2.86em;
}

.pdf-page .signature {
  width: 60%;
  height: 4em;
  margin-top: 0.86em;
  border-bottom: 0.15em solid black;
  display: flex;
  align-items: center;
}

.pdf-page .signature img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.pdf-page .signature-date {
  width: 60%;
  padding: 0.43em 0;
  border-bottom: 0.15em solid black;
  white-space: nowrap;
}

.pdf-page .signature-date .auto-generate {
  opacity: 0.5;
  font-size: 0.85em;
}

.pdf-page [contenteditable='true'] {
  outline: dimgrey dashed 1px;
  outline-offset: 3px;
}

.pdf-page [contenteditable='true']:not(ul) {
  display: inline-block;
}

.pdf-page [contenteditable='true']:focus {
  outline-style: double;
  outline-color: #116acc;
}

.pdf-container {
  /*width: 210mm;
  height: 297mm;
  width: 793.7px;
  height: 1122.51px; */
  width: 56.69285714285714em;
  font-size: min(14px, 1.2vw);
  margin: auto;
}

.pdf-container .alert {
  padding: 0.8em 1.4em;
}

.pdf-container .alert p {
  margin-bottom: 0.5em;
}

/* wizard steps */

.wizard > .steps .current-info {
  display: none;
}

.wizard > .steps ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 1.6rem 0 3rem 0;
  list-style: none;
}

.wizard > .steps li a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background-color: var(--primary-softer);
  margin-right: 27px;
  position: relative;
  text-align: center;
  font-weight: 500;
}

.wizard > .steps li a:before,
.wizard > .steps li a:after {
  content: '';
  height: 2px;
  position: absolute;
  top: 50%;
  left: calc(7.5px - 100%);
  transform: translateY(-50%);
}

.wizard > .steps li a:before {
  width: calc(100% - 10px);
  background-color: var(--primary-softer);
}

.wizard > .steps li a:after {
  width: 0;
  background: var(--primary);
  transition: all 0.6s ease;
}

.wizard > .steps li.first a,
.wizard > .steps li.checked a {
  background: var(--primary);
  color: white;
}

.wizard > .steps li.checked a:after {
  width: calc(100% - 10px);
}

.wizard > .steps li:last-child a {
  margin-right: 0;
}

.wizard > .steps li:first-child a:before,
.wizard > .steps li:first-child a:after {
  display: none;
}

.wizard > .steps li.disabled {
  pointer-events: none;
  opacity: 0.8;
}

.wizard-header p {
  max-width: 475px;
  font-size: 0.9rem;
}

/* check icon */

.check-icon {
  animation: 0.32s ease-in-out 1.03s check-icon;
  transform-origin: center;
}

.check-icon circle:nth-child(1) {
  fill: var(--primary);
}

.check-icon circle:nth-child(2) {
  animation: 0.35s ease-in 0.35s forwards check-circle;
  transform: none;
  transform-origin: center;
  fill: white;
}

.check-icon circle:nth-child(3) {
  animation: 0.38s ease-in check-outline;
  transform: rotate(0deg);
  transform-origin: center;
  stroke: var(--primary);
}

.check-icon polyline {
  animation: 0.34s cubic-bezier(0.65, 0, 1, 1) 0.8s forwards check-stroke;
  stroke-dasharray: 0, 75px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: white;
}

.log-icon {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 0.9em;
  border-radius: 50%;
  text-align: center;
  color: var(--primary);
  background-color: rgb(0 123 255 / 17%);
}

.card .nav-tabs {
  justify-content: space-evenly;
}

.card .nav-tabs .nav-item {
  flex: 1 1;
  max-width: 220px;
}

.card .nav-tabs .nav-link {
  text-align: center;
  font-size: 0.94rem;
  border-radius: 31px;
  border: 1px solid #ddd;
  margin: 0 10px;
  color: #a4a4a4;
}

.card .nav-tabs .nav-link.active {
  color: var(--primary);
  border-color: var(--primary-softer);
  background-color: var(--primary-softer);
}

/* comments */

.comment:not(:last-of-type) {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}

.comment .user-data {
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 0;
}

.comment .user-img {
  width: 36px;
  height: 36px;
}

.comment .comment-date {
  color: #747474;
  font-size: 12px;
  white-space: nowrap;
}

.comment .info-item {
  font-size: inherit;
}

.comment .table td {
  font-weight: normal;
}

.comment .btn {
  font-size: 0.7rem !important;
}

.new-tag {
  display: inline-block;
  padding: 0 6px;
  border-radius: calc(var(--rounded) * 1.1);
  color: white;
  background-color: var(--primary);
  margin-left: 6px;
  line-height: 1.5;
  vertical-align: middle;
  font-size: 0.8em;
  overflow: hidden;
  cursor: default;
  transform-origin: left;
  transition: transform 0.2s ease-out, color 0.1s ease-in, border-radius 0.2s ease;
}

.message:not(:hover) .new-tag,
.comment:not(:hover) .new-tag {
  transform: scale(0.4);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 0;
  font-size: 0px;
}

/* others */

[data-copy] {
  display: inline-block;
  cursor: pointer;
  color: var(--primary);
  margin-left: 0.5rem;
}

[data-fancybox] {
  cursor: pointer;
}

.add-more-field {
  font-size: inherit;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
  font-size: 14px;
  margin: 6px 0 0;
}

.img-thumbnail {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 100% 100%;
  max-width: 80px;
}

.not-found {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.not-found a {
  font-size: 0.9rem;
  text-decoration: underline;
}

.progress {
  height: 16px;
}

.advertising-terms {
  height: 20px;
  overflow: hidden;
  white-space: pre-wrap;
}

.advertising-terms + .more::before {
  content: 'Read more';
}

.readmore .advertising-terms {
  height: auto;
  overflow: auto;
}

.readmore .advertising-terms + .more::before {
  content: 'Read less';
}

#terms-modal .modal-body {
  padding: 1.2rem;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

#terms-modal .badge-btn {
  min-height: 36px;
  width: 100px;
}

.pac-container.pac-logo {
  z-index: 1111;
}

.pac-container.pac-logo::after {
  /* hide google logo in places search */
  display: none !important;
  background-image: none !important;
}

input[data-component='popup'] {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAABIklEQVRoge2ZSwrCMBBAB4R6CxEP4s5zeAy37qzXcSFewCsILkQEqxcQl+oEK4RYazL56zx4O0nzmkaDBWAYhkmJAp2jJ/Su6Q3douMI832jBP2JNzkNPmMFkzv/yTL4rCXkiegiHrsFJBJBCRAkE0ENECQRYRMg6KJLMNszulbwvCGFzwDfEV9X1UWAoOlxcuU5RIAPtObGAR7hAFv6tVSiBvTQHXpAB8QxogV00I007h5oKxF1BYboRRqbshLR98AIvQI9InqAwCbCS8CE4Eq5ju6e8BLg6nyjsxIc0ERJcK1cJ+ojZEpym9iErL9Gs/4h+4mjRNaHuRd9yPg47QIOiM1/BFTKB1P02BZg+4IjhLO2gKKOSHEltP7cZRiGCcsDm4L9A5/oGyUAAAAASUVORK5CYII=);
  background-position: right 0.75em bottom 50%;
  background-size: 1.15em;
  background-repeat: no-repeat;
  cursor: auto;
  padding-right: 2.6em;
}

input[data-component='popup'].valid {
  background: none;
  padding-right: 2em;
}

input[data-component='popup'].valid ~ .close {
  background-color: var(--bg-color);
  cursor: pointer;
  font-size: 1.2em;
  margin-right: 12.8px;
  margin-top: -30px;
}

input[data-component='popup']:not(.valid) ~ .close {
  display: none;
}

@-webkit-keyframes alert-toast-show {
  0% {
    transform: translate(20px, -0.625em) rotateZ(2deg);
  }

  33% {
    transform: translate(0, 0) rotateZ(-2deg);
  }

  66% {
    transform: translate(-8px, 0.3125em) rotateZ(2deg);
  }

  100% {
    transform: translate(0, 0) rotateZ(0);
  }
}

@keyframes alert-toast-show {
  0% {
    transform: translate(20px, -0.625em) rotateZ(2deg);
  }

  33% {
    transform: translate(0, 0) rotateZ(-2deg);
  }

  66% {
    transform: translate(-8px, 0.3125em) rotateZ(2deg);
  }

  100% {
    transform: translate(0, 0) rotateZ(0);
  }
}

@-webkit-keyframes toast-success-line-tip {
  0% {
    top: 0.5625em;
    left: 0.0625em;
    width: 0;
  }

  54% {
    top: 0.125em;
    left: 0.125em;
    width: 0;
  }

  70% {
    top: 0.625em;
    left: -0.25em;
    width: 1.625em;
  }

  84% {
    top: 1.0625em;
    left: 0.75em;
    width: 0.5em;
  }

  100% {
    top: 1.125em;
    left: 0.1875em;
    width: 0.75em;
  }
}

@keyframes toast-success-line-tip {
  0% {
    top: 0.5625em;
    left: 0.0625em;
    width: 0;
  }

  54% {
    top: 0.125em;
    left: 0.125em;
    width: 0;
  }

  70% {
    top: 0.625em;
    left: -0.25em;
    width: 1.625em;
  }

  84% {
    top: 1.0625em;
    left: 0.75em;
    width: 0.5em;
  }

  100% {
    top: 1.125em;
    left: 0.1875em;
    width: 0.75em;
  }
}

@-webkit-keyframes toast-success-line-long {
  0% {
    top: 1.625em;
    right: 1.375em;
    width: 0;
  }

  65% {
    top: 1.25em;
    right: 0.9375em;
    width: 0;
  }

  84% {
    top: 0.9375em;
    right: 0;
    width: 1.125em;
  }

  100% {
    top: 0.9375em;
    right: 0.1875em;
    width: 1.375em;
  }
}

@keyframes toast-success-line-long {
  0% {
    top: 1.625em;
    right: 1.375em;
    width: 0;
  }

  65% {
    top: 1.25em;
    right: 0.9375em;
    width: 0;
  }

  84% {
    top: 0.9375em;
    right: 0;
    width: 1.125em;
  }

  100% {
    top: 0.9375em;
    right: 0.1875em;
    width: 1.375em;
  }
}

@-webkit-keyframes toast-success-circular-line {
  0% {
    transform: rotate(-45deg);
  }

  5% {
    transform: rotate(-45deg);
  }

  12% {
    transform: rotate(-405deg);
  }

  100% {
    transform: rotate(-405deg);
  }
}

@keyframes toast-success-circular-line {
  0% {
    transform: rotate(-45deg);
  }

  5% {
    transform: rotate(-45deg);
  }

  12% {
    transform: rotate(-405deg);
  }

  100% {
    transform: rotate(-405deg);
  }
}

@-webkit-keyframes toast-animate-error-icon {
  0% {
    transform: rotateX(100deg);
  }

  100% {
    transform: rotateX(0);
  }
}

@keyframes toast-animate-error-icon {
  0% {
    transform: rotateX(100deg);
  }

  100% {
    transform: rotateX(0);
  }
}

@-webkit-keyframes toast-animate-error-x-mark {
  0% {
    margin-top: 1.625em;
    transform: scale(0.4);
    opacity: 0;
  }

  50% {
    margin-top: 1.625em;
    transform: scale(0.4);
    opacity: 0;
  }

  80% {
    margin-top: -0.375em;
    transform: scale(1.15);
  }

  100% {
    margin-top: 0;
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes toast-animate-error-x-mark {
  0% {
    margin-top: 1.625em;
    transform: scale(0.4);
    opacity: 0;
  }

  50% {
    margin-top: 1.625em;
    transform: scale(0.4);
    opacity: 0;
  }

  80% {
    margin-top: -0.375em;
    transform: scale(1.15);
  }

  100% {
    margin-top: 0;
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes check-outline {
  from {
    stroke-dasharray: 0, 345.576px;
  }

  to {
    stroke-dasharray: 345.576px, 345.576px;
  }
}

@keyframes check-circle {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0);
  }
}

@keyframes check-stroke {
  from {
    stroke-dasharray: 0, 75px;
  }

  to {
    stroke-dasharray: 75px, 75px;
  }
}

@keyframes check-icon {
  from {
    transform: scale(1);
  }

  50% {
    transform: scale(1.09);
  }

  to {
    transform: scale(1);
  }
}

@-webkit-keyframes ph-animation {
  0% {
    transform: translate3d(-30%, 0, 0);
  }

  to {
    transform: translate3d(30%, 0, 0);
  }
}

@keyframes ph-animation {
  0% {
    transform: translate3d(-30%, 0, 0);
  }

  to {
    transform: translate3d(30%, 0, 0);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 990px) {

  .pdf-container,
  .pdf-page {
    font-size: 1.65vw;
  }
}

@media (max-width: 768px) {
  .modal-dialog.large {
    width: 100% !important;
    max-width: unset;
  }

  .modal-dialog.mid-large {
    width: 100% !important;
    max-width: unset;
  }

  .text-ellipsis {
    max-width: 200px;
  }

  .dataTables_wrapper .row:first-of-type > .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  body ::-webkit-scrollbar {
    width: 2px;
    height: 2px;
  }

  .d-sm {
    display: none !important;
  }

  .content-wrapper > .content {
    padding: 1.4rem 0.8rem 2.5rem 0.8rem;
  }

  .layout-navbar-fixed .wrapper .main-header {
    padding: 1rem;
  }

  .navbar-expand .navbar-nav {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .nav-item .nav-link.btn-group {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: reverse !important;
    -ms-flex-direction: row-reverse !important;
    flex-direction: row-reverse !important;
  }

  #notification-box {
    left: 20px;
    right: auto;
  }

  .btn-container .btn:not(.btn-auto) {
    min-width: auto;
    height: 31px;
    font-size: 0.75rem !important;
  }

  .dataTables_filter .d-sm + input {
    margin-left: 0 !important;
  }

  .dataTables_wrapper.wrap-buttons .row:first-of-type {
    flex-direction: column-reverse;
  }

  .dataTables_wrapper .row:first-of-type > .col-md-6 {
    padding: 0;
  }

  .dataTables_wrapper.wrap-buttons .row:first-of-type > .col-md-6:first-of-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
  }

  .dataTables_wrapper > .row:nth-of-type(3) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .dataTables_buttons {
    padding: 0;
  }

  .dataTables_buttons .btn {
    margin-right: 0;
  }

  .dataTables_paginate {
    margin-top: 10px !important;
  }

  .card-tools .btn {
    top: 4.45rem;
    padding: 0.3rem 0.5rem;
  }

  .card-tools ~ div .dataTables_wrapper:not(.wrap-buttons) .dataTables_settings {
    padding-right: 38px;
  }

  .table-nav {
    margin-bottom: 2rem !important;
  }

  .table-nav .nav-item {
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
  }

  .table-nav .nav-item:not(:last-of-type) {
    margin-right: 10px !important;
  }

  .table-nav .nav-item .nav-item-value {
    margin-left: 0;
    font-size: 0.78rem;
  }

  .table-nav::after,
  .table-nav .nav-item::after {
    bottom: -10px;
  }

  .tab h5 {
    font-size: 1.1rem;
  }

  .dataTable .request.row .col-4 {
    padding: 0 0.15rem !important;
  }

  .collapse-toggler {
    font-size: 0.9rem;
    padding: 8px 36px 8px 10px;
  }

  .not-found {
    font-size: 26px;
  }

  .chat-widget .chat-header {
    padding: 1rem;
  }

  .dataTables_wrapper > .row:nth-of-type(2) .col-sm-12 {
    padding: 0;
  }

  .img-thumbnail {
    height: 10vh;
    width: 10vh;
  }

  .d-flex > .form-group {
    width: 100% !important;
  }

  .wizard > .steps ul {
    margin: 1.6rem 0;
  }

  .ph-row div {
    height: 4px;
  }

  .ph-table .ph-row {
    padding: 8px;
  }

  .ph-row .big,
  .ph-row.big div {
    height: 12px;
  }

  #radius-labels {
    margin-left: 4px;
    margin-right: -3px;
  }

  #radius-labels label::before {
    margin-top: -14px;
  }

  #radius-labels label:first-of-type {
    left: -4px !important;
  }
}

@media (max-width: 480px) {
  #form-processing {
    max-width: calc(100% - 16px);
    margin: auto;
  }

  #form-processing h1 {
    font-size: 38px;
  }

  #form-processing p {
    font-size: 14px;
    margin: 0 20px;
  }

  .tox .tox-toolbar__primary {
    justify-content: space-between;
  }

  .tox .tox-tbtn--bespoke[title='Fonts'] {
    width: 84px;
  }

  .wizard > .steps li a {
    width: 26px;
    height: 26px;
    line-height: 26px;
    margin-right: 20px;
  }
}

@media (min-width: 1200px) {
  .container-960 {
    max-width: 960px;
  }
}

@media (min-width: 992px) {
  #main-heading {
    left: calc(250px + 2rem);
  }

  .pdf-fluid .pdf-page {
    font-size: calc((100vw - 250px - 3.25rem) * 0.0085437);
  }
}

@media (min-width: 576px) {
  body .scrollbar-md::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  body .scrollbar-sm::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  body .scrollbar-xs::-webkit-scrollbar {
    width: 2px;
    height: 2px;
  }

  #main-heading {
    position: fixed;
    top: 17px;
    z-index: 1037;
  }

  .choices__list::-webkit-scrollbar,
  .select-options-wrapper::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
}