html, body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
	width: auto;
}

body {
    width: 100%;
    margin: 0;
}


/* General Styles */

.d-flex {
    display: flex;
    
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-content-footer {
    justify-content: space-around;
}

@media screen and (min-width: 758px) {
    .flex-md-row {
        flex-direction: row;
    }
    .justify-content-footer {
        justify-content: space-between;
    }
}

.justify-content-center {
    justify-content: center;
}

.justify-content-start {
    justify-content: flex-start;
}
.justify-content-end {
    justify-content: flex-end;
}

.align-items-center {
    align-items: center;
}

.align-self-end {
    align-self: flex-end;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-6 {
    flex: 0 0 auto;
    max-width: 50%;
}

.container-x {
    padding-right: 40px;
    padding-left: 40px;
}

.container-y {
    padding-top: 75px;
    padding-bottom: 75px;
}

@media screen and (min-width: 576px) {
    .container-x {
        padding-right: 75px;
        padding-left: 75px;
    }
}

h1 {
    font-size: 20px;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
    padding-left: 1.5rem;
}

@media screen and (min-width: 576px) {
    h1 {
        font-size: 30px;
    }
}

h2 {
    font-size: 30px;
    line-height: 1.5;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

h3 {
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    color: #54565a;
}

p {
    font-size: 24px;
    line-height: 35px;
}

.text-white {
    color: #fff;
}

.text-center {
    text-align: center;
}


.background-color-red {
    background-color: rgb(182, 12, 41);
}

.background-color-gray {
    background-color: #e5e5e5;
}

.background-color-md-gray {
    background-color: #dedede;
}

/* Header */

.header-image-container {
    height: 133px;
}
.logo {
    max-width: 320px;
}

/* Masthead */

.masthead-background-image {
    position: relative;
    background: url(images/heartland_masthead.jpg);
    background-position: 36%;
    background-repeat: no-repeat;
    background-size: cover;
    height: 1200px;
    width: 100%;  
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}

@media screen and (min-width: 1300px) {
    .masthead-background-image {
        flex-direction: row;
        justify-content: flex-start;
        height: 700px;
    }
}
.masthead-heading-container {
    background-image: linear-gradient(to right, rgb(255, 255, 255, .7) 80%, rgb(255, 255, 255, 0));    
    padding-top: 15px;
    padding-bottom: 15px;
    
}

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

    .masthead-heading-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

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

    .masthead-heading-container {
        flex: 0 0 50%;
        width: 50%;
        margin-bottom: 100px;
        
    }
}

/* Form */

.form-container-desktop {
    display: flex;
    margin: 0;
    padding: 50px 5%;
    background-color: rgb(182, 12, 41);
    /* display: none; */
}

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

    .form-container-desktop {
        padding: 50px 15%;
    }
  
}

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

    .form-container-desktop {
        background-color: rgb(207, 14, 45, 0);
        padding: 50px;
    }
    
}

input {
    border: none;
    padding: 1rem 1.5rem;
    margin: .4rem 0;
    color: #54565a;
    font-size: 23px;
}

input::placeholder {
    color: #86898f;
}

#leadform {
    max-width: 850px;
}

@media screen and (min-width: 1300px) {
    #leadform {
        max-width: 550px;
    }
}

.name-input {
    flex: 0 auto;
    width: 100%;
}

.name {
    flex-direction: column;
}

label {
    font-weight: 600;
}

form p {
    font-size: 28px;
    font-weight: 600;
    margin-top: 0;
}

.submit {
    justify-content: flex-end;
    margin-top: 2rem;
}

.submit input {
    border: 7px solid #fff;
    border-radius: 3px;
    background:rgb(0, 0, 0, 0);
    color: #fff;
    text-transform: uppercase;
    width: 300px;
    padding: .8rem 2rem .5rem;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 5px;
    transition: 0.4s;
}

.submit input:hover {
    background:rgb(0, 0, 0, 0.1);
    cursor: pointer;
}

.error {
    background-color: #86898f;
}

.errorHide {
    visibility: hidden;
	display: none;
    opacity: 0;
	transform: translateY(-9.375rem);
}

.errorShow {
    visibility: visible;
	display: flex;
	opacity: 1;
	transform: translate(0);
    padding: 15%;
	transition: all 0.5s ease-out;
}

.formHide {
    visibility: hidden;
	display: none;
    opacity: 0;
	transform: translateY(-9.375rem);
}

.thanksHide {
    visibility: hidden;
	display: none;
    opacity: 0;
	transform: translateY(-9.375rem);
}

.thanksShow {
    visibility: visible;
	display: flex;
	opacity: 1;
	transform: translate(0);
    padding: 15%;
	transition: all 0.5s ease-out;
}


/* Content Image Block */

.content-image-block {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 1100px) {
    .content-image-block {
        flex-direction: row;
    }
}

.content-item p {
    font-size: 24px;
    padding-right: 0;
    line-height: 40px;
    margin: 40px 0 0;
}

@media screen and (min-width: 1100px) {
    .content-item p {
        padding-right: 40px;
        line-height: 45px;
        margin: 0;     
    }
}

@media screen and (min-width: 1400px) {
    .content-item p {
        font-size: 34px;
        padding-right: 50px;
        line-height: 52px;
    }
}

.background-image-2 {
    background: url(images/GettyImages-1283692665.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    width: 521px; 
}

/* Red Content Block */

.red-content-container {
    max-width: 90%;
}

.red-content-container p {
    margin-bottom: 0;
}

/* Icon Card Block */

.icon-card-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 1040px) {
    .icon-card-block {
        flex-direction: row;
        align-items: start;
    }
}

.each-icon-card {
    padding-right: 40px;
    padding-left: 40px;
    margin-bottom: 50px;
    text-align: left;
}
@media screen and (min-width: 1040px) {
    .each-icon-card {
        margin-bottom: 0;
    }
}

.border-right {
    border: none;
}
@media screen and (min-width: 1040px) {
    .border-right {
        border-right: 1px solid #54565a;
    }
}

.each-icon-card img {
    height: 82px;
    margin: 0 auto;
    padding-bottom: 2.5rem;
}

/* Footer */

.footer-logo-container {
    height: 221px;
}

.footer-logo-container ul {
    padding: 0;
    margin: 0;
}

.footer-logo-container ul li {
    list-style: none;
    text-align: center;
    padding-bottom: .3rem;
}

@media screen and (min-width: 768px) {
    .footer-logo-container ul li {
        text-align: left;
    }
}

.footer-logo-container ul li a {
    font-size: 1.2rem;
    color: #000;
    text-decoration: none;
}

.footer-logo-container ul li a:hover {
    color: #54565a;
}

.gradient-line {
    margin: 5px 0;
    height: 5px;
    background-image: linear-gradient(to right, rgb(0, 0, 0, .05), rgb(0, 0, 0, .5));
}

/* Policy Pages Styles */

.component--privacy-policy-docs .privacy-policy-docs-container {
    max-width: 90%;
    margin: 0 auto;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container h2, .component--privacy-policy-docs .privacy-policy-docs-container .h2 {
    color: rgb(182, 12, 41);
    font-size: 40px;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container h3, .component--privacy-policy-docs .privacy-policy-docs-container .h3 {
    color: rgb(182, 12, 41);
    font-size: 30px;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container p {
    font-size: 23px;
    color: #777777;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container p span {
    text-decoration: underline;
    padding-right: 1.2rem;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container a {
    color: rgb(182, 12, 41);
    }
    .component--privacy-policy-docs .privacy-policy-docs-container a:hover {
    color: #b89263;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container ul li {
    padding: 0 0 0.5rem;
    list-style-type: disc;
    color: #777777;
    font-size: 23px;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container ul li ul li {
    list-style-type: circle;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container ol {
    padding-left: 2rem;
    padding-right: 2rem;
    }
    @media screen and (min-width: 576px) {
    .component--privacy-policy-docs .privacy-policy-docs-container ol {
      padding-left: 4rem;
      padding-right: 4rem;
    }
    }
    .component--privacy-policy-docs .privacy-policy-docs-container ol li {
    font-size: 23px;
    color: #777777;
    padding: 0 0 0.5rem;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container table {
    border-collapse: collapse;
    border: 1px solid #777777;
    }
    @media screen and (min-width: 992px) {
    .component--privacy-policy-docs .privacy-policy-docs-container table {
      max-width: 75%;
    }
    }
    .component--privacy-policy-docs .privacy-policy-docs-container table th {
    text-align: left;
    border: 1px solid #777777;
    padding: 1rem;
    }
    .component--privacy-policy-docs .privacy-policy-docs-container table td {
    color: #777777;
    font-size: 23px;
    padding: 1rem;
    border: 1px solid #777777;
    }

    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }