﻿﻿/* Legacy Giving Free Resources*/
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.h1 {
    font-size: 2.5rem;
    line-height: 1.1em;
    margin-bottom: 10px;
}

.main-content h2 {
    font-weight: 400;
}

.h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
}

p.h3:last-of-type {
    margin-bottom: 0;
}

.h4 {
    font-size: .875rem;
}

.h4 + p {
    margin: 0;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.legacy-page-container a {
    color: var(--black);
}

.legacy-page-container .skip {
    margin: 20px auto;
}

.legacy-page-container .skip a:after {
    content: '\f078';
    font-family: "Font Awesome 5 Free";
}

.legacy-page-container a:hover,
.legacy-page-container a:focus {
    color: var(--tertiary-red);
}

.legacy-page-container .skip a {
    color: var(--secondary-blue);
    padding-right: 1rem;
    position: relative;
}

.legacy-page-container .skip a::after {
    color: var(--secondary-blue);
    content: '\f078';
    font-family: "Font Awesome 5 Free";
    padding-left: 0px;
    position: absolute;
    right: 0;
}

.legacy-page-container .skip a:hover,
.legacy-page-container .skip a:focus,
.legacy-page-container .skip a:hover::after,
.legacy-page-container .skip a:focus::after {
    color: var(--tertiary-red);
}

@media (min-width: 360px) {
    .h1 {
        font-size: 2.7rem;
    }
}

@media (min-width: 768px) {
    .h1 {
        line-height: 1em;
    }
}

@media (min-width: 1024px) {
    .h1 {
        font-size: 3.5rem;
    }
    .h2 {
        font-size: 2rem;
    }
    .h3 {
        font-size: 1rem;
    }
    .h4 {
        font-size: 1rem;
    }
}

strong a {
    font-weight: 700;
}

ul.breadcrumb {
    margin-top: 0;
}

/* Page Title */
.legacy-page-container h1 {
    margin-bottom: .5rem;
}

/* Contains Copy & Image + Download Form */
.flex-form-container {
    background-color: var(--background-blue);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

@media screen and (min-width: 768px) {
    .flex-form-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 30px;
    }
}

.legacy-page-container  .main-copy h2 {
    font-weight: 400;
}

.legacy-page-container  .main-copy ul {
    border-top: 1px solid var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 20px;
    padding-bottom: 0;
    padding-top: 20px;
}

.legacy-page-container  .main-copy ul li {
    font-size: 1rem;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .flex-form-container {
        gap: 30px;
    }
    .legacy-page-container .basic-image-container {
        height: 100%;
        max-height: 220px;
        width: 100%;
    }
    .legacy-page-container .basic-image-container img {
        height: 100%;
        object-fit: contain;
    }
    .legacy-page-container .form-full-container {
        max-width: 400px;
    }
    .legacy-page-container .form-full-container form.form-builder {
        margin-top: 0;
    }
}

@media screen and (min-width: 951px) {
    .flex-form-container {
        gap: 60px;
    }
    .legacy-page-container .basic-image-container {
        max-height: 320px;
    }
}

@media (max-width: 767px) {
    .legacy-page-container .form-full-container {
        width: 100%;
    }
}

/* FORM */
.legacy-page-container .form-full-container:has(form) {
    position: relative;
    margin: 0 auto;
    max-height: initial;
    max-width: 400px;
    min-height: 700px;
    width: 100%;
}

form.form-builder .ktc-default-section > .form-field.field-TextBlockComponent:has( + .form-field.field-RecaptchaComponent) p em {
    display: inline-block;
    font-size: .75rem;
    line-height: 1.5;
}
/* FORM SUBMIT BUTTON */
.legacy-page-container .form-full-container input[type="submit"] {
    background: var(--white);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    color: var(--primary-red);
    display: inline-block;
    height: 46px;
    margin-top: 10px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.legacy-page-container .form-full-container input[type="submit"]:hover,
.legacy-page-container .form-full-container input[type="submit"]:focus {
    background: var(--primary-red);
    border: 1px solid var(--primary-red);
    color: var(--white);
}

.legacy-page-container form.form-builder {
    margin: 0 auto;
}

/* THANK YOU MESSAGE after Form Submission */
.legacy-ty .download-content-container {
    border-top: 1px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 20px;
    padding-bottom: 0;
    padding-top: 40px;
}

.legacy-ty .download-content-container .content {
    align-items: center;
    color: var(--secondary-blue);
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
    text-decoration: none;
}

.legacy-ty .download-content-container .content:hover {
    color: var(--black);
    text-decoration: none;
}

.legacy-ty .download-content-container .content .pdf-image-preview {
    width: 100px;
}

.legacy-ty .download-content-container .content .pdf-image-preview img {
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .3)) drop-shadow(0px 0px 10px rgba(0, 0, 0, .3));
    transition: all 240ms ease-in-out 10ms;
}

.legacy-ty .download-content-container .content:hover .pdf-image-preview img,
.legacy-ty .download-content-container .content:focus .pdf-image-preview img  {
    filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .6)) drop-shadow(0px 0px 10px rgba(0, 0, 0, .6));
    transform: scale(1.025);
}

.bg-blue .download-content-container .content .pdf-image-preview img {
    filter: drop-shadow(0px 0px 1px rgba(0, 86, 112, .3)) drop-shadow(0px 0px 10px rgba(0, 86, 112, .3));
}

.bg-blue .legacy-ty .download-content-container .content:hover .pdf-image-preview img,
.bg-blue .legacy-ty .download-content-container .content:focus .pdf-image-preview img  {
    filter: drop-shadow(0px 0px 1px rgba(0, 86, 112, .6)) drop-shadow(0px 0px 10px rgba(0, 86, 112, .6));
}

.legacy-ty .download-content-container .content h3 {
    color: inherit;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px;
    position: relative;
    text-decoration: underline;
}

.legacy-ty .download-content-container .content:hover h3 {
    color: var(--black);
}

.legacy-ty .legacy-page-container .main-copy {
    width: 100%;
}

.legacy-ty .download-content-container .copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 100px);
}

@media screen and (min-width: 440px) {
    .legacy-ty .download-content-container .content h3 {
        font-size: 1.125rem;
    }
}

@media screen and (min-width: 768px) {
    .legacy-ty .download-content-container {
        flex-direction: row;
    }
    .legacy-ty .download-content-container .content {
        align-items: center;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
    }
    .legacy-ty .download-content-container .copy {
        text-align: center;
        width: 100%;
    }
}