/* Site.css */

body {
	background: #f5f5f5;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}

.intro h2 {
	font-size: 32px;
	color: #726b65;
	text-transform: uppercase;
	font-weight: 500;
	text-align: center;
}

.intro h2:after {
	content: "";
	width: 62px;
	height: 2px;
	background: #dbd6d2;
	margin: 14px auto;
	display: block;
}

.panel-grid .panel {
	background: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

label { font-weight: 500; }

/***** HEADER ************************************/

#header {
	background: #fff;
	position: relative;
	z-index: 666;
}

#header .header-intro-text {
	text-align: center;
	padding-top: 35px;
}

#header .header-callout {
	text-align: center;
}

#header .header-callout h3 {
	margin-top: 31px;
	font-size: 20px;
	text-transform: uppercase;
	color: #b3a89e;
}

#header .header-callout h4 {
	font-size: 20px;
	font-weight: 500;
	color: #555;
}

#header .header-callout h4 i { color: #b3a89e; }

.nav-container {
	padding: 12px 0 10px 0;
	text-align: center;
	background: #ece9e6;
}

#mega-menu-wrap-primary-2 #mega-menu-primary-2 > li.mega-menu-item {
	margin: 0 15px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    width: 17em;
}

#social-links {
	background: #b3a89e;
	margin: 0 0 48px 0;
}

#social-links ul {
	padding: 16px 0;
	margin: 0;
	list-style-type: none;
	text-align: right;
}

#social-links li {
	width: 42px; height: 42px;
	display: inline-block;
	margin: 0 0 0 8px;
}

#social-links li a {
	background: #9a9188;
	display: block;
	width: 42px; height: 42px;
	color: #fff;
	font-size: 1.4em;
	text-align: center;
	line-height: 2em;
	opacity: 0.7;
	transition: all 0.2s ease;
}

#social-links li a:hover {
	opacity: 1;
	transition: all 0.2s ease;
}

#social-links h2 {
	margin: 22px 0 16px 0;
	font-size: 26px;
	color: #fff;
	font-weight: 600;
}

.main-content h2 {
	font-size: 28px;
	margin-top: 0;
	font-weight: 600;
	color: #7d766f;
	border-bottom: 2px solid #d7d7d7;
	padding-bottom: 6px;
	margin-bottom: 20px;
	position: relative;
}

.main-content h2:after {
	content: "";
	border-bottom: 2px solid #7d766f;
	width: 128px;
	position: absolute;
	bottom: -2px;
	left: 0;
}

/***** BANNER *************************************/

#banner {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.home #banner { height: 380px; }

.home #social-links h2 { display: none; }

/***** *******************************************/

/***** NEW PATIENT REGISTRATION FORM *************/



/***** TESTIMONIAL SLIDER *************/

.wpmslider-viewport { border: none !important;
    margin-top: 70px;
}
.strong-view.no-quotes .testimonial-inner { border: none !important; padding-top: 30px !important; }
.testimonial-client {
    position: absolute;
    top: 0;
    height: 30px;
	margin-top: 0 !important;
	width: 100%;
	height: 100%;
}
.strong-rating-wrapper.in-view {
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
}

.testimonial-name {
	color: #7d766f;
    margin-left: 170px;
    margin-top: 0px;
	float: left;
	font-size: 20px;
position: relative;	}

.testimonial-name:before { content: "-"; display: block; font-size: 24px; position: absolute; left: -14px; top: -5px; }

.patient-since {
    float: left;
    font-size: 14px;
    margin: 6px 0 0 4px;
	color: #7d766f;
}

.strong-view.no-quotes .testimonial-heading {
    margin-top: 0;
    text-align: left;
    color: #338da0;
    font-style: italic;
    font-size: 20px;
	margin-bottom: 2px;
}

.date-submit {
    position: absolute;
    bottom: 0px;
    font-size: 14px;
    font-weight: bold;
	color: #7d766f;	
}

.strong-view.no-quotes .testimonial-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/***** *******************************************/


/***** GRAVITY FORMS *****************************/

.gform_wrapper input[type=text], .gform_wrapper input[type=url], 
.gform_wrapper input[type=email], .gform_wrapper input[type=tel], 
.gform_wrapper input[type=number], .gform_wrapper input[type=password], .gform_wrapper select {
	font-size: 1em !important;
}

.gfield_date_month input, .gfield_date_day input, .gfield_date_year input {
	text-align: center;
}

.gform_wrapper .gfield_time_hour input { display: inline-block; }

.gfield_label { font-size: 16px; font-weight: 600 !important; }

.gform_wrapper h2.gsection_title {
	font-size: 20px;
}

.gform_wrapper h2.gsection_title:after { display: none; }

.gform_wrapper .top_label input.datepicker { width: 94% !important; }

/***** FOOTER ************************************/

#footer {
	background: #ece9e6;
	margin-top: 48px;
	padding: 24px 0;
}

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

/* Large desktops and laptops */
@media (min-width: 1200px) {
	
}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
	
	#mega-menu-wrap-primary-2 #mega-menu-primary-2 > li.mega-menu-item {
		margin: 0 1px;
	}
	
	#header .header-intro-text { padding-top: 25px; }

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	#mega-menu-wrap-primary-2 #mega-menu-primary-2 > li.mega-menu-item {
		margin: 0;
	}
	
	#mega-menu-wrap-primary-2 #mega-menu-primary-2 > li.mega-menu-item a {
		font-size: 13px;
		padding: 0 5px;
	}
	
	#header .header-intro-text { padding-top: 8px; }
	
	#header .header-callout h3 { margin-top: 24px; }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	.logo { text-align: center; }
	
	.logo img { margin: 0 auto; }
	
	.header-callout { margin-bottom: 36px; }
	
	#footer .text-right { text-align: left; }
	
	#social-links h2 { text-align: center; margin: 22px 0 26px 0; }
	#social-links ul { text-align: center; padding-bottom: 0; }
}

@media (max-width: 567px) {
	#banner {
    	height: 5em !important;
    }
    
    .backstretch img {
    	width: 100% !important;
        height: auto !important;
        left: 0 !important;
    }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
	
}