.clear {
	float:none;
	clear:both;
}

body {
	color:#21315F;
}

/************************* FLYOUT MENu *****************************/

#flyoutMenu {
	position:fixed;
	top:0;
	left:-40%;
	height:100%;
	width:40%;
	background-color: #F6F6F6;
	z-index:4;
	font-family:Noto Serif;
	font-size:18px;	
	line-height:34px;
	color:#21315F;
	text-align: center;
}

#flyoutMenu p {
	margin-top:150px;
}

#flyoutMenu h3 {
	margin-top:100px;
}

#closeBtn {
	display: block;
	width:30px;
	height:30px;
	position: absolute;
	top:30px;
	left:40px;
	background-image: url("../images/close.png");
    background-size:contain;
    z-index:4;
}


/************************* NAV / HEADER *****************************/

#header {
	position:fixed;
	top:0;
	left:0;
	height:100px;
	width:100%;
	background-color: #fff;
	display: none;
	z-index:2;
}

#header h2 {
	font-size:36px;
	line-height:60px;
	z-index:3;
}

#menuBtn {
	display: block;
	width:30px;
	height:30px;
	position: fixed;
	top:30px;
	left:40px;
	background-image: url("../images/menu.png");
    background-size:contain;
    z-index:3;
}


h1 {
	font-family:Noto Serif;
	font-size:62px;	
	font-weight: bold;
	font-style: italic;
	text-align: center;
	margin-bottom:-20px;
	z-index: 999;
}

#quickContact {
	position:fixed;
	top:25px;
	right:40px;
	z-index:3;
}

#todaysHours {
	font-family:Noto Serif;
	font-size:15px;	
	line-height: 24px;
	float:left;
}

#quickContact p {
	font-family:Noto Serif;
	font-size:15px;	
	line-height: 24px;
	float:left;

}

#toothIcon {
	margin-top:-20px;
	width:30px;
	height:30px;
	margin-left:20px;
	float:left;
	background-image: url("../images/tooth.png");
    background-size:contain;
}

#content {
	width:86%;
	margin-left:7%;
	margin-right:7%;
	height:100%;
	margin-top:50px;
}

/************************* IMAGES *****************************/

#slideshowWrapper {
	width:100%;
	max-height:800px;
}

#slideshow {
	position: absolute;
	z-index:-2;
	max-height:800px;
}

#slideshow img{
	width:100%;
		background-position: center;
}

/************************* INTRO *****************************/

#intro {
	width:50%;
	height:450px;
	background-color:#fff;
	float:left;
	z-index:999;
	margin-top:-150px;
}

#history{
	font-family:Noto Serif;
	padding:50px;
	color:#21315F;
	font-size:16px;	
	line-height: 36px;
}

h3 {
	font-family:Noto Serif;
	font-size:18px;	
	font-weight: bold;
}

#contactLeft {
	float:left;
	width:50%;
	text-align: center;
}

#phoneIcon {
	width:35px;
	height:35px;
	text-align:center;
	background-image: url("../images/phone.png");
    background-size:contain;
    margin-top:30px;
    margin-left:auto;
    margin-right:auto;
}

#contactLeft p{
	font-family:Noto Serif;
	font-size:15px;
	line-height: 30px;
	margin-top:30px;
}

#contactRight {
	float:left;
	width:50%;
}


#days {
	width: 40%;
	float:left;
	font-family:Noto Serif;
	font-weight: bold;
	font-size:15px;
	line-height: 30px;
	margin-bottom: 30px;
	text-align: center;
}

#hours {
	width: 60%;
	float:left;
	font-family:Noto Serif;
	font-size:14px;
	line-height: 30px;
	margin-bottom: 30px;
	text-align: center;
}

#erHours {
	float:left;
	width:100%;
	text-align: center;
}

#map {
	width:50%;
	height:300px;
	float:left;
	background-image: url("../images/map.jpg");
	background-size:cover;
	background-position: center;
	padding-bottom:30px;
}

/************************* SERVICES *****************************/

#services {
	width:100%;
	height:auto;
	background-color:#f0f;
	display:block;
	margin-top:100px;
	margin-bottom:100px;
	z-index:-5;
}

#servicesColumn1 {
	width:50%;
	float:left;
}

#servicesColumn2 {
	width:50%;
	float:left;
}


.plusBtn {
	display: block;
	width:30px;
	height:30px;
	background-image: url("../images/plus.png");
    background-size:contain;
    float:left;
    margin-top:20px;
    margin-left:30px;
}

h2 {
	height:30px;
	font-family:Noto Serif;
	font-size:30px;	
	font-weight: bold;
	font-style: italic;
	text-align: center;
	padding-top:20px;
	padding-bottom:20px;
}

h2 > a {
  position: relative;
  color: #21315F;
  text-decoration: none;
}

h2 > a:hover {
  color: #21315F;
}

h2 > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #21315F;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

h2 > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.service p {
	display:none;
	padding-left:40px;
	padding-right:40px;
	padding-bottom:40px;
	font-family:Noto Serif;
	font-size:16px;
	line-height:36px;
}

#service1, #service1 p {
	background-color:#FFFBD8;
}

#service2, #service2 p {
	background-color:#fff;
}

#service3, #service3 p {
	background-color:#FAEEFD;
}

#service4, #service4 p {
	background-color:#fff;
}

#service5, #service5 p {
	background-color:#E2FFFC;
}

#service6, #service6 p {
	background-color:#fff;
}

#service7, #service7 p {
	background-color:#E2FEE2;
}

#service8, #service8 p {
	background-color:#fff;
}

#service9, #service9 p {
	background-color:#FFF4E6;
}


.rotated { 
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/************************* ABOUT *****************************/


#about {
	margin-top:100px;
}

#personalNote {
	width:50%;
	height: auto;
	background-color:#fff;
	margin-top:430px;
	position:absolute;
	right:7%;
}

#personalNote h3 {
	padding-left:50px;
	padding-top:50px;
	padding-bottom:25px;
}

#personalNote p {
	font-family:Noto Serif;
	padding-left:50px;
	padding-right:50px;
	padding-bottom:60px;
	color:#21315F;
	font-size:16px;
	line-height: 36px;
}

#teamImage {
	width:100%;
	height:500px;
	display:block;
	overflow: hidden;
}

#teamImage img {
	width:100%;
	display: block;
	background-position: top center;
}

#footerContact {
	width:40%;
	height:50px;
	margin-top:30px;
}

#footerContact li{
	float:left;
	width:30%;
	margin-right:3%;
	font-family:Noto Serif;
	color:#fff;
	font-size:15px;
	line-height: 25px;
	text-align: center;

}

h4 {
	font-family:Noto Serif;
	font-size:18px;
	color:#fff;
	font-weight: bold;
	font-style: italic;
	line-height:50px;
}

#footer {
	width:100vw;
	height:400px;
	background-color:#21315F;
	margin-top:-150px;
}

