/*!
Theme Name: Pottytime Child Theme
Theme URI: https://bootstrap-wp.com
Template: pottytime
Author: FortyAU
Author URI: https://fortyau.com/
Description: A child theme of Pottytime Theme
Version: 1.0.0
Tested up to: 6.8.1
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fortyau
Tags:
*/

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
text,
textarea,
label,
input,
select,
button,
a span.elementor-button-text {
	font-family: "Lato", Sans-serif;
}


h1,
.h1 {
  font-size: clamp(1.875rem, 4vw, 3.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
h2,
.h2 {
  font-size: clamp(1.875rem, 3vw, 2.625rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
h3,
.h3,
.elementskit-post-body h2.entry-title,
.elementskit-post-body h2.entry-title a {
  font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
p, li {
  font-size: clamp(1rem, 3vw, 1.125rem);
  line-height: 1.5;
}
@media screen and (min-width: 992px) {
  h1 {
    line-height: 1.1 !important;
  }
}

/* Alert banner styling */
body .alert-banner {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

body .alert-banner .hide-alert-banner {
  margin: 0 1.8rem 0 2rem;
}

body .alert-banner .hide-alert-banner span {
  cursor: pointer;
}

body .alert-banner .hide-alert-banner span svg path  {
  stroke: var(--alert-text-color, #000000);
}

body .alert-banner .hide-alert-banner:not(.hidden) {
  transform: scaleY(1);
}

body .alert-banner .hide-alert-banner.hidden {
  transform: scaleY(0);
}

body .alert-banner .alert-text {
  flex-grow: 1.5;
  padding: 0.625rem;
  text-align: left;
}

body .alert-banner .alert-text p,
body .alert-banner .alert-text span,
body .alert-banner .alert-text a,
body .alert-banner .alert-text li,
body .alert-banner .alert-text ul {
  margin: 0;
  padding: 0;
}

body .alert-banner .alert-text p,
body .alert-banner .alert-text span,
body .alert-banner .alert-text li {
  color: var(--alert-text-color, initial); 
}

body .alert-banner .alert-text li {
  display: inline;
}

body .alert-banner .alert-text a {
  color: var(--alert-link-color, var(--alert-text-color, initial));
  text-decoration: none;
  position: relative;
  display: inline;
}

body .alert-banner .alert-text a:after,
body .alert-banner .alert-text a:before {
  content: '';
  height: 0.125rem;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: currentColor;
  position: absolute;
  transition: transform 0.3s cubic-bezier(0.455, 0.030, 0.515, 0.955), opacity 0s ease;
  transform: scale3d(1, 1, 1);
  will-change: transform;
  transform-origin: 0% 100%;
}

body .alert-banner .alert-text a:before {
  height: 0.25rem;
  bottom: -0.125rem;
  transform: scale3d(0, 1, 1);
  transform-origin: 100% 50%;
}

body .alert-banner .alert-text a:hover:before {
  transform: scale3d(1, 1, 1) !important;
  transform-origin: 0 100%;
  transition-delay: 0.1s;
}

body .alert-banner .alert-text ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 600px) {
  body .alert-banner .alert-text ul {
    flex-direction: row;
  }
  body .alert-banner .alert-text {
    text-align: center;
  }
  body .alert-banner .alert-text li:first-child:after {
    content: "|";
    margin: 0 0.625rem;
  }

  /* body .alert-banner .alert-text li:last-child {
    flex-basis: 100%;
  } */
}


/* Alert banner media query desktop and up */
@media screen and (min-width: 992px) {
  body .alert-banner .alert-text {
    padding: 0.313rem 0;
  }
  body .alert-banner .alert-text li:not(:last-child):after {
    content: "|";
    margin: 0 0.625rem;
  }
  /* body .alert-banner .alert-text li:last-child {
    flex-basis: auto;
  } */
}

/* Footer */
footer span.location-hours {
  display: block;
}
footer p {
  margin-bottom: 0;
}

/* Blog */
.blog .page--banner {
  background-size: contain !important;
}
.blog .col-md-8.wp-bp-content-width {
  flex: 0 0 100%;
  max-width: 100%;
}
.blog .col-md-4.wp-bp-sidebar-width {
  display: none;
}

body:not(.home) div#content .hentry.card .card-body {
  padding: 1rem;
}

.blog .entry-title a:hover {
  color: var(--e-global-color-accent, #ff0506 ) !important;
}
.blog .entry-meta {
  display: none;
}

.blog .card-body {
  display: flex;
  flex-direction: column;
}

.blog .card-body .entry-summary {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog .card-body .entry-summary div {
  margin-top: auto;
}
.blog a.post-thumbnail img {
  height: 12.5rem;
  width: 100%;
  object-fit: contain;
}

.blog a.btn {
  background-color: var(--e-global-color-accent, #ff0506);
  border-radius: 5px;
  border-color: var(--e-global-color-accent, #ff0506);
  color: #ffffff;
}

.blog .entry-footer {
  display: none;
}

.blog .page--banner {
  background-size: cover !important;
}

.single ul li,
.single ol li {
  margin-bottom: .5rem;
}
.single .elementor-widget-theme-post-featured-image img {
  max-height: 37.5rem;
  object-fit: cover;
}

.single-post .single--post--banner {
  background-color: #ffffff !important;
}

.single h1.elementor-heading-title {
	font-size: clamp(1.875rem, 3vw, 3rem) !important;
}

/* .single.post-type-blog .big--banner--contents {
  display: none;
}
 */
.blog .card-body a.post-thumbnail {
  margin-top: 0;
  margin-bottom: .5rem;
}

.blog .card-body .entry-summary {
  margin-top: .5rem;
}

@media (min-width: 768px) {
  body:not(.home) div#content .hentry.card .card-body {
    padding: 1.5rem;
  }
  .blog main#main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.3rem;
  }
}

@media screen and (min-width: 992px) {
  .blog main#main {
    grid-template-columns: repeat(4, 1fr);
  }
  .blog main#main header:not(.entry-header) {
    display: none;
  }
  .blog main#main .bp-bp-posts-slider,
    .blog nav.posts-navigation {
    grid-column: 1 / span 4;
  }
}

/* Header */
.site-branding-text {
	display: none;
}

.menu--call--us--today {
  text-align: center;
}

/* Hamburger */
#site-navigation .navbar-toggler {
  background-color: transparent !important;
}
ul#primary-menu li.nav-item:last-child {
  padding-right: 0.938rem;
}
.hamburger-icon {
  animation: none;
  display: inline-block;
  cursor: pointer;
}
@media screen and (min-width: 992px) {
  .hamburger-icon {
    display: none;
  }
  ul#primary-menu li.nav-item:last-child {
    padding-right: 0;
  }
}
.hamburger-icon .burger-container {
  position: relative;
  height: 0.938rem;
  width: 1.25rem;
}
.hamburger-icon .burger-bun-top, .hamburger-icon .burger-bun-bottom, .hamburger-icon .burger-filling {
  will-change: transform;
  position: absolute;
  display: block;
  height: 0.125rem;
  width: 1.25rem;
  border-radius: 0.4rem;
  background: #fff;
}
.hamburger-icon .burger-bun-top {
  top: 0;
  transform-origin: top right;
}
.hamburger-icon .burger-filling {
  top: 50%;
}
.hamburger-icon .burger-bun-bottom {
  top: 100%;
  transform-origin: bottom right;
  margin-bottom: 0;
}
.hamburger-icon.is-open .burger-bun-top {
  animation: burger-top 0.5s ease-in-out forwards;
}
.hamburger-icon.is-open .burger-filling {
  transform: scale3d(0, 1, 1);
  transition: transform 0.5s cubic-bezier(0.58, 0.3, 0.005, 1);
  transform-origin: 100% 50%;
}
 .hamburger-icon.is-open .burger-bun-bottom {
  animation: burger-bottom 0.5s ease-in-out forwards;
}
.hamburger-icon.is-closed .burger-bun-top {
  animation: burger-top-out 0.5s ease-in-out forwards;
}
.hamburger-icon.is-closed .burger-filling {
  transition: transform 0.5s cubic-bezier(0.58, 0.3, 0.005, 1);
  transform: scale3d(1, 1, 1) !important;
  transform-origin: 50% 50%;
  transition-delay: 0.1s;
}
.hamburger-icon.is-closed .burger-bun-bottom {
  animation: burger-bottom-out 0.5s ease-in-out forwards;
}

@media only screen and (max-width: 760px)  {
  nav#site-navigation {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Hamburger animation */
 @keyframes burger-top {
	 0% {
    transform: rotate(0);
	}
	 100% {
    transform: rotate(-45deg) translate(0px, 2px);
	}
}
 @keyframes burger-bottom {
	 0% {
    transform: rotate(0) translateY(0);
	}
	 100% {
    transform: rotate(45deg) translate(1px, -1px);
	}
}
 @keyframes burger-top-out {
	 0% {
    transform: rotate(-45deg);
	}
	 100% {
    transform: rotate(0);
	}
}
 @keyframes burger-bottom-out {
	 0% {
    transform: rotate(45deg) translate(1px, 1px);
	}
	 100% {
    transform: rotate(0) translate(0);
	}
}


/* Header Mobile Dropdown menu toggle */
@media screen and (max-width: 991px) {
  ul#primary-menu a.nav-link {
    font-size: 0.938rem;
  }

  .dropdown-toggle::after {
    width: 0.625rem;
    height: 0.625rem;
    vertical-align: middle;
    content: "";
    border: none;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease;
    margin-bottom: 0.438rem;
    margin-left: 0.938rem;
  }
  .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg);
  }
}


/* Gravity Forms */
.gform-theme--api, 
.gform-theme--framework {
  --gf-ctrl-btn-font-size-sm: clamp(0.875rem, 3vw, 0.938rem);
  --gf-ctrl-btn-font-size-md: clamp(0.938rem, 3vw, 1rem);
  --gf-ctrl-btn-font-size-lg: clamp(1rem, 3vw, 1.125rem);
}

h2.gform_submission_error {
  font-size: clamp(1.275rem, 3vw, 1.5rem) !important;
}

.gform-theme--framework.hero--banner--form_wrapper {
	--gf-ctrl-shadow: 0 0px 5px rgba(0,0,0, .12);
}

.home #gform_1 textarea {
	border: none;
}


/* general */
ul.fusion-checklist li {
	margin-bottom: 10px;
}
ul.fusion-checklist {
	margin-top: 1rem;
}


.blog-title {
	margin-top: -20%;
	margin-bottom: 20%;
	text-align: center;
	background: transparent !important;
}
.blog-title .row {
	align-items: center;
	justify-content: center;
}
.blog-title header {
	background: transparent !important;
}

.blog-title h1 {
	text-align: center;
	color: #ffffff;
}
