/* Disable iOS/WinMobile font size changes */
@media screen and (max-width: 600px), screen and (max-device-width: 480px) {
	html {
		-ms-text-size-adjust: none;
		-webkit-text-size-adjust: none;
	}
}

@media screen and (max-width: 768px), screen and (min-width: 1200px) {
}

@media screen and (min-width: 1366px) {
	#page {
		width: 1300px;
	}
}

@media screen and (max-width: 900px) {
	body {
		font-size: 125%;
	}

	#leftRule {
		width: 100%;
	}
	
	#rightRule {
		display: none;
	}
	
	#navBar ul {
		display: block;
		padding: 0 2% 0 2%;
	}
	
	#navBar li.right {
		float: left;
		margin: 0 1.2em 0 0;
	}
	
	#page {
		position: relative;
		margin: 0;
		width: auto;
	}
	
	#wrapper {
		background-color: #fff;
	}
	
	#stage {
		width: 100%;
		background-image: none;
	}
	
	#masthead, #navBar, #stage, #footer {
		margin: 0;
	}
	
	#main, #sub {
		margin: 0;
		clear: both;
		float: none;
		width: 100%;
	}
	
	#content, #sidebar {
		width: 96%;
		padding: 1em 2% 1em 2%;
	}

	#content,
	#sidebar {
		border-top: 5px solid #EBEDEE;
	}
	
	#footer {
		border-top: 5px solid #EBEDEE;
	}
	
	#footerContent {
		padding: 0 2% 0 2%;
	}
	
	#footerContent p {
		margin-bottom: 0.5em;
	}
}


@media screen and (max-width: 480px) {
	#mobileMenuSwitch {
		display: block;
		position: relative;
		top: 0;
		left: 0;
		font-size: 0.7em;
		font-weight: 700;
		z-index: 5;
		clear: both;
		width: 100%;
		height: 30px;
		line-height: 32px;
		text-align: center;
	}


	#navBar {
		display: none;
		padding: 0 0 0 0;
	}	

	#navBar ul {
		padding: 0 0 0 0;
		margin: 0 0 0 0;
	}

	#navBar li {
		/*	display: inline; */
		display: block;
		float: none;
		list-style-type: none;
		margin: 0 0 0 0;
		text-transform: uppercase;
		font-size: 0.6875em;

		height: 30px;
		line-height: 32px;

		font-weight: 600;
		position: relative;
		width: 100%;
		clear: both;
		border-top: 1px solid #eee;
		text-align: center;
	}

	#navBar li.last, 
	#navBar li.right {
		float: none;
		margin: 0 0 0 0;
	}

	#navBar li a {
		width: 100%;
		clear: both;
		display: block;
		float: none;
		color: #333;
		padding: 0 0 0 0;
		margin: 0 0 0 0;

		height: 30px;
		line-height: 32px;
	}


	h1.section {
		font-weight: 400;
		font-size: 80%;
		margin: 0 0 0.2em 0;
		padding: 0 0 0 0;
		letter-spacing: 0.1em;
		color: #ccc;
	}

	div.post {
		padding-top: 0.25em;
	}

	div.postTitle  h1 {
		font-size: 150%;
	}

	#content, #sidebar {
		width: 92%;
		padding: 1em 4%;
	}

	#logo {
		left: 4%;
	}

	#content.news p {
		font-size: 0.9em;
		line-height: 1.4em;
	}

	#content.news p.copyright {
		font-size: 70%;
	}

	div.postBody {
		padding: 0 0 0 0;
	}

	#readingList {
		margin: 0 0 0 0;
		padding: 1.5em 0 0.7em 0;
	}

	#commentSection {
		border-top: 1px solid #ebedee;
		margin: 0 0 0 0;
	}
}
