/*
    Theme Name: Theriot
    Description: Custom Theme for Dr. Theriot
    Author: Infinity Dental Web
    Author URI: https://www.infinitydentalweb.com/
    Version: 1.0
 	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

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

  body {
    max-width: 100%;
  }
  
  /**
   * 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.
   */
  
  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;
  }
  
  /* 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;
  }



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

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

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

section, .wrap {
	position: relative;
	margin:0 auto;
}

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

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

figure {
  margin: 0;
}

.content .gform_fields li {
  padding-left: 0;
}

.gfield {
  line-height: 1.5;
}

.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
--------------------------------------------*/
a.button-header{
  line-height: 1.4rem;
  padding: 2.5rem 1.5rem !important;
}


  

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

}

.headerVideo{
  width: 100%;
  height: 100%;
}

.headerVideo:after{
  position: absolute; content: ''; display: block; top: 0; left: 0; height: 100%; width: 100%;
  background: rgba(112, 55, 200, 0.25);
  mix-blend-mode: multiply
}

.site-header {
  position:relative;
  overflow: hidden;
}
header { 
	display: block;
	width: 100%;
	margin: 0;
	height: 200px;
	background: #a7a7a7;
	transition:all .6s ease;
	position: fixed;
  background:transparent;
  z-index: 2;
}

header.stuck {
	position: fixed;
	top:0;
	z-index:10;
}

.listing-item .image{
  float: left;
  margin: 0 1rem 1rem 0;
}

.listing-item{
  margin-bottom: 5rem !important;
}

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

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 {
	overflow:hidden;
	position:absolute;
	right: 3rem;
	top: 50%;
	transform: translateY(-50%);	
}


/* Responsoive Nav
------------------------------------- */

.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: 1s all 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;
}

.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 1em;
    margin: 0!important;
    box-shadow: none;
    display: none;
}

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



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

.item {
  width:100%; 
}

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



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

.switcher-content div {
  display:none;
}

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


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

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

.icon {
  width:24px;
  height:24px;
}

/* Custom Play Button SVG Styles */
.custom-play-button {
    transition: all 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.custom-play-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

.custom-play-button circle {
    transition: stroke 0.3s ease;
}

.custom-play-button polygon {
    transition: fill 0.3s ease;
}

.custom-play-button:hover circle {
    stroke: rgba(255,255,255,1);
}

.custom-play-button:hover polygon {
    fill: rgba(255,255,255,1);
}


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

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



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

}



/* Menu breakpont */
@media screen and (max-width:1280px){
	:root {
		--resp-header-height: 160px;
	}

	.site-header, header {
		height: var(--resp-header-height);
	}
	.wrap {
		padding: 0 4.8rem;
	}

  
  .site-header .nav-secondary {
    text-align: center;
  }

	

	.menu-icon, .stuck .menu-icon {
		display: block;
	}
	
}



/* iPad, tablet Vertical */
@media screen and (max-width:1023px){
    .wrap {
      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%;
    }

    .office-tour-slider .item {
      display: flex;
      justify-content: center;
    }
    .office-tour-slider .item img {
      max-width: 350px;
      height: 388px;
    }

}



/* Phone vertical */
@media screen and (max-width:767px){
  .wrap {
		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;
  }

}
.tags p, .tags a {
  font-size: 1.2rem;
  line-height: 2.4rem;
}
.tags p {
  margin-bottom: 0;
}

.page-id-1063 .content ul li::before{
  display: none;
}

.office-tour-slider .owl-nav.disabled {
  display: flex!important;
}
.office-tour-slider .owl-nav {
  display: flex;
  justify-content: center;
}
.office-tour-slider .owl-nav button.owl-next {
  font-size: 5rem;
  line-height: 1;
  padding: 0 2rem 1rem !important;
  margin: 0 .5rem;
  background-color: rgba(0, 0, 0, .3);
}
.office-tour-slider .owl-nav button.owl-next {
  font-size: 5rem;
}
.office-tour-slider .owl-nav {
  margin: 1rem 0;
}

@media screen and (min-width: 1023px) {
  .office-slider-container {
    max-width: 600px;
    position: relative;
    height:470px;
    overflow: hidden;
  }
  
  .office-slider-container:before {
    content:"";
    position: absolute;
    left:0;
    top:0;
    bottom:0;
    width:24.9%;
    background:rgba(255,255,255,.75);
    z-index: 5;
  }
  
  .office-slider-container:after {
    content:"";
    position: absolute;
    right:0;
    top:0;
    bottom:0;
    width:24.9%;
    background:rgba(255,255,255,.75);
    z-index: 5;
  }
  /* .office-tour-slider .owl-item {
    max-width: 380px;
  } */
  
  .office-slider-container .owl-stage-outer {
  
  }
  
  .office-tour-slider {
    transform: scale(1.5);
    position: relative;
    top: 10%;
  }
}