/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 
 
 /* -- Header Gradient Overlay -- */

/* Applied only when header is transparent over hero; removed automatically when sticky */
[data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="middle"] {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 80, 157, 0.50) 90%, transparent 100%) !important;
}

@media (max-width: 689.98px) {
    [data-header*="type-1"] .ct-header [data-transparent-row="yes"][data-row*="middle"] {
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 80, 157, 0.65) 90%, transparent 100%) !important;
    }
}

 /* -- Header Tagline -- */

[data-id="logo"] .site-description {
    text-align: center;
}

[data-sticky*="yes"] [data-id="logo"] .site-description {
    --theme-font-size: 10px !important;
}

@media (max-width: 999.98px) {
    [data-id="logo"] .site-description {
        --theme-font-size: 18px !important;
    }
}

@media (max-width: 689.98px) {
    [data-id="logo"] .site-description {
        --theme-font-size: 16px !important;
    }
}

 /* -- Anchor Offsets -- */

#location {
    scroll-margin-top: 120px;
}

 /* -- Visual Portfolio Slider -- */

@media (max-width: 689.98px) {
    [data-vp-layout=slider] {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* VP core + Swiper both set overflow:hidden on these — override so box-shadow is not clipped */
[data-vp-layout=slider] .vp-portfolio__items-wrap,
[data-vp-layout=slider] .vp-portfolio__items-wrap.swiper,
[data-vp-layout=slider] .vp-portfolio__item {
    overflow: visible;
}

[data-vp-layout=slider] .vp-portfolio__item-img-wrap {
    box-shadow:
        0 -16px 28px rgba(130, 132, 135, 0.75),
        0  10px 20px rgba(130, 132, 135, 0.38);
}

/* -- Gravity Forms Popup -- */

.ct-popup .gfield_label,
.ct-popup .gform-field-label {
    --gf-ctrl-label-color-primary: #fff;
    --gf-ctrl-label-color-tertiary: #fff;
    --gf-ctrl-label-color-quaternary: #fff;
    --gf-ctrl-label-font-size-tertiary: var(--gf-ctrl-label-font-size-primary);
    --gf-local-color: #fff;
    color: #fff !important;
}

.ct-popup .gfield--type-radio .gform-field-label--type-inline {
    font-weight: 700 !important;
}

.ct-popup .gform_wrapper {
    --gf-color-primary: #0061bb;
    --gf-color-primary-rgb: 0, 97, 187;
}

.ct-popup .gform_button,
.ct-popup [type="submit"] {
    --theme-button-font-weight: 600;
    font-weight: 600 !important;
}

/* -- Gravity Forms Buttons -- */

.gform_button,
.gform_next_button,
.gform_previous_button {
    font-size: 18px !important;
    font-weight: 400 !important;
    padding: 12px 16px !important;
    border-radius: 15px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* -- Gravity Forms Popup Inputs -- */

.ct-popup .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]),
.ct-popup .gform_wrapper textarea,
.ct-popup .gform_wrapper select {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.ct-popup .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):focus,
.ct-popup .gform_wrapper textarea:focus,
.ct-popup .gform_wrapper select:focus {
    outline-color: #0061bb !important;
    border-color: #0061bb !important;
}

/* -- Gravity Forms -- */

.gform_wrapper.gform-theme--foundation .gform_fields {
    grid-row-gap: 10px !important;
    row-gap: 10px !important;
}

.gform_wrapper {
   max-width: 100% !important;
   width: 100% !important;
   margin: 0 !important;
   padding: 0 !important;
}

.gform_wrapper .gform_body {
   width: 100% !important;
   max-width: 100% !important;
}

.gform_wrapper .gform_fields {
   width: 100% !important;
   max-width: 100% !important;
   padding: 0 !important;
   margin: 0 !important;
}

.gform_wrapper .gform_required_legend,
.gform_wrapper .charleft {
   display: none !important;
}