
.single .inner-body,
.search .inner-body .page-top,
.page .inner-body .page-top,
.error404 .inner-body .page-top {
    padding-left: 4rem;
    padding-right: 4rem;

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

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

.single .post-container,
.page .post-container,
.archive .post-container,
.error404 .page-container,
.search .inner-body {
    padding-left: 0;
    padding-right: 0;

    background-color: transparent;
}

.single .post-container,
.archive .post-container,
.error404 .page-container,
.search .inner-body {
    padding-bottom: 2rem;
}

.page.home .inner-body {
    padding-top: 0;

    padding-left: 0;
    padding-right: 0;
}

.page-top {
    padding-bottom: 2rem;

    text-align: center;
}

.page-top .post-title {
    box-sizing: border-box;

    height: auto;
    padding-top: 2rem;
}

.page-top .post-title p {
    margin-bottom: 0;
    padding-bottom: 1rem;
}

.post-container,
.category-container {
    width: 100%;
    display: flex;
    flex-direction: row;
}

section .container-fluid .section-header,
.post-container,
.category-container,
.social-media-share {
    max-width: var(--max-page-width);
    margin-left: auto;
    margin-right: auto;
}

.wp-block-column.text-container,
.post-container.full-width .post-content .wp-block-columns.full-width .wp-block-column.text-container {
    max-width: var(--max-content-width);
}

.social-media-share .btn {
    margin-top: 0.5rem;
}

.page-top .post-title-image-container {
    padding-top: 2rem;
}

.post-content .post-title-image-container {
    margin-top: 1rem;
}

.page-top .post-title-image-container .post-title-image {
    border-radius: var(--medium-border-radius);
}

.page-top.full-width {
    width: 100%;
    height: auto;

    max-height: 800px;

    position: relative;

    padding: 0;
}

.page-top.full-width .post-title-image-container {
    z-index: 1;
    position: relative;
    top: 0;
    left: 0;

    width: 100%;
    height: auto;

    padding-top: 0;
}

.page-top.full-width .post-title-image-container .post-title-image {
    border-radius: 0 !important;

    width: 100%;
    height: auto;

    max-height: 800px;

    object-fit: cover;

    max-width: unset !important;
}

.page-top.full-width .overlay {
    z-index: 2;

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

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

.page-top.full-width .post-title {
    position: absolute;

    bottom: 0;
    left: 0;

    padding-bottom: 2rem;

    z-index: 3;

    width: 100%;
    max-width: unset;
}

.page-top.full-width .post-title h1,
.page-top.full-width .post-title p {
    width: 100%;
    max-width: var(--max-page-width);

    padding-left: 1rem;
    padding-right: 1rem;

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

.chapter.page-template-page_amplify .page-top.full-width .post-title h1,
.page-template-default .page-top.full-width .post-title h1 {
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: 900;
}

.page-top.full-width .post-title p {
    font-weight: 300;
}

.page-container.chapter .call-to-action.top .section-title {
    margin-bottom: 1rem;
}

.page-template .inner-body,
.page-template-default .inner-body,
.single .inner-body,
.search .inner-body,
.error404 .inner-body,
.archive .inner-body,
.single .inner-body {
    margin-top: 66px;
}

.page.home .inner-body {
    margin-top: 0;
}

.search.search-results .page-top,
.archive .page-top,
.page.page-template-page_title-with-gallery .inner-body .page-top,
.page.page-template-page_get-involved .inner-body .page-top,
.page.page-template-page_programs .inner-body .page-top {
    max-height: 600px;

    padding-top: 2rem;
    padding-bottom: 0;

    display: flex;

    align-items: center;
    justify-content: center;
}

.page .inner-body .page-top {
    max-width: var(--max-page-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.page-template-page_amplify .inner-body .page-top,
.page-template-default .inner-body .page-top {
    padding-top: 4rem;
}

.page-template-default .inner-body .post-container,
.page-template-default .inner-body .social-media-share {
    width: 90%;
}

.page.page-template-page_title-with-gallery .inner-body .page-top,
.page.page-template-page_title-with-gallery .inner-body .page-top .post-title,
.page.page-template-page_get-involved .inner-body .page-top,
.page.page-template-page_get-involved .inner-body .page-top .post-title,
.page.page-template-page_programs .inner-body .page-top,
.page.page-template-page_programs .inner-body .page-top .post-title {
    height: 100%;
    flex-direction: column;
}

.page.page-template-page_title-with-gallery .inner-body .page-top .post-title,
.page.page-template-page_get-involved .inner-body .page-top .post-title,
.page.page-template-page_programs .inner-body .page-top .post-title {
    max-width: 950px;
}

.search.search-results .page-top .post-title,
.page-template-page_title-with-gallery .page-top .post-title,
.page-template-page_get-involved .page-top .post-title,
.archive .page-top .post-title {
    text-align: center;

    position: relative;
    max-width: var(--max-page-width);
    margin-right: auto;
    margin-left: auto;
}

.archive .page-top {
    margin-top: 2rem;
}

.search.search-results .page-top .post-title h1,
.page-template-page_title-with-gallery .page-top .post-title h1 p,
.page-template-page_get-involved .page-top .post-title h1 p,
.page-template-page_title-with-image .page-top .post-title h1 p {
    color: var(--miss-amazing-purple);
    font-weight: 700 !important;
    text-transform: none;
    letter-spacing: 1px;
}

.page-template-page_title-with-gallery .metaslider .flexslider .slides li,
.page-template-page_get-involved .metaslider .flexslider .slides li {
    padding: 1rem;
    background-color: var(--miss-amazing-off-white) !important;
}

.page-template-page_title-with-gallery .slides li img,
.page-template-page_get-involved .slides li img {
    border-radius: var(--base-border-radius);

}

.page-template-page_title-with-gallery .flexslider .flex-direction-nav,
.page-template-page_get-involved .flexslider .flex-direction-nav {
    display: none;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12,
.page-template-page_get-involved .gallery-container .col-lg-12 {
    margin-right: auto;
    margin-left: auto;

    display: flex;

    justify-items: center;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 .metaslider .flexslider,
.page-template-page_get-involved .gallery-container .col-lg-12 .metaslider .flexslider {
    margin-bottom: 0;
}

.page-template-page_title-with-gallery .gallery-container .col-lg-12 .metaslider .flexslider .slides li,
.page-template-page_get-involved .gallery-container .col-lg-12 .metaslider .flexslider .slides li {
    width: 693px !important;
}

.page-template-page_title-with-gallery .post-container,
.page-template-page_get-involved .post-container {
    padding-top: 0;
}

.page-template-page_title-with-gallery .post-container .post-content,
.page-template-page_get-involved .post-container .post-content,
.page.page-template-page_programs .post-container .post-content {
    margin-top: 0;
    padding-top: 0;
}

.post-content {
    border-radius: var(--medium-border-radius);
    padding: 2rem 1rem;
}

.post-content {
    margin-top: 2rem;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.post-content > .wp-block-columns:last-child {
    margin-bottom: 0;
}

.post-content > .wp-block-heading {
    padding-top: 2rem;
}

.post-content > .wp-block-heading {
    padding-left: 1rem;
    padding-right: 1rem;
}

.page .post-content > .wp-block-heading,
.page .post-content > p {
    padding-left: 0;
    padding-right: 0;
}

.single-post .wp-block-image {
    margin-bottom: 1rem;
}

.post-content > hr {
    margin-right: 1rem;
}

.post-content .road-to-miss-amazing {
    padding: 2rem 0 0 0;
    margin: 2rem 0;
}

.post-container.full-width {
    max-width: unset;
}

.post-container.full-width .post-content {
    width: 100%;

    padding-right: 4rem;
    padding-left: 4rem;
}

.post-container.full-width .post-content .wp-block-columns {
    margin-left: auto;
    margin-right: auto;

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

    padding-left: 0;
    padding-right: 0;
}

.post-container.full-width .post-content .wp-block-columns.full-width {
    width: calc(100% + 8rem);

    padding-left: 4rem;
    padding-right: 4rem;

    margin-left: -4rem;
    margin-right: 4rem;
    max-width: unset;
}

.post-container.full-width .post-content .wp-block-columns.full-width .wp-block-column {
    max-width: var(--max-page-width);
}

.post-container.full-width .post-content .wp-block-columns.full-width .wp-block-column:first-child {
    margin-left: auto;
}
.post-container.full-width .post-content .wp-block-columns.full-width .wp-block-column:last-child {
    margin-right: auto;
}

.post-container.full-width .post-content .wp-block-columns.full-width .wp-block-column.text-center:last-child {
    margin-right: unset;
}

.post-content .wp-block-columns {
    padding: 2rem 1rem;
}

.post-container .post-content,
.category-container .category-content {
    float: left;

    width: 100%;
}

.post-container.with-sidebar .post-content,
.category-container.with-sidebar .category-content {
    margin-top: 0;
    padding-top: 0;
    width: 65%;

    padding-right: 1rem;
}

.single .post-container.with-sidebar .post-content {
    margin-top: 1rem;
}

.single-event .post-container.with-sidebar .post-content {
    padding-top: 1.5rem;
}

.post-container .post-sidebar,
.category-container .post-sidebar {
    width: 35%;
    float: left;

    overflow-y: auto;

    margin-left: 1rem;

    background-color: transparent;
}

.archive .post-container .post-sidebar.sidebar-container.with-top-image,
.page .post-container .post-sidebar.sidebar-container.with-top-image {
    padding-top: 0;
}

.post-container .post-title-image-container .post-title-image {
    width: 100%;
    height: 100%;

    float:none;

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

    object-fit: cover;

    max-height: 800px;
}

.single.single-event .post-container .post-content {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.5rem;
}

.single.single-event .post-container .post-content .post-title,
.single.single-event .post-container .post-content .post-title-image-container,
.single.single-event .post-container .post-content .event-section {
    padding: 1rem 2rem;
}

.single.single-event .post-container .post-content .event-section {
    padding: 1.5rem 2rem;
}

.results.event-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

#representatives .container-fluid {
    margin-top: 4rem;
}

.header .nav-item.search-mobile {
    display: none;
    padding-right: 0;
}

.dropdown-search .dropdown-menu {
    width: 400px;
    left: -300px !important;
}

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

section .wrapper.flex {
    display: flex;
}

.representative-result {
    padding: 1rem;
}

@media (max-width: 1350px) {
    .page .inner-body .post-container.with-sidebar,
    .page .inner-body .page-top,
    .page .nav {
        width: 90%;
    }
}

@media (max-width: 1175px) {
    .page-top {
        max-height: 800px;

    }

    .page-top .post-title-image-container .post-title-image {
        width: 100%;

        height: auto;
    }

    .page-top.full-width .post-title {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .page .inner-body .post-container.full-width {
        padding-left: 0;
        padding-right: 0;
    }

    .post-container.full-width .post-content .wp-block-columns.full-width {
        width: calc(100% + 8rem);
        margin-left: -4rem;
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .page.page-template-page_programs .inner-body .page-top {
        max-height: unset;
    }
}

@media (max-width: 992px) {
    .header .nav-item.search-mobile {
        display: block;
        width: 100%;
    }

    .header .nav-item.search-mobile .searchform {
        width: 100%;
    }

    .header .nav-item.dropdown-search {
        display: none !important;
    }

    .page-top.full-width {

        padding-top: 2rem !important;
        min-height: 500px;
    }

    .page.page-template-page_get-involved .inner-body .page-top {
        min-height: unset;
    }

    .search.search-results .page-top.full-width {
        min-height: 200px;
    }

    .page-top.full-width .post-title h1,
    .page-top.full-width .post-title p {
        padding-left: 0;
        padding-right: 0;
    }

    .page-top.full-width .post-title {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .page-top.full-width .post-title-image {
        min-height: 500px;
    }

    .is-vertically-aligned-center {
        align-content: center;
    }

    .page-template-default .inner-body .post-container,
    .page-template-default .inner-body .social-media-share {
        width: unset;
    }

    .page .inner-body .page-top.top {
        display: flex;
        flex-flow: column;
        flex-direction: column;

    }

    .page .inner-body .post-container.with-sidebar,
    .page .page-top.top {
        width: unset;
        margin-left: auto;
        margin-right: auto;
    }

    .page .inner-body .page-top.top .image-container {
        order: 1;
    }

    .page .inner-body .page-top.top .content-container {
        order: 2;
        padding-right: 0;
    }

    .page .inner-body .page-top.top .content-container .post-title {
        text-align: center;
    }

    .page .inner-body .post-container .post-content {
        padding-right: 0;
    }

    .page .inner-body .post-container .post-sidebar {
        padding-left: 0;
    }

    .post-container.full-width .post-content .wp-block-columns.full-width {
        width: calc(100% + 2rem);
        margin-left: -1rem;
    }

    .section,
    .post-container.full-width .post-content .section.wp-block-columns {
        display: flex;
        flex-flow: column;
        flex-direction: column;
        padding: 3rem 0.75rem;
    }

    .section.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 0 !important;
        text-align: center;
    }

    .results.event-results {
        grid-template-columns: repeat(2, 1fr);
    }

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

        padding: 2rem 0 2rem 0;
    }

    .archive .inner-body,
    .single .inner-body,
    .error404 .inner-body,
    .search .inner-body,
    .page .inner-body .page-top {
        padding-left: 0;
        padding-right: 0;
    }

    .page .inner-body .post-container,
    .single .inner-body .post-container,
    .archive .inner-body .post-container,
    .page .inner-body .page-top,
    .single .inner-body .page-top,
    .archive .inner-body .page-top,
    .page .inner-body .post-container.full-width,
    .single .inner-body .post-container.full-width,
    .archive .inner-body .post-container.full-width {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .social-media-share {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    .post-container.full-width .post-content > .wp-block-columns {
        padding: 0 1rem 0 1rem;
        margin-top: 0;
    }

    .page .inner-body .post-container.full-width .post-content {
        padding: 0;
    }

    .post-container.full-width .post-content > .wp-block-columns .wp-block-columns {
        padding: 0;
    }

    .page .inner-body .post-container .post-sidebar {
        padding-bottom: 1rem;
    }

    .page-top .post-title-image-container {
        padding-bottom: 0;
    }

    .page-template-page_title-with-gallery .page-top {
        padding-top: 2rem;
        padding-bottom: 2rem;

        min-height: 300px;
    }

    #events .container-fluid,
    #representatives .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    #representatives .container-fluid .representative .representative-card,
    #representatives .container-fluid .representative .representative-card .card-img-top-container,
    #representatives .container-fluid .representative .representative-card .card-img-top-container .card-img-top {
        max-height: unset;
        width: 100%;
    }

    #representatives .container-fluid .representative .representative-card .card-img-top-container,
    #representatives .container-fluid .representative .representative-card .card-img-top-container .card-img-top {
        max-width: unset;
    }

    .page-container.chapter section.call-to-action.top {
        padding: 2rem;
    }

    .page-container.chapter .call-to-action.top,
    .page-container.chapter .chapter-campaign .container-fluid {
        flex-direction: column;
    }

    .page-container.chapter section.chapter-campaign {
        height: 100% !important;
    }

    .call-to-action.top .image-container,
    .chapter-campaign .image-container {
        order: 1 ;
    }

    .call-to-action.top .content-container,
    .chapter-campaign .content-container {
        order: 2;
        align-items: center;
        text-align: center;

        padding-right: 0 !important;
    }

    .chapter-campaign .content-container {
        padding-top: 2rem;
    }

    .search-result {
        height: 100%;
        max-height: 800px;

        flex-direction: column;

        padding: 20px;
    }

    .search-result .search-result-image {
        display: flex;
        justify-content: center;

        width: 100%;
        height: auto;
        max-height: 400px;
    }

    .search-result .search-result-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 400px;
    }

    .search-result .search-result-content {
        display: flex;
        align-items: center;

        flex-direction: column;

        text-align: center;

        width: 100%;
    }

    .queen-header, .event-header {
        padding-top: 0;
    }

    .post-container, .category-container {
        display: inline-block;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .post-container .post-content,
    .category-container .post-content,
    .post-container.with-sidebar .post-content,
    .category-container.with-sidebar .category-content {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .inner-body .post-container .wp-block-columns {
        padding-left: 0;
        padding-right: 0;
    }

    .post-container .post-content .wp-block-columns.full-width {
        width: calc(100% + 3rem);
        margin-left: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .post-container .post-sidebar,
    .category-container .post-sidebar {
        float: none;
        width: 100%;
        display: inline-block;
        margin-left: 0;
        margin-right: 0;

        padding: 0;

        margin-top: 2rem;
    }

    .post-container .post-sidebar ul[role="navigation"] > li {
        float: left;
        width: 33.3%;
    }

    .post-content .road-to-miss-amazing {
        margin-right: 0;
    }

    .inner-body .page-top.full-width {
        padding-top: 0 !important;
        margin-top: 0;
        min-height: 400px;
    }
}

@media screen and (max-width: 767px) {
    #representatives .container-fluid .representative,
    #events .container-fluid .event {
        padding-left: unset;
        padding-right: unset;
    }
}

@media screen and (max-width: 575px) {
    #spinner-modal .modal-sm {
        top: calc(50% - 33px);
        left: calc(50% - 33px);
    }
}