/*
Theme Name:   Custom Theme 2024
Theme URI:    https://thewestseattlejohnlscott.com
Description:  Custom Theme 2024
Author:       Hard Refresh
Author URI:   http://www.hard-refresh.com
Version:      2.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
Text Domain:  all-in-one-custom-2024
*/

/* See all stylesheets in /styles */
@import "styles/index.css";

/* ------------- Element Styles ------------- */
:root {
    --primary: #016342;
    --primary-lt: #016342bb;
    --primary-dark: #01452e;
    --secondary: #F6F1EC;
    --dark:#141415;
    --light: #F7F7FF;
    --grey: #D9D9D9;
    --white: #FFFFFF;
    --logo: #414042;

    --spacing-0: 0px !important;
    --spacing-1: 4px !important;
    --spacing-2: 8px !important;
    --spacing-3: 16px !important;
    --spacing-4: 24px !important;
    --spacing-5: 48px !important;
    --spacing-6: 72px !important;
    --spacing-7: 96px !important;

    --grid-gutter: 24px !important;

    --main-font: "EB Garamond", serif;
    --second-font: "IBM Plex Sans", sans-serif;

    /* --listing-img: url("https://cdn.thewestseattlejohnlscott.com/<?php echo $item['images'][0]; ?>"); */
}

.eb-garamond-font {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

* {
    /* font-family: var(--second-font); */
}

body {
    width: auto !important;
    overflow-x: hidden !important;
    padding: 0px;
    z-index: -99;
    position: relative;
}
/* section {
    overflow-x: hidden;
} */
img {
    max-width: 100% !important;
}
p {
    font-size: 21px;
}

h1 {
    font-size: 40px;
    font-style: normal;
    line-height: 120%; /* 48px */
    letter-spacing: -0.8px;
}

h2 {
    font-size: 32px;
    font-style: normal;
    line-height: 133%; /* 42.56px */
    letter-spacing: -0.64px;
}

h3 {
    font-size: 28px;
    font-style: normal;
    line-height: 120%; /* 33.6px */
    font-family: var(--second-font);
}

h4 {
    font-size: 24px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 120%; /* 28.8px */
}

h5 {
    font-size: 20px !important;
    font-style: normal;
    line-height: 120%; /* 24px */
}

h6 {
    font-size: 16px !important;
    font-style: normal;
    line-height: 120%; /* 19.2px */
}

ul {
    line-height: 150%;
}

li {
    line-height: 150%;
}

a {
    color: var(--white) !important;
    text-decoration: none !important;
}

.text-wall a {
    color: var(--primary) !important;
    text-decoration: underline !important;
}

.row {
    align-items: center;
    padding: 0.5rem;
}


img {
    max-width: 100vw;
    max-height: 100vh;
}

.img-xs {
    width: 200px;
    max-width: 200px;
}

button {
    display: flex;
    border: none;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 8px 0px rgba(20, 20, 21, 0.08);
}

blockquote {
    color: var(--primary) !important;
    font-size: 28px !important;
    border-left: 4px solid var(--primary) !important;
    font-weight: 800 !important;
    line-height: 133%; /* 37.24px */
    font-family: var(--main-font) !important;
}

.spacing-5 {
    padding-bottom: 48px;
}
.spacing-6-bottom {
    padding-bottom: 96px;
}
.spacing-6-top {
    padding-top: 96px;
}

.primary a {
    color: var(--primary) !important;
    text-decoration: none;
}
.primary a:hover {
    color: var(--dark) !important;
    text-decoration: solid underline 1px var(--dark) !important;
}

.pb5 {
    padding-bottom: 5rem;
}

.photo-credit-home {
    position: relative;
    top: -105px;
    z-index: 99;
    color: var(--grey);
    font-family: var(--main-font);
    padding: .5rem;
}
.photo-credit-home a {
    text-decoration: underline !important;
    color: var(--grey) !important;
}
.photo-credit {
    color: var(--dark);
    font-family: var(--main-font);
    padding: .5rem 0;
}
.photo-credit a {
    text-decoration: underline !important;
    color: var(--dark) !important;
}

.jump-links h5 {
    color: var(--white);
}

.jump-links a {
    border-bottom: 2px solid var(--secondary);
}

.jump-links a:hover {
    text-decoration: none;
    border-bottom: 2px solid var(--primary);
}

.contact-page {
    background-color: var(--secondary) !important;
}

.order-2-mobile {
    order: 1;
}
.order-1-mobile {
    order: 2;
}

.search {
    position: relative;
    top: 56px;
    overflow: hidden;
}

/* positions for graphic background sections */
.top-section {
    position: relative;
    top: -96px;
    z-index: 1;
}
.bottom-section {
    position: relative;
    bottom: -96px;
    /* z-index: -1; */
}
.join-team-section {
    position: relative;
    bottom: -3rem;
    z-index: -1;
  }
.ask-agent-section {
    position: relative;
    bottom: -96px;
    /* z-index: -1; */
}
.layer-section {
    position: relative;
    bottom: -100px;
    /* z-index: -2; */
}
.lower-layer {
    position: relative;
    top: 96px;
    /* top: 16vh; */
}
.mid-layer {
    position: relative;
    top: 10vh;
}
/* Buyers Page */
.home-worth {
    position: relative;
    /* top: -45px; */
    z-index: 1;
}
.about-bkgd {
    position: relative;
}
.social-section {
    position: relative;
    bottom: -96px;
    z-index: -1;
}
.FeedGridLayout__cell {
    padding: 0 24px;
}

.team-section {
    position: relative;
    /* bottom: -96px; */
    z-index: -1;
}

.listing-attr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.listing-attr > div {
    padding: 24px 12px;
    border-right: 2px #14141540 solid;
    border-bottom: 2px #14141540 solid;
}
.listing-attr > div:nth-child(3), .listing-attr > div:nth-child(6), .listing-attr > div:nth-child(9) {
    border-right: transparent;
}
.listing-attr > div:nth-last-child(-n + 3) {
    border-bottom: transparent;
}
.all-listing-info li, .all-listing-info p, .all-listing-info li, .all-listing-info div  {
    font-size: 21px;
}
.property-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.grade-levels div {
    margin-right: 48px;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
  }

  thead th:nth-child(1) {
    width: 20%;
    border-bottom: 1px var(--dark) solid;
    border-right: 1px var(--dark) solid;
  }
  thead th:nth-child(2) {
    width: 20%;
    border-bottom: 1px var(--dark) solid;
    border-right: 1px var(--dark) solid;
  }
  thead th:nth-child(3) {
    width: 20%;
    border-bottom: 1px var(--dark) solid;
  }
  thead th:nth-child(4) {
    width: 20%;
    border-bottom: 1px var(--dark) solid;
  }
  tbody th:nth-child(1), tbody td:nth-child(2) {
    border-right: 1px var(--dark) solid;
  }
  tbody th:nth-child(1), tbody td:nth-child(2), tbody td:nth-child(3), tbody td:nth-child(4) {
    border-bottom: 1px var(--dark) solid;
  }

  th, td {
    padding: 20px;
  }

/* test styles 3/25/24 */
.grid-test div {
    height: 8rem;
    border: 1px solid var(--primary);
    margin: 1rem auto;
}

/* MEDIA SCREEN SIZING */
@media (min-width: 767px) {
    .whole-footer-logo {
        position: relative;
        top: -50px;
    }
}

/* XS - SM */
@media only screen and (max-width: 576px) {
    /* .hero-container {
        padding: 1.5rem;
    } */
    .home-attr-list-bkgd {
        padding: 1rem;
    }
    .btn-lg {
        width: 100% !important;
    }
    .footer-menu {
        width: 80vw;
    }
    .grid div::after {
        background-position: right;
    }
}

/* MD - LG */
@media screen and (max-width: 767px) {
    p {
        font-size: 16px;
    }
    .all-listing-info li, .all-listing-info p, .all-listing-info li, .all-listing-info div  {
        font-size: 16px;
    }
    .top-section {
        top: -3rem;
    }
    .bottom-section {
        bottom: -3rem;
    }
    .lower-layer {
        top: 3rem;
    }
    .search {
        top: 0;
    }
    .about-info {
        position: relative;
        /* bottom: -3rem; */
        z-index: 1;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .order-2-mobile {
        order: 2;
    }
    .order-1-mobile {
        order: 1;
    }
    .btn-light, .btn-primary {
        display: flex;
        justify-content: space-between;
    }
    .btn-lg {
        padding: 10px 28px;
        /* width: 10rem; */
    }
    .agent-card-sm .btn-sm {
        padding: 10px 28px;
        width: auto;
        max-width: 90vw !important;
    }
    .lower-third {
        background-color: var(--secondary);
        padding: 8px 16px;
        border-radius: 48px;
        display: flex;
        justify-content: center;
        gap: 8px;
        align-items: center;
    }
    .feat-listing-card {
        padding-bottom: .5rem;
        box-shadow: 0px 2px 8px 0px rgba(20, 20, 21, 0.08);
    }
    .btn-mobile {
        margin-top: 1rem !important;
    }
    .shadow-sm-mobile {
        box-shadow: 0px 2px 8px 0px rgba(20, 20, 21, 0.08);
    }
    .layer-section {
        z-index: 2;
    }
    /* .pb5 {
        padding-bottom: 0;
    } */
    .social-mobile-p {
        padding: 2rem 0;
    }
    .agent-card-sm {
        width: auto;
        margin: 1.5rem auto;
    }
    .agent-card-sm img {
        width: 100%;
        max-width: 20rem;
    }
    .attr-list-bkgd {
        padding: 2rem 2rem;
    }
    .primary-bkgd-section::before {
        background-position: left;
    }
    .primary-graphic-top::after, .primary-graphic-bottom::after {
        height: 3rem;
    }
    .primary-bkgd-section-mobile::before {
        content: '';
        background-image: url('/wp-content/themes/JohnLScott-Custom-Theme/assets/graphics/primary-border.svg');
        height: 3rem;
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        /* background-position: bottom; */
        background-position: left;
    }
    .primary-bkgd-section-mobile::after {
        content: '';
        background-image: url('/wp-content/themes/JohnLScott-Custom-Theme/assets/graphics/primary-border.svg');
        height: 3rem;
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        /* background-position: bottom; */
        transform: rotate(180deg);
        background-position: left;
    }
    .primary-graphic-top-mobile::before {
        content: '';
        background-image: url('/wp-content/themes/JohnLScott-Custom-Theme/assets/graphics/primary-border.svg');
        height: 3rem;
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        /* background-position: bottom; */
        transform: rotate(180deg);
        background-position: left;
    }
    .bkgd-section-mobile {
        position: relative;
        top: -10rem;
    }
    .home-attr-list-bkgd {
        position: initial;
    }
    .footer {
        padding: var(--Spacing-0, 0px) var(--Spacing-4, 24px) var(--Spacing-5, 48px) var(--Spacing-4, 24px);
    }
    .spacing-5 {
       padding-bottom: var(--Spacing-4, 24px);
    }
    /* .hero-container {
        padding: 1.5rem !important;
    } */
    /* .home-hero-section {
        height: 67vh;
    } */
    .about-img {
        height: auto;
    }
    .mobile-space {
        margin-bottom: 8px;
    }
    .primary-bkgd-section::after {
        background-position: left;
    }
    .grid div {
        margin: 1rem 0;
    }
    .listing-img-container {
        height: auto;
    }
    .listing-attr {
        grid-template-columns: 1fr;
    }
    .listing-attr > div {
        border-right: none;
    }
    .listing-attr > div:nth-last-child(-n+3) {
        border-bottom: 2px #14141540 solid;
    }
    .feat-listing-card {
        padding: 0 !important;
    }
    .hero-txt {
        padding: 24px 0;
    }
    th, td {
        padding: 2px;
    }
}

/* XL - XXL */
@media screen and (max-width: 990px) {
    .navbar {
        background-size: 100%;
    }
    .collapse.navbar {
        background-size: 110% !important;
    }
    .navbar-style {
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    .navbar-collapse .navbar {
        background-position: right !important;
        /* background-image: none !important;
        background-color: var(--primary) !important;
        background-size: 110vw !important;
        overflow: hidden !important; */
    }
    .navbar-collapse .navbar-nav {
        background: var(--primary);
        margin-bottom: 0 !important;
        padding: 0 24px;
    }
    .navbar-nav li {
        justify-content: space-between;
        align-items: center;
    }
    .navbar-nav li::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z'%3E%3C/path%3E%3C/svg%3E");
    }
    .inner-navbar-style .navbar-nav li a {
        color: var(--white) !important;
    }
    .inner-navbar-style .navbar-nav li a.nav-link.active {
        text-decoration: underline 2px var(--light) !important;
    }
    .navbar-collapse::after {
        content: '';
        background-image: url('/wp-content/themes/JohnLScott-Custom-Theme/assets/graphics/primary-border.svg');
        height: 3rem;
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        transform: rotate(180deg);
    }

    .primary-bkgd-before::before {
        background-position: left;
    }
    .second-bkgd-section::before {
        background-position: left;
    }
    .second-bkgd-section::after {
        background-position: left;
    }
    .second-bkgd-after::after {
        background-position: left;
    }
    .seller-bkgd-mobile::after {
        padding: 3rem;
    }


    .txt-md {
        font-size: calc(1.325rem + .9vw);
    }
    .txt-lg {
        font-size: calc(2rem + 1.5vw) !important;
    }
    .sellers-hero-txt {
        font-size: 41px;
    }
    .agent-img {
        height: auto;
    }
    footer, .site-label {
        padding: inherit !important;
    }
    .social-section {
        bottom: -3rem;
    }
    .about-social-section {
        bottom: 0;
    }

}

@media screen and (min-width: 1320px) {
    .primary-bkgd-before-footer::before, .primary-graphic-top::after, .primary-graphic-bottom::after, .primary-graphic-top::after {
        background-position: bottom;
    }
}
@media screen and (max-width: 1250px) {
    .navbar-nav li {
        padding: 0 .35rem;
    }
}
@media screen and (max-width: 990px) {
    .navbar-nav li {
        padding: 12px 16px;
    }
}
@media screen and (min-width: 1250px) {
    .join-team-section {
        bottom: -96px;
    }
}