/* Auxiliary CSS Document for Jubilee Church Theme */

/*
nav.navbar.navbar-stick:after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    z-index: 0;
    border-width: 0;
    border-style: solid;
    border-top-color: transparent !important;
    border-bottom-color: transparent !important;
    border-right-color: transparent !important;
    border-bottom-width: 3.5vw !important;
    bottom: calc(-3.5vw + 1px) !important;
    border-left-width: 100vw;
    border-left-color: rgba(var(--bx-white-rgb),.97) !important;
}

nav.navbar.angled-navbar {
    transform: rotate(-2deg) !important;
}
/*
nav.navbar.navbar-stick .navbar-brand > a > img {
  transform: scale(0.7);
  transform-origin: left center;
  transition: transform 0.5s ease-in-out;
}
nav.navbar.navbar-stick .offcanvas-header > a > img {
  transform: scale(0.7);
  transition: transform 0.5s ease-in-out;
}
nav.navbar.navbar-stick .navbar-brand,
nav.navbar.navbar-stick .offcanvas-header  { 
    padding-top: 0;
    padding-bottom: 0;
}
.dropdown:not(.dropdown-submenu) .dropdown-menu.mega-menu {
    margin-top: -0.5rem !important;
}
*/

/* Header Image / Video Styles & Page Content Button */

.ratio > a > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
section.hero-section {
    position: relative;
}
section.hero-section a.page-button-down {
    background: rgba(var(--bx-white-rgb),0.5);
    color: #323348;
    border: 0;
    box-shadow: 0 .25rem .75rem rgba(35,36,50,.02);
    width: 2.2rem;
    height: 2.2rem;
    line-height: inherit;
    border-radius: 100%;
    text-shadow: none;
    transition: all .2s ease-in-out;
    z-index: 100 !important;
    position: absolute !important;
    bottom: calc( 9vw + 1rem );
    left: calc( 50% - 1.1rem );
    top: auto !important;
}
    section.hero-section a.page-button-down:after {
        content: "\e945";
        font-family: Unicons;
        font-size: 1.8rem;
        position: absolute;
        vertical-align: middle;
        padding: 0.2rem;
        text-transform: none!important;
        letter-spacing: 0;
        font-variant: initial;
        line-height: 1;
        display: block;
    }

    #content-start {
      display: block;
      position: relative;
      top: calc(-81px - 3.5vw);
    }
    html.ccm-toolbar-visible #content-start {
      top: calc(-81px - 49px - 3.5vw);
    }

section.video-wrapper {
   position: relative !important;
}
@media (max-width: 767.98px) { 
    section.video-wrapper, 
    section.image-wrapper.bg-cover {
        min-height: 20rem !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
    }
    html.ccm-toolbar-visible section.video-wrapper, 
    html.ccm-toolbar-visible section.image-wrapper.bg-cover {
        min-height: calc( 100vh - 48px ) !important;
        min-height: calc( 100svh - 48px ) !important;
    }
}
@media (min-width: 768px) and (max-width: 1076.98px) { 
    section.video-wrapper, 
    section.image-wrapper.bg-cover {
        min-height: 52vw !important;
    }
}
@media (min-width: 1077px) { 
    section.video-wrapper,
    section.image-wrapper.bg-cover {
        min-height: 28rem !important;
    }
}



/* Squircles */

.squircle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.squircle-mask {
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><path fill="black" d="M0,0.5C0,0.0575 0.0575,0 0.5,0 0.9425,0 1,0.0575 1,0.5 1,0.9425 0.9425,1 0.5,1 0.0575,1 0,0.9425 0,0.5"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><path fill="black" d="M0,0.5C0,0.0575 0.0575,0 0.5,0 0.9425,0 1,0.0575 1,0.5 1,0.9425 0.9425,1 0.5,1 0.0575,1 0,0.9425 0,0.5"/></svg>');
  mask-mode: alpha;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.squircle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.squircle-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: -.01rem;
}

img.mw-25 {
    max-width: 25vw;
    height: auto;
}

a.btn-header {
    text-align: left !important;
    width: 100% !important;
    display: block;
}

/* X-Small devices (portrait phones, less than 576px) */

.card-header > .ratio,
.card-body > .ratio,
.header-bar > .ratio,
.header-bar > a > .ratio {
    width: 30%;
    max-width: 8rem;
    top: -1rem;
    right: -3%;
    position: absolute;
    transform: rotate(2deg);
}
.header-bar > a > i {
    right: 0.5rem;
    position: absolute;
}
.header-bar > a > i.img-offset {
    right: calc(27% + 0.5rem);
    position: absolute;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px)  { 
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px)  { 
}
/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    
}

/* Fix style.css */

.ccm-page .page-content ul.cc-3 > li,
.ccm-page .page-content ul.cc-3 li+li {
    margin-top: 0 !important;
    margin-bottom: .35rem !important;
}






