/* Shared responsive safeguards for every page in the default theme. */
html,
body {
  max-width: 100%;
}

body:not(:has(.admin-sidebar)) .main-wrapper video,
body:not(:has(.admin-sidebar)) .main-wrapper iframe,
body:not(:has(.admin-sidebar)) .main-wrapper canvas,
body:not(:has(.admin-sidebar)) .main-wrapper embed,
body:not(:has(.admin-sidebar)) .main-wrapper object {
  max-width: 100%;
}

.main-header .logo img {
  max-height: 64px;
}

.main-wrapper {
  min-width: 0;
  max-width: 100%;
}

.main-wrapper .row > *,
.main-wrapper .card,
.main-wrapper .card-body,
.main-wrapper .sg-offcanvas-mainbar {

  min-width: 0;
}


.main-wrapper pre {
  max-width: 100%;
  overflow-x: auto;
}

.main-wrapper .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dashboard-mobile-sidebar-back {
  display: none;
}

.cc-mobile-header-brand {
  display: none;
}

.cc-home-mobile-header-brand {
  display: none;
}

body.cc-permission-page {
  color: #EDEBE6;
  background: #08080A;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body.cc-permission-page .main-header {
  height: 68px;
  min-height: 68px;
  border-bottom: 1px solid #2C2C33;
  background: #0B0B0D;
}

body.cc-permission-page .main-header .container {
  height: 68px;
  max-width: 1360px;
}

body.cc-permission-page .main-header [class*="col-lg-"] {
  height: 68px;
}

body.cc-permission-page .logo-wrapper {
  padding-left: 0 !important;
}

body.cc-permission-page .logo-wrapper > .logo:not(.cc-auth-logo) {
  display: none !important;
}

body.cc-permission-page .logo.cc-auth-logo {
  display: flex !important;
  width: max-content;
  max-width: none;
  height: 68px;
  align-items: center;
  gap: 10px;
  overflow: visible;
  line-height: normal;
  white-space: nowrap;
}

body.cc-permission-page .cc-header-logo-icon {
  display: block !important;
  width: 180px !important;
  height: auto !important;
  max-width: 180px !important;
  max-height: 64px !important;
  object-fit: contain;
}

body.cc-permission-page .cc-header-logo-copy {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

body.cc-permission-page .cc-header-logo-copy strong {
  display: block;
  width: max-content;
  max-width: none;
  overflow: visible;
  color: #D4A32B;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.4px;
}

body.cc-permission-page .cc-header-logo-copy small {
  display: block;
  margin-top: 5px;
  color: #D6B861;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: .65px;
}

body.cc-permission-page .main-header .search-wrapper {
  width: 100%;
  max-width: 520px;
  margin: 7px auto 0;
}

body.cc-permission-page .main-header .search-wrapper .form-control {
  height: 54px;
  margin: 0;
  padding-inline: 52px 70px;
  border: 1px solid #303036;
  border-radius: 28px;
  background: #111114;
  color: #F2F0EA;
  font-size: 15px;
}

body.cc-permission-page .main-header .search-wrapper .form-control::placeholder {
  color: #AAA9A5;
}

body .main-header .search-input-icon {
  top: 0;
  inset-inline-start: auto;
  inset-inline-end: 12px;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #F0C23F;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF6DC, #FBE38A);
  color: #3B0A12;
}

body .main-header .search-input-icon .search-svg-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .main-header .search-input-icon .header-icon,
body .main-header .search-input-icon .header-icon * {
  color: #3B0A12 !important;
  fill: #3B0A12 !important;
}

body .main-header .search-wrapper .form-control {
  padding-inline-end: 58px;
}

body.cc-permission-page .main-header .search-input-icon {
  top: 7px;
  inset-inline-end: 9px;
}

body.cc-permission-page .navbar-wrapper {
  justify-content: flex-end;
}

body.cc-permission-page .navbar-wrapper ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.cc-permission-page .navbar-wrapper .user-menu.cc-auth-join {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #F3B947;
}

body.cc-permission-page .navbar-wrapper .user-menu.cc-auth-join img {
  display: block;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  margin: 0;
  border: 2px solid #F3B947;
  border-radius: 50%;
  object-fit: cover;
}

body.cc-permission-page .navbar-wrapper .user-menu.cc-auth-join > span {
  display: none;
}

body.cc-permission-page .navbar-wrapper .user-menu.cc-auth-join::after {
  margin-left: 5px;
}

body.cc-permission-page .sg-offcanvas {
  color: #EDEBE6;

}

body.cc-permission-page .notfound-wrapper {
  display: flex;
  min-height: calc(100vh - 180px);
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

body.cc-permission-page .notfound {
  position: relative;
  top: auto;
  left: auto;
  box-sizing: border-box;
  width: min(100%, 620px);
  max-width: 620px;
  margin: 0 auto;
  padding: 32px;
  transform: none;
  border: 1px solid rgba(245, 189, 71, .2);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(245, 189, 71, .09), transparent 48%),
    linear-gradient(145deg, #17171B, #0D0D10);
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .035);
}

body.cc-permission-page .notfound::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, #F5BD47 50%, transparent);
  content: "";
}

body.cc-permission-page .notfound .notfound-circle {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  width: 96px;
  height: 96px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 64px;
}

body.cc-permission-page .notfound .notfound-circle::before {
  transform: none;
}

body.cc-permission-page .notfound h1 {
  margin-bottom: 4px;
  font-size: 42px;
}

body.cc-permission-page .notfound h1::before {
  display: block;
  width: max-content;
  margin: 0 auto 10px;
  padding: 5px 11px;
  border: 1px solid rgba(245, 189, 71, .22);
  border-radius: 999px;
  background: rgba(245, 189, 71, .08);
  color: #D6B861;
  content: "CC  /  CHUCKLE CHAMBERS";
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.4;
}

body.cc-permission-page .notfound h2 {
  font-size: 18px;
}

body.cc-permission-page .notfound h1,
body.cc-permission-page .notfound h2 {
  color: #F2CD6E;
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
}

body.cc-permission-page .notfound p {
  margin: 12px 0 24px;
  color: #fff0f5;;
}

body.cc-permission-page .notfound .notfound-circle {
  color: #F5BD47;
}

body.cc-permission-page .notfound .notfound-circle::before {
  border: 1px solid #2C2C33;
  background: #17171B;
}

body.cc-permission-page .notfound .btn-primary {
  border: 1px solid #E2A52C;
  background: linear-gradient(180deg, #F8CB5E, #F5BD47 45%, #E2A52C);
  color: #14100A;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  body.cc-permission-page .notfound {
    padding: 26px 20px;
  }

  body.cc-permission-page .notfound h1 {
    font-size: 34px;
  }

  body.cc-permission-page .notfound p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 991px) {
  body.cc-permission-page .main-header .search-wrapper {
    display: none;
  }

  body.cc-permission-page .main-header > .container > .row {
    flex-wrap: nowrap;
    align-items: center;
  }

  body.cc-permission-page .main-header > .container > .row > div:last-child > .row {
    height: 68px;
    align-items: center;
  }

  body.cc-permission-page .main-header > .container > .row > div:last-child > .row > div:first-child {
    display: none;
  }

  body.cc-permission-page .main-header > .container > .row > div:last-child > .row > div:last-child {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
  }

  body.cc-permission-page .cc-header-logo-icon {
    width: 150px !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 54px !important;
  }

  body.cc-permission-page .cc-header-logo-copy strong {
    font-size: 16px;
  }

  body.cc-permission-page .cc-header-logo-copy small {
    font-size: 7px;
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  body.home-dashboard.home-dashboard-mobile-menu-open {
    overflow: hidden;
  }

  html body.home-dashboard .main-header {
    background: #000 !important;
    background-image: none !important;
  }

  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header {
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 !important;
    border-bottom: 1px solid #2C2C33 !important;
    background: #000 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(18px);
  }

  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header > .container,
  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header > .container-fluid,
  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header > .container > .row,
  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header > .container-fluid > .row {
    height: 48px;
    min-height: 48px;
  }

  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header .navbar-wrapper .cc-auth-join {
    display: inline-flex;
    width: 82px;
    height: 50px;
    min-height: 50px;
    flex: 0 0 82px;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    border: 1px solid #2C2C33 !important;
    border-radius: 12px !important;
    background: #151518 !important;
    color: #fff0f5 !important;
    font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  }

  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header .navbar-wrapper .cc-auth-join:hover {
    border-color: rgba(245, 189, 71, .4) !important;
    color: var(--cc-gold-300, #F2CD6E) !important;
  }

  html body.home-dashboard.cc-themed-page .page-header {
    margin-top: 6px !important;
  }

  html body.home-dashboard.cc-themed-page .jobs-page-header {
    padding: 28px 15px !important;
  }

  html body.home-dashboard .main-header .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    min-width: 0;
    padding-left: 0 !important;
  }

  html body.home-dashboard.visitor .main-header > .container > .row > div:first-child:not(.d-none),
  html body.home-dashboard.visitor .main-header > .container-fluid > .row > div:first-child:not(.d-none) {
    display: flex;
    height: 76px;
    align-self: flex-start;
    align-items: center;
  }

  html body.home-dashboard.visitor .main-header .logo-wrapper {
    height: 76px;
  }

  html body.home-dashboard .main-header .menu-icon {
    display: inline-flex !important;
    position: relative !important;
    inset: auto !important;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 205, 110, .3);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(37, 34, 27, .96), rgba(20, 20, 22, .98));
    color: var(--cc-gold-300, #F2CD6E);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 12px rgba(0, 0, 0, .22);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  html body.home-dashboard.visitor .main-header .logo-wrapper .menu-icon {
    display: none !important;
  }

  html body.home-dashboard .main-header .menu-icon:hover,
  html body.home-dashboard .main-header .menu-icon[aria-expanded="true"] {
    border-color: rgba(242, 205, 110, .72);
    background: linear-gradient(145deg, rgba(72, 57, 28, .98), rgba(29, 27, 23, .98));
    box-shadow: 0 0 0 3px rgba(242, 205, 110, .1), 0 6px 16px rgba(0, 0, 0, .3);
    color: #FFE6A3;
    transform: translateY(-1px);
  }

  html body.home-dashboard .main-header .menu-icon:focus-visible {
    outline: 2px solid var(--cc-gold-300, #F2CD6E);
    outline-offset: 3px;
  }

  html body.home-dashboard .main-header .menu-icon .header-icon {
    width: 21px;
    height: 21px;
  }

  html body.home-dashboard .main-header .cc-mobile-header-brand {
    display: inline-flex;
    min-width: 0;
    max-width: calc(100vw - 130px);
    align-items: center;
    gap: 8px;
    color: var(--cc-gold-300, #F2CD6E);
    font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.25px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  html body.home-dashboard .main-header .cc-mobile-header-brand img {
    display: block;
    width: 180px;
    height: auto;
    flex: 0 1 180px;
    object-fit: contain;
  }

  html body.home-dashboard .main-header .cc-mobile-header-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html body.home-dashboard .dashboard-mobile-menu {
    display: block !important;
  }

  html body.home-dashboard .dashboard-mobile-menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  html body.home-dashboard .main-header .cc-home-navbar-wrapper {
    display: flex !important;
    width: 100%;
    min-width: 0;
    position: relative;
    padding-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    float: none !important;
  }

  html body.home-dashboard .main-header .cc-home-navbar-wrapper::after {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100vw;
    border-bottom: 1px solid #F5CF5E;
    content: "";
    transform: translateX(-50%);
    pointer-events: none;
  }

  html body.home-dashboard.visitor .main-header .cc-guest-mobile-navbar-wrapper:not(.cc-home-navbar-wrapper) {
    position: absolute;
    top: 12px;
    right: 24px;
    display: flex !important;
    width: auto;
    min-width: 0;
    align-items: center;
  }

  html body.home-dashboard .main-header .cc-home-mobile-header-brand {
    display: inline-flex;
    min-width: 0;
    max-width: calc(100vw - 175px);
    align-items: center;
    gap: 8px;
    color: var(--cc-gold-300, #F2CD6E);
    font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.25px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  html body.home-dashboard .main-header .cc-home-mobile-header-brand img {
    display: block;
    width: 180px;
    height: auto;
    flex: 0 1 180px;
    object-fit: contain;
  }

  html body.home-dashboard .main-header .cc-home-mobile-header-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html body.home-dashboard .main-header .cc-home-navbar-wrapper > ul,
  html body.home-dashboard.visitor .main-header .cc-guest-mobile-navbar-wrapper > ul {
    display: flex !important;
    flex: 0 0 auto;
    height: 50px;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 0 0 auto;
    padding: 0;
  }

  html body.home-dashboard .main-header .cc-home-navbar-wrapper > ul > li.dashboard-mobile-menu,
  html body.home-dashboard.visitor .main-header .cc-guest-mobile-navbar-wrapper > ul > li.dashboard-mobile-menu {
    order: 10;
    margin: 0;
  }

  html body.home-dashboard .main-header .dashboard-mobile-menu-button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(242, 205, 110, .3);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(37, 34, 27, .96), rgba(20, 20, 22, .98));
    color: var(--cc-gold-300, #F2CD6E);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 12px rgba(0, 0, 0, .22);
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  html body.home-dashboard .main-header .dashboard-mobile-menu-button:hover,
  html body.home-dashboard .main-header .dashboard-mobile-menu-button[aria-expanded="true"] {
    border-color: rgba(242, 205, 110, .72);
    background: linear-gradient(145deg, rgba(72, 57, 28, .98), rgba(29, 27, 23, .98));
    box-shadow: 0 0 0 3px rgba(242, 205, 110, .1), 0 6px 16px rgba(0, 0, 0, .3);
    color: #FFE6A3;
    transform: translateY(-1px);
  }

  html body.home-dashboard .main-header .dashboard-mobile-menu-button:focus-visible {
    outline: 2px solid var(--cc-gold-300, #F2CD6E);
    outline-offset: 3px;
  }

  html body.home-dashboard .main-header .dashboard-mobile-menu-button .dashboard-header-icon {
    width: 21px;
    height: 21px;
  }

  html body.home-dashboard .main-header .logo-wrapper > .logo:not(.cc-auth-logo) {
    display: none !important;
  }
}

@media (max-width: 374px) {
  html body.home-dashboard .main-header .logo-wrapper {
    gap: 4px;
  }

  html body.home-dashboard .main-header .menu-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  html body.home-dashboard .main-header .cc-mobile-header-brand {
    gap: 4px;
    font-size: 11px;
    letter-spacing: -.3px;
  }

  html body.home-dashboard .main-header .cc-mobile-header-brand img {
    width: 150px;
    height: auto;
    flex-basis: 150px;
  }

  html body.home-dashboard .main-header .cc-home-navbar-wrapper > ul {
    gap: 4px;
  }

  html body.home-dashboard .main-header .cc-home-mobile-header-brand {
    max-width: calc(100vw - 155px);
    gap: 4px;
    font-size: 11px;
    letter-spacing: -.3px;
  }

  html body.home-dashboard .main-header .cc-home-mobile-header-brand img {
           margin-top: 5px;
        width: 180px;
    flex-basis: 170px;
  }

  html body.home-dashboard .main-header .dashboard-mobile-menu-button {
    width: 43px;
    height: 43px;
  }
}

@media (max-width: 767.98px) {
  html body.home-dashboard .dashboard-mobile-sidebar-back {
    display: none !important;
  }

  html body.home-dashboard .sg-offcanvas-sidebar:has(#dashboard-mobile-sidebar) {
    position: fixed !important;
    inset: 0 auto 0 0;
    z-index: 1200;
    width: 280px !important;
    max-width: min(86vw, 340px) !important;
    flex: 0 0 280px !important;
    height: 100vh;
    height: 100dvh;
    padding: 12px 12px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, .45) transparent;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 18px 0 40px rgba(0, 0, 0, .4);
  }

  html body.home-dashboard.cc-themed-page .sg-offcanvas-sidebar.cc-category-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0;
    z-index: 1200;
    width: 280px !important;
    max-width: min(86vw, 340px) !important;
    flex: 0 0 280px !important;
    height: 100vh;
    height: 100dvh;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, .45) transparent;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 18px 0 40px rgba(0, 0, 0, .4);
  }

  html body.home-dashboard.home-dashboard-mobile-menu-open .sg-offcanvas-sidebar:has(#dashboard-mobile-sidebar) {
    transform: translateX(0);
  }

  html body.home-dashboard.home-dashboard-mobile-menu-open.cc-themed-page .sg-offcanvas-sidebar.cc-category-sidebar {
    transform: translateX(0);
  }

  html body.home-dashboard .sg-offcanvas-sidebar:has(#dashboard-mobile-sidebar) .main-side-nav-card {
    min-height: 100%;
    height: auto;
    overflow: visible !important;
  }

  html body.home-dashboard.cc-themed-page .sg-offcanvas-sidebar.cc-category-sidebar > .card {
    overflow: visible !important;
  }

  html body.home-dashboard .sg-offcanvas-sidebar:has(#dashboard-mobile-sidebar) .main-side-nav-card > .card-body {
    min-height: calc(100dvh - 30px);
  }

  .cc-auth-intro::before {
    display: none;
  }

  .main-wrapper .content-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
  }

  .main-wrapper .content-tabs > ul {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .main-wrapper .content-tabs > ul > li {
    flex: 0 0 auto;
    float: none;
  }

  .main-wrapper .content-tabs > .float-end {
    flex: 0 0 auto;
    float: none !important;
    margin-left: auto;
  }

  .main-wrapper .content-tabs > .float-end .btn {
    white-space: nowrap;
  }

  .main-wrapper .posts-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
  }

  .main-wrapper .posts-filter > .float-end {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    float: none !important;
    min-width: 0;
    margin-left: 0;
  }

  .main-wrapper .posts-filter .countries-filter {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: nowrap;
  }

  .main-wrapper .dropdown-menu {
    max-width: calc(100vw - 24px);
  }

  .main-wrapper .page-header .floating-img {
    width: min(220px, 45vw);
  }
}

@media (max-width: 575.98px) {
  .main-wrapper .footer > [class*="col-"] {
    width: 100%;
  }

  .main-wrapper .footer .links {
    margin-top: 8px;
    text-align: left;
  }

  .main-wrapper .form-control,
  .main-wrapper .form-select,
  .main-wrapper .input-group {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767.98px) {
  html body.home-dashboard:has(.cc-home-mobile-header-brand) .main-header > .container > .row > .col-12 > .row,
  html body.home-dashboard:has(.cc-home-mobile-header-brand) .main-header > .container-fluid > .row > .col-12 > .row {
    margin-right: 0;
    margin-left: 0;
  }

  html body.home-dashboard.cc-auth-visitor:not(.cc-permission-page) .main-header,
  html body.home-dashboard .main-header,
  html body:has(.admin-sidebar) .main-header {
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 !important;
    background: #000 !important;
    background-image: none !important;
    border-bottom: 1px solid #F0C23F !important;
  }

  html body.home-dashboard:not(.dashboard-home) .main-header > .container,
  html body.home-dashboard:not(.dashboard-home) .main-header > .container-fluid,
  html body.home-dashboard.dashboard-home.visitor .main-header > .container,
  html body.home-dashboard.dashboard-home.visitor .main-header > .container-fluid,
  html body:has(.admin-sidebar) .main-header > .container,
  html body:has(.admin-sidebar) .main-header > .container-fluid,
  html body.home-dashboard:not(.dashboard-home) .main-header > .container > .row,
  html body.home-dashboard:not(.dashboard-home) .main-header > .container-fluid > .row,
  html body.home-dashboard.dashboard-home.visitor .main-header > .container > .row,
  html body.home-dashboard.dashboard-home.visitor .main-header > .container-fluid > .row,
  html body:has(.admin-sidebar) .main-header > .container > .row,
  html body:has(.admin-sidebar) .main-header > .container-fluid > .row {
    height: 76px !important;
    min-height: 76px !important;
  }

  html body.home-dashboard:not(.dashboard-home) .main-header > .container > .row,
  html body.home-dashboard:not(.dashboard-home) .main-header > .container-fluid > .row,
  html body.home-dashboard.dashboard-home.visitor .main-header > .container > .row,
  html body.home-dashboard.dashboard-home.visitor .main-header > .container-fluid > .row,
  html body:has(.admin-sidebar) .main-header > .container > .row,
  html body:has(.admin-sidebar) .main-header > .container-fluid > .row {
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  html body:has(.admin-sidebar) .main-header .admin-header-brand img {
    margin-top: 0 !important;
  }

  html body.home-dashboard:has(.cc-home-mobile-header-brand) .cc-home-navbar-wrapper::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  html body.home-dashboard.dashboard-home:not(.visitor) .main-header {
    height: auto !important;
    min-height: 0 !important;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .main-header > .container > .row,
  html body.home-dashboard.dashboard-home:not(.visitor) .main-header > .container-fluid > .row {
    height: auto !important;
    min-height: 0 !important;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .main-header > .container > .row > div:last-child > .row,
  html body.home-dashboard.dashboard-home:not(.visitor) .main-header > .container-fluid > .row > div:last-child > .row {
    display: flex;
    height: auto !important;
    min-height: 0 !important;
    flex-wrap: wrap;
    margin: 0;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .dashboard-topbar-actions {
    order: 1;
    display: flex;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 60px;
    align-items: center;
    margin: 0 !important;
    padding: 0 12px !important;
    background: #000;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .dashboard-topbar-greeting {
    order: 2;
    display: flex;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 88px;
    align-items: center;
    margin: 0 !important;
    padding: 12px 16px !important;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .dashboard-topbar-search {
    display: none !important;
  }

}

@media (max-width: 767.98px) {
  body:not(:has(.admin-sidebar)) .main-wrapper .pg_wrapper {
    max-width: 100%;
    overflow: hidden;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .pg_3x,
  body:not(:has(.admin-sidebar)) .main-wrapper .pg_4x {
    display: flex;
    width: 100%;
    overflow: hidden;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .pg_2o3,
  body:not(:has(.admin-sidebar)) .main-wrapper .pg_1o3 {
    float: none;
    min-width: 0;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .pg_3x > .pg_2o3 {
    width: 66.7%;
    flex: 0 0 66.7%;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .pg_4x > .pg_2o3 {
    width: 74.9%;
    flex: 0 0 74.9%;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .pg_1o3 {
    display: flex;
    width: auto;
    flex: 1 1 0;
    flex-direction: column;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .pg_2o3 .pg_2o3_in,
  body:not(:has(.admin-sidebar)) .main-wrapper .pg_1o3 .pg_1o3_in {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .modal-dialog {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: 12px auto;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .modal-content {
    min-width: 0;
  }

  body:not(:has(.admin-sidebar)) .main-wrapper .modal-body {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767.98px) {
  html body.home-dashboard .main-header .cc-mobile-header-brand img,
  html body.home-dashboard .main-header .cc-home-mobile-header-brand img,
  html body.home-dashboard .main-header .cc-auth-logo img,
  html body:has(.admin-sidebar) .main-header .admin-header-brand img {
    box-sizing: border-box;
    border-radius: 9px;
  }

  html body.home-dashboard .main-header .navbar-wrapper .cc-auth-join {
    margin-top: 0 !important;
    border-color: #F0C23F !important;
  }

  html body.home-dashboard .main-header .menu-icon,
  html body.home-dashboard .main-header .dashboard-mobile-menu-button,
  html body.home-dashboard .main-header .navbar-wrapper > ul > li > a:has(.header-icon),
  html body.home-dashboard .main-header .navbar-wrapper > ul > li > button:has(.header-icon),
  html body.home-dashboard .main-header .navbar-wrapper > ul > li > button:has(.dashboard-header-icon),
  html body:has(.admin-sidebar) .main-header .dashboard-mobile-menu-button,
  html body:has(.admin-sidebar) .main-header .navbar-wrapper > ul > li > a:has(.header-icon),
  html body:has(.admin-sidebar) .main-header .navbar-wrapper > ul > li > button:has(.header-icon) {
    border-color: #F0C23F !important;
  }

  html body.home-dashboard.visitor .main-header .cc-home-navbar-wrapper {
    height: 60px !important;
    padding-bottom: 0 !important;
  }

  html body.home-dashboard.visitor .main-header .cc-home-navbar-wrapper > ul {
    height: 76px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .main-header .cc-home-navbar-wrapper {
    padding-bottom: 0 !important;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .main-header .cc-home-navbar-wrapper > ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  html body.home-dashboard.cc-permission-page .main-header .navbar-wrapper {
    display: flex;
    height: 100%;
    align-items: center;
  }

  html body.home-dashboard.cc-permission-page .main-header .navbar-wrapper > ul,
  html body.home-dashboard[class*="cc-auth-sign"] .main-header .navbar-wrapper > ul {
    height: 100%;
    margin: 0 !important;
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  html body.home-dashboard .main-header::after,
  html body:has(.admin-sidebar) .main-header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 10;
    height: 1px;
    box-sizing: border-box;
    background: #F0C23F;
    content: "";
    pointer-events: none;
  }

  html body.home-dashboard.dashboard-home:not(.visitor) .main-header::after {
    display: none !important;
  }
}
