﻿/* ==========================================================
   BM HUBSPOT FORMS
========================================================== */

.bm-hubspot-form {
    --bm-hubspot-padding-offset-top-bottom: 40px;
    --bm-hubspot-padding-offset-left-right: 0px;
    width: 100%;
    overflow: hidden;
}

    .bm-hubspot-form .hs-form-frame {
        width: calc( 100% + (var(--bm-hubspot-padding-offset-left-right) * 2) );
        margin-left: calc( var(--bm-hubspot-padding-offset-left-right) * -1 );
        margin-right: calc( var(--bm-hubspot-padding-offset-left-right) * -1 );
        margin-top: calc( var(--bm-hubspot-padding-offset-top-bottom) * -1 );
    }

    /* ==========================================================
   FORM
========================================================== */

    .bm-hubspot-form form {
        width: 100%;
        margin: 0;
        padding: 0;
    }


    /* ==========================================================
   FORM FIELDS
========================================================== */

    .bm-hubspot-form input,
    .bm-hubspot-form select,
    .bm-hubspot-form textarea {
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding: 12px 16px;
        border: 1px solid #000;
        border-radius: 8px;
        background: transparent;
        color: #000;
        font-family: "aptos", sans-serif;
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }


    /* ==========================================================
   INPUTS AND SELECTS
========================================================== */

    .bm-hubspot-form input,
    .bm-hubspot-form select {
        min-height: 46px;
    }


    /* ==========================================================
   TEXTAREA
========================================================== */

    .bm-hubspot-form textarea {
        width: 100%;
        min-height: 110px;
        resize: vertical;
    }


        /* ==========================================================
   PLACEHOLDER
========================================================== */

        .bm-hubspot-form input::placeholder,
        .bm-hubspot-form textarea::placeholder {
            color: #000;
            opacity: 0.6;
        }


    /* ==========================================================
   LABELS
========================================================== */

    .bm-hubspot-form label {
        display: block;
        margin: 0 0 6px;
        color: #000;
        font-family: "aptos", sans-serif;
        font-size: 14px;
        line-height: 18px;
        font-weight: 700;
    }


    /* ==========================================================
   FOCUS
========================================================== */

    .bm-hubspot-form input:focus,
    .bm-hubspot-form select:focus,
    .bm-hubspot-form textarea:focus {
        border-color: #000;
        box-shadow: 0 0 0 1px #000;
    }


    /* ==========================================================
   SELECT
========================================================== */

    .bm-hubspot-form select {
        cursor: pointer;
    }


        .bm-hubspot-form select option {
            color: #000;
            background: #fff;
        }


    /* ==========================================================
   SUBMIT BUTTON
========================================================== */

    .bm-hubspot-form input[type="submit"],
    .bm-hubspot-form button[type="submit"] {
        box-sizing: border-box;
        width: auto;
        min-width: 82px;
        min-height: auto;
        margin: 0;
        padding: 12px 24px;
        border: 1px solid #000;
        border-radius: 8px;
        background: transparent;
        color: #000;
        font-family: "aptos", sans-serif;
        font-size: 14px;
        line-height: 20px;
        font-weight: 700;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }


        /* ==========================================================
   SUBMIT BUTTON HOVER
========================================================== */

        .bm-hubspot-form input[type="submit"]:hover,
        .bm-hubspot-form button[type="submit"]:hover {
            border-color: #000;
            background: #000;
            color: #fff;
        }


        /* ==========================================================
   SUBMIT BUTTON FOCUS
========================================================== */

        .bm-hubspot-form input[type="submit"]:focus-visible,
        .bm-hubspot-form button[type="submit"]:focus-visible {
            outline: 2px solid #000;
            outline-offset: 3px;
        }


    /* ==========================================================
   LINKS / PRIVACY TEXT
========================================================== */

    .bm-hubspot-form a {
        color: #000;
        text-decoration: underline;
    }


        .bm-hubspot-form a:hover {
            text-decoration: none;
        }


/* ==========================================================
   CONTACT FORM
========================================================== */

/*
    Contact-specific styling can be added here.

    The wrapper is:

    .bm-hubspot-form--contact
*/

.bm-hubspot-form--contact {
    width: 100%;
}


/* ==========================================================
   NEWSLETTER FORM
========================================================== */

/*
    Newsletter-specific styling can be added here.

    The wrapper is:

    .bm-hubspot-form--newsletter
*/

.bm-hubspot-form--newsletter {
    width: 100%;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 767px) {

    .bm-hubspot-form {
        width: 100%;
    }


        .bm-hubspot-form input,
        .bm-hubspot-form select,
        .bm-hubspot-form textarea {
            width: 100%;
        }


            .bm-hubspot-form input[type="submit"],
            .bm-hubspot-form button[type="submit"] {
                width: auto;
            }
}
