/**
  Theme Name: Baters Family Dental Pratice
  Theme URI: http://www.baxtersfamilydental.co.uk/
  Version: 1.0
  Author: Dental Design
  Author URI: http://www.dental-design.co.uk
  Description: A theme created for Baxter Family Dental by Dental Design.
*/
/* ===============================
----------- Contents -------------
==================================

1.0 Generic Styles
2.0 Top section
3.0 Call Out
4.0 Contact Bar
5.0 Map
6.0 Footer

================================== */


/* ===============================
1.0  Generic Styles --------------
================================== */
*{
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	transition:all 0.3s ease-in-out;
}
body, h1, h2, h3, h4, h5, h6, a{
	font-family: 'Muli', sans-serif;
	color: #444;
}
a{
	text-decoration: none;
}

/* ===============================
2.0  Top Section -----------------
================================== */
header{
	background: #333366;
	float: left;
	width: 100%;
	padding: 0px;
}
header section{
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}


.banner{
	width: 100%;
	float: left;
}

.banner section{
	width: 1200px;
	margin: 0 auto;
}


.logo{
	width:200px;
	position: relative;
	z-index: 666;
	color: #999;
	top: -300px;
	left: calc(50% - 130px);
	text-align: center;

}
.logo img{
	width: 250px;
}
@media screen and (max-width:1050px){
	
.logo{
	width:200px;
	position: relative;
	z-index: 666;
	color: #999;
	top: -240px;
	left: calc(50% - 85px);
	text-align: center;

}
.logo img{
	width: 190px;
}
}
@media screen and (max-width:920px){
	
.logo{
	display: none;
	width:50%;
	position: relative;
	z-index: 666;
	color: #999;
	top: -300px;
	left: 0;
	text-align: center;

}
.logo img{
	width: 250px;
}
}
@media screen and (max-width:760px){
	
.logo{
	display: none;
	width:40%;
	position: relative;
	z-index: 666;
	color: #999;
	top: -300px;
	left: 0;
	text-align: center;

}
.logo img{
	width: 200px;
}
}
.cover{
	opacity: 1;
	width: 100%;
	height: 100vh;
	position: absolute;
	background: rgba(0,0,0,0);
	top:0;
	left: 0;
	z-index: 10;
	transition:all 0.3s ease-in-out;
}

/* landing page */

.logo-right{
	width: 400px;
	top: 140px;
	position: absolute;
	right: calc(25%);
	text-align: center;

}

.logo-right img{
	max-height:300px;
}

.content{
	width: 600px;
	position: absolute;
	right: calc(25% - 100px);
	top: 500px;
	padding: 30px;
	border: 1px rgba(180,180,180,0) solid;
	background: rgba(255,255,255,0);
	text-align: center;
}
@media screen and (max-height:950px){
	.logo-right{
		top:40px;
	}
	.content{
		top:400px;
	}
}
@media screen and (max-height:850px){
	.content{
	width: 800px;
	right: calc(25% - 200px);
		
	}
}

.telephone{
	float: right;
	width: 50%;
	padding: 10px 10px 10px 0;
	text-align: right;
	color: #fff !important;
}
.telephone p{
	text-align: right;
	font-size: 24px;
	margin: 5px;
	font-weight: 700;
}
.telephone p i{
	font-size: 27px;
	position: relative;
	top: 4px;
	margin-right: 8px;
	color: rgba(255,255,255,0.3);
}
.telephone p .fa-phone{
	transform:rotate(19deg);
}
a[href^=tel] { color: inherit; }
.telephone-land, .telephone-land a{
	width: 700px;
	margin: 0 auto;
	float: right;
	padding: 30px 100px;
	text-align: center;
	color: #fff;
	font-weight: 700;
}
.telephone-land p{
	text-align: center;
	font-size: 30px;
	margin: 5px;
	font-weight: 400;
}
.telephone-land p i{
	font-size: 29px;
	position: relative;
	top: 4px;
	margin-left: 8px !important;
	color: rgba(255,255,255,0.3);
}

.telephone p .booknow, .telephone-land p span{	
	color: rgba(255,255,255,0.56);
	font-weight: 300;
	font-size: 14px;
}
.telephone p .divider{	
	color: rgba(255,255,255,0.56);
	font-weight: 300;
	font-size: 25px;
}
.telephone p .smaller{	
	color: rgba(255,255,255,0.56);
	font-weight: 300;
	font-size:24px;
	margin-right: 12px;
}

.telephone p .smaller i{
	margin-left: 5px;
}
.telephone img{
	display: none;
}

@media screen and (max-width:0px){ /* 700px */
	.telephone{
		width: 230px;
	}
	.booknow{
		width: 100%;
		display: block;
		text-align: right;
		padding-right: 40px;
	}
	.telephone p,.telephone p .smaller{
		float: left;
		font-size: 22px;
	}

}
@media screen and (max-width:920px){ /* 780px */
	.telephone{
		width: 49%;
	}
	.booknow{
		width: 100%;
		display: block;
		text-align: right;
		padding-right: 40px;
	}	
	.telephone img{
		display: block;
		float: left;
		width: 95px;
		padding-bottom: 10px;
		padding-right: 10px;
	}
	.telephone p,.telephone p .smaller{
		float: right;
		font-size: 18px;
	}

}
 @media screen and (max-width:820px){ /*780px */	
 	.telephone{
		width: 290px;
	}
	.booknow{
		width: 100%;
		display: block;
		text-align: right;
		padding-right: 40px;
	}	
	.telephone img{
		display: block;
		float: left;
		width: 95px;
		padding-bottom: 10px;
		padding-right: 10px;
	}
	.telephone p,.telephone p .smaller{
		float: left;
		font-size: 18px;
	}

}

@media screen and (max-width:685px){ /* 675px */
	.telephone{
		width: 310px;
		margin: 0 auto;
		float: none;
	}
	.booknow{
		width: 100%;
		display: block;
		text-align: center;
	}	
	.telephone img{
		display: block;
		float: left;
		width: 95px;
		padding-bottom: 10px;
		padding-right: 10px;
	}
	.telephone p,.telephone p .smaller{
		float: left;
		font-size: 20px;
	}

}

/* ===============================
2.1  Services --------------------
================================== */

.service-wrapper{
	width:1210px;
	margin: 0 auto;
	position: relative;
	top:12%;
	z-index: 29990;
}
.service-box{
	width: calc(400px - 40px);
	height: 170px;
	margin: 20px;
	float: left;
	transition:all 0.3s ease-in-out;
	position: relative;
	z-index: 20;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,0.1);
}
.service-wrapper:hover .service-box{
	opacity: 0.75;
}

.service-box:hover{
	height: 575px;
	margin: -230px 20px;
	opacity: 1 !important;
}
.bgimage{
	background-size: contain;
	position: absolute;
	z-index:1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
}

@media screen and (max-width:1500px){
	.service-wrapper{
		top:7%;
	}
	.service-box:hover{
		margin: -160px 20px;
	}
}


.service-box a img {
	width: 100%;
	position: relative;
	z-index: 26;


}

.service-box .service-cover{
	width: 100%;
	display: block;
	background: #0883d8;
	position: absolute;
	z-index: 27;
	transition:all 0.4s ease-in-out;
	padding: 400px;
}
.service-box:hover .service-cover{
	background: rgba(0,0,0,0);
}

.service-box .service-name {
	width: 100%;
	display: block;
	background: rgba(255,255,255,0);
	position: relative;
	z-index: 29;
	top:-370px;
	transition:all 0.4s ease-in-out;
	padding: 40px 0 130px;
	font-size: 28px;
	text-align: center;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
}

.service-box:hover .service-name{
	top:-00px;
	padding: 30px 0 100px;
	opacity:1;
	font-size: 20px;
	color: #336;
	background: rgba(255,255,255,0.9);
}
.service-box:hover .service-name:hover{
	background: #f6f6f6;
}

.service-box .service-price {
	width: 100%;
	display: block;
	background: rgba(100,100,100,0.9);
	position: relative;
	z-index: 29;
	top:-480px;
	transition:all 0.3s ease-in-out;
	padding: 25px;
	text-align: center;
	color: #fff;
	font-size: 25px;
	font-weight: 400;
	text-transform: uppercase;
}

.service-box .service-price strong{
	color: #fff;
	font-weight: 700;
}
.service-box:hover .service-price strong{
	color: #fff;
}
.service-box:hover .service-price{
	top:-80px;
	background: #0883d8;
	padding: 30px;
	height: 80px;
	opacity:1;

}
.service-box:hover .service-price:hover{
	background: #999;
}

.service-box .service-info {
	width: 100%;
	display: block;
	background: #333366;
	position: relative;
	z-index: 30;
	top:-140px;
	padding: 20px;
	transition:all 0.3s ease-in-out;
	text-align: center;
	color: #fff;
}

.service-box:hover .service-info{
	top:-80px;
}

.service-box:hover .service-info:hover{
	color: #336;
	background: #f6f6f6;
}

.click{
	width: 100%;
	margin: 0 auto;
	position: absolute;
	bottom: 20px;
	z-index: 99;
	text-align: center;
	opacity: 0.7;
}
.click:hover{
	opacity: 1;
}

@media screen and (max-width:1200px){
	.click{
		display:none;
	}
}
@media screen and (max-height:900px){
	.click{
		display:none;
	}
}

@media only screen and (max-width: 1210px) {
.service-wrapper{
	width:1000px;
	top:12%;
}
.service-box{
	width: calc(333px - 40px);
	height: 170px;
}

.service-box:hover{
	height: 510px;
	margin: -230px 20px;
	opacity: 1 !important;
}
.service-box .service-name {
	top:-310px;
	padding: 48px 0 130px;
	font-size: 29px;
}

.service-box .service-price {
	top:-420px;
}
}

@media only screen and (max-width: 1010px) {
.service-wrapper{
	width:900px;
	top:12%;
}
.service-box{
	width: calc(300px - 40px);
	height: 137px;
}

.service-box:hover{
	height: 475px;
	margin: -230px 20px;
	opacity: 1 !important;
}
.service-box .service-name {
	top:-300px;
	padding: 60px 0 130px;
	font-size: 25px;
}

.service-box .service-price {
	top:-420px;
	font-size: 20px;
}
}

@media only screen and (max-width: 1010px) {
.service-wrapper{
	width:800px;
	top:12%;
}
.service-box{
	width: calc(266px - 40px);
	height: 124px;
}

.service-box:hover{
	height: 465px;
	margin: -230px 20px;
	opacity: 1 !important;
}
.service-box .service-name {
	top:-270px;
	padding: 60px 0 130px;
	font-size: 21px;
}

.service-box .service-price {
	top:-390px;
	font-size: 17px;
}
}
.service-wrapper-responsive{
	display: none;
}
@media only screen and (max-width: 810px) {
	.service-wrapper{
		display: none;
	}
	.service-wrapper-responsive{
		display: block;
		padding: 10px;
		float: left;
		width: 100%;
	}
	.service-box-resp{
		width: 33%;
		padding: 10px;
		float: left;

	}
	
	a.service-name-resp{
		width: 100%;
		display: block;
		background: #0883d8;
		color: #fff;
		padding: 10px;
		font-size:20px;
		float: left;
		text-align: center;
	}
	.service-box-resp:hover .service-name-resp{
		background: #333366;
	}
	a.service-price-resp{
		width:100%;
		display: block;    
		color: #fff;
		background: #999;		
		padding: 10px;
		font-size:20px;
		text-align: center;
		float: left;
	}
	.service-box-resp:hover .service-price-resp{
		background: rgba(100,100,100,0.9);
	}

}
@media only screen and (max-width: 640px) {
	a.service-price-resp{
		font-size: 15px;
	}
	.service-box-resp{
		padding: 5px;
	}
}
@media only screen and (max-width: 520px) {
	a.service-name-resp{
		font-size: 18px;
	}
}
@media only screen and (max-width: 480px) {
	
	.service-box-resp{
		width: 100%;
		padding: 10px;
		float: left;
	}
}
/* ===============================
3.0  Call Out --------------------
================================== */

.cta-bar{
	width:100%;
	background: #f6f6f6;
	border-bottom: 9px #efefef solid;
	float: left;
	height: 130px;
}
.cta-bar section{
	max-width:1200px;
	margin: 0 auto;
	padding: 40px 0;
	text-align: center;
	font-size: 20px;
	color: #777;
	font-weight: 700;
}
.calltoaction{
	width: 33%;
	float: left;
	margin-bottom: 40px;

}
.calltoaction i{
	font-size: 27px;
	color: rgba(51,51,102,0.8);
	position: relative;
	top:3px;
	margin-right: 6px;
}
.calltoaction:hover{
	font-size: 24px;
}
.calltoaction:hover i{
	font-size: 30px;
	top: 3px;
}
@media only screen and (max-width: 1036px) {

	.cta-bar section{
		font-size: 17px;
	}
	.calltoaction i{
		font-size: 22px;
		color: rgba(51,51,102,0.8);
		position: relative;
		top:3px;
		margin-right: 6px;
	}
	.calltoaction:hover{
		font-size: 20px;
	}

	.calltoaction:hover i{
		font-size: 23px;
	}
}
@media only screen and (max-width:00px) {

	.cta-bar section{
		font-size: 16px;
	}
	.calltoaction i{
		font-size: 19px;
		color: rgba(51,51,102,0.8);
		position: relative;
		top:3px;
		margin-right: 6px;
	}
	.calltoaction:hover{
		font-size: 18px;
	}

	.calltoaction:hover i{
		font-size: 21px;
	}
}
@media only screen and (max-width: 900px) {

	.cta-bar{
		width:100%;
		background: #f6f6f6;
		border-bottom: 9px #efefef solid;
		float: left;
		height: 200px;
	}
	.cta-bar section{
		padding: 5px 0;
		font-size: 25px;
	}
	.calltoaction{
		width: 100%;
		float: left;
		margin-bottom: 0px;
		height: 50px;
		border-bottom: 1px solid #eee;
		margin-top: 12px;
	}
	.calltoaction:last-child{
		border-bottom: none;

	}
	.calltoaction i{
		font-size: 27px;
		top:3px;

	}
	.calltoaction:hover{
		font-size: 24px;
	}
	.calltoaction:hover i{
		font-size: 30px;
		top: 3px;
	}
}

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

	.cta-bar section{
		padding: 5px 0;
		font-size: 18px;
	}
	.calltoaction{
		width: 100%;
		float: left;
		margin-bottom: 0px;
		height: 50px;
		border-bottom: 1px solid #eee;
		margin-top: 12px;
	}
	.calltoaction:last-child{
		border-bottom: none;

	}
	.calltoaction i{
		font-size: 20px;
		top:3px;

	}
	.calltoaction:hover{
		font-size: 20px;
	}
	.calltoaction:hover i{
		font-size: 22px;
		top: 3px;
	}

}

.thanks{
  width: 100%;
  float: left;
}

.thanks section{
  text-align: center;
  max-width:1000px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.thanks section h1{
  font-weight: 300;
  font-size: 40px;
  margin-top: 30px;
}
.thanks section h1 span{
  font-size: 50px;
  font-weight: 400;
}
.underline{
  width:50px;
  margin: 20px auto 40px;
  height: 0;
  border-bottom:5px solid #0883d8;
}

.thanks section h4{
  font-weight: 700;
  line-height: 1.5em;
  font-size: 20px;
}
.thanks section p{
  line-height: 1.5em;
}

/* =========================================================================================
4.0  Slider --------------------------------------------------------------------------------
============================================================================================ */

.slider{
	width: 100%;
	float: left;
	background: rgba(0,0,0,0.0);
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	z-index: 9999;
}



.fws2 {
    position: relative;
    background:#fff;
    width:100%;
    overflow: hidden;
    height:366px !important;
}

.fws2 .slider_container {
}

.fws2 .slide {
    display: none;
    position: relative;
    top:0;
    left:0;
    z-index: 0;
    width: 100%;
    height: 100%;
    width:100%;
}
.sl1{
	background: url(images/slides/slide_3.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl2{
	background: url(images/slides/slide_2.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl3{
	background: url(images/slides/slide_1.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-botox-1{
	background: url(images/slides/slide_10.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-derm-1{
	background: url(images/slides/slide_8.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-1{
	background: url(images/slides/slide_4.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-2{
	background: url(images/slides/slide_5.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-3{
	background: url(images/slides/slide_6.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-4{
	background: url(images/slides/slide_7.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}

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

/*.sl1, .sl2, .sl3, .sl-botox-1,.sl-derm-1,.sl-invisi-1,.sl-invisi-2,.sl-invisi-3,.sl-invisi-4{
	background: url(images/slides/slide_blank.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}*/


.sl1{
	background: url(images/slides/slide_3-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl2{
	background: url(images/slides/slide_2-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl3{
	background: url(images/slides/slide_1-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-botox-1{
	background: url(images/slides/slide_10-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-derm-1{
	background: url(images/slides/slide_8-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-1{
	background: url(images/slides/slide_4-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-2{
	background: url(images/slides/slide_5-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-3{
	background: url(images/slides/slide_6-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}
.sl-invisi-4{
	background: url(images/slides/slide_7-res.jpg) no-repeat;
	background-size: cover;
	background-position: center bottom;
}




}
.fws2 .slide img {
    width:100%;
    height: auto;
    float:left;
}

.fws2 .slidePrev {
    background:#000;
    width:50px;
    height:50px;
    position: absolute;
    top:85% !important;
    left:50px !important;
    opacity:0.5;
    z-index: 100;
}

.fws2 .slidePrev i {
    width:50px;
    height:50px;
    float:left;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    font-size: 32px;
    color:#FFF;
    line-height: 1.7;
    text-align: center;
}

.fws2 .slideNext {
    background:#000;
    width:50px;
    height:50px;
    position: absolute;
    top:85% !important;
    left:110px;
    opacity:0.5;
    z-index: 100;
}

.fws2 .slideNext i {
    width:50px;
    height:50px;
    float:left;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    font-size: 32px;
    color:#FFF;
    line-height: 1.7;
    text-align: center;
}

.fws2 .timers {
    height:4px;
    position: absolute;
    bottom:15px;
    right:0;
    z-index: 3;
}

.fws2 .timer {
    height:4px;
    width:40px;
    background-color: #000;
    float:left;
    margin-right: 10px;
    display: none;
}

.fws2 .progress {
    height:4px;
    width:0%;
    background-color: #0883d8;
    float:left;
}

.fws2 .bullets {
    position: absolute;
    bottom:-50px;
    z-index: 3;
    width:100%;
    text-align: center;
}

.fws2 .bullet {
    display: inline-table;
    cursor: pointer;
    padding:0 2px;
    z-index: 100;
}

.fws2 .bullet i {
    color:#000;
    font-size: 10px;
    line-height: 1;
    -webkit-transition: color .25s ease-out;
    transition: color .25s ease-out;
}

.fws2 .bullet.active i, .fws2 .bullet:hover i {
    color:#0883d8;
}


.fws2 .slide_content {
    top:0;
    left:0;
    position: relative;
    width:100%;
    height:100%;
    float: left;
}

.fws2 .slide_content_wrap { /* Slider Text Content Container Style */
    width: 1200px;
    position: relative;
    display: none;
    margin: 10px auto !important;;
}

@media only screen and (min-width:1000px) and (max-width: 1200px) {
	.fws2 .slide_content_wrap { /* Slider Text Content Container Style */
	    width: 100%;      
	    right: 0;
	}
}
.index-desc-position{
	top:calc(50% - 130px) !important;
}
.slide-content-box{
	width: 400px;
	float: right;
}
@media only screen and (max-width: 920px) {
	.slide-content-box{
		width: 50%;
	}
}
@media only screen and (max-width: 920px) {
	.slide-content-box{
		width: 55%;
	}
}
.fws2 h4.title {  /* Slider Title Style */
    opacity: 0;
    color:#fff;     
    font-size:36px;
    color: #222;
    padding:0 20px;
    float:left;
    font-family: "Muli";
    text-transform: uppercase;
    font-weight: 300;
    text-align: center;
    width: 400px;
}
.fws2 h5.title{  /* Slider Title Style */
    opacity: 0;
    color:#fff;     
    font-size:26px;
    color: #787878;
    padding:0 20px;
    float:left;
    font-family: "Lato";
    text-transform: uppercase;
    font-weight: 400;
    width: 400px;
    text-align: center;
    margin: 10px 0;
}

.fws2 .description { /* Slider Description Style */
    opacity: 0;
    font-size:18px;
    color: #222;
    padding:0 20px 20px;
    clear:both;
    float:left;
    width: 400px;
    line-height:24px;
    font-family: "Lato";
    font-weight: 400;
    text-align: center;
}
.fws2 .description strong,
.fws2 h5.title strong{
	font-weight: 700;
	color: #0883d8;

}

.fws2 .readmore { /* Slider Read More button Style */
    opacity: 0;
    clear:both;
    float:right;
    text-transform:uppercase;
    font-size:10px;
    color:#0883d8;
    background:#fff;
    border: 1px solid #0883d8;
    padding:15px;
    margin: 15px 135px 0 ;
    width: 90px;
    text-decoration: none;
    font-family: "Lato";
    font-weight: 400;
    -webkit-transition: all .45s ease-out;
    transition: all .45s ease-out;
}

.fws2 .readmore:hover {
    color:#fff;
    background:#0883d8;
    border: 1px solid #0883d8;
}


.slider-cover{
	width: 2200px;
	height:calc(100%);
	position: absolute;
	right: -1060px;
	z-index: 10;
	margin: 0px;
	float: right;
	-ms-transform: skewX(-30deg); /* IE 9 */
    -webkit-transform: skewX(-30deg); /* Safari */
    transform: skewX(-30deg);
    background: rgba(0,0,0,0.1);
    border-left: solid 43px rgba(0,0,0,0.051);
    opacity: 0.5;
}



/* ===============================
4.0  Contact Bar -----------------
================================== */
.contact-bar{
	width: 100%;
	float: left;
	background: #f0f0f0;
	padding: 0 0 40px;
}

.contact-holder{
	max-width:1200px;
	margin: 0 auto;
}

.contact-openings i, .contact-info i {
	font-size: 35px;
}
.contact-form i {
	font-size: 29px;
	margin: 3px 0px;    
	left: 65px !important;
}

.contact-holder h2{
	margin: 7px 0 30px;
}

/* ===============================
4.1  Contact Details -------------
================================== */
.contact-info{
	width: 33%;
	padding: 30px 15px 30px;
	float: left;
	text-align: center;
	line-height: 24px;

}
.contact-info p{
	margin-bottom: 15px;
	width: 100%;
	text-align: center;
}
.phone{
	font-size: 25px;
	background: rgba(0,0,0,0.05);
	padding: 10px;
	border:1px solid rgba(0,0,0,0.1);
	width: 270px !important;
	font-family: "Montserrat", sans-serif;
	margin: 25px auto 0;
	text-align: center;
}
.phone i{
	margin: 0 0px 0 0;
}
.phone span{
	font-size: 20px;
	color: rgba(0,0,0,0.7);
}
.phone .fa-phone{
	transform:rotate(19deg);
}
.phone i{
	font-size: 26px;
	color: rgba(0,0,0,0.7);
}
/* ===============================
4.2  Opening Times ---------------
================================== */
.contact-openings{
	width: 33%;
	padding: 30px 15px 30px;
	float: left;
	text-align: center;
}

.opening-row{
	width: 350px;
	margin: 0 auto;
	padding: 10px 30px;
	float: left;
	border-top: 1px rgba(0,0,0,0.1) solid;
	border-bottom: 1px rgba(0,0,0,0) solid;
	border-left: 1px rgba(0,0,0,0) solid;
	border-right: 1px rgba(0,0,0,0) solid;
}
.opening-row:nth-child(even){
	background: rgba(0,0,0,0.05);
}

.opening-row:last-child{
	border-bottom: 1px rgba(0,0,0,0.1) solid;
}
.opening-day{
	text-align: left;
	float: left;
	padding: 0 0px;
	margin: 0;
	width: 50%;
}
.opening-time{
	text-align: right;
	float: left;
	padding: 0 0px;
	margin: 0;
	width: 50%;
}
.opening-row:hover{
	background: #ccc;
	padding: 10px 15px;
	border: 1px #333366 solid;
}

.opening-row p{
	padding: 0 0px;
	margin: 0;
}
.opening-message{
	text-align: center;
	width: 100%;
	margin: 3px 0px !important;
	font-size: 17px;
	height: 20px;
	font-weight: 700;
}

.opening-row:hover .opening-message{
	font-size: 18px;
}

/* ===============================
4.3  Contact Form ----------------
================================== */
.contact-form{
	width: 33%;
	padding: 30px 15px 30px 50;
	float: left;
	left: 0;
	text-align: center;
	float: left;
	position: relative;
}

.contact-form input,.contact-form textarea{
	width: 100%;
	padding: 7px 0 7px 35px;
	margin: 5px;
	background: rgba(255,255,255,0.5);
	border: 1px solid rgba(0,0,0,0.2);
	position: relative;
	z-index: 40;
	color: #444;

}
.contact-form input:hover, textarea:hover{
	padding: 7px 0 7px 42px;
	background: rgba(255,255,255,0.9);
	border: 1px solid rgba(0,0,0,0.4);
	color: #333;
}
.contact-form textarea{
	height: 97px;
}

.contact-form button{
	margin: 5px;
	width: 150px;
	background: #333366;
	color: #fff;
	border: 1px solid #333366;
	text-transform: uppercase;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
}
.contact-form button:hover p{
	color: #333;
	font-weight: 700;
}
.contact-form button:hover{
	color: #333;
	background: #fff;
	border: 1px solid #222;
	font-weight: 700;
}
.contact-form button i{
	position: relative;
	left: -50px;
	top: 0px;
	color: #333366;
	z-index: 5;
}
.contact-form button p{
	width: 100%;
	color: #fff;
	position: absolute;
	top: 0;
	z-index: 6;
	margin: 9px 0 0 -5px;
}
.contact-form button:hover i{
	left:50px;
	color: #ddd;
}
.contact-form .name-icon{
	position: absolute;
	left: 65px;
	float: left;
	color: #888;
	z-index: 42;
	padding: 11px 0 0;
	font-size: 16px !important;
}

@media only screen and (max-width: 1100px) {
	.contact-form{
		display: none;
	}
	.contact-openings, .contact-info{
		width: 50%;
	}
	.opening-row{
		width: 100%;
	}

}
@media only screen and (max-width: 600px) {
	.contact-openings, .contact-info{
		width: 100%;
	}
	.opening-row{
		width: 100%;
	}

}
/* ===============================
5.0  Map -------------------------
================================== */
.map-bar{
	width: 100%;
	float: left;
	border-top: 1px solid #333366;
	height:300px;
}
#map{
	width: 100%;
	height:299px;
}

/* ===============================
6.0  Content for Landing pages----
================================== */

.moreinfo-bar{
	width: 100%;
	float: left;
	background: #fcfcfc;
	border-top: 1px solid #f3f3f3;
}

.moreinfo-bar section{
	width: 1200px;
	margin: 0 auto;
}
.moreinfo-half{
	width: 50%;
	padding: 40px 30px;
	float: left;
}
p sup{
	font-size: 8px;
	position: relative;
	top:-6px;
}
.moreinfo-half h2{
	color: #333366;
	margin-top:40px;
}
.content h1{
	font-size: 30px;
	text-align: center;
}
h1 sup{
	font-size: 11px;
	position: relative;
	top:-13px;
}
.invisalign-logo{
	position: relative;
	left: calc(50% - 220px);
	top:60px;
	width:400px; 

}

nav{
	margin: 20px 0px 0 10px;
	float: left;

}

nav a{
	display: block;
	padding: 12px 20px;
	background: rgba(255,255,255,0);
	border-left: 1px solid rgba(255,255,255,0.1);
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: 1px solid rgba(255,255,255,0.1);
	float: left;
	font-size: 14px;
	color: rgba(255,255,255,0.8);
	height: 45px;

}
nav a:first-child{
	padding-top: 14px;
}
nav a:last-child{
	border-right: 1px solid rgba(255,255,255,0.1);
}
nav a:hover{
	color: #fff;
	background: rgba(255,255,255,0.2);
}

@media screen and (max-width:675px){
	nav{
		width:370px;
		margin: 20px auto;
		padding-bottom: 20px;
		float: none;
		clear: both;
	}
}
@media screen and (max-width:390px){	
	nav{
		width:300px;
	}
	nav a{
		padding: 12px 15px;
		font-size: 12px;
	}
}
@media screen and (max-width:326px){	
	nav{
		width:280px;
	}
	nav a{
		padding: 12px 14px;
		font-size: 11px;
	}
}
/* ===============================
7.0  Footer ----------------------
================================== */
footer{
	width: 100%;
	float: left;
	text-align: center;
	border-top: 1px solid #333366;
	padding: 30px;
}

/* ===============================
8.0  SLide Out Form --------------
================================== */

.slide-out-div {
  	padding: 85px 50px 55px 85px;
  	width: 60%;
  	height:100vh;
  	background: rgba(90,90,90,0.95);
  	color: #fff;
  	z-index:9999999;
  	position:relative;
}
.handle {
  	top:200px;
  	margin: 35vh 0 0 0px;
  	cursor: pointer;
  	border-radius: 8px 0 0 8px;
}
.slide-out-div h2 {
  	color:#fff;
  	text-transform:none;
  	font-size:28px;
  	position: relative;
  	left: 0;
  	width: 100%;
  	margin-top: calc(5vh);
}
.slide-out-div p {
  	margin: 20px 0;
  	line-height: 24px;
  	color: #fff;
  	font-weight: normal;
  	font-size: 0.9em;
}
.home-form{
  	width: 500px;
  	float: left;
  	box-sizing:border-box;
  	-webkit-box-sizing:border-box;
  	-moz-box-sizing:border-box;
  	padding: 20px;
  	right: 0;
  	background: rgba(255,255,255,0.8);
}
.home-form form{
  	width: 100%;
  	font-size: 14px;
}
.home-form input, .home-form textarea{
	width: 100%;
	border: 1px solid #999;
	background: rgba(255,255,255,0.5);
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	padding: 10px 10px 10px 40px;
	margin: 0 0 10px 0;
	transition:0.4s all ease-in-out;
	position: relative;
	z-index: 40;
	color: #444;
}
.home-form input:hover, .home-form textarea:hover{
	padding: 10px 10px 10px 50px;
	color: #333;
}
.home-form textarea{
	height: 160px;
}
.form-icon{
	position: absolute;
	left: 115px;
	float: left;
	color: #888;
	z-index: 42;
	padding: 11px 0 0;
	font-size: 16px !important;	
}
.button-holder{
	width: 150px;
	margin: 0 auto;
	padding: 0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	text-align: center;
}
.button-holder:hover{
	width: 150px;
	margin: 0 auto;
}


.home-form button{
	margin: 5px;
	width: 150px;
	background: #333366;
	color: #fff;
	border: 1px solid #333366;
	text-transform: uppercase;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
	padding: 10px;
	font-size: 18px;
}
.home-form button:hover p{
	color: #333;
	font-weight: 700;
}
.home-form button:hover{
	color: #333;
	background: #fff;
	border: 1px solid #222;
	font-weight: 700;
}
.home-form button i{
	position: relative;
	left: -50px;
	top: 0px;
	color: #333366;
	z-index: 5;
}
.home-form button p{
	width: 100%;
	color: #fff;
	position: absolute;
	top: 0;
	z-index: 6;
	margin: 7px 0 0 -10px;
}
.home-form button:hover i{
	left:60px;
	color: #ddd;
}
.home-form input:hover, .home-form textarea:hover{
	border: 1px solid #333366;
	background: rgba(255,255,255,0.9);
	color: #222;
}


/* ======================================================================================
=========================================================================================
Landing pages ---------------------------------------------------------------------------
=========================================================================================*/


.callout-bar{
	width: 100%;
	float: left;
	background: #0883d8; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(-45deg, #0571bb, #0883d8, #0263a6); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(-45deg, #0571bb, #0883d8, #0263a6); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(-45deg, #0571bb, #0883d8, #0263a6); /* For Firefox 3.6 to 15 */
    background: linear-gradient(-45deg, #0571bb, #0883d8, #0263a6); /* Standard syntax (must be last) */
	color: #fff;
	background-size: 600% 600%;
	-webkit-animation: bgmove 15s ease infinite;
	-moz-animation: bgmove 15s ease infinite;
	animation: bgmove 15s ease infinite;
}


@-webkit-keyframes bgmove {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes bgmove {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes bgmove { 
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
.callout-bar section{
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	padding: 20px;
	color: #fff;
	text-shadow:;
}

.callout-bar-extra{
	display: none;
	background: #f6f6f6;
	width: 100%;
	float: left;
	padding: 20px;
	text-align: center;
	font-size: 20px;
	color: #666;
}
@media screen and (max-width:700px){	
	.callout-bar-extra{
		display: block;
	}	
}
.callout-bar section img{
	margin-bottom: -35px;
	margin-right: 15px;
	color: #fff;
}
.callout-bar section h1{
	color: #fff;
	font-size: 40px;
}

@media screen and (max-width:740px){
.callout-bar section img{
	width: 600px;
	padding: 0 95px;
	margin-bottom: -15px;
}

}	
@media screen and (max-width:595px){
.callout-bar section img{
	width: 100%;
	padding: 0px;
}

}	
@media screen and (max-width:450px){
.callout-bar section img{
	margin-bottom: 5px;
}

}		
@media screen and (max-width:380px){
.callout-bar section h1{
	font-size: 30px;
}

}	
.landing-description{
	font-size: 45px !important;
	line-height: 43px !important;
	padding-top: 20px !important;
}

.landing-description h5{
	font-size: 40px;
}
.invisalign-desc-up{
	top:calc(50% - 120px) !important;
}

.slide_over{
	position: absolute;
	left: calc(50% + 100px);
	z-index: 888;
	height: 500px;
	width: 500px;
}
.slide_over h4.title2 {  /* Slider Title Style */
    color:#fff;     
    font-size:36px;
    color: #222;
    padding:0 20px;
    float:right;
    font-family: "Muli";
    text-transform: uppercase;
    font-weight: 300;
    margin: 0 0 0 800px;
    text-align: center;
    width: 400px;
}
.slide_over h5.title2{  /* Slider Title Style */
    color:#fff;     
    font-size:26px;
    color: #787878;
    padding:0 20px;
    float:right;
    font-family: "Lato";
    text-transform: uppercase;
    font-weight: 400;
    width: 400px;
    margin: 0 0 0 800px;
    text-align: center;
    margin: 10px 0;
}

.slide_over .description2 { /* Slider Description Style */
    font-size:18px;
    color: #222;
    padding:0 20px 20px;
    clear:both;
    float:right;
    width: 400px;
    line-height:24px;
    font-family: "Lato";
    font-weight: 400;
    text-align: center;
    margin: 2px 0 0 800px;
}
.slide_over .description2 strong,
.slide_over h5.title2 strong{
	font-weight: 700;
	color: #0883d8;

}

.key-bar{
	width: 100%;
	float: left;
	background: #404040;
	color: #fff;
}
.key-bar section{
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
	text-shadow:;
}
.key-bar section .key-point{
	color: #fff;
	width: 25%;
	text-align: center;
	padding: 20px;
	font-size: 22px;
	border-left: 1px solid rgba(255,255,255,0.2);
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	margin: 0;
	float: left;
	height: 70px;
}
.key-bar section .key-point strong{
	color: #0883d8;
}
.key-bar section .key-point:first-child{
	border: 0;
}
.key-bar section .key-point:hover{
	background: #333366;
	font-size: 23px;
	transition:0.4s all ease-in-out;
}
.key-bar section .key-point-wide{
	width: 100%;
	text-align: center;
	padding: 20px;
	font-size: 32px;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	margin: 0;
	float: left;
	color: #0883d8;
}
.key-bar section .key-point-wide strong{
	font-size: 49px;
	color: #fff;
}
@media screen and (max-width:1115px){	
.key-bar section .key-point{
	font-size: 18px;
	padding-top: 24px;
}

}
@media screen and (max-width:945px){	
.key-bar section .key-point{
	font-size: 16px;
	padding-top: 26px;
}

}
@media screen and (max-width:860px){	
.key-bar section .key-point{
	padding: 20px;
	font-size: 22px;
	width: 50%;
}
.key-bar section .key-point:first-child,.key-bar section .key-point:nth-child(2){
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
}
@media screen and (max-width:570px){	
.key-bar section .key-point{
	padding: 20px;
	font-size: 22px;
	width: 100%;
}
.key-bar section .key-point:first-child,.key-bar section .key-point:nth-child(2),.key-bar section .key-point:nth-child(3){
	border-bottom: 1px solid rgba(255,255,255,0.2);
}
}

/* ===============================
-- Responsive Contact Form ----------------
================================== */

.contact-responsive-wrapper{
	display: none;
}
@media screen and (max-width:1100px){	
	.contact-responsive-wrapper{
		display: BLOCK;
	}
}

.contact-responsive-wrapper{
	width: 100%;
	float: left;
	background: url(images/slides/slide_blank.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}
.contact-responsive{
	width: 100%;
	float: left;
	background: rgba(0,0,0,0.6);
}
.contact-responsive section{
	max-width: 1200px;
	margin: 0 auto;
}

.contact-form-resp{
	width: 100%;
	padding: 30px 15px 30px 15px;
	float: left;
	left: 0;
	text-align: center;
	float: left;
	position: relative;
}

.contact-form-resp input, .contact-form-resp textarea{
	width: 100%;
	padding: 10px 0 10px 42px;
	margin: 5px;
	background: rgba(255,255,255,0.89);
	border: 1px solid rgba(0,0,0,0.2);
	position: relative;
	z-index: 40;
	color: #444;
}
.contact-form-resp input:hover, .contact-form-resp textarea:hover{
	background: rgba(255,255,255,1);
	border: 1px solid rgba(0,0,0,0.4);
	padding: 10px 0 10px 52px;
	color: #333;
}
.contact-form-resp textarea{
	height: 142px;
}

.contact-form-resp button{
	margin: 5px;
	width: 150px;
	background: #333366;
	color: #fff;
	border: 1px solid #333366;
	text-transform: uppercase;
	border-radius: 5px;
	position: relative;
	overflow: hidden;
	height: 40px;
}
.contact-form-resp button:hover p{
	color: #333;
	font-weight: 700;
}
.contact-form-resp button:hover{
	color: #333;
	background: #fff;
	border: 1px solid #222;
	font-weight: 700;
}
.contact-form-resp button i{
	position: relative;
	left: -50px;
	top: 0px;
	color: #333366;
	z-index: 5;
}
.contact-form-resp button p{
	width: 100%;
	color: #fff;
	position: absolute;
	top: 0;
	z-index: 6;
	margin: 9px 0 0 -5px;
}
.contact-form-resp button:hover i{
	left:50px;
	color: #ddd;
}
.contact-form-resp .name-icon{
	position: absolute;
	left: 35px;
	float: left;
	color: #888;
	z-index: 42;
	padding: 15px 0 0;
	font-size: 18px;
}
.contact-form-resp p{
	color: #fff;
}
.contact-form-resp h2{
	margin-top: 0;
	color: #fff;
}

.contact-form-resp h2 i{
	font-size: 30px;
}
.form-half{
	width: 50%;
	float: left;
	padding: 0 20px;
	position: relative;
}
.form-half:first-child{
	padding-right: 10px
}
.form-half:nth-child(2){
	padding-left: 10px
}
.form-button-wrapper{
	width: 100%;
	margin-top: 15px;
	float: left;
}

.ddl-cookies-happy {
    background-color: #5e676f !important;
}
#ddl-cookies-header {
    background-color: #0783d8 !important;
}

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

	.form-half{
	padding: 0 5px;
	}
}
@media only screen and (max-width: 550px) {

	.form-half{
		width: 100%;
	}
	.contact-form-resp{
		padding-left: 10px;
	}
}

@media only screen and (max-width: 1100px) {
	.slide-out-div{
		display: none;
	}
}