/*
 Theme Name: Alphonsus Child Theme
 Theme URI: Diocesan.com
 Author: Diocesan
 Author URI: http://diocesan.com
 Description: Custom child theme based on Diocesan Alphonsus templates.
 Template: alphonsus
 Version: 1.0.0
 License: GNU General Public License v3 or later, provided without any warranties—whether express or implied—and provided without any guarantees of fitness for a particular purpose or merchantability.
 License URI: https://www.gnu.org/licenses/gpl-3.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 Text Domain: alphonsusChild
*/
.staff-member .staff-member-info .staff-member-contact-wrapper a i {
  border: 1px solid var(--clr-secondary);
}
.staff-member .staff-member-info .staff-member-contact-wrapper a:hover i {
  background: var(--clr-secondary);
}
.staff-member .staff-member-info .staff-member-contact-wrapper {
  border-top: 1px solid var(--clr-secondary);
}
.staff-member .staff-member-info .staff-member-position, .staff-member .staff-member-info .staff-member-contact-wrapper a {
  color: var(--clr-secondary);
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  color: inherit;
}
.mass-times-container .mass-times-right .mass-times-schedule .times .time .notes {
  color: var(--clr-tertiary);
}

.calendar-container .calendar-weekday-slick .simcal-day-label > span {
  border: 1px solid var(--clr-primary);
  outline: 1px solid var(--clr-primary-st);
}
.calendar-container .calendar-weekday-slick .simcal-day-label > span .simcal-date-format {
  color: var(--clr-primary) !important;
}
.calendar-container .calendar-weekday-slick .simcal-day-label > span:hover {
  border-color: var(--clr-secondary);
  outline-color: var(--clr-secondary-st);
}
.calendar-container .calendar-weekday-slick .simcal-day-label > span:hover .simcal-date-format {
  color: var(--clr-secondary) !important;
}

.calendar-container .calendar-weekday-slick .simcal-day-label > span.simcal-today {
  background-color: var(--clr-primary) !important;
  border-color: var(--clr-primary) !important;
  outline-color: var(--clr-primary-st) !important;
}
.calendar-container .calendar-weekday-slick .simcal-day-label > span.simcal-current,
.calendar-container .calendar-weekday-slick .simcal-day-label > span.simcal-current:hover {
  background-color: var(--clr-secondary) !important;
  border-color: var(--clr-secondary) !important;
  outline-color: var(--clr-secondary-st) !important;
}
 
.slick-arrow {
  background: var(--clr-primary-st);
  border: 2px solid var(--clr-primary-st);
}

.wp-block-pullquote {
  padding: 1em 0;
}

.page-template-homepage {
 .mass-times-heading {
    margin-bottom: 70px;
    @media screen and (min-width: 992px){
      margin-bottom: 50px;
    }
 }
}
      .mass-times-heading {
        text-align: center;
        font-size: clamp(38px, 3vw, 48px);
        margin-top: 0;
        margin-bottom: 50px;
      }
.mass-times-container {
  margin-top: calc(-1 * var(--homepage-section-spacing));
  /* --gap: calc( (var(--homepage-section-spacing) * 2) - 30px); */
  --gap: 0px;
  &> .limit-width-laptop-up {
    grid-template-columns: repeat(var(--num-cols), 100%);
    .mass-times-left {
      .mass-times-image-wrapper {
        .slick-initialized.slick-slider {
          max-width: 49vw;
          /* margin-bottom: calc(var(--homepage-section-spacing) * 2); */
          .slick-list {
            border-radius: 10px;
            img {
              aspect-ratio: 4 / 4.5;
              border-radius: 0;
            }
          }
        }
        .image2 {
          margin-bottom: 0;
          .slick-dots {
    
            gap: 10px;
            padding: 10px;
            border-radius: 50%;
            width: fit-content;
            bottom: calc(-1 * ((var(--homepage-section-spacing) * 3) / 2));
            left: 0%;
            transform: translate(calc(-50% - 5px), 50%);
            z-index: 1;
            display: none !important;
            li {
              button::before {
                border-color: var(--clr-quaternary);
                background-color: transparent;
              }
              &.slick-active button::before {
                background-color: var(--clr-quaternary);
              }
            }
          }
        }
      }
    }
    .mass-times-right {
      width: auto;
      padding: 0px 50px 0;
      display: block !important;
      .mass-times-schedule {
        --gap: 30px;
        margin-block: 10px;
      }
      .mass-times-subheading {
        width: auto;
        font-size: var(--fs-800, 27px);
        margin-block: 0 30px;
      }
      .mass-times-right-slides {
        .slick-dots {  
          display: flex !important;
          gap: 10px;
          padding: 10px;
          width: fit-content;
          top: -40px;
          right: 0px;
          z-index: 1;
          bottom: 0;
          --dot-size: 19px;
          li {
            button::before {
              border-color: var(--clr-quaternary);
              background-color: transparent;
            }
            &.slick-active button::before {
              background-color: var(--clr-quaternary);
            }
          }
        }
      }
      .slick-arrow {
        display: none !important;
        bottom: calc(-1 * ((var(--homepage-section-spacing) * 2) + 10px));
        left: 50%;
        background: white;
        border-color: var(--clr-quaternary);
        transform: none;
        top: unset;
        &::before {
          color: var(--clr-quaternary);
        }
        &:hover {
          background: var(--clr-quaternary);
          &::before {
            color: white;
          }
        }
        &.slick-prev {
          right: unset;
          left: calc(50% - 60px);
        }
        &.slick-next {
          left: unset;
          right: calc(50% - 60px);
        }
      }
    }
    .mass-times-nav-left {
      margin: 0;
      .mass-times-buttons {
        display: none;
      }
      .slick-dots {  
        display: none !important;
        gap: 10px;
        padding: 10px;
        border-radius: 50%;
        width: fit-content;
        bottom: -350px;
        left: 50%;
        transform: translate(-50%, 430%);
        z-index: 1;
        li {
          button::before {
            border-color: var(--clr-quaternary);
            background-color: transparent;
          }
          &.slick-active button::before {
            background-color: var(--clr-quaternary);
          }
        }
      }
    }
    .mass-times-nav-right {
      margin: 0px 50px var(--homepage-section-spacing);
      text-align: center;
      .slick-arrow {
        display: none !important;
        bottom: calc(-1 * ((var(--homepage-section-spacing) * 2) + 10px));
        left: 50%;
        background: white;
        border-color: var(--clr-quaternary);
        transform: none;
        top: unset;
        &::before {
          color: var(--clr-quaternary);
        }
        &:hover {
          background: var(--clr-quaternary);
          &::before {
            color: white;
          }
        }
        &.slick-prev {
          right: unset;
          left: calc(50% - 60px);
        }
        &.slick-next {
          left: unset;
          right: calc(50% - 60px);
        }
      }
      .mass-times-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        .the-button {
          --padding: 0.875em .25em;
        }
      }
    }
  }
  
  @media screen and (min-width: 426px) {
    &> .limit-width-laptop-up {
      .mass-times-nav-right {
        text-align: left;
        .mass-times-buttons {
          display: block;
          .the-button {
            --padding: 0.875em 1em;
            &:first-of-type {
              margin-right: 15px;
            }
          }
        }
      }
    }
  }
  @media screen and (min-width: 992px) {
    --gap: 0 60px;

    margin-top: 0;
    &> .limit-width-laptop-up {
      grid-template-columns: repeat(var(--num-cols), 42vw);
      .mass-times-left {
        .mass-times-image-wrapper {
          .image2 .slick-dots {
            display: none !important;
          }
          .slick-initialized.slick-slider {
            max-width: 20.5vw;
            margin-bottom: 0;
          }
        }
      }
      .mass-times-right {
        padding: 0;
        .mass-times-schedule {
          --gap: 50px;
          margin-block: 30px;
        }
        .mass-times-right-slides {
          padding: 0 40px;
          .slick-dots {  
            display: none !important;
          }
        }
        .slick-arrow {
          display: block !important;
          bottom: 0;
          top: 50%;
          &.slick-prev {
            right: 70px;
            left: -30px;
          }
          &.slick-next {
            right: -30px;
            left: unset;
          }
        }
      }
      .mass-times-nav-left {
        margin: 0;
        .slick-dots { 
          display: flex !important;
          left: 50%;
          transform: translate(100%, 400%);
          bottom: 0;
          padding: 0;
          left: unset;
          right: 0;
        }
      }
      .mass-times-nav-right {
        margin: 0;
        text-align: left;
        .slick-arrow {
          display: block !important;
          bottom: 0;
          &.slick-prev {
            right: 70px;
            left: unset;
          }
          &.slick-next {
            right: 0;
            left: unset;
          }
        }
        .mass-times-buttons {
          .the-button:first-of-type {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}

.parish-cluster .parish-scroll-title {
  margin-bottom: 80px;
}
.featured-buttons.parishBtns {
    position: relative;
    background: white;
    padding: 25px 0;
    text-align: center;
    .featured-buttons-wrapper.parishButtons {
        display: flex;
        text-align: left;
        padding: 0 0rem;
        .featured-button {
            display: block;
            font-size: var(--fs-500);
            font-family: var(--font-main);
            margin: 0 0.5rem;
            width: 250px;
            border-radius: 17px;
            position: relative;
            background-size: cover;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            h1 {
              bottom: 0;
              position: absolute;
              left: 10%;
              z-index: 1;
            }
            &::after {
              width: 100%;
              height: 100%;
              content: "";
              background: linear-gradient(#4141411A 75%, #000 100%);
              position: absolute;
              z-index: 0;
              border-radius: 17px;
            }
        }
        .slick-prev, .slick-next {
          top: 100%;
          bottom: -15%;
          background: var(--clr-primary);
          border-color: var(--clr-primary);
          border-radius: 8px;
          &::before {
            color: #fff;
          }
        }
        .slick-prev {
          right: 0;
          left: 49%;
          transform: translateX(-105%);
        }
        .slick-next {
          right: 0;
          left: 51%;
          transform: translateX(5%);
        }
        @media screen and (min-width: 768px) {
            .slick-prev, .slick-next {
              border-color: white;
              color: white;
              top: calc(50% - 10px);
              transform: translateY(-50%);
              bottom: unset;
              background: transparent;
              &:hover {
                &::after {
                  opacity: 0.8;
                }
              }
              &.slick-disabled {
                opacity: 0;
                visibility: hidden;
              }
              &::before {
                border: 2px solid white;
                padding: 12px 15px;
                border-radius: 50%;
                font-size: 22px;
              }
              &::after {
                width: 200%;
                height: 200%;
                content: "";
                position: absolute;
                top: -50%;
                right: 0;
                bottom: 0;
                left: -50%;
                background: #404040;
                opacity: 0.6;
                transition: opacity 0.4s ease;
                z-index: -1;
              }
              /* &:not(.slick-active)::after, &.slick-cloned::after {
                opacity: 0.6;
              } */
            }
            .slick-next {
              right: 1%;
              left: unset;
              &::before {
                padding: 11px 15px 11px 14px;
              }
              &::after {
                border-radius: 50% 0 0 50%;
              }
            }
            .slick-prev {
              left: 1%;
              &::before {
                padding: 11px 14px 11px 15px;
              }
              &::after {
                border-radius: 0 50% 50% 0;
              }
            }
        }

        &.parishButtons {
          a {
            text-decoration: none;
          }
          .featured-button {
            /* width: 47% !important; */
            img {
              height: 200px;
              overflow: hidden;
              object-fit: cover;
              border-radius: 17px 17px 0 0;
              width: 100%;
              @media screen and (min-width: 768px) {
                height: 250px;
              }
            }
            h2 {
              /* text-transform: uppercase; */
            }
            .button-title, p {
              margin: 0;
              position: relative;
              left: unset;
              transform: unset;
              text-align: left;
            }
            .button-title {
              margin: 1.5% 5%;
              font-size: clamp(18px,3.5vw,24px);
            }
            p, a {
                font-size: clamp(16px,3.5vw,20px);
            }
            &::after {
              content: none;
            }
          }
        }
    }
    .featured-button + .featured-button {
      margin-top: 0;
    }
    .featured-button-icon {
        margin-right: 1rem;
    }
}

@media screen and (min-width: 1024px) {
  .parish-cluster {
    margin-top: -80px;
  }
    .featured-buttons.parishBtns {
        /* margin-bottom: 4rem;
        padding: 0 0 25px; */
        .featured-buttons-wrapper {
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
        }
        .parishButtons {
          display: block !important
        }
        .featured-button {
            /* height: 300px; */
        }
        .featured-button + .featured-button {
            margin-top: 0;
        }
    }
}
  
.featured-buttons.parishBtns {
    .featured-buttons-wrapper.parishButtons {
      height: 560px;
      @media screen and (min-width: 768px) {
        height: 690px;
      }
      @media screen and (min-width: 1024px) {
        height: 640px;
        .slick-list {
          height: 640px;
        }
      }
        .featured-button {
          position: relative;
          float: left;
          background-position: center center;
          background-repeat: no-repeat;
          background-size: cover;
          text-decoration: none;
          height: 520px;
          border-radius: 10px;
          box-shadow: 0 3px 9px #00000029;
          @media screen and (min-width:768px){
            height: 650px;
          }
          @media screen and (min-width:1024px){
            height: 600px;
          }
          * {
              z-index: 1;
          }
          .button-masses {
            margin: 2px 10%;
            display: flex;
            justify-content: space-between;
            p {
              width: 50%;
            }
            &.contact-mass {
              display: flex;
              flex-direction: column;
              margin-bottom: 5%;
              .contact-mass-bottom {
                display: flex;
                /* flex-direction: column; */
                  justify-content: space-between;
                flex-wrap: wrap;
                @media screen and (min-width: 675px){
                  flex-direction: row;
                  width: 100%;
                  flex-wrap: nowrap;
                }
                a.mass-link::after {
                  content: '\f061';
                  font-family: "Font Awesome 5 Free";
                  font-weight: 700;
                  font-size: 20px;
                  left: 5px;
                  position: relative;
                }
              }
            }
          }
          &::after {
              position: absolute;
              content: "";
              background: #000000;
              width: 100%;
              height: 100%;
              top: 0;
              left: 0;
              opacity: 0.5;
              transition: opacity 0.25s ease-in;
              border-radius: 10px;
          }
          &:hover::after,&:focus::after {
              opacity: 0.75;
          }
        }
    }
    
    @media screen and (min-width: 1200px) {
        .featured-button {
            /* width: calc((100% / 3) - 1.25rem) !important; */
            margin-right: 1.75rem;
        }
    
        .featured-button:nth-of-type(odd),
        .featured-button:nth-of-type(even) {
            margin-right: 1.75rem;
        }
    }
}
