/*
CTC Separate Stylesheet
Updated: 2025-09-28 08:23:24
*/
.charleft.ginput_counter.gfield_description {
    display: none !important;
}

[data-elementor-type="header"],
.elementor-location-header {
    position: relative;
    z-index: 99999999999999999 !important;
}

[data-elementor-type="header"] .elementor-sticky--active:not(.elementor-sticky__spacer),
.elementor-location-header .elementor-sticky--active:not(.elementor-sticky__spacer) {
    z-index: 99999999999999999 !important;
}
main#content {
    z-index: 1;
    position: relative;
}
.gform_wrapper input:focus,
.gform_wrapper input:active,
.gform_wrapper textarea:focus,
.gform_wrapper textarea:active {
    border: 2px solid #ca9e67 !important; /* change color as needed */
    outline: none !important; /* removes default browser blue outline */
}

/* Header hide/show on scroll (used by js/custom-scroll.js) */
.elementor-location-header .elementor-sticky--active:not(.elementor-sticky__spacer),
.hide-header.elementor-sticky--active:not(.elementor-sticky__spacer) {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

[data-elementor-type="header"] .elementor-sticky--active.hide-up:not(.elementor-sticky__spacer),
.elementor-location-header .elementor-sticky--active.hide-up:not(.elementor-sticky__spacer) {
    transform: translateY(-100%) !important;
}

[data-elementor-type="header"] .elementor-sticky--active:not(.hide-up):not(.elementor-sticky__spacer),
.elementor-location-header .elementor-sticky--active:not(.hide-up):not(.elementor-sticky__spacer) {
    transform: translateY(0) !important;
}

[data-elementor-type="header"] .elementor-sticky--active.is-scroll-up:not(.hide-up):not(.elementor-sticky__spacer),
.elementor-location-header .elementor-sticky--active.is-scroll-up:not(.hide-up):not(.elementor-sticky__spacer) {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Minimal back-to-top arrow */
#cce-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 18px;
    background: transparent;
    border: 0;
    padding: 0;
    color: #CA9E67;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 99999999999999999;
}

#cce-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#cce-back-to-top .cce-back-to-top__arrow {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
}

#cce-back-to-top .cce-back-to-top__arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2px;
    width: 12px;
    height: 12px;
    border-top: 5px solid #CA9E67;
    border-left: 5px solid #CA9E67;
    transform: translateX(-50%) rotate(45deg);
}

#cce-back-to-top .cce-back-to-top__arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    width: 12px;
    height: 12px;
    border-top: 5px solid #CA9E67;
    border-left: 5px solid #CA9E67;
    transform: translateX(-50%) rotate(45deg);
}

#cce-back-to-top:hover,
#cce-back-to-top:focus-visible {
    opacity: 0.85;
}
