.flex-button {
    font-size: 1.5rem;
    --background: #e6e6e6;
    margin-left: 25px;

    & ion-icon {
    margin-right: 15px;
    }
}

.error-alert .alert-head{
    background-color: indianred;
    color: white;
}

.error-alert .alert-head > * {
    color: white;
}

.error-alert .alert-message {
    padding-top: 24px !important;
}

.success-alert .alert-head{
    background-color: var(--ion-color-success);
    color: black;
}

.success-alert .alert-head > * {
    color: black;
}

.success-alert .alert-message {
    padding-top: 24px !important;
}

.author-bg {
    --background: var(--ion-color-primary);
    color: white;
}

.flex-button .label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-searchbar .searchbar-input {
    background-color: #333331;
    color: #fff;
}

.ion-custom-menu {
background-color: white;
}

.custom-menu-bg {
--background: #e6e6e6;
}

.ion-custom-menu .flex-button {
    background-color: white;
}

.ion-custom-menu ion-badge {
color: var(--ion-color-secondary, black);
}

.ion-custom-menu .flex-button .custom-font {
color: var(--ion-color-secondary, black);
}

.top-header {
background-position: center;
background-size: cover;
height: 200px;
margin-bottom: 20px;
}

.author-container {
    --min-height: 30px;
}

.author-text {
    font-size: 1.0rem;
    color: white;
}

.toolbar-background-md {
background-color: var(--ion-color-primary, red);
}

.menu-list {
    padding: 5px;
}

ion-content .fixed-content {
transition: margin-top 700ms;
}

.menu-header {
font-family: var(--header-font);
font-size: 1.6rem;
color: var(--ion-color-secondary, black);
border-bottom: 2px solid #F2F2F2;
}

.button-active {
--background: #f5f5f5;
    // font-weight: 600;
    // & .custom-font {
    // color: var(--ion-color-tertiary) !important;
    // }
}

.button-active-dark {
--background: #759a98 !important;
}

.spacing ion-card {
margin-bottom: 30px;
}

.button-active-barbershop {
    font-weight: 600;
    & .custom-font {
    color: var(--ion-color-dark) !important;
    }
}

.button-active-barbershop ion-icon {
    --ion-color-base: var(--ion-color-dark) !important;
}

.barbershop-bg {
margin-top: 25px;
background: var(--ion-color-primary);
& ion-card-header {
    background-color: var(--ion-color-primary);
}
& ion-card-title {
    font-size: 2.5rem;
    color: white;
}
}

.barbershop-item {
--background: var(--ion-color-primary);
color: white;
}

.submenu-item {
--background: var(--ion-color-primary);
color: white;
}

.menu-block {
    margin-top: 35px;
    background: var(--ion-color-primary);
    & ion-card-header {
        background-color: var(--ion-color-primary);
    }
    & ion-card-title {
        font-size: 2.5rem;
        color: white;
    }
}

.cursor-pointer {
    cursor: pointer;
}

.border-bottomer {
    border-bottom: 5px solid var(--ion-color-secondary, black) !important;
}

ion-header {
  z-index: 999;
}

.alert-button {
  color: var(--ion-color-secondary, black) !important;
}

.slides, .slides-md {
  --bullet-background: lightgrey;
  --bullet-background-active: var(--ion-color-secondary);
}

[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md {
    border-color: black !important;
}

[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md {
    background-color: black !important;
}

ion-slides {
    .swiper-pagination-bullet {
        opacity: 0.6;
        width: 10px;
        height: 10px;
    }
    .swiper-pagination-bullet-active {
        opacity: 1.0;
    }
}

// ROPE TEXT
.r-header-font {
    font-family: var(--header-font) !important;
}

.r-h0 {
    font-family: var(--normal-font) !important;
    font-size: var(--h0-font-size) !important;
    color: black;
}

.r-h1 {
    font-family: var(--header-font) !important;
    font-size: var(--h1-font-size) !important;
    color: black;
}

.r-h2 {
    font-family: var(--normal-font) !important;
    font-size: var(--h2-font-size) !important;
    color: black;
}

.r-h3 {
    font-family: var(--normal-font) !important;
    font-size: var(--h3-font-size) !important;
    color: black;
    font-weight: 400;
}

.r-note {
    font-family: var(--normal-font) !important;
    font-size: var(--note-font-size) !important;
    color: black;
    font-weight: 400;
}

.r-b {
    font-weight: 700;
}

.r-text-color-white {
    color: white;
}

.r-button-text {
    font-family: var(--normal-font);
}

.r-text-color-light {
    color: var(--ion-color-step-600, #666666);
}

// FLEX
.r-flex {
    display: flex;
}

.r-flex-h-start {
    justify-content: flex-start;
} 

.r-flex-h-space-between {
    justify-content: space-between;
} 

.r-flex-h-center {
    justify-content: center;
} 

.r-flex-v-center {
    align-items: center;
}

.r-alert {
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    background-color: var(--ion-color-danger);
    color: white;
}

.r-warning {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    background-color: var(--ion-color-warning);
    color: black;
}

@media screen and (min-width: 1280px) {
    .bordered-desktop {
        background-repeat: repeat;
        padding-top: 2vh;
        padding-bottom: 2vh;
        padding-right: 23vw;
        padding-left: 23vw;
    }
}

.normal-title {
    font-family: var(--header-font);
    font-size: 1.5rem;
    letter-spacing: 10px;
    text-align: center;
}

.default-image {
    border-radius: 10px;
    background-position: center;
    background-size: cover;
}

.fashion-bg {
    margin-top: 35px;
    background: var(--ion-color-tertiary);
    & ion-card-header {
        color: black;
        background-color: var(--ion-color-tertiary);
    }
    & ion-card-title {
        font-size: 2.5rem;
        color: black;
    }
}

.fashion-item {
    margin-left: 35px;
    --background: var(--ion-color-tertiary);
    color: black;
}

.fashion-item-light {
    margin-left: 35px;
    --background: var(--ion-color-tertiary-shade);
    color: black;
}

:root {
    font-size: 10px;
}

.custom-card-margin {
    width: 100%;
    margin-bottom: 35px;
}

ion-content {
    --background: white;
}

ion-header {
    z-index: 99999;
}

ion-button {
    font-family: var(--normal-font);
    font-size: 1.4rem;
}

.cart-button {
    ion-badge {
        position: absolute;
        top: -0.1rem;
        right: -0.1rem;
        opacity: 0.9;

        & ~ ion-icon {
            margin-right: 1.2rem;
        }
    }
}

.filter-button {
    ion-badge {
        position: absolute;
        top: -0.1rem;
        right: -0.1rem;
        opacity: 0.9;

        & ~ ion-icon {
            margin-right: 0.4rem;
        }
    }
}

ion-title {
    font-family: var(--header-font);
    text-transform: uppercase;
    font-size: 3rem;
}

.default-card {
    border-radius: 10px;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, .2);
    background-color: white;
}

.card-fashion-bg {
    background-color: var(--ion-color-primary);
}


ion-card-title {
    font-family: var(--header-font);
    text-transform: uppercase;
    font-size: 2rem;
}

ion-card-subtitle {
    font-family: var(--normal-font);
    text-transform: uppercase;
    font-size: 1.1rem;
}

.custom-toolbar .toolbar-background {
    background-color: var(--ion-color-secondary, black);
    background-image: none;
}

.buttons-header button:first-child {
    margin-right: 10px !important;
}

ion-buttons ion-icon {
    font-size: 3.0rem !important;
}

.dark-header {
    color: var(--ion-color-secondary, black);
}

.dark {
    color: var(--ion-color-secondary, black) !important;
}

.back-button {
    color: var(--ion-color-secondary, black);
}

.custom-font {
    font-family: var(--normal-font);
    font-size: 1.8rem;
}

.cust-head {
    background-color: var(--ion-color-tertiary, green);
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.section-header {
    font-family: var(--header-font);
    background-color: var(--ion-color-secondary, black);
    color: white;
}

.section-header ion-icon {
    color: var(--ion-color-tertiary, green);
    font-size: 1.5rem;
}

.plain-section-header {
    font-family: var(--header-font);
    border-top: 5px solid var(--ion-color-secondary, black) !important;
    color: var(--ion-color-secondary, black);
}

.description-section {
    font-family: var(--header-font);
    color: var(--ion-color-secondary, black);
    background-color: #F2F2F2;
}

.description-section ion-item {
    font-family: var(--header-font);
    color: var(--ion-color-secondary, black);
    background-color: #F2F2F2;
    --background: #F2F2F2;
}

.description-section-header ion-icon {
    font-size: 1.5rem;
}

.description-section-button .button-native {
    background-color: white !important;
    border-radius: 50%;
    width: 25px;
}

.plain-section-header ion-icon {
    color: var(--ion-color-tertiary, green);
    font-size: 1.5rem;
}

.plain-section-image {
    height: 300px;
}

.button-margin {
    margin-top: 30px !important;
    margin-bottom: 5px !important;
}

.fullscreen-modal::part(content) {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

@media (min-width: 970px) {
    .big-modal::part(content) {
        position: absolute;
        top: 5%;
        left: 25%;
        display: block;
        width: 50%;
        height: 90%;
    }
}

.tall-modal::part(content) {
    top: calc(50% - (90%/2));
    display: block;
    height: 90%;
}

.shade-modal::part(backdrop) {
    
}

.force-stacked-label {
    color: var(--ion-color-secondary, black) !important;
}

.split-pane-md.split-pane-visible>.split-pane-side[side=start] {
    max-width: 304px;
}

.border-topper {
    border-top: 5px solid var(--ion-color-secondary, black) !important;
}

.custom-alert .alert-head {
    background-color: var(--ion-color-primary);
    color: black;
}

.custom-alert .alert-title {
    font-family: var(--header-font);
    color: black;
}
.custom-alert .alert-sub-title {
    font-family: var(--normal-font);
    color: black;
}

.custom-alert .alert-message {
    background-color: var(--ion-color-primary);
    color: black;
}

.barbershop-alert .alert-head {
    background-color: var(--ion-color-barbershop);
    color: black;
}

.barbershop-alert .alert-title {
    font-family: var(--header-font);
    color: black;
}

.barbershop-alert .alert-message {
    background-color: var(--ion-color-barbershop);
    color: black;
}

.custom-calendar .weekview-container .weekview .slides-container .swiper-wrapper .slide-container {
    height: 1148px;
}

.custom-calendar .dayview-container .dayview .slides-container .swiper-wrapper .slide-container {
    height: 1111px;
}

.custom-calendar .calendar-event-inner {
    background-color: var(--ion-color-primary) !important;
    color: white !important;
    font-family: var(--normal-font);
}

.custom-calendar .calendar-hour-column, .weekview-allday-label, .dayview-allday-label {
    width: 70px !important;
}

.weekview-allday-table, .dayview-allday-table {
    display: none;
}

.weekview-normal-event-container {
    margin-top: 37px !important;
}

.dayview-normal-event-container {
    margin-top: 0 !important;
}

.custom-scanner video {
  height: 60vh !important;
  width: 100vw !important;
  object-fit: cover !important;
}

.blocks .block:nth-child(even) {
    background-color: #efefef;
    & ion-card-header {
        background-color: #efefef;
    }
    & ion-item {
        --background: #efefef;
    }
}

.blocks .block:last-child {
    padding-bottom: 100px;
}

.online-shopping-popover {
    --max-width: 450px;
    --width: 450px;
}

.online-shopping-modal::part(content) {
    position: absolute;
    top: 20%;
    display: block;
    width: 100%;
    height: 80%;
}


.h-row {
    margin-top: 5px;
    border-bottom: 1px solid #afafaf;
}

.block {
    display: block;
    padding-top: 60px;
    padding-bottom: 20px;

    & ion-card-title {
        font-size: 4.0rem;
        color: var(--ion-color-secondary);
        text-align: center !important;
    }

    & ion-card-subtitle {
        text-align: center !important;
    }

    & ion-card-content {
        font-family: var(--normal-font);
        margin-top: 20px;
        padding-left: 45px;
        padding-right: 45px;
        margin-bottom: 40px;
    }

}

.footer-block {
    background-color: var(--ion-color-secondary);
    & ion-card-header {
        background-color: var(--ion-color-secondary);
    }
    & ion-item {
        --background: var(--ion-color-secondary);
    }
    color: var(--ion-color-light);
    padding-bottom: 0px;
}

.block-text {
    font-family: var(--normal-font);
    margin-top: 20px;
    padding-left: 45px;
    padding-right: 45px;
    margin-bottom: 40px;
}

.ais-SearchBox {
    width: 100%;
    max-width: 500px;
    color: var(--ion-color-secondary) !important;
}

.ais-SearchBox-input {
    font-size: 2rem;
    padding-left: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: var(--normal-font);

    & input::placeholder {
        color: var(--ion-color-secondary);
    }

}

.ais-SearchBox-submitIcon path, .ais-SearchBox-resetIcon path {
    fill: var(--ion-color-secondary);
}

.ais-SearchBox-input:focus {
    outline: none;
}