/************************************************
*	Desktop Grid								*
************************************************/

.single 	{ width: 100%; }
.half 		{ width: 49.9%; }
.third 		{ width: 33.3%; }
.fourth 	{ width: 25%; }
.fifth 		{ width: 20%; }

.half,
.third,
.fourth,
.fifth 	{ float: left; }

.row {
	width: 100%;
	margin: 0 auto;
}
.row .row {
	min-width: 0;
}
.column, .columns {
	float: left;
	min-height: 1px;
	position: relative;
}
[class*="column"] + [class*="column"]:last-child {
	float: right;
}

.row .one 		{ width: 6.25%; }
.row .two 		{ width: 12.5%; }
.row .three 	{ width: 18.75%; }
.row .four 		{ width: 25%; }
.row .five 		{ width: 31.25%; }
.row .six 		{ width: 37.5%; }
.row .seven 	{ width: 43.75%; }
.row .eight 	{ width: 50%; }
.row .nine 		{ width: 56.25%; }
.row .ten 		{ width: 62.5%; }
.row .eleven 	{ width: 68.75%; }
.row .twelve 	{ width: 75%; }
.row .thirteen 	{ width: 81.25%; }
.row .fourteen 	{ width: 87.5%; }
.row .fifteen 	{ width: 93.75%; }
.row .sixteen 	{ width: 100%; }

.row .centered { float: none; margin: 0 auto; width: 100%; }

/* Nicolas Gallagher's micro clearfix */
.row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
.row:after, .clearfix:after { clear: both; }
.row, .clearfix { zoom: 1; }

/************************************************
*	Tablet Grid									*
************************************************/

@media handheld, only screen and (max-width: 1179px) {

	/* Typography iPad */

	body {
		font-size: 0.9rem;
		line-height: 1.8;
	}
	blockquote {
		font-size: 1.4rem;
	}
	.headline {
		font-size: 2rem;
	}
}

@media handheld, only screen and (max-width: 1179px) {

	/* Theme iPad */

	#top-nav {
		background: #000000;
		position: relative;
	}
	#top-nav #logo,
	#top-nav .site-title {
		padding: 0px 12px;
	}
	#header-content {
		margin-top: -24px;
	}
	#masthead {
		padding-left: 24px;
		padding-right: 24px;
	}
	#masthead .site-description {
		font-size: 2.6em;
	}
	.menu a {
		font-size: 0.9em;
		padding: 0px 8px;
	}
	.sf-arrows .sf-with-ul {
		padding-right: 16px;
	}
	.flexslider.featured-content .slides li,
	.flexslider.featured-content.loading {
		height: auto;
		min-height: 520px;
	}
	.flexslider.featured-content .information {
		width: 50%;
		padding: 0px;
	}
	.flexslider.featured-content .slide-content p {
		font-size: 3em;
	}
	.flexslider.loading {
		min-height: 360px;
	}
	.flexslider .preloader {
		margin-top: -16px;
	}
	.flex-direction-nav li a {
		margin-top: -36px;
	}
	.flex-direction-nav .flex-prev {
		left: 0;
	}
	.flex-direction-nav .flex-next {
		right: 0;
	}
	.featured-info,
	.featured-pages,
	.featured-team,
	.featured-services {
		padding: 72px 24px;
	}
	.featured-info .contact-phone {
		padding: 36px 24px;
	}
	.featured-info .phone-number {
		font-size: 2.4em;
		letter-spacing: -1px;
	}
	.team-members .holder {
		margin: 8px;
	}
	.team-members .information {
		padding: 18px;
	}
	.postarea {
		padding: 24px 4%;
	}
	.postarea.full {
		padding: 36px 12%;
	}
	.single-banner .headline.img-headline {
		font-size: 2.8rem;
		margin-top: 0px;
	}
	.vital-right-sidebar .blog-holder {
		margin-left: 24px;
	}
	.blog .sidebar,
	.category .sidebar {
		padding: 24px;
	}
	.feature-img.single-banner {
		max-height: 480px;
	}
	.search-results .post-date p {
		float: left;
		display: block;
		width: 100%;
		font-size: 0.9em;
	}
	.footer-widgets {
		padding: 24px 0px;
	}
	.footer-content {
		text-align: center;
	}
	.footer-information .fa-map-marker,
	.footer-information .business-address {
		float: none;
	}
	.footer-information .align-left {
		float: none;
		display: block;
		text-align: center;
	}
	.footer-information .align-right {
		float: none;
		display: block;
		text-align: center;
		margin-bottom: 12px;
	}
}

/************************************************
*	Phone Grid									*
************************************************/

@media handheld, only screen and (max-width: 767px) {

	/* Typography iPhone */

	h1 {
		font-size: 1.8rem;
		line-height: 1.4;
	}
	h2 {
		font-size: 1.6rem;
		line-height: 1.4;
	}
	h3 {
		font-size: 1.4rem;
		line-height: 1.4;
	}
	h4 {
		font-size: 1.2rem;
		line-height: 1.4;
	}
	h5 {
		font-size: 1.1rem;
		line-height: 1.4;
	}
	h6 {
		font-size: 1.0rem;
		line-height: 1.4;
	}
	.headline {
		font-size: 1.8rem;
		letter-spacing: -1px;
	}
	.title {
		font-size: 1.2rem;
	}
	body, p {
		font-size: 0.9rem;
		line-height: 1.7;
	}
	blockquote {
		padding: 12px 0px;
		border-left: none;
	}
	blockquote p {
		font-size: 1rem;
		line-height: 1.6;
	}
}

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

	/* Theme iPhone */

	#wrapper .container {
		padding: 0px;
	}
	.navigation-main .appt-btn {
		display: none;
	}
	#header-content {
		margin-top: -12px;
	}
	#masthead .site-description {
		font-size: 2em;
		font-weight: 400;
		letter-spacing: -1px;
	}
	#navigation {
		display: none !important;
	}
	#side-menu {
		display: block;
		background: #000000;
	}
	.admin-bar #side-menu {
		margin-top: 46px;
	}
	#side-menu .sidr-class-appt-btn {
		display: block;
		color: #ffffff !important;
		max-width: none;
		width: 100%;
		height: auto;
		font-size: 1.1em;
		line-height: 56px;
		text-align: center;
		text-transform: uppercase;
		box-sizing: border-box;
	}
	#menu-toggle {
		float: right;
		display: inline-block;
		cursor: pointer;
		background: none;
		position: relative;
		line-height: 0;
		margin: 0px;
		padding: 28px;
		border: none;
		box-shadow: none;
		z-index: 9;
	}
	.vital-logo-right #menu-toggle {
		float: left;
	}
	#menu-toggle svg {
		fill: rgba(255, 255, 255, 0.4);
	}
	#menu-toggle:hover svg {
		fill: rgba(255, 255, 255, 1);
	}
	.sidr {
		display: block;
		color: rgba(255, 255, 255, 0.4);
		position: fixed;
		top: 0;
		height: 100%;
		z-index: 999999;
		width: 260px;
		overflow-x: hidden;
		overflow-y: auto;
		box-sizing: border-box;
	}
	.sidr-inner {
		box-sizing: border-box;
	}
	.sidr.right {
		left: auto;
		right: -260px;
		border-left: 1px solid rgba(0, 0, 0, 0.12);
	}
	.sidr.left {
		left: -260px;
		right: auto;
		border-right: 1px solid rgba(0, 0, 0, 0.12);
	}
	.sidr p {
		margin: 6px 0px;
		padding: 0px;
	}
	.sidr ul {
		margin: 0px;
		padding: 0px;
	}
	.sidr ul.sidr-class-menu {
		margin: 0px;
	}
	.sidr ul.sidr-class-sub-menu {
		display: none;
		border-top: 1px solid rgba(255, 255, 255, 0.24);
	}
	.sidr li.sidr-class-menu-item-has-children > a::after {
		position: relative;
		content: '\f107';
		font-family: 'FontAwesome';
		margin-left: 8px;
	}
	.sidr li {
		position: relative;
		list-style: none;
		margin: 0px;
		padding: 0px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.24);
	}
	.sidr li a {
		display: block;
		font-size: 0.8rem;
		font-weight: 400;
		line-height: 1.1;
		letter-spacing: 1px;
		text-align: center;
		text-transform: uppercase;
		text-decoration: none;
		padding: 18px;
	}
	.sidr li a,
	.sidr li a:link,
	.sidr li a:visited {
		color: rgba(255, 255, 255, 0.6);
	}
	.sidr li a:hover,
	.sidr li a:active,
	.sidr li a:focus {
		color: rgba(255, 255, 255, 1);
		background: rgba(255, 255, 255, 0.04);
	}
	.sidr li li a::after {
		content: '';
		position: absolute;
		top: 0; left: 0;
		width: 100%; height: 100%;
		background: rgba(255, 255, 255, 0.04);
	}
	.flexslider.featured-content .slides li,
	.flexslider.featured-content.loading {
		height: auto;
		min-height: 480px;
	}
	.flexslider.featured-content .information {
		width: 80%;
	}
	.flexslider.featured-content .slide-content p {
		font-size: 2.4em;
	}
	.flex-direction-nav .flex-prev {
		left: -12px;
	}
	.flex-direction-nav .flex-next {
		right: -12px;
	}
	.social-icons li a {
		line-height: 36px;
		min-width: 36px;
	}
	.homepage .cat-description p {
		font-size: 1.2rem;
	}
	.featured-info,
	.featured-pages,
	.featured-team,
	.featured-services {
		padding: 48px 24px;
	}
	.featured-bar .align-left {
		display: none;
	}
	.featured-info {
		text-align: center;
	}
	.featured-info .vertical-center {
		top: auto;
		position: relative !important;
		-webkit-transform: none;
		-ms-transform: none;
		transform: none;
	}
	.featured-info .contact-phone {
		float: none;
		margin: 24px auto 0px;
	}
	.featured-testimonials .information {
		padding-top: 12px;
	}
	.featured-testimonials .excerpt p {
		font-size: 1.2rem;
		line-height: 1.6;
	}
	.featured-team .team-members .member {
		width: 100%;
	}
	.featured-tabs {
		margin-top: 12px;
	}
	.team-members .holder {
		height: auto !important;
	}
	.single-banner .headline.img-headline {
		font-size: 2.2rem;
	}
	.blog-holder,
	.vital-right-sidebar .blog-holder {
		margin: 12px;
	}
	.blog-holder .headline.img-headline {
		font-size: 2rem;
		max-width: 100%;
		padding: 0px 4%;
	}
	.post-date p {
		top: -16px;
	}
	.archive-column {
		width: 100%;
		padding-right: 0;
		padding-bottom: 12px;
	}
	.sidebar {
		margin-top: 12px;
		padding: 24px;
	}
	.sidebar.blog {
		padding: 0px 24px;
	}
	.sidebar.left {
		display: none;
	}
	#comments {
		padding: 0px 18px;
	}
	.footer-widget {
		padding: 24px;
	}
	.footer-widgets {
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	.footer-widgets .widget {
		width: 100% !important;
		margin: 0px;
		padding: 0px;
	}
	.footer-information .align-left,
	.footer-information .align-right {
		padding-left: 24px;
		padding-right: 24px;
	}
	.footer-information .fa-map-marker {
		margin-right: 0px;
	}

	/* Grid */

	body {
		-webkit-text-size-adjust: none;
		-ms-text-size-adjust: none;
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	.half,
	.third,
	.fourth,
	.fifth {
		width: 100%;
	}
	.row {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		overflow: visible !important;
	}
	.row .row .column, .row .row .columns {
		padding: 0;
	}
	.column, .columns {
		width: auto !important;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	.column:last-child, .columns:last-child {
		margin-right: 0;
		float: none;
	}
	[class*="column"] + [class*="column"]:last-child {
		float: none;
	}
	[class*="column"]:before, [class*="column"]:after {
		content:"";
		display:table;
	}
	[class*="column"]:after {
		clear: both;
	}
}
