/*--Jericho Jackson Clean Slate custom.css--*/
@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Colors */
  --primary-brand-color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
  --secondary-brand-color: #FFFAC9;
}

/*--Typography--*/
body {
    font-family: 'Arimo', sans-serif;
    font-weight: 400;
}
.h1, .h2, .h3, .h4, .h5, .h6, .section-inverse h1, h1, h2, h3, h4, h5, h6 {
    font-family: 'Arimo', sans-serif;
    font-weight: 600;
}
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
}
.font-weight-bold {
    font-weight: bold !important;
}
.font-weight-normal {
    font-weight: normal !important;
}
.text-white {
    color: #fff;
}
/*--Branded Color Elements--*/
    .font-primary {
        color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
    }
    hr.primary-color {
        width: 60%;
        margin: 0 auto;
        border-width: 3px;
        border-color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
    }
    .primary-color-text {
        color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
    }
    .primary-heavy-border-bottom,
    .primary-medium-border-bottom,
    .primary-light-border-bottom {
        background-image: linear-gradient(90deg, hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1) 0%, hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1) 100%);
        background-position: -100% 90%;
        background-repeat: no-repeat;
        background-size: 100% 25%;
        position: relative;
    }
    .primary-medium-border-bottom {
        background-size: 100% 15%;
    }
    .primary-light-border-bottom {
        background-size: 100% 10%;
    }
    .secondary-heavy-border-bottom,
    .secondary-medium-border-bottom,
    .secondary-light-border-bottom {
        background-image: linear-gradient(90deg, var(--secondary-brand-color, #fffac8) 0%, var(--secondary-brand-color, #fffac8) 100%);
        background-position: -100% 90%;
        background-repeat: no-repeat;
        background-size: 100% 25%;
        position: relative;
    }
    .secondary-medium-border-bottom {
        background-size: 100% 15%;
    }
    .secondary-light-border-bottom {
        background-size: 100% 10%;
    }

    .accent-triangle {
        position: relative;
    }
    .accent-triangle::after {
        position: absolute;
        bottom: 0;
        left: 50%;
        display: block;
        content:'';
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 20px 20px 0 20px;
        border-color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1) transparent transparent transparent;
        transform: rotate(0deg) translate(-50%, 16px);
    }

    h2.h5 .accent-triangle::after {
        transform: rotate(0deg) translate(-50%, 17px);
    }

    .btn-3d {
        position: relative;
        font-weight: bold;
        border-radius: 14px;
    }
    .btn-3d span {
        position: relative;
        z-index: 1;
    }
    .btn-3d::after {
        display: block;
        width: calc(100% - 10px);
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        content: '';
        background-color: #323232;
        border-radius: 14px;
        transition: width 0.2s ease-out;
    }
    .btn-3d:hover::after {
        width: 100%;
    }

    .btn-img img {
        height: 80px;
        margin: 5px;
        transition: all .3s ease;
    }
    .btn-img img:hover {
        height: 85px;
        margin-bottom: 0px;
    }

    
    .btn-img-lg img {
        height: 160px;
        margin: 0 5px 5px;
        transition: all .3s ease;
    }
    .btn-img-lg img:hover {
        height: 165px;
        margin: 0px;
    }

    @media (min-width: 573px){
        .btn-img-lg img {
            height: 220px;
        }
        .btn-img-lg img:hover {
            height: 225px;
        }
    }

/*--General classes missing from kvCORE version of Bootstrap--*/
    .position-relative{position:relative}
    .d-block{display:block}
    .flex-column{flex-direction:column}
    .align-items-center{align-items:center!important;}
    .h-auto{height:auto!important}
    .h-100{height:100%}
    .w-100{width:100%}
    .text-white{color:#fff}

/*--Create equal height, columns on desktop--*/
    .row.eq-height {display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap: wrap;}
    .row.eq-height .col-xs-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%}
    @media (min-width: 768px){.row.eq-height .col-md-6{-ms-flex: 0 0 50%;flex: 0 0 50%;max-width:50%}}
    @media (min-width: 992px){.row.eq-height .col-lg-4{-ms-flex: 0 0 33.333333%;flex: 0 0 33.333333%;max-width: 33.333333%}
                              .row.eq-height .col-lg-6{-ms-flex: 0 0 50%;flex: 0 0 50%;max-width:50%}}

    @media (min-width: 576px){.container-sm{max-width: 540px; margin: 0 auto;}}
    @media (min-width: 768px){.container-md{max-width: 720px; margin: 0 auto;}}
    @media (min-width: 992px){.container-lg{max-width: 960px; margin: 0 auto;}}
    @media (min-width: 1200px){.container-xl{max-width: 1140px; margin: 0 auto}}

    .row.no-gutters{margin-right:0;margin-left:0;}
    .row.no-gutters>[class*=col-]{padding-right:0;padding-left: 0;}

    @media (min-width: 992px){.m-t-lg-0{margin-top:0!important}}

/*--Fixed full width background images--*/
/*
    <div class="bg-wrap-fixed section-inverse">
      <div class="bg-position">
        <img src="" />
      </div>
    </div>
*/
.bg-wrap-fixed {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}
.bg-wrap-fixed .bg-position {
    position: absolute;
    clip: rect(0, auto, auto, 0);
    z-index:0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.bg-wrap-fixed img {
    position: fixed;
    z-index:0;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    will-change: transform;
    filter:brightness(.33);
}
.bg-wrap-fixed img::after {
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background-color:#000;
    opacity:0.2
}
/*--kvCORE Resets--*/
    /* Hide Default Home Page Content */
    #home-bodycontent #fixed-header-spacer,
    #home-bodycontent .main-wrapper .main-inner .content .cover,
    #home-bodycontent .main-wrapper .main-inner .content .information-bar,
    #home-bodycontent .main-wrapper .main-inner .content .top-wrapper,
    #home-bodycontent .main-wrapper .main-inner .content .custom-top,
    #home-bodycontent .main-wrapper .main-inner .content .custom-bottom,
    #home-bodycontent .main-wrapper .main-inner .content .bottom-wrapper,
    #home-bodycontent .listings.container,
    #home-bodycontent #about,
    #home-bodycontent #latest-blogs,
    #testimonials-carousel,
    .main-wrapper ~ div.p-t-3.p-b-3.background-white {
        display: none;
    }
    #home-bodycontent {
        background-color:hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
    }
    /* Full Width Home Page Container */
    #home-bodycontent .main {
        padding-top: 0;
    }
    #home-bodycontent .main > .main-inner > .content > .container,
    #home-bodycontent .main > .main-inner > .content > .container > #categories {
        width: 100%;
        max-width: 100%;
        margin: 0 0 0 0 !important;
        padding: 0 0 0 0 !important;
    }

/*--Video Styling--*/
    iframe[src*="youtube.com"]:not(.bg_video) {
        border-radius: 20px;
    }

body {
    background-color: #fff;
}
body::after {
    display: block;
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    height: 100vh;
    width: 100vw;
    background-color: #000;
    animation: fadeIn .5s .25s ease-in normal forwards, 
               indexDown .5s .25s steps(2) normal forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes indexDown {
    from {
        z-index: 999999;
    }
    to {
        z-index: -1;
    }
}

/*--Set up custom header--*/
    /* Hide unnecessary header elements */
    #header > .container > .row-flex:nth-child(1),
    #header > .container > .row-flex:nth-child(2) > .column > #primary-logo,
    #header > .container > .row-flex:nth-child(2) > .column > #quick-search,
    #header > .container > .row-flex:nth-child(2) > .column-end > ul.list-inline {
        display: none !important;
    }
    #header > .container > .row-flex:nth-child(2) > .column > #secondary-logo img {
        filter: brightness(0) invert(1);
    }
    /* Fix header to top of page */
    #header {
        background-color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
    }
    #home-bodycontent #header {
        position: fixed;
        background-color: transparent;
    }
    /* Space logo/toggler row in middle of header */
    #header > .container > .row-flex:nth-child(2) {
        margin-top: 24px;
    }
    /* Space logo and toggler at ends of columns */
    #header > .container > .row-flex:nth-child(2) > .column-end {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
    }
    /* Set up nav toggler */
    #header > .container > .row-flex:nth-child(2) > .column-end > .navbar-toggler {
        position: relative !important;
        top: 0;
        right: 0;
    }
    #header > .container > .row-flex:nth-child(2) > .column-end > .navbar-toggler {
        display: block !important;
        width: 48px;
        border: none;
        outline: none !important;
        transform: none;
    }
    #header > .container > .row-flex:nth-child(2) > .column-end > .navbar-toggler > span {
        margin: 6px 0 0;
        border-top: 5px solid #fff !important;
    }
    #header > .container > .row-flex:nth-child(2) > .column-end > .navbar-toggler > span:nth-child(2) {
        margin-left: 33%;
        transition: all 0.33s ease;
    }
    #header > .container > .row-flex:nth-child(2) > .column-end > .navbar-toggler:hover > span:nth-child(2) {
        margin-left: 0;
    }
    #home-bodycontent #header > .container > .row-flex:nth-child(2) > .column-end > .navbar-toggler > span {
        border-top: 5px solid #fff !important;
    }
    
    /* Set up nav */
    .nav-primary-wrapper {
        position: absolute;
        right: -15px;
        margin-top: 0 !important;
        padding: 40px;
        min-height: 100vh;
        width: 300px !important;
        max-width: 100% !important;
        background-color: #fff;
    }
    .nav-primary {
        float: none;
    }
    .nav-primary .nav-item {
        float: none !important;
        margin: 0 !important;
    }
    .nav-primary .nav-link {
      font-size: .9em;
        padding: 10px 15px;
        transition: all .15s linear;
    }
    .nav-primary .nav-item-parent > .nav-link:after {
        content: "\f0d7";
        float: right;
    }
    .nav-primary .nav-link,
    .nav-primary .sub-menu a,
    #home-bodycontent .nav-primary .nav-link {
        color: #fff !important;
    }
    .nav-primary .sub-menu {
      position: relative !important;
      top: 0;
      left: 15px;
      right: 0;
      display: none !important;
      background-color: transparent !important;
      box-shadow: none;
    }
    .nav-primary .nav-item-parent:hover>.sub-menu {
        display: block !important;
    }
    .nav-primary .sub-menu:before {
      display: none;
    }
    .nav-primary .sub-menu a {
        display: block;
        font-size: .95em;
        padding: 8px 15px;
        transition: background-color .15s linear;
    }
    .nav-primary .sub-menu a:hover {
      padding-left: 15px;
        background-color: rgba(0,0,0,.12) !important;
    }
    
    /*-Move nav-wrapper for off-canvas-*/
    #header .container .row-flex:nth-child(3) .nav-primary-wrapper {
        position: fixed;  
        height: 100vh;
        margin: 0;
        margin-left: auto;
        box-shadow: -5px -5px 5px -7px #333;
        transform: translateX(100%);
        transition: all .3s ease-in-out;
        background: url(https://kunversion-frontend-blog.s3.amazonaws.com/images/customarea-jjacksonhomes.com-308458-71651c67fa10dbf5998f4d1c1d33b620dbf5ea3c.jpg);
        background-size: cover;
        background-position: right center;
    }
    #header .container .row-flex:nth-child(3) .nav-primary-wrapper.in {
        transform: translateX(-15px) !important;
    }

/*--kvTree Styling--*/

    #kvtree-intro .agent-headshot{width:140px;height:140px;object-fit:cover;border:4px solid hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);border-radius:50%;background-color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);}
    #kvtree-intro .agent-signature{max-width:100%}
    #home-bodycontent #kvtree-intro h2, #home-bodycontent #kvtree-intro p{text-shadow:0px 1px 7px #000}

    #kvtree-social a{margin:0 2px;padding:3px 6px}
    #kvtree-social a:hover{text-decoration:none;padding:3px 6px}
    #kvtree-social a svg{height:32px;width:32px;fill:#000;transition:fill .3s ease-in-out}
    #kvtree-social a svg:hover{fill:hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1)}
    #kvtree-social a img{height:32px;filter:brightness(0);transition:all .3s ease-in-out}
    #kvtree-social a img:hover{filter:brightness(1)}
    #kvtree-buttons a{position:relative;z-index:1;display:block;background-color:hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);color:#fff;text-transform:uppercase;font-weight:bold;text-align:center;white-space:pre-wrap;padding: 9px 20px;transition:all .2s ease-out}
    #kvtree-buttons a:hover{color:#000;text-decoration:none}
    #kvtree-buttons a img {
        height: 26px;
        float: left;
        filter: brightness(100);
    }
    #kvtree-buttons a:hover img {
        filter: brightness(1);
    }
    .section-inverse #kvtree-buttons a{background-color:hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);color:#fff;border:2px solid #fff;border-radius:6px}
    .section-inverse #kvtree-buttons a:hover{background-color:#fff;color:hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);border-color:hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);text-decoration:none}
    
    #custom-content.kvTree {
      display: flex;
      align-items: center;
      position: relative;
      background-color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
      min-height: 100vh;
      width: 100%;
      overflow: hidden;
    }

    #custom-content.kvTree video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: 0;
      -ms-transform: translateX(-50%) translateY(-50%);
      -moz-transform: translateX(-50%) translateY(-50%);
      -webkit-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      filter:opacity(.5);
    }

    #custom-content.kvTree .container {
      position: relative;
      z-index: 2;
    }

        
    body:not(#resources-bodycontent) video {
        filter:brightness(1.5);
    }



/*--Youtube Background--*/
.bg_video, iframe.bg_video  {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  /* 9/16*100 = 56.25 */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16/9*100 = 177.77 */
}
iframe.bg_video {
  opacity: 0;
  pointer-events: none;
  transition: all 0.33s ease-in;
}
iframe.bg_video.loaded {
  opacity: 1;
}

.custom-blockquote {
    background-color: #ECF0F3;
    border-radius: 20px;
    box-shadow: inset 9px 10px 15px -3px rgba(0,0,0,0.2),inset -10px -10px 15px -3px rgba(255,255,255,0.7);
    padding: 40px 20px;
    text-align: center;
}
.custom-blockquote .star-rating .fa.fa-star.checked {
    color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
}
.blockquote-icon {
    width: 80px;
}

/*--Custom Footer--*/
    #custom-footer {
        background: rgb(217,217,217);
        background: linear-gradient(0deg, rgba(217,217,217,1) 0%, rgba(255,255,255,1) 100%);
    }
    #custom-footer-links > .btn-link-custom {
        display: inline-block;
        margin-bottom: 10px;
        padding: 0 8px;
        border-right: 1px solid #323232;
        color: #323232;
        text-decoration: underline;
        transition: color 0.2s ease;
    }
    #custom-footer-links > .btn-link-custom:last-of-type {
        border-right: none;
    }
    #custom-footer-links > .btn-link-custom:hover {
        color: hsla(var(--colorPrimary-h,0),var(--colorPrimary-s,0%),calc(var(--colorPrimary-l, 25%) + 0%),1);
    }

/*--Site-wide Custom Footer
    AGAINST OUR RECOMENDATION--*/
    #footer {
        display: none;
    }
    #listing-bodycontent #footer,
    #search-results-bodycontent #footer {
        display: block !important;
    }
    #custom-footer-bottom {
        position: relative;
        z-index: 3;
        background-color: #000 !important;
    }
    .footer-logo {
        width: 200px;
        filter: invert(1);
    }

/*--General Fixes--*/
.footer-top .footer-top-left {
    text-align: center;
}
@media (min-width: 768px) {
    .footer-top .footer-top-left {
        text-align: left;
    }
}
.footer-bottom .footer-left {
    float: none;
    text-align: center;
}
.footer-bottom .footer-left ul {
    display: inline-block;
}
#design-creds {
    clear: both;
}
#design-creds a {
    color: rgba(255,255,255,0.5);
    font-size: .8rem;
}
.post-content p {
    color: #575757;
}
.footer-top-right p {
    color: #f0f0f0 !important;
}

/*--Agents Page--*/
#agent-bodycontent .listing-user-image {
    width: 200px;
    height: 200px;
    border-radius: 0%;
}
#agent-bodycontent .listing-user-image a {
    border-radius: 0%;
}

