/*! 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; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
    min-height: 100vh;
    scroll-behavior: smooth;
    line-height: 1.5;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
    position: relative;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
    box-sizing: border-box;
  }

  a:not([class]) {
    text-decoration-skip-ink: auto;
  }
  
  /**
   * 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; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * 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;
    max-width: 100%;
  }
  
  /* 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; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    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; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * 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; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * 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; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* 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;
  }

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


/*
---------- IDW Utilities ------------------------------------- */

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    overflow: hidden;
    width:100%;
    max-width:1920px;
    margin:0 auto;
}

.sr-only {
  display:none;
}

.visually-hidden { 
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute !important;
  height: 1px; 
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
  clip: rect(1px, 1px, 1px, 1px); /*maybe deprecated but we need to support legacy browsers */
  clip-path: inset(50%); /*modern browsers, clip-path works inwards from each corner*/
  white-space: nowrap; /* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
}

main {
  position: relative;
  transition:all .5s ease;
}

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

section, div, aside {
	box-sizing:border-box;
}

figure {
  max-width:100%;
}

aside ul {
  list-style: none;
  padding: 0;
}

section, .container, .container-wide, .container-fullwidth {
	position: relative;
	margin:0 auto;
}

.container {
	width: 100%;
	max-width: 1440px;
  padding:0 60px;
  margin:0 auto;
}

.row-flex {
  display:flex;
  flex-direction:row;
  justify-content:space-between;
}

.container-wide {
	width: 100%;
	max-width: 2040px;
  padding:0 60px;
  margin:0 auto;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
}

.container-fullwidth {
	width: 100%;
	max-width: 100%;
  padding:0 60px;
  display:flex;
  flex-direction:row;
  justify-content:space-between;
}

figure {
  margin: 0;
}

/* gravity forms */
.content .gform_fields li {
  padding-left: 0;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), textarea {
  border: 1px solid #c6c6c6;
  padding: 1rem;
}


/* Header & Logo Area
--------------------------------------------*/
header { 
    display: block;
    width: 100%;
    margin: 0;
    height: 200px;
    background: #fff;
    transition:all .6s ease;
    position:relative;
    background:transparent;
}

header.stuck {
    position: fixed;
    top:0;
    z-index:2;
    background: #fff;
}

.logo {
	position:absolute;
	left: 3rem;
	top: 50%;
	transform: translateY(-50%);
}


/* Menu
------------------------------------- */
nav { transition:all 1s ease; box-sizing:border-box; }
nav ul { list-style:none; padding:0; }
nav ul { display: flex; }
nav ul li { }
nav ul li a { }
nav ul li a:hover, nav ul li.current-menu-item { }

.nav-primary {
	position:absolute;
	right: 3rem;
	top: 50%;
	transform: translateY(-50%);
}

.nav-secondary {
  display: none;
}

.nav-secondary a {
	line-height: 3rem;
}

.menu li {
  position: relative;
}

.menu li a {
  padding: 1.5rem 1rem;
  text-decoration: none;
}

.sub-menu {
	background-color: #fff;
	position: absolute;
	top: 36px;
	left: -9999px;
	z-index: 2;
	width: 180px;
	box-shadow: 0 0 50px rgba(0,0,0,.08);
	border-radius: 0 0 10px 10px;
	display: block;
}

.sub-menu li {
	display: block;
	padding: 0;
  margin: 0;
}

.sub-menu li a {
	padding: 1.2rem 2rem;
	display: block;
	line-height: 2rem;
  transition: all .7s ease;
  color: #222;
}

li.sub-menu-open > .sub-menu {
  opacity: 1;
  left: 0;
}

.sub-menu .menu-item-has-children.sub-menu-open .sub-menu {
	top: 1rem;
	left: 180px;
}

/* Responsive Nav Icons
------------------------------------- */

.menu-icon {
	display: none;
	position: absolute;
	right: 3rem;
	top: 3rem;
}

.menu-icon .icon {
  position: relative;
  width: 40px;
  height: 29px;
  cursor: pointer;
}

.icon .bar {
  /* display: inline-block; */
  width: 100%;
  height: 2px;
  background: #8984c1;
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
  float: left;
  transition: all 0.5s ease;
}

.icon .bar.first { top:0; }
.icon .bar.middle { top: 50%; width: 85%;}
.icon .bar.last { top: 100%; }

.open .bar.first {
  top: 50%; transform:rotate(45deg);
}

.open .bar.middle {
  display: none;
}

.open .bar.last {
  top: 50%; transform:rotate(-45deg);
}

.stuck .menu-icon {
  display: none;
}

.phone-icon {
	display: none;
	position: absolute;
	right: 3rem;
	top: 3rem;
  width:40px;
  height:40px;
}

.phone-icon a {
  border: none;
  padding: 0;
}


/* Responsive Video 
------------------------------------- */

.video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video iframe, .video-4-3 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-4-3 {
    position: relative;
    padding-bottom: 75%; /* 4:3 */
    height: 0;
}


/* Modal Overlays 
--------------------------------------*/

.idw-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    top: 0;
    left: 0;
    z-index: 99991;
    display: none;
}

.idw-modal {
    position: fixed;
    width: 1000px;
    max-width: 100%;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99992;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1em 5em;
    margin: 0!important;
    box-shadow: none;
    display: none;
}

.idw-modal-close {
    position: absolute;
    right: .5em;
    top: 0;
    font-size: 2em;
    cursor: pointer;
}



/* General Slider Styles 
---------------------------------------------------------*/
.slider {
  width:100%;
  overflow: hidden;
}

.owl-stage {
    display: flex;
    align-items: stretch;
    padding: 0;
    text-align:center;
}

.owl-item {
    display: flex;
    flex: 1 0 auto;
    background-color: transparent;
    padding: 0;
    width:100%;
}

.owl-nav.disabled {
  display: none;
}



/* Simple Text Switcher
---------------------------------------------------------------------------------------------------- */

.switcher-content div {
    display:none;
}

.switcher-content div.active {
    display: block;
}



/* Icons
----------------------------------------------------------------------------------------------------- */
i.icon {
  background-size: contain;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
}

.i-amazon{
  background-image:url('https://infinitydentalweb.com/assets/icons/amazon.svg');
}

.i-facebook {
  background-image:url('https://infinitydentalweb.com/assets/icons/facebook.svg');
}

.i-facebook-f {
  background-image:url('https://infinitydentalweb.com/assets/icons/facebook-f.svg');
}

.i-google {
  background-image:url('https://infinitydentalweb.com/assets/icons/google.svg');
}

.i-instagram {
  background:url('https://infinitydentalweb.com/assets/icons/instagram.svg?1');
}

.i-linkedin {
  background-image:url('https://infinitydentalweb.com/assets/icons/linkedin.svg');
}

.i-twitter {
  background-image:url('https://infinitydentalweb.com/assets/icons/twitter.svg');
}

.i-yelp {
  background-image:url('https://infinitydentalweb.com/assets/icons/yelp.svg');
}


.i-camera {
  background-image:url('https://infinitydentalweb.com/assets/icons/camera-solid.svg');
}

.i-file {
  background-image:url('https://infinitydentalweb.com/assets/icons/file-video-solid.svg');
}

.i-calendar {
  background-image:url('https://infinitydentalweb.com/assets/icons/calendar-alt-solid.svg');
}

.i-youtube {
  background-image:url('https://infinitydentalweb.com/assets/icons/youtube.svg');
}

.i-map {
  background-image:url('https://infinitydentalweb.com/assets/icons/map-marker-alt-solid.svg');
}

.i-patreon{
  background-image:url('https://infinitydentalweb.com/assets/icons/patreon.svg');
}

.i-phone {
  background-image:url('https://infinitydentalweb.com/assets/icons/phone-alt-solid.svg');
}

.i-search{
  background-image:url('https://infinitydentalweb.com/assets/icons/search.svg');
}

.i-star{
  background-image:url('https://infinitydentalweb.com/assets/icons/star.svg');
}

.i-tiktok{
  background-image:url('https://infinitydentalweb.com/assets/icons/tiktok.svg');
}

.i-desktop {
  background-image:url('https://infinitydentalweb.com/assets/icons/desktop-solid.svg');
}



/* Utility
---------------------------------------------------------------------------------------------------- */
html.no-scroll {
  margin: 0;
  height: 100%;
}

.desktop {
    display: inline-block;
}

.tablet-down, .mobile-only {
    display: none!important;
}

.disabled {
  display: none!important;
}

.entry-author {
    display: none;
}

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

.alignleft {
    float: left;
    margin-right: 2.4rem;
    margin-bottom:3.6rem;
}

.alignright {
    float: right;
    margin-left: 2.4rem;
    margin-bottom:3.6rem;
}

.aligncenter {
  margin:0 auto;
}

.page-content p:after {
    content:"";
    display: block;
    clear: both;
    float: none;
}

.page-content .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.one-half { width: 100%; max-width:48%; }
.one-third { width: 100%; max-width: 31%; }
.one-fourth { width: 100%; max-width:23%; }
.one-sixth { width: 100%; max-width:15%; }
.two-thirds { width: 100%; max-width: 67%; }
.three-fourths { width: 100%; max-width:75%; }

.row-flex {
  display: flex;
  align-items: space-between;
  justify-content: space-between;
  flex-wrap: wrap;
}

.col-2 {
  width: 100%;
  max-width: 48%;
}

.col-3 {
  width: 100%;
  max-width: 31%;
  margin-bottom: 3rem;
}

.col-4 {
  width: 100%;
  max-width: 23%;
}

/* flex utilities */
.fwrap {
  flex-wrap: wrap;
}

.ai-center {
  align-items: center;
}

.ai-stretch {
  align-items: stretch;
}

.jc-start {
  justify-content: flex-start;
}

.jc-end {
  justify-content: flex-end;
}

.fit-cover {
  height:100%;
  object-fit:cover;
}


.prev-slide, .next-slide {
  width: 34px;
  position: relative;
  display: inline-block;
  border: none;
  height: 14px;
  margin-right: 1rem;
}

.round {
	border-radius: 50%;
}

.bg-gray {
  background: #e6e6e6;
}

.prev-slide:hover, .next-slide:hover {
  border: none;
}

.prev-slide:after, .next-slide:after {
  content: "";
  height: 1px;
  background-color: #505050;
  right: 0;
  top: 50%;
  width: 27px;
  position: absolute;
}

.arrow-prev {
    width: 0; 
    height: 0; 
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent; 
    border-right: 7px solid #505050;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.next-slide {
  width: 94px;
  margin-left: 1rem;
  margin-right: 0;
}

.next-slide:after {
  left: 0;
  width: 87px;
}


.arrow-next {
  width: 0; 
  height: 0; 
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent; 
  border-left: 7px solid #505050;
  display: block;
  position: absolute;
  right: 0;
  top:0;
}

.services .slidenumber {
  width: .6rem;
  display: inline-block;
}


/* social blog */
.blog-content {
  width: 920px;
}

.blog-sidebar {
  width: 320px;
}

.blog-listing article {
  display:flex;
  justify-content: space-between;
  margin-bottom: 4.8rem;
}

.blog-listing .img-container {
  width: 33%;
}

.blog-listing .content-container {
  width: 64%;
}

.nav-previous, .nav-next {

}

.content .content-col-2 {
  max-width:48%;
  width:100%;
  text-align:center;
}

.content .content-col-2 img, .content .content-col-2 figure {
  width:100%!important;
  height:auto;
}

.content .content-col-3 {
  max-width:31%;
  width:100%;
  text-align:center;
}

.content p, .content ul, .content h2, .content h3, .content h4 {
  width:100%;
}

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




/*
---------- MEDIA QUERIES -----------------------*/

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* iPad, tablet Horizontal */
@media screen and (max-width:1319px){
	.container {
		padding: 0 4.8rem;
	}
}


@media screen and (max-width:1279px){

}


/* iPad, tablet Vertical */
@media screen and (max-width:1023px){

    .container, .container-wide, .container-fullwidth { 
        padding: 0 3.6rem; 
    }

    .desktop {
        display: none!important;
    }
    
    .tablet-down {
        display: initial!important;
    }

    .page-content .row {
        flex-wrap: wrap;
    }

    .one-half { width: 100%; max-width:48%; }
    .one-third { width: 100%; max-width: 31%; }
    .one-fourth { width: 100%; max-width:48%; }
    .one-sixth { width: 100%; max-width:31%; }
    .two-thirds { width: 100%; max-width: 67%; }
    .three-fourths { width: 100%; max-width:48%; }

    .col-2 {
      width: 100%;
      max-width: 48%;
    }
    
    .col-3 {
      width: 100%;
      max-width: 31%;
    }
    
    .col-4 {
      width: 100%;
      max-width: 48%;
    }

    .alignleft, .alignright {
        width:100%;
        max-width: 48%;
    }

    .alignleft {
      margin-right:20px;
    }

    .alignright {
      margin-left:20px;
    }

}



/* Phone vertical */
@media screen and (max-width:767px){
  
    .container { 
        padding: 0 2rem; 
    }

    .mobile-only {
        display: block;
    }

    /* all columns to full width */
    .one-half,.one-third, .one-fourth, .one-sixth, .two-thirds, .three-fourths, .col-2, .col-3, .col-4, .content-col-2, .content-col-3 { 
        width:100%;
        max-width: 100%;
    }

    .alignleft, .alignright, .alignleft img, .alignright img {
        width:100%;
        max-width: 100%;
        float: none;
        clear: both;
        margin-left:0;
        margin-right:0;
    }

    .content .content-col-2, .content .content-col-3 {
        text-align:center;
    }
  
}