/*!
Theme Name: DriverPublic
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: driverpublic
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

DriverPublic is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1200px) {
  body {
    font-size: 1.1rem !important;
  }
}

main {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

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

.has-text-align-right {
  text-align: right;
}

.has-text-align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .pm-0 .container {
    padding: 0 !important;
  }
}

.error-404 {
  padding: 150px 0;
  text-align: center;
}
.error-404 .display-1 {
  font-size: 4rem;
  font-weight: bold;
}

iframe {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5 {
  margin-top: 0;
}

p[style*="text-decoration:none"] a {
  text-decoration: none !important;
}

nav.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 30px;
  gap: 5px;
}
nav.pagination .page-numbers {
  text-decoration: none;
  color: inherit;
  width: 25px;
  height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
nav.pagination .page-numbers.current {
  font-weight: bold;
}

header {
  position: relative;
  z-index: 10;
}
header .logo {
  position: relative;
  z-index: 10;
}
header nav.wp-block-navigation {
  position: relative;
}
header nav.wp-block-navigation a {
  color: inherit;
}
header nav.wp-block-navigation ul.wp-block-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1200px) {
  header nav.wp-block-navigation ul.wp-block-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
}
@media (max-width: 991px) {
  header nav.wp-block-navigation .wp-block-navigation__responsive-container {
    z-index: 0 !important;
  }
  header nav.wp-block-navigation .wp-block-navigation__responsive-container ul {
    -webkit-box-align: start !important;
        -ms-flex-align: start !important;
            align-items: start !important;
    width: 100% !important;
  }
  header nav.wp-block-navigation .wp-block-navigation__responsive-container-content {
    padding-top: 150px !important;
  }
  header nav.wp-block-navigation .wp-block-navigation__responsive-container-close {
    color: white !important;
    display: block !important;
    top: 30px;
    right: -5px;
  }
}
header nav.wp-block-navigation button.wp-block-navigation__responsive-container-close {
  display: none;
}
header nav.wp-block-navigation button.wp-block-navigation__responsive-container-open {
  padding: 0;
  border: 0;
  background: transparent;
}
@media (min-width: 768px) {
  header nav.wp-block-navigation button {
    display: none;
  }
}

.wp-block-navigation__submenu-container {
  border: 0;
}

footer .wp-block-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .wp-block-navigation a {
  color: inherit;
}
footer form .gform-footer input[type=submit].gform_button.gform-button--width-full {
  background: transparent;
  border: 1px solid white;
  color: white;
}
footer form .gform-footer input[type=submit].gform_button.gform-button--width-full:hover {
  background: white !important;
  color: #000 !important;
  border-color: white !important;
}

form.wp-block-search label {
  display: none;
}
form.wp-block-search .wp-block-search__inside-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}
form.wp-block-search .wp-block-search__inside-wrapper input {
  border: none;
  padding: 10px;
}
form.wp-block-search.alignright .wp-block-search__inside-wrapper {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
form.wp-block-search.aligncenter .wp-block-search__inside-wrapper {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

form.search-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}
form.search-form label input.search-field {
  border-radius: 0;
  background: transparent;
  border: none;
  border: 1px solid;
  padding: 10px 5px 10px 10px;
  outline: none;
}
form.search-form input[type=submit] {
  border-radius: 0;
  background: transparent;
  border: none;
  border: 1px solid;
  outline: none;
  padding: 10px;
}

.wp-block-cover {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.wp-block-cover .wp-block-cover__image-background,
.wp-block-cover .wp-block-cover__background {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.wp-block-cover .wp-block-cover__background {
  z-index: 1;
}
.wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

.wp-block-list.has-custom-bullet {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wp-block-list.has-custom-bullet li {
  position: relative;
  padding-left: calc(var(--bullet-size, 16px) + 10px);
  margin-bottom: var(--item-spacing, 10px);
}
.wp-block-list.has-custom-bullet li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: var(--bullet-size, 16px);
  height: var(--bullet-size, 16px);
  background-image: var(--custom-bullet, none);
  background-size: contain;
  background-repeat: no-repeat;
}
@media (min-width: 992px) {
  .wp-block-list.columns-2 {
    -webkit-columns: 2;
       -moz-columns: 2;
            columns: 2;
    -webkit-column-gap: var(--column-gap, 20px);
       -moz-column-gap: var(--column-gap, 20px);
            column-gap: var(--column-gap, 20px);
  }
  .wp-block-list.columns-3 {
    -webkit-columns: 3;
       -moz-columns: 3;
            columns: 3;
    -webkit-column-gap: var(--column-gap, 20px);
       -moz-column-gap: var(--column-gap, 20px);
            column-gap: var(--column-gap, 20px);
  }
  .wp-block-list.columns-4 {
    -webkit-columns: 4;
       -moz-columns: 4;
            columns: 4;
    -webkit-column-gap: var(--column-gap, 20px);
       -moz-column-gap: var(--column-gap, 20px);
            column-gap: var(--column-gap, 20px);
  }
}

.wp-block-embed {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
}
.wp-block-embed .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wp-block-embed.ratio-1x1 .wp-block-embed__wrapper {
  padding-top: 100%;
}
.wp-block-embed.ratio-4x3 .wp-block-embed__wrapper {
  padding-top: 75%;
}
.wp-block-embed.ratio-3x4 .wp-block-embed__wrapper {
  padding-top: 133.33%;
}
.wp-block-embed.ratio-16x9 .wp-block-embed__wrapper {
  padding-top: 56.25%;
}
.wp-block-embed.ratio-9x16 .wp-block-embed__wrapper {
  padding-top: 177.77%;
}
.wp-block-embed.ratio-21x9 .wp-block-embed__wrapper {
  padding-top: 42.85%;
}
.wp-block-embed.ratio-9x21 .wp-block-embed__wrapper {
  padding-top: 233.33%;
}

.wp-block-buttons a {
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.wp-block-buttons .wp-block-button__link {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.wp-block-buttons .wp-block-button:hover .wp-block-button__link {
  background-color: var(--hover-bg) !important;
  color: var(--hover-color) !important;
  border-color: var(--hover-bg) !important;
}

.wp-block-media-text figure,
.wp-block-media-text figure img {
  border-radius: inherit;
}

.wp-block-group.quote:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 15%;
  width: 0;
  height: 0;
  border: 30px solid transparent;
  border-top-color: white;
  border-bottom: 0;
  border-left: 0;
  margin-left: -10px;
  margin-bottom: -20px;
}

.wp-block-latest-posts__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.wp-block-latest-posts__list li {
  padding: 0;
}
.wp-block-latest-posts__list li a {
  text-decoration: none;
  color: inherit;
}

.blog-content a {
  color: inherit;
  text-decoration: none;
}
.blog-content a h2 {
  margin: 15px 0;
}

.single-post .wp-block-post-navigation-link a {
  color: inherit;
  text-decoration: none;
}

.gform_wrapper .gform_required_legend {
  display: none;
}
.gform_wrapper .gform_fields {
  row-gap: 25px !important;
}
.gform_wrapper .datepicker {
  width: 100%;
}
.gform_wrapper .gchoice label,
.gform_wrapper .ginput_container_consent label {
  cursor: pointer;
}
.gform_wrapper form .gform-footer input[type=submit].gform_button.gform-button--width-full {
  inline-size: unset !important;
  background: transparent;
  border: 1px solid;
}
.gform_wrapper form .gform-footer input[type=submit].gform_button.gform-button--width-full:hover {
  background: #000;
  color: white;
  border-color: #000;
}

@media (max-width: 1200px) {
  .our-founders-carousel .f-carousel__nav {
    position: absolute;
    top: calc(50% - 30px);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    margin: 0;
  }
}