/* ======== RESPONSIVE CSS ========= */


/* ===================================================
		MIN WIDTH 
=================================================== */
@media screen and (min-width: 1200px) {
    li:last-child .nav-link {
        padding-right: 0 !important;
    }
}

@media screen and (min-width: 1600px) {}

@media screen and (min-width: 1900px) {}

@media screen and (min-width: 2000px) {}

@media screen and (min-width: 2200px) {}

@media screen and (min-width: 2700px) {}


/* ------------------------------ 
	768px SMALL
------------------------------ */
@media (min-width: 768px) {
    .hide-mobile {
        display: block;
    }

    .show-mobile {
        display: none;
    }
}


@media (min-width: 576px) {
    .modal-dialog {
        max-width: 750px;
        margin: 6.75rem auto;
    }
}


/* ===================================================
		MIN - MAX WIDTH 
=================================================== */
/* ------------------------------ 
	992px - 1199px LARGE
------------------------------ */
@media (min-width: 992px) and (max-width: 1199px) {}

/* ------------------------------ 
	768px - 991px MEDIUM
------------------------------ */
@media (min-width: 641px) and (max-width: 991px) {}


/* ===================================================
		MAX WIDTH 
=================================================== */
@media screen and (max-width: 1199px) {
    .navbar {
        justify-content: end;
    }

    .navbar-toggler {
        position: absolute;
        top: 0;
        right: 0;
        border-color: white;
        padding: 0.25rem 0.75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border-radius: 0.25rem;
        width: 60px;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg%27%3E%3Cpath stroke='rgba(0,35,97, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }

    .navbar-expand-sm {
        flex-flow: column nowrap !important;
    }

    .gform_button,
    button {
        margin: 0;
    }

    [alt*="Envelope"] {
        top: 70%;
    }
}

@media screen and (max-width: 991px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: block !important;
    }

    .gform_wrapper.gravity-theme .gfield:not(.gfield--width-full) {
        grid-column: 1/-1 !important;
    }

    .gform_wrapper.gravity-theme .gfield_label {
        margin: 0 0 0.5rem 0 !important;
    }

    .gform_wrapper.gravity-theme .ginput_complex {
        flex-flow: column wrap !important;
    }

    .name_first,
    .name_last,
    .justify-self-center {
        width: 100%;
        padding: 0 !important;
    }

    .gform_button {
        margin: 6rem 0 0 0 !important;
        width: 49%;
    }

    .gform_confirmation_message {
        margin-bottom: 16px;
    }

    .page-template-page-contact .body .gform_confirmation_wrapper+a [alt*="logo"] {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: flex;
        margin: 16px auto 0 auto;
    }

    .page-template-page-services .body {
        padding: 100px 0;
    }

    .digital-row {
        padding: 200px 0;
    }

    [alt*="Envelope"],
    [alt*="iPhone"] {
        position: relative;
    }
}


@media screen and (max-width: 767px) {
    .nav-link {
        margin: 0.5rem 0;
    }

    [alt*="Envelope"],
    [alt*="iPhone"] {
        width: 75%;
        height: auto;
        margin: 0 auto;
    }

    .page-template-page-services .body {
        padding: 75px 0;
    }

    .digital-row {
        padding: 175px 0;
    }

    .gform_button {
        margin: 1rem 0 0 0 !important;
        width: 100%;
    }

    .page-template-page-contact .body [alt*="logo"] {
        position: relative;
        bottom: 0;
        left: 0;
        display: flex;
        margin: 16px auto 0 auto;
    }
}

@media screen and (max-width: 640px) {
    select {
        height: 72px;
    }
}

@media screen and (max-width: 600px) {

    /* Reset for Mobile Admin bar */
    body {
        position: initial;
    }
}

@media screen and (max-width: 576px) {
    .h1 {
        font-size: 60px;
    }

    .page-template-page-services .body {
        padding: 50px 0;
    }

    .digital-row {
        padding: 150px 0;
    }

    .form-border {
        -webkit-filter: none;
        filter: none;
    }
}

@media screen and (max-width: 500px) {
    .h1 {
        font-size: 54px;
    }
}

@media screen and (max-width: 450px) {
    .h1 {
        font-size: 48px;
    }
}

@media screen and (max-width: 400px) {

    .h1,
    h2,
    .h2 {
        font-size: 40px;
    }

    .gform_wrapper.gravity-theme .gfield select,
    .name_first input,
    .name_last input,
    .ginput_container input {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 350px) {

    .h1,
    h2,
    .h2 {
        font-size: 35px;
    }

    .page-template-page-privacypolicy h3 {
        font-size: 32px;
    }
}

@media screen and (max-width: 300px) {

    .h1,
    h2,
    .h2 {
        font-size: 32px;
    }

    h4,
    .h4 {
        font-size: 25px;
    }

    .page-template-page-contact .body [alt*="logo"] {
        width: 100%;
        height: auto;
    }

    .page-template-page-privacypolicy h3 {
        font-size: 29px;
    }

    footer p {
        font-size: 21px;
    }
}