@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Alegreya+SC&family=Averia+Sans+Libre&family=Merienda+One&family=Nothing+You+Could+Do&family=Righteous&family=Sancreek&display=swap');


:root {
  /* sidebar */
  --sidebar-bg: #fff;
  --sidebar-border: #efefef;

  /* scrollbar sizes */
  --sb-width-sidebar: 6px;
  --sb-width-body: 7px;

  /* scrollbar colors */
  --sb-track-bg: #f3f3f3;
  --sb-thumb-bg: #c6c6c6a6;

  /* body scrollbar radii */
  --sb-track-radius: 6px;
  --sb-thumb-radius: 6px;
}

html.dark {
  --sidebar-bg: #0f172a;
  --sidebar-border: transparent;
  --sb-track-bg: #f3f3f30d;
  --sb-thumb-bg: #ffffff3b;
}


/* SIDEBAR */
.btn{
   padding:8px 16px;
   line-height: 22px;
   font-size: 16px !important;
   text-decoration: none !important;
   transition: all .3s  ease-in;
}
.btn-primary{
    background-color: #0168bc;
    color: #fff;
}
.btn-primary:hover{
    background-color: #005aa4;
}

.fi-sidebar-nav {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  overflow-y: auto;
}

.fi-sidebar-nav::-webkit-scrollbar {
  width: var(--sb-width-sidebar);
}

.fi-sidebar-nav:hover::-webkit-scrollbar-track {
  background: var(--sb-track-bg);
  border-radius: var(--sb-track-radius);

}

.fi-sidebar-nav:hover::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-bg);
  border-radius: var(--sb-track-radius);

}


/* PAGE BODY */
body::-webkit-scrollbar {
  width: var(--sb-width-body);
}

body:hover::-webkit-scrollbar-track {
  background: var(--sb-track-bg);
  border-radius: var(--sb-track-radius);
}

body:hover::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-bg);
  border-radius: var(--sb-thumb-radius);
}

/* business list stats style  */

.edit-business-stats{
  display: grid !important ;
    grid-template-columns: repeat(6, 1fr) !important ;
}

@media (max-width: 1366.98px) {
.edit-business-stats{
    grid-template-columns: repeat(4, 1fr) !important ;
}
}

@media (max-width: 991.98px) {
  .edit-business-stats{
      grid-template-columns: repeat(3, 1fr) !important ;
  }
  }

@media (max-width: 767.98px) {
  .edit-business-stats{
      grid-template-columns: repeat(2, 1fr) !important ;
  }
}

@media (max-width: 575.98px) {
  .edit-business-stats{
      grid-template-columns: repeat(1, 1fr) !important ;
  }
}

/* css for business card */
.mb_6 {
    margin-bottom: 6px !important;
}
.mb_4{margin-bottom: 4px !important;}
.text_end{
   text-align: end;
}
.p_8{
   padding: 8px;
}
.p_12{
   padding: 12px;
}
.v-card-left {    width: 100%;
    max-width: 500px;
    margin-inline: auto;    position: sticky;
    top: 100px;     padding: 5px 20px 20px 20px;
}
.v-card {
    width: 100%;
    max-width: 460px;
}
.v-card-back{
    background-color: #fff !important;
    color:#000 !important;
}
.v-card-front p {
    word-break: break-all;
}
.v-card-front, .v-card-back {
    background-color: var(--bg-color);
    box-shadow: 0 0 10px rgb(0 0 0 / 2%);
    font-size: 15px;
    line-height: 22px;
    position: relative;
    font-family: var(--font);
    padding: 8px;
    color:var(--txt-color)
}
.v-card-front>div, .v-card-back>div {
    border: 1px dotted #e1e1e1 !important;
}
.v-card-logo{
   height: 64px;
}
.v-card-logo img{
   width: auto;
    height: 100%;
    object-fit: contain; max-width: 200px;
}
.vc-one .v-card-logo {
    height: 80px;
    padding: 8px;
    background-color: var(--logo-color);
    text-align: center;
}
.vco-front-head {
    padding: 4px 8px;
    text-align: center;
}
.vco-front-title {
    font-weight: 500;
}
.vco-front-body {
    padding: 0 8px 14px;
    display: flex;
    align-items: end;
}
.vco-front-left {
    width: 50%;
    padding-right: 8px;
}
.vco-front-right {
    width: 50%;
    text-align: end;
}
.v-card-front {
    margin-bottom: 34px;
}
.vco-front p:not(:last-child) {
    margin-bottom: 2px;
}
.vco-back {
    width: 100%;
    height: 100%;
    min-height: 180px;
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 16px;
}
.v-card-front::before, .v-card-back::before {
    content: '';
    position: absolute;
    width: calc(100% + 20px);
    height: calc(100% + 27px);
    border: 1px solid #c9c9c95c;
    top: -15px;
    left: -10px;
}
.v-card-left h5 {
    position: relative;
    text-align: center; margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.v-card-left h5 span {
    background: #f8fafc;
    position: relative;
    z-index: 9;
    padding-inline: 10px;
}

html.dark .v-card-left h5 span {
    background: #020617;
}

html.dark .v-card-front::before, html.dark .v-card-back::before {
    border: 1px solid #c9c9c929;
}
/* card two css */
.vct-front-body {
    display: flex;
}
.vct-front-left {
    width: 42%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    word-break: break-all;
    text-align: center;
    background-color: var(--logo-color);
}
.vct-front-right {
    width: 58%;
    padding: 20px 10px;
    text-align: end;
}
/* crad three */
.vc-three .vct-front-body {
    flex-flow: row-reverse;
}
.vc-three .vct-front-right {
    text-align: start;
}
.vc-three .vct-front-left {
    justify-content: start;
}
/* card four */
.vcf-front-body {
    background-color: var(--logo-color);
    display: flex;
    flex-wrap: wrap;
}
.vcf-front-left {
    width: 50%;
    padding: 10px 8px;
}
.vcf-front-right {
    width: 50%;
    padding: 10px 8px;
    text-align: end;
}
.vcf-front-footer {
    padding: 10px 8px;
    text-align: end;
}
/* card five */
.vcs-front-body {
    background-color: var(--logo-color);
    font-size: 12px;
    line-height: 14px;
}
.vc-six .v-card-front .v-card-logo {
    margin-bottom: 8px;
    height: 40px;
    width: 100%;
}
.vc-six .v-card-front .vcs-front-body p {
    font-weight: 500;
}
.vcs-front-body .vcs-body-items {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
}
.vcs-front-footer {
    position: relative;
    padding: 12px 8px 20px;
    text-align: end;
    font-size: 14px;
    line-height: 18px;
}
.vcs-overlay {
    max-width: 172px;
    left: 0;
    position: absolute;
    top: 8px;
}
.vcs-back img:not([class]) {
    width: 100%;
    height: 100%;
    object-fit: cover;
   display: block;
}
.vcs-back .vcs-back-logo {
    position: absolute;
    width: 210px;
    bottom: 23px;
    right: 20px;
    height: 70px;
}
.vcs-back {
    position: relative;
}
/* card seven */
.vcss-head {
    background-color: var(--logo-color);
}
.vcssb_flex {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.fi-modal-window:has(.parent-scroll-x){
    overflow-y: hidden;
    overflow-x: auto;
}

.modal_loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.theme-thumb {
    position: relative;
    padding-bottom: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #ededed;
    border-radius: 2px;
    &.more{
        padding-bottom: 100%;
    }
    .theme-thumb-iframe{
        position: absolute;
        inset: 0;
    }
}
.theme-thumb .theme-thumb-inn {
    position: absolute;
    width: 100%;
    min-height: 100%;
    left: 0;
    top:0;
    bottom:0;
    right:0;
    background-position: left top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    -webkit-transition: all 8s linear;
    -moz-transition: all 8s linear;
    -ms-transition: all 8s linear;
    -o-transition: all 8s linear;
    transition: all 8s linear;
}
.theme-thumb:hover .theme-thumb-inn:hover{
    background-position-y: 100%
}