/*
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;
}

/* 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 {

}

h6, .wpex-h6 {

}

ul {
    margin-left: .8em;
}

ul li:not(:last-child) {
    margin-bottom: .8em;
}

ol li:not(:last-child) {
    margin-bottom: 1.55em;
}



/* BUTTONS AND LINKS */
.vcex-button.theme-button {
    position: relative;
    z-index: 9;
}

.vcex-button.theme-button .vcex-button-inner::before {
    background: url('/wp-content/themes/sprung-total/img/racing-flag.svg');
    background-size: cover;
    background-repeat: no-repeat;
    content: '';
    display: block;
    border-right: 5px solid var(--wpex-palette-120-color);
    position: absolute;
    top: 0;
    left: 0;
    height: 66px;
    width: 87px;
}

.vcex-button.theme-button .vcex-button-inner {
    background: var(--wpex-palette-119-color);
    border: 5px solid var(--wpex-palette-120-color);
    display: block;
    padding: 14px 11px 14px 97px;
    white-space: nowrap;
    display: block;
    width: fit-content;
    z-index: 1;
    position: relative;
    transition: background ease .15s;
}

.vcex-button.theme-button:hover .vcex-button-inner {
    background: var(--wpex-palette-120-color);
}

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


/* SITE STYLES */
.absolute-row.vc_row {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.absolute-row .stretched-images>.vc_column-inner>.wpb_wrapper {
    position: relative;
}

.absolute-row .stretched-images {
    height: 100%;
}

.stretched-images>.vc_column-inner {
    margin-left: calc((100vw - var(--wpex-container-width)) / -2);
    width: calc(100% + (calc((100vw - var(--wpex-container-width)) / 2)));
    padding: 0;
}

.stretched-images.right>.vc_column-inner {
    margin-left: unset;
    margin-right: calc((100vw - var(--wpex-container-width)) / -2);
}

.stretched-images>.vc_column-inner>.wpb_wrapper,
/* .stretched-images .vcex-image, */
.stretched-images .vcex-image>.vcex-image-inner,
.stretched-images .vcex-image>.vcex-image-inner>img {
    min-height: inherit;
}

.stretched-images .vcex-image,
.stretched-images .vcex-image>.vcex-image-inner,
.stretched-images .vcex-image>.vcex-image-inner>img {
    height: 100%;
}

.stretched-images .vcex-image>.vcex-image-inner {
    width: 100%;
}


.stretched-images .vcex-image {
    position: absolute;
}

.stretched-images .vcex-image.image-1 {
    height: 428px;
    width: 798px;
    left: 0;
    top: 0;
}

.stretched-images.stretched-row1 {
    min-height: 428px;
}

.stretched-images .vcex-image.image-2 {
    height: 663px;
    width: 843px;
    right: 0;
    bottom: 0;
}

.stretched-images .vcex-image.image-3 {
    height: 337px;
    width: 545px;
    right: 0;
    top: 0;
    min-width: 100vw;
}

.stretched-images .vcex-image.image-3 img {
    object-fit: cover;
    object-position: bottom right;
}

.stretched-images .vcex-image.image-4 {
    height: 462px;
    width: 534px;
    left: 0;
    top: 64px;
}

.stretched-images .vcex-image.image-4::before {
    background: url('/wp-content/themes/sprung-total/img/fish.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    content: '';
    display: block;
    height: 178px;
    width: 366px;
    position: absolute;
    bottom: 24px;
    left: -246px;
    z-index: -1px;
}

.stretched-images .vcex-image.image-5 {
    height: 322px;
    width: 291px;
    right: 0;
    top: 0;
}

.stretched-images.stretched-row4 {
    min-height: 237px;
}

.stretched-images .vcex-image.image-6 {
    height: 602px;
    width: 1031px;
    right: 0;
    top: 0;
}

.stretched-images .vcex-image.image-7 {
    height: 248px;
    width: 241px;
    right: -65px;
    top: -93px;
}

.stretched-images .vcex-image.image-8 {
    height: 388px;
    width: 560px;
    right: 0;
    top: 53px;
}

.stretched-images .vcex-image.image-9 {
    height: 619px;
    width: 887px;
    left: 0;
    top: 0;
}

.stretched-images .vcex-image.image-10 {
    height: 405px;
    width: 373px;
    left: 0;
    top: 0;
}

.stretched-images .vcex-image.image-11 {
    height: 315px;
    width: 338px;
    right: 0;
    bottom: 0;
}

.recipe-row {
    position: absolute;
    top: -80px;
    width: 100%;
}

.recipe-posts {
    background-repeat: no-repeat;
    background-size: 1043px 695px;
    background-position: calc(50vw - 210px) calc(100% - 110px) !important;
}

.recipe-card>a>.vc_row,
.recipe-card>a>.vc_row>.wpb_column,
.recipe-card>a>.vc_row>.wpb_column>.vc_column-inner,
.recipe-card>a>.vc_row>.wpb_column>.vc_column-inner>.wpb_wrapper {
    height: 100%;
}

.recipe-card>a>.vc_row>.wpb_column>.vc_column-inner>.wpb_wrapper {
    display: flex;
    flex-direction: column;
}

.recipe-card>a>.vc_row>.wpb_column>.vc_column-inner>.wpb_wrapper>.vc_row {
    flex-grow: 2;
    min-height: 178px;
}

.recipe-card .featured-image {
    overflow: hidden;
}

.recipe-card .featured-image .wpex-object-cover {
    aspect-ratio: 71 / 81;
    transform: scale(1);
    transition: all ease .5s;
}

.recipe-card>a:hover .featured-image .wpex-object-cover {
    transform: scale(1.1);
}

.recipe-details {
  color: var(--wpex-palette-119-color);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.left-align .recipe-details {
    justify-content: flex-start;
}

.recipe-details .ingredient {
    color: transparent;
}

.recipe-details .ingredient.lobster {
    background: url('/wp-content/themes/sprung-total/img/lobster2.png') no-repeat;
    background-size: contain;
    background-position: center;
    height: 53px;
    width: 40px;
}

.recipe-details .ingredient.salmon {
    background: url('/wp-content/themes/sprung-total/img/salmon.svg') no-repeat;
    background-size: contain;
    background-position: center;
    height: 34px;
    width: 83px;
}

.recipe-details .ingredient.tilapia {
    background: url('/wp-content/themes/sprung-total/img/tilapia2.svg') no-repeat;
    background-size: contain;
    background-position: center;
    height: 45px;
    width: 94px;
}

.recipe-details .ingredient.crab {
    background: url('/wp-content/themes/sprung-total/img/crab.svg') no-repeat;
    background-size: contain;
    background-position: center;
    height: 53px;
    width: 79px;
}

.recipe-details .ingredient.shrimp {
    background: url('/wp-content/themes/sprung-total/img/shrimp.svg') no-repeat;
    background-size: contain;
    background-position: center;
    height: 49px;
    width: 58px;
}

.recipe-details .time {
    background: url('/wp-content/themes/sprung-total/img/stopwatch.svg') no-repeat;
    background-size: contain;
    background-position: center;
    height: 53px;
    width: 48px;
    padding-top: 4px;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-details .serving {
    background: url('/wp-content/themes/sprung-total/img/measuring-cup.svg') no-repeat;
    background-size: contain;
    background-position: center;
    height: 44px;
    width: 68px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: .2em;
    padding-top: .2em;
}

.recipe-details .number {
    font-size: 29px;
    line-height: .69;
    letter-spacing: -.065em;
    padding-right: .3em;
}

.recipe-details .caption {
    font-size: 7px;
    padding-right: .3em;
}






/* HEADER */
body.home #site-logo {
    display: none;
}

#site-header.header-one.header-full-width {
    padding: 0;
}

#site-header.header-one.header-full-width #site-header-inner {
    max-width: 90vw;
    width: 1314px;
    margin: 0 auto;
}

#site-navigation-wrap {
    top: 0;
    margin-top: 26px;
    inset-inline-end: 0;
}

.navbar-fixed-line-height .main-navigation-ul>.menu-item>a {
    line-height: 1;
    height: auto;
    transition: all ease .15s;
}

.navbar-fixed-line-height .main-navigation-ul>.menu-item>a>.link-inner {
    border: 5px solid var(--wpex-palette-120-color);
    border-radius: 0;
    padding: 5px 25px 4px;
}

#site-header-sticky-wrapper.is-sticky #site-header {
    background-color: transparent;
}

#site-header-sticky-wrapper.is-sticky .has-sticky-dropshadow {
    box-shadow: none;
}

.anim-shrink-header #site-logo {
    opacity: 1;
    visibility: visible;
}

.sticky-header-shrunk.anim-shrink-header #site-logo {
    opacity: 0;
    visibility: hidden;
}



/* FOOTER */
.wpex-social-btn.wpex-x-twitter {
    font-size: .9em;
}

.wpex-social-btn.wpex-facebook .wpex-icon svg {
    display: none;
}

.wpex-social-btn.wpex-facebook .wpex-icon::before {
    content: url('/wp-content/themes/sprung-total/img/facebook.svg');
    display: inline-block;
    position: relative;
}

.wpex-social-btn.wpex-facebook:hover .wpex-icon::before {
  filter: brightness(0) saturate(100%) invert(16%) sepia(89%) saturate(7293%) hue-rotate(345deg) brightness(74%) contrast(105%);
}



/* Responsive Overrides */
/* mobile menu breakpoint
-------------------------------------------------------------- */
@media only screen and (max-width: 1210px) {

}
/* Greater then tablets
-------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
  .vc_section.nobackground-desktop {
      background: none !important;
  }

}

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


}

/* Large Desktop Breakpoint
--------------------------------------------------------------*/
@media only screen and (max-width: 1199px) {
  .stretched-images>.vc_column-inner {
      margin-left: -5vw;
      width: calc(100% + 5vw);
      padding: 0;
  }

  .stretched-images.right>.vc_column-inner {
      margin-left: unset;
      margin-right: -5vw;
  }

  .stretched-images .vcex-image.image-2 {
      height: 470px;
      min-height: auto;
      width: 595px;
      top: 0;
      right: -50px;
      margin: auto;
  }

  .recipe-row {
      top: -40px;
  }



}

/* All Devices under 992px
--------------------------------------------------------------*/
@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) {


}

/* Phone Portrait and Landscape
--------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
    h5, .wpex-h5 {
        /* font-size: 18px; */
    }

    h6, .wpex-h6 {
        /* font-size: 16px; */
    }

    .vcex-button.theme-button .vcex-button-inner::before {
        height: 58px;
        width: 76px;
    }

    .vcex-button.theme-button .vcex-button-inner {
        padding: 13px 13px 13px 84px;
    }


    .stretched-images .vcex-image.image-4 {
        height: 322px;
        width: 291px;
        top: unset;
        bottom: 0;
        left: -8vw;
    }

    .stretched-images .vcex-image.image-4::before {
        display: none;
    }

    .stretched-images.stretched-row4 {
        min-height: 355px;
    }

    .stretched-images.stretched-row7>.vc_column-inner {
        min-height: 200px !important;
    }

    .recipe-posts {
        background-repeat: no-repeat;
        background-size: 692px 461px;
        background-position: -50px 100% !important;
    }

    #site-header #site-logo .logo-img {
        max-height: 160px;
    }

    #site-navigation-wrap {
        top: 0;
        margin-top: 12px;
    }

    #site-header.header-one.header-full-width #site-header-inner {
        max-width: calc(100vw - 16px);
    }

    .navbar-fixed-line-height .main-navigation-ul>.menu-item>a>.link-inner {
        padding: 3px 17px;
    }




}

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


}

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


}
