/*
Theme Name: Pax et Amor
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: "Caroline";
    src: url("./fonts/Caroline.otf");
}

.fancy-font,
.fancy-font-banner .entry-title {
    font-family: "Caroline", sans-serif;
}

.fancy-outline {
    position: relative;
    margin: 4rem 0 7rem;
    font-size: 70px;
}

.fancy-outline::before {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 50px;
    content: "";
    width: 90%;
    max-width: 940px;
    height: 60px;
    background-color: #e6bb9a;
}

.goddamn-banner-button {
    padding: 0 10px !important;
}

p:not(.fancy-font),
span:not(.fancy-font),
ul li:not(.menu-item) {
    font-size: 22px;
}

#logo img {
    width: auto !important;
    max-width: 1074px !important;
    height: auto !important;
}

#wide-nav.header-bottom {
    position: absolute;
    width: 100%;
    background: transparent linear-gradient(180deg, #191816 0%, #19181669 100%) 0% 0% no-repeat padding-box;
}

#wide-nav.header-bottom .nav > li > a {
    text-transform: uppercase;
    font-size: 1.4em;
}

.drop-shadow {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.custom-text-shadow {
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.extra-light {
    font-weight: 100 !important;
}

.page-wrapper {
    padding-top: 120px;
}

.flickity-viewport {
    height: 580px !important;
}

.story-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    min-height: 480px;
    text-align: center;
}

.story-container h4 {
    font-size: 42px;
    line-height: 40px;
}

.story-container p {
    font-size: 20px;
}

.story-divider {
    display: inline-block;
    width: 95px;
    margin: 20px 0;
    border-bottom: 1px solid #ffffff;
}

.story-button {
    margin-top: auto;
    transition: all 0.25s ease-in-out;
    color: #c5a083 !important;
    background-color: #ffffff;
    padding: 8px 16px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 18px;
}

.story-button:hover {
    color: #ffffff !important;
    background-color: #c5a083;
}

.banner p {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.with-sub sub {
    position: absolute;
    bottom: 25px;
    margin-left: -80px;
    font-size: 25px;
}

.equal-height {
    height: 100%;
    min-height: 580px;
    max-height: 640px;
}

.equal-height .col-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equal-height .col-inner .text-center {
    display: contents;
}

.equal-height .col-inner a {
    margin-top: auto;
}

.offset-top {
    margin-top: -120px;
}

.image-size {
    max-width: 512px;
    height: auto;
}

.custom-margin {
    margin-top: 90px !important;
    margin-bottom: 75px !important;
}

.custom-margin-top {
    margin-top: 75px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-top: 50px;
    margin-bottom: 50px;
}

.pax-event {
    display: flex;
    flex-direction: column;
    align-content: space-around;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    background: transparent linear-gradient(102deg, #404244 0%, #ffffff24 100%) 0% 0% no-repeat padding-box;
    box-shadow: 15px 15px 50px #000000;
    opacity: 0.88;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.pax-event h3 {
    font-size: 2em;
    font-weight: normal;
}

.event-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.pax-event a {
    color: #c5a083;
    transition: all 0.125s ease-in-out;
}

.pax-event a:hover {
    color: #ffffff;
}

.gradient-background {
    background: transparent linear-gradient(90deg, #232526 0%, #414345 100%) 0% 0% no-repeat padding-box;
}

.support-grid {
    margin: 100px 0 !important;
}

.img-hover .box-image {
    position: relative;
    opacity: 0.7;
    transition: opacity 0.25s ease-in-out;
    box-shadow: 0px 3px 6px #0000008f;
}

.img-hover .box-image::after {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    right: 100%;
    content: "";
    height: 6px;
    background-color: #c5a083;
    transition: all 0.33s ease-in-out;
}

.img-hover .box-image:hover {
    opacity: 1;
}

.img-hover .box-image:hover::after {
    right: 0%;
}

.img-hover .box-text {
    text-transform: uppercase;
    font-size: 17px;
}

.viewport-height {
    height: calc(100vh - 180px);
}

.button-margin-top {
    margin-top: 100px;
}

.flowers-1 {
    background-image: url("../../uploads/2021/10/2868.png"), url("../../uploads/2021/10/2859.png");
    background-position: top 40% left -250px, bottom 40% right -275px;
    background-repeat: no-repeat, no-repeat;
}

.flowers-2 {
    background-image: url("../../uploads/2021/10/2869.png");
    background-position: top 50% right -230px;
    background-repeat: no-repeat;
}

.flowers-3 {
    background-image: url("../../uploads/2021/11/1-e1635947605920.png");
    background-position: top 50% right -120px;
    background-repeat: no-repeat;
}

.flowers-4 {
    background-image: url("../../uploads/2021/11/11-e1635947740985.png");
    background-position: top 50% left -30px;
    background-repeat: no-repeat;
}

.flowers-4-flipped {
    background-image: url("../../uploads/2021/11/11-flipped.png");
    background-position: top 50% right -30px;
    background-repeat: no-repeat;
}

.flowers-5 {
    background-image: url("../../uploads/2021/11/2856.png");
    background-position: top 50% left -110px;
    background-repeat: no-repeat;
}

.flowers-6 {
    background-image: url("../../uploads/2021/11/2871.png");
    background-position: top 50% right -140px;
    background-repeat: no-repeat;
}

.flowers-7 {
    background-image: url("../../uploads/2021/11/2850.png");
    background-position: top 50% left -180px;
    background-repeat: no-repeat;
}

.flowers-8 {
    background-image: url("../../uploads/2021/11/8.png");
    background-position: top 50% right -85px;
    background-repeat: no-repeat;
}

.flowers-9 {
    background-image: url("../../uploads/2021/11/2858.png");
    background-position: top 50% right -140px;
    background-repeat: no-repeat;
}

button,
.button {
    font-weight: 900;
}

.top-margin {
    margin-top: 250px;
}

ol,
ul {
    margin-left: 75px;
}

ul {
    list-style: square;
}

.pax-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    max-width: 1400px;
    margin: 3em auto;
}

.pax-single-story {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2em;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
    background-color: #c5a083;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.5);
    transition: all 0.125s ease-in-out;
}

.pax-single-story h2 {
    font-size: 42px;
    color: #ffffff;
}

.pax-single-story .read-more {
    font-weight: 900;
    font-size: 22px;
    color: #ffffff;
}

.pax-single-story:hover {
    background-color: #e6bb9a;
    color: #ffffff;
}

.pax-wrapper {
    max-width: 1024px;
    margin: 3em auto;
    text-align: center;
}

.pax-wrapper p {
    font-size: 20px;
    text-align: center;
}

.pax-wrapper h2 {
    font-size: 42px;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .viewport-height {
        height: calc(100vh - 64px);
    }

    .fancy-font.mobile {
        font-size: 310% !important;
    }

    p:not(.fancy-font),
    span:not(.fancy-font),
    ul li:not(.menu-item) {
        font-size: 18px;
    }

    .with-sub sub {
        display: none;
    }

    .flowers-1,
    .flowers-2,
    .flowers-3,
    .flowers-4,
    .flowers-4-flipped,
    .flowers-5,
    .flowers-6,
    .flowers-7,
    .flowers-8,
    .flowers-9 {
        background: none;
    }

    .fancy-outline::before {
        display: none;
    }

    .story-container {
        padding: 15px;
    }

    .story-container h4 {
        font-size: 36px;
        line-height: 36px;
    }

    .story-container p {
        font-size: 18px;
    }

    .story-button {
        bottom: 15px;
    }

    .event-grid {
        grid-template-columns: 1fr;
        padding: 0 2em;
    }

    .equal-height {
        height: 480px;
    }

    .equal-height .col-inner p {
        display: flex;
        padding: 1rem;
        margin: 0 !important;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .bs-min-height {
        min-height: 240px !important;
    }

    .cool-timeline .timeline-post {
        padding: 45px !important;
        margin-bottom: 0 !important;
    }

    .timeline-post.odd .timeline-content .content-details:before {
        border-left-color: unset !important;
        border-right-color: #c5a083 !important;
        position: absolute !important;
        left: -27px !important;
        right: unset !important;
    }

    .cool-timeline .timeline-post .icon-dot-full {
        margin: 140px 0 0 8px !important;
        height: 16px !important;
        width: 16px !important;
    }

    ol,
    ul {
        margin-left: 30px;
    }

    .pax-story-grid {
        grid-template-columns: 1fr;
        gap: 1em;
        padding: 0 1em;
    }

    .pax-wrapper {
        padding: 0 1em;
    }

    .mobile-height {
        min-height: 240px !important;
    }
}
