/*
Theme Name: Feet First
Description: The original 2010 Feet First theme (TYPESHAPE "Veritas Consulting"), kept pixel for pixel on desktop, with HTML5 markup and responsive rules for tablets and phones. Replaces WPtouch.
Version: 2.0.0
Author: TYPESHAPE, responsive update by The Search Engine Shop
Requires PHP: 8.1
*/


* {
	margin: 0;
	padding: 0;
}

body {
	background: #FFFFFF url(images/img01.jpg) repeat-x left 80px;
	text-align: justify;
	font-family: Tahoma, Geneva, sans-serif !important;
	font-size: 14px;
	line-height:1.48em;
	color: #3a3f42;
}

body a { 
color: #757e82 !important;
}

h1, h2, h3 {
	color: #000000 !important;
	margin-bottom:0.5em;
	padding-top:0.5em;
	font-family: Tahoma, Geneva, sans-serif !important;	
}

h1 {
	 font-size:27px;
     font-weight:normal;
     line-height:18px !important;
     text-align:left;
     color: #000000 !important;
font-family: Tahoma, Geneva, sans-serif !important;
     /*font-family:Georgia, "Times New Roman", Times, serif;*/
}

h2 {
	color: #000000 !important;
font-size:19px;	
font-family: Tahoma, Geneva, sans-serif !important;
}

h3 {
	font-size: 14px;
	color: #000000 !important;
	margin-bottom:0.5em !important;
	padding-top:0.5em !important;
font-family: Tahoma, Geneva, sans-serif !important;
}

p, blockquote, ul, ol {
	margin-top: 10px;
	margin-bottom: 10px;
	line-height: 1.48em;
}

p {
}

blockquote {
}

ul, ol, li {
	padding-left:8px;
	margin-left:8px;
	padding-bottom:5px;
}
ul li>ul{
	font-size:.95em;
	margin-top:.4em;
	margin-bottom:0;
}

#sidebar ul, 
#sidebar ol, 
#sidebar li {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
a {
	text-decoration: underline;
	color: #F40C42;
}

a:hover {
	text-decoration: none;
	color: #F40C42;
}

/* Wrapper */

#wrapper {
}

/* Header */

#header {
	width: 900px;
	height: 162px;
	margin: 0 auto;
}

/* Logo */

#logo {
	float: left;
	width: 270px;
	height: 76px;
	margin: 0px;
	padding: 15px 0px 0px 30px;
}

#logo h1 {
	margin: 0;
	padding: 0;
	font: normal 46px Georgia, "Times New Roman", Times, serif;
}

#logo h2 {
	margin: -4px 0 0 0;
	padding: 0px 0px 0px 10px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 10px;
	font-weight: normal;
	color: #D9170E;
}

#logo h2 a,
#logo h1 a {
	color: #9AA9B1;
	text-indent:-9999px;
	overflow:hidden;
	width:845px;
	height:126px;
	background:url(/wp-content/uploads/2013/07/logo.png) no-repeat left top;
	float:left;
	display:block;
}
#tagline{
     float:left;
     position:relative;

	text-indent:-999px;
	overflow:hidden;
	width:503px;
	height:23px;
	background:none;
}

#tagline h3{
	text-indent:-999px;
	overflow:hidden;
	width:503px;
	height:23px;
	background:url(images/tagline.png) no-repeat left top;
}
#logo a {
	text-decoration: none;
	color: #D9170E;
}


/* Search */

#search {
	padding: 0px 0px 40px 0px;
}

#search form {
	margin: 0;
	padding: 0;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search input {
	float: left;
	font: 11px Tahoma, Geneva, sans-serif;
	padding: 2px 2px;
}

#search-text {
	width: 100px;
	border: 1px solid #000000;
	color: #000000;
}

#search-submit {
	height: 21px;
	margin-left: 10px;
	padding: 0px 2px;
	border: none;
	background: #E71810;
	color: #FFFFFF;
}

/* Page */

#page {
	width: 900px;
	margin: 0 auto;
}

/* Content */

#content {
	float: left;
	width: 630px;
}
.breaker{
	float:left;
	clear:both;
	width:100%;
}
.galleries{
	float:left;
	clear:both;
	margin:12px 0 0 4px;
}
.gallery-frame{
	float:left;
	position:relative;
	width:	620px;
	height:311px;
	overflow:hidden;
}
.gallery-overlay{
	float:left;
	width:	620px;
	height:311px;
	position:absolute;
	background:url(images/frame-overlay.png) no-repeat left top;
	z-index:99;
}
.gallery-frame h2{
	float:left;
	position:absolute;
	left:20px;
	bottom:24px;
	z-index:999;
	color:#555;
	font-weight:normal;
	background:#fff;
	padding:10px;
	display:block;
	padding-right:20px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=9)"; 
	filter: alpha(opacity=7);
	opacity: .7;
	filter:alpha(opacity=7);
	font-size:17px;

}

.post {
	background: url(images/img05.jpg) repeat-y left top;
}

.post-bgtop {
	background: url(images/img04.jpg) no-repeat left top;
}

.post-bgbtm {
	background: url(images/img06.jpg) no-repeat left bottom;
	padding: 50px 40px 30px 40px;
}

.post .title {
	margin: 0px;
	padding: 0px 0px 5px 0px;
	color: #232F01;
}

.post .title a {
	font-size:27px;
	font-weight:normal;
	line-height:18px !important;
	text-align:left;
	color:#555;
	font-family:Georgia, "Times New Roman", Times, serif;
	text-decoration:none;
	margin-bottom: 15px;
	
	}

.the_excerpt{
	font-size:27px;
	font-weight:normal;
	line-height:18px !important;
	text-align:left;
	color:#555;
	font-family:Georgia, "Times New Roman", Times, serif;
}
.the_excerpt p{
	padding:0;
	margin:0;
}
.post .entry {
	padding-bottom:2em;
}

.post img {
	/* float: left; */
	padding: 15px 0px;
}

.post .meta {
}

.post .more {
	display: block;
	width: 115px;
	height: 32px;
	padding: 8px 0px 0px 0px;
	background: url(images/img12.jpg) no-repeat left top;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #FFFFFF;
}

.post .byline {
	font-size: 11px;
	font-style: italic;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 260px;
	background: url(images/img08.jpg) repeat-y left top;
	font-size: 14px;
}

#sidebar-bgtop {
	background: url(images/img07.jpg) no-repeat left top;
}

#sidebar-bgbtm {
	background: url(images/img09.jpg) no-repeat left bottom;
	padding: 40px 40px 20px 40px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#sidebar li {
	margin-bottom: 1px;
	float:none;
	clear:left;
	display:block;
	text-align:left;
}

#sidebar li ul {
	margin: 0px;
	padding: 0px 0px 40px 0px;
}

#sidebar li li {
	margin: 0;
	padding: 7px 0px;
	border: none;
	background: url(images/img10.jpg) repeat-x left bottom;
	font-family: Tahoma, Geneva, sans-serif;
}

#sidebar li li a {
	background: url(images/img11.jpg) no-repeat left 3px;
	padding-left: 20px;
}

#sidebar li.current_page_item a {
	font-weight:bold;
	color: #c83e52;
	text-decoration:underline;
	
}


#sidebar h2 {
	margin: 0px;
	padding: 0px 0px 10px 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 140%;
	font-weight: normal;
	color: #454E55;
	
}

#sidebar h3 {
	font-size: 77%;
	color: #454E55;
}

#sidebar p {
	margin: 0;
	line-height: normal;
	
}

#sidebar a {
	border: none;
	text-decoration: none;
	color: #757E82;
}

#sidebar a:hover {
	text-decoration: underline;
	color: #363636;
}

/* Submenu */

#submenu {
}

/* News */

#news {
}

#news a {
	font-size: 85%;
}

/* Footer */

#footer-wrapper {
	background: #F7F7F7 url(images/img03.jpg) repeat-x left top;
	padding: 60px 0px;
	margin-top:30px;
}

#footer {
	width: 900px;
	margin: 0 auto;
	color: #757E82;
}

#footer p {
	margin: 0;
	text-align: center;
	font-size: 11px;
}

#footer a {
	text-decoration: underline;
	color: #757E82;
}

#footer a:hover {
	text-decoration: none;
	color: #F90542;
}

.pagetitle {
	padding-left: 40px;
	letter-spacing: -1px;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 32px;
	color: #3A3D40;
}

#respond {
	margin-top: 20px;
	padding-top: 20px;
	background: url(images/img10.jpg) repeat-x left top;
	letter-spacing: -1px;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 18px;
	color: #3A3D40;
}

#comment {
	width: 500px;
	height: 100px;
}

.navigation {
	padding: 10px 0px 50px 0px;
}

.alignleft {
	float: left;
	display:inline;
	padding:10px !important;
	background:#f6f6f6;
	border:1px solid #efefef;
	margin-right:20px;
}

.alignright {
	float: right;
	display:inline;
	padding:10px !important;
	background:#f6f6f6;
	border:1px solid #efefef;
	margin-left:20px;
}

/* Slidertron */


#gallery-bg {
	background: url(images/img05.jpg) repeat-y left top;
}

#gallery-bgtop {
	background: url(images/img04.jpg) no-repeat left top;
}

#gallery-bgbtm {
	background: url(images/img06.jpg) no-repeat left bottom;
	padding: 50px 40px;
}


#foobar
{
	width: 550px;
	height: 330px;
	position: relative;
	background:red;
}

#foobar .navigation
{
	position: absolute;
	display: block;
	z-index: 100;
	color: #ffffff;
	bottom: 0px;
	right: 0px;
	margin: 10px;
	padding: 10px;
	background-color: #303030;
	opacity: 0.75;
}

#foobar .navigation a
{
	color: #ffffff;
	text-decoration: none;
	outline: none;
}

#foobar .viewer
{
	width: 550px;
	height: 330px;
}

#foobar .viewer .reel .slide
{
	position: relative;
	width: 550px;
	height: 330px;
}

#foobar .viewer .reel .slide span{
	position: absolute;
	display: block;
	width: 520px;
	opacity: 0.50;
	padding: 20px;
	background-color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #3A3D40;
	bottom: 0px;
	left: 0px;
}

.clear{
	clear:both; 
	position:relative; 
	width:100%
}

/* contact form
   ----------------- */
.contact-form{
	float:left;
	clear:left;
	width:340px;
}
.contact-form input.wpcf7-text,
.contact-form textarea{
	width:300px;
}
.your-message{
}

.contact-details{
	float:left;
	margin-left:22px;
	width:166px;
}

blockquote{
	font-size:110%;
	padding:10px 0 0 10px;
	font-family:Georgia, "Times New Roman", Times, serif;
}
.contact-details li{
	background:url("images/img10.jpg") repeat-x scroll left bottom transparent;
	border:medium none;
	font-family:Tahoma,Geneva,sans-serif;
	margin:0;
	padding:7px 0;
	list-style:square;
	
	color:#555;
	line-height:1.3em;
}

/* Menu */

#menu {
	float: right;
	width: 592px;
	height:56px;
}

#menu ul {
	margin: 0;
	padding: 0px 0 0 20px;
	list-style: none;
	line-height: normal;
}

ul.menu li {
	display: inline;
	text-align: center;
	float:left;
	position:relative;
	margin:0 !important;
}

#menu a {
	display: block;
	float: left;
	height: 55px;
	margin-right: 1px;
	padding: 35px 20px 0px 20px;
	letter-spacing: -1px;
	text-decoration: none;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: normal;
	color: #383B3F;
	float:left;
	margin:0 !important;
}

#menu .current_page_item a {
	background: #F40C42 url(images/img02.jpg) repeat-x left bottom;
	color: #FFFFFF;
}
#menu a:hover{
	background:#efefef;
}


.times { list-style: none; margin-left: -20px; }
.sidebar-details { font-size:12px; padding-bottom:25px; }
#contact-pic { padding: 15px; }
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
width: 168px !important;
}
.gform_wrapper .top_label .gfield_label {font-size: 11px;
}
.gform_wrapper .gform_heading {
margin-bottom: 0  !important;
}
h3.gform_title {
font-size: 14px !important;
text-transform: capitalize !important;
font-weight: normal !important;
color: #757E82 !important;
}
.gform_footer {
margin: 6px 0 0 0;
}
#sidebar li ul#gform_fields_2 {
padding: 0px 0px 0px 0px;
}




@media screen and (max-width: 1024px) and (min-width: 200px) {    
   #ViperBar_main {
    visibility: hidden !important;
    display: none !important;
  }
body {
background: #FFFFFF url(images/img01.jpg) repeat-x left 45px !important;}}
#commentform, #respond {display:none;}




@media screen and (min-width: 768px) {
	#health-engine { width: 410px !important;height:700px;}
}

#logo a {
    color: #9aa9b1;
    text-indent: -9999px;
    overflow: hidden;
    width: 845px;
    height: 126px;
    background: url(/wp-content/uploads/2013/07/logo.png) no-repeat left top;
    float: left;
    display: block;
}

/* ==========================================================================
   Responsive additions (2026). Everything above this line is the original
   desktop stylesheet unchanged; nothing below applies at 920px and wider.
   ========================================================================== */

#mobile-actions,
#mobile-menu {
	display: none;
}

/* Blog listing, archives, search and single posts: the original 18px line-height made
   two-line titles overprint each other. Pages keep the original title styling. */
.blog .post .title a,
.archive .post .title a,
.search .post .title a,
.single .post .title a {
	display: block;
	line-height: 1.25 !important;
}
.blog .post,
.archive .post,
.search .post {
	margin-bottom: 16px;
}
.blog .post-bgbtm,
.archive .post-bgbtm,
.search .post-bgbtm {
	padding-bottom: 20px;
}
.blog .post .entry,
.archive .post .entry,
.search .post .entry {
	padding-bottom: 0;
}
.post .more-link {
	margin: 6px 0 0;
}

@media screen and (max-width: 919px) {
	html { -webkit-text-size-adjust: 100%; }
	body { background-position: left 0 !important; }

	#header {
		width: auto;
		height: auto;
		padding: 12px 16px 14px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
	}
	/* the desktop header artwork already contains the phone number, so below 920 use the logo mark and the Call link instead */
	#logo {
		float: none;
		width: auto;
		height: auto;
		padding: 0;
	}
	#logo a {
		float: none;
		width: 140px;
		height: 86px;
		background: url(images/logo-mark.png) no-repeat left center;
		background-size: contain;
	}
	#menu,
	#tagline {
		display: none;
	}

	#mobile-actions {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		margin-left: auto;
	}
	#mobile-actions a.mobile-call {
		color: #c83e52 !important;
		font-family: Tahoma, Geneva, sans-serif;
		font-size: 15px;
		font-weight: bold;
		text-decoration: none;
		white-space: nowrap;
	}
	.mobile-menu-toggle {
		-webkit-appearance: none;
		appearance: none;
		display: block;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 9px;
		background: none;
		border: 0;
		border-radius: 0;
		line-height: 0;
		cursor: pointer;
	}
	.mobile-menu-toggle svg { display: block; width: 26px; height: 26px; }
	.mobile-menu-toggle .icon-close,
	.mobile-menu-toggle[aria-expanded="true"] .icon-open { display: none; }
	.mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }

	#mobile-menu:not([hidden]) {
		display: block;
		margin: 0 16px 16px;
		padding: 14px 24px 18px;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 0 6px rgba(0, 0, 0, .1);
		text-align: left;
	}
	#mobile-menu ul,
	#mobile-menu li {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	#mobile-menu li {
		/* the original ul.menu li rule floats items inline for the old top menu */
		float: none;
		display: block;
		text-align: left;
		padding: 9px 0;
		background: url(images/img10.jpg) repeat-x left bottom;
	}
	#mobile-menu li a {
		display: block;
		padding-left: 20px;
		background: url(images/img11.jpg) no-repeat left 4px;
		text-decoration: none;
		font-family: Tahoma, Geneva, sans-serif;
	}
	#mobile-menu li.current-menu-item > a {
		font-weight: bold;
		color: #c83e52 !important;
	}
	#mobile-menu li ul { padding: 6px 0 0 16px; }
	#mobile-menu .mobile-menu-book { margin: 14px 0 0; }
	#mobile-menu .mobile-menu-book a { font-weight: bold; color: #c83e52 !important; }

	#page {
		width: auto;
		padding: 0 16px;
	}
	#content,
	#sidebar {
		float: none;
		width: auto;
	}
	#content.narrowcolumn { width: auto; }
	/* the home template floats its .post (inline style), which collapsed #content so the
	   sidebar slid up behind it; contain the float so the sidebar starts below the content */
	#content { display: flow-root; }

	/* the sliced rounded-card images are fixed at 630px/260px, so draw the same card in CSS */
	.post,
	.post-bgtop,
	#sidebar,
	#sidebar-bgtop,
	#sidebar-bgbtm {
		background: none;
	}
	.post,
	#sidebar {
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 0 6px rgba(0, 0, 0, .1);
	}
	.post { margin-top: 16px; }
	.post-bgbtm {
		background: none;
		padding: 28px 24px 16px;
	}
	#sidebar { margin-top: 24px; }
	#sidebar-bgbtm { padding: 28px 24px 16px; }
	#sidebar .widget_nav_menu { display: none; }

	.galleries {
		float: none;
		position: relative;
		margin: 12px 0 0;
	}
	.gallery-frame,
	.gallery-overlay {
		float: none;
		width: 100%;
		height: auto;
	}
	.gallery-frame img {
		display: block;
		width: 100%;
		height: auto;
	}
	.gallery-overlay {
		top: 0;
		left: 0;
		height: 100%;
		background-size: 100% 100%;
		pointer-events: none;
	}

	h1,
	.post .title a,
	.the_excerpt {
		line-height: 1.25 !important;
	}
	.entry img,
	.entry iframe,
	.entry video,
	#sidebar img,
	#sidebar iframe {
		max-width: 100%;
	}
	.entry img { height: auto; }
	/* map embeds are hardcoded at 200px (sidebar) and 550px (contact); fill the column instead */
	#sidebar iframe,
	.entry iframe[src*="google.com/maps"],
	.entry iframe[data-lazy-src*="google.com/maps"] {
		width: 100%;
		height: 300px;
	}
	/* the original theme never styled .aligncenter; on desktop these 550px images fill the column, so keep text below them */
	.entry img.aligncenter,
	.entry img.alignnone { display: block; }
	.entry table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
	}
	.entry { overflow-wrap: break-word; }
	.wp-caption { max-width: 100%; }
	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 10px 0;
	}
	.entry img.alignleft,
	.entry img.alignright {
		margin: 10px auto;
	}

	#footer-wrapper { padding: 40px 16px; }
	#footer { width: auto; }
}

@media screen and (max-width: 599px) {
	body { text-align: left; }
	#mobile-actions {
		flex-direction: column;
		align-items: flex-end;
		gap: 8px;
	}
	.post-bgbtm,
	#sidebar-bgbtm {
		padding: 22px 18px 12px;
	}
	h1 { font-size: 24px; }
	.gallery-frame h2 {
		left: 10px;
		bottom: 10px;
		font-size: 14px;
		padding: 6px 12px 6px 8px;
	}
}
