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

/* run this command in your terminal to minify custom-1.js and style.css: gulp minify */

/* 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;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * 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;
  }
  
  /**
   * 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.
   */
  

  
  /**
   * 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%;
    height: auto;
  }
  
  /* 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;
    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 */
    appearance: textfield;
    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;
  }



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

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

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

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

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

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

.container {
	width: 100%;
	max-width: 1320px;
}

.container-wide {
	width: 100%;
	max-width: 1920px;
}

.container-fullwidth {
	width: 100%;
	max-width: 100%;
}

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

/* These classes are too intrusive, copy to local stylesheet if needed */

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

nav { transition:all 0.5s 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: 30rem;
	top: 50%;
	transform: translateY(-50%);	
}

.nav-secondary {
 display: none;
}

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


/* Menu
------------------------------------- */
/* .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;
	display: none;
	width: 220px;
	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;
  color: #505050;
}

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

.menu-item-has-children:hover > .sub-menu {
	opacity:1;
	left: 0;
}

.sub-menu .menu-item-has-children {
  position: relative;
}



.sub-menu .menu-item-has-children:hover > .sub-menu {
	top: 1rem;
	left: 220px;
} */


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

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

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

.icon .bar {
  display: 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%; transform:translateY(-50%); width: 85%; }
.icon .bar.last { bottom: 0; top:auto; }

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

.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 
---------------------------------------------------------*/

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

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

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

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

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

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

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

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


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

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

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

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


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

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

.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-row {
  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%;
}

.fwrap {
  flex-wrap: wrap;
}

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

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

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

.staff-container {
  /* display:flex;
  justify-content: space-between;
  align-items:center;
  column-gap:2rem; */
  margin-top: 5rem;
}
.staff-container_header {
  display: flex;
}
.staff-container_header h3, .staff-container_header h4 {
  margin: 0;
}
.staff-container_header h3:after {
  content: "\00a0-\00a0";
}
.staff-container_body {
  margin-top: 2rem;
  display: flow-root;
}

.staff-img {
  width:100%;
  max-width:35%;
  /* margin-right:5%; */
  float: left;
  margin: 0 2rem 0 0;
}
.staff-img img {
  display: block;
}

.staff-container:nth-child(2n+2) .staff-img {
  /* order:2; */
  /* margin:0; */
  /* margin-left:5%; */
  float: right;
  margin: 0 0 0 2rem;
}

.staff-bio {
  width:100%;
  max-width:100%;
  text-align: justify;
}

.staff-bio h3 {
  padding-top:0;
  margin:0;
}

.staff-bio h4 {
  margin-top:0;
}

.item {
  width:100%;
}

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

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



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

}


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

  
    .container {
      padding: 0 4.8rem;
    }

    .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%;
        margin-left: 0;
        margin-right: 0;
    }

}



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

    .mobile-only {
        display: block;
    }

    .one-half,.one-third, .one-fourth, .one-sixth, .two-thirdsm .three-fourths  { width:100%; }

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

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

}