/*
Theme Name: Fallat-Law-Custom-Theme
Author: Outback Solutions - Madison Lisle
Description: A custom WordPress theme for John L. Fallat Law Firm
Version: 1.0
Date: July 2025
*/

:root {
    --primary: #f1e6d2;
    --primary-lt: #f4ecdd;
    --major: #686a99;
    --major-dark: #383c93;
    --secondary: #210706;
    --light: #891d1a;
    --lighter: #FDECD81F;
    --red: #891d1a;
    --grey: #F5F4F5;
    --dark: #343a40;
    --blk: #131E25;
    --wht: #f1e6d2;
    --wht-sheer: rgba(252, 248, 248, 0.5);

    --primary-font: "Montserrat", sans-serif;
    --third-font: "Garamond", serif;

    --shadow: var(--lighter) 1px 3px 9px;
}

body {
    width: auto !important;
    overflow-x: hidden !important;
    padding: 0px;
    margin: 0;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--major-dark);
}

section {
    padding: 3rem 0;
}

#sticky {
    position: sticky;
    top: 1rem;
}

.third-font {
    font-family: var(--third-font);
}

.playfair-display {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
p {
    font-size: 18px;
}
h2 {
    font-family: var(--primary-font);
}
h3 {
    font-family: var(--third-font);
}

.uppercase {
    text-transform: uppercase;
}

.href {
    color: var(--secondary);
}
.href:hover, .href-footer:hover {
    color: var(--primary);
}
.href-footer {
    color: var(--major);
}

.sub-head-txt {
    font-size: 21px;
}

.sm-txt {
    font-size: 1.5rem;
}
.lg-txt {
    font-size: calc(1.375rem + 1.5vw); /* h1 size */
}

.divider {
    width: 100%;
    height: 2px;
    background-color: var(--major-dark);
    margin: .5rem 0 2rem 0;
}

.primary-bkgd {
    background-color: var(--primary);
}
.primary-lt-bkgd {
    background-color: var(--primary-lt);
}
.white-bkgd {
    background-color: white;
}
.major-dark-bkgd {
    background-color: var(--major-dark);
}
.major-bkgd {
    background-color: var(--major);
}
.primary-txt {
    color: var(--primary);
}
.grey-txt {
    color: var(--grey);
}
.dark-txt {
    color: var(--dark);
}

.headshot {
	border-radius: 16px;
}

.highlight {
    background-color: var(--secondary-sheer);
    padding: .25rem .5rem;
    border-radius: 5px;
    margin: .25rem;
}

.primary-txt {
    color: var(--primary);
}

.pull-txt {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
}

.pull-container p:last-of-type {
    background-color: var(--lightgrey);
    padding: 1rem;
    border-radius: 15px;
}

.sm-img {
    width: 500px;
    max-width: 90vw;
    max-height: 100%;
}

.header-img {
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.front-page {
    box-shadow: 4px 4px 4px rgba(21, 20, 21, 0.3);
}

.inner-header-bkgd {
    background-color: var(--grey);
}
.header-card img {
    border-radius: 10px;
    height: 100%;
    max-width: 420px;
}
.header-card {
    justify-content: center;
    align-items: center;
}


/* accessibility flag */
#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: 140px;
    background-color: var(--secondary);
}
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    background-color: var(--primary-bright);
}

/* no movement, accessibility background */
.hero-home-access {
    display: none;
    height: 70vh;
    background-image: url('https://outbacksolutions.com/pattypeart/wp-content/uploads/2025/07/jlfallat1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
.hero-home {
    /* height: 45vh; */
    background-image: url('https://outbacksolutions.com/pattypeart/wp-content/uploads/2025/07/jlfallat1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    z-index: -1;
}
.hero-home-second{
    height: 70vh;
    background-image: url('https://outbacksolutions.com/pattypeart/wp-content/uploads/2025/07/jlfallat1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
.hero-home-third{
    height: 70vh;
    background-image: url('/wp-content/uploads/2024/07/iStock-1252486826-scaled.jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
.hero-home-fourth{
    height: 70vh;
    background-image: url('/wp-content/uploads/2024/08/iStock-956944426.jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}

.hero-inner {
    height: 30vh;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}


.container-md {
    max-width: 990px;
}

.inner-page-container {
    padding: 2rem;
    justify-content: center;
    display: grid;
    padding-top: 100px;
}
.inner-page-container h1 {
    color: var(--major-dark);
    /* text-align: center; */
}
.inner-page-container h2 {
    text-align: center;
}

.page-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 99;
}

.button {
    margin: 0 1rem 0 1rem;
    border: 2px var(--primary) solid;
    background-color: var(--primary);
    border-radius: 35px;
    padding: 0 1.5rem;
    text-decoration: none;
    color: var(--secondary) !important;
    max-height: 65px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow);
}
.button:hover {
    background-color: var(--secondary);
    color: var(--blk) !important;
    text-decoration: none;
}
.button-reverse {
    color: var(--primary) !important;
    background-color: var(--secondary);
    border: 2px var(--primary) solid;
}
.button-reverse:hover {
    color: var(--secondary) !important;
    background-color: var(--primary);
    text-decoration: none;
}
.max-width {
    max-width: max-content;
}

.border-top {
    border-top: 1px solid var(--primary) !important;
}

.hero-card div {
    text-shadow: 1px 2px 10px var(--dark);
    font-weight: 600;
}
.header-img-style {
    border-radius:15px;
    position:relative;
}
.hero-card {
    color: var(--wht);
    position: relative;
    padding: 2rem;
}
.hero-card h2 {
    font-family: var(--third-font);
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 1px 2px 10px var(--blk);
}
.hero-card h2:last-of-type {
    color: var(--wht);
    text-shadow: 2px 2px 2px var(--red);
}
.hero-card h1 {
    font-family: var(--secondary-font);
    /* padding-top: 2rem; */
    text-shadow: 1px 2px 10px var(--blk);
}
.hero-card img {
    width: 70%;
    filter: invert(100%);
}

/* HEADER CONTACT BAR */
.header-contact {
    background-color: var(--major-dark);
    color: var(--wht) !important;
    padding: 5px 10px;
}
.header-contact a {
    color: var(--wht);
    text-decoration: none;
    font-weight: 500;
}
.header-contact a:hover {
    color: var(--major);
}
.header-contact svg:hover {
    stroke: var(--major);
    text-decoration: none !important;
}
.inner-header-contact {
    background-color: var(--light);
    color: var(--wht);
}
.inner-header-contact a {
    /* color: var(--primary); */
}
.inner-header-contact a:hover {
    /* color: var(--primary); */
    /* border-bottom: 2px solid var(--secondary); */
}
.inner-header-contact svg:hover {
    stroke: var(--secondary);
    text-decoration: none !important;
}
.inner-header-contact .icon-sm {
    filter: none;
}

.top-stripe {
    height: .65rem;
    width: 100vw;
    background-color: var(--secondary);
}
.hide {
    display: none;
}
.navbar-brand {
    margin: auto 2rem;
}
.navbar {
    box-shadow: 5px 5px 5px #1513150F;
    background-color: var(--white);
    opacity: .9;
}
.navbar:hover {
    background-color: var(--white);
    opacity: 1;
}
/* NAVBAR */
.navbar-home {
    color: var(--primary);
    z-index: 999;
    margin: .5rem .25rem;
    padding: 0 20px;
}

.navbar-style {
    color: var(--primary);
    z-index: 999;
    padding: 0 20px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(58, 101, 72, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}
.navbar-toggler {
    border: 0 !important;
}

.navbar .nav-link {
    color: var(--secondary);
    padding: .75rem;
}
.navbar .nav-link.active {
    color: var(--secondary);
    border-bottom: var(--secondary) 2px solid;
}
.navbar .nav-link:hover {
    color: var(--secondary);
    border-bottom: var(--secondary) 2px solid;
}
.navbar-nav .nav-link.show {
    color: var(--secondary);
}
/* remove border on Home in nav */
#menu-item-31 a {
    border-bottom: 0;
}
.dropdown-item.active, .dropdown-item:active, .dropdown-item:hover {
    background-color: var(--secondary);
    color: var(--primary);
}
.dropdown-item:hover {
    background-color: var(--secondary);
}
/* navbar pseudo button start */
.navbar li:last-child {
    /* background-color: var(--wht);
    color: var(--secondary);
    text-align: center;
    border: 2px solid var(--secondary);
    border-radius: 35px;
    margin: 0 1rem;
    width: 15rem; */
}
.special-action-button {
    background-color: var(--secondary);
    color: var(--primary);
    text-align: center;
    padding: 0 1.5rem;
    border-radius: 35px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    padding: .75rem 2rem;
    min-width: fit-content;
    display: flex;
    max-width: max-content;
}
.special-action-button:hover {
    background-color: var(--primary);
    color: var(--secondary);
    text-decoration: none;
}
.special-action-button.active {
    color: var(--wht);
    background-color: var(--primary);
    border-bottom: none;
    border-radius: 35px;
}
.navbar li:last-child .nav-link {
    color: var(--wht);
    font-weight: 700;
    background-color: var(--secondary);
    text-align: center;
    border: 2px solid var(--secondary);
    border-radius: 35px;
    margin: 0 1rem;
    width: 15rem;
}
/* .navbar li:last-child:hover {
    background-color: var(--primary);
    color: var(--light);
} */
.navbar li:last-child .nav-link:hover {
    color: var(--primary) !important;
    background-color: var(--dark);
    color: var(--light);
}
.navbar li:last-child .nav-link.active {
    color: var(--primary);
    background-color: var(--dark);
    /* border-bottom: none; */
    border-radius: 35px;
}
/* navbar pseudo button end */

li #menu-item-42 {
    background-color: inherit;
    padding: 0;
    margin: 0;
    text-align: left;
}
li #menu-item-44 {
    padding: 0;
}
li #menu-item-58 {
    background-color: inherit;
    padding: 0;
    margin: 0;
    text-align: left;
}
.nav-text {
    font-size: 24px;
    text-transform: uppercase;
    font-family: garamond;
    line-height: 111%;
    padding: 8px;
    margin: 0;
}
.nav-text-bold {
    font-weight: 600;
}

.navbar-toggler:focus:not(:focus-visible) {
	outline: auto;
}
.nav-logo {
    max-width: 250px;
    height: 100%;
}
.nav-logo-mobile {
    max-width: 60px;
    height: 100%;
    max-height: 250px;
}
.navbar li {
    margin-right: 2rem;
    font-weight: 400;
}
.dropdown-menu > li {
    margin-right: 0 !important;
}
.navbar-nav {
    padding-right: 2rem;
}

.icon-sm {
    padding-bottom: .25rem;
}
.info-cards {
    color: var(--primary);
}
/* IMG TILES */
.info-cards img {
    border-radius: 15px;
    max-width: 30rem;
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
}
.grid-tiles img {
    border-radius: 10px;
}
.grid-tiles p {
    font-weight: 600;
    line-height: 21px;
}

.crop-cards p {
    font-weight: 600;
    line-height: 21px;
}

.inner-page img {
    border-radius: 10px;
}

.img-container {
    position: relative;
    overflow: visible;
}
.img-border {
    position: absolute;
    border: 2px solid var(--dark);
    border-radius: 15px;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
    z-index: 1;
    transform: translate(.5rem, .5rem);
}
.pdf-link a {
    text-decoration: none;
    color: inherit;
}

/* FOOTER */
footer p, footer a, footer div {
    color: var(--primary);
}
.footer-contact {
    /* text-transform: uppercase; */
    font-weight: 600;
}
.footer-contact a, .home-contact a {
    text-decoration: none;
    border-bottom: var(--primary) solid 2px;
    color: var(--primary);

}
.footer-contact a:hover {
    color: var(--major);
}
.home-contact a:hover {
    color: var(--dark);
}
.footer-contact h5 {
    color: var(--primary);
}
.footer-bkgd {
    background-color: var(--dark);
    flex-direction: column;
    color: var(--wht);
    padding: 4rem 3rem;
    margin-top: auto;
}
.footer-logo {
    max-width: 300px;
}
.footer-socials a {
    text-decoration: none;
}
.footer-socials svg:hover {
    stroke: var(--major);
    text-decoration: none !important;
}
.contact-socials a {
    border-bottom: none !important;
}

.max-h {
    max-height: 200px;
    max-width: 90vw;
}

.action-button {
    background-color: var(--primary);
    color: var(--dark);
    text-align: center;
    padding: 0 1.5rem;
    border-radius: 35px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    padding: .75rem 2rem;
    min-width: fit-content;
    display: flex;
    max-width: max-content;
}
.action-button:hover {
    background-color: var(--secondary);
    color: var(--primary);
    text-decoration: none;
}

.hide-item {
    display: none;
}


/* https://dandelionwebdesign.com/footer-menu/ */
.footer-menu div { display: grid;}
.footer-menu ul { display:inline;  padding-left: 0; }
.footer-menu ul .children { padding: .25rem; }
.footer-menu li { list-style-type: none; }
.footer-menu li a {
	color:var(--primary);
	line-height:111%;
	text-decoration:none;
	padding: 0 7px 0 3px;
    font-weight: 500;
    font-size: 15px;
}
.footer-menu li a:hover { text-decoration:underline;}

.sub-heading {
    color: var(--primary);
}
.sub-heading h3 {
    text-transform: uppercase;
    color: var(--light);
    font-weight: 600;
}

/* scroll banner */
#container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}
#container:hover .scroll {
    animation-play-state: paused;
}
#container .scroll#scroll-two {
    transform: translateX(100%);
    animation-delay: 15s;
}
#container .scroll {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    white-space: nowrap;
    animation: loop 30s linear infinite;
    animation-timeline: auto;
}

#container .scroll .item img {
    max-width: 200px;
    max-height: 150px;
}
#container .scroll .item {
    padding: 1rem;
    display: flex;
}
.fade {
    width: 100%;
    position: absolute;
    background: linear-gradient(
        90deg,
        #000,
        transparent 30%,
        transparent 90%,
        #000
    );
    inset: 0;
}
@keyframes loop {
    0% {transform: translateX(100%);}
    100% {transform: translateX(-100%);}
}
@media (prefers-reduced-motion) {
    #container .scroll {
        animation: none;
    }
    .hero-home-access {
        display: flex;
    }
    #carouselFade {
        display: none;
    }
}

.banner-mobile {
    display: none;
}
/* scroll banner end */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
}
.grid .item img {
    max-width: 250px;
    max-height: 180px;
}
.grid .item {
    padding: 3rem;
    display: flex;
    justify-content: center;
}

.list-item {
    padding: 1.25rem;
    border-radius: 12px;
    margin: 10px;
    width: 350px;
    display: grid;
    justify-content: center;
}
.list-item img {
    width: 350px;
    height: 205px;
    object-fit: cover;
    margin-bottom: 1rem;
    max-width: 80vw;
    box-shadow: var(--shadow);
}

.contact {
    font-weight: 500;
}
.contact a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px var(--primary) solid;
}
.contact a:hover {
    color: var(--dark);
}

/* ninja forms contact form */
.nf-field-element {
    display: flex;
    justify-content: center;
}
.nf-form-content .ninja-forms-field, .nf-form-content input:not([type="button"]) {
    border-radius: 15px !important;
}
.nf-form-content input[type="submit"] {
    background-color: var(--secondary) !important;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1rem 2.5rem;
    height: auto !important;
    border-radius: 35px !important;
    width: 15rem !important;
}
.nf-form-content input[type="submit"]:hover {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    pointer-events: auto !important;
}

/* quotes on testimonials */
blockquote {
    border:none;
    font-family:Georgia, "Times New Roman", Times, serif;
    margin-bottom:-30px;
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

blockquote div:before {
    content: open-quote;
    font-weight: bold;
    font-size:80px;
    color:var(--primary);
    position: relative;
    top: 50px;
}
blockquote div:after {
    content: close-quote;
    font-weight: bold;
    font-size:80px;
    color:var(--primary);
    position: relative;
    top: -20px;
}

@media screen and (max-width: 430px) {
    .hero-card h2, .hero-card h1 {
        text-align: inherit;
    }
}

@media screen and (max-width: 767px) {
    .hero-card {
        width: auto;
    }
    .hero-card h2 {
        font-size: 35px;
    }
    .inner-page-container {
        padding-top: 1rem;
    }
    #container .scroll {
        animation: none;
    }
    #scroll-one, #scroll-two {
        display: none;
    }
    #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
        top: 150px;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        justify-content: center;
        align-items: center;
    }
    .grid .item {
        padding: 1rem;
    }
    .grid .item img {
        max-width: 150px;
        max-height: 150px;
    }
    .mobile-1 {
        order: 1;
    }
    .mobile-2 {
        order: 2;
    }
}

@media screen and (max-width: 990px) {
    .sm-txt {
        font-size: calc(1.3rem + .6vw);
    }
    .navbar-style {
        position: relative;
        padding: 1rem;
        margin: 0;
    }
    .order-txt {
        order: 2;
    }
    .align-center {
        align-items: center;
    }
    .border-top {
        border-top: none !important;
        border-bottom: 1px solid var(--primary) !important;
    }
    .hero-card {
        /* bottom: -20vh; */
        padding: 1rem;
    }
    .pull-txt {
        text-align: center;
    }
    .footer-bkgd {
        padding: 4rem 0rem;
    }
    .navbar .nav-link.active {
        border-bottom: none;
    }
}

@media screen and (max-width: 1370px) {
    .navbar li {
        margin-right: 0.5rem;
    }
}
@media screen and (min-width: 990px) and (max-width: 1029px) {
    .navbar li {
        margin-right: 0;
    }
}