/* @override 
	http://staging.sriaurobindoashram.org/styles/navigation.css
	https://www.sriaurobindoashram.org/styles/navigation.css */

#main-navigation-wrapper {
	position: relative;
	background: #f9faf9;
}

#logo {
	display: inline-block;
    position: absolute;
    padding: 0 !important;
    margin: 0 !important;
    left: 0;
    top: 18px;
    width: 95px !important;
    height: 95px !important;
    background: url(/images/ma_symbol.png) no-repeat;
    background-size:contain
}

#main-navigation {
	position: relative;
	margin: 0 auto;
	width: 980px;
	height: 125px;
	font-family: HelveticaNeue, Helvetica, Arial, "Trebuchet MS", sans-serif;
	text-align: right;
}

#main-navigation a {
	display: inline-block;
	margin-left: 60px;
	padding: 50px 0 0;
	height: 40px;
	color: #999;
	font-size: 20px;
	text-align: right;
	text-decoration: none;
}

#main-navigation a:hover {
	color: #000;
	text-decoration: none;
}

#main-navigation a.selected {
	color: #000;
}

#secondary-navigation-wrapper {
	margin: 20px auto 0;
	width: 980px;
	height: 40px;
	font-family: HelveticaNeue, Helvetica, Arial, "Trebuchet MS", sans-serif;
	border-bottom: 1px solid #ccc;
}

#secondary-navigation {
	float: right;
}

#secondary-navigation a {
	display: inline-block;
	padding: 8px 0px 8px 20px;
	color: #aaa;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}

#secondary-navigation a:hover {
	color: #333;
	text-decoration: none;
}

#secondary-navigation a.selected {
	margin-top: -1px;
	color: #666;
}

#level-3 {
	float: right;
	margin-top: 5px;
	text-align: right;
}

#level-3 a {
	display: inline-block;
	margin-left: 25px;
	font-family: HelveticaNeue, Helvetica, Arial, "Trebuchet MS", sans-serif;
	color: #8b92a2;
}

#level-3 a.selected {
	color: #000;
}

.form-nav {
	text-align: center;	
}

header {
	margin-bottom: 40px;
}

footer {
	clear: both;
	position: relative;
	margin: 100px auto 0;
	font-size: 13px;
	font-family: HelveticaNeue, Helvetica, Arial, "Trebuchet MS", sans-serif;
	color: #999;
	background: #f9faf9;
}

#footer-navigation-wrapper {
	margin: 20px auto 0;
	width: 980px;
}

#footer-links {
	height: 200px;
}

#footer-content {
	clear: both;
	padding: 5px 0 15px;
	font-size: 11px;
	border-top: 1px solid #ccc;
}

footer h3 {
	margin-bottom: 5px;
	color: #000;
	font-size: 14px;
	font-weight: normal;
	text-transform: none;
}

footer ul {
	margin: 20px 0px 40px 0;
	width: 240px;
	list-style-type: none;
	float: left;
}

footer li {
	margin: 0;
	font-size: 14px;
	
}

footer li a {
	color: #999 !important;
}

footer li a:hover {
	color: #000 !important;
}

#aux-links {
	display: inline-block;
	margin-left: 20px;
	color: #ccc;
}

#aux-links a {
	display: inline-block;
	margin: 0 10px;
	color: #999;
}

#aux-links a:hover {
	color: #000;
}

.chapternav-wrapper {
	margin: -40px auto 40px;
	padding-top: 20px;
	height: 100px;
	text-align: center;
	z-index: 1;
	font-family: HelveticaNeue, Helvetica, Arial, "Trebuchet MS", sans-serif;
	background: #eee url('../images/bg.jpg') no-repeat left top;
}

.chapternav-items {
	list-style: none;
	margin: 0 auto;
	width: 960px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 50px;
	white-space: nowrap;
}

.chapternav-item {
	-webkit-animation: chapternav-slidein 350ms backwards;
	animation: chapternav-slidein 350ms backwards;
}

.chapternav-item {
	display: inline-block;
	vertical-align: top;
	text-align: center;
	margin: 0;
	padding: 0 30px;
	font-size: 14px !important;
	opacity: 0.5;
}

.chapternav-link {
	color: #000 !important;
}

.chapternav-item:hover {
	opacity: 1.0;
}

.chapternav-item.audio .chapternav-icon {
	width: 48px;
	height: 54px;
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-image: url("/images/icn_audio.png");
}

.chapternav-item.music .chapternav-icon {
	width: 48px;
	height: 54px;
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-image: url("/images/icn_music.png");
}

.chapternav-item.movies .chapternav-icon {
	width: 48px;
	height: 54px;
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-image: url("/images/icn_movies.png");
}

.chapternav-item.photos .chapternav-icon {
	width: 48px;
	height: 54px;
	background-size: 50px 50px;
	background-repeat: no-repeat;
	background-image: url("/images/icn_photos.png");
}

.chapternav-icon {
	background: center bottom no-repeat;
	display: block;
	margin: 0 auto 6px;
	height: 54px;
}
