/*
Theme Name: Pipe-Down-Custom-Theme
Author: Outback Solutions - Madison Lisle
Description: A custom WordPress theme for Pipe Down Training
Version: 1.0
Date: March 2024
*/

:root {
    --blk: #131E25;
    --wht: #f8f7f6;
    --wht-sheer: rgba(252, 248, 248, 0.5);
    --yellow: #FBE031;
    --red: #e83a3a;
    --blue-drk: #18175b;
    --blue: #242288;
    --blue-bright: #2523be;
    --blue-bright-2: #1060eb;
}

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

section {
    padding: 2rem 0;
}

.lalezar-regular {
    font-family: "Lalezar", system-ui;
    font-weight: 400;
    font-style: normal;
}

h3 {
    font-family: "Lalezar", system-ui;
}

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

.pull-txt {
    color: var(--blue-drk);
    text-transform: uppercase;
    font-weight: 600;
}

.sm-img {
    width: 500px;
    max-width: 90vw;
    height: 100%;
}
.hero-home-access {
    display: none;
}
.hero-home {
    height: 100vh;
    background-image: url('/wp-content/themes/Pipe-Down-Custom-Theme/assets/images/DCPD Matt Martin-lg.JPG');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
.hero-home-moto {
    height: 100vh;
    background-image: url('/wp-content/themes/Pipe-Down-Custom-Theme/assets/images/pdt1(1).jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}
.hero-home-police {
    height: 100vh;
    background-image: url('/wp-content/themes/Pipe-Down-Custom-Theme/assets/images/pdt2(1).jpg');
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
}

/* accessibility flag */
#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: 140px;
}

.inner-page-container {
    padding: 2rem;
}
.inner-page-container h1 {
    color: var(--blue-bright);
}

.page-container {
    background-color: rgba(3, 17, 93, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 99;
}

.button {
    margin: 0 1rem 0 1rem;
    border: 2px var(--blue) solid;
    background-color: var(--blue-drk);
    border-radius: 5px;
    text-decoration: none;
    color: var(--yellow) !important;
    max-height: 65px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}
.button:hover {
    background-color: var(--yellow);
    color: var(--blk) !important;
    text-decoration: none;
}
.max-width {
    max-width: max-content;
}

.hero-card {
    color: var(--wht);
    border-radius: 25px 0 0 25px;
    float: right;
    position: relative;
    /* width: 35rem; */
    padding: 2rem;
    bottom: -35vh;
}
.hero-card h2 {
    font-size: 80px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: right;
    margin-bottom: 1.5rem;
}
.hero-card h1 {
    padding-top: 2rem;
    /* text-transform: uppercase; */
    text-align: right;
}
.hero-card img {
    width: 70%;
    filter: invert(100%);
}

/* HEADER CONTACT BAR */
.header-contact {
    background-color: var(--blue-bright);
    color: var(--wht);
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.header-contact a {
    color: var(--wht);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
}
.header-contact a:hover {
    color: var(--yellow);
    border-bottom: 2px solid var(--yellow);
}
.inner-header-contact {
    background-color: var(--yellow);
    color: var(--blue);
}
.inner-header-contact a {
    color: var(--blue);
}
.inner-header-contact a:hover {
    color: var(--blue-bright-2);
    border-bottom: 2px solid var(--blue-bright-2);
}
.inner-header-contact .icon-sm {
    filter: none;
}

.top-stripe {
    height: .65rem;
    width: 100vw;
    background-color: var(--yellow);
}
.hide {
    display: none;
}

/* NAVBAR */
.navbar-home {
    color: var(--wht);
    position: absolute;
    z-index: 999;
}
.navbar-style {
    background-color: var(--blue-drk);
    color: var(--wht);
}

.navbar-toggler h6 {
    color: var(--wht);
}
.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(255,255,255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");;
}

.navbar .nav-link {
    color: var(--wht);
    padding: 1rem;
}
.navbar .nav-link.active {
    color: var(--yellow);
    border-bottom: var(--yellow) 2px solid;
}
.navbar .nav-link:hover {
    color: var(--yellow);
}
.navbar-nav .nav-link.show {
    color: var(--yellow);
}
/* remove border on Home in nav */
#menu-item-31 a {
    border-bottom: 0;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--yellow);
    color: var(--blue);
}
/* navbar pseudo button start */
.navbar li:last-child {
    background-color: var(--yellow);
    color: var(--blue-drk);
    text-align: center;
    padding: 0 .75rem;
    border-radius: 5px;
    margin: 0 1rem;
}
.navbar li:last-child .nav-link {
    color: var(--blue-drk);
}
.navbar li:last-child:hover {
    background-color: var(--blue-bright);
    color: var(--yellow);
}
.navbar li:last-child .nav-link:hover {
    color: var(--yellow) !important;
}
/* 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;
}

.dropdown-item:hover {
    background-color: var(--yellow);
}
.navbar-toggler:focus:not(:focus-visible) {
	outline: auto;
}
.nav-logo {
    max-width: 250px;
    max-height: 250px;
    filter: invert(100%);
}
.nav-logo-mobile {
    max-width: 200px;
    max-height: 250px;
    filter: invert(100%);
}
.navbar li {
    padding-right: 2rem;
    text-transform: uppercase;
    font-weight: 700;
}
.navbar-nav {
    margin: auto !important;
}

.icon-sm {
    filter: invert(100%);
    padding-bottom: .25rem;
}


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

}
.footer-contact a:hover {
    color: var(--yellow);
}
.footer-bkgd {
    background-color: var(--blk);
    flex-direction: column;
    color: var(--wht);
    padding: 4rem 3rem;
    margin-top: auto;
}
.footer-logo {
    max-width: 250px;
    filter: invert(100%);
}

.footer-button {
    background-color: var(--yellow);
    color: var(--blue-drk);
    text-align: center;
    padding: 0 .75rem;
    border-radius: 5px;
    margin: 0 1rem;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    padding: .75rem 2rem;
    min-width: fit-content;
    display: flex;
    max-width: max-content;
}
.footer-button:hover {
    background-color: var(--blue-bright);
    color: var(--yellow);
    text-decoration: none;
}


/* https://dandelionwebdesign.com/footer-menu/ */
.footer-menu { display: block; width:65vw; max-width: 720px; margin: 0 auto; padding: 2rem 0; overflow: auto;}
.footer-menu div {justify-content: center; display: grid;}
.footer-menu ul { display:inline;}
.footer-menu ul .children { padding: .25rem; }
.footer-menu li { list-style-type: none; display: inline; font-size: 12px; }
.footer-menu li a {
	color:var(--wht);
	line-height:15px;
	text-decoration:none;
	font-weight:normal;
	border-right: thin solid var(--wht);
	padding: 0 7px 0 3px;
}
.footer-menu li a:hover { color:#ccc; text-decoration:underline;}
.footer-menu li:last-child > a {border-right: none;}

.sub-heading {
    color: var(--blue-drk);
}
.sub-heading h3 {
    text-transform: uppercase;
}

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

.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;
}

.contact {
    text-transform: uppercase;
    font-weight: 500;
}
.contact a {
    color: var(--blue-bright);
    text-decoration: none;
}
.contact a:hover {
    border-bottom: 2px var(--blue-bright) solid;
}
.contact div {
    padding-bottom: 1rem;
}

input[type="submit"] {
    background-color: var(--blue-bright-2);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    padding: .5rem 2rem;
    border-radius: 10px;
}
input[type="submit"]:hover {
    background-color: var(--yellow);
    color: var(--blue);
}

/* 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(--blue-bright);
    position: relative;
    top: 50px;
}
blockquote div:after {
    content: close-quote;
    font-weight: bold;
    font-size:80px;
    color:var(--blue-bright);
    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;
        bottom: -25vh;
    }
    .hero-card h2 {
        font-size: 35px;
    }
    .inner-page-container {
        padding-top: 1rem;
    }
    #container .scroll {
        animation: none;
    }
    /* .banner-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
    }
    .banner-mobile .item img {
        max-width: 200px;
        max-height: 150px;
    }
    .banner-mobile .item {
        padding: .5rem;
        display: flex;
        justify-content: center;
        align-self: center;
        align-items: center;
    } */
    #scroll-one, #scroll-two {
        display: none;
    }
    #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
        top: 40px;
    }
    .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;
      }
}

@media screen and (max-width: 990px) {
    .navbar-style {
        position: relative;
    }
    .navbar-home {
        position: relative;
        background-color: var(--blue);
    }
    .order-txt {
        order: 2;
    }
}

@media screen and (min-width: 990px) and (max-width: 1132px) {
    .navbar li {
        padding-right: 0.5rem;
    }
}