/************************ FOOTER **********************/
.footer-cols {
    box-sizing: border-box;
}

.footer-cols a {
    font-family: "Raleway", sans-serif;
    color: rgba(255, 255, 255, .7);
    /* font-size: 1.11rem;
    font-weight: 500; */
    /* transition: color .7s ease; */
}

.footer-cols p a:hover {
    color: var(--brand-a-hover);
    /* transition: color .7s ease; */
}

.social-media-container {
    margin-top: 1rem;
    display: flex;
    grid-gap: 1.25rem;
    justify-content: flex-end;
}

.social-media-container p {
    color: rgba(255, 255, 255, .7);
    font-size: 1.11rem;
    font-weight: 500;
    margin-bottom: .75rem;
    font-size: 1rem;
}

/* .fab is the social media icons in footer */
.fab {
    font-family: "Font Awesome 5 Brands";
    font-size: 2rem;
    color: white;
    /* transition: color .7s ease; */
}

.fab:hover {
    color: var(--brand-a-hover);
    /* transition: color .7s ease; */
}

/*********************** Overwritten styles for footer ****************************/
#footer {
    padding: 3rem 0;
}

#footer .standard-width {
    /* 
        display: grid;
        grid-gap: 2rem;
        grid-template-columns: repeat(auto-fit, minmax(calc(25% - 2rem), 1fr));
    */
    display: flex;
    flex-direction: row;
    grid-gap: 40px;
}

.footer-cols {
    max-width: unset;
}

.footer-cols p.footer-title {
    font-family: "Raleway", sans-serif;
    color: white;
    /* font-size: 1.9rem;
    font-weight: 600; */
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-cols p.footer-title > a {
    color: white;
}

.footer-cols p.footer-column-title {
    color: white;
    text-transform: uppercase;
}

.footer-logo {
    width: 319px;
}

.footer-logo a {
    display: inline-block;
    width: 100%;
    height: 100%;
    /* transition: opacity 1s ease; */
}

.footer-logo a:hover {
    opacity: .75;
    /* transition: opacity 1s ease; */
}

.footer-cols p {
    font-family: "Raleway", sans-serif;
    color: rgba(255, 255, 255, .7);
    /* font-size: 1.11rem;
    font-weight: 500; */
    margin: .5rem 0;
}

.copyrightContainer {
    border-top: 1px solid white;
}

.copyrightContainer .standard-width {
    display: flex;
}

.copyrightContainer .standard-width p {
    flex: 1;
}

.copyrightContainer .copyright-p.copyright-p-right {
    text-align: right;
}

.copyrightContainer .copyright-p {
    font-size: 0.75rem;
    color: white;
    font-weight: 400;
    margin: 0;
    padding: 1rem 0;
}

.copyrightContainer .copyright-p a {
    color: white;
    font-weight: 400;
}

.copyrightContainer .copyright-p a:hover {
    color: var(--brand-a-hover);
}

/************************* Wrapping 2nd and 3rd column content in a <DIV> *************************/
.footer-cols.footer-col2 {
    display: flex;
    /* justify-content: center;
    flex: 1; */
}

.footer-cols.footer-col2 > div {
    display: flex;
    flex-direction: row;
    /* flex: 1; */
    grid-gap: 40px;
}

.footer-cols.footer-col2 > div .footer-cont,
.footer-cols.footer-col3 > div .footer-cont {
    /* flex: 1; */
}

.footer-cols.footer-col2 > div:nth-of-type(1) .footer-cont:nth-of-type(2) {
    display: none;
}




.footer-cols.footer-col3 {
    display: flex;
    justify-content: center;
    /* flex: 1; */
}

.footer-cols.footer-col3 > div {
    display: flex;
    flex-direction: row;
    /* flex: 1; */
    grid-gap: 40px;
}




/************************* Wrapping 4th column content in a <DIV> *************************/
.footer-cols.footer-col4 {
    display: flex;
    justify-content: flex-end;

    flex: unset;
    width: 319px;
}

.footer-cols.footer-col4 > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-cols.footer-col4 > div p {
    width: 319px;
    text-align: right;
    /* font-weight: 600; */
}

.footer-cols h3 {
    color: white;
    /* text-transform: uppercase; */
    /* font-size: 1.1rem;
    font-weight: 700; */
}

.footer-cols h3::after {
    display: none;
}


@media only screen and (max-width: 1550px) {
    #footer .standard-width {
        flex-wrap: wrap;
    }

    .footer-cols.footer-col4 {
        width: 100%;
    }
}

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

    .footer-cols.footer-col4 {
        justify-content: left;
    }
}



@media only screen and (max-width: 1024px) {
    #footer .standard-width {
        flex-direction: column;
        /* grid-gap: 3rem; */
    }

    .footer-cols.footer-col2 > div,
    .footer-cols.footer-col3 > div {
        /* grid-gap: 5rem; */
        flex: unset;
    }

    .footer-cols.footer-col4 {
        width: auto;
        /* flex: 1; */
    }

    .footer-cols.footer-col2,
    .footer-cols.footer-col2 > div,
    .footer-cols.footer-col3,
    .footer-cols.footer-col3 > div,
    .footer-cols.footer-col4,
    .footer-cols.footer-col4 > div {
        justify-content: left;
    }

    .footer-cols.footer-col4 > div {
        align-items: flex-start;
    }

    .footer-cols.footer-col4 > div p {
        text-align: left;
    }

}


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

    .footer-cols.footer-col3 > div {
        flex-wrap: wrap;
    }

    .footer-cols.footer-col3 div.footer-cont
    {
        flex: unset;
        /* width: 40%; */
    }

     .footer-cols.footer-col3 > div {
        /* grid-gap: 3rem; */
        flex: unset;
    }
}


@media only screen and (max-width: 534px) {
    /*
    #footer .standard-width {
        grid-template-columns: repeat(auto-fit, minmax(calc(50% - 2rem), 1fr));
    }

    .footer-cols.footer-col2,
    .footer-cols.footer-col3,
    .footer-cols.footer-col4 {
        justify-content: start;
    }
    */

    .footer-col1 p {
        margin-left: 0;
    }

    .footer-cols.footer-col2 > div,
    .footer-cols.footer-col3 > div {
        flex-direction: column;
        grid-gap: 1rem;
        align-items: flex-start;
        width: 275px;
    }

    .footer-cols.footer-col3 p.footer-title {
        display: none;
    }



    .footer-cols.footer-col2,
    .footer-cols.footer-col3,
    .footer-cols.footer-col4 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-cols p {
        text-align: left;
    }

    .social-media-container {
        margin-top: 0;
        align-items: center;
    }

    .copyrightContainer .copyright-p,
    .copyrightContainer .copyright-p.copyright-p-right {
        text-align: center;
    }

    .copyrightContainer .copyright-p,
    .copyrightContainer .copyright-p.copyright-p-right {
        text-align: center;
    }

    .footer-cols.footer-col3 div.footer-cont
    {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
}

@media only screen and (max-width: 679px) {
    .copyrightContainer .standard-width {
        display: block;
    }

    /* .copyrightContainer .copyright-p.copyright-p-right {
        text-align: left;
    } */

    .copyrightContainer .copyright-p {
        padding: 0.25rem 0;
    }
}

@media only screen and (max-width: 499px) {
    #footer .standard-width {
        display: block;
    }

    .footer-cols {
        padding: 0;
    }

    #footer {
        display: block;
        padding-top: 2rem;
    }

    .footer-cols.footer-col2,
    .footer-cols.footer-col3,
    .footer-cols.footer-col4 {
        margin-top: 2rem;
    }

    .footer-logo {
        margin: 0 auto 2rem;
    }

    .footer-cols.footer-col1 {
        padding-top: 0;
    }



}

@media only screen and (max-width: 400px) {
    .footer-logo,
    .footer-cols.footer-col4 > div p {
        width: auto;
    }
}