/*!
Theme Name: Dhari Alhareth 2023
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: 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
   ========================================================================== */
.service-icon img:nth-child(3){
	display:none !important;
}
.service-box:hover img:nth-child(3){
	display:block !important;
	margin:0 auto !important;
}
.service-box:hover img:nth-child(1){
	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;
}

/* 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%;
}

/* 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: '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: 'Josefin Sans', 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;
  text-align: center;
}

h1,h2,h3,h4,h5 {
  font-weight: 600;
  padding: 0 0 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

h2 {
  font-size: var(--global--h2);
}

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, .welcome-btn a {
  background: #fff;
  color: #2d3133;
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 auto;
  max-width: 395px;
  overflow: hidden;
  padding: 8px 0 4px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s linear;
  width: 100%;
  border: 3px solid #fff;   
}

.main-button:hover, .welcome-btn a:hover {
  background-color: #2d3133;
  color: #fff;
  text-decoration: none;
}

.secondary-button, .banner-btn a {
  background: #2e3133;
  color: #fff;
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 19px;
  letter-spacing: 1.2px;
  max-width: 395px;
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 0 4px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s linear;
  width: 100%;
  border: 3px solid #2d3133;	
}

.secondary-button:hover, .banner-btn a:hover {
  background: #fff;
  color: #2e3133;
  text-decoration: none;
}
.wp-block-button.banner-btn, .wp-block-button.welcome-btn {
    width: 100%;
}
.welcome-btn a{
	border-color: #2d3133;
}
.banner-btn a {
    margin-left: 0;
}
/* header */
.social-header .facebook, .social-header .instagram {
    display: none;
}
.site-header {
  background: var(--global--color-black);
  color: var(--global--color-white);
}

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


.site-header .top-wrapper.fixed {
  background: var(--global--color-black);
  position: fixed;
  width:100%;
  z-index: 90;
}


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


.site-header .wrapper {
  padding: 10px var(--global--gutter-padding);
  position: relative;
}

@-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('assets/images/phone-ico-dentist-piqua.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;
  margin: 20px auto 10px;
  width: 80px;
}

/* 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: var(--global--color-white);
  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;
}

.banner {
  background: #9c9e99 url('http://dhari.identitydentalwebsites.com/wp-content/uploads/2023/01/Dentist-Mesa-banner.png') no-repeat center 40%/cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 272px;
  padding: 0 var(--global--gutter-padding) 38px;
}

.banner-logo {
  margin: 0 auto 20px;
}
.site-header {
    background: #fff !important;
    color: #000 !important;
}	
.dentist-info {
    padding: 16px 0 15px !important;
    text-transform: capitalize !important;
    background-color: #2e3133 !important;
}	
.site-header .top-wrapper.fixed {
	background: #fff !important;}	
.burger>div {
	background: #000 !important;}	
.site-header .logo {
    width: 307px !important;
	transform: translateY(-50%);
    margin: 0 auto !important;
	top: 50% !important;
}	
.site-header .wrapper {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
    height: 300px !important;
}	
.site-header .fixed .wrapper {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    height: 130px !important;
	box-shadow: 0px 0px 11px #00000024;
}	
.site-header .fixed .logo {
    width: 170px !important;
    transform: translateY(-50%);
    margin: 0 auto;
    top: 50% !important;
}	
/* 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 { 
  padding: 65px var(--global--gutter-padding);
}

.news-section h3, .home .news-section h3 {
    font-size: 45px;
    font-weight: 600;
    letter-spacing: 3px;
    padding: 0;
    text-align: center;
    font-family: 'Antic Didone' !important;
	    text-transform: uppercase;
}


.news-section h4 {
  font-family: josefin sans,sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;	
  padding-bottom: 50px;	
}
.news-section .blog-post img {
    display: none;
}
.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%;
}
.blog-post .post-data p {
    letter-spacing: 0 !important;
}
.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: #2e3133;
  color: var(--global--color-white);
  display: flex;
  font-size: 16px;
  letter-spacing: .8px;
  padding: 8px 7px 7px;
  font-family: 'Josefin Sans';
  font-weight: 400;
}

.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: #e9ecec;
  color: var(--global--color-black);
  display: block;
  flex-grow: 1;
  padding: 30px 20px 40px;
  text-decoration: none;
  font-family: 'Josefin Sans';	
  text-transform: none;
  font-weight: 600;	
}

.blog-post .title {
  font-size: 18px;
  font-family: var(--global--heading-font-family);
  padding: 0 0 20px;
}
.blog-post .title:hover {
    color: #576e5e;
}
.site-footer .contact-section a:hover {
    color: #2e3133;
}

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

.contact-section {
  background:var(--global--color-black);
  color: var(--global--color-white);
  padding: 65px 20px 70px;
}

.contact-section .map {
  background: url('assets/images/map-dentist-piqua.jpg') no-repeat center/cover;
  height: 270px;
  max-width: 291px;
  margin: 0 auto;
}

.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: 0px;
      font-family: 'Antic Didone' !important;	
  font-size: 45px;
	letter-spacing: 5.5px;
}

.contact-section h3 {
  font-weight: 500;
  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;
}
.footer-logo {
    display: flex;
    justify-content: center;
    padding: 65px 0;
    background: url(/wp-content/uploads/2022/12/bg-img3.jpg);
	background-size: cover;
	background-position: center;
}
.footer-logo img{
	margin: 0 20px;
}
.copyright {
    text-decoration: none;
    background: #2e3133;
    color: var(--global--color-white);
    font-family: 'Josefin Sans';
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    padding: 35px var(--global--gutter-padding) 30px;
    text-transform: none;
}

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

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

.copyright a {
  color: var(--global--color-white);
  text-decoration: none;	
}
.copyright a:hover {
    color: #647b6c;
}
.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: 203px; 
  width: 203px;
  margin: 0 15px 25px;
  text-decoration: none;
}

.services .service:hover {
  background: #fff url('assets/images/services-logo-dentist-piqua.png') no-repeat center;
}

.services .service:hover > * {
  display: none;
}

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

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

/* homepage */

.home {
  text-transform: uppercase;
}
.page-id-6 .banner-inner {
    display: none;
}
.home p, .home h2 {
  font-family: var(--global--font-secondary);
  font-weight: 900;
}

.home h2 {
  padding-bottom: 10px;
}
.home .welcome-sec {
    max-width: 100% !important;
    padding: 0 !important;
}
.home .wp-block-cover h2 {
    font-size: 55px;
    text-align: inherit;
    line-height: 1.3;
    margin-bottom: 50px;
}
.welcome-sec .wp-block-cover__inner-container {
    max-width: 1920px;
    padding: 0 50px;
}
.wp-block-button.welcome-btn {
    margin-top: 65px !important;
}
.wel-sec {
    max-width: 1020px;
    margin: 0 auto !important;
    padding: 100px 0 130px;
}
.home p {
  letter-spacing: .8px;
}

.home h1, .home h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;	
  padding-bottom: 50px;
  }

.home .banner {
  height: 215px;
}

.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;
  border-color: #2d3133;
}
.services-width {
    max-width: 1500px;
    margin: 0 auto !important;
    padding: 90px 15px 70px;
}
.service-box {
    width: 200px;
    height: 200px;
    text-align: center;
    border: 3px solid #fff;
    border-radius: 50%;
	transition: all 0.3s ease;
	 
}
.service-box a {
    text-decoration: none;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}
.service-icon {
    position: relative;
    margin-bottom: 10px;
}
.service-icon img+img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
	opacity: 0;
    transition: all 0.3s ease;
}
.service-box p {
    padding: 0 22px;
    color: #fff !important;
    font-size: 22px !important;
 }
.service-box:hover {
    background-color: #fff;
 }
.service-box:hover p {
    color: #647b6d !important;
}
.service-box:hover .service-icon img+img {
	opacity: 1;
}








.dentistry-section{
  background: #bec4c6;
  color: var(--global--color-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://cosmeticdentistinmesa.com/wp-content/uploads/2025/01/Layer-9-1.png') no-repeat center/cover;
  padding: 180px 0 158px;
      background-attachment: fixed;	
}
.home .care-section p {
    color: #fff;
	margin-bottom: 50px;
}
.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 .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;
  padding-right: 90px;	
}

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

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

.dental-section {
  background: url('assets/images/bg-img2.jpg') no-repeat center/cover;
  padding: 175px 10px 142px;
  background-attachment: fixed;	
}

.dental-section .content {
  background: #313232;
  margin: 0 auto;
  max-width: 1160px;
  padding: 45px 15px 40px;
  color: #fff;
}
.dental-section .content p{
	color: #fff;
	 margin: 25px 0 65px;
}

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

.home .reviews-section { 
  padding: 60px 20px 55px;
  background-color: #e9ecec;
}

.reviews-section h2, .reviews-section h3 {
  color: #000;
}

.reviews-section .reviews {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0 10px;
}
.reviews-section .review {
	background-color:#e9ecec !important;
}
.home .reviews-section .review{
	      background: var(--global--color-white);
}
.reviews-section .review {

    font-family: 'Josefin Sans';
    max-width: 345px;
    margin: 0 30px 70px;
    padding: 78px 30px 30px;
    position: relative;
    width: 100%;
    text-transform: none;
    font-weight: 600;
}

.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: var(--global--color-black);
  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-piquafff.png') no-repeat center;
  display: block;
  height: 50px;
  width: 26px;
}

.social-icons .instagram span {
  background: url('assets/images/instagram-ico-dentist-piquafff.png') no-repeat center;
  display: block;
  height: 51px;
  width: 50px;
}
.content-one {
    padding-top: 140px !important;
    padding-bottom: 150px !important;
}	
.home h2 {
    padding-bottom: 0px !important;
    font-family: 'Antic Didone' !important;
    letter-spacing: 5.5px;
    font-size: 45px;
}	
.small-heading {
    font-size: 16px;
    margin: 0 0 60px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: none;
	font-weight: 500;
}	
.home p {
    letter-spacing: 1px !important;
    font-size: 16px;
    font-family: 'Josefin Sans', sans-serif;
    text-transform: none;
    color: #000;
    line-height: 24px;
	font-weight: 500;
}	
.main-button:hover {
    background-color: #2d3133 !important;
    color: #fff !important;
}	
.dentistry-section .content{
	background-color: #e9ecec !important;
	padding-left: 6% !important;
	color: #000; 
	}	
/* 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;
}
.site-footer .contact-section {
    background: url('https://cosmeticdentistinmesa.com/wp-content/uploads/2025/01/Layer-9-1.png')no-repeat 50%/cover;
    padding: 160px 0 190px;
	background-attachment: fixed;
	    align-items: center;
}
.site-footer .contact-section h3 {
    padding-bottom: 30px;
	font-family: josefin sans,sans-serif;
	text-transform: capitalize;
}
.site-footer .contact-section p {
    color: #fff;
    max-width: 100%;
    padding-bottom: 30px;
    letter-spacing: 1px!important;
    font-size: 16px;
    font-family: josefin sans,sans-serif;
    text-transform: none;
    line-height: 24px;
    font-weight: 500;
}
.site-footer .contact-section p a {
    color: inherit;
    text-decoration: none;
}
.footer-maP {
    width: 100%;
    height: 400px;
}
/* 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: 480px) {
	.home #page h2{
		font-size: 24px !important;
	}
}
@media only screen and (max-width: 768px) {
.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: space-between;
    height: 216px;
  }

  .site-header .logo {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 158px;
  }
  
  .site-header .fixed .logo {
    width: 100px;
    margin: 20px auto 10px;
  }
  
  .site-header .fixed .wrapper {
    height: 119px;
  }
	.swiper-button-next:after, .swiper-button-prev:after{
		display: none;
	}
  .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;
  }
}
.dentist-info a{
	text-decoration: none;
}

@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: josefin sans,sans-serif;
    font-size: 18px;
    letter-spacing: .8px;
    text-align: center;
    padding: 30px 0 25px;
    text-transform: uppercase;
  }

  .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;
  }

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

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

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

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

  /* home */
  .home .banner {
    height: 620px!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: 130px;
    padding-bottom: 130px;
  }

  .dental-section {
    padding: 180px 20px 190px;
  }

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

  .reviews-section {
    padding: 140px 0 110px;
  }

  .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 25%;
    }
  .thumbnail-content .post-thumbnail {
    max-width: 488px;
  }

  .contact-section .content {
    padding: 0 60px;
	flex-basis: 520px;
    max-width: 520px;  
  }

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

  /* blog */
  .blog article, .archive article, .search article {
    margin-bottom: 40px;
  }
}





/******* Custom Csss *********/

.site-header .nav-wrapper {
    height: 400px;
    overflow: scroll;
    overflow-x: hidden;
}

@media (max-width: 1500px){
	.site-header .logo {
		width: 250px!important;}
	.site-header .wrapper {
    height: 230px!important;
}
}

@media (max-width: 992px){
	.site-header .wrapper {
    padding-top: 20px!important;
    padding-bottom: 20px!important;
    height: 140px!important;
}
.site-header .logo {
    width: 130px!important;
    padding-top: 0 !important;
}	
.welcome-sec .wp-block-cover.is-light:after {
    content: '';
    position: absolute;
    background-color: #00000069;
    height: 100%;
    width: 100%;
}	
.home .wp-block-cover h2 {
    text-align: left;
    font-size:17px;
}
.banner-btn a {
    margin-right: auto;
	font-size:17px;
}	
	.wp-block-cover{
		align-items:flex-end !important;
	}
	.welcome-sec .wp-block-cover.is-light::after{
		background-color:transparent !important;
	}
.service-box {
    margin: 0 auto;
}	
	
.wel-sec {
    max-width: 100%;
    margin: 0 auto!important;
    padding: 35px 20px 55px;
}	
	.family-section .wrapper{
		padding-right: 0;
	}	
	.footer-logo img {
    width: 150px;
    height: 100%;
}
.footer-logo {
    padding: 45px 0;
    align-items: center;
}	
.site-footer .contact-section {
    padding: 80px 0;
}	
.dental-section {   
	padding: 100px 10px;}	
.care-section {   
	padding: 90px 0 100px;}	
.services-width {
    padding: 60px 15px 30px;
}	
.services-slider .swiper-button-prev, .services-slider .swiper-button-next {
    width: 30px;
    height: 30px;
    border: 5px solid #fff;
    transform: rotate(45deg);
    border-top-color: #0000;
    border-right-color: #0000;
}	
	.services-slider .swiper-button-next {
		transform: rotate(225deg);
	}	
}

@media (max-width: 767px){
.home .wp-block-cover h2 {
    font-size:12px !important;
}
	.site-header .wrapper {
    height: 122px!important;
}
.site-header .logo {
    width: 140px!important;
    margin-left: 20px !important;
    transform: unset;
}	
.social-header {
    display: none;
}	
.welcome-sec .wp-block-cover__inner-container {   
    padding: 0;
}	
.home .wp-block-cover h2 {
    font-size: 36px;
    margin-bottom: 20px;
}	
.welcome-sec .wp-block-cover.is-light {
    min-height: 450px !important;
}	
.footer-logo {
    flex-direction: column;
}	
.footer-logo img {
    width: 180px;
    margin: 10px 0;
}	
.home h2, .news-section h3, .home .news-section h3 {
    font-size: 32px;
}	
.small-heading {
   	margin: 0 0 30px;}	
.wp-block-button.welcome-btn {
    margin-top: 20px!important;
}	
.dentistry-section .content, .family-section .content {
    padding: 55px var(--global--gutter-padding)60px;
}	
.dentistry-section h2, .dentistry-section h1, .dentistry-section p,
.family-section h2, .family-section h1, .family-section p	{
	text-align: center;}	
.home h1, .home h3 {
    padding-bottom: 30px;
}	
.family-section .secondary-button {
    margin: 30px auto 0 0;
}	
.dental-section .content p {
    margin: 0px 0 25px;
}	
.social-icons a {
    height: 85px;
	width: 85px;}	
.contact-section .map {
    height: 400px;
    max-width: 90%;
}	
.contact-section .content {
    padding: 40px 0 0;
    max-width: 90%;
    margin: 0 auto;
}	
.contact-section h3, .contact-section h2, .contact-section p {
    text-align: center;
    margin: 0 auto;
}	
	.contact-section h2{
		font-size: 32px;
	}	
	
	.main-button, .welcome-btn a,
	.secondary-button, .banner-btn a,
	.copyright{font-size: 16px;}	
}
.mobile-home-banner{
	display:none !important;
}
@media only screen and (max-width:520px){
	.home .wp-block-cover h2 {
    text-align:center !important;
	}
	.banner-btn a {
    margin-right: auto;
	margin-left:auto;
}	
}
@media (max-width: 767px){ 
	
.welcome-sec .wp-block-cover.is-light {
    min-height: 320px!important;
}
	
}