/*
Theme Name: DentalCMO Child
Template: DentalCMO-Badger
Author: Child Theme Configurator
Version: 1.0.1458343915
Updated: 2016-03-18 23:31:55
*/

body.home .entry-content h1,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	text-align:left;
	line-height:1;
}

.top-bar { display: none; }

body {
	position: relative;
}


#masthead {
	position: relative;
	z-index: 1002;
	pointer-events: none;
}
body.home #masthead {
	margin-top: 40px;
}

#logo, .navbar-default {
	pointer-events: all;
}



@media all and (min-width: 769px) {
	body::before {
		content: '';
		position: absolute;
		z-index: -1;
		width:100%;
		height: 125px;
		background-image: url(/wp-content/uploads/2018/02/headerBackground.png);
		background-position: center center;
		background-size: cover;
	}
	body.home::before {
		top: 40px;
	}

	#logo {
		width: 33%;
		height: 125px;
		position: relative;
		padding: 0;
	}

	#logo img {
		position: absolute;
        bottom: -38%;
        left: 0;
        height: 160px;
	}
	
	.navbar-default {
		position: absolute;
		right: 0;
		z-index: 10000;
		pointer-events: all;
	}
	
	.navbar-default::after {
		position: absolute;
		height: 1px;
		background-color: #fff;
		width: 100vw;
		left: -10%;
		bottom: -1px;
	}
	
	.navbar-nav > li > a {
		width: auto;
		height: 65px;
		line-height: 65px;
	}
	
	#desktopButtons {
		width: 50%;
		min-width: 620px;
		margin-top: -45px;
		position: absolute;
		right: 0;
		z-index: 1001;
		color: #fff;
		font-family: Open Sans, Arial;
	}
	
	#address, #phone {
		position: relative;
		padding-left: 45px;
	}
	
	#address::before, #phone::before, #search::before {
		position: absolute;
		top: -1px;
		left: 10px;
		z-index: 0;
		font-family: FontAwesome;
		color: #fff;
		font-size: 24px;
	}
	
	#address::before {
		content: '\f041';
	}
	
	#address pre {
		font-family: inherit;
		font-size: 16px;
		line-height: 1em;
	}
	
	#address pre a { color: inherit; }
	
	#phone::before {
		content: '\f095';
	}
	
	#phone a {
		color: #9a7433;
		font-size: 22px;
		font-weight: 700;
	}
	
	#search {
		position: relative;
	}
	
	#search::before {
		content: '\f002';
	}
	
	#search .input-group {
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: center;
		-moz-align-items: center;
		align-items: center;
	}
	
	#search .screen-reader-text { display: none; }
	
	#search .search-query {
		-webkit-order: 2;
		-moz-order: 2;
		order: 2;
		display: block;
		min-width: 150px;
		height: 30px;
		border: 0;
		background-color: #9a7433;
		color: #fff;
	}
	
	#search .input-group-btn {
		position: relative;
		z-index: 1;
		opacity: 0;
		-webkit-order: 1;
		-moz-order: 1;
		order: 1;
		display: block;
		width: auto;
	}
	
}


/*** Youtube Slider ***/
#youtubeVideoCont {
	background-image: url('/wp-content/uploads/2018/02/iStock_90263639_XXXLARGE.jpg');
	background-position: 20% center;
	background-size: cover;
	max-height:580px;
	height:56.25vw;
	width:100%;
	position:relative;
	overflow:hidden;
}
#youtubeVideoCont:after {
	content:' ';
	display:block;
	display: none; /* Remove when video is ready */
	position:absolute;
	background-color:rgba(0,0,0,.5);
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:10;
}
#youtubeVideoCont .video-container {
	display: none; /* Remove when video is ready */
	position:absolute;
	z-index:5;
	top:0;
	bottom:0;
	right:0;
	left:0;
	margin:auto;
	width:100%;
	padding-top:0;
}
#youtubeVideoCont span.su-lightbox {
	display: none; /* Remove when video is ready */
	position:absolute;
	z-index:20;
	text-align:center;
	top: 0;
	bottom: 0;
	left:0;
	right:0;
	margin:auto;
	height:75px;
	width:150px;
	cursor:pointer;
}
#youtubeVideoCont span.su-lightbox svg {
	width:45px;
}
#youtubeVideoCont span.su-lightbox svg path {
	fill:#fff;
	transition: fill .3s;
-webkit-transition: fill .3s;
}
#youtubeVideoCont span.su-lightbox:hover svg path {
	fill:#eee;
}
#youtubeVideoCont span.su-lightbox div {
	color:#fff;
	font-size:14px;
}
#youtubeVideoCont span.su-lightbox:hover div {
	color:#eee;
}

#youtubeText {
    position: absolute;
    z-index: 11;
    height: 55%;
    left: 5%;
    top: 15%;
    bottom: 0;
}

@media all and (max-width:768px) {
/*	#youtubeVideoCont {
		background-image:url('');
		background-size:cover;
		background-position:center;
	} */
	#youtubeVideoCont .video-container {
		display:none;
	}
}
/*** End Youtube Slider ***/

#sectionWelcome {
	margin-top: 6vw;
	margin-bottom: 6vw;
}

#sectionWelcome h1 {
	display: block;
	text-align: center;
	padding: 15px;
	font-size: 30px;
	text-transform: uppercase;
	border: 1px solid #8f8f8f;
	letter-spacing: 1vw;
	margin-bottom: 20px;
}

#sectionWelcome h1 span {
	color: #9a7433;
	font-family:Lora;
	text-transform: uppercase;
}

/*** What Patients Say ***/
#sectionTestimonials {
	display: none; /* Remove when video is ready */
	margin-bottom:calc(50px - -6vw);
}
#sectionTestimonials h2 {
	text-transform:uppercase;
	font-weight: 400;
	font-size:30px;
	letter-spacing: 1.5vw;
	line-height: 1em;
	text-align:center;
	margin-bottom:20px;
	background-position:center;
	background-size:cover;
	background-position:center;
}
#sectionTestimonials h2 span {
	font-family: Montserrat;
	color: #0e3050;
	display: block;
	font-size: 85%;
}

#sectionTestimonials .flex > div {
	background-color: #000000;
	position: relative;
}
#sectionTestimonials span.su-lightbox {
	display:block;
	height:0;
	width:100%;
	padding-bottom:52.25%;
	position:relative;
	z-index: 1;
	background-size:cover;
	background-position:center;
	cursor: pointer;
	background-color: rgba(255,255,255,0.3);
	transition: all 0.5s;
}
#sectionTestimonials .third:hover span.su-lightbox {
	background-color: rgba(255,255,255,0);
}
#Kathy {
	background-image:url('/wp-content/uploads/2017/04/Kathy.jpg');
}
#Britten {
	background-image:url('/wp-content/uploads/2017/04/Britten.jpg');
}
#Terry {
	background-image:url('/wp-content/uploads/2017/04/Terry.jpg');
}
#sectionTestimonials span.su-lightbox svg {
	position:absolute;
	width:50px;
	right:20px;
	top: 10%;
	left: 10%;
}
#sectionTestimonials span.su-lightbox svg path {
	fill:rgba(255,255,255,.5);
	transition: fill .3s;
-webkit-transition: fill .3s;
}
#sectionTestimonials span.su-lightbox:hover svg path {
	fill:rgba(255,255,255,.9);
}

#sectionTestimonials h4 {
	opacity: 0;
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 0;
	padding-left: 5%;
	width: 100%;
	text-align: left;
	color: #fff;
	text-transform: uppercase;
	font-size: 26px;
	transition: all 0.5s;
}

#sectionTestimonials .third:hover h4 {
	opacity: 1;	
}

#sectionTestimonials h4 span {
	display: block;
	font-family: Montserrat;
}
/*** End What Patients Say ***/


/***  Highlights ***/

#sectionHighlights {
	margin-bottom:calc(50px - -6vw);
	flex-wrap:wrap;
	-webtkit-flex-wrap:wrap;
}
.highlight {
	background-position: center center;
	background-size:cover;
	position:relative;
	margin-bottom: 10px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: flex-end;
	-moz-justify-content: flex-end;
	justify-content: flex-end;
}

#sectionHighlights > .highlight:nth-of-type(1) {
	background-image: url('/wp-content/uploads/2018/02/Man-MiddleAge.jpg');
	background-position: center bottom;
}

#sectionHighlights > .highlight:nth-of-type(2) {
	background-image: url('/wp-content/uploads/2018/02/MomDad2.jpg');
	background-position: right center;
}

#sectionHighlights > .highlight:nth-of-type(3) {
	background-image: url('/wp-content/uploads/2018/02/Girl-PotatoSack.jpg');
}

#sectionHighlights > .highlight:nth-of-type(4) {
	background-image: url('/wp-content/uploads/2018/02/Grandparents.jpg');
}


.entry-content div.highlightHeaderBottom {
	text-align: center;
	width:100%;
	max-height:86px;
	overflow:hidden;
	background-color: rgba(154, 116, 51, 0.7);
}

.entry-content div.highlightHeaderBottom div {
	font-size:36px;
	line-height: 1.2em;
	text-transform:uppercase;
	text-align:center;
	text-align-last:justify;
	font-family:Lora;
	color: #fff;
	padding:10px 25px 0;
	display: inline-block;
}

.entry-content div.highlightHeaderBottom div span {
	display:block;
	margin:auto;
	font-family:Montserrat;
}

.learnMore {
	display: block;
	width: 150px;
	margin: 20px auto 10px;
	text-align:center;
	padding: 8px 5px;
	border: 2px solid #fff;
	font-size: 20px;
	color: #fff !important;
}

.learnMore:hover {
	color: #0e3050 !important;
	background-color: #fff;
}


.highlightSlider {
	position: relative;
	z-index:2;
	width: 100%;
	background-color:rgba(14, 48, 80, 0.7);
	padding: 5vw 25px;
	-webkit-flex: 1 1 auto;
	-moz-flex: 1 1 auto;
	flex: 1 1 auto;
	transition: all 600ms;
    -webkit-transition: all 600ms;
}

.highlight.active .highlightSlider {
	background-color:rgba(154, 116, 51, 0.7);
}
.highlightCopy {
	max-width:420px;
	margin:auto;
	transform:rotatex(90deg);
	transition: all 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    -webkit-transition: all 600ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.highlight.active .highlightCopy {
	transform:rotatex(0deg);
}

.highlightCopy p {
	color: #fff;
}

@media all and (min-width:769px) {
	#sectionHighlights > .highlight:nth-of-type(1), #sectionHighlights > .highlight:nth-of-type(4) {
		-webkit-clip-path: polygon(0 60px, 0 100%, calc(100% - 60px) 100%, 100% calc(100% - 60px), 100% 0, 60px 0);
		clip-path: polygon(0 60px, 0 100%, calc(100% - 60px) 100%, 100% calc(100% - 60px), 100% 0, 60px 0);
	}

	#sectionHighlights > .highlight:nth-of-type(2), #sectionHighlights > .highlight:nth-of-type(3) {
		-webkit-clip-path: polygon(0 0, 0 calc(100% - 60px), 60px 100%, 100% 100%, 100% 60px, calc(100% - 60px) 0);
		clip-path: polygon(0 0, 0 calc(100% - 60px), 60px 100%, 100% 100%, 100% 60px, calc(100% - 60px) 0);
	}
	.highlight:hover .highlightCopy {
		transform:rotatex(0deg);
	}
	.highlight:hover .highlightSlider {
		background-color:rgba(154, 116, 51, 0.7);
	}
}

/*** End of Highlights ***/

#afterHighlights {
	margin-bottom: calc(50px - -6vw);
}




#ContactFooter {
	background-image:url('/wp-content/uploads/2018/02/footer.jpg');
	/*padding: 0 6vw;*/
	display: -webkit-flex;
	display: flex;
}


#location {
	position: relative;
	background-color:rgba(154, 116, 51, 0.7);
	color: #ffffff;
    line-height: 45px;
    font-size: 20px;
	text-align:center;
	font-family: Montserrat;
	-webkit-flex: 1 1 auto;
	-moz-flex: 1 1 auto;
	flex: 1 1 auto;
}

#location::before {
	content: '';
	position: absolute;
	right: 100%;
	top: 0;
	width: 100%;
	height: 100%;
	background-color:rgba(154, 116, 51, 0.7);
}

#location .practice {
    font-size: 28px;
	padding-right: 20px;
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
}

#location pre {
    display: inline-block;
    white-space: normal;
    vertical-align: middle;
    padding: 0 20px 0 0;
    text-transform: none;
	font-family: inherit;
	font-size: 85%;
    color: #ffffff;
}

#location pre a { color: inherit !important; }

#location span {
    color: #ffffff;
	display: inline-block;
}

#location span a {
	color: #0e3050;
	font-weight: 700;
	display: inline-block;
	letter-spacing: 3px;
}



#contactus {
	padding:20px 20px 0;
	background-color:rgba(14, 48, 80, 0.7);
	width:350px;
	margin: 45px 0 0;
}

#contactus .wpcf7 {
	overflow:hidden;
	margin-bottom: 40px;
}

#contactus h4 {
	font-family: Montserrat;
	font-size: 24px;
	letter-spacing: 3px;
	color: #ffffff;
	text-align: center;
	text-transform:uppercase;
}

#contactus label {
	display: inline-block;
	width: 75px;
	color: #ffffff;
}

#contactus .wpcf7-form-control-wrap {
	display:inline-block;
	width: calc(100% - 80px);
	margin-bottom: 15px;
}

#contactus .wpcf7-form-control-wrap > * {
	background-color: rgba(154, 116, 51, 0.7);
	color: #000;
	border: 0;
}

#contactus .wpcf7 textarea {
	height: 150px;
}

#contactus .submit {
	position: relative;
	z-index: 1;
	text-align: right;
	overflow: hidden;
}

#contactus input[type=submit] {
	float: right;
	display:inline-block;
	width: auto;
	border:0;
	border-right: 0;
	color: #42627b;
	background-color: #ffffff;
	text-transform: uppercase;
	font-family: PT Sans, Arial;
	line-height:35px;
	height: 35px;
	margin: 0 5px 0 0;
	font-size: 14px;
	font-weight: 400;
	padding: 0 30px;
}

#contactus input[type=submit]:hover {
	background-color: #42627b;
	color: #ffffff !important;
}

#socialMedia {
	align-items: center;
	padding: 10px 0;
	display: -webkit-flex;
	display: inline-block;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	justify-content: center;
}

#socialMedia::before, #socialMedia::after {
	content: '';
	position: absolute;
	top: 0;
	height: 100%;
	width: 100vw;
	background-color:rgba(14, 48, 80, 0.7);
}

#socialMedia::before {
	right: 100%;
}

#socialMedia::after {
	left: 100%;
}


#socialMedia a {
	margin: 0 20px;
}

#socialMedia a img {
	width: 45px;
	height: 45px;
}

.referDoctor input[type=submit] {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    width: auto;
    padding: 0 20px;
}

/*@media all and (min-width:769px) {
	#footer-area {
		max-width: calc(100% - 6vw - 350px);
	}
}*/

@media all and (max-width: 1550px) and (min-width: 769px) {
	#location {
		width: 50%;
		height:90px;
	}
	#contactus {
		margin-top: 90px;
	}
}

@media all and (max-width: 1100px) and (min-width: 769px) {
	#location {
		width: 50%;
		height:135px;
		/*margin-left: -26px;*/
	}
	#contactus {
		margin-top: 135px;
	}
}

@media all and (max-width: 960px) {
	#desktopButtons {
		-webkit-justify-content: flex-end;
		-moz-justify-content: flex-end;
		justify-content: flex-end;
	}
	#desktopButtons #address {
			display: none;
	}
	.entry-content div.highlightHeaderBottom div {
		font-size: 26px;
	}
}

@media all and (max-width: 768px) {
	#masthead {
		background-image: url('/wp-content/uploads/2018/02/headerBackground.png');
		background-position: center center;
		background-size: cover;
	}
	#logo {
		max-width: 90%;
		margin: 0 auto;
	}
	#desktopButtons {
			display: none;
	}
	.navbar-nav {
		overflow: hidden;
	}
	ul.nav > li.active > a, ul.nav > li:hover > a {
		color: inherit;
	}
	#ContactFooter {
		-webkit-flex-direction: column;
		-moz-flex-direction: column;
		flex-direction: column;
	}
	#location {
		height: auto;
		line-height: 1.2em;
	}
	#location .practice {
		text-transform: capitalize;
		font-size: 24px;
	}
	#location pre {
		white-space: pre;
	}
	#contactus {
		max-width: 100%;
	}
	#socialMedia a {
		margin: 0 5px;
	}
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#logo img {
		height: 100px;
	}
	#socialMedia img {
		height: 25px;
		width: 25px;
	}
}

#covid-19 {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	margin: auto;
	width: 100%;
	z-index: 99999;
	background-color: #fff;
	padding: 10px;
	height: 40px;
	display: none;
	justify-content: center;
}

#covid-19 p {
	text-align: center;
}