/*!
Theme Name: walle2022
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.3
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wharton
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.

sandusk dental 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
  - Normalize
  - Box sizing
# Base
  - Typography
  - Elements
  - Links
  - Forms
## Layouts
# Components
  - Navigation
  - Posts and pages
  - Comments
  - Widgets
  - Media
  - Captions
  - Galleries
# plugins
  - Jetpack infinite scroll
# Utilities
  - Accessibility
  - Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
   ========================================================================== */
.post-thumbnail{
	display:none !important;
}
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}


/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}
.service{
	align-items:center !important;
}
/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: var(--global--font-primary);
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}
/* 
.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
} */

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}
.home .services{
	padding-top: 100px;
	background-color: #1a2640;
}
.home .service{
	border-radius: 100%;
}
/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

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

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {

  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* START wharton */
@font-face {
  font-family: 'brandon_grotesque';
  src: url('assets/fonts/brandon-grotesque-black-58a8a3e824392-webfont.woff2') format('woff2'),
       url('assets/fonts/brandon-grotesque-black-58a8a3e824392-webfont.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
	font-family: 'brandon_grotesque';
	src: url('assets/fonts/Brandon_med.otf') format("opentype");
	font-weight: 500;
	  font-style: normal;
	  font-display: swap;
}
@font-face {
  font-family: 'brandon_grotesque';
  src: url('assets/fonts/brandon-grotesque-light-58a8a4b38001d-webfont.woff2') format('woff2'),
       url('assets/fonts/brandon-grotesque-light-58a8a4b38001d-webfont.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Bold.woff2') format('woff2'),
      url('assets/fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-BoldItalic.woff2') format('woff2'),
      url('assets/fonts/Montserrat-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-MediumItalic.woff2') format('woff2'),
      url('assets/fonts/Montserrat-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Medium.woff2') format('woff2'),
      url('assets/fonts/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2'),
      url('assets/fonts/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Variables */
:root {
  --global--font-primary: 'Montserrat',sans-serif;
  --global--font-secondary: 'brandon_grotesque', sans-serif;

  /* Colors */
  --global--color-black: #000;
  --global--color-white: #fff;
  --global--color-grey: #bec4c6;
  
  /* Everything Else */
  --global--font-size: 16px;
  --global--h1: 16px;
  --global--h2: 30px;
  --global--h3: 26px;
  --global--gutter-padding: 20px;
  --global--max-width: calc(1160px + (var(--global--gutter-padding) * 2))
}

/* global */
.desktop {
  display: none;
}

.clear {
  clear:both;
}

body {
  background: var(--global--color-white);
  color: var(--global--color-black);
  font-size: var(--global--font-size);
  line-height: 1.5;
  margin: 0;
}

a {
  color: #444;
  text-decoration: underline;
}

a:hover, a:focus {
  text-decoration: none;
}

article a:hover, article a:focus {
  text-decoration: none;
}

p,
li,
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  margin: 0;
}

h1,h2,h3,h4,h5 {
  font-weight: 500;
  padding: 0 0 30px;
  text-transform: uppercase;
  letter-spacing: .8px;
	text-align:center;
}

h1 {
  font-size: var(--global--h1);
  text-transform: none !important;
  font-weight: 500;
  padding: 0 0 40px;
  letter-spacing: none;
}

h2 {
  font-size: var(--global--h2);
	color:#1a2640;
}

h3 {
  font-size: var(--global--h3);

}

h4, h5 {
  font-size: 24px;
}

p {
  padding: 0 0 20px;
}

ul, ol {
  margin: 0;
  padding: 0 0 20px;
}

li {
  text-align: left;
}

.main-button {
  background: white;
  color: var(--global--color-black);
  display: block;
  font-family: var(--global--font-secondary);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 1.2px;
  margin: 0 auto;
  max-width: 395px;
  overflow: hidden;
  padding: 9px 0 6px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s linear;
  width: 100%;
	border:4px solid #1a2640;
}

.main-button:hover {
  background: #1a2640;
  color: white;
  text-decoration: none;
	border:4px solid #1a2640;
}

.secondary-button {
  background: #1a2640;
  color: white;
  display: block;
  font-family: var(--global--font-secondary);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 1.2px;
  max-width: 395px;
  margin: 0 auto;
  overflow: hidden;
  padding: 9px 0 6px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s linear;
  width: 100%;
	border:4px solid #1a2640;
}

.secondary-button:hover {
  background: white;
  color: var(--global--color-black);
  text-decoration: none;
border:4px solid #1a2640;
}

/* header */
.site-header {
  background: var(--global--color-black);
  color: var(--global--color-white);
}

.site-header .top-wrapper{
  transition: all .3s ease-in-out;
	background-color:white;
}


.site-header .top-wrapper.fixed {
  position: fixed;
  width:100%;
  z-index: 90;
}


.site-header .top-wrapper.fixed .logo {
  width: 200px;
  margin: 10px auto 0;
}


.site-header .wrapper {
  padding: 10px var(--global--gutter-padding);
  position: relative;
	gap:20%;
	background-color:white !important;
}

@-webkit-keyframes swing {
  15% {
      -webkit-transform: translateY(5px);
      transform: translateY(5px);
  }
  30% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
  }
  50% {
      -webkit-transform: translateY(3px);
      transform: translateY(3px);
  }
  65% {
      -webkit-transform: translateY(-3px);
      transform: translateY(-3px);
  }
  80% {
      -webkit-transform: translateY(2px);
      transform: translateY(2px);
  }
  100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
}
@keyframes swing {
  15% {
      -webkit-transform: translateY(5px);
      transform: translateY(5px);
  }
  30% {
      -webkit-transform: translateY(-5px);
      transform: translateY(-5px);
  }
  50% {
      -webkit-transform: translateY(3px);
      transform: translateY(3px);
  }
  65% {
      -webkit-transform: translateY(-3px);
      transform: translateY(-3px);
  }
  80% {
      -webkit-transform: translateY(2px);
      transform: translateY(2px);
  }
  100% {
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
}

@-webkit-keyframes swingMobile {
  15% {
      -webkit-transform: translateY(5px);
      transform: scale(.7) translateY(5px);
  }
  30% {
      -webkit-transform: translateY(-5px);
      transform: scale(.7) translateY(-5px);
  }
  50% {
      -webkit-transform: translateY(3px);
      transform: scale(.7) translateY(3px);
  }
  65% {
      -webkit-transform: translateY(-3px);
      transform: scale(.7) translateY(-3px);
  }
  80% {
      -webkit-transform: translateY(2px);
      transform: scale(.7) translateY(2px);
  }
  100% {
      -webkit-transform: translateY(0);
      transform: scale(.7) translateY(0);
  }
}
@keyframes swingMobile {
  15% {
      -webkit-transform: translateY(5px);
      transform: scale(.7) translateY(5px);
  }
  30% {
      -webkit-transform: translateY(-5px);
      transform: scale(.7) translateY(-5px);
  }
  50% {
      -webkit-transform: translateY(3px);
      transform: scale(.7) translateY(3px);
  }
  65% {
      -webkit-transform: translateY(-3px);
      transform: scale(.7) translateY(-3px);
  }
  80% {
      -webkit-transform: translateY(2px);
      transform: scale(.7) translateY(2px);
  }
  100% {
      -webkit-transform: translateY(0);
      transform: scale(.7) translateY(0);
  }
}

.social-header {
  display: flex;
}

.social-header a {
  display: block;
  margin: 0 34px 0 0;
  transform: scale(.5);
}

.social-header a:hover, .social-header a:focus{
  -webkit-animation: swingMobile 1s ease;
  animation: swingMobile 1s ease;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.social-header a:last-child {
  margin: 0;
}

.social-header .phone {
  background: url('https://dentistinsanmarcostx.com/wp-content/uploads/2022/12/dentist-san-marcos-phone.png') no-repeat center;
  height: 48px;
  width: 48px;
}

.social-header .facebook {
  background: url('assets/images/facebook-ico-dentist-piqua.png') no-repeat center;
  height: 50px;
  width: 26px;
}

.social-header .instagram {
  background: url('assets/images/instagram-ico-dentist-piqua.png') no-repeat center;
  height: 51px;
  width: 50px;
}

.logo {
  display: block;
}

/* hamburger menu */
.burger-wrapper {
  cursor: pointer;
}

.nav-wrapper {
  background: var(--global--color-white);
  border-bottom: 4px solid var(--global--color-black);
  display: none;
  right: 0;
  padding: 25px 10px 5px;
  position: absolute;
  top: 75px;
  transform: translateX(100%);
  transition: 0.5s;
  transition-timing-function: cubic-bezier(10,2,3,1);
  width: 100%;
  z-index: 20;
}

.primary-menu-toggle {
  display: none;
}

.primary-menu-toggle:checked ~ .nav-wrapper {
  transform: translateX(0);
}

.burger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 52px;
  right: 0;
  margin: 0 15px;
  position: absolute;
  top: 15px;
  width: 70px;
}

.burger > div {
  background: #1a2640;
  height: 8px;
  transition: 0.5s;
  z-index: 999;
}

.primary-menu-toggle:checked ~ .burger > div:nth-child(1) {
  transform: translateY(22px) rotate(45deg);
}

.primary-menu-toggle:checked ~ .burger > div:nth-child(2) {
  opacity: 0;
}

.primary-menu-toggle:checked ~ .burger > div:nth-child(3) {
  transform: translateY(-22px) rotate(-45deg);
}

.primary-menu li {
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 5px;
}

.primary-menu a {
  color: var(--global--color-black);
  display: block;
  padding: 8px 15px;
  flex-grow: 1;
}

.primary-menu a:hover {
  background: var(--global--color-grey);
  text-decoration: none;
}

.primary-menu .more-button {
  align-self: center;
  background: var(--global--color-white);
  height: 30px;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 30px;
  padding: 0;
  width: 30px;
}

.primary-menu .sub-menu {
  display: none;
}

.primary-menu .more-button + .sub-menu {
  width: 100%;
  padding: 0 0 10px;
}

.nav-wrapper .secondary-btn {
  font-size: 1.25rem;
}

.nav-wrapper .secondary-btn:first-of-type {
  font-size: .875rem;
}

.home .banner{
  background: #9c9e99 url('https://dentistinsanmarcostx.com/wp-content/uploads/2025/09/Dentist-San-marcos.png') no-repeat center 40%/cover;
	background-position: 10% 16%;
}
.contact-section, .dental-section{
	background-attachment:fixed !important;
}
.banner {
  background: #9c9e99 url('https://dentistinsanmarcostx.com/wp-content/uploads/2025/09/Dentist-San-marcos.png') no-repeat center 40%/cover;
background-position: top center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 !important;
	position:relative;
}

.banner-text{
	background-color:#fff9;
	padding-left:40px;
	padding-right:40px;
	padding-top: 0px;
	padding-bottom: 5px;
}
.banner-logo {
  margin: 0 auto 20px;
}

/* main content */
.site-main {
  padding: 64px var(--global--gutter-padding) 75px;
  margin: 0 auto;
  max-width: calc(1160px + (var(--global--gutter-padding) *2));
}

.site-main ol, .site-main ul {
  margin-left: 45px;
}

.site-main li {
  padding: 0 0 10px;
}

/* start of footer */


.news-section {
  background: #f1f3f4;
  padding: 65px var(--global--gutter-padding);
}

.news-section h3, .home .news-section h3 {
  font-family: var(--global--font-secondary);
  font-size: var(--global--h2);
  letter-spacing: 1.2px;
  padding: 0 0 20px;
  text-align: center;
}


.news-section h4 {
  font-family: var(--global--font-secondary);
  font-size: 16px;
  font-weight: 100;
}

.recent-blogs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-post {
  display: flex;
  flex-direction: column;
  margin: 0 10px 20px;
  max-width: 370px;
}

.blog-post .thumb, .blog-post .thumbnail-default {
  height: 245px;
  width: 100%;
	display:none;
}

.blog-post .thumb {
  object-fit: cover;
}

.blog-post .thumbnail-default {
  background: #cdcdcd;
}

.blog-post .post-data {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-family: var(--global--font-secondary);
  font-weight: 900;
  text-transform: uppercase;
}

.blog-post .date {
  align-items: center;
  background: #1a2640;
  color: var(--global--color-white);
  display: flex;
  font-size: 16px;
  letter-spacing: .8px;
  padding: 5px 7px;
}

.blog-post .date:before {
  background: url('assets/images/calendar-ico-dentist-piqua.png') no-repeat center;
  content: '';
  display: inline;
  height: 29px;
  margin: 0 15px 0 0;
  width: 30px;
}


.blog-post .content {
  background: var(--global--color-white);
  color: var(--global--color-black);
  display: block;
  flex-grow: 1;
  padding: 40px 20px;
}

.blog-post .title {
  font-size: 1.25rem;
  font-family: var(--global--heading-font-family);
  padding: 0 0 20px;
}

.blog-post p,.blog-post a {
  text-align: left;
  font-size: 13px;
  line-height: 30px;
}

.contact-section {
  background-image: url("https://dentistinsanmarcostx.com/wp-content/uploads/2022/12/dentist-san-marcos-bg-1.png");
  color: var(--global--color-white);
  padding: 65px 20px 70px;
}

.contact-section .map {
  height: 270px;
  max-width: 291px;
  margin: 0 auto;
}
.contact-section .map iframe{
	height:100%;
	width:100%;
}
.contact-section .content {
  font-weight: 700;
  padding: 15px 0;
  text-transform: uppercase;
}

.contact-section h3, .contact-section h2, .contact-section p {
  text-align: left;
}

.contact-section h2 {
  padding-bottom: 25px;
}

.contact-section h3 {
  font-weight: 100;
  font-size: 16px;
  padding-bottom: 40px;
}

.contact-section p {
  font-size: 18px;
  line-height: 30px;
  padding: 0 0 40px;
}

.social-footer {
  display: flex;
}

.social-footer a {
  align-items: center;
  border: 4px solid var(--global--color-white);
  display:flex;
  justify-content: center;
  margin: 0 15px 0 0;
  height: 64px;
  width: 64px;
}

.social-footer a:hover, .social-footer a:focus {
  -webkit-animation: swing 1s ease;
  animation: swing 1s ease;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.social-footer a.facebook span {
  background: url('assets/images/small-fb-ico-dentist-piqua.png') no-repeat;
  height: 30px;
  width: 15px;
}

.social-footer a.yelp span {
  background: url('assets/images/yelp-ico-dentist-piqua.png') no-repeat;
  height: 33px;
  width: 28px;
}

.social-footer a.instagram span {
  background: url('assets/images/instagram-ico-dentist-piqua.png')no-repeat;
  height: 30px;
  width: 30px;
  background-size: contain;
}

.copyright {
  background: #1a2640;
  color: var(--global--color-white);
  font-family: var(--global--font-secondary);
  font-weight: 900;
  font-size: 18px;
  text-align: center;
  padding: 25px var(--global--gutter-padding) 30px;
  text-transform: uppercase;
}

.copyright .logo {
  max-width: 95px;
  margin: 0 auto 50px;
}

.copyright ul {
  padding: 0 0 5px;
}

.copyright a {
  color: var(--global--color-white);
}

.copyright li {
  display: inline-block;
}

.copyright li:after {
  content: '|';
  display: inline-block;
  padding: 0 5px;
}

.copyright li:last-child:after {
  display: none;
}

/* services page*/

.page-template-template-services .site-main {
  max-width: 1376px;

}

.services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.services .service {
  background: var(--global--color-black);
  color: var(--global--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 210px; 
  width: 210px;
  margin: 0 15px 25px;
  text-decoration: none;
}
.home .services .service{
	background-color:transparent;
}
.home .service{
	padding:8px;
}
.services .service .hover-img{
	display:none;
}
.services .service:hover > div{
	background-color:white;
}
.services .service:hover > div{
	border:2px solid #1a2640;
}
.services .service:hover > div > *{
	color:#1a2640;
}
.services .service:hover  .hover-img {
  display:inline-block;
}
.service > div{
	text-align: center;
	border: 2px solid white;
	border-radius: 100%;
	height: 210px;
	width: 210px;
	padding:8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.services .service:hover  .base-img {
  display: none;
}

.services .service img {
  align-self: center;
  max-width: 58px;
  max-height: 43px;
}

.services .service p  {
  font-size: 22px;
  padding: 25px 0px 0;
  text-align: center;
}

/* homepage */

.home h2 {
  text-transform: uppercase;
}

.home h2 {
  font-family: var(--global--font-secondary);
  font-weight: 500;
}

.home h2 {
  padding-bottom: 10px;
}

.home p {
  letter-spacing: .8px;
}

.home h1, .home h3 {
  font-family: var(--global--font-primary);
  font-size: 16px;
  font-weight: 100;
  text-transform: uppercase;
  padding-bottom: 50px;
}

body #page .banner {
  height: 35vw !important;
}

.home .banner-logo {
  margin-bottom: 60px;
}

.content-one {
  margin: 0 auto;
  max-width: calc(930px + (var(--global--gutter-padding) * 2));
  padding: 125px var(--global--gutter-padding) 115px;
}

.content-one .main-button {
  margin-top: 40px;
}

.dentistry-section {
  background: #d4d5da;

}
.family-section{
	background:white;
}
.dentistry-section h2, .dentistry-section h1, .dentistry-section p {
  text-align: left;
  max-width: 638px;
}

.dentistry-section .left-img, .family-section .right-img {
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  height: 395px;
  width: 100%;
}

.dentistry-section .content {
  padding: 93px var(--global--gutter-padding) 75px;
}

.dentistry-section .secondary-button {
  margin: 30px auto 0 0;
}

.care-section {
  background: #000 url('https://dentistinsanmarcostx.com/wp-content/uploads/2022/12/dentist-san-marcos-bg-1.png') no-repeat center/cover;
  padding: 180px 0 158px;
}
.contact-section *{
	color:white !important;
}
.care-section .content {
  color: var(--global--color-white);
  margin: 0 auto;
  max-width: calc(930px + (var(--global--gutter-padding) * 2));
  padding: 0 var(--global--gutter-padding);
}
.care-section .content > *, .care-section .content span{
	color:white !important;
}
.care-section .secondary-button {
  margin-top: 40px;
}

.family-section .content {
  padding: 129px var(--global--gutter-padding) 150px;
}

.family-section .wrapper {
  max-width: 638px;
  margin: 0 0 0 auto;
}

.family-section h2, .family-section h1, .family-section p {
  text-align: left;
}

.family-section .secondary-button {
  margin: 50px auto 0 0;
}

.dental-section {
  background: url('https://dentistinsanmarcostx.com/wp-content/uploads/2023/01/dentist-san-marcos-banner-header-scaled.jpg') no-repeat center/cover;
  padding: 175px 10px 142px;
}

.dental-section .content {
  background: rgba(255,255,255,.75);
  margin: 0 auto;
  max-width: 1160px;
  padding: 45px 15px 40px;
}

.dental-section .main-button {
  margin-top: 30px;
}

.reviews-section {
  background: #d4d5da;
  padding: 60px 20px 55px;
}



.reviews-section .reviews {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0 10px;
}

.reviews-section .review {
  background: var(--global--color-white);
  font-family: var(--global--font-secondary);
  font-weight: 900;
  max-width: 345px;
  margin: 0 30px 70px;
  padding: 78px 30px 30px;
  position: relative;
  width: 100%;
}

.reviews-section .review:before {
  background: url('assets/images/google-ico-dentist-piqua.png');
  content: '';
  display: block;
  position: absolute;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: -54.5px;
  height: 109px;
  width: 109px;
}

.social-section {
  padding: 55px 20px ;
  overflow: hidden;
}

.social-photos .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.social-photos img {
  align-self: center;
  display: block;
  margin: 0 10px 40px;
  width: 43%;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0 0;
}

.social-icons a {
  background: #1a2640;
  height: 104px;
  width: 104px;
  margin: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover, .social-icons a:focus {
  -webkit-animation: swing 1s ease;
  animation: swing 1s ease;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.social-icons .facebook span {
  background: url('assets/images/facebook-ico-dentist-piqua.png') no-repeat center;
  display: block;
  height: 50px;
  width: 26px;
}

.social-icons .instagram span {
  background: url('assets/images/instagram-ico-dentist-piqua.png') no-repeat center;
  display: block;
  height: 51px;
  width: 50px;
}

/* blog */
.entry-meta {
  padding: 0 0 15px;
}

.single .entry-content {
  padding: 0 0 30px;
}

.entry-footer > span {
  display: block;
  padding: 0 0 10px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-links > div {
  flex-basis: 45%;
}

.nav-links .nav-next {
  text-align: right;
}

.blog article, .archive article, .search article {
  border-bottom: 2px solid;
  margin: 0 0 40px;
  padding: 0 0 20px;
}

.blog article:last-of-type, .archive article:last-of-type, .search article:last-of-type {
  border: 0;
}

.blog .post-thumbnail, .archive .post-thumbnail, .search .post-thumbnail {
  display: block;
  padding: 0 0 20px;
}

/* search */
#searchform {
  display: flex;
}

.search-field {
  width: 60%;
}

input[type="submit"].search-btn {
  border: 0;
  background: transparent;
  color: #fff;
  width: 100%;
  padding: 0;
  height: 100%;
}

/* Invisalign Smile Simulator */
.invisalign-smile-simulator h3 a{
	text-decoration: none;
	color: #fff!important;
}
/* End Invisalign Smile Simulator */
@media only screen and (max-width:1176px){
	.services > *{
		flex-basis:30% !important;
	}
}


@media only screen and (min-width: 480px) {

}
@media only screen and (max-width: 768px) {
	.copyright li{
		text-align:center !important;
		display:inline !important;
	}
.social-header a {
  margin: 0 15px 0 0!important;
  transform: scale(.4)!important;
}
}
@media only screen and (min-width: 768px) {
  :root {
    --global--gutter-padding: 30px;
  }

  .site-header .wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 216px;
  }

  .site-header .logo {
    width: 340px;
	  max-width:100%;
  }
  
  .site-header .fixed .logo {
    width: 100px;
    margin: 20px auto 10px;
  }
  
  .site-header .fixed .wrapper {
    height: 119px;
  }
  
  .site-header .wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .burger {
    position: static;
  }

  .nav-wrapper {
    top: auto;
    margin: 15px 0 0;
  }

  .contact-section {
    display: flex;
    justify-content: center;
  }

  .contact-section .map {
    flex-basis: 591px;
    height: inherit;
    margin: 0;
  }

  .contact-section .content {
    padding: 0 50px;
  }
  
  .news-section {
    padding: 70px 35px 85px;
  }

  .services .service {
    margin: 0 28px 50px;
  }

  .dentistry-section, .family-section {
    display: flex;
  }

  .dentistry-section .left-img, .family-section .right-img {
    flex-basis: 41%;
    height: inherit;
  }

  .dentistry-section .content, .family-section .content {
    flex-basis: 59%;
  }

  .family-section .right-img {
    order: 2;
  }

  .dental-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dental-section .content {
    padding-left: 55px;
    padding-right: 55px;
  }
  
  .social-photos img {
    margin: 0 22px 40px;
    width: auto;
  }
}


@media only screen and (min-width: 960px) {
  :root {
    --global--h2: 36px;
    --global--h3: 32px;
    --global--gutter-padding: 50px;
  }

  .desktop { display: block}
  .mobile { display: none;}

  h1 {
    padding: 0 0 85px;
  }

  .dentist-info {
    font-family: var(--global--font-secondary);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .8px;
    text-align: center;
    padding: 30px 0 25px;
    text-transform: uppercase;
	  background-color:#1a2640;
  }

  .dentist-info li, .dentist-info a {
    color: var(--global--color-white);
  }

  .dentist-info li {
    display: inline-block;
  }

  .dentist-info li:after {
    content: '|';
    display: inline-block;
    padding: 0 5px;
  }

  .dentist-info li:last-child:after {
    display: none;
  }

  .nav-wrapper {
    width: 500px;
  }

  .site-header .wrapper {
    max-width: calc(1550px + (var(--global--gutter-padding) * 2));
    margin: 0 auto;
  }

  .social-header a {
    transform: scale(1);
  }
  
  .social-header a:hover, .social-header a:focus{
    -webkit-animation: swing 1s ease;
    animation: swing 1s ease;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
  }

  
  .contact-section .map {
    flex-basis: 582px;
    max-width: 582px;
  }

  .contact-section .content {
    padding: 0 60px;
  }

  .news-section {
    padding: 65px 0 80px;
  }

  .site-main {
    padding-top: 128px;
    padding-bottom: 150px;
  }
  
  .services .service {
    margin: 0 42px 75px;
  }

  /* home */
  .banner {
    height: 35vw!important;
  }
  
    .home .banner-logo {
      margin-bottom: 100px;
    }

  .content-one {
    padding-top: 250px;
    padding-bottom: 230px;
  }

  .dentistry-section .content {
    padding-top: 190px;
    padding-bottom: 150px;
  }

  .family-section .content {
    padding-top: 258px;
    padding-bottom: 130px;
  }

  .dental-section {
    padding: 80px 20px 80px;
  }

  .dental-section .content {
    padding: 90px 110px 80px;
  }

  .reviews-section {
    padding: 130px 0 120px;
  }

  .social-section {
    padding: 110px 0;
  }

  /* blog */
  .blog .entry-content, .archive .entry-content, .search .entry-summary {
    display: flex;
    justify-content: space-between;
    padding: 0 0 20px;
  }

  .blog .post-thumbnail, .archive .post-thumbnail, .search .post-thumbnail {
    flex-basis: 30%;
    padding: 0 20px 0 0;
  }

  .blog p, .archive p, .search .post-thumbnail + p {
    flex-basis: 70%;
  }
}

@media only screen and (min-width: 1248px) {
  .banner {
      background-position: center 0;
	  height:38vw !important;
    }
  .thumbnail-content .post-thumbnail {
    max-width: 488px;
  }

  .contact-section .content {
    padding: 0 195px;
  }

  .services .service {
    margin: 0 58px 100px;
  }
  

  /* blog */
  .blog article, .archive article, .search article {
    margin-bottom: 40px;
  }
}
@media only screen and (max-width:769px){
	.services > *{
		flex-basis:100% !important;
	}
	.services > .service{
		align-items:center !important;
	}
}