

.page-container.chapter .navbar {
    color: black;
}

section {
    padding: 4rem 6rem;

    color: var(--miss-amazing-purple);

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

.search.search-results .page-top {
    background-color: var(--miss-amazing-off-white);
}

.icon-container {
    background-color: var(--miss-amazing-pink);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 24pt;
    font-weight: 500;
}

.icon-container * {
    margin-bottom: 0;
}

section#stats .row {
    justify-content: center;
}

section#stats .row .stat {
    margin-bottom: 1rem;
}

section#stats .row .stat:last-child {
    margin-bottom: 0;
}

section h1 {
    font-weight: 700;
}

h6 {
    font-size: 10pt;
}

blockquote h1,
blockquote h2,
blockquote h3 {
    margin-bottom: 1.5rem;
}

blockquote.pink cite {
    margin-bottom: 1.5rem;
    color: var(--miss-amazing-pink);
}

blockquote h1::before,
blockquote h2::before,
blockquote h3::before {
    content: "“";
}

blockquote h1::after,
blockquote h2::after,
blockquote h3::after {
    content: "”";
}

.section-header {
    width: 100%;
    height: 35px;
    line-height: 35px;
}

.section-header .section-title,
.page-top .post-title {
    float: left;
    color: var(--miss-amazing-purple);
}

.section-header a {
    float: right;
    font-weight: 700;

    font-size: 11pt !important;
}

section > .row,
section .container-fluid > .row {
    max-width:  var(--max-page-width);
    margin-left: auto;
    margin-right: auto;
}

.carousel .carousel-indicators {
    z-index: 99;
}

section .mission-item img {
    max-height: 100px;
    max-width: 100px;
    object-fit: contain;
    padding: 1rem;
}

section#about .row .col-lg-12 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

div.has-bg-image {
    position: relative;

    display: block;

    height: 800px;
    overflow:hidden;
    width: 100%;
}

div.has-bg-image .image-container {
    position: absolute;

    top: 0;
    left: 0;
    height: 100%;
    max-height: 1400px;
    width: 100%;

    z-index: 1;
}

div.has-bg-image .image-container img,
div.has-bg-image .image-container video {

    object-fit: cover;
    height: 100%;
    width: 100%;
}

div.has-bg-image .overlay {
    z-index: 2;

    position: absolute;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

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

div.has-bg-image .content-container {
    position: absolute;

    width: 375px;

    z-index: 3;

    color: white;

    text-align: right;

    right: 10%;
}

div.has-bg-image .content-container h1 {
    font-weight: 400;
}

img.contain {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

img.rounded {
    border-radius: var(--base-border-radius);
}

.post-container .post-sidebar .sidebar-section .section-title {
    color: var(--miss-amazing-black);
}

.post-content .post-title h5 {
    margin-bottom: 0;
    padding-bottom: 0.5rem;

    color: var(--miss-amazing-black);

    font-weight: 700;
}

.page-top .post-title,
.page-top .post-title-image-container sub {
    color: var(--miss-amazing-black);
}

.post-content .road-to-miss-amazing {
    border-top: 1px solid #ddd;

    color: var(--miss-amazing-purple);
}

.post-content .road-to-miss-amazing h5 {
    color: var(--miss-amazing-pink);
}

.page .post-container {
    padding-top: 2rem;
    margin-right: auto;
    margin-left: auto;
}

.page .post-container .post-sidebar {
    padding-top: 0;
}

.page .post-container .post-sidebar h2:first-child {
    margin-top: 0;
}

.single .post-container .post-content,
.single .post-container .post-sidebar,
.single .social-media-share {
    border: 0;
}

.single,
.category,
.archive {
    background-color: var(--miss-amazing-white);
}

.single .inner-body,
.category .inner-body,
.archive .inner-body {
    border-bottom: 1px solid var(--miss-amazing-light-grey);
}

.single-event .post-container .post-content {
    border: 1px solid var(--default-border-color);
}

.single-event .post-container .post-sidebar {
    padding-top: 1rem;
}

.post-container .post-sidebar,
.post-container .post-sidebar a {
    color: var(--miss-amazing-purple);
}

.post-container .post-sidebar a.btn {
    color: var(--miss-amazing-white);
}

.page .inner-body .page-top {
    background-color: var(--miss-amazing-off-white);
}

.page-top .post-title {
    color: var(--miss-amazing-black);
    text-align: left;
}

.post-type-archive-event .page-top .post-title {
    color: var(--miss-amazing-purple);
    text-align: center;
}

.page .inner-body .page-top .post-title-image-container .post-title-image,
.wp-block-image img {
    border-radius: var(--medium-border-radius);
    overflow: hidden;
}

.wp-block-image.not-rounded img {
    border-radius: 0;
}

.custom-search {
    padding: 1rem 1rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: var(--miss-amazing-purple);

    border: 1px solid var(--default-border-color);
    border-radius: var(--medium-border-radius);
}

.custom-search .section-title {
    margin-bottom: 1rem;
}

.custom-search .btn {
    margin-top: 2.1rem;
}

.no-border-radius {
    border-radius: 0 !important;
}

.queen-header,
.event-header {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-bottom: 2rem;

    padding: 0 0 2rem 0;

    text-transform: uppercase;

    border-bottom: 1px solid #ddd;
}

.queen-header h2,
.event-header h5 {
    margin-bottom: unset;
}

.queen-header h5 a,
.event-header h5 a {
    color: var(--miss-amazing-pink);
}

.post-sidebar {
    padding: 2rem 0 2rem 1.65rem;
}

.post-sidebar .sidebar-section {
    padding: 1.5rem 2rem;
}

.category .post-sidebar,
.post-sidebar .sidebar-section {
    border-radius: var(--medium-border-radius);
    border: 1px solid var(--default-border-color);
}

.post-sidebar .sidebar-section .section-title {
    margin-bottom: 1.5rem;
}

.post-sidebar .sidebar-section .about-queen .section-title {
    margin-bottom: 0.25rem;
}

.post-sidebar ul {
    list-style-type: none;
    padding: 0;
}

.post-sidebar .about-queen span,
.post-sidebar .about-event,
.post-sidebar ul li a {
    font-weight: 400;
    font-size: 12pt;
}

.post-sidebar .about-queen {
    margin-bottom: 1rem;
}

.post-sidebar .actions {
    padding-bottom: 0.25rem;
}

.post-sidebar .actions .btn {
    margin-bottom: 0.5rem;
    width: 100%;
}

.post-sidebar .widget.widget_block > p {
    display: none;
}

.post-sidebar .widget.widget_block > p ~ p {
    display: block;
}

.post-content .pagination-container {
    text-align: center;
    width: 100%;
    margin-top: 2rem;
}

.post-content .pagination-container a.page-numbers,
.post-content .pagination-container span.page-numbers {
    letter-spacing: 3px;

    border-radius: var(--base-border-radius);

    font-size: 9pt;

    font-weight: 400;

    text-transform: uppercase;

    transition: 0.5s ease-in-out;
    text-decoration: none;
    padding: 1rem 1.5rem;
}

.post-content .pagination-container a.page-numbers {
    background-color: var(--miss-amazing-pink);

    color: white;
}

.post-content .pagination-container a.page-numbers:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.35);
}

.post-content .pagination-container .pagination {
    justify-content: center;
    width: 100%;
}

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

.jotform-settings {
    justify-items: center;
}

.jotform-settings .wp-block-embed {
    width: 80%;
    max-width: 900px;

    height: 1000px;
}

.jotform-settings .wp-block-embed .wp-block-embed__wrapper {
    height: 100%;
}

.jotform-settings .wp-block-embed iframe {
    max-width: unset !important;
    height: 100% !important;
}

.swiper.resize-images img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}


.swiper.multi-swiper .swiper-button-next,
.swiper.multi-swiper .swiper-button-prev {
    color: var(--miss-amazing-black);
    --swiper-navigation-size: 20px;
}

.swiper.multi-swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--miss-amazing-black);
}

#chapters-in-action-carousel .swiper-slide {
    min-width: var(--chapter-in-action-card-width);
}

#chapters-in-action-carousel .swiper-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    text-align: center;

    padding: 0.5rem;
}

#chapters-in-action-carousel .swiper-controls .swiper-controls-wrapper {
    margin-left: auto;
    margin-right: auto;

    display: inline-block;

    height: 100%;
}

#chapters-in-action-carousel .swiper-controls .swiper-pagination {
    top: unset;
    right: unset;
    left: unset;
    bottom: unset;
    position: relative;
    width: unset;
    display: inline-block;
    float: left;
}

#chapters-in-action-carousel .swiper-button-prev,
#chapters-in-action-carousel .swiper-button-next {
    top: unset;
    right: unset;
    left: unset;
    position: relative;
    float: left;
    margin-top: 8px;
}

#chapters-in-action-carousel .swiper-button-prev {
    margin-right: 0.5rem;
}

#chapters-in-action-carousel .swiper-button-next {
    margin-left: 0.5rem;
}

.program {
    margin-bottom: 2rem;
}

.program .program-image {
    display: flex;
    justify-content: center;
    align-items: center;

}

.program .program-image img {
    flex: 1;
    width: 100%;
    height: auto;

}

.program .program-description {
    text-align: left;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.program .program-description h4 {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}

.chapter-results {
    width: 100%;

    padding: 0 0 20px 0;
    display: flex;
    flex-direction: column;

    border-bottom: 1px solid #ddd;
}

.chapter-results h2 {
    margin-bottom: 10px;
}

.chapter-results .chapters {
    display: block;
}

.search-result {
    width: 100%;
    min-height: 375px;

    padding: 20px 0;

    display: flex;
}

.search-result .search-result-image {
    height: 100%;
    max-height: unset;
    margin-right: 1rem;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.search-result .search-result-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 350px;
    aspect-ratio: 1;
    object-fit: cover;
}

.search-result .search-result-content {
    flex: 1;
    display: flex;

    flex-direction: column;

    justify-content: center;
}

.search-result .search-result-content p {
    max-height: 200px;
    overflow: hidden;
    font-size: 12pt;
}

.event-section {
    border-bottom: 1px solid var(--default-border-color);
}

.event-section:last-child {
    border-bottom: none;
}

.event-section .section-title {
    color: var(--miss-amazing-black);
    margin-bottom: 1rem;
}

.section,
.post-content .wp-block-columns.section {
    padding: 4rem 4rem;
    min-height: 550px;
}

.section.section-sm,
.post-content .wp-block-columns.section.section-sm {
    min-height: 250px;
}

.post-content .wp-block-columns.section .wp-block-columns {
    margin-bottom: 0;
}

.no-rounding img, .wp-block-image.no-rounding img {
    border-radius: 0;
}

.section-contain {
    max-width: 750px;
}

.homepage-video {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
}

footer #mc_embed_signup {
    width: 100%;
    max-width: 400px;
}

#mc_embed_signup {
    clear: left;
    font-size: 14px;
    width: 250px;
}

#mc_embed_signup form {
    margin-left: 0;
    margin-right: 0;
}

#mc_embed_signup form div.mce_inline_error {
    background-color: transparent !important;
    margin-bottom: 0 !important;
}

#mc_embed_signup .btn {
    margin: 0;
}


#donate-modal .btn-close {
    float: right;
}

#donate-modal .modal-body {
    max-height: 500px;
}

#donate-modal givebutter-giving-form {
    margin-left: auto;
    margin-right: auto;

    display: block;

    max-width: 350px;

    transform: scale(0.85);
}

.footer-padded {
    padding-left: 1rem;
}

.wp-element-caption {
    text-align: center;
    font-size: 10pt;
}

.results .event {
    float: left;
    padding: 1rem;

    box-sizing: content-box;
}

.results .event .content-wrapper .card {
    margin: 0;
}

.resize-video.is-type-video,
.resize-video.is-type-video .wp-block-embed__wrapper {
    height: 100%;
    min-height: 400px;
    max-width: 675px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.resize-video.is-type-video .wp-block-embed__wrapper,
.resize-video.is-type-video iframe {
    flex: 1;
}

.resize-video.is-type-video iframe {
    height: 100%;
    min-height: 400px;
}

.wp-block-column iframe {
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16/9;
}

.team-columns {
    max-width: 930px;
}

.wp-block-column.column-limiter {
    width: 80% !important;

    max-width: 600px !important;
}

blockquote h3::before {
    content:"“";
}

blockquote h3::after {
    content:"”";
}

blockquote cite {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
    margin-top: 1.5rem;
    font-size: 11pt;
}

blockquote cite::before {
    content: "-";
    margin-right: 0.5rem;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .page-container {
        padding-top: 66px;
    }

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

    .text-center .program .program-description {
        align-items: center;

        text-align: center;

        margin-top: 2rem;
    }

    .mobile-top {
        order: 0;
    }

    .mobile-bottom {
        order: 1;
    }

    .row .mobile-bottom {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .homepage-video {
        height: 500px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inherit;
    }
}

@media (max-width: 900px) {
    section {
        padding: 3rem 2rem;
    }
}

@media screen and (max-width: 767px) {
    .results.event-results {
        display: inline-block;
        box-sizing: content-box;
        padding-bottom: 2rem;
        width: 100%;
    }

    .results.event-results .event {
        margin-top: 2rem;
        float: none;
    }

    .results.event-results .event .content-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 720px) {
    section {
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 600px) {
    .chapter-in-action-card-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
}