/*
Theme Name: Vallhund
Author: Fire Hazard Design
Author URI: https://firehazard.co/
Description: With its clean, minimal design and powerful feature set, Vallhund enables agencies to build stylish and sophisticated WordPress websites. Vallhund is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Vallhund is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vallhund
*/

/* Custom Widget Fixes
---------------------------------------- */
.is-style-location-group .btn-link {
    font-size: 1rem;
}

figure .wp-block-post-featured-image a:hover img {
  opacity: 0.8;
}

.wp-block-read-more { margin-left: 0 !important; }

a:hover .wp-block-read-more  { background-color: var(--wp--preset--color--primary); }

/* Google Review Styles */
.ti-header.ti-header-grid.source-Google {
float: left; }


/* Qup Break Fixes
---------------------------------------- */

body {
  font-family: var(--wp--preset--font-family--primary) !important;
  font-size: var(--wp--preset--font-size--medium) !important;
  line-height: var(--wp--custom--line-height--body) !important;
}

.widget-root.locbtn .health-widget-container p::after, .widget-root.locbtn-secondary .health-widget-container p::after {
  content: "\f061";
  font-size: 1rem;
  font-family: "Font Awesome 6 Free";
  padding-left: 0.75rem;
}

.locbtn .health-widget-container,
.genbtn .health-widget-container {
  background-color: var(--wp--preset--color--primary);
  border-radius: 32px;
  border-width: 0;
  color: var(--wp--preset--color--base);
  letter-spacing: 2px;
  line-height: var(--wp--custom--line-height--medium);
  padding: 1rem;
  text-decoration: none;
  box-shadow: none;
}

.locbtn-secondary .health-widget-container
.genbtn-secondary .health-widget-container {
  background-color: var(--wp--preset--color--secondary) !important;
  border-radius: 32px;
  border-width: 0;
  color: var(--wp--preset--color--base);
  letter-spacing: 2px;
  line-height: var(--wp--custom--line-height--medium);
  padding: 1rem;
  text-decoration: none;
  box-shadow: none;
}

.locbtn .health-widget-container p,
.locbtn-secondary .health-widget-container p,
.genbtn .health-widget-container p,
.genbtn-secondary .health-widget-container p,
.health-widget-container p {
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif !important;
  font-size: var(--wp--preset--font-size--x-small);
  font-weight: var(--wp--custom--font-weight--bold);
}

.widget-root.locbtn, .widget-root.locbtn-secondary {
  margin-block-start: calc(var(--wp--custom--spacing--gap)/2);
}

.widget-root.locbtn a:hover, .widget-root.locbtn-secondary a:hover {
    text-decoration: none;
    background-color: var(--wp--preset--color--primary) !important;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px -1px, rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
}

/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
  transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
  text-decoration-thickness: 1px;
}

b,
strong,
th {
  font-weight: var(--wp--custom--font-weight--medium);
}

mark {
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--primary) 0%,
    var(--wp--preset--color--primary) 100%
  );
  background-position: 0 85%;
  background-repeat: repeat-x;
  background-size: 100% 15%;
}

.site-header {
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.425);
  z-index: 10;
  position: relative;
}

a {
  color: var(--wp--preset--color--primary);
  font-weight: var(--wp--custom--font-weight--bold);
  text-decoration: underline;
}

/* -- Typography -- */
.h1,
.H1 {
  font-size: var(--wp--preset--font-size--max-36);
}

.h2,
H2 {
  font-size: var(--wp--preset--font-size--x-large);
  margin-block-end: 0.5em;
}

.h3,
H3 {
  font-size: var(--wp--preset--font-size--large);
}

.h4,
H4 {
  font-size: var(--wp--preset--font-size--medium);
}

.h5,
H5 {
  font-size: var(--wp--preset--font-size--small);
}

.h6,
H6 {
  font-size: var(--wp--preset--font-size--small);
}

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

/* -- Specialized Typography -- */
.wait-time {
  font-size: 1.85em;
}

.wait-time-block {
  padding: .2em;
  border: 4px solid #fff;
}

@media only screen and (max-width: 600px) { 
  
  .wait-time-block {
  clear: both;
    margin: 0.5em auto;
  padding: .2em;
  border: 4px solid #fff;
  width: 100%;
  display: block;
}

}



/* -- Header -- */
header.vallhund-header {
  display: grid;
  grid-template-areas: "logo menu";
  gap: 1rem;
}

.vallhund-header--checkin {
  grid-area: check-in;
}

.vallhund-header--social {
  grid-area: social;
}

/* -- Services Navigation -- */
nav.services-nav {
  margin-bottom: var(--wp--custom--spacing--gap);
  padding-bottom: var(--wp--custom--spacing--gap);
}

nav.services-nav ul {
  gap: 0;
  align-items: unset;
}

nav.services-nav ul li {
  display: block;
  padding: 10px 20px;
  border-left: 8px solid var(--wp--preset--color--neutral);
  border-bottom: 1px solid var(--wp--preset--color--neutral);
}

nav.services-nav ul li.current-menu-item {
  border-left: 8px solid var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--light-gray);
}

nav.services-nav a {
  color: var(--wp--preset--color--contrast);
  text-transform: none;
}

nav.services-nav ul li:first-child {
  border-top: 1px solid var(--wp--preset--color--neutral);
}

nav.services-nav ul li:first-child a {
  color: var(--wp--preset--color--primary) !important;
  letter-spacing: 4px;
  text-transform: uppercase;
}

nav.services-nav .wp-block-button.is-style-fill a,
nav.services-nav .wp-block-buttons-is-layout-flex a {
  color: var(--wp--preset--color--white);
  text-transform: uppercase;
}

nav.services-nav .wp-block-button.is-style-fill a:hover {
  text-decoration: none;
  background-color: rgb(166, 20, 47);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px -1px, rgba(0, 0, 0, 0.14) 0px 4px 5px 0px, rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
}

footer nav .wp-block-navigation a:where(:not(.wp-element-button)) {
	text-transform: none!important;
	letter-spacing: 0!important;
}

/* -- Locations Navigation -- */
nav.locations-navigation ul {
  gap: 1rem;
  flex-direction: column;
  align-items: flex-start;
}

/* Undoes right aligned submenu */
.wp-block-navigation.items-justified-right
  .wp-block-navigation__container
  .has-child
  .wp-block-navigation__submenu-container {
  right: unset;
  width: max-content;
}

.wp-block-navigation-submenu .wp-block-navigation-link a {
  text-transform: none;
}

/* -- Forms -- */

input,
select,
textarea {
  background-color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--contrast);
  border-radius: 0;
  color: var(--wp--preset--color--contrast);
  font-family: var(--wp--preset--font-family--primary);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--font-weight--light);
  line-height: var(--wp--custom--line-height--body);
  padding: 10px 20px;
  width: 100%;
}

input:focus,
textarea:focus {
  background-color: var(--wp--preset--color--neutral);
  outline: none;
}

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

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

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

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
  background-color: var(--wp--preset--color--neutral);
  font-size: var(--wp--preset--font-size--small);
  padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
  padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
  padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
  border: 1px solid currentColor;
  padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
  color: var(--wp--preset--color--base);
}

.site-header .wp-block-columns:has(nav) {
  margin-block-start: calc(var(--wp--custom--spacing--gap) / 2);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background)
  .wp-block-navigation__submenu-container {
  background-color: var(--wp--preset--color--contrast);
  border: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
  padding: 2px 10px;
}

/* -- Lists -- */

/* Check list */

ul {
  list-style: square;
}

ol.is-style-circle-check,
ul.is-style-circle-check {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

ol.is-style-circle-check li,
ul.is-style-circle-check li {
  margin-left: 0;
  display: flex;
}

ol.is-style-circle-check li::before,
ul.is-style-circle-check li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  padding-right: 1rem;
}

/* Primary boxes list */

ul.is-style-primary-blocks {
  padding-left: 1rem;
}

.is-style-primary-blocks li::marker {
  color: var(--wp--preset--color--primary);
}

/* Accent boxes list */

.is-style-accent-blocks li::before, .is-style-accent-blocks li::marker {
  color: var(--wp--preset--color--accent);
}

/* -- Media & Text -- */

.is-style-faded-image .wp-block-media-text__media {
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0)
  );
}

.wp-block-media-text.is-style-drop-shadow {
  box-shadow: var(--wp--preset--shadow--light);
}

/* -- Buttons -- */

/* Outline */

.is-style-outline.is-style-outline.wp-block-button .wp-block-button__link {
  background-color: var(--wp--preset--color--white);
}

/* Arrow Icon */

.is-style-arrow-icon a.wp-block-button__link.wp-element-button::after {
  content: "\f061";
  font-size: 1rem;
  font-family: "Font Awesome 6 Free";
  padding-left: 0.75rem;
}

/* Outline w/ Arrow Icon */

.is-style-arrow-icon-outline a.wp-block-button__link.wp-element-button {
  background-color: var(--wp--preset--color--light-gray);
  border: 2px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
}

.is-style-arrow-icon-outline a.wp-block-button__link.wp-element-button::after {
  content: "\f061";
  font-size: 1rem;
  font-family: "Font Awesome 6 Free";
  padding-left: 0.75rem;
}

/* Button States */

a.wp-block-button__link.wp-element-button:hover {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--primary) 80%,
    transparent
  );
}

.is-style-outline.is-style-outline.wp-block-button
  a.wp-block-button__link:hover {
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--primary);
}

.is-style-arrow-icon-outline a.wp-block-button__link.wp-element-button:hover {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}

/* -- Blockquote -- */

.is-style-text-balloon {
  border: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.is-style-text-balloon p {
  position: relative;
  line-height: 1.4;
  margin: 2rem auto 4rem;
  background-color: #f9f9f9;
  border: 2px solid #dedede;
  border-radius: 30px;
  font-family: sans-serif;
  padding: 2rem;
  font-size: large;
}

.is-style-text-balloon p:before,
.is-style-text-balloon p:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
}

.is-style-text-balloon p:before {
  left: 30px;
  bottom: -50px;
  border: 25px solid;
  border-color: #dedede transparent transparent #dedede;
}

.is-style-text-balloon p:after {
  left: 32px;
  bottom: -45px;
  border: 30px solid;
  border-color: #f9f9f9 transparent transparent #f9f9f9;
}

.is-style-text-balloon cite {
  font-weight: 500;
  font-size: 1rem;
  padding-left: 2rem;
}

.is-style-text-balloon cite span {
  font-style: italic;
  font-size: 0.825rem;
}

/* -- Cover -- */

/* Featured Cover */

.is-style-featured-cover {
  border-bottom: 8px solid var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--primary);
  margin-block-end: 4rem !important;
  position: relative;
  min-height: unset;
  height: calc(360px * 0.7);
}

.is-style-featured-cover .wp-block-post-title::before,
.is-style-featured-cover .wp-block-heading::before {
  content: "";
  width: 100%;
  max-width: 120px;
  height: 4px;
  border-top: 4px solid var(--wp--preset--color--contrast);
  display: block;
  padding-bottom: 2rem;
}

/* Location Image Cover */

.is-style-location-header {
  border-bottom: 0;
  color: var(--wp--preset--color--white);
  margin-block-end: 0rem !important;
  position: relative;
  min-height: unset;
  height: calc(360px * 0.7);
}

.is-style-featured-header .wp-block-post-title::before,
.is-style-featured-header .wp-block-heading::before {
  content: "";
  width: 100%;
  max-width: 120px;
  height: 4px;
  border-top: 4px solid var(--wp--preset--color--white);
  display: block;
  padding-bottom: 2rem;
}

/* Location Cover */

.is-style-location-cover {
  border-bottom: 8px solid var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  margin-block-end: 4rem !important;
  position: relative;
  min-height: unset;
  height: calc(360px - 30%);
}

.is-style-location-cover .wp-block-post-title::before,
.is-style-location-cover .wp-block-heading::before {
  content: "";
  width: 100%;
  max-width: 120px;
  height: 4px;
  border-top: 4px solid var(--wp--preset--color--white);
  display: block;
  padding-bottom: 2rem;
}

/* -- Group -- */

.is-style-location-row {
  padding-right: var(--wp--preset--spacing--large) !important;
  padding-left: var(--wp--preset--spacing--large) !important;
}

.is-style-location-group {
  box-shadow: 0 3px 32px 0px rgba(0, 0, 0, 0.225);
  font-weight: 500;
  background: var(--wp--preset--color--white);
}

.is-style-location-group h2,
.is-style-location-group h2 a {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  margin-block-end: 0;
  margin-top: 0;
}

.is-style-location-group a.btn.btn-link, .is-style-location-group .btn.btn-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 2px;
}

.is-style-location-group i.fa {
  background: var(--wp--preset--color--primary);
  padding: 0.8rem;
  border-radius: 100%;
  color: white;
  margin: 0 4px 0 0;
}

.is-style-location-group p {
  margin: 0;
}

/* Utilities */
.vallhund-hidden-mobile,
.vallhund-hidden-mobile > a {
  display: none;
}

.vallhund-icon-banner .wp-block-columns {
  display: flex;
  gap: 2rem;
  flex-direction: row;
  flex-wrap: wrap!important;
  justify-content: center;
}

.vallhund-icon-banner .wp-block-columns>div.wp-block-column {
  text-align: center;
  flex: 0 1 16%;
}

.p-4 {
  padding: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

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

.flex-col {
  flex-direction: column;
}

.flex {
  display: flex;
}

.gap-4 {
  gap: 1rem;
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

/* -- Map plugin -- */
.vallhund--big-map {
  min-height: 300px !important;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Media Queries
---------------------------------------- */

nav.is-responsive.items-justified-right.vallhund-header--nav button {
    border-width: 2px;
	text-transform: uppercase;
}

@media only screen and (max-width: 600px) {
  /* -- Utility -- */

	p.flex.flex-col.lg:flex-row > span {width: 100%;}

  .is-style-hidden-mobile, .vallhund-hidden-mobile, header .wp-block-button.is-style-outline {
    display: none !important;
  }

  header .wp-block-site-logo img {
    width: 100%;
  }

  .is-style-location-row {
    padding-right: var(--wp--preset--spacing--x-small) !important;
    padding-left: var(--wp--preset--spacing--x-small) !important;
  }

  .is-style-location-group a, .wp-block-button.is-style-outline, a.wp-block-button__link {
    width: 100%;
    display: block;
  }

  .is-style-featured-cover , .wp-block-cover {
    height: calc(360px / 2);
    min-height: calc(360px / 2) !important;
  }

  .locbtn .health-widget-container, .locbtn .health-widget-container p,
  header .genbtn .health-widget-container, header .genbtn .health-widget-container p {
  width: 100%;
  }

}

@media only screen and (max-width: 781px) {
  .vallhund-header .vallhunder-header--social-buttons {
    width: calc(100% + 52px + 1rem);
    display: grid;
    grid-template-areas: "social check-in";
    justify-content: space-between;
  }

  .vallhund-header .vallhunder-header--social-buttons {
    display: flex!important;
    justify-content: space-between;
    flex-direction: column-reverse;
    gap: 8px!important;
}
  .widget-root.genbtn {
    width: 100%;
  }

}


@media only screen and (max-width: 782px) {
  /* -- Columns -- */

  .is-style-columns-reverse {
    flex-direction: column-reverse;
  }

  .site-header .wp-block-group.wp-container-core-group-layout-1 {
    flex-direction: column-reverse;
  }

  .wp-block-navigation:not(.has-text-color)
    .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--wp--preset--color--neutral);
    color: var(--wp--preset--color--primary);
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .has-child
    .wp-block-navigation__submenu-container {
    padding: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: calc(2rem + 24px);
  }

  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: unset;
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(
      .is-menu-open
    ),
  .wp-block-navigation__responsive-container {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
  }

  .vallhund-home--columns {
    flex-direction: column;
  }

  blockquote.wp-block-quote {
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 783px) {
  footer section.wp-block-group .wp-block-columns {
    flex-direction: column;
  }
  .vallhund-icon-banner .wp-block-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1rem;
  }
}

@media only screen and (max-width: 1024px) {
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 1;
  }

  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 2;
  }

  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% !important;
  }
}

@media only screen and (min-width: 782px) {
  .wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow:has(.wp-block-site-logo) {
    max-width: 33%;
  }

  header.vallhund-header {
    display: block;
  }

  .vallhund-home--cover
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column {
    flex-basis: 65%;
  }

  .vallhund-icon-banner .wp-block-columns {
    display: flex;
	  justify-content: space-between;
  }

  .vallhund--big-map {
    min-height: 550px !important;
  }

  .is-style-featured-cover {
    height: 360px;
  }

  .locbtn .health-widget-container,
  .genbtn .health-widget-container {
    padding-top: 15px;
    padding-right: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
  }
  .widget-root.locbtn {
    margin-block-start: 0;
  }

  nav.locations-navigation ul {
    gap: 2rem;
    flex-direction: row;
  }

}

@media screen and (min-width: 1024px) {
  .vallhund-hidden-mobile,
  .vallhund-hidden-mobile > a {
    display: block;
  }
  .vallhund-home--cover {
    min-height: 580px;
  }

  .vallhund-home--cover
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column {
    flex-basis: 65%;
  }

  .vallhund-home--cover
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column:last-child {
    flex-basis: 0;
  }

  /* -- Media & Text -- */

  .is-style-faded-image {
    position: relative;
    height: 100%;
    max-height: 700px;
  }

  .is-style-faded-image .wp-block-media-text__content {
    position: absolute;
    right: 0;
    left: 0;
    max-width: var(--wp--style--global--content-size);
    padding-right: 40%;
    padding-left: 0;
    margin: 0 auto;
  }

  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:text-left {
    text-align: left;
  }

  .lg\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .is-style-featured-cover {
    height: 360px;
  }
}
