/*
Author: Aky Joe
Company: TheCreatology
Client: Apostrophe Home
*/

:root {
    --animate-duration: 600ms;

    --navbar-height: 125px;
    --navbar-margin: 0px;
    --navbar-top-scrolled: 0;
    --navbar-toggle-top: 25px;
    --navbar-toggle-size: 24px;
    --navbar-submenu-width: 220px;
    --navbar-box-shadow: 0 0;

    --font-body: 'Montserrat', sans-serif;
    --font-head: 'Playfair Display', serif;;
    --font-icon: 'joe-icon';

    --logo-icon-height: 52px;
    --logo-icon-width: 55px;
    --logo-text-height: 58px;
    --logo-text-width: 196px;
    --logo-icon-sm-height: 40px;
    --logo-icon-sm-width: 44px;
    --logo-text-sm-height: 44px;
    --logo-text-sm-width: 150px;
    --logo-foot-width: 190px;
    --logo-foot-height: 210px;
    --border-muted-color: #eee;
    --border-radius: 8px;
    --main-slide-height: calc(95vh);
    --page-header-height: calc(22vh + var(--navbar-height));
    --main-slide-content-width: 70%;
    --page-header-content-width: 75%;

    --main-slide-tint-color: #00000000;
    --main-slide-tint-color-hover: #00000000;
    --main-slide-transition-duration: 800ms;
    --main-slide-transition-delay: 500ms;
    --main-slide-content-spacing: 1.5rem;

}
html{
    background-color: #fff;
}
body.mask{
    font-family: var(--font-body);
    font-weight: 300;
    padding-top: 0;
}
/* Typography */
.font-primary{
    font-family: var(--font-head);
}
.fw-black{
    font-weight: 900;
}
/* Header */
#joe-header{
    z-index: 999;
}
.no-page-header #joe-header,
.scrolled #joe-header{
    box-shadow: 0 1px 4px #0004;
}
#joe-header .call-2-act{
    padding: 0.688rem 1rem;
}
#joe-header #navigation{
    background-color: transparent;
    transition: var(--animate-duration);
}
.scrolled #joe-header #navigation{
    background-color: var(--joe-white) !important;
}
#joe-header .logo{
    background-color: #fffc;
    padding: 0.75rem 1rem;
    z-index: 9999;
}
.scrolled #joe-header .logo{
    padding: 0.5rem;
}
#joe-header .logo span{
    background-repeat: no-repeat;
    background-size: contain;
    transition: all var(--animate-duration);
}
#joe-header .logo span.logo-icon{
    background-image: url('../mask/img/icon_dark.svg');
    height: var(--logo-icon-height);
    width: var(--logo-icon-width);
}
#joe-header .logo span.logo-text{
    background-image: url('../mask/img/logo_text.svg');
    height: var(--logo-text-height);
    width: var(--logo-text-width);
}
.scrolled #joe-header .logo .logo-icon{
    background-image: url('../mask/img/icon.svg');
    height: var(--logo-icon-sm-height);
    width: var(--logo-icon-sm-width);
}
.scrolled #joe-header .logo .logo-text{
    height: var(--logo-text-sm-height);
    width: var(--logo-text-sm-width);
}
#joe-header .nav-link{
    font-weight: 300;
}
.no-page-header #joe-header .nav-link,
.no-page-header #joe-header .text-white,
.scrolled #joe-header .nav-link,
.scrolled #joe-header .text-white{
    color: var(--joe-dark) !important;
}
#joe-header .nav-item:last-child{
    border-right: 0;
}
#joe-header .nav-icon .nav-link{
    font-size: 0;
}
#joe-header .nav-contact-info{
    z-index: 9999;
}
#joe-header .nav-icon .nav-link:before{
    bottom: 5px;
    display: block;
    font-family: var(--font-icon);
    font-size: initial;
    position: relative;
}
#joe-header .nav-icon.fb .nav-link:before{
    content: '\e80b';
}
#joe-header .nav-icon.ln .nav-link:before{
    content: '\e80e';
}
#joe-header .nav-icon.in .nav-link:before{
    content: '\edc6';
}
#joe-header .sub-menu{
    box-shadow: var(--navbar-box-shadow);
    border-radius: 0;
    border-width: 0;
    padding: 0;
    width: var(--navbar-submenu-width);
}
#joe-header .sub-menu li{
    border-bottom: 1px solid var(--border-muted-color);
    padding: 1rem 0.5rem;
    position: relative;
    transition: padding 400ms;
}
#joe-header .sub-menu li:last-child{
    border-bottom: 0;
}
#joe-header .sub-menu li:hover{
    padding-left: 0.75rem;
}
#joe-header .sub-menu li a{
    font-size: 0.8rem;
    color: black;
}
.no-page-header .page-header{
    height: calc(15vh + 125px);
}
/*Landing: Slider*/
#joeslider{
    background-color: var(--joe-white);
}
#joeslider .js-item{
    background-attachment: fixed;
    background-blend-mode: overlay;
    background-color: var(--main-slide-tint-color);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    height: calc(var(--main-slide-height));
    opacity: 0;
    transition-delay: 0s;
    transition-duration: 300ms;
    transition-timing-function: linear;
}
#joeslider .js-item.active{
    opacity: 1;
}
#joeslider:hover .js-item{
    background-color: var(--main-slide-tint-color-hover);
}
/* #joeslider .js-item .jcontent{
    height: 100vh;
    width: 100%;
}
#joeslider .js-item .jcontent *{
    opacity: 0;
    position: relative;
    transition-duration: var(--main-slide-transition-duration);
    transition-property: all;
    visibility: hidden;
    z-index: 999;
}
#joeslider .js-item.active .jcontent *{
    left: 0;
    bottom: 0;
    opacity: 1;
    visibility: visible;
}
#joeslider .js-item .jcontent .has-huge-font-size{
    font-size: 5.75rem;
    font-style: italic;
    font-weight: 700;
}
#joeslider .js-item .jcontent .has-huge-font-size > strong{
    color: var(--joe-orange);
}
#joeslider .js-item .jcontent .has-medium-2-font-size > em{
    background-color: #0003;
    color: var(--joe-orange);
    font-style: normal;
    padding: 0.25rem;
}
#joeslider .js-item .jcontent  p.has-medium-font-size,
#joeslider .js-item .jcontent .has-huge-font-size > em,
#joeslider .js-item .jcontent .has-huge-font-size > strong > em{
    color: var(--joe-primary);
}
#joeslider .js-item .jcontent  p.has-medium-font-size{
    font-size: 1.125rem;
}
#joeslider .js-item .jcontent .has-huge-font-size > em{
    font-weight: 400;
}
#joeslider .js-item .jcontent .has-huge-font-size > em,
#joeslider .js-item .jcontent .has-huge-font-size > strong > em{
    font-style: normal;
}
#joeslider .js-item .jcontent p{
    bottom: -10em;
    font-size: var(--medium-2-font-size);
    line-height: 1.8;
    transition-delay: var(--main-slide-transition-delay);
}
#joeslider .wp-block-button{
    bottom: -5em;
    margin-top: var(--main-slide-content-spacing);
    transition-delay: var(--main-slide-transition-delay);
}
#joeslider .wp-block-button.is-style-fill .wp-block-button__link{
    background-color: var(--primary-green);
}
#joeslider .wp-block-button .wp-block-button__link{
    border-color: var(--primary-green);
    font-size: var(--medium-2-font-size);
    padding-left: 3rem;
    padding-right: 3rem;
}
#joeslider .wp-block-button a:hover{
    background-color: black;
} */
#joeslider .carousel-indicators button{
    border-radius: 50%;
    border-width: 0 !important;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
    opacity: 1;
    width: 20px;
}
#joeslider .carousel-indicators button.active{
    background-color: var(--joe-primary);
}
#joeslider .carousel-control-prev, 
#joeslider .carousel-control-next{
    width: 7.5%;
}
.slider-theme-light #joeslider .carousel-control-prev,
.slider-theme-light #joeslider .carousel-control-next{
    color: var(--muted-colour);
}
.wp-block-button__link.has-joe-red-background-color:hover{
    color: white !important;
    opacity: 0.8;
}
/* Blockquote */
blockquote:before {
    color: #ccc;
    content: open-quote;
    display: block;
    font-family: var(--font-head);
    font-size: 8rem;
    height: 1px;
    margin-left: -3.5rem;
    position:relative;
    transform: rotate(3deg);
    top: -4rem;
}
.scale-on-hover img{
    position: relative;
    transform: scale(1);
    transition: all 600ms;
}
.scale-on-hover:hover img{
    transform: scale(1.5);
}
.jp-carousel-icon-btn{
    display: none !important;
}
/* Footer */
.legs .logo{
    background-image: url('../mask/img/logo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    height: var(--logo-foot-height);
    width: var(--logo-foot-width);
}
.legs hr.wp-block-separator{
    border-bottom-color: var(--wp--preset--color--joe-muted);
    border-top-color: var(--joe-black);
}
.legs a:hover{
    color: var(--joe-orange);
}
.climbup:not(.show){
    visibility: hidden;
}
.climbup{
    margin-bottom: 1em;
    opacity: 0.6 !important;
    margin-right: 1em;
    visibility: visible;
    transform: rotate(-90deg);
    transition-property: all;
    transition-duration: 600ms;
    z-index: 999;
}
.climbup:hover{
    margin-bottom: 1.5em;
    opacity: 1;
}