/*
Theme Name: Susan Ellison Parent Theme
CurrentTheme URI: https://github.com/boomvisibility/parent-theme
Author: the Boom Visibility team
Author URI: https://www.susanellison.com/
Description: The Susan Ellison Parent Theme for WordPress customized by Boom.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.htmlText
Domain: susanellison

This theme, like WordPress, is licensed under the GPL.
*/

/* =Reset
-------------------------------------------------------------- */
/* =Colors
$primary: #144b8e;
$secondary: #b7a361;
$tertiary: #847730;
$black: #313131;
$color__link: #144b8e;
$color__link--hover: #b7a361;

Break Points

1025 pixels - Desktop
767 pixels - tablets
480 pixels - mobile

Organization

1. Content Styles
 - Typography
 - Links
 - Headings
 - Lists
 - Buttons
 - Tables

2. Header formatting

3. Containers Grids and Layouts
 - Columns
 - Dividers

4. Sidebar formatting

5. Footer formatting

6. Home page
 - Slider styles
 - Custom blocks

7. Page Formatting
 - Blog pages
 - Pagination
 - Default Page
 - Other templates

8. Misc

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

@import url("css/core.css");
@import url("css/menu.css");

/* 1=Content Styles
-------------------------------------------------------------- */
/* typography */

body {
	font-size: 18px;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #313131;
	background-color: #fff; }

p {
	font-size: 18px;
	line-height: 1.5;
	margin: 1em 0; }
p:empty { display: none; }
p.light, .light p {font-weight: 300;}

/* Links */

a {
	color: #144b8e;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out; }
a:hover { color: #b7a361; }
.entry-title a { text-decoration: none; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	font-family: 'Work Sans', Helvetica, Arial, sans-serif;}
h1 {font-size: 44px;}
h2 {font-size: 34px;}
h3 {font-size: 28px;}
h4 {font-size: 22px;}
h5 {font-size: 18px;}
h6 {font-size: 16px;}

@media (max-width: 1025px) {
	h1 {font-size: 40px;}
	h2 {font-size: 30px;}
	h3 {font-size: 22px;}
	h4 {font-size: 20px;}
}

@media (max-width: 480px) {
	h1 {font-size: 32px;}
	h2 {font-size: 24px;}
	body img.alignright, img.alignleft, div.wp-caption.alignright, div.wp-caption.alignleft {
		float: none;
		margin: 3px auto 10px auto;
		display: block; }
}

/* List Settings */

ul { list-style: none; }
.entry-content ul, .comment-content ul, .mu_register ul, .content ul { list-style: disc; margin: 0 0 16px 16px;}
.entry-content ol, .comment-content ol { list-style: decimal; margin: 0 0 16px 16px;}
.entry-content ul li, .entry-content ol li, .content ul li{line-height: 1.5;}
.entry-content ol li {font-size: 16px;margin-bottom: 10px;}
.entry-content blockquote, .comment-content blockquote {
	margin-bottom: 24px;
	padding: 24px;
	font-style: italic; }
.content h1 ~ ul, .content h2 ~ ul, .content h3 ~ ul,
.content h4 ~ ul, .content h5 ~ ul, .content h6 ~ ul {margin-top: 15px;}
.entry-content blockquote p:last-child, .comment-content blockquote p:last-child { margin-bottom: 0; }
.entry-content pre code, .comment-content pre code { display: block; }


/* Buttons */
.button, .learn-more {
	background-color: #B7A361;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	padding: 12px 15px;
	clear: both;
	display: inline-block;
	text-decoration: none;  }

.button:hover {
	background-color: #b7a361;
	color: #fff; }

a.link-button {
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	color: #b7a361;
	font-size: 18px;
	border-right: 2px solid #b7a361;
	margin: 15px 15px 15px 0;
	padding-right: 15px;
	display: inline-block;
}
a.link-button:hover {color: #847730;}
a.link-button:last-of-type {
	margin: 15px 0;
	padding-right: 0;
	border-right: 0px solid transparent;}

/* Table styles */

#content table{ width: 100%; margin-bottom: 20px; }
#content table tr td{ background:#eee; padding: 10px; }
#content table tr:nth-child(even) {background: #eaeaea;}
#content table tr th{
	background: #144b8e;
	color: #fff;
	font-weight: bold;
	padding: 10px; }

/* =2. Header
-------------------------------------------------------------- */
/* Global Header */

#masthead {
	width: 194px;
	max-width: 100%;
	display: inline-block;
 	vertical-align: middle;}

#masthead .logo {
	width: 194px;
	max-width: 100%;
	height: 75px;
	background-image: url(images/logo.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s; }

#masthead .logo a {
	height: 100%;
	width: 100%;
	display: block; }

header.global {
	z-index: 9997;
	position: sticky;
	top: 0;
	width: 100%;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
	padding: 25px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s; }
@media (min-width: 1025px){
	header.global.smaller #masthead .logo {
		width: 134px;
		height: 52px;}
	header.global.smaller {padding: 15px;}
}

@media (max-width: 1025px) {
	header.global .navigation-container {
		width: 100%;
		display: block;
		text-align: center; }

	header.global .navigation-container #site-navigation{
		float: none;
		clear: both; }
}

@media (max-width: 767px) {
	#masthead { margin: 0 auto 15px auto; float: none; }
	#masthead .logo { background-position: top center; }
	header.global { padding: 15px 0 0 0; text-align: center; }
}

/* Floating CTA */

.float-cta {
	position: fixed;
	bottom: 45%;
	background: #144b8e;
	right: -300px;
	z-index: 99;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	border-radius: 15px 15px 0 0;
	background-repeat: no-repeat;
	box-shadow: -10px 10px 10px rgba(0,0,0,0.1);
	transform: rotate(270deg);
	color: #fff;
	padding: 15px 25px;
	text-align: center;
	width: 400px;
}

.float-cta h3 {font-size: 20px;color: #fff;max-width: calc(100% - 85px);line-height: 1;text-align: left;}
.float-cta h3, .float-cta p{display:inline-block; vertical-align: middle;margin: 0 5px;}
.float-cta a {
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: 500;
  font-family: 'Work Sans',Helvetica,Arial,sans-serif;
	}
.float-cta.visible-cta {right: -175px;}

@media (max-width: 767px) {
	.float-cta {
		right: 0px;
    transform: rotate(0deg);
    bottom: -65px;
		border-radius: 0px;
		text-align: center;
		padding: 10px 15px;
		width: 100%;}
	.float-cta.visible-cta {bottom: 0;right: 0;}
}

/* 3. Columns Grids and Layouts */
.wrapper{
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 110px; }
.container {
	max-width: 1200px;
	margin: 0 auto;
	height: 100%; }
.container.small { max-width: 960px; }

section { padding: 75px 0; }
section.extra-padding { padding: 150px 0; }

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed,  .video-wrapper .wp-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.cta.container {position: relative;text-align: center;}
#call-to-action {background-color: #144b8e;padding: 6px 15px;}
#call-to-action a, #call-to-action p {color: #fff;}
#call-to-action p {
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	margin: 0;}
#call-to-action p:before {
	content: url(images/phone-call.png);
	margin-right: 5px;}
@media (max-width: 1250px){
	.wrapper, .container, header.entry-header .container {max-width: 90%;}
	.cta.container, header .container {max-width: 100%;}
}

@media screen and (min-width: 767px) {
	.cta #call-to-action {
		position: absolute;
		right: 0;
		top: 0;
	 	z-index: 99;
		-webkit-transition: all 0.2s ease-in-out;
		-moz-transition: all 0.2s ease-in-out;
		-ms-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;}
	.smaller #call-to-action {top: 15px;}
	#call-to-action p {font-size: 22px;}
	#logo {
		text-align: left;
		float: left;
		margin: 0;
		width: 45%; }
}

@media (max-width: 767px) {
	.widget-area {
		padding: 0 25px;
		width: 100%; }

	body #secondary {
		padding: 0;
		width: 100%;
		margin: 0 auto;
		max-width: 300px;
		text-align: center; }
}


/* ------- Layout Grid Columns ------- */
.half{ width:48%; }
.one_third{ width:30.6666%; }
.two_thirds{ width:65.3333%; }
.one_fourth{ width:22%; }
.three_fourth{ width:74%; }
.one_fifth{ width:16%; }
.two_fifth{ width:36%; }
.three_fifth{ width:60%; }
.four_fifth{ width:80%; }
.one_sixth{ width:15%; }
.five_sixth{ width:83%; }
.half,.one_third,.two_thirds,.three_fourth,.one_fourth,.one_fifth,.two_fifth,.three_fifth,.four_fifth,.one_sixth,.five_sixth{ line-height: 1.5;position:relative; box-sizing: border-box; margin-right: 4%; float:left; }
.last{ margin-right:0 !important; clear:right; }
.clearboth {clear:both;display:block;font-size:0;height:0;line-height:0;width:100%;}
@media (max-width: 1025px){
	.half, .one_third, .two_thirds{ width: 100%;margin: 0 auto;}
	.one_fourth, .one_fifth{ width: 48%; }
}

@media (max-width: 767px){
	.one_fourth, .one_fifth{ width: 100%;margin: 0 auto;}
	.one_fourth:nth-child(even), .one_fifth:nth-child(even){margin-right: 0;margin-bottom: 10px;}
}

.one_fourth img, .two_third img, .one_third img, .half img  { max-width: 100%; text-align: center; }
.half .entry-content{ margin-bottom: 25px; }

/* Dividers & Elements */

.divider {
	margin: 25px auto;
	display: block;
	height: 1px;
	background-color: #847B30; }

/* 4. Sidebar */

.widget-area .widget {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	margin-bottom: 48px;
	word-wrap: break-word; }

.widget-area .widget h3 {
	margin-bottom: 24px;
	font-weight: normal;
	font-size: 30px; }

.widget-area .widget p, .widget-area .widget li, .widget-area .widget .textwidget {
	font-size: 15px;
	line-height: 1.7; }

.widget-area .widget p { margin-bottom: 24px; }
.widget-area .textwidget ul { list-style: disc outside; margin: 0 0 24px; }
.widget-area .textwidget li { margin-left: 36px; }
.widget-area #s { width: 53.66666666666%;
  /* define a width to avoid dropping a wider submit button */ }
.widget-area .widget ul ul { margin-left: 12px; }

/* =5. Footer Section
-------------------------------------------------------------- */
/* Prefooter */

#prefooter{
	background-image: url(images/cta-background.jpg);
	background-size: cover;
	background-position: center;
	padding: 75px 0;}
.footer-cta {
	background: #144b8e;
	max-width: 500px;
	position: relative;
	padding: clamp(35px, 5vw, 65px);}
.footer-cta h3 {
	font-weight: 400;
	color: #fff;}
.footer-cta h3 strong {font-weight: 700;}
#prefooter .footer-cta .button {
	position: absolute;
  bottom: -20px;
  right: 6%;}
#cta.prefooter-cta {margin: 0;}
@media (min-width: 1025px) {
	.footer-cta h3 {
		font-size: 26px;
		line-height: 36px;}
}
@media (max-width: 767px){
	#cta.prefooter-cta {
    background-size: contain;
    background-position: top;}
}

/* Footer */

footer.global {
	background: #E2E6ED;
	width: 100%;
	clear: both;
	padding: 50px 0px;
	box-sizing: border-box; }

.footer-widgets {
	-webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.footer-widgets figure {
    max-width: 250px;
    margin: 0 auto;
}
footer h3 {
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
	font-size: 16px;
	color: #144b8e; }

footer a.social-link {
	color: #fff;
	margin-right: 12px;}
footer a.social-link span.dashicons, footer a.social-link span.dashicons-before:before {
	font-size: 24px;
  width: 41px;
  height: 41px;
  line-height: 41px;
	background: #144b8e;
	border-radius: 50%;
	margin-top: -22px;
}
footer .address {
	background: rgba(255,255,255,0.17);
	padding: 20px;
}
footer .address p {margin: 0 0 10px 0;}
.copyright {
	background: #144B8E;
	text-align: center;
	padding: 12px 0;}
.copyright p, .footer-menu li a{
	display: inline-block;
	font-size: 16px;
	color: #fff;
	font-weight: 300;
	margin: 0;
	line-height: 1.5;
}
.footer-menu, .footer-menu li {
    display: inline-block;
}
.footer-menu li:before {
    content: '|';
		color: #fff;
		margin: 0 5px;
		font-weight: 300;
}
@media(max-width: 1025px) {
	.footer-widget {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 20px;}
}
@media (max-width: 400px) {
	footer a.social-link span.dashicons, footer a.social-link span.dashicons-before:before {
		width: 30px;
		height: 30px;
		line-height: 30px;
		font-size: 20px;
		margin-top: -15px;}
	footer a.social-link {color: #fff;margin-right: 3px;}
	}

/* =6. Home Page Styles
-------------------------------------------------------------- */
/* Slideshow */

.slideshow {
	position: relative;
	color: #fff;
	padding: 0;
	background: #144b8e; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #144b8e 0%, #0968ad 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #144b8e 0%,#0968ad 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #144b8e 0%,#0968ad 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#144b8e', endColorstr='#0968ad',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */}
.page-template-implants-page .slideshow {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#144b8e+0,0968ad+100&1+0,1+50,0+100 */
background: -moz-linear-gradient(left,  rgba(20,75,142,1) 0%, rgba(15,90,158,1) 50%, rgba(9,104,173,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  rgba(20,75,142,1) 0%,rgba(15,90,158,1) 50%,rgba(9,104,173,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  rgba(20,75,142,1) 0%,rgba(15,90,158,1) 50%,rgba(9,104,173,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#144b8e', endColorstr='#000968ad',GradientType=1 ); /* IE6-9 */
}
.page-template-implants-page header.entry-header {min-height: 575px;}
.page-template-implants-page header.entry-header h1 {
    width: 100%;
    font-size: 44px;
    line-height: 48px;
    color: #B7A361;
}
.page-template-implants-page header.entry-header h2 {font-weight: 500;color: #fff;}
.page-template-implants-page .slider-content {
    max-width: 600px;
    padding-right: 5%;
    position: absolute;
    z-index: 9;
		top: 50%;
		transform: translateY(-50%);
}
.page-template-implants-page .slideshow .slide {
	z-index: -1;
	margin-left: 50%;
	background-size: cover;
	background-position: center;}
.slideshow h1{
	width: 100%;
	font-size: 44px;
	line-height: 48px;
	color: #B7A361; }
span.white {color: #fff;}
.slideshow h2 {font-weight: 500;}
.slideshow h2 strong{font-weight: 900;}
.slideshow hr {margin: 15px 0;height: 2px;background-color: #fff;}
.slide-list {display: flex;align-items: center;}
.slideshow img{ width: 100%; display: block; }
.slideshow .bx-wrapper .bx-viewport { border: 0; box-shadow: none; }
.slideshow a { color: #fff; }
.slideshow a.button {margin-top: 20px;font-size: 22px;}
.slideshow .slider-content {
	margin-left: calc(50% - 600px);
	max-width: 600px;
	padding-right: 5%;
	position: absolute;
z-index: 9;}
.slideshow .slide {
	background-position: top right;
  height: 575px;
  width: 100%;
  text-align: center;
  display: table;
  background-repeat: no-repeat;
  background-size: contain; }

.slideshow .slider-content p {
	font-size: 20px;
	line-height: 1.3; }
@media (max-width: 1200px) {
	.slideshow .slider-content {
		margin-left: 5%;
		max-width: 45%;}
	.slideshow a.button {margin-top: 0px;font-size: 18px;}
	.slideshow h1{
		font-size: 25px;
		line-height: 28px;}
	.slideshow h2 {font-size: 20px; line-height: 24px;}
	.slideshow .slider-content p {font-size: 17px;}
}
@media (max-width: 900px) {
	.slideshow .slide {background-size: cover;}
	.page-template-implants-page .slideshow .slider-content {padding: 5%;background: #144b8e;}
}
@media (max-width: 767px) {
	.slideshow .slider-content{
		max-width: 80%;
		position: relative;
		z-index: 10;
		margin: 0 auto;
		padding: 5% 0;}
	.slideshow .slide-list{
		display: block;
		position: relative;
	  overflow: hidden;}
	.slideshow .slide {
		bottom: -30px;
		width: 100%;
		height: 100%;
    position: absolute;
    right: -54%;
		background-size: cover;
    z-index: 0;
    background-repeat: no-repeat;
		background-position: top left;}
	.page-template-implants-page .slideshow .slide {
		position: relative;
		z-index: 0;
    right: 0;
    bottom: 0;
    height: 0;
		margin: 0;
    padding-bottom: 67%;}
	.page-template-implants-page .slideshow .slider-content{
		max-width: 100%;}
}

/* Custom Blocks */

#cta{
	margin: 75px 0;
 	background-position: center;
	background-repeat: no-repeat;}
#cta.prefooter-cta {
	background-position: left;
  background-size: 65%;}
.flex-container, .offer {display: flex; flex-wrap: wrap;}
.flex-container.flex-2 > div {flex-basis: 100%;}
.flex-container.flex-3 > div {flex-basis: 100%;}
.flex-center {align-items: center;}
.flex-between {justify-content: space-between;}
@media (min-width: 767px) {
	.flex-container.flex-2 > div{flex-basis: 50%;}
	.flex-container.flex-2 > div.video-wrapper {max-width: 50%;}
	.flex-container.flex-3 > div {flex-basis: 30%;}
}
@media(min-width: 1025px) {
	.offer {flex-direction: row-reverse;}
}
.heading {
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.offer {
	-webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.heading {padding-bottom: 10px;}
.offer h2, .offer p, .offer .gold-box .heading{color: #fff;}
.offer .gold-box .heading {font-size: 14px; border-bottom: 1px solid #fff;}
.offer .gold-box {
	flex-basis: 27%;
	position: relative;
	z-index: 3;
	margin-right: -5%;}
.gold-box {
	background-color: #B7A361;
	padding: 2%;
	text-align: center;
}
.offer .dollar {
	font-size: .6em;
  vertical-align: top;
}
.offer .number {font-size: 61px;padding: 10% 0;}
.offer .blue-box {flex-basis: 78%;position: relative;}
.offer .blue-box .heading, #about .about-content .heading, .locations h3.heading {color: #B7A361;font-size: 18px;}
.location a {text-decoration: underline;}
.offer .blue-box h2 {font-size: 30px;}
.blue-box {
	background-color: #144b8e; }
.flex-container .offer .blue-box {padding: 9% 6% 9% 10%;}
.cta-link, .about-link {
	position: absolute;
	bottom: -20px;
	right: 6%;
}
section.locations {margin-top: clamp(30px, 7vw, 75px);}
section.locations .location {
	background: #FEFAF0;
	padding: 4%;
	position: relative;
}
section.locations .location .location-content h4 ~ p {margin-top: 0;}
.locations .container > h2, h2.service-header {
    text-align: center;
    font-weight: 500;
    font-size: clamp(24px, 4vw, 42px);
    color: #847B30;
}

h2.standalone.service-header {
    margin: 50px 0 100px 0;
}
section.latest-news {padding-top: 0;}
@media(min-width: 480px){
	#cta{background-position: 66%;}
}
@media(min-width: 767px){
	section.locations .location {
		flex-basis: 48%;
		padding: 60px 60px 120px 60px;
	}
	section.locations .location .textalign-center {
		position: absolute;
		bottom: 60px;
		width: calc(100% - 120px);
	}
	section.locations .location .textalign-center .hours-button {
		padding: 20px;
	}
}
@media (min-width: 1168px) {
	#cta {position: relative;}
	#cta .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: -moz-linear-gradient(left, rgba(255,255,255,0) 50%, rgba(201,187,178,1) 65%, rgba(201,187,178,1) 100%);
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 50%,rgba(201,187,178,1) 65%,rgba(201,187,178,1) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 50%,rgba(201,187,178,1) 65%,rgba(201,187,178,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#c9bbb2',GradientType=1 );}
}
@media (max-width: 1168px) {
	#cta.prefooter-cta {
    padding: 30vw 0 0 0;
		background-color: #fff;
	  background-position: top;
	  background-size: contain;}
	.home .offer, #cta.prefooter-cta .offer {margin-top: 14%;}
	#cta.prefooter-cta .flex-container.flex-2 > div {flex-basis: 75%;}
	#cta.prefooter-cta .flex-container.flex-2 > div.open {flex-basis: 25%;}
}
@media (max-width: 767px) {
	#cta.prefooter-cta .flex-container.flex-2 > div {flex-basis: 100%;}
	#cta.prefooter-cta .flex-container.flex-2 > div.open {flex-basis: 0%;}
	.flex-container.flex-2 > div {flex-basis: 100%;}
	.flex-container.flex-2 > div.open {flex-basis: 0%;}
	.gold-box, .blue-box, .flex-container .offer .blue-box {padding: 5%;}
	.offer .gold-box, .offer .blue-box {flex-basis: 100%; width: 100%;}
	.offer .number {padding: 3% 0 0 0;font-size: 36px;}
	.offer .blue-box .heading {font-size: 16px;}
	.offer .blue-box h2 {font-size: 24px;}
	.offer .blue-box p {margin-top: 5px;font-size: 15px;}
	#cta{margin: 0;}
}
#about .about-content{
	background-color: #FDFAF0;
	position: relative;
 	padding: 6%;}
#about .flex-container {
	-webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.about-image {
	position: relative;
	width: 100%;
  height: 0;
  padding-bottom: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#lightbox {
	display: none;
	position: fixed;
	background-color: rgba(0,0,0,0.4);
	width: 100%;
	height: 100%;
	left: 0%;
	top: 0%;
	z-index: 99999;}
#lightbox .wp-video {
	position: absolute;
  left: calc(50% - 480px);
  z-index: 15;
  top: calc(50% - 350px);}
@media (min-width: 1025px) {
	#lightbox .mejs-container, #lightbox .wp-video-shortcode video, #lightbox video.wp-video-shortcode{
		max-width: 960px;
    display: inline-block;
    height: 540px!important;}
}
#lightbox.visible {display: block;}
a.trigger {
	position: absolute;
	width: 100%;
	height: 100%;
	display: block; }
#lightbox a.trigger {top: 0;z-index: 1;}
a.trigger.trigger-button {
 	background: #000;
	width: 60px;
	height: 60px;
	top: 10%;
	right: calc(50% - 550px);
	border-radius: 50%;}
a.trigger.trigger-button:before, a.trigger.trigger-button:after {
	width: 2px;
	background-color: #fff;
	content: '';
	position: absolute;
	top: 20%;
	bottom: 20%;
	left: 50%;
	margin-left: -1px;}
a.trigger.trigger-button:before {
	transform: rotate(45deg);}
a.trigger.trigger-button:after {
	transform: rotate(-45deg);}
#about .about-content h2, #services h2{
	font-size: 40px;
	color: #847730;
	font-weight: 500;
	letter-spacing: -1px;}
.home #logos {padding-top: 0;}
.flex-container.logo-section{
	-webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.flex-container.logo-section > *{max-width: 130px;}
@media (max-width: 1025px){
	#about .flex-container.flex-2 > div {flex-basis: 100%;max-width: 100%;}
	#about .about-link.button {z-index: 99;}
	#lightbox .video-wrapper {
		top: 50%;
    transform: translateY(-50%);
		z-index: 9999;
	}
	#lightbox .wp-video {
    max-width: 90%;
		top: 20%;
    left: 5%;}
	#lightbox a.trigger.trigger-button {
		top: 10%;
		right: 5%;}
}

@media (min-width: 1250px) {
	.about-image {flex-basis: 50%;}
}
#testimonials {background-color: #EFF0F2;}
#insurance {background-color: #EFF0F2;}
#testimonials .flex-container .white-box{
  background: #fff;
  text-align: center;
	width: 100%;
	padding: 6%;
  position: relative;}

#testimonials .flex-container .white-box .cta-link {
  position: relative;
	bottom: auto;
	right: auto;
	margin-top: 20px;
}
#testimonials .flex-container .white-box span {
	font-size: 25px;
	color: #B7A361;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
}
#testimonials .flex-container .white-box span.big-rating {
	color: #847B30;
	font-size: 51px;
	margin-left: 10px;
}
.flex-container .blue-box {
	color: #fff;
	padding: 5%;
	position: relative;
}
.flex-container .blue-box h2 {font-size: 400; font-weight: 500;}
.flex-container .blue-box blockquote p{
	font-style: italic;
	font-weight: 300;
}
.rating-section {line-height: 1.1;}
.rating-section .rating-stars {position: relative; display: inline-block;}
.rating-section .rating-stars .overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background-repeat: no-repeat;
}
.rating-section .rating-stars .back-star {opacity: 0.7;}
@media (min-width: 1025px) {
	#testimonials .flex-container .white-box{
		flex-basis: 47%;
	  padding: 6% 18% 6% 6%;
	  margin-top: 25px;
	  margin-bottom: -25px;
	  margin-right: -12%;}
	#testimonials .flex-container .white-box .rating-section {
		padding-top: 30px;}
	#testimonials .flex-container .white-box .cta-link {
		position: absolute;
		left: 50%;
		right: auto;
		transform: translateX(-100%);
		margin: 0;
		bottom: -20px;}
	#testimonials .flex-container .blue-box {
		flex-basis: 65%;
		position: relative;
		padding: 2% 5%;
		z-index: 2;}
	#testimonials .flex-container .blue-box p {font-size: 21px;}
	.testimonial-image {flex-basis: 40%;}
	.testimonial-content {flex-basis: 55%;}
}
#services h2, #insurance h2{text-align: center;}
#services .flex-container{
	padding-top: 50px;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;}
#services .service-content {padding: 5%; text-align: center;color: #fff;}
#services .service-content h3, #services .service-content a {color: #fff;}
#services .flex-container.flex-3 > div {background-color: #144b8e;}
#services .wp-block-video video {
    border-radius: 24px;
}
#insurance .logo-section {padding: 50px 0;}
#insurance h2 {
	font-size: 32px;
	color: #144b8e;
	font-weight: 500;
	letter-spacing: -1px;}

@media (max-width: 1025px) {
	.flex-container.logo-section {
		-webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;}
	.flex-container.logo-section > * {
		margin: 10px;}
	section.services-page-links {padding: 35px 0;}
}
@media (max-width: 767px) {
	#services .flex-container.flex-3 > div {max-width: 450px; margin: 10px auto;}
}

/* =7. Additional Page styles
-------------------------------------------------------------- */
/* Invisalign Page */

section.top-section {
	padding-top: 0;
	margin-top: 5%;
	position: relative;}
section.top-section .flex-container.flex-2{
	-webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;}
section.top-section .flex-container.flex-2 > * {flex-basis: 100%;padding: 4%; max-width: 100%;}
section.top-section .flex-container.flex-2 > div.left-block,
section.top-section .flex-container.flex-2 > div.image-block {padding: 0;}
section.top-section .content {background: #FEFAF0;padding: 4%;}
section.top-section .content h2,
section.top-section .content h3 {color: #847B30;font-weight: normal;}
section.top-section .content p ~ h2,
section.top-section .content div ~ h2 {margin: 15px 0;}
.content p, section.top-section .content p,
.content ul li, section.top-section .content ul li,
.content ol li, section.top-section .content ol li {font-weight: 300;}
section.top-section .form .gform_wrapper,
.page-template-contact-page section.top-section .form {
	background:#B7A361;
	position: relative;
	padding: 4%;
	margin-bottom: 50px;}
section.top-section .form h2 {
    color: #fff;
    margin: 15px 0px 25px;
	font-weight: 400;
}
section.top-section .form h3, section.top-section .form p {color: #fff; font-weight: 400;}
section.top-section .form .hours-button {width: 300px;max-width: 100%;margin: 0 auto 10px auto;}
section.top-section .form .gform_wrapper.gravity-theme fieldset.gfield {margin: 12px 0;}
section.top-section .form .gform_wrapper.gravity-theme input, section.top-section .form .gform_wrapper.gravity-theme textarea, section.top-section .form .gform_wrapper.gravity-theme select {
  background: #D4C080;
  border-radius: 6px;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 10px 20px;
  margin-bottom: 8px;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	font-weight: 700;
  border: 0px solid transparent;
	-webkit-appearance: none;
	appearance: none;}
section.top-section .form .gform_wrapper.gravity-theme input:focus, section.top-section .form .gform_wrapper.gravity-theme textarea:focus, section.top-section .form .gform_wrapper.gravity-theme select:focus {
	border: 0px solid transparent;
	outline: 0px solid transparent;
}
section.top-section .form .gform_wrapper.gravity-theme select {
	background-color: #D4C080;
	background-image: url(images/down-arrow.png);
	background-repeat: no-repeat;
	background-position: 95% 50%;}
section.top-section .form .gform_wrapper.gravity-theme input[type="checkbox"]{
	background: #D4C080;
	border-radius: 6px;
	width: 22px;
	height: 22px;
	padding: 0;
	margin: 0 10px 0 0;}
section.top-section .form .gform_wrapper.gravity-theme input[type="checkbox"]:checked:before {
	content: '\f15e';
  	font-family: 'dashicons';
	font-size: 22px;
  	line-height: 22px;
  	text-align: center;
  	color: #fff;}
section.top-section .extra-text.entry-content {margin-top: 75px;}
section.top-section ::placeholder, section.top-section .form .gform_wrapper.gravity-theme select  {
	color: #847B30;
	font-weight: bold;}
section.top-section .content h3.heading, section.top-section .secondary-text h3.heading{
	color: #B7A361;
	font-size: 18px;
	font-weight: 700;}
section.top-section .form {
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
	font-weight: 700;
	position: relative;}
section.top-section .form h2.gform_title {
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #fff;
  text-align: center;}
section.top-section .form .gform_wrapper.gravity-theme .gfield_label,
section.top-section .form .gform_wrapper.gravity-theme label {color: #fff;font-size: 18px;letter-spacing: 1px;}
section.top-section .form .gform_wrapper.gravity-theme .gfield_label {margin-bottom: 20px;}
section.top-section .form .gform_wrapper.gravity-theme .gform_required_legend {display: none;}
section.top-section .form .gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer{
	padding: 0;
	margin: 0;}
section.top-section .form .gform_wrapper.gravity-theme input[type="submit"]{
	margin-top: 20px;
	background: #fff;
  border-radius: 0;
  color: #B7A361;
  border: 1px solid #B7A361;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0;}
section.top-section .form .gform_wrapper.gravity-theme input[type=radio] {
	background: transparent;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;}
section.top-section .form .gform_wrapper.gravity-theme input[type=radio]:before{
	content: '';
	width: 17px;
	height: 17px;
	background: #D4C080;
	border-radius: 50%;
	margin: 0;
	border: 5px solid #D4C080;
	display: inline-block;
	vertical-align: middle;}
section.top-section .form .gform_wrapper.gravity-theme .gfield_radio label {display: inline-block;vertical-align: middle;}
section.top-section .form .gform_wrapper.gravity-theme input[type=radio]:checked:before {background: #fff;}
section.top-section ~ section.content {padding-top: 0px;}
@media (min-width: 767px){
	.page-template-invisalign-page .slideshow .slide {
	    background-position: bottom right;
	    height: 0px;
	    width: 50%;
	    padding-bottom: 35%;
	    margin-left: 45%;}
	section.top-section {margin-top: -30px;}
	section.top-section .flex-container.flex-2 > * {flex-basis: 50%;padding: 60px;}
	section.top-section .flex-container.flex-2 > .content.full-size {flex-basis: 100%;}
	section.top-section .flex-container.flex-2 > .location-map {padding: 0 60px;}
	.page-template-about-page section.top-section .flex-container.flex-2 {
		-webkit-box-pack: justify;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	.page-template-about-page section.top-section .flex-container.flex-2 > div.image-block {padding: 0 4%;}
	section.top-section .flex-container.flex-2 > .form,
	section.top-section .flex-container.flex-2 > .top-image {flex-basis: 45%;margin-left: 5%;padding: 0;}
	section.top-section .flex-container.flex-2 > .form .gform_wrapper {padding: 25px 25px 50px;}
	.page-template-contact-page section.top-section .flex-container.flex-2 > .form {padding: 3% 3% 5% 3%;}
	section.top-section .form .gform_wrapper.gravity-theme input[type="submit"]{
		position: absolute;
		margin-top: 0;
		bottom: -20px;
		right: 6%;}
	ul.two-col {
		column-count: 2;
		column-gap: 30px;
		}
	ul.three-col {
		column-count: 3;
		column-gap: 20px;
		}
}
@media (min-width: 1025px){
	section.top-section .flex-container.flex-2 > .form,
	section.top-section .flex-container.flex-2 > .top-image {flex-basis: 40%;}
}
@media (max-width: 767px) {
	section.top-section .form .gform_wrapper .gfield_radio div.gchoice input[type=radio]:not(.gf_switch input) {
		margin: inherit;
		width: 35px;
		height: 35px;}
	section.top-section .form .gform_wrapper.gravity-theme .gfield_radio label {height: 25px;}
	.page-template-invisalign-page .slideshow .slider-content {
    max-width: 77%;
	  margin: 0;
		padding: 5%;}
}
@media only screen and (max-width: 641px){
section.top-section .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
    line-height: 1;
    min-height: 1px;}
}
section#pricing {padding-top: 0;}
#full ~ section#pricing {padding-top: 75px;}
section#types {
    background: #FEFAF0;
}
#types h2 {color: #847B30;font-weight: normal;}
#types .flex-container.flex-3 > div {
    background: #fff;
    position: relative;
    padding: clamp(20px, 3vw, 40px);
    display: block;
}
.type h3 span {
    font-size: clamp(16px, 2vw, 22px);
}
.type img {
    max-height: 65px;
    margin-bottom: 25px;
	margin: 0 auto 25px auto;}
section#pricing h3 {
	color: #b7a361;
	text-align: center;}
section#pricing .pricing-list {margin-top: 25px;}
.pricing-list ul li {
  position: relative;
	margin-bottom: 15px;
  padding: 0 0 0 40px;}
  .entry-content .pricing-list ul, .entry-content .organization-list ul {
	  list-style-type: none;}

.pricing-list ul li:before, .organization-list ul li:before {
	color: #fff;
	background: #b7a361;
	width: 25px;
	height: 25px;
	position: absolute;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	left: 0px;
	content: '\f15e';
	font-family: 'dashicons';
	font-size: 20px;
	line-height: 25px;
	text-align: center;}
@media (min-width: 767px){
	.pricing-list ul {
		margin-top: 40px;
		display: grid;
    	grid-template-columns: repeat(4,1fr);
    	grid-template-rows: repeat(auto-fill,auto);
    	grid-column-gap: 2%;
    	grid-row-gap: 16px;
		-webkit-box-align: center;
	  	-webkit-align-items: center;
	 	-ms-flex-align: center;
	 	align-items: center;}
	.pricing-list ul.grid-2 {grid-template-columns: repeat(2,1fr);margin: 0;}
}
#work, #full {background-color: #EFF0F2;}
#work h2.work-header {
	font-weight: 500;
	color: #144b8e;
	font-size: 40px;
	margin-bottom: 40px;
}
#work .flex-container.flex-3 {
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;}
#work .flex-container .work-post {margin-bottom: 25px;}
#work .flex-container h3 {
	font-weight: bold;
	margin-top: 20px;
	font-size: 24px;
}
@media(min-width: 767px){
	#work .flex-container {justify-content: space-between;}
	#work .flex-container.flex-2 .work-post {flex-basis: 48%;}
}
@media(min-width: 1025px){
	#types .flex-container.flex-3 {justify-content: space-between;padding: 25px 0;}
	#types .flex-container.flex-3 > div {flex-basis: 30%;}
}

/* Services Page */
header.entry-header {
	position: relative;
	min-height: 335px;
	background: #144b8e; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #144b8e 0%, #0968ad 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg, #144b8e 0%,#0968ad 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg, #144b8e 0%,#0968ad 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#144b8e', endColorstr='#0968ad',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */}
header.entry-header .header-image, header.entry-header .page-title{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);}
header.entry-header .header-image {
	width: 100%;
	height: 100%;
	opacity: 0.26;
	background-size: cover;
	background-position: top center;
}
header.entry-header h1{color: #fff;z-index: 99;max-width: 525px;padding-bottom: 40px;}
header.entry-header .expanded.page-title h1 {max-width: 900px;}
section.services {padding-top: 0;margin-top: -40px;}
.services .container {
	position: relative;
	background-color: #EFF0F2;
	margin-bottom: 100px;}
.services .container .heading-box h2 a {color: #fff;}
.services .container .service-content {padding: 5%; background-color: #fff;}
.services .container:nth-child(even) {background-color: #fff;}
.services .container:nth-child(even) .service-content {background-color: #EFF0F2;}
.services .container .service-content h3, .services .container .service-content p {color: #144B8E;}
.services .container .service-content h3 {
	font-family: 'Work Sans', Arial, sans-serif;
	font-weight: bold;
	font-size: 20px;
  line-height: 24px;}
.services .container .image {
	width: 33%;
  height: 100%;
  position: absolute;
  top: 0;
  background-size: cover;
	background-position: center;}
.services .container .heading-box {
  position: relative;
  z-index: 99;
  background: #144B8E;
  display: inline-block;
  text-align: center;
  padding: 2% 6%;
  color: #fff;
  margin-top: 3%;
  margin-left: 7vw;}
.services .container .heading-box h2 {font-weight: 400;}
.services .container > .flex-container {
	max-width: 64%;
	margin-left: 36%;
	margin-top: 3%;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-right: 3%;}
.services .container .flex-container.flex-2 > div {margin-bottom: 5%;}
.services .container:nth-child(even) .flex-container {margin-top: 0;}
.services .container:nth-child(even) .flex-container.flex-2 > div {
		margin-top: 5%;
		margin-bottom: 0;}
.services .container.gold {background: #FDFAF0;}
.services .container.gold .service-content h3,
.services .container.gold .service-content a,
.services .container.gold .service-content p {color:#847730;}
.services .container.gold .heading-box {background-color: #847730;}
.services .container.gold .heading-box a {color: #fff;}
.services .container .service-content.full {padding: 0;}
.services .container.gold .service-content.full .full{
	background-color: #B7A361;
	color: #fff;
	text-align: left;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	padding: clamp(25px, 4vw, 50px);}
.services .container .service-content.full .full h3,
.services .container .service-content.full .full p,
.services .container .service-content.full .full a {color: #fff;}
.services .container .service-content.full div.sub-container{padding: 0 8%;}
.services .cta-button-container.textalign-center {
    position: relative;
}
.services .cta-button-container .button {
	font-size: clamp(18px, 2vw, 27px);
    padding: clamp(10px, 1.5vw, 18px) clamp(20px, 2.7vw, 40px);
}
.services .cta-button-container .button:hover {
	background-color: #144b8e;
	color: #fff;
}
@media (min-width: 767px){
.services .container .flex-container.flex-2 > div {flex-basis: 47.5%;}
.services .container .flex-container.flex-2 > div.full {flex-basis: 100%;}
.services .container .flex-container.flex-2 > .service-content .flex-container > div:first-child {flex-basis: 40%;}
.services .container .flex-container.flex-2 > .service-content .flex-container > div {flex-basis: 60%;}
}
@media (min-width: 1025px){
	.services .container .service-content h3 {
		font-size: 24px;
		line-height: 28px;}
	.services .cta-button-container.textalign-center {
		position: absolute;
        left: 90%;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        width: 100%;
        display: block;}
}

/* Services Subpage */
section.top-section .flex-container.flex-2 > .top-image {position: relative;}
section.top-section .flex-container.flex-2 > .top-image > .image {
  height: 650px;
  background-position: center;
  background-size: cover;
	position: relative;}
/*section.top-section .flex-container.flex-2 > .top-image.double > .image {height: 400px;} */
.image.secondary-image {margin-top: 15px;}
.image-before, .image-after {position: relative;}
#left-right {padding-bottom: 0;}
.lr-container {
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	background-color: #EFF0F2;}
.lr-container h2 {font-weight: 400;color: #144B8E;}
.lr-container p {font-weight: 300;}
.lr-container:nth-child(even){background-color: #FDFAF0;}
.lr-container:nth-child(even) h2 {color: #847730;}
.lr-image {min-height: 550px;background-size: cover;}
.lr-text-container {padding: 5%;}
.faq .flex-container.flex-2 {
	-webkit-box-align: start;
	-webkit-align-items: start;
	-ms-flex-align: start;
	align-items: start;
}
.gray-box {
	background: #EFF0F2;
	padding: 40px;}
h2.faq-header {
	color: #144B8E;
	font-weight: 500;
	font-size: 40px;
	margin-bottom: 50px;
}
.accordion {
	background: #fff;
	margin-bottom: 10px;
}
.accordion-header {
	max-width: calc(100% - 63px);
	position: relative; }
.accordion-header h3{
	font-size: 24px;
	padding: 18px 20px;
}
.accordion-content {padding: 0 20px 20px;}
span.blue-button {
    position: absolute;
    right: -63px;
    width: 63px;
    height: 63px;
    background-color: #144b8e;
    top: 0;
    text-align: center;
    cursor: pointer;
}
span.blue-button:before {
	content: '+';
	color: #fff;
	font-weight: bold;
	font-size: 24px;
	line-height: 63px;
	text-align: center;
}
.open span.blue-button:before {
	content: '-';
}
@media (min-width: 767px) {
	.lr-container:nth-child(even){flex-flow: row-reverse;}
	.faq .flex-container.flex-2 > div.gray-box {flex-basis: 55%;padding-right: 10%;}
	.faq .flex-container.flex-2 > div.blue-box {flex-basis: 50%;margin-left: -5%;margin-top: 10%;}
}
@media (min-width: 1250px) {
	.lr-text-container {
    max-width: 600px;
    padding: 0 2% 0 8%;}
	.lr-container:nth-child(even) .lr-text-container {
		padding: 0 8% 0 2%;
		margin-left: calc(100% - 600px)}
	.lr-text-container.full, body #left-right .lr-container:nth-child(even) .lr-text-container.full {margin: 0 auto;max-width: 1200px;padding: 4%;}
}
@media (max-width: 767px){
	.lr-image {
    height: 0px;
		min-height: 0px;
    background-size: cover;
    padding-bottom: 70%;}
}

/* About Page */
div.left-block > div {
	padding: 4%;}
.image-block .list {
	padding: 36px;
	background-color: #b7a361;
	color: #fff;
	max-width: 90%;
	position: relative;
	margin: -40px auto 0 auto;}
.image-block .list h3, .organization-list h3 {
	text-align: center;
	margin-bottom: 35px;
	font-size: 24px;}
.organization-list h3 {
	text-align: left;
	color: #b7a361;}
.organization-list ul li {
	font-weight: 300;
	position: relative;
	margin-bottom: 35px;
	padding: 0 0 0 40px;}
.image-block .list ul li {
	font-weight: bold;
	position: relative;
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 25px;
	padding: 0 0 0 40px;}
.image-block .list ul li:before{
	color: #b7a361;
  background: #fff;
  width: 25px;
  height: 25px;
  position: absolute;
  border-radius: 50%;
  top: 6px;
  left: 0px;
  content: '\f15e';
  font-family: 'dashicons';
  font-size: 20px;
  line-height: 25px;
  text-align: center;}
#team {
	padding-top: 0;
	background-color: #FDFAF0;}
.group {
	height: 44vw;
	width: 100%;
	position: relative;
	background-position: top center;
	background-size: cover;}
.header-button {
	position: absolute;
  background: #847730;
  color: #fff;
  padding: 5%;
  font-family: 'Work Sans';
  font-size: 30px;
  font-weight: 500;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;}
section.bios {padding-top: 75px;}
section.bios .flex-container {margin-top: 75px;}
.bio {
	background-color: #fff;
	padding: 5%;}
.bio-image {
	min-height: 375px;
	background-size: cover;
	background-position: top center;}
.bio h2 {color: #847730; font-size: 40px; font-weight: 500;}
.bio h3 {color: #B4A36A; font-size: 30px; font-weight: 500;margin-bottom: 45px;}
.bio p {font-weight: 300;}
.slideshow.invisalign-cta .slider-content, .slideshow.invisalign-cta .slide {position: relative;}
.slideshow.invisalign-cta .slider-content {
	max-width: auto;
	flex-basis: 100%;
	padding: 0;
	margin: 0;
}
.slideshow.invisalign-cta h2.invis-cta {
	font-size: clamp(24px, 4vw, 44px);
	font-weight: 700;
    line-height: 48px;
    color: #B7A361;
}
.slideshow.invisalign-cta h2.invis-cta span.white {
	color: #fff;}
.slideshow.invisalign-cta .slide {
    height: 320px; }
.slideshow.invisalign-cta a {position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 99; }
.page-template-about-page header.entry-header {min-height: 200px;}
@media (min-width: 480px) {
	.bio-image {
		min-height: 0px;
		height: 0px;
		padding-bottom: 70%;
		background-position: center top;}
}
@media(min-width: 767px) {
	section.top-section div.left-block > div {padding: 60px;}
	section.top-section .flex-container.flex-2 div.left-block .flex-container.flex-2 > * {padding: 0;}
	.header-button {
		padding: 1.5% 5%;
		font-size: 40px;
		bottom: -45px;
		width: auto;}
	.page-template-about-page header.entry-header {min-height: 35vw;}
	.group {height: 40vw;}
}
@media(min-width: 1025px) {
	.flex-container.flex-2.flex-thirds > div:first-of-type {flex-basis: 33%;}
	.flex-container.flex-2.flex-thirds > div:last-of-type {flex-basis: 67%;}
	.bio-image {
		padding-bottom: 50%;}
}
@media (max-width: 1025px) {
	.slideshow.invisalign-cta .slider-content {padding: 5%;}
}
@media (max-width: 767px) {
	.slideshow.invisalign-cta .container {max-width: 100%;}
	.slideshow.invisalign-cta .slide {position: absolute;height: 100%;}
	.slideshow.invisalign-cta .slider-content {margin: 0 0 0 5%;max-width: 65%;}
}

/* Insurance Page */
.insurance-logos p{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 75px;
    align-items: center;
    grid-gap: 2vw 5vw;
}
@media (max-width: 767px) {
	.insurance-logos p {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8vw 12vw;}
}

/* Reviews Page */
img.entered.error {
    display: none;
}

/* Smiles Gallery */
.gallery-category-wrapper {
	margin: 15px 0 50px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	}
.cat-button {
	font-family: 'Roboto Condensed',Helvetica,Arial,sans-serif;
  	font-weight: 500;
  	text-transform: uppercase;
 	letter-spacing: 0px;
	font-size: clamp(12px, 1.2vw, 17px);
	padding: 12px;
	margin: 5px;
	border: 1px solid #144b8e;
}
.cat-button:hover {
	background-color: #144b8e;
	color: #fff;
}

/* Video Page */
.grid-container.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 2vw 5vw;
}
.grid-container.grid-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    grid-gap: 2vw 5vw;
}
.grid-container.grid-2 .video-wrapper {margin-bottom: 0;}
.grid-container.grid-2 br {display: none;}
.grid-container span.thin {
    font-weight: 400;
    font-size: 0.6em;
}
@media (max-width: 767px) {
	.grid-container.grid-2, .grid-container.grid-3 {
    	grid-template-columns: repeat(1, 1fr);
    	grid-gap: 8vw;}
}

/* Contact Page */
div.locations {margin-top: 30px;}
 .hours-button {
	display: inline-block;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
	font-size: 18px;
	background-color: #D5C180;
	color: #fff;
	padding: 14px 18px;
	border-radius: 6px;
}
.button-wrap {margin-top: 10px;}
.button-wrap a.hours-button {margin-bottom: 10px;}
a.hours-button:hover {
	background:#144b8e;
	color:#fff;
}
@media (max-width: 767px) {
	.page-template-contact-page section.top-section .flex-container.flex-2 {
    flex-direction: column-reverse;}
	.page-template-contact-page section.top-section .flex-container.flex-2>* {width: 100%;margin-bottom: 25px;}
}
@media(max-width: 1168px){
	.hours-button {display: block;text-align: center;}
}
section.top-section .left-block .flex-container.flex-2 > h4 {color: #B7A361;}
section.top-section .left-block .flex-container.flex-2{
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;}
section.top-section .left-block .flex-container.flex-2 > a.button {display: inline-block;padding: 12px 15px;}
@media (min-width: 767px){
	.page-template-contact-page section.top-section {padding: 0 0 150px 0;}
	section.top-section .left-block .flex-container.flex-2 > h4 {flex-basis: 60%;}
	section.top-section .left-block .flex-container.flex-2 > div.button-wrapper {flex-basis: 40%;}
}
section.top-section .form .gform_wrapper.gravity-theme .gf_switch input[type=radio]:before {display: none;}
.gform_wrapper fieldset.gfield.gf_switch {max-width: 200px;}
.gform_wrapper fieldset.gfield.gf_switch .gfield_radio div.gchoice{position: relative;}
.gform_wrapper fieldset.gfield.gf_switch input[type=radio] {
  appearance: none;
    -webkit-appearance: none;
    width: 100%;
    position: absolute;
    height: 100%;
    background: transparent;
    left: 0;
    top: 0;
}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice {vertical-align: middle;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type {text-align: left;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type {text-align: right;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type input[type=radio]:after,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type input[type=radio]:before,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type label:after,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type label:before {
  content: '';
    width: 12px;
    height: 12px;
    background: #D5C180;
    border-radius: 50% 0% 0% 50%;
    margin: 0px 0px 0px 10px;
    border: 5px solid #D5C180;
    display: inline-block;
    vertical-align: middle;}
@media (max-width: 1025px){
  .gform_wrapper.gf_browser_safari .gf_switch .gfield_radio div.gchoice input[type=radio] {margin: 0px;}
  .gform_wrapper li.gfield.non-switch .gfield_radio div.gchoice label {margin-left: 0;}
}
@media (max-width: 400px){
  .gform_wrapper li.gfield.gf_switch .gfield_radio div.gchoice label {font-size: 3vw;}
}

.gform_wrapper li.gfield.non-switch input[type=radio] {width: 12px; height: 12px;border: 3px solid #D5C180;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice {position: relative;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type input[type=radio]:after,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type input[type=radio]:before,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type label:after,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type label:before {
  position: absolute;
}
.gform_wrapper.gf_browser_chrome ul.gform_fields .gfield_radio div.gchoice input[type=radio] {margin: 0;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type input[type=radio]:after,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:first-of-type label:after {right: 0;top: 0%;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type input[type=radio]:before,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice:last-of-type label:before {
    margin: 0px 10px 0px 0px;
    border-radius: 0% 50% 50% 0%;
    left: 0;
    top: 0%;}
.gform_wrapper li.gfield.non-switch input[type=radio] {
  margin: 0px 10px 0px 0px;
  border-radius: 50%;
}
.gform_wrapper div.gfield_radio, .gform_wrapper ul.gform_fields.left_label li.gfield.gf_switch {margin: 0;}
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice input:checked + label:before,
.gform_wrapper .gf_switch div.gfield_radio > div.gchoice input:checked + label:after,
.gform_wrapper li.gfield.non-switch input[type=radio]:checked {background: #fff;border-radius: 50%;}
.gform_wrapper .gf_switch div.gfield_radio div.gchoice input[type=radio]:checked+label {font-weight: bold;}
.gform_wrapper .gfield_radio div.gchoice label, .gform_wrapper .gfield_radio div.gchoice input[type=radio] {margin: 0}
.gf_switch div.gfield_radio {display: flex;}
.gf_switch .gfield_radio div.gchoice {
    width: 50%;
    display: inline-block;
}

/* Location Page */
.location-map p {margin: 0;}
.practice-info {margin-top: 6%;}
.practice-info p {margin-top: 0;}
.practice-info h4, section.locations .location h4 {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	font-weight: 600;
	margin: 0;
	color: #B7A361;
	font-size: 18px;
	line-height: 1.5;}
.gallery-section .gallery-text h2{
	font-size: 40px;
	color: #144b8e;
	font-weight: 400;}
.gallery-section .container .gallery-text p {font-weight: 300;}
.gallery-section .container .gallery-text{background: #EFF0F2;padding: 60px;}
.gallery-section .location-image {
	background-size: cover;
	background-position: top center;
	height: 0px;
	width: 100%;
	text-align: center;
	display: table;
	padding-bottom: 100%; }
.gallery-section .flex-container.flex-2 > div {flex-basis: 100%;}
.gallery-images img {padding: 20px; background: #fff;}
@media (min-width: 1250px) {
	.gallery-section .flex-container.flex-2 > div {flex-basis: 50%;}
}

/* Blog Page styles */
.blog-section {padding: 0;}
.entry-summary {
	padding: 75px 0;
}
.entry-summary:nth-child(even){background-color: #EFF0F2;}
.entry-summary .container {
  display: flex;
  flex-wrap: wrap;
	-webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;}
.container.flex-reverse {flex-direction: column-reverse;}
.entry-summary .two_thirds, .entry-summary .one_third {margin: 0;}
.entry-summary .full-entry {flex-basis: 100%;}
.page-link ~ .button {margin-top: 20px;}
header.entry-header .page-title h1 {padding-bottom: 0px;}
.page-title #breadcrumbs a, .page-title .date {color: #fff;}
.date, .page-title #breadcrumbs {font-size: 14px;margin: 8px 0 0 0; }
.page-title #breadcrumbs, .page-title #breadcrumbs a:hover {color: rgba(255,255,255,0.6);}
ul.social {display: flex;align-items: center;margin: 0 0 10px 0;list-style: none;}
.date, .page-title #breadcrumbs, ul.social, div.category-listing {font-family: 'Work Sans', Helvetica, Arial, sans-serif;}
ul.social li a span.dashicons {
	font-size: 25px;
	height: 25px;
	width: 25px;
	margin: 0 5px;
}
@media (min-width: 1025px) {
	.entry-summary:nth-child(even) .container{flex-direction: row-reverse;}
	.container.flex-reverse {flex-direction: row;}
}

/* Smiles Gallery Page */
.slide {position:relative;}
.slider-wrapper {margin-bottom: 25px;}
.post-type-archive-smilesgallery .slide, .tax-gallery-category .slide, .main_gallery .slide {
	margin-bottom: 25px;
}
.gallery-image {
	height:0px;
	padding-bottom: 85%;
	background-size: cover;
	background-position: center;}
.thin-gallery .gallery-image {
	padding-bottom: 50%;
	}
.slide .gallery-caption{
	position: relative;
	background-color: #144b8e;
	color: #fff;
	width: 100%;
  margin: 0;}
	.wp-caption {position: relative; }
	.wp-caption img {width: 100%;}
	.content .wp-caption {padding: 0;}
.top-section .gallery-caption, .wp-caption .wp-caption-text {
	background-color: #144b8e;
	color: #fff;
	width: 96%;
	margin: 0 auto;}

.slide .gallery-caption p {
	font-size: 14px;
	margin: 0;}
.top-section div.gallery-caption, .wp-caption .wp-caption-text {
	font-size: 17px;
	line-height: 1.3;
	padding: 20px;}
.top-section div.gallery-caption a, .wp-caption .wp-caption-text a {color: rgba(255,255,255,0.7);text-decoration: underline;}
.top-section div.gallery-caption a:hover, .wp-caption .wp-caption-text a:hover {color: rgba(255,255,255,1);}
.before, .after, .slide .cat-overlay{position: absolute;}
.slide .cat-overlay {
	top: 20px;
	left: 20px; }
.before, .after {
	font-size: 18px;
	color: #fff;
	font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
	text-decoration: none;
	font-style: normal;
  letter-spacing: 1px;
	text-shadow: 1px 1px 1px #000;
}
.top-section div.gallery-caption h3.cat-list a, .slide .cat-overlay, .slide .number {
	font-size: 16px;
	color: #fff;
	font-family: 'Work Sans',Helvetica,Arial,sans-serif;
  font-weight: 500;
	text-decoration: none;
	font-style: normal;
  letter-spacing: 1px;
	text-shadow: 1px 1px 1px #000;
}
.slide .number {
	position: absolute;
  right: 20px;
  bottom: 0px;}
section.top-section .slide .flex-container.flex-2>div.image {
  position: relative;
	padding: 0 2%;
}
.top-section div.gallery-caption h3.cat-list a {display: none;}
.slide .cat-overlay a, .slide .number p{color: #fff;}
.before {bottom: 20px; left: 20px;}
.after {bottom: 20px;right: 20px;}
@media (min-width: 767px){
	.slide .gallery-caption, .top-section .gallery-caption, .wp-caption .wp-caption-text{
		width: 100%;}
	.slide div.image {
		padding: 4%;}
	.before {top: 20px;left: 20px;}
	.after {top: 20px;right: 20px;}
	.slide .cat-overlay {bottom: 20px;left: 20px; top: auto;}
	.slide .cat-overlay.upper {display: none;}
	.top-section div.gallery-caption h3.cat-list a {display: block;}
	section.top-section .slide .flex-container.flex-2>div.image {padding: 0;}
}
@media (min-width: 1025px){
	.slide .gallery-caption, .top-section .gallery-caption, .wp-caption .wp-caption-text{
		position: absolute;
		bottom: 0;
		left: 0;
		background-color: rgb(183 163 97 / 50%);
		width: 100%;}
	.wp-caption .wp-caption-text{bottom: 2px;}
	}

/* Sitemap Page */
.pages-section h2, .posts-section h2 {margin-bottom: 15px;}
.pages-section h3, .posts-section h3 {font-size: 20px;margin-bottom: 15px;}
.entry-content ul.children {margin-bottom: 0;}
 @media (min-width: 767px){
	 section.top-section .flex-container.flex-2 > .pages-section,
	 section.top-section .flex-container.flex-2 > .posts-section {
    padding: 0px;}
}

/* Pagination */
.navigation {
    text-align: center;
    padding: 25px 0;
}
.navigation li { display: inline-block; margin-right: 5px;}
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled {text-decoration:none;}
.navigation li a, .navigation li a:hover, .navigation li.active a, .navigation li.disabled {
	border-radius: 3px;
	border: 1px solid #144b8e;
	cursor: pointer;
	padding: 5px 12px; }
.navigation li a:hover, .navigation li.active a { background-color: #144b8e; color: #fff;}

/* Default Page styles */
.secondary-text {padding: 4%;}
.secondary-text h2 {color: #144b8e; font-weight: 500;}
.secondary-text p {font-weight: 300;}

/* =8. Misc
-------------------------------------------------------------- */

/* YouTube stop related videos */
.hytPlayerWrap {
        display: inline-block;
        position: relative;
    }
    .hytPlayerWrap.ended::after {
        content:"";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        cursor: pointer;
        background-color: black;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 64px 64px;
        background-image: url(data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiB2aWV3Qm94PSIwIDAgNTEwIDUxMCI+PHBhdGggZD0iTTI1NSAxMDJWMEwxMjcuNSAxMjcuNSAyNTUgMjU1VjE1M2M4NC4xNSAwIDE1MyA2OC44NSAxNTMgMTUzcy02OC44NSAxNTMtMTUzIDE1My0xNTMtNjguODUtMTUzLTE1M0g1MWMwIDExMi4yIDkxLjggMjA0IDIwNCAyMDRzMjA0LTkxLjggMjA0LTIwNC05MS44LTIwNC0yMDQtMjA0eiIgZmlsbD0iI0ZGRiIvPjwvc3ZnPg==);
    }
    .hytPlayerWrap.paused::after {
        content:"";
        position: absolute;
        top: 70px;
        left: 0;
        bottom: 50px;
        right: 0;
        cursor: pointer;
        background-color: black;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 40px 40px;
        background-image: url(data:image/svg+xml;utf8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEiIHdpZHRoPSIxNzA2LjY2NyIgaGVpZ2h0PSIxNzA2LjY2NyIgdmlld0JveD0iMCAwIDEyODAgMTI4MCI+PHBhdGggZD0iTTE1Ny42MzUgMi45ODRMMTI2MC45NzkgNjQwIDE1Ny42MzUgMTI3Ny4wMTZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+);
    }

.hytPlayerWrap .html5-endscreen.ytp-player-content.videowall-endscreen.ytp-endscreen-paginate.ytp-show-tiles {
    display: none;
}


/* Landing Page */

#cta.landing {margin: 0;}
@media (min-width: 767px) and (max-width: 1168px){
	#cta.landing .flex-container.flex-2>div.open {flex-basis: 40%;}
	#cta.landing .flex-container.flex-2>div.offer {flex-basis: 60%;}
}
@media (min-width: 1168px){
#cta.landing {
	background-position: calc(100% - 23vw) 50%;
  height: 650px;
  padding: 0;
  background-size: 100%;}
#cta.landing .flex-container {height: 650px;}
}
@media (max-width: 767px) {
	section#cta.landing {
		padding: 75% 5% 5% 5%;
		margin-top: -30%;}
	.gold-box {margin-top: 75%;}
}


.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}
@media(min-width: 1025px) {
	.acf-map {
		width: 100%;
		height: 750px;
		margin: 0;
	}
}