/*
Theme Name: Safecall
Author: Kevin Nugent
Author URI: https://nugerama.co.uk
Theme URI: https://safecall.co.uk
Tags: full-site-editing, block-patterns
Text Domain: safecall
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.2
Version: 1.0.6

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Styles intended only for the front.*/
html {
  scroll-behavior: smooth;
  font-size: 100%; /*16px*/
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

@media screen and (min-width: 1440px) {
  .site-header {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9;
    box-shadow: var(--wp--custom--subtle-shadow);
  }
}
.single-client .wp-block-post-featured-image:has(> img), .single-partner .wp-block-post-featured-image:has(> img) {
  max-width: 24rem;
}

footer {
  margin-top: 0 !important;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
form {
  font-family: var(--wp--preset--font-family--librebaskerville);
  font-style: italic;
}

input[type=text],
input[type=password],
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=search],
input[type=tel],
input[type=time],
input[type=url],
input[type=week],
textarea,
select {
  padding: 1.2rem 1.4rem !important;
  border: none;
  background-color: var(--wp--preset--color--wild-sand, #F8F8F8);
  font-family: inherit;
}

input[type=tel] {
  padding: 1.2rem 1.4rem 1.2rem 70px !important;
}

/* acf forms
--------------------------------------------- */
.acfe-phone-number .iti .iti__flag-container .iti__selected-flag {
  border-right-color: white !important;
  border-right-width: 2px !important;
}
