/*
Theme Name: Sprung-Total
Theme URI:
Description:
Author: Sprung Interactive
Author URI: http://madebysprung.com
Template: Total
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

.post-edit {
    display: none;
}

:root {
    --wpex-gold: var(--wpex-palette-91-color);
    --wpex-purple: var(--wpex-palette-88-color);
    --wpex-site-header-shrink-end-padding-top: 20px;
    --wpex-site-header-shrink-end-padding-bottom: 20px;
    --wpex-menu-btn-padding: 9px 20px;
}

:where(.wpex-classic-style) .navbar-style-one {
}

/* TYPOGRAPHY */
.wpb_text_column h1:first-child, .wpb_text_column h2:first-child, .wpb_text_column h3:first-child, .wpb_text_column h4:first-child, .wpb_text_column h5:first-child, .wpb_text_column h6:first-child,  .wpb_text_column blockquote:first-child,
.wpb_text_column.wpex-h1, .wpb_text_column.wpex-h2, .wpb_text_column.wpex-h3, .wpb_text_column.wpex-h4, .wpb_text_column.wpex-h5, .wpb_text_column.wpex-h6 {
    margin-top: 0;
}

h5, .wpex-h5 {
    font-family: owners-wide;
    font-weight: 800;
    font-size: 24px;
    color: var(--wpex-palette-93-color);
    line-height: 120%;
}

h6, .wpex-h6 {
    font-family: owners-wide;
    font-weight: 800;
    font-size: 20px;
    color: var(--wpex-palette-93-color);
    line-height: 120%;
}

a:hover {
    text-decoration: none;
}

.with_frm_style input::placeholder,
.with_frm_style textarea::placeholder {
    opacity: 1;
}

.with_frm_style legend + h3, .with_frm_style h3.frm_form_title {
    font-family: owners-wide;
}




/* BUTTONS AND LINKS */
.theme-button.gold {
    color: var(--wpex-palette-90-color);
}

.theme-button.gold:hover {
    background: var(--wpex-palette-92-color);
    color: var(--wpex-palette-105-color);
}

.theme-button.purple {
    color: var(--wpex-palette-90-color);
}

.theme-button.purple:hover {
    background: var(--wpex-palette-90-color);
    color: var(--wpex-palette-105-color);
}

.theme-txt-link:hover {
    text-decoration: none;
}

.hidden-link a {
    color: currentColor;
    text-decoration: none;
}

.hidden-link a:hover {
    color: currentColor;
    text-decoration: underline;
}


/* PAGE STYLES */
.with_frm_style {
    --form-desc-margin-bottom: 30px;
}

.padded-section {
    padding: 0 40px;
}

.yellow-badge {
    position: absolute;
    top: -58px;
}

.featured-candy,
.featured-product {
    border-radius: 15px;
    padding: 40px 50px;
}

.featured-candy .vcex-feature-box-content>*,
.wpb_column.vc_col-sm-12 .featured-product .vcex-feature-box-content {
    max-width: 455px;
}

.featured-candy .vcex-feature-box-media,
.featured-product .vcex-feature-box-media {
    border-radius: 25px;
    overflow: hidden;
}

a.featured-candy img,
a.featured-product img {
    transform: scale(1);
    transition: all ease .3s;
}

a.featured-candy:hover img,
a.featured-product:hover img {
    transform: scale(1.05);
}

.featured-product .vcex-feature-box-content {
    margin: 0 auto;
}

.product-columns>.wpb_column>.vc_column-inner>.wpb_wrapper {
    height: 100%
}

.product-columns>.wpb_column>.vc_column-inner>.wpb_wrapper {
    display: flex;
    flex-direction: column
}

.product-columns .featured-product {
    flex-grow: 2;
}

#sb_instagram .sbi_photo_wrap {
  border-radius: 24px !important;
}

#sb_instagram .sbi_link {
   background: transparent !important;
}

#sb_instagram .sbi-owl-stage::-webkit-scrollbar {
    display: none;
}




/* CARD STYLES */



/* HEADER */
#top-bar-wrap {
    padding-inline: 0;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  width: max-content;
  animation: scroll 18s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track h6 {
  margin: 0;
  padding: 0 18px;
  color: var(--text);
}

.marquee__track h6 a {
    text-decoration: underline;
}

.marquee__track h6 a:hover {
    color: currentColor;
    text-decoration: none;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

#site-navigation-wrap {
    padding-top: 42px;
    transition: all var(--wpex-site-header-shrink-speed, 0.3s) linear;
}

.main-navigation-ul>.menu-item.menu-button>a>.link-inner, .main-navigation .menu-button>a>.link-inner {
    background-color: var(--wpex-palette-91-color);
    color: var(--wpex-palette-90-color);
    padding: var(--wpex-menu-btn-padding);
    transition: all ease .15s;
}

.main-navigation-ul>.menu-item.menu-button>a:hover>.link-inner, .main-navigation .menu-button>a:hover>.link-inner {
    background-color: var(--wpex-palette-92-color);
    color: var(--wpex-palette-105-color);
}

.menu-button {
    margin-inline: var(--wpex-main-nav-link-padding-x, 0px);
}

.menu-button:last-child {
    margin-right: 0;
}

#site-header-flex-aside {
    position: absolute;
    right: 0;
    top: 0;
    height: auto;
}

#site-header-flex-aside .wpb_wrapper {
    display: flex;
    align-items: center;
    gap: 21px;
}

#site-header-flex-aside .theme-txt-link {
    text-decoration: none;
}

/* .header-fixed-height #site-logo .logo-img {
    max-height: var(--wpex-site-header-height);
} */

#site-header-sticky-wrapper #site-header #site-header-flex-aside #site-header-flex-aside-inner .vc_row {
    transition: all linear .3s;
}

#site-header-sticky-wrapper #site-header.sticky-header-shrunk #site-header-flex-aside #site-header-flex-aside-inner .vc_row {
    padding-top: 13px !important;
}

.full-screen-overlay-nav {
    /* opacity: .5; */
}

.full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close {
    margin-block-start: 44px;
    margin-inline-end: 5vw;
    position: relative;
    float: right;
}

.full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close__icon {
    position: relative;
    display: inline-block;
    height: 34px;
    width: 44px;
}

.full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close__icon::after,
.full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close__icon::before {
    content: "";
    border-radius: 9999px;
    display: block;
    position: absolute;
    top: 12px;
    bottom: 0;
    margin: auto;
    inset-inline-start: 0;
    height: 2px;
    width: 100%;
    background: var(--wpex-palette-90-color);
    transform-style: preserve-3d;
    transform: rotatez(0deg);
    transition: top .15s .2s ease, transform .15s .05s ease;
}

body.mobile-menu-is-open .full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close__icon::before {
    transform: rotatez(-45deg);
}

body.mobile-menu-is-open .full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close__icon::after {
    transform: rotatez(45deg);
}

.full-screen-overlay-nav.wpex-mobile-menu .full-screen-overlay-nav-close svg {
    display: none;
}

.full-screen-overlay-nav .full-screen-overlay-nav-content {
    text-align: left;
}

.full-screen-overlay-nav-content-inner {
    padding-top: 25px;
    /* opacity: .5; */
}

.full-screen-overlay-nav-content li.menu-item:not(.menu-button) a {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--wpex-palette-90-color);
}

.full-screen-overlay-nav-content li.menu-item:not(.menu-button) a:hover {
    color: var(--wpex-palette-89-color);
}

.full-screen-overlay-nav-content li.menu-item a:hover {
    opacity: 1;
}

.full-screen-overlay-nav-content li.menu-item.menu-button {
    margin: 24px 0;
}

.full-screen-overlay-nav-content li.menu-item.menu-button a {
    background-color: var(--wpex-palette-91-color);
    border-radius: var(--wpex-btn-border-radius);
    color: var(--wpex-palette-90-color);
    padding: var(--wpex-menu-btn-padding);
    transition: all ease .15s;
}

.full-screen-overlay-nav-content li.menu-item.menu-button a:hover {
    background-color: var(--wpex-palette-90-color);
    color: var(--wpex-palette-105-color);
}

.main-navigation-ul>.menu-item.current-menu-item>a>.link-inner {
    position: relative;
}

.main-navigation-ul>.menu-item.current-menu-item>a>.link-inner::after {
    background: url("/wp-content/themes/sprung-total/img/worm.png") no-repeat;
    background-size: 100% 100%;
    background-position: center;
    content: '';
    display: block;
    height: 11px;
    width: 100%;
    position: absolute;
    bottom: -15px;
}

.main-navigation-ul>.menu-button.menu-item.current-menu-item>a>.link-inner::after {
    display: none !important;
}




/* FOOTER */
#footer-form {
    min-height: 260px;
}

#frm_form_2_container .frm_form_title,
#frm_form_2_container .frm_description p {
    text-align: center;
}

#frm_form_2_container .frm_error_style {
    display: none;
}

#frm_form_2_container .frm_fields_container {
    max-width: 420px;
    margin: auto;
    position: relative;
}

.frm_style_newsletter.with_frm_style .frm_form_title {
    margin-top: 0;
    /* max-width: 336px; */
    margin-left: auto;
    margin-right: auto;
}

.frm_style_newsletter.with_frm_style .frm_submit button {
    margin: 0;
    width: 88px;
    color: transparent;
    position: relative;
}

.frm_style_newsletter.with_frm_style .frm_submit button:hover {
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.frm_style_newsletter.with_frm_style .frm_submit button::before,
.frm_style_newsletter.with_frm_style .frm_submit button::after {
    content: '';
    display: inline-block;
    height: 15px;
    width: 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    transition: all ease .15s;
    opacity: 1;
}

.frm_style_newsletter.with_frm_style .frm_submit button::before {
    background: url("/wp-content/themes/sprung-total/img/red-arrow.svg") no-repeat;
    background-size: contain;
    background-position: center;
}

.frm_style_newsletter.with_frm_style .frm_submit button::after {
    background: url("/wp-content/themes/sprung-total/img/purple-arrow.svg") no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0;
}

.frm_style_newsletter.with_frm_style .frm_submit button:hover::after {
    opacity: 1;
}

#frm_field_7_container {
    position: absolute;
    top: 2px;
    right: 2px;
    /* border: 1px solid black; */
}

#frm_form_2_container .frm_message h3 {
    margin-bottom: 10px;
    margin-top: 0;
}

#frm_form_2_container.with_frm_style .frm_message,
#frm_form_2_container .frm_message {
    margin: 0;
    padding: 0;
    border: 0;
}

.woocommerce-product-gallery .flex-control-thumbs img,
.woocommerce-product-gallery__wrapper img {
  border-radius: 15px;
}



/* Responsive Overrides */

/* Greater then tablets
-------------------------------------------------------------- */
@media only screen and (min-width: 768px) {


}


/* Tablet & Small Desktop Widths 768px - 1280px
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 1280px) {


}


/* All Devices under 1101px
--------------------------------------------------------------*/
@media only screen and (max-width: 991px) {


}


/* All Devices under 960px
--------------------------------------------------------------*/
@media only screen and (max-width: 959px) {


}

/* Tablet Landscape
--------------------------------------------------------------*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

/* Tablet Portrait
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

}

/* Between Phone and Mobile
--------------------------------------------------------------*/
@media only screen and (max-width: 500px) {

}

/* Desktop
--------------------------------------------------------------*/
@media only screen and (min-width: 768px) {
    .no-breaks-desktop br {
        display: none;
    }
}

/* Phone Portrait and Landscape
--------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
    :root {
        --wpex-site-header-height: 135px !important;
    }

    /* TYPOGRAPHY */
    h5, .wpex-h5 {

    }

    h6, .wpex-h6 {

    }



    /* BUTTONS AND LINKS */



    /* PAGE STYLES */
    .frm_style_newsletter.with_frm_style .frm_form_title {
        margin-bottom: 30px;
    }

    .frm_style_newsletter .frm_description {
        display: none;
    }

    .padded-section {
        padding: 0 24px;
    }

    .yellow-badge {
        top: -34px;
        right: 4px;
        max-width: 145px;
    }

    .featured-candy,
    .featured-product {
        border-radius: 15px;
        /* padding: 30px 40px; */
        padding: 30px 20px;
    }

    .featured-candy .vcex-feature-box-content>*,
    .wpb_column.vc_col-sm-12 .featured-product .vcex-feature-box-content {
        max-width: unset;
    }

    .product-columns>.wpb_column>.vc_column-inner>.wpb_wrapper,
    .product-columns .featured-product {
        height: auto;
    }

    .your-lottie-container svg {
        width: auto !important;
        height: 100%; /* or whatever height you want to keep */
    }

    .mdp-lottier-box {
        height: 35vw;
    }

    .mdp-lottier-animation {
        position: absolute;
        height: 100%;
        width: 175vw;
        left: 0;
    }




    /* CARD STYLES */



    /* HEADER */
    #site-header-flex-aside {
        position: relative;
        right: unset;
        top: unset;
    }

    #site-header-flex-aside .vc_row {
        padding-top: 0 !important;
        padding-right: 7px !important;
    }

    .full-screen-overlay-nav .wpex-mobile-menu-top {
        display: none;
    }

    #mobile-menu {

    }


    /* FOOTER */
    #footer-form {
        min-height: 320px;
    }


}

/* Phone Landscape
--------------------------------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {

}

/* Phone Portrait
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {

}
