﻿
.btn-as-link {
    width: fit-content;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    /* This makes it inherit the color and font-size of your 22px body text */
    color: inherit;
    font-size: inherit;
    text-decoration: underline; /* Standard links usually have this */
    cursor: pointer;
    vertical-align: baseline; /* Matches text flow */
}

.form-control,
.form-select {
    font-size: 16px !important;
}

/* Specifically ensures the labels in Floating Labels scale down too */
.form-floating > .form-control ~ label,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    font-size: 14px; /* Labels usually look better slightly smaller than the input text */
}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 81.25rem !important;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 81.25rem !important;
    }
}

div.k-window.custom-title-window .k-window-titlebar {
    background-color: #0a775aff;
    color: white;
    font-size:22px; 
}


.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    padding-right: 20px !important;
    padding-left: 20px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.nav__logo {
    margin-bottom: 6px  !important;
}

button.js-search-button.nav__search-button {
    margin-top: -5px;
}



.button--green:disabled,
.button--green[disabled],
.button--green.disabled {
    background-color: #9ec4b7; /* lighter or grayed-out green */
    border-color: #9ec4b7;
    color: #fff;
    opacity: 0.65; /* subtle fade */
    cursor: not-allowed;
    box-shadow: none;
}


.invalid-feedback_nr {
    width: 100%;
    margin-top: .15rem;
    margin-bottom: .25rem;
    font-size: .875em;
    color: #dc3545;
}

.valid-feedback_nr {
    width: 100%;
    margin-top: .15rem;
    margin-bottom: .25rem;
    font-size: .875em;
    color: #198754;
}

/* Make the floating input flex nicely and never shrink below zero */
.input-group .form-floating {
    flex: 1 1 auto;
    min-width: 0;
}

/* Keep the eye button a fixed width so the input never resizes */
.input-group .btn-eye {
    flex: 0 0 2.75rem; /* lock width */
    width: 2.75rem; /* belt + suspenders */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* avoid padding-driven growth */
}

    /* Keep icon size stable */
    .input-group .btn-eye .bi {
        font-size: 1.1rem;
        width: 1.25rem; /* reserve width so eye/eye-slash don't change button width */
        text-align: center;
    }

/* Optional: remove border-radius clash with input */
.input-group .form-floating > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .btn-eye {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Give the input some right padding so the button doesn’t overlap text */
.form-control.with-toggle {
    padding-right: 2.5rem;
}

/* Place the eye button inside the field, vertically centered */
.toggle-eye {
    position: absolute;
    top: 55%;
    right: .75rem; /* adjust to taste */
    transform: translateY(-50%);
    z-index: 3; /* above input */
    line-height: 1; /* tighter button */
    padding: .25rem .5rem;
}

    /* Make the button visually lighter to feel “inside” the field */
    .toggle-eye.btn-outline-secondary {
        background: transparent;
        border-color: transparent;
    }

        .toggle-eye.btn-outline-secondary:hover,
        .toggle-eye.btn-outline-secondary:focus {
            border-color: var(--bs-border-color, #ced4da);
            background: rgba(0,0,0,.03);
        }


.category-description p {
    /* clamp(MIN, PREFERRED, MAX) */
    font-size: clamp(1.2rem, 4vw, 20px);
}

.wellness-resource.k-card {
    border: none;
    border-radius: 0;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.wellness-resource .k-card-body p {
    font-size: 18px;
}

.qr-code {
    padding: 15px;
    width:150px;
    background: #f6f6f6;
    border-radius: 10px;
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    align-items: center;

}



.k-qrcode {
    margin-right: 15px;
}

#demo-runner {
    height: 600px;
}

.k-drawer-content {
    height: 700px;
    padding: 25px;
    font-size: 18px;
    overflow-x: scroll;
    overflow-y: scroll;
}

.k-drawer-container {
    position: relative;
    width: 100%;
    height: 95%;
}

.custom-toolbar {
    width: 100%;
    background-color: #f6f6f6;
    line-height: 35px;
    border-bottom: inset;
    border-bottom-width: 1px;
    padding: 3px 8px;
    color: #656565;
}

.k-d-level {
    display: flex;
}

.drawer-chevron-icon {
    position: absolute;
    right: 0;
    line-height: inherit;
    margin: 0 8px
}

/*if we want to add back yellow bullet points*/
.show-bullets li::before {
    display: unset !important;
}

/* this removes yellow bullet points - maybe Renee can fix this better */
/*li {
	list-style: none !important;
}

	li::before, li::marker {
		display: none !important;
	}*/

.k-drawer-item .hide-icon .k-svg-icon {
    visibility: hidden;
    width: 0;
    margin: 0;
}

.custom-tooltip-style .k-tooltip {
    background-color: white; /* Dark background */
    color: black; 
    border-radius: 5px; /* Rounded corners */
    padding: 10px;
}

    /* Style the callout (arrow) to match the background */
    .custom-tooltip-style .k-tooltip .k-callout {
        color: #69318dff; 
    }

/*end wellness guide stuff */

/*body {
    font-family: arial, sans-serif !important;
}*/

h1:focus {
    outline: none;
}

/* Front end */
body .frontend {
    font-family: "questa-sans", sans-serif;
}

.type h4 {
    /*font-size: 21px;*/
}

.container100, .two35 {
    font-size: 1.2em;
}

/* All back end below */
#menu ul#menubar {
    display: flex;
    align-items: center;
    font-family: arial, sans-serif !important;
}

#menubar .k-menu {
    margin-top: 30px;
    font-size: 13px !important;
    font-weight: normal;
}

#menubar > li:first-of-type {
    width: 10em;
}

.k-menu-link-text, .k-menu-link-text:hover {
    color: #FFF;
    text-decoration: none;
    font-size: 1.2em;
}

.k-menu-group .k-menu-link-text {
    font-size: 1.1em;
}

.k-menu-expand-arrow {
    display: none !important;
}

.k-menu-group {
    border: #50296c solid 1px;
    background: #f2ebf8;
}

    .k-menu-group .k-menu-link-text, .k-menu-group .k-menu-link-text:hover {
        color: #212121;
    }

.k-menu-popup {
    border-width: 0;
}

.k-menu-link:hover {
    background: #ffffff2e;
}

.k-menu-group .k-item > .k-link:hover {
    background: #FFF;
}

/* Popup on edit screens */
.k-window-actions.k-actions-start, .k-window-actions.k-actions-end {
    margin: 0;
}

/* Popup Kendo edit form formatting */
.k-form-field {
    border: 1px solid #CCC;
    padding: 10px;
    margin: 0 0 20px 0;
}

.k-form-md .k-form-field {
    margin-top: 0 !important;
    font-size: 0.9rem;
}

.k-form-field label {
    padding: 0 5px;
    font-size: 0.9em;
    display: table;
    margin-top: -20px;
    margin-bottom: 7px;
    background: #FFF;
}

.image-fields > div label {
    margin: 0;
    display: inline;
    padding: 0;
}

.image-fields > div {
    margin: 20px 0 5px 0;
}

.image-fields .k-form-field {
    border: none;
    margin-bottom: 0;
}

/* Color picker */
.small-input .k-picker-md.k-colorpicker {
    height: 30px;
}

span.telerik-blazor.k-icon.k-font-icon.k-i-question-circle {
    margin-top: -15px;
}

button.telerik-blazor.k-button.k-button-solid.k-rounded-md.k-button-md.k-button-solid-primary.save-btn {
    position: fixed;
    padding: .5em;
    right: 50%;
    top: 12px;
    /*transform: translateX(-50%);*/
    z-index: 99999;
    font-weight: bold;
    font-size: 14px;
}

/* Kendo form styles from TSBC - to delete eventually */

.small-input .form-group label {
    padding: 0 5px;
    font-size: 0.9em;
    display: table;
    margin-top: -20px;
    margin-bottom: 7px;
    background: #FFF;
}

.small-input .form-group .form-group-multiple-label {
    padding: 0 5px;
    font-size: 0.9em;
    display: table;
    margin-top: -20px;
    margin-bottom: 7px;
    background: #FFF;
}

.small-input .form-group.form-group-multiple label {
    padding: 0;
    font-size: 0.9em;
    display: inline-block;
    margin: 0;
    background: #FFF;
}

.small-input .k-input input, .small-input .k-dropdown, .small-input .k-numerictextbox, .small-input .k-datepicker, .small-input .k-picker-md {
    height: 24px; /* Example for small size, adjust as needed */
    font-size: 14px;
}

.name-wrap {
    display: flex;
    justify-content: flex-start;
}

    .name-wrap .name-field {
        margin: 0 4px;
    }

.form-group small {
    display: block;
    font-size: 0.7rem;
    margin-left: 3px;
}

.phone-fields .k-form-field, .email-fields .k-form-field {
    display: block !important;
}

.phone-fields .group-wrap, .email-fields .group-wrap {
    display: flex;
    font-size: 0.9em;
}


.email-fields .k-input {
    width: 100%;
}

.address-fields {
    align-items: flex-start !important;
}

    .address-fields button, .name-fields button {
        margin-right: 20px !important;
    }

.name-fields button {
    margin-top: 10px;
}

.phone-field-wrap, .email-field-wrap {
    display: flex;
    justify-content: space-between;
}

.address-field-wrap .k-input, .address-field-wrap .k-dropdownlist {
    margin-top: 8px;
}

.address-field-wrap .k-dropdownlist {
    height: 26px;
}

.address-field-wrap button, .address-field-wrap > span, .phone-field-wrap > span, .email-field-wrap > span {
    margin-bottom: 4px !important;
}

.phone-field-wrap .k-checkbox-wrap, .email-field-wrap .k-checkbox-wrap {
    margin-left: 4px !important;
}

.name-tooltip {
    color: #aaa;
    width: 200px !important;
}

.edit-address h2 {
    display: inline;
}

.edit-address button {
    display: inline;
    float: right;
}

.birthdate-wrapper .k-datepicker {
    width: 80%;
}

.k-window-title {
    line-height: 1 !important;
}

.jumbotron h4 {
    font-size: 1.2rem;
}