@charset "UTF-8";

/*
Theme Name: NCC 2025
Theme URI: https://riotactstudios.com/
Author: Matt Harris
Author URI: https://riotactstudios.com/
Description: Custom theme built for NCC.
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 8.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --font-family-body: 'Open Sans', sans-serif;
  --font-family-heading: 'Montserrat', sans-serif;
  --color-body: #000;
  --color-border: #eee;
}

body {
  background-color: #fff;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  max-width: 1350px;
}

.wp-block-group {
  padding: 0;
}

/*-------------------------------*/
/*- Header ----------------------*/
/*-------------------------------*/

#header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid #ddd;
}

#logo {
  max-width: 75%;
}

#logo a {
  display: flex;
  align-items: center;
}

#logo h1 {
  margin: 0;
}

#logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 50px;
}

#header-menu {
  display: none;
}

#mobile-menu a {
  color: #fff;
  font-size: 20px;
}

/*-------------------------------*/
/*- Header Menu -----------------*/
/*-------------------------------*/

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.header-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
}

.header-menu li:before {
  content: none;
}

.header-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 20px;
  height: 80px;
  line-height: 80px;
  font-family: var(--font-family-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-body);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.header-menu > li:first-child > a {
  margin-left: 0;
}

.header-menu > li:last-child > a {
  margin-right: 0;
}

.header-menu > li:hover a {
  color: var(--header-menuhover);
}

.header-menu > li > a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.header-menu > li:hover > a:before,
.header-menu > li.current-menu-item > a:before,
.header-menu > li.current-menu-item > a:after {
  width: 100%;
}

.header-menu > li.menu-item-has-children > a:after {
  content: '\f078';
  font: var(--fa-font-sharp-solid);
  margin-left: 5px;
  font-size: 10px;
}

.header-menu > li > .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 999;
  min-width: 220px;
  background-color: #fff;
  border: 1px solid var(--color-border);
  text-align: left;
  margin: 0;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
}

.header-menu > li > .sub-menu:after {
  content: '';
  display: block;
  position: absolute;
  left: 20px;
  top: -8px;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border: solid 1px var(--color-border);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform-origin: center center;
  transform: rotate(45deg);
}

.header-menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

.header-menu > li > .sub-menu > li {
  display: block;
  margin:  0;
  padding: 0 13px;
  border-bottom: 1px solid var(--color-border);
}

.header-menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

.header-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-body);
  padding: 10px;
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.header-menu > li > .sub-menu > li a:hover,
.header-menu > li.current-menu-item > a  {
  color: var(--color-body);
}

.header-menu > li.menu-slide {
  cursor: pointer;
}

/*-------------------------------*/
/*- Slide Out Menu --------------*/
/*-------------------------------*/

.panel {
  position: fixed;
  right: -100%; /*left or right and the width of your navigation panel*/
  width: 100%; /*should match the above value*/
  background: #21252e;
  z-index: 999;
}

.wrap {
  position: relative;
}

#menu-body {
  height: 100%;
  overflow-y: scroll;
}

.mobile-menu-header {
  position: relative;
  background: rgba(0,0,0,.3);
  text-align: center;
  padding: 5px 0;
  margin-bottom: 10px;
}

.mobile-menu-header img {
  display: inline-block;
  width: 30%;
  height: auto;
}

.menu-link.close-panel {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.mobile-menu-icon {
  padding: 20px 0;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  width: calc(((100% / 12) * 6) - 20px) !important;
  border: 1px solid rgba(255,255,255,.05);
}

.mobile-menu-icon i {
  font-size: 32px;
  color: rgba(255,255,255,0.7);
}

.mobile-menu-icon span {
  display: block;
}

.mobile-menu-icon a {
  color: #fff;
}

.menu-mobile {
  padding: 0 0 30px 0;
}

.menu-mobile li {
  list-style: none;
  margin: 0;
  border-top: 1px solid rgba(255,255,255, 0.05);
}

.menu-mobile li:before {
  content: none;
}

.menu-mobile li:last-of-type {
  border-bottom: 1px solid rgba(255,255,255, 0.05);
}

.menu-mobile li a {
  position: relative;
  display: block;
  padding: 10px 20px;
  transition: all .3s ease;
  color: #858585;
}

.menu-mobile li.menu-toggle > a:after {
  position: absolute;
  content: '\f107';
  font-family: 'Fontawesome';
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.menu-mobile li.menu-toggle > a.active:after {
  content: '\f106';
}

.menu-mobile li a.active {
  color: #fff;
  background: var(--bpsred);
}

.menu-mobile .sub-menu {
  display: none;
  margin: 0;
  padding: 0;
}

.menu-mobile .sub-menu li a {
  padding: 10px 20px 10px 40px;
}

.menu-mobile .sub-menu li .sub-menu li a {
  padding: 10px 20px 10px 60px;
}

.menu-mobile .current-menu-item a {
  color: var(--bpsred);
}

/*-------------------------------*/
/*- Upcoming Events -------------*/
/*-------------------------------*/

.upcoming-events {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.event-item {
  flex: 1;
  width: 100%;
}

.event-item-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.event-item h4 {
  margin: 10px 0;
}

.event-item h4 a {
  color: var(--color-body);
  font-weight: 700;
}

.event-item p {
  margin: 0;
}

/*-------------------------------*/
/*- Breadcrumb Block ------------*/
/*-------------------------------*/

.wp-block-boldblocks-breadcrumb-block ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bb--crumb-gap, .4em);
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-block-boldblocks-breadcrumb-block ol li {
  align-items: center;
  display: flex;
}

.wp-block-boldblocks-breadcrumb-block ol li a {
  display: block;
}

.wp-block-boldblocks-breadcrumb-block ol li .sep {
  display: flex;
  line-height: 1;
  margin-left: var(--bb--crumb-gap, .4em);
}

/*-------------------------------*/
/*- Single Event ----------------*/
/*-------------------------------*/

#tribe-events-pg-template {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.single-event-title h1 {
  font-size: 50px;
  margin: 0 0 20px 0;
}

.single-event-image img {
  display: block;
  width: 100%;
  height: auto;
}

#large-map {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.single-event-sidebar {
  position: sticky;
  top: 100px;
  padding: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/*-------------------------------*/
/*- Calendar Share Button -------*/
/*-------------------------------*/

.calendar-dropdown {
    position: relative;
    display: inline-block;
}

.calendar-btn {
    padding: 10px 15px;
    background-color: #334155;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.calendar-btn span:after {
  content: '\f107';
  font: var(--fa-font-sharp-solid);
  margin-left: 10px;
  transition: 0.3s all ease;
}

.calendar-btn.active span:after {
  content: '\f106';
}

.calendar-btn:hover {
    background-color: #475569;
}

.calendar-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: 2px;
}

.calendar-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.calendar-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

/*-------------------------------*/
/*- Event Social Buttons --------*/
/*-------------------------------*/

.social-share {
    display: flex;
    gap: 10px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 14px;
}

.social-share .facebook {
    background-color: #1877f2;
}

.social-share .twitter {
    background-color: #000000;
}

.social-share a:hover {
    opacity: 0.9;
}

/*-------------------------------*/
/*- Media Player ----------------*/
/*-------------------------------*/

.cover-video-block {
  position: relative;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

.cover-video-block .video-bg {
  height: 100%;
  background-color: #000;
}

.cover-video-block .video-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-video-block .video-bg:after {
  content: '';
  position: absolute;
  height: 50%;
  width: 100%;
  left: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
  
}

.cover-video-block .video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
}

.cover-video-block .video-wrapper.fadein {
  opacity: 1;
}

.cover-video-block .video-wrapper iframe {
  height: auto;
  min-width: 100%;
  min-height: 400px;
  aspect-ratio: 16 / 9;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  pointer-events: none;
  filter: grayscale(50%);
}

.cover-video-block .video-wrapper:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.4);
  z-index: 9;
} 

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes triangleStroke {
  from { stroke-dashoffset: 90; }
  to { stroke-dashoffset: 0; }
}

@keyframes smallScale {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

.cover-video-content {
  position: absolute;
  bottom: 50px;
  left: 20px;
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
}

.video-title {
  margin-left: 20px;
}

.video-title h3,
.video-title h5 {
  color: #fff;
  margin: 0;
}

.video-button {
  display: inline-block;
  position: relative;
}

.video-button.is-play {
  background-color: #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  flex-shrink: 0
}

.video-button.is-play .video-button-outer-circle {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
}

.video-button.is-play .video-button-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
}

.video-button.is-play .video-button-icon .triangle {
  animation: fadeIn 7s ease;
}

.video-button.is-play .video-button-icon .path {
  stroke-dasharray: 90;
  stroke-dashoffset: 0;
  animation: triangleStroke 3s ease;
}

.has-scale-animation {
  animation: smallScale 3s infinite;
}

.has-delay-short {
  animation-delay: 0.5s;
}

@media (min-width: 750px) {
  .cover-video-block { min-height: 600px; }
  .cover-video-block .video-wrapper iframe { min-height: 600px; }
}
  

/*-------------------------------*/
/*- Media Player ----------------*/
/*-------------------------------*/

.ncc-player-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.ncc-player-title {
  margin-bottom: 20px;
}

.ncc-player-title h1 {
  font-size: 24px;
  text-transform: none;
  color: #fff;
  margin: 0;
}

.ncc-player-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.ncc-player-meta span {
  display: block;
}

.ncc-player-actions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.ncc-player-actions li {
  display: block;
  text-align: center;
}

.ncc-player-actions li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.ncc-player-action-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.2);
}

.ncc-player-action-icon i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: 24px;
}

@media (min-width: 750px) {
  .ncc-player-title { margin-bottom: 0; }
}

/*-------------------------------*/
/*- Media Library ---------------*/
/*-------------------------------*/

.ncc-media-library {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 12px;
}

.ncc-media-item {
  display: block;
  width: calc((100% / 2) - 6px);
}

.ncc-media-thumb {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.ncc-media-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.6s ease;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ncc-media-item:hover img {
  scale: 1.05;
}

.ncc-media-title {
  margin: 10px 0 0 0;
  font-size: 12px;
  text-transform: none;
  font-weight: 600;
}

.ncc-media-meta {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  color: #8b8b8b;
}

.ncc-media-meta span {
  display: block;
}

.ncc-media-meta span.ncc-media-speaker {
  display: none;
}

.ncc-media-meta span.ncc-media-divider {
  display: none;
  margin: 0 10px;
}

.sermon-series {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 750px) {
  .ncc-media-title { font-size: 14px; }
  .ncc-media-meta span.ncc-media-speaker { display: block; }
  .ncc-media-meta span.ncc-media-divider { display: block; }
}

@media (min-width: 1000px) {
  .ncc-media-item { width: calc((100% / 3) - 8px); }
  .ncc-media-title { font-size: 16px; }
  .sermon-series .ncc-media-item { width: 48%; }
}

/*-------------------------------*/
/*- Pagination ------------------*/
/*-------------------------------*/

.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination .nav-links .page-numbers {
  width: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  margin: 0 2px;
}

.pagination .nav-links .page-numbers {
  color: var(--color-body);
}

.pagination .nav-links .page-numbers:hover {
  background-color: var(--color-border);
}

.pagination .nav-links .page-numbers.current {
  background-color: var(--color-body);
  color: #fff;
}

.pagination .nav-links .page-numbers.disabled {
  color: var(--color-border);
}

.pagination .nav-links .page-numbers.disabled:hover {
  background-color: transparent;
}

/*-------------------------------*/
/*- Sermon Taxonomy -------------*/
/*-------------------------------*/

.series-archive-image img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.series-image img {
  display: block;
  width: 100%;
  height: auto;
}

.series-sermon {
  display: block;
  border-radius: 16px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  overflow: hidden;
}

.series-sermon-image {
  overflow: hidden;
}

.series-sermon-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: all 0.6s ease;
}

.series-sermon:hover img {
  scale: 1.05;
}

.series-sermon-content {
  padding: 0 10px;
}

.series-sermon-content h4 {
  margin-top: 0;
}

/*-------------------------------*/
/*- Sermon Author ---------------*/
/*-------------------------------*/

.sermon-author {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.sermon-author img {
  display: block;
  width: 20%;
  height: auto;
  border-radius: 10px;
}

.sermon-author-profile {
  width: 78%;
}

/*-------------------------------*/
/*- Mini Cart -------------------*/
/*-------------------------------*/

.wc-block-mini-cart__drawer {
  font-size: 16px !important;
}

/*-------------------------------*/
/*- Account ---------------------*/
/*-------------------------------*/

.woocommerce-MyAccount-content h2 {
  font-family: var(--font-family-heading) !important;
  font-size: 18px;
  line-height: 1.5;
}

.woocommerce-MyAccount-content a {
  font-family: var(--font-family-text);
}

/*-------------------------------*/
/*- Mobile First Media Queries --*/
/*-------------------------------*/

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet */
@media (min-width: 550px) {

}

/* Larger than tablet */
@media (min-width: 750px) {
  #header-menu { display: flex; justify-content: flex-end; align-items: center; }
  .upcoming-events { flex-direction: row; }
}

/* Larger than desktop */
@media (min-width: 1000px) {
}

/* Larger than Desktop HD */
@media (min-width: 1350px) {

}