/* Global */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.marginb1em {margin-bottom:1em;}
.marginb1dot5em {margin-bottom:1.5em;}
.marginb2em {margin-bottom:2em;}
.marginb3em {margin-bottom:3em;}
.marginb4em {margin-bottom:4em;}
.marginb5em {margin-bottom:5em;}
.marginb6em {margin-bottom:6em;}
.marginb7em {margin-bottom:7em;}
.marginb8em {margin-bottom:8em;}
.marginb9em {margin-bottom:9em;}
.marginb10em {margin-bottom:10em;}

.margint1em {margin-top:1em;}
.margint2em {margin-top:2em;}
.margint3em {margin-top:3em;}
.margint4em {margin-top:4em;}
.margint5em {margin-top:5em;}
.margint6em {margin-top:6em;}
.margint7em {margin-top:7em;}
.margint8em {margin-top:8em;}
.margint9em {margin-top:9em;}
.margint10em {margin-top:10em;}

.marginb5percent{
	margin-bottom: 5%;
}

.black {
	color: #000000;
}

.boxshadow {
	box-shadow: 0px 0px 8px #555555;
	-webkit-box-shadow: 0px 0px 8px #555555;
	-moz-box-shadow: 0px 0px 8px #555555;
}

.picborder {
	border: white 2px solid;
}

.indent {
	text-indent: 2em; 
}

.bold {
	font-weight: bold;
}

.oneandhalfem {
	line-height: 1.5em;
}

/* Non-Global */

.caption h3 { 
	font-weight: bold;
	font-family: "Helvetica Neue";
	font-size: 2.2em;
}

.caption p {
	font-family: Georgia;
	font-size: 1.2em;
}

.thumbnail {
	background-image: url(../images/zebrastripes.png);
	background-repeat: repeat;
	border-radius: 0;
}

.active {
	text-decoration: underline;
	text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.35);
}

.navbar-nav {
	width: 100%;
}

.nav {
   	width: 100%;
	text-align: justify;
	margin: 0;
	background-color: #0066FF;
	padding-bottom: .5%;
}

.nav * {
	display: inline;
}

.nav li {
    display: inline-block;
	text-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 2px 2px 11px rgba(0, 0, 0, 0.3), -2px -4px 11px rgba(0, 0, 0, 0.1);
}

.nav li a:hover, a:hover {
	text-decoration: underline;
}

.nav span {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 0;
}

nav .container {
	padding: 1% 0 0 4.75%;
}

body .navbar-nav>li {
	margin: 0 1.5em 0 1.3em;
	font-family: Oxygen, Verdana;
	font-size: 1.15em;
	font-weight: 400;
}

body .navbar-inverse {
	background-color: #0066FF;
}

.navbar-header .navbar-toggle{
	background-color: rgba(0, 102, 255, 0.7);
}

.navbar-inverse .navbar-toggle {
   border-color: transparent;
}

.content-p {
	text-align: center;
	height: 100%;
}

.content-p h4 a{
	color: #0059B0;
	font-weight: bold;
	font-size: 90%
}

.content-p a{
	cursor: pointer;
	font-size: 95%
}

.content-p a:hover{
	text-decoration: underline;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
	color: #0066FF;
}

.left {
	overflow: hidden;
}

#mainleftpic{
	width: 90%;
	height: auto;
	margin: auto;
	display: block;
}

.background-image {
	width: 50%;
	background-color: #f5e7e1;
	height: 100%;
	background-position: center;
	background-size: 85%;
	background-repeat: no-repeat;
}

#instructorpagepic {
	background-image: url('../images/instructorpagepic.jpg');
}

#yogapagepic {
	background-image: url('../images/yogapagepic.jpg');
}

#aikidopagepic {
	background-image: url('../images/aikidopagepic.jpg');
}

#linkspagepic {
	background-image: url('../images/linkspagepic.jpg');
}

#contactmainleftpic {
	max-width: 100%;
	width: 100%;
	height: 100%;
}

#instructor {
	float: left;
	margin: 0 7% 5% 5%;
	width: 28%;
}

#accolades {
	color: black;
	width: 90%;
	text-align: justify;
	margin: 1% 5%;
}

.instructor-name{
	font-size: 22px;
}

.instructorlist{
	margin: 0 0 5% 0;
}

img#logo {
	padding-top: 0.4em;
}

#showcaseimg {
	width: 1140px;
	margin-top: 20px;
}

#mitakacopyright{
	margin: .4em auto;
	width: 14em;
}

nav.navbar.navbar-inverse.navbar-fixed-top {
	width: 50%;
	margin-left: 50%;
	margin-bottom: 0;
}

.right-half p, .right-half h5 {
	color: #000000;
	margin: 5% auto;
	text-align: justify;
	width: 70%;
}

.right-half .instructors p, .right-half .instructors h5 {
	width: 90%;
	color: #000000;
	margin: 5% auto;
	text-align: justify;
}

.right-half h5{
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.right-half hr{
	width: 70%;
	margin: 2em auto;
}

.pagetitle{
	letter-spacing: 1px;
	font-size: 3em;
	text-transform: uppercase;
	display: inline-block;
	padding: 2.25em 0.7em 0 0.7em;
	color: #222;
	display: block;
	text-align: center;
}

.row2 {
	width: 90%;
	margin: 0 auto;
	text-align: center;
}

.row2 a {
	color: white;
	font-family: montserrat;
}

.row3 {
	width: 90%;
	margin: 1% auto 0 auto;
	text-align: center;
}

.row3 a {
	color: white;
	font-family: Raleway;
}

footer {
	margin: 1.7em 0 2em 0;
	overflow: hidden;
}

#footercontainer2 {
	background-color: #0066FF;
	padding: 0;
	margin: 0;
	position: absolute;
	right: 0;
	width: 50%;
	text-align: center;
}

/*===========================================================*/
/*	=media queries
/*===========================================================*/

@media only screen and (min-width: 991px) and (max-width: 1199px) {
	body .navbar-nav>li {
		margin: 0 .7em;
	}
}

@media only screen and (max-width: 991px) {
	body .navbar-nav>li {
		margin: 0 .25em;
	}
}

@media only screen and (max-width: 768px) {

	body .navbar-inverse {
		background-color: transparent !important;
	}
	
	.navbar-inverse {
		background-color: transparent !important;
	}
	
	.pagetitle {
		padding-top: 0.5em;
	}
	
	body .navbar-nav>li {
		margin: 0 -0.3em;
	}
	
	#footercontainer, #footercontainer2 {
		width: 100%;
	}
	
}

@media only screen and (max-width: 479px) {
	body .navbar-inverse {
		background-color: transparent !important;
	}
	
	.navbar-inverse {
		background-color: transparent !important;
	}
	
	.pagetitle {
		padding-top: 0.5em;
		font-size: 245%;
	}

	#instructor {
		float: left;
		margin: 0 7% 5% 5%;
		border: 1px #eeeeee solid;
		padding: 1%;
	}
	
	#footercontainer, #footercontainer2 {
		width: 100%;
	}
}

@media only screen and (max-width: 400px) {
	#instructor {
		float: none;
		display: block;
		margin: 5% auto;
		border: 1px #eeeeee solid;
		padding: 1%;
	}
	
	#footercontainer, #footercontainer2 {
		width: 100%;
	}
}