/*
Theme Name: BOAZ Group
Theme URI: 
Author: 
Author URI: 
Description: Bespoke theme clone of Ollie
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.3
Version: 1.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boaz-group
Tags: blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks

BOAZ Group WordPress Theme, (C) 2024 Mike McAlister.
BOAZ Group is distributed under the terms of the GNU GPL.
*/

/* CSS Reset
---------------------------------------------------------------------------- */

:root {
  --primary: #444b57;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

b,
strong {
  font-weight: var(--wp--custom--font-weight--semi-bold);
}

ol,
ul {
  padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
  padding-inline-start: var(--wp--preset--spacing--medium);
}

div[class*="wp-block-"] figcaption {
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--x-small);
  margin-bottom: 0;
  margin-top: 20px;
  text-align: center;
}

img,
figure {
  max-width: 100%;
  height: auto;
}

/* Standardize form styling
--------------------------------------------- */

input,
button,
textarea,
select {
  font: inherit;
  max-width:100%;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
  -webkit-appearance: none;
}

input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
  color: var(--wp--preset--color--main);
  border-radius: 5px;
  border: solid 1px var(--wp--preset--color--main-accent);
  padding: 0.5em 1em;
  font-size: var(--wp--preset--font-size--small);
}

input:focus-visible,
textarea:focus-visible {
  outline-color: var(--wp--preset--color--primary);
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

label {
  width: 100%;
  display: block;
}

::placeholder {
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--small);
  opacity: 0.75;
}

/* Helper styles that can't be done via theme.json
---------------------------------------------------------------------------- */

a.more-link {
  display: block;
}

/* Inline code */
*:not(.wp-block-code) > code {
  background-color: var(--wp--preset--color--tertiary);
  font-weight: var(--wp--custom--font-weight--medium);
  padding: 3px 5px;
  position: relative;
  border-radius: 3px;
}

/* Adjust terms at bottom of posts */
.single .wp-block-group .wp-block-post-terms,
.blog .wp-block-group .wp-block-post-terms {
  margin-bottom: -8px !important;
}

/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
  margin-bottom: 0;
}

/* Remove last separator on post list */
.remove-border-and-padding
  .wp-block-post-template
  li:last-child
  .wp-block-separator {
  display: none;
}

/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
  display: none;
}

.wp-block-group:empty:has(+ .comment-respond) {
  display: none;
}

.row-logos > figure {
  flex-shrink: 1 !important;
}

@media (max-width: 781px) {
  .boaz-group-hide-on-mobile {
    display: none;
  }
}

.translate-y-4 {
  transform: translateY(-2rem);
  z-index: 10;
  position: relative;
}
.-translate-y-4 {
  transform: translateY(2rem);
  z-index: 10;
  position: relative;
}

@keyframes fade-up {
  0% {
    opacity: 0;

    transform: translateY(2rem);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes fade-right {
  0% {
    opacity: 0;

    transform: translateX(2rem);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

@keyframes fade-left {
  0% {
    opacity: 0;

    transform: translateX(-2rem);
  }

  to {
    opacity: 1;

    transform: translateX(0);
  }
}

/* /right bounce */

.aos.animate {
  animation-delay: 0.5s;
}

.aos.fade-up {
  opacity: 0;
  transform: translateY(2rem);
}

.aos.fade-right,
.logo-fade-animate svg path {
  opacity: 0;
  transform: translateX(-2rem);
}

.aos.fade-left,
.logo-fade-animate svg path:first-of-type {
  opacity: 0;
  transform: translateX(2rem);
}

.animate.aos.fade-up,
.animate.aos.fade-up-children > * {
  animation: fade-up 1s both;
}

.animate.aos.fade-left,
.animate.aos.fade-left-children > *,
.logo-fade-animate.animate svg path:first-of-type {
  animation: fade-left 1s both;
}

.animate.aos.fade-right,
.animate.aos.fade-right-children > *,
.logo-fade-animate.animate svg path {
  animation: fade-right 1s both;
}

.animate-delay-1,
.animation-delay-1,
.children-animate-stagger > *:nth-child(1),
.logo-fade-animate.animate svg path:first-of-type {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.25s) !important;
}

.animate-delay-2,
.animation-delay-2,
.children-animate-stagger > *:nth-child(2) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.5s) !important;
}

.animate-delay-3,
.animation-delay-3,
.children-animate-stagger > *:nth-child(3) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 0.75s) !important;
}

.animate-delay-4,
.animation-delay-4,
.children-animate-stagger > *:nth-child(4) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 1s) !important;
}

.animate-delay-5,
.animation-delay-5,
.children-animate-stagger > *:nth-child(5) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 1.25s) !important;
}

.animate-delay-6,
.animation-delay-6,
.children-animate-stagger > *:nth-child(6) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 1.5s) !important;
}

.animate-delay-7,
.animation-delay-7,
.children-animate-stagger > *:nth-child(7) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 1.75s) !important;
}

.animate-delay-8,
.animation-delay-8,
.children-animate-stagger > *:nth-child(8) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 2s) !important;
}

.animate-delay-9,
.animation-delay-9,
.children-animate-stagger > *:nth-child(9) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 2.25s) !important;
}
.animate-delay-10,
.animation-delay-10,
.children-animate-stagger > *:nth-child(10) {
  animation-delay: calc(var(--baseDelay, 0.5s) + 2.5s) !important;
}

body .service-container {
  display: none;
  opacity: 0;
  transition: all 0.25s;
}

body .service-container.active {
  display: flex;
  opacity: 1;
}

body .service-navigation-wrapper .service-navigation:not(.active) a {
  background-color: #bdc8da;
  color: var(--primary);
}

body .service-navigation-wrapper {
  display: grid;
  --cols: 4;
  grid-template-columns: repeat(var(--cols), minmax(0, 100%));
}

body .service-navigation-wrapper a {
  width: 100%;
  text-align: center;
}

@media (min-width: 884px) and (max-width: 1024px) {
  body .service-navigation-wrapper {
    --cols: 2;
  }
}
@media (max-width: 884px) {
  body .service-navigation-wrapper {
    --cols: 1;
  }
}

.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.wp-block-navigation__responsive-container
  .wp-block-navigation__submenu-container.wp-block-navigation-submenu {
  padding: 0 !important;
}

header .wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
  padding: 0 !important;
}
header .wp-block-navigation a,
header .wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  padding: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  color:var(--primary);
}

@media(max-width:884px){
  header .wp-block-navigation a,
  header .wp-block-navigation :where(.wp-block-navigation__submenu-container) a{
    opacity: 0;
    transform: translateX(2rem);
  }
}
@media(min-width:885px){
  header .wp-block-navigation a,
  header .wp-block-navigation :where(.wp-block-navigation__submenu-container) a{
    font-size:1rem!important;
    padding:0!important;
    margin-bottom:0!important;
  }
}


header .wp-block-navigation__responsive-container.is-menu-open a,
header
  .wp-block-navigation__responsive-container.is-menu-open
  :where(.wp-block-navigation__submenu-container)
  a {
  animation: navFadeLeft 2s;
  animation-fill-mode: forwards;
}

header .wp-block-navigation-link a {
  --baseDelay: 0.25;
  animation-delay: calc(var(--baseDelay) * 1s)!important;
}

header .wp-block-navigation__container li:nth-child(2) a {
  --baseDelay: 0.5;
}

header .wp-block-navigation__container li:nth-child(3) a {
  --baseDelay: 0.75;
}

header .wp-block-navigation__container li:nth-child(4) a {
  --baseDelay: 1;
}

header .wp-block-navigation__container li:nth-child(5) a {
  --baseDelay: 1.25;
}

header .wp-block-navigation__container li:nth-child(6) a {
  --baseDelay: 1.5;
}

header .wp-block-navigation__container li:nth-child(7) a {
  --baseDelay: 1.75;
}

header .wp-block-navigation__container li:nth-child(8) a {
  --baseDelay: 2;
}

.wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-dialog{
  overflow:hidden!important;
}

@keyframes navFadeLeft {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

form .grid-cols-2{
  gap:1rem;
}

form input[type="submit"]{
      background-color: var(--wp--preset--color--custom-primary);
    border-radius: 99rem;
        border-width: 0;
    color: var(--wp--preset--color--border-light);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
    line-height: inherit;
    padding-top: .6em;
    padding-right: 1em;
    padding-bottom: .6em;
    padding-left: 1em;
    text-decoration: none;
    transition:all .25s;
}


form input[type="submit"]:not([disabled]):hover{
  opacity:0.8;
  cursor:pointer;
}


form input[type="submit"][disabled]{
  opacity:0.5;
}

@media(max-width:884px){
  .wp-block-site-logo{
    text-align: center;
  }

  .wp-block-site-logo img{
    max-width:250px;
  }

  .nav-wrapper-row{
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 1rem!important;
  }
}