﻿
/* base button style */
button,
.button,
a.button,
.button-1,
.button-2,
input[type='submit'],
input[type='button'] {
    /* custom property fallbacks */
    background: #005596;
    border: 2px solid #005596;
    /* resets */
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    /* custom properties */
    width: var(--btn-width, auto);
    max-width: var(--btn-max-width, 340px); /* full-width defaults stop reading as bars; contexts wanting true full-bleed set --btn-max-width: none */
    height: var(--btn-height, auto);
    border: var(--btn-border);
    color: var(--btn-color);
    background: var(--btn-background);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    padding: var(--btn-padding);
    margin: var(--btn-margin);
    text-transform: var(--btn-text-transform, none);
    border-radius: var(--element-border-radius, 0);
    letter-spacing: var(--btn-letter-spacing, 0);
    text-align: var(--btn-text-align,center);

}

/* base hover: swap to the hover token + a subtle inner shadow for tactile depth.
   Variants declare --btn-background-hover NEXT TO their --btn-background (no :hover
   rule needed, and file/load order can't break it); with no hover token declared,
   the background darkens via --btn-background-darken. */
button:hover,
.button:hover,
a.button:hover,
.button-1:hover,
.button-2:hover,
input[type='submit']:hover,
input[type='button']:hover {
    --btn-background: var(--btn-background-hover, var(--btn-background-darken));
    box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* Action Gold CTAs declare --btn-text-shadow-hover (white glow) next to their
       gold background; everything else defaults to none */
    text-shadow: var(--btn-text-shadow-hover, none);
}

/* keyboard focus must stay visible on every button (the base suppresses the UA
   outline): a brand ring offset onto the surrounding background */
button:focus-visible,
.button:focus-visible,
a.button:focus-visible,
.button-1:focus-visible,
.button-2:focus-visible,
input[type='submit']:focus-visible,
input[type='button']:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

/* basic style for bordered elements */
.k-dropdown,
.k-multiselect,
textarea, select,
input[type='text'],
input[type='search'],
input[type='number'],
input[type='email'],
input[type='date'],
input[type='tel'],
input[type='password'] {
    outline: none;
    font-size: var(--element-font-size);
    color: var(--dark-text-color);
    width: var(--element-width);
    height: var(--element-height);
    border: var(--element-border);
    border-radius: var(--element-border-radius);
    font-weight: var(--element-font-weight);
    padding: var(--element-padding);
    font-family: var(--main-font);
    transition: var(--transition);
    text-indent: var(--element-text-indent);
    text-align: var(--element-text-align);
    display: var(--input-display);
    line-height: var(--main-line-height);
}
    textarea:focus,
    select:focus,
    input[type='text']:focus,
    input[type='search']:focus,
    input[type='number']:focus,
    input[type='email']:focus,
    input[type='date']:focus,
    input[type='tel']:focus,
    input[type='password']:focus {
        -webkit-box-shadow: var(--box-shadow);
        -moz-box-shadow: var(--box-shadow);
        box-shadow: var(--box-shadow);
    }

    /* validation error state: red stroke + red entered text (message text is styled
       by .field-validation-error in styles.css) */
    input.input-validation-error,
    select.input-validation-error,
    textarea.input-validation-error {
        --element-border: 1px solid var(--error-red-color);
        color: var(--error-red-color);
    }

/* selects: single owner for the element (arrow, padding, cursor) — the theme dropdown
   arrow replaces the small native one */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-color: var(--light-text-color);
    background-image: url('/Themes/Cokesbury/Content/images/filter_dropdown_arrow.svg');
    background-repeat: no-repeat;
    background-position: right 1.6rem center;
    background-size: 18px auto;
    padding-right: 4.8rem;
}






/*#endregion*/

.hideMe {
display: none !important;
}

.MobileOnly, .mobileOnly {
  display: none !important;
}  