/*
 Theme Name:   Miss Amazing
 Theme URI:    http://missamazing.org/
 Description:  Miss Amazing
 Author:       Michael Stark
 Author URI:   http://missamazing.org/
 Version:      1.0.0
 License:      Commercial
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  missamazing
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

h1, h2, h3, h4, p, a, span {
    color: var(--miss-amazing-purple);
}

h1 {
    font-weight: 700;
    font-size: 32pt;
}

h2 {
    font-weight: 700;
    font-size: 28pt;
}

h3 {
    font-weight: 700;
    font-size: 22pt;
}

h4 {
    font-weight: 700;

    font-size: 11pt;

    text-transform: uppercase;

    letter-spacing: 3px;
}

p, a {
    font-size: 14pt;
}

span {
    font-size: 12pt;
}

#wpadminbar span {
    color: #f0f0f1;
}

body {
    z-index: 0;
    font-family: 'Lato', sans-serif;
    font-size: 14pt;
    font-weight: 400;

    background-color: var(--miss-amazing-off-white);
    color: var(--miss-amazing-purple);
}

footer {
    background-color: var(--miss-amazing-white);
    color: var(--miss-amazing-purple);

    min-height: 150px;

    font-size: 1rem;
}

footer.footer-big {
    text-transform: uppercase;
    padding: 2rem 4rem;
    box-sizing: content-box;
}

footer.footer-big .footer-wrapper {
    max-width: var(--max-page-width);
    margin-left: auto;
    margin-right: auto;
}

footer.footer-big .footer-wrapper .footer-section:first-child {
    padding-left: 0;
}

footer.footer-big .footer-wrapper .footer-section:last-child {
    padding-right: 0;
}

footer .footer-logo-container {
    text-align: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;

    border-bottom: 1px solid #dddde0;
}

footer .footer-logo {
    max-width: 300px;
    max-height: 75px;
    width: auto;
    height: auto;
}

footer .footer-logo-container a:hover {
    filter: none;
}

footer .footer-logo,
.navbar-brand img
{
    transition: 0.35s ease-in-out;
    filter: none;
}

footer .footer-logo:hover,
.navbar-brand:hover img {
    filter: drop-shadow(var(--logo-hover-offset) var(--logo-hover-offset) var(--logo-hover-blur) rgba(0, 0, 0, 0.625));
}

header.no-background .navbar-brand:hover img {
    filter: drop-shadow(var(--logo-hover-offset) var(--logo-hover-offset) var(--logo-hover-blur) rgba(238, 238, 240, 0.625));
}

header .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.no-text-transform {
    text-transform: none;
}

footer .footer-section {
    width: 33.33%;
    padding: 1rem;
}

footer .footer-section ul.footer-links {
    list-style-type: none;

    margin-top: 10px;

    padding-left: 0;
}

footer .footer-section ul.footer-links li {
    margin-top: 5px;
}

footer .footer-section ul.footer-links li a,
footer li,
footer h4 {
    text-transform: none;
    color: var(--miss-amazing-black);
    letter-spacing: 1px;
}

footer .footer-section .social-buttons a {
    font-size: 18pt;
    margin-right: 0.5rem;
}

footer .footer-section .social-buttons a:last-child {
    margin-right: 0;
}

footer .footer-section ul.footer-links a:hover {
    text-shadow: var(--link-hover-offset) var(--link-hover-offset) var(--link-hover-blur) var(--miss-amazing-black);
}

footer .footer-section ul.footer-links li svg {
    margin-right: 5px;
}

footer.footer-big .footer-wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
    box-sizing: content-box;
    display: table;
}

footer.footer-big .footer-wrapper .footer-section {
    float: left;
    width: 20%;
    text-align: left;
}

footer.national-info {
    background-color: var(--miss-amazing-pink);
    color: var(--miss-amazing-white);
    font-size: 10pt;
    min-height: 50px;
    text-align: center;
}

footer.national-info .footer-section {
    width: 100%;
    padding: 10px;
}

footer.national-info span {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 3px;
    border-right: 1px solid var(--miss-amazing-white);
}

footer.national-info span:last-child {
    border-right: 0;
}

.no-border {
    border: none !important;
}

.funraise-form-container {
    float: left;
    position: relative;
    display: block;

    height: 675px;
}

.funraise-form {
    width: 500px;

    height: 100%;

    text-align: center;
    display: block;
    position: relative;
}

.funraise-form iframe {
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    width: 100%;
    height: 390px;
    display: block;
}

.map-container iframe {
    width: 100%;
    height: 375px;
}

.chapter-list {
    max-height: 160px;
    overflow-y: scroll;
}

table thead {
    background-color: var(--miss-amazing-purple);
    color: var(--miss-amazing-white);
}

.chapter-grid {
    display: grid;

    grid-template-columns: 33% 33% 33%;

    column-gap: 1rem;
    row-gap: 1rem;
}

.chapter-grid a:last-child {
    grid-column: 2 / 2;

}

#spinner-modal .modal-sm {
    top: calc(50% - 33px);
    left: 66px;
    width: 100px;

}

#spinner-modal .modal-sm .modal-content {
    background: transparent;
    border: none;
}

.miss-amazing-loader-wrapper {
    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    position: absolute;

    z-index: 100;

    background-color: rgba(255, 255, 255, 0.75);
}

.miss-amazing-loader-wrapper .miss-amazing-loader {
    top: 50%;
    left: 50%;
    position: absolute;
}

.miss-amazing-loader {
    background: transparent;
    border: none;
    width: 100px;
    height: 100px;
}

.miss-amazing-loader .spinner-border {
    color: var(--miss-amazing-pink);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.miss-amazing-loader .spinner-logo {
    position: absolute;
    width: 70px;
    height: auto;
    z-index: 1;
    top: 30px;
    left: 15px;
}

.chapter-search-container {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;

    margin-bottom: 2rem;
}

#program-selector {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2rem;
}


.program-container {
    width: 100%;
    max-width: 1000px;

    margin-left: auto;
    margin-right: auto;

    position: relative;

    height: 450px;
}

.program-container .program {
    border-radius: var(--base-border-radius);
    background-color: var(--miss-amazing-white);

    display: flex;

    opacity: 1;

    transition: 0.5s ease-in-out;



    height: 450px;

    width: 100%;
}

.program-container .program .program-details {
    height: 100%;

    flex-basis: 50%;

    padding: 4rem;

    text-align: left;

    display: flex;

    justify-content: center;
    flex-direction: column;
}

.program-container .program .program-details .program-title {
    margin-bottom: 1.5rem;

    font-weight: 700;
}

.program-container .program .program-details .button-container {
    display: block;
    margin-top: 1.5rem;
}

.program-container .program .program-image {
    height: 100%;

    flex-basis: 50%;
    border-radius: var(--base-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.program-container .program .program-image img {
    border-radius: var(--base-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

    height: 100%;

    object-fit: cover;
}

.program-container .program.hide {
    opacity: 0;
    pointer-events: none;

    position: absolute;

    top: 0;
    left: 0;
}

section#chapters-in-action .section-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 620px;
}

section#national-news {
    max-height: 375px;
    background: linear-gradient(to bottom, var(--miss-amazing-purple) 50%, var(--miss-amazing-off-white) 50%);
}

section#national-news .container-fluid {
    background-color: var(--miss-amazing-white);
    border-radius: 5px;
    padding: 1.5rem 3rem;

    width: 90%;
    max-width: var(--max-page-width);
}

section#national-news .carousel,
section#national-news .container-fluid,
section#national-news .carousel .carousel-inner {
    height: 100%;
}

section#national-news .carousel {
    max-height: 175px;
}

section#national-news .carousel .carousel-inner {
    overflow-y: hidden;
    max-height: 165px;
}

section#national-news .carousel .carousel-item a {
    display: flex;
    padding: 0.25rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

section#national-news .swiper .swiper-slide img {
    max-height: 140px;
}

section#videos {
    background-color: var(--miss-amazing-purple);
    padding-bottom: 0.5rem;
}

section#videos #videos-inner-wrapper {
    width: 90%;
    max-height: 675px;

    margin-right: auto;
    margin-left: auto;

    border-radius: 5px;

    max-width: var(--max-page-width);
}

section#videos #videos-inner-wrapper h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

section#videos #videos-inner-wrapper h1,
section#videos #videos-inner-wrapper p {
    color: var(--miss-amazing-off-white);
}

section#videos #videos-inner-wrapper.has-bg-image .content-container {
    position: absolute;
    width: 100%;
    max-width: 700px;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;

    padding: 4rem 4rem;

    text-align: left;

    right: unset;

    z-index: 3;
}

section#videos #videos-inner-wrapper.has-bg-image .overlay {
    z-index: 2;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.35);
}

section#videos #videos-inner-wrapper.has-bg-image .image-container {
    z-index: 1;
}

#history .row.center-mobile .col-lg-7,
#about .row.center-mobile .col-lg-7 {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.chapter.page-template-page_amplify .page-top.full-width,
.page-template-default .page-top.full-width {
    padding: 0 !important;
}

.chapter.page-template-page_amplify .page-top.full-width .post-title,
.chapter.page-template-page_amplify .page-top.full-width .post-title h1,
.chapter.page-template-page_amplify .page-top.full-width .post-title p,
.page-template-default .page-top.full-width .post-title,
.page-template-default .page-top.full-width .post-title h1,
.page-template-default .page-top.full-width .post-title p {
    color: var(--miss-amazing-off-white);
}

.page-template-page_plain-title .post-container .post-content {
    margin-top: 0;
    padding-top: 0;
    background-color: var(--miss-amazing-off-white);
}

@media (max-width: 1175px) {
    footer.footer-big {
        padding: 2rem 4rem;
    }
}

@media (max-width: 992px) {
    footer.footer-big {
        padding: 2rem 1rem;
    }

    .chapter-grid {
        grid-template-columns: auto;
    }

    .chapter-grid a:last-child {
        grid-column: 1 / 1;
    }

    #videos div.has-bg-image .image-container img {
        height: 100%;
        width: auto;
        margin-left: -150px;
    }

    .program-container {
        min-height: 650px;
        height: 100%;

    }

    .program-container .program {
        flex-direction: column;

        min-height: 650px;

        height: 100%;
    }

    .program-container .program .program-details {
        order: 2;
        flex: 1;
        max-width: 100%;

        padding: 2rem;
    }

    .program-container .program .program-image {
        order: 1;

        max-width: 100%;
        flex: 1;

        align-items: start;

        border-top-left-radius: var(--base-border-radius);
        border-bottom-right-radius: 0;

        height: 325px;
    }

    .program-container .program .program-image img {
        height: 325px;
        width: 100%;

        border-top-left-radius: var(--base-border-radius);
        border-bottom-right-radius: 0;
    }
}

@media screen and (max-width: 945px) {
    .wp-block-columns.headshot-container {
        display: block;
    }

    .wp-block-columns.headshot-container .wp-block-column {
        width: 33%;
        float: left;
    }
}

@media screen and (max-width: 600px) {
    .wp-block-columns.headshot-container .wp-block-column {
        width: 50%;
        float: left;
    }
}

@media screen and (max-width: 445px) {
    .wp-block-columns.headshot-container .wp-block-column {
        width: 100%;
        float: left;
    }
}

@media (max-width: 900px) {
    footer.footer-big .footer-wrapper {
        display: inline-block;
    }

    footer.footer-big .footer-wrapper .footer-section {
        width: 50%;
    }

    footer.footer-big .footer-wrapper .footer-section:first-child {
        margin-left: 0;
    }
}

@media screen and (max-width: 720px) {
    #wpadminbar {
        position: fixed !important;
    }

    section#videos #videos-inner-wrapper {
        margin-left: unset;
        margin-right: unset;
    }

    section#national-news,
    section#videos {
        padding-right: 1.75rem;
        padding-left: 1.75rem;
    }

    section#national-news .container-fluid,
    section#videos #videos-inner-wrapper {
        width: 100%;
    }

    footer.footer-big .footer-wrapper .footer-section {
        width: 100%;
    }
}