/*
- General
- Hero Slider
- Post
- Footer
- Call to Action


*/


/* General */
em.placeholder {
    background: transparent;
    opacity: 1;
}
em.placeholder a {
    color: #F4BF35;
}
.grid-full {
    display: grid;
    grid-template-rows: 1fr;

}
.yellow-w-bg::before {
    content: "";
    display: inline;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/apca-emblem-white-faint.png);
    background-repeat: no-repeat;
    width: 400px;
}
.primary-image {
    margin-bottom: 15px;
}
.title-bg svg {
    position: absolute;
    bottom: 0;
}
.apca-side-style ul {
    background-color: #F4BF35;
    display: block;
}
.apca-side-style ul li {
    margin: 0;
    padding: 0;
}
.apca-side-style ul li::before {
    display: none;
}
.apca-side-style ul li a {
    padding: 15px 20px;
    color: #7E1965;
    display: block;
}
.apca-side-style ul li a:hover {
    background-color: #7E1965;
    color: #fff;
}
.apca-side-style ul li a::after {
    content: "\e931";
    font-family: "Unicons" !important;
    display: inline;
    float: right;
    font-size: 20px;
}

.btn.btn-expand.vers-2:before {
    content: "\e94c";
    font-family: "Unicons" !important;
    color: #fff;
    font-size: 1.35rem;
    align-items: center;
    /* justify-content: center; */
    display: flex;
    padding-left: 10px;
}

.team-bg-pic {
    background-size: cover;
    background-repeat: no-repeat;
}

.wrapper.bg-brand-blue {
    position: relative;
}
.wrapper.bg-brand-blue::before {
    content: "";
    background-image: url(/themes/custom/apca_default/./assets/img/logo-emblem-fff.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    display: inline-block;
    width: 29%;
    position: absolute;
    right: 0;
    bottom: 0px;
    background-position: left bottom;
    opacity: 0.2;
}
.wrapper.bg-brand-blue a {
    color: #ffe427;
    text-decoration: underline;
}

/* Sub-Sub Menu */
@media (min-width: 992px) {
    ul.dropdown-menu li ul.dropdown-menu {
        left: 200px;
        top: -20px !important;
    }
    a.nav-link.dropdown-toggle {
        position: relative;
        display: flex !important;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    a.nav-link.dropdown-toggle::before {
        display: inline;
        content: "+";
        position: relative;
        margin-left: 5px;
        color: #F4BF35;
    }
}

/* Social Links eHospice */
.btn-ehospice {
    background-image: url(/themes/custom/apca_default/./assets/img/ehospice.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-color: #36627b;
}

/* Hero Slider */
.apca-style h2 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.apca-style::before {
    content: "";
    display: block;
    background-image: url(/themes/custom/apca_default/./assets/img/slider-ellipse-01.png);
    background-repeat: no-repeat;
    background-position: top right;
    width: 650px;
    height: 473px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
}
.apca-style .call-to-action a {
    /* Button */

    /* Auto layout */
    display: inline-block;
    padding: 13px 35px;
    gap: 10px;

    /* Accent */
    background: #F4BF35;
    border-radius: 50px;

    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    /* identical to box height */

    /* Primary */
    color: #7E1965;

}

/* Posts */
.post-title a {
    color: #7E1965;
}
.post-content {
    font-size: 16px;
}
.card-img-top {
    height: 250px;
}

/* Footer */
footer h2 {
    color: inherit;
    font-size: 1rem;
}
footer {
    font-size: 16px;
}
footer a:hover {
    color: #F4BF35 !important;
}

/* Call to Action style 1 */
.style-1.paragraph--type--call-to-action {
    position: relative;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;
}
.style-1.paragraph--type--call-to-action::before {
    content: "";
    display: inline;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(/themes/custom/apca_default/./assets/img/apca-emblem-white-faint.png);
    background-repeat: no-repeat;
    width: 400px;
    z-index: 0;
}
.style-1.paragraph--type--call-to-action .row {
    position: relative;
    z-index: 5;
}
.style-1.paragraph--type--call-to-action .cta-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    letter-spacing: -0.01rem;
    position: relative;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 50rem !important;
    padding: 0.5rem 1.2rem;
    text-align: center;
    position: relative;
    margin: 15px 0;
}
.style-1.paragraph--type--call-to-action .cta-link a::after {
    content: "\e94c";
    font-family: "Unicons" !important;
    display: inline;
    margin-left: 2rem;
}


/* Call to Action style 2 */
.style-2.paragraph--type--call-to-action {
    position: relative;
    position: relative;
    background-image: url(/themes/custom/apca_default/./assets/img/map.png);
    background-size: auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll !important;
    background-color: #fff;
    text-align: center;
    margin-top: 50px;
}

.style-2.paragraph--type--call-to-action .row {
    position: relative;
    z-index: 5;
    flex-direction: column;
}
.style-2.paragraph--type--call-to-action .cta-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    letter-spacing: -0.01rem;
    position: relative;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 50rem !important;
    padding: 0.5rem 1.2rem;
    text-align: center;
    position: relative;
    margin: 25px 0;
}
.style-2.paragraph--type--call-to-action .cta-link a::after {
    content: "\e94c";
    font-family: "Unicons" !important;
    display: inline;
    margin-left: 2rem;
}



/* Image Text Paragraph Items */
.paragraph--type--image-text.image-left {
    flex-direction: row;
}
.paragraph--type--image-text.image-right {
    flex-direction: row-reverse;
}

/* Files */
.accordion-item.file-attachment button {
    display: inline;
    width: auto;
}
.accordion-item.file-attachment .card-header {
    display: flex;
    flex-wrap: wrap;
}
.accordion-item.file-attachment .text-content {
    font-size: 0.75rem;
}
.file-label {
    font-size: 16px;
    line-height: 36px;
    margin-left: 5px;
}
.file.file--application-pdf a {
    position: relative;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
}
.file.file--application-pdf a::before {
    display: inline-block;
    content: "DOWNLOAD FILE";
    font-family: 'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif;
    font-size: 16px;
    margin-right: 20px;
}
/* Events */
.views-label {
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #7E1965;
    font-size: 16px;
    font-family: 'Gill Sans','Gill Sans MT',Calibri,'Trebuchet MS',sans-serif;
}
.calendar-view-table .calendar-view-day__number {
    background: #7e1865;
}

/* Tags Item */
.field--name-field-tags {
    margin-bottom: 15px;
}
.field--tags__item a {
    background: #3f78e0;
    padding: 0px 20px;
    border-radius: 19px;
    font-size: 16px !important;
    color: #fff !important;
    font-weight: normal;
}
.field--tags__item::after {
    display: none;
}

/* GTranslate */
@media (max-width: 991.98px) {
    .gtranslate_wrapper {
        width: 148px;
    }
}
.gtranslate_wrapper .gt_selector {
    height: 40px;
    padding-right: 50px;
    color: #7e1865;
    font-size: 16px;
    font-weight: 600;
}

/* Horizontal listing */
@media (min-width: 992px) {
    ol.horizontal-ol-listing {
        display: flex;
        margin: 10px 0px;
        padding: 0;
    }
    ol.horizontal-ol-listing li {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-bottom: 50px;
        flex: 1;
        position: relative;
        display: list-item;
        list-style-position: inside;
        z-index: 1;
    }
    ol.horizontal-ol-listing li::marker {
        font-size: 1.3rem;
        line-height: 3.5rem;
        color: #3f78e0;
    }
    ol.horizontal-ol-listing li::before {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0;
        border-radius: 100%!important;
        display: inline-block;
        background-color: #e0e9fa;
        content: "";
        display: inline-block;
        position: absolute;
        top: 10px;
        left: 0;
        z-index: -1;
    }
    ol.horizontal-ol-listing li:after {
        width: 100%;
        position: absolute;
        content: "";
        height: 1px;
        background: 0 0;
        border-top: 1px solid rgba(164,174,198,.2);
        top: 1.8rem;
        z-index: 1;
        left: 3rem;
    }
    .apca-slider-02 .swiper-slide .content-box {
        min-height: 550px;
    }
}
ol.horizontal-ol-listing li:hover:before {
    background-color: #3f78e0;
}
ol.horizontal-ol-listing li:hover::marker {
    color: #e0e9fa;
}
ol.horizontal-ol-listing .views-field-title {
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: #343f52;
}
ol.horizontal-ol-listing .views-field-title a {
    color: var(--bs-primary) !important;
}

ol.horizontal-ol-listing .txt-sm {
    font-size: 14px;
}

/* NEW DONATE BUTTON */
.menu-top-menu .nav-item:first-child .nav-link::before {
    display: none;
}
.menu-top-menu .nav-item:first-child .nav-link {
    padding: 12px 30px;
    background: #7e1e65;
    color: #fff;
    border-radius: 30px;
}

/* Slider 02 */
.apca-slider-02 {
    margin-top: 20px;
}
.apca-slider-02 .swiper-slide .container-fluid .row {
    flex-direction: row-reverse;
}
.apca-slider-02 .swiper-slide .content-box {
    position: relative;
    padding: 50px 100px 50px 50px;
    border-radius: 30px;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
}
.apca-slider-02 .swiper-slide .content-box::before {
    content: "";
    background-image: url(/themes/custom/apca_default/./assets/img/logo-emblem-fff.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    display: inline-block;
    width: 29%;
    position: absolute;
    right: 0px;
    top: 30%;
    opacity: 0.2;
    background-position: left bottom;
}
.apca-slider-02 .swiper-slide .content-box h2 {
    margin-bottom: 30px;
    color: #7E1965 !important;
    text-transform: capitalize;
    line-height: 1.40;
    font-size: 1.72rem !important;
}
.btn-wrp .call-to-action a {
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    display: inline-block;
    background-color: #F4BF35;
    color: #ffffff;
    text-align: center;
    min-width: 208px;
    max-width: 100%;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-transform: capitalize;
}
.apca-slider-02 .swiper-slide .col-xl-6 {
    position: relative;
}
.apca-slider-02 .swiper-slide .bg-image {
    position: relative;
    width: 100%;
    min-height: 550px;
    top: 0px;
    left: 0px;
    background-size: cover;
    border-radius: 30px;
    background-position: center center;
}
@media (max-width: 575.98px) {
    .apca-slider-02 .swiper-slide .content-box {
        padding: 30px;
    }
    .apca-slider-02 .swiper-slide .content-box h2 {
        font-size: 28px !important;
    }
}
@media (max-width: 767px) {
    .apca-slider-02 .swiper-slide {
        height: auto !important;
    }
    .apca-slider-02 .swiper-slide .bg-image {
        min-height: 310px;
        margin-bottom: 10px;
    }
    .apca-slider-02 .swiper-slide .container-fluid .row {
        flex-direction: column-reverse;
    }
}
/* Remove white space below slideshow */
@media (min-width: 769px) {
  /* Slideshow - no bottom spacing */
  .apca-slider-02,
  .apca-slider-02 .swiper-slide,
  .apca-slider-02 .bg-image {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 750px !important;
    min-height: unset !important;
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Content box wider */
  .apca-slider-02 .content-box,
  .apca-slider-02 .col-xl-6 {
    max-width: 650px !important;
  }
  
  /* CRITICAL: Remove spacing from next section */
  #block-apca-default-primary-local-tasks,
  .contextual-region,
  article.contextual-region,
  .block-views-blockstatistics-block-1,
  #block-views-blockstatistics-block-1,
  .section--statistics {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Target the region containing statistics */
  .region-content > .block:not(:first-child),
  #main-content > .block:not(:first-child) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Wide screens */
@media (min-width: 1400px) {
  .apca-slider-02 {
    margin: 5px auto 0 auto !important;
  }
}
/* FORCE no spacing between slideshow and statistics */
.apca-slider-02 + *,
.apca-slider-02 ~ div,
.apca-slider-02 ~ section,
.view-slideshow ~ *,
#block-views-block-slideshow-block-1 ~ * {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}