html {
  position: relative;
  min-height: 100%;
}

body {
	margin-bottom: 80px;
}

/* HEADER */

.page-header {
	background-color: #E2EEF1;
	color: #79ABBA;
	font-size: 17px;
	text-transform: uppercase;
	border-bottom: none;
	margin: 0 0 5px 0;
	padding: 0;
}

	#logo {
		margin-top: 16px;
	}

	/* Login button */
	.btn-login {
		font-size: 13px;
		border: 1px solid #afbabd;
		color: #4b656d;
		-webkit-transition: all .2s;
		-moz-transition: all .2s;
		-o-transition: all .2s;
		-ms-transition: all .2s;
		margin-top: -1px;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}
	
	.btn-login:hover {
		background: #4b656d;
		color: #fff;
	}
	
	.btn-login .fa {
		margin-right: 3px;
	}

/* NAVIGATION */

.navbar {
	border-radius: 0;
	border: none;
	margin: 15px -15px 0 0;
	min-height: 0;
}

	.navbar-collapse {
		padding: 0;
	}
	
		.navbar-nav {
			float:right;
		}
		
			.navbar-nav>li {
				padding-bottom: 0;
			}
			
				.navbar-nav>li>a {
					color: #004276;
					font-size: 15px;
					padding-bottom: 8px;
				}
				
				.navbar-nav>li.open>a, .navbar-nav>li.active>a {
					border-bottom: 5px solid #FFF;
					background-color: transparent;
				}
			
				nav .open>a, .nav .open>a:hover, .nav .open>a:focus, .nav>li>a:hover, .nav>li>a:focus {
					background-color: transparent;
					border-bottom: 5px solid rgba(255,255,255,0.5);
				}

				.navbar-nav>li.active>a:hover {
					border-bottom: 5px solid #FFF;
				}

/* CONTENT */

#page-content img {
	max-width: 100%;
	height: auto;
}

/* FOOTER */

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background-color: #E2EEF1;
  padding-top: 13px
}

	#footer p {
		text-align:right;
		font-size: 11px;
		color: #7d8c8f;
	}

	#footer p#site-credits a {
		color: #7d8c8f;
		margin-left: 35px;
	}
	
	#footer #test-button .button {
		background-color: #DEB766;
	}

	
/* HOMEPAGE SPECIFIC STYLES */


body#home {
	margin-bottom: 425px;
}

/* header */

#home .page-header {
	margin: 0 0 40px 0;
}

/* image map */

#map-wrapper {
	background: url(../images/templateimages/mccann_map.jpg) 50% top no-repeat;
	height: 570px;
	margin: 0 auto;
	background-size: 970px auto;
}

	#map-wrapper #map-container {
		background: url(../images/templateimages/mccann_sprite.png) 50% 0 no-repeat;
		position:relative;
		background-size: 970px auto;	
		text-align: center;
	}
	
		#map-spacer {
			width: 970px;
			height: 570px;
		}
	
		#map-wrapper #map-container.mccann_coaching:hover{
			background-position: 50% -570px;
		}
		
		#map-wrapper #map-container.mccann_consulting:hover{
			background-position: 50% -1140px;
		}
		
		#map-wrapper #map-container.mccann_training:hover{
			background-position: 50% -1710px;
		}
		
			#map-container img:focus, map:focus, area:focus {
				outline: none;
			}
	
			img[usemap] {
				border: none;
				height: auto;
				max-width: 100%;
				width: auto;
			}




/* footer */

#home #footer {
	height: 360px;
	padding-top: 0px;
}

#home h2 {
	font-size: 27px;
	color: #59929F;
	font-weight: 300;
	line-height: 1.3em;
}

#home #footer #test-button {
	margin-top: -110px;
}

#footer #mbhs-row {
	
	margin-bottom: 25px;
	background: url(../images/templateimages/mbhs_bg.jpg) #1C2A2D 50% top no-repeat;
}

	#footer #mbhs-logo {
		margin: 0;
		text-align:center;
	}
	
	#footer #mbhs-logo a {
		background: url(../images/templateimages/logo_mbhs_hover.png) 50% top no-repeat;
		display: inline-block;
		height: 210px;
		width: 200px;
	}
	
	#footer #mbhs-logo a:hover {
		background-position: 50% -210px;
		text-decoration: none;
	}
	
	


/* INTERNAL TEMPLATE STYLES */

#page-title {
	background-color: #92B8C5;
	padding: 5px 0 10px;
	margin-bottom: 20px;
}

/* custom colors */

#coaching #page-title {
	background-color: #C3E1A0;
}

#coaching h3 {
	color: #6C913F;
}

#coaching table.mccann>tbody>tr>td {
	border-top-color: #C2E29D;
}

#coaching table.testimonials {
	background-color: #B5D294;

}

	#coaching table.testimonials>tbody>tr:nth-child(odd)>td {
		background-color: #C3E1A0;
	}

#training #page-title {
	background-color: #E6CA9D;
}

#training h3 {
	color: #A67741;
}

#training table.mccann>tbody>tr>td {
	border-top-color: #E6CA9D;
}

#training table.testimonials {
	background-color: #D8BD91

}

	#training table.testimonials>tbody>tr:nth-child(odd)>td {
		background-color: #E6CA9D;
	}
	
#balance #page-title {
	background-color: #444B4B ;
}

#balance h3 {
	color: #1A2121;
}

#balance table.mccann>tbody>tr>td {
	border-top-color: #C2E29D;
}

#balance table.testimonials {
	background-color: #c5dbdb;

}

	#balance table.testimonials>tbody>tr:nth-child(odd)>td {
		background-color: #b3c7c7;
	}
	
	
	
/* table */

table.mccann {
	width: 100%;
}

	table.mccann>tbody>tr>td {
		padding: 20px 0 25px 0;
		line-height: 1.428571429;
		/*vertical-align: top;*/
		border-top: 2px solid #C2E29D;
	}
	
	table.mccann tbody tr:first-child td {
		border-top: none;
	}
	
	table.mccann tbody tr td:first-child {
		width: 50%;
		padding-right: 25px;
	}
	
	table.mccann tbody tr td:last-child {
		padding-left: 20px;
	}
	
	table.mccann img {
		max-width: 100%;
		height: auto;
	}

table.testimonials {
	width: 100%;
	margin-bottom: 20px;
	background-color: #91B8C6;
}

	table.testimonials>tbody>tr>td {
		padding: 15px 20px 8px 20px;
		line-height: 1.428571429;
		vertical-align: top;
		
	}
	
		table.testimonials>tbody>tr>td h4 {
			background: url(../images/templateimages/icon_quotation_mark.png) left top no-repeat;
			padding-left: 45px;
			font-weight: 400;
			margin: 0 0 8px 0;
			padding: 3px 0 0 42px;
			background-size: 33px auto;
		}
		
	table.testimonials>tbody>tr:nth-child(odd)>td {
		background-color: #A1CDDC;
	}
	
	table.testimonials tbody tr td:first-child {
		padding-right: 80px;
	}
	
	table.testimonials tbody tr td:last-child {
		width: 13%;
	}
		
		table.testimonials img {
			margin-top: 20px;
			max-width: 100%;
			height: auto;
		}
		
/* footer */
	
#footer ul {
	padding: 0;
	font-size: 13px;
	color: #666;
}

	#footer ul li {
		list-style: none;
		display: inline;
	}
	
		#footer ul li a {
			color: #666;
			white-space: nowrap;
			margin-right: 5px;
			text-transform: uppercase;
		}
		
		#footer ul li a:hover {
			text-decoration: none;
		}


@media (min-width: 1200px) {

	#home h2 {
		font-size: 30px;
	}
	
	table.testimonials>tbody>tr>td h4 {
		background-size: 36px auto;
		padding-left: 45px;
	}

}

@media (max-width: 991px) {
	
/* header */

.nav>li>a {
	padding: 10px;
}

.navbar-nav {
float: left;
}

/* content */

#home #page-content {
	background-size: 750px auto;
}

	#page-title {
		margin-bottom: 0;
	}
	
	#home h2 {
		font-size: 22px;
	}
	
	/* table */

	table.testimonials tbody tr td:last-child {
		width: 30%;
		text-align:center;
	}
	
	table.testimonials tbody tr td:first-child {
		padding-right: 0;
	}
	
		table.testimonials>tbody>tr>td h4 {
			background-size: 25px auto;
			padding-left: 34px;
		}
	
	table.mccann h3 {
		margin-bottom: 15px;
	}
	
	table.mccann>tbody>tr>td {
		display:block;
		width: 100%!important;
		padding: 20px 0!important;
	}
	
	table.mccann>tbody>tr>td:first-child {
		padding-bottom: 0!important;
	}
	
	table.mccann>tbody>tr>td:last-child {
		border-top: none;
		padding-top: 0!important;
	}
	
	table.mccann img {
		margin-top: 0;
	}
	

	/* image map */

	#map-wrapper {
		background-size: 944px auto;
		height: 500px;
	}
	
		#map-wrapper #map-container {
			background-size: 944px auto;
		}
		
		#map-wrapper #map-container.mbhs_mind:hover{
			background-position: 50% -500px;
		}
		
		#map-wrapper #map-container.mbhs_body:hover{
			background-position: 50% -1000px;
		}
		
		#map-wrapper #map-container.mbhs_heart:hover{
			background-position: 50% -1500px;
		}
		
		#map-wrapper #map-container.mbhs_spirit:hover{
			background-position: 50% -2000px;
		}
		
	#map-spacer {
		width: 970px;
		height: 477px;
	}

/* footer */

#footer {
	height: 66px;
}
	
	#footer p {
		text-align: left;
	}
	
		#footer p#site-credits a {
			margin: 0 35px 0 0;	
		}
}

@media (max-width: 767px) {
	
	
body {
margin: 0!important;
}

/* header */

.page-header {
	margin: 0 0 5px 0;
	padding: 0;
}

/* navigation */


/* footer */

#footer {
	height: auto!important;
	position:relative;
}

	#footer #mbhs-logo a {
		height: 131px;
		background-size: 100px auto;
	}
	
	#footer #mbhs-logo a:hover {
		background-position: 50% -131px;
	}

	#footer ul li {
		line-height: 1.8em;
	}


.navbar {
	margin: 0;
}

.navbar-header {
	padding: 3px 0;
}

.navbar-nav {
	float: none;
}

.navbar-toggle {
	border-color: #ddd;
}

.navbar-toggle:hover, .navbar-toggle:focus {
	background-color: #ddd;
}

.navbar-toggle .icon-bar {
	background-color: #7AABBB;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus, .nav>li>a:hover, .nav>li>a:focus {
	border-bottom: none;
	background-color: rgba(255,255,255,0.5);
}

.img-overlay:after {
	content: none;
}


.navbar-collapse {
	padding-right: 15px;
	padding-left: 15px;
}

#logo {
	text-align: center;
}


#map-wrapper #map-container {
	background-size: 425px auto;
	background-position: 50% -1100px;
}

#map-wrapper {
	background-size: 425px auto;
	height: 250px;
}


#map-wrapper #map-container.mccann_coaching:hover{
	background-position: 50% -250px;
}

#map-wrapper #map-container.mccann_consulting:hover{
	background-position: 50% -500px;
}

#map-wrapper #map-container.mccann_training:hover{
	background-position: 50% -750px;
}

#map-spacer {
	height: 220px;
	position:relative;
	z-index: 0;
}

.mbhs_text div {
	display: none!important;
}


#home .page-header {
	margin-bottom: 20px;
}

.dropdown-menu>li>a {
	color: #eee;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
	background-color: rgba(255,255,255,0.1);
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
	text-decoration: none;
	color: #eee;
	background-color: rgba(255,255,255,0.3);
}

/*.navbar-collapse .nav .dropdown-toggle {
	position: absolute;
	z-index: 999999;
	top: 0px;
	right: 0;
	width: 30px;
	height: 20px;
	background: transparent;
	border: none;
}

.nav li a .nav-arrow-bg {
	-webkit-transition: -webkit-transform .5s cubic-bezier(.25,1,.25,1);
	-moz-transition: -moz-transform .5s cubic-bezier(.25,1,.25,1);
	-o-transition: -o-transform .5s cubic-bezier(.25,1,.25,1);
	-ms-transition: -ms-transform .5s cubic-bezier(.25,1,.25,1);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	display: block !important;
	width: 20px;
	height: 20px;
	position: absolute;
	top: 13px;
	right: 24px;
	width: 4px;
	background-color: white;
	height: 10px;
}

.nav li a .nav-arrow-bg .nav-arrow {
content: '';
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
display: block !important;
background-color: white;
width: 4px;
height: 10px;
position: absolute;
top: 3px;
left: -3px;
width: 4px;
background-color: white;
height: 10px;
}

.nav li.dropdown.open a .nav-arrow-bg {
-webkit-transform: rotate(45deg) translate3d( 0, 0, 0);
-moz-transform: rotate(45deg) translate( 0, 0);
-o-transform: rotate(45deg) translate( 0, 0);
transform: rotate(45deg) translate3d( 0, 0, 0);
}*/

#page-content {
padding-right: 0;
}
.mobile-clickthroughs p {
	text-align: center;
}
}
