/* ============================================================================
   FOOTER STYLES
   ============================================================================ */

/* Footer links hover effects */
.footer-links .et_pb_module a:before {
    content: "";
    background: #fff;
    background-size: 150%;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    transition: all .18s ease-in-out;
    transform: translateX(-50%);
}

.footer-links .et_pb_module a:hover::before {
    width: 100%;
}

/* Footer icon hover effects */
.et_pb_icon.icon-hover a {
    display: inline-block;
    height: 35px;
    transition: all .18s ease-in-out;
}

.et_pb_icon.icon-hover a:hover {
    opacity: .75;
}

/* Footer form styles */
.Subscribe-form .gform_footer.top_label {
    padding: 0 !important;
    margin-top: 32px !important;
}

.Subscribe-form .gform_wrapper .gform-footer input.gform_button.button,
.contact-form .gform_wrapper .gform-footer .gform_button.button,
.gform_confirmation_message .thank-wrap a.thank-button {
    color: #FFFFFF !important;
    border-width: 1px !important;
    border-color: #000000 !important;
    border-radius: 0px;
    letter-spacing: 0.7px;
    font-size: 14px;
    line-height: 1.643em;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    background-color: #000000 !important;
    padding: 6px 16px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.Subscribe-form .gform_wrapper .gform-footer input.gform_button.button:hover,
.contact-form .gform_wrapper .gform-footer .gform_button.button:hover,
.gform_confirmation_message .thank-wrap a.thank-button:hover {
    color: #000000 !important;
    background-image: initial;
    background-color: #FFFFFF !important;
    box-shadow: 0px 1px 10px 0px RGBA(255, 255, 255, 0);
}

.contact-form .gform_footer.top_label {
    padding: 0 !important;
    margin: 0 !important;
}

.et_pb_row.footer-row {
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    justify-content: space-between;
    column-gap: 10px;
    flex-wrap: no-wrap;
}

.footer-row .footer-first-column {
    width: fit-content !important;
    display: flex;
    column-gap: 16px;
    align-items: center;
    justify-content: flex-start;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.et_pb_column.footer-links {
    display: flex;
    column-gap: 16px;
    row-gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    order: 1;
    width: fit-content !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
}

.et_pb_column.footer-row-last-col{
    order: 3;
    width: fit-content !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
}
    
/* Mobile footer styles */
@media screen and (max-width: 980px) {
    .footer-links .et_pb_module a {
        width: fit-content;
        display: block;
        position: relative;
    }
    
    .footer-links .et_pb_module a:before {
        transition: all .18s ease-in-out;
    }
    
    
    .et_pb_row.footer-row {
        column-gap: 20px;
        flex-wrap: wrap;
    }
    .footer-row .et_pb_icon_wrap .et-pb-icon {
        color: #000;
    }

    .footer-row .footer-first-column {
        order: 2;
        justify-content: flex-end;
    }

    .et_pb_column.footer-links { 
        order: 1;
        width: 100%!important;
        margin-bottom: 24px!important;
    }
    /* .Subscribe-form .gform_wrapper .gform-footer input.gform_button.button, 
    .contact-form .gform_wrapper .gform-footer .gform_button.button, 
    .gform_confirmation_message .thank-wrap a.thank-button {
        display: none;
    } */
}

@media screen and (max-width: 767px) {
	.et_pb_column.footer-links { 
        width: 100% !important;
        margin-bottom: 24px !important;
    }
}

@media screen and (max-width: 388px) {
	.et_pb_column.footer-links {
		justify-content: flex-start;
	}
    .et_pb_column.footer-links .et_pb_module.et_pb_text {
      width: 100% !important;
    }
    .et_pb_row.footer-row .et_pb_column:first-child {
        margin-bottom: 24px !important;
    }
}